/***
 * INTRO
 */
.site-header .intro {
	line-height: 1.5;
	font-size: 20px;
}

/* === HERO WRAPPER === */
.site-header .intro,
.site-header .intro-sub {
    position: relative;
}

.site-header .intro-sub {
    min-height: 560px; /* keeps room for overlays */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* === LEFT CONTENT === */
.site-header .intro-title {
    font-size: 28px;
    line-height: 1.06;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.site-header .intro-text {
    font-size: 18px;
    line-height: 1.55;
    color: #4a5568;
    max-width: 520px;
    margin: 25px 0;
}

/* Button */
.site-header .intro .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 500;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.site-header .intro .btn.important {
    background: var(--red);
}

.site-header .intro .btn:hover {
    color: #fff;
    opacity: 0.80;
}

/* === HERO IMAGE === */
.site-header .intro-sub img.img-hero {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
    z-index: 100;
    margin: 0 auto -2.5rem auto;
}

/* === OVERLAY BOXES BASE === */
.site-header .pt-hero-box {
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    border: 1px solid rgba(0,0,0,.06);
}

.site-header .pt-hero-box__number {
    font-size: 24px;
    line-height: 1;
    font-weight: 600;
    color: #111;
}

.site-header .pt-hero-box__text {
    font-size: 14px;
    line-height: 1.35;
    color: #4a5568;
    margin-top: 6px;
}

/* === ANALYSIS BOX (left-mid) === */
.site-header .pt-hero-box--analysis {
    left: -10%;
    top: 20%;
    width: 300px;
    text-align: left;
    padding: 16px;
    z-index: 90;
}

/* Colorful dots before each bullet */
.pt-hero-box--analysis .pt-hero-box__list {
	list-style: none;
	padding-left: 0;
	margin: 10px 0 0;
	width: 70%;
}

.site-header .pt-hero-box--analysis .pt-hero-box__list li {
    position: relative;
	padding-left: 12px;
	margin: 6px 0;
	font-size: 12px;
	line-height: 1.35;
	color: #4a5568;
}

.pt-hero-box--analysis .pt-hero-box__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	transform: translateY(-50%);
}

/* Rotate colours (repeat every 6 items) */
.pt-hero-box--analysis .pt-hero-box__list li:nth-child(6n + 1)::before { background: #5C4821; }
.pt-hero-box--analysis .pt-hero-box__list li:nth-child(6n + 2)::before { background: #8A6B32 }
.pt-hero-box--analysis .pt-hero-box__list li:nth-child(6n + 3)::before { background: #B88E42 }
.pt-hero-box--analysis .pt-hero-box__list li:nth-child(6n + 4)::before { background: #E7B153; }
.pt-hero-box--analysis .pt-hero-box__list li:nth-child(6n + 5)::before { background: #EAC163 }

.site-header .pt-hero-box--analysis .pt-hero-box__img {
    margin-top: 10px;
    width: 30%;
}

.site-header .pt-hero-box--analysis .pt-hero-box__img img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === CHECK BOX (top-right) === */
.site-header .pt-hero-box--check {
    right: 6%;
    top: 37.5%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    min-width: 210px;
    z-index: 90;
    flex-direction: column;
}

.site-header .pt-hero-box--check .pt-hero-box__number {
    font-size: 20px;
    margin-right: 6px;
}

.site-header .pt-hero-box--check .pt-hero-box__text {
    margin-top: 0;
    font-weight: 500;
    color: #111;
    font-size: 13px;
}

/* === INFO BOX (bottom-right) === */
.site-header .pt-hero-box--info {
    right: 6%;
    bottom: 10%;
    width: 245px;
    text-align: right;
    padding: 14px 16px;
    z-index: 110;
}

.site-header .pt-hero-box__quote {
    font-weight: 600;
    color: #111;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.site-header .pt-hero-box__author {
    font-weight: 600;
    color: #111;
    font-size: 15px;
}

.site-header .pt-hero-box__occupation {
    color: #4a5568;
    font-size: 13px;
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
    .site-header .intro-title {
        max-width: calc( 100% - 60px );
    }
}

@media (max-width: 991.98px) {
    .site-header .intro-sub {
        flex-direction: column;
        min-height: auto;
    }

    .site-header .intro-sub img.img-hero {
        display: none;
    }

    .site-header .pt-hero-box--analysis,
    .site-header .pt-hero-box--check,
    .site-header .pt-hero-box--info {
        position: static;
        margin: 10px 0;
    }
}

@media (max-width: 767px) {
    .site-header .intro,
    .site-header .intro-sub {
        text-align: center;
    }
    
    .site-header .intro-title {
        font-size: 24px;
        line-height: 1.25;
        font-weight: 500;
    }

    .site-header .intro-title,
    .site-header .intro-text {
        padding: 0 10px;
    }

    .site-header .intro-sub {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .site-header .pt-hero-box--analysis,
    .site-header .pt-hero-box--check,
    .site-header .pt-hero-box--info {
        width: 100%;
        max-width: 360px;
        margin: 10px;
    }

    .site-header .pt-hero-box--info {
        text-align: center;
    }
}

/* === RESPONSIVE === */
.wrapper-hero-header {
	padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .wrapper-hero-header {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .wrapper-hero-header {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .wrapper-hero-header {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .wrapper-hero-header {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .wrapper-hero-header {
        max-width: 1320px;
    }
}

/***
 *  Section
 */
.pt-hp-section__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .35);
    color: #111;
    text-decoration: none;
    background: #fff;
    white-space: nowrap;
}

.pt-hp-section__btn.small {
    padding: 4px 10px;
}

.pt-hp-section__btn:hover {
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .07);
}

/***
 *  TABS
 */
.pt-guides-tabs {
    background: #D8E8FD;
    background: linear-gradient(0deg,rgba(216, 232, 253, 1) 0%, rgba(216, 232, 253, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

.pt-guides-tabs__title {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 500;
    margin-right: 20px;
    max-width: 480px;
}

.pt-guides-tabs__nav {
    display: flex;
    flex-wrap: nowrap;
    border: 0;
    margin-bottom: 0;
    width: 100%;
    margin-left: 0;
}

.pt-guides-tabs__nav .nav-item {
    flex: 1 1 0;
    min-width: 0;
}

.pt-guides-tabs__nav .nav-item:not(:last-child) {
    margin-right: 18px;
}

.pt-guides-tabs__nav .nav-link {
    position: relative;
    width: 100%;
    height: 100%;
    border: 0 !important;
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px 16px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
    color: #111;
    white-space: nowrap;
}

.pt-guides-tabs__tabicon {
    display: block;
    margin: 0 auto 10px;
}

.pt-guides-tabs__tabicon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.pt-guides-tabs__tabtitle {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-guides-tabs__nav .nav-link.active::after,
.pt-guides-tabs__nav .nav-link.active::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #fff;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .10));
}

.pt-guides-tabs__nav .nav-link.active::after {
    bottom: -24px;
    transform: translateX(-50%) rotate(180deg);
}

.pt-guides-tabs__content {
    
}

.pt-guides-tabs__content .tab-pane {
    position: relative;
    min-height: 120px;
    margin-bottom: -3rem;
    margin-top: 1.5rem;
    background: #FFF;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(192, 207, 227, 1) 100%);
}

.pt-guides-tabs__items {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 3rem);
}

.pt-guides-tabs__items--empty {
    min-height: 74px;
}

.pt-guides-item {
    flex: 0 0 calc((100% - (18px * 3)) / 4);
    max-width: calc((100% - (18px * 3)) / 4);
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    text-decoration: none;
    color: #111;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
    transition: box-shadow .12s ease, transform .12s ease;
}

.pt-guides-item:hover {
    text-decoration: none;
    opacity: 0.85;
}

.pt-guides-item__icon img {
    width: 44px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.pt-guides-item__title {
    font-size: 18px;
    font-weight: 600;
    margin-right: auto;
}

.pt-guides-item__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111;
    font-size: 15px;
}

.pt-guides-item__arrow {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, .35);
}

@media (max-width: 991.98px) {
    .pt-guides-tabs__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pt-guides-tabs__nav .nav-item {
        flex: 0 0 220px;
        min-width: 220px;
        min-height: 140px;
    }

    .pt-guides-tabs__nav .nav-link {
        height: auto;
    }

    .pt-guides-tabs__content .tab-pane {
        margin-top: 0;
        padding-top: 1.5em;
    }

    .pt-guides-tabs__items {
        position: static;
        transform: none;
        width: 100%;
    }

    .pt-guides-item {
        flex: 0 0 calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
    }
}

@media (max-width: 767px) {
    .pt-guides-tabs-title-wrapper,
    .pt-brand-boxes-tabs-title-wrapper {
        flex-direction: column;
    }

    .pt-guides-tabs__title {
        font-size: 24px;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 575.98px) {
    .pt-guides-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pt-guides-tabs__nav .nav-link.active::after {
        /*display: none;*/
    }
}

/* === RESPONSIVE === */
.wrapper-hp-section {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .wrapper-hp-section {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .wrapper-hp-section {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .wrapper-hp-section {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .wrapper-hp-section {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .wrapper-hp-section {
        max-width: 1320px;
    }
}

.wrapper-hp-section {
    max-width: 1400px;
}

/***
 *  BOXED
 */
.pt-brand-boxes .card-footer a {
    color: inherit;
}