/* ==========================================
   SEO PAGE — HERO
========================================== */

.seo-hero{

    position:relative;

    padding:140px 0 130px;

    background:
        linear-gradient(
            rgba(8,21,45,.82),
            rgba(8,21,45,.9)
        ),
        url("../assets/images/hero/seo-desert-building.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}
.seo-hero__content{

    max-width:760px;

    margin-inline:auto;

    text-align:center;

}
.seo-hero__content h1{

    font-family:"Times New Roman", serif;

    font-size:3.4rem;

    line-height:1.25;

    color:var(--color-white);

    letter-spacing:-1px;

    margin-bottom:28px;

    text-shadow:0 4px 24px rgba(0,0,0,.5);

}
.seo-hero__content p{

    font-size:1.35rem;

    line-height:1.8;

    color:var(--color-text);

    text-shadow:0 2px 12px rgba(0,0,0,.5);

}

/* ==========================================
   BRAND SEARCH vs INTENT SEARCH
========================================== */

.seo-intent{

    background:var(--color-background);

    padding:var(--space-3xl) 0;

}
.seo-intent__heading{

    max-width:920px;

    margin:0 auto var(--space-2xl);

    text-align:center;

}
.seo-intent__line{

    display:inline-block;

}
.seo-intent__heading h2{

    font-family:"Times New Roman", serif;

    font-size:2.6rem;

    line-height:1.3;

    color:var(--color-white);

    letter-spacing:-.5px;

    margin-bottom:24px;

}
.seo-intent__heading p{

    font-size:1.15rem;

    line-height:1.75;

    color:var(--color-text);
}
.seo-intent__grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:36px;

    max-width:1040px;

    margin-inline:auto;

}
.intent-card{

    background:var(--color-card);

    border:1px solid rgba(255,255,255,.08);

    border-radius:var(--radius-lg);

    padding:48px 36px;

    text-align:center;

}
.intent-card--winning{

    border-color:var(--color-gold);

    box-shadow:0 0 0 1px rgba(216,177,75,.15), var(--shadow-card);
}
.intent-card__icon{

    width:76px;

    height:76px;

    margin:0 auto 24px;

    border-radius:var(--radius-md);

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.06);

    color:var(--color-text);
}
.intent-card--winning .intent-card__icon{

    background:var(--color-gold);

    color:var(--color-background);
}
.intent-card__icon svg{

    width:34px;

    height:34px;

}
.intent-card h3{

    font-family:var(--font-heading);

    font-size:1.6rem;

    color:var(--color-white);

    margin-bottom:10px;

}
.intent-card p{

    font-size:1.05rem;

    color:var(--color-text);

    margin-bottom:28px;

}
.intent-card__search{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    padding:18px 20px;

    border-radius:var(--radius-sm);

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    font-size:1rem;

    color:var(--color-text);

    font-style:italic;

}
.intent-card__search--highlight{

    background:rgba(216,177,75,.12);

    border-color:rgba(216,177,75,.4);

    color:var(--color-white);

    font-weight:600;

}
.intent-card__search svg{

    flex-shrink:0;

    width:16px;

    height:16px;

    opacity:.7;

}

/* Light-theme overrides for the intent section */
.section-light .seo-intent__heading h2{

    color:#0B1D3A;

}
.section-light .seo-intent__heading p{

    color:#5B6472;

}
.section-light .intent-card{

    background:#F1F2F4;

    border-color:rgba(11,29,58,.1);

}
.section-light .intent-card--winning{

    border-color:var(--color-gold);

    box-shadow:0 0 0 1px rgba(169,121,31,.15), 0 6px 18px rgba(11,29,58,.08);
}
.section-light .intent-card__icon{

    background:#ffffff;

    color:#5B6472;

    box-shadow:0 2px 8px rgba(11,29,58,.08);
}
.section-light .intent-card--winning .intent-card__icon{

    background:var(--color-gold);

    color:#ffffff;

}
.section-light .intent-card h3{

    color:#0B1D3A;

}
.section-light .intent-card p{

    color:#5B6472;

}
.section-light .intent-card__search{

    background:#ffffff;

    border-color:rgba(11,29,58,.12);

    color:#5B6472;

}
.section-light .intent-card__search--highlight{

    background:rgba(169,121,31,.1);

    border-color:rgba(169,121,31,.4);

    color:#0B1D3A;

}

/* ==========================================
   VISIBILITY GAP
========================================== */

.seo-gap{

    background:var(--color-background-alt);

    padding:var(--space-3xl) 0;

}
.seo-gap__grid{

    display:grid;

    grid-template-columns:.85fr 1.15fr;

    gap:60px;

    align-items:center;

}
.seo-gap__image img{

    width:100%;

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow-card);

    display:block;

}
.seo-gap__badge{

    display:inline-block;

    background:rgba(255,255,255,.08);

    color:var(--color-text);

    font-size:.88rem;

    font-weight:700;

    padding:9px 18px;

    border-radius:var(--radius-pill);

    margin-bottom:20px;

}
.seo-gap__content h2{

    font-family:"Times New Roman", serif;

    font-size:2.7rem;

    line-height:1.3;

    color:var(--color-white);

    letter-spacing:-.5px;

    margin-bottom:28px;

}
.seo-gap__quote{

    border-left:3px solid var(--color-gold);

    padding-left:20px;

    margin:0 0 24px;

    font-size:1.25rem;

    line-height:1.75;

    color:var(--color-white);

    font-style:italic;

}
.seo-gap__content p{

    font-size:1.18rem;

    line-height:1.8;

    color:var(--color-text);
}

/* ==========================================
   CUSTOMER JOURNEY GRID
========================================== */

.seo-journey{

    padding:var(--space-3xl) 0;

}
.seo-journey__heading{

    text-align:center;

    margin-bottom:var(--space-2xl);

}
.seo-journey__heading h2{

    font-family:"Times New Roman", serif;

    font-size:2.4rem;

    color:#0B1D3A;

}
.seo-journey__grid{

    position:relative;

    display:flex;

    align-items:center;

    gap:24px;

    max-width:1200px;

    margin-inline:auto;

}
.seo-journey__grid::before{

    content:"";

    position:absolute;

    top:61px;

    left:40px;

    right:40px;

    height:2px;

    background:rgba(11,29,58,.15);

    z-index:0;

}
.seo-journey__grid--8{

    display:grid;

    grid-template-columns:repeat(4, 1fr);

    gap:24px;

}
.seo-journey__grid--8::before{

    content:none;

}
.journey-card{

    position:relative;

    z-index:1;

    flex:1;

    min-height:280px;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    background:#ffffff;

    border:1px solid rgba(11,29,58,.12);

    transition:border-color .3s ease, box-shadow .3s ease;

    border-radius:var(--radius-lg);

    padding:32px 24px;

    text-align:center;
}
.journey-card--highlight{

    border-color:var(--color-gold);

    box-shadow:0 12px 30px rgba(11,29,58,.1);

}
.seo-journey__grid:not(.seo-journey__grid--8) .journey-card--highlight{

    transform:translateY(-16px);

}
.journey-card__icon{

    width:56px;

    height:56px;

    margin:0 auto 20px;

    border-radius:var(--radius-md);

    display:flex;

    align-items:center;

    justify-content:center;

    background:#F1F2F4;

    color:#0B1D3A;

    transition:background .3s ease, color .3s ease;
}
.journey-card--highlight .journey-card__icon{

    background:var(--color-gold);

    color:#ffffff;

}
.journey-card:hover{

    border-color:var(--color-gold);

    box-shadow:0 12px 30px rgba(11,29,58,.1);

}
.journey-card:hover .journey-card__icon{

    background:var(--color-gold);

    color:#ffffff;

}
.journey-card__icon svg{

    width:26px;

    height:26px;

}
.journey-card h3{

    font-family:var(--font-heading);

    font-size:1.25rem;

    color:#0B1D3A;

    margin-bottom:12px;

}
.journey-card p{

    font-size:.95rem;

    line-height:1.65;

    color:#5B6472;
}

/* ==========================================
   ALWAYS BE VISIBLE (closing principle)
========================================== */

.seo-principle{

    background:var(--color-background);

    padding:120px 0;

}
.seo-principle__content{

    max-width:820px;

    margin-inline:auto;

    text-align:center;

}
.seo-principle__content h2{

    font-family:"Times New Roman", serif;

    font-size:2.8rem;

    line-height:1.3;

    color:var(--color-white);

    letter-spacing:-.5px;

    margin-bottom:32px;

}
.seo-principle__intro{

    font-size:1.2rem;

    line-height:1.75;

    color:var(--color-text);

    font-style:italic;

    max-width:680px;

    margin:0 auto 48px;

}
.seo-principle__list{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px 48px;

    max-width:640px;

    margin:0 auto 48px;

    text-align:left;

}
.seo-principle__list li{

    display:flex;

    align-items:flex-start;

    gap:14px;

}
.seo-principle__check{

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    width:26px;

    height:26px;

    border-radius:50%;

    border:2px solid var(--color-gold);

    color:var(--color-gold);

    font-size:.8rem;

    font-weight:700;

    margin-top:1px;

}
.seo-principle__list span:last-child{

    font-size:1.05rem;

    color:var(--color-white);

}
.seo-principle__label{

    display:block;

    color:var(--color-gold);

    font-size:.85rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1.5px;

    margin-bottom:28px;

}
.seo-principle__quote{

    border:1px solid var(--color-gold);

    background:rgba(216,177,75,.08);

    border-radius:var(--radius-lg);

    padding:40px 48px;

    margin:0 0 40px;

    font-family:var(--font-heading);

    font-style:italic;

    font-weight:700;

    font-size:1.7rem;

    line-height:1.5;

    color:var(--color-white);
}
.seo-principle__closing{

    font-size:1.3rem;

    font-weight:700;

    color:var(--color-white);

    margin-bottom:40px;
}
.seo-principle__cta{

    text-transform:uppercase;

    letter-spacing:.5px;

    font-size:.9rem;

}
/* ==========================================
   RESPONSIVE
   This page had no breakpoints at all — every
   grid/row below stayed at full column count and
   the intent-search nowrap line stayed on one
   line, all the way down to phone width, forcing
   horizontal scroll.
========================================== */
@media (max-width:900px){

    /* Fixed desktop padding-top (140px) leaves a big empty band
       above the heading on a narrow phone screen — pull it up. */
    .seo-hero{

        padding:90px 0 80px;

    }

    .seo-intent__grid,
    .seo-gap__grid{

        grid-template-columns:1fr;

    }

    .seo-journey__grid{

        flex-direction:column;

    }

    .seo-journey__grid::before{

        display:none;

    }

    .seo-journey__grid--8{

        grid-template-columns:1fr 1fr;

    }

}
@media (max-width:560px){

    /* Six lines of heading plus the paragraph is taller than a lot
       of phone viewports at the 900px padding already — trim it
       further so the heading sits closer to the header. */
    .seo-hero{

        padding:56px 0 60px;

    }

    .seo-principle__list{

        grid-template-columns:1fr;

    }

    .seo-journey__grid--8{

        grid-template-columns:1fr;

    }

}
