/* =========================================================
   SEO OPTIMIZATION SHOWCASE
   Wells Hamilton Media
   Digital / Editorial / Data-Driven Portfolio
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --seo-bg: #f2f2f2;
    --seo-white: #ffffff;
    --seo-dark: #080808;
    --seo-dark-2: #161616;
    --seo-dark-3: #242424;
    --seo-text: #171717;
    --seo-muted: #686868;
    --seo-accent: #b8b8b8;
    --seo-blue: #4f4f4f;
    --seo-light-blue: #e2e2e2;
    --seo-green: #707070;
    --seo-border: rgba(8, 8, 8, 0.12);
    --seo-transition:
        0.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: var(--seo-bg);
    color: var(--seo-text);
    font-family: "Inter", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: #b8b8b8;
    color: #080808;
}


/* =========================================================
   SEO OPTIMIZATION HERO — CENTERED VERSION
========================================================= */

.seo-hero {
    position: relative;
    min-height: 92vh;
    min-height: 92svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 20px;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(120, 120, 120, 0.28),
            transparent 32%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(180, 180, 180, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #050505 0%,
            #080808 50%,
            #1a1a1a 100%
        );
    color: #ffffff;
    isolation: isolate;
}


/* =========================================================
   BACKGROUND GRID
========================================================= */

.seo-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    opacity: 0.5;
    pointer-events: none;
}


/* =========================================================
   AMBIENT LIGHT
========================================================= */

.seo-hero::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    bottom: -450px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(180, 180, 180, 0.18) 0%,
            rgba(180, 180, 180, 0.06) 40%,
            transparent 70%
        );
    filter: blur(20px);
    pointer-events: none;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.seo-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(0, 0, 0, 0.15) 45%,
            rgba(0, 0, 0, 0.5) 100%
        );
    pointer-events: none;
}


/* =========================================================
   EXISTING SEO HERO ELEMENTS
   Hidden because the new hero uses a centered layout
========================================================= */

.seo-hero-background,
.seo-hero-grid,
.seo-orbit,
.seo-floating-card,
.seo-hero-number {
    display: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.seo-hero-content {
    position: relative;
    z-index: 5;
    width: min(1000px, 92%);
    margin: 0 auto;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.seo-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
    color: #b8b8b8;
    font-family: "Inter", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.seo-eyebrow span {
    display: block;
    width: 42px;
    height: 2px;
    background: #b8b8b8;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.seo-hero h1 {
    max-width: 1000px;
    margin: 0 0 28px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(4rem, 9vw, 8.5rem);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-align: center;
}


/* =========================================================
   EMPHASIZED WORD
========================================================= */

.seo-hero h1 em {
    display: block;
    margin-top: 5px;
    color: #b8b8b8;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.08em;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.025em;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.seo-hero-description {
    max-width: 650px;
    margin: 0 auto 38px;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.85;
    text-align: center;
}


/* =========================================================
   INTRO
========================================================= */

.seo-intro {
    padding: 140px 0;
    background: var(--seo-bg);
}

.seo-intro-grid {
    width: min(1250px, 90%);
    margin: auto;
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 100px;
}

.seo-intro-label {
    padding-top: 8px;
    color: var(--seo-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.seo-intro-label::before {
    content: "";
    display: block;
    width: 35px;
    height: 2px;
    margin-bottom: 20px;
    background: var(--seo-accent);
}

.seo-intro-content h2 {
    margin-bottom: 28px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
}

.seo-intro-content h2 span {
    color: var(--seo-blue);
    font-style: italic;
}

.seo-intro-content > p {
    max-width: 780px;
    color: var(--seo-muted);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    line-height: 1.55;
}


/* =========================================================
   INTRO STATS
========================================================= */

.seo-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
    border-top: 1px solid var(--seo-border);
}

.seo-stat {
    padding: 25px 20px 0 0;
    border-right: 1px solid var(--seo-border);
}

.seo-stat:not(:first-child) {
    padding-left: 25px;
}

.seo-stat:last-child {
    border-right: none;
}

.seo-stat strong {
    display: block;
    margin-bottom: 8px;
    color: var(--seo-blue);
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
}

.seo-stat span {
    color: var(--seo-muted);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   PROJECTS
========================================================= */

.seo-projects {
    padding: 140px 0 160px;
    background: var(--seo-white);
}

.seo-section-header {
    width: min(1250px, 90%);
    margin: 0 auto 75px;
}

.seo-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
    color: var(--seo-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.seo-section-eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--seo-accent);
}

.seo-section-header h2 {
    max-width: 850px;
    margin-bottom: 25px;
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.seo-section-header h2 em {
    color: var(--seo-blue);
    font-style: italic;
}

.seo-section-header p {
    max-width: 680px;
    color: var(--seo-muted);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    line-height: 1.5;
}


/* =========================================================
   PROJECT GRID
========================================================= */

.seo-project-grid {
    width: min(1250px, 90%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 75px 35px;
}

.seo-project-card {
    opacity: 0;
    transform: translateX(-70px);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.seo-project-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.seo-project-card:nth-child(2),
.seo-project-card:nth-child(4),
.seo-project-card:nth-child(6) {
    margin-top: 110px;
}


/* =========================================================
   PROJECT VISUAL
========================================================= */

.seo-project-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--seo-dark);
}

.seo-visual-blue {
    background:
        linear-gradient(
            145deg,
            #333333,
            #555555
        );
}

.seo-visual-light {
    background: #ededed;
}

.seo-visual-dark {
    background:
        linear-gradient(
            145deg,
            #080808,
            #242424
        );
}

.seo-visual-content {
    background:
        linear-gradient(
            145deg,
            #dcdcdc,
            #f5f5f2
        );
}

.seo-visual-ranking {
    background:
        linear-gradient(
            145deg,
            #181818,
            #080808
        );
}


/* =========================================================
   SEARCH WINDOW
========================================================= */

.seo-search-window {
    width: 78%;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 35px 70px
        rgba(0, 0, 0, 0.25);
    transform:
        perspective(1000px)
        rotateX(4deg);
    transition:
        transform 0.6s ease;
}

.seo-project-card:hover
.seo-search-window {
    transform:
        perspective(1000px)
        rotateX(0)
        translateY(-8px);
}

.seo-window-top {
    height: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    background: #e8e8e8;
}

.seo-window-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #aaa;
}

.seo-search-bar {
    margin: 25px;
    padding: 13px 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    color: #777;
    font-size: 0.75rem;
}

.seo-search-bar i {
    color: var(--seo-blue);
}

.seo-search-result {
    padding: 10px 25px 35px;
}

.seo-search-result small {
    color: var(--seo-blue);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.seo-search-result strong {
    display: block;
    margin: 8px 0;
    color: #303030;
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
}

.seo-search-result p {
    color: #777;
    font-size: 0.72rem;
    line-height: 1.5;
}


/* =========================================================
   PROJECT GLOW
========================================================= */

.seo-project-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    right: -100px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(180, 180, 180, 0.18);
    filter: blur(25px);
    transition: transform 0.7s ease;
}

.seo-project-card:hover
.seo-project-glow {
    transform: scale(1.4);
}


/* =========================================================
   CHART
========================================================= */

.seo-chart {
    width: 80%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.seo-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.seo-chart-header i {
    color: var(--seo-accent);
    font-size: 1.3rem;
}

.seo-chart-line {
    position: relative;
    height: 130px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 31px,
            rgba(255, 255, 255, 0.08) 32px
        );
}

.seo-chart-line::before {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    top: 20px;
    height: 90px;
    border-top: 3px solid var(--seo-accent);
    border-radius: 50%;
    transform: rotate(-7deg);
}

.point {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--seo-accent);
    box-shadow:
        0 0 0 5px
        rgba(180, 180, 180, 0.13);
    z-index: 2;
}

.point-one {
    left: 5%;
    top: 85px;
}

.point-two {
    left: 22%;
    top: 70px;
}

.point-three {
    left: 39%;
    top: 79px;
}

.point-four {
    left: 56%;
    top: 55px;
}

.point-five {
    left: 74%;
    top: 40px;
}

.point-six {
    left: 91%;
    top: 18px;
}

.seo-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
}


/* =========================================================
   KEYWORD PANEL
========================================================= */

.seo-keyword-panel {
    width: 78%;
    padding: 30px;
    background: var(--seo-white);
    box-shadow:
        0 30px 60px
        rgba(8, 8, 8, 0.1);
}

.seo-keyword-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--seo-blue);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.seo-keyword {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #e5e5e5;
    color: #555;
    font-size: 0.72rem;
}

.seo-keyword strong {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.seo-keyword:nth-child(2) strong,
.seo-keyword:nth-child(4) strong {
    color: var(--seo-green);
}

.seo-keyword:nth-child(3) strong {
    color: var(--seo-accent);
}


/* =========================================================
   TECHNICAL AUDIT
========================================================= */

.seo-audit {
    width: 78%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.seo-audit-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    color: var(--seo-accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.seo-audit-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.68rem;
}

.seo-audit-item i {
    color: var(--seo-green);
}


/* =========================================================
   CONTENT CARD
========================================================= */

.seo-content-card {
    width: 75%;
    padding: 40px;
    background: var(--seo-dark);
    color: var(--seo-white);
    box-shadow:
        0 35px 60px
        rgba(8, 8, 8, 0.18);
    transform: rotate(-2deg);
    transition: transform 0.6s ease;
}

.seo-project-card:hover
.seo-content-card {
    transform:
        rotate(0)
        translateY(-8px);
}

.seo-content-tag {
    display: inline-block;
    margin-bottom: 30px;
    padding: 7px 10px;
    border: 1px solid rgba(180, 180, 180, 0.5);
    color: var(--seo-accent);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.seo-content-card h4 {
    max-width: 450px;
    margin-bottom: 30px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 500;
    line-height: 1.05;
}

.seo-content-lines {
    display: grid;
    gap: 8px;
    margin-bottom: 30px;
}

.seo-content-lines span {
    display: block;
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
}

.seo-content-lines span:nth-child(1) {
    width: 90%;
}

.seo-content-lines span:nth-child(2) {
    width: 70%;
}

.seo-content-lines span:nth-child(3) {
    width: 80%;
}

.seo-content-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.5rem;
    letter-spacing: 0.12em;
}


/* =========================================================
   RANKING
========================================================= */

.seo-ranking {
    width: 80%;
    padding: 25px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.seo-ranking-header {
    display: grid;
    grid-template-columns: 1fr 80px;
    padding-bottom: 15px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.52rem;
    letter-spacing: 0.12em;
}

.seo-ranking-row {
    display: grid;
    grid-template-columns: 1fr 80px;
    align-items: center;
    min-height: 58px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.68rem;
}

.seo-ranking-row strong {
    color: var(--seo-accent);
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    text-align: right;
}


/* =========================================================
   PROJECT INFO
========================================================= */

.seo-project-info {
    position: relative;
    padding: 25px 5px 0;
}

.seo-project-number {
    position: absolute;
    right: 5px;
    top: 27px;
    color: rgba(8, 8, 8, 0.13);
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    line-height: 1;
}

.seo-project-category {
    display: block;
    margin-bottom: 10px;
    color: var(--seo-blue);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.seo-project-info h3 {
    margin-bottom: 9px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.seo-project-info p {
    max-width: 600px;
    color: var(--seo-muted);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    line-height: 1.45;
}


/* =========================================================
   PROCESS
========================================================= */

.seo-process {
    position: relative;
    overflow: hidden;
    padding: 150px 0;
    background:
        linear-gradient(
            135deg,
            var(--seo-dark),
            var(--seo-dark-2)
        );
    color: var(--seo-white);
}

.seo-process-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.seo-process-circle {
    position: absolute;
    width: 650px;
    height: 650px;
    right: -260px;
    top: -200px;
    border: 1px solid rgba(180, 180, 180, 0.18);
    border-radius: 50%;
}

.seo-process-circle::before,
.seo-process-circle::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 50%;
}

.seo-process-circle::before {
    inset: 80px;
}

.seo-process-circle::after {
    inset: 160px;
}

.seo-process-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.4) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.4) 1px,
            transparent 1px
        );
    background-size: 60px 60px;
}

.seo-process-container {
    position: relative;
    z-index: 2;
    width: min(1250px, 90%);
    margin: auto;
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 100px;
}

.seo-process-intro {
    padding-top: 5px;
}

.seo-process-number {
    display: block;
    margin-bottom: 18px;
    color: var(--seo-accent);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
}

.seo-process-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.seo-process-content h2 {
    margin-bottom: 60px;
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.seo-process-content h2 em {
    color: var(--seo-accent);
    font-style: italic;
}

.seo-process-list {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.seo-process-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: padding-left 0.4s ease;
}

.seo-process-item:hover {
    padding-left: 15px;
}

.seo-process-item > span {
    color: var(--seo-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.seo-process-item h3 {
    margin-bottom: 8px;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 500;
}

.seo-process-item p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.6);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.45;
}


/* =========================================================
   SERVICES
========================================================= */

.seo-services {
    padding: 140px 0;
    background: var(--seo-bg);
}

.seo-services-header {
    width: min(1250px, 90%);
    margin: 0 auto 65px;
}

.seo-services-header h2 {
    max-width: 850px;
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.seo-services-header h2 em {
    color: var(--seo-blue);
    font-style: italic;
}

.seo-services-grid {
    width: min(1250px, 90%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--seo-border);
    border-left: 1px solid var(--seo-border);
}

.seo-service-item {
    min-height: 250px;
    padding: 35px 30px;
    border-right: 1px solid var(--seo-border);
    border-bottom: 1px solid var(--seo-border);
    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

.seo-service-item:hover {
    background: var(--seo-white);
    transform: translateY(-8px);
}

.seo-service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    background: rgba(80, 80, 80, 0.08);
    color: var(--seo-blue);
    transition:
        background 0.4s ease,
        color 0.4s ease;
}

.seo-service-item:hover
.seo-service-icon {
    background: var(--seo-blue);
    color: var(--seo-white);
}

.seo-service-item h3 {
    margin-bottom: 12px;
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: 500;
}

.seo-service-item p {
    color: var(--seo-muted);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    line-height: 1.45;
}


/* =========================================================
   CTA SECTION  (uniform across all service pages)
========================================================= */

.seo-cta {
    position: relative;
    padding: 145px 0;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #161616 0%,
            #080808 60%,
            #030303 100%
        );
}

.seo-cta-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    right: -240px;
    top: -260px;
    border-radius: 50%;
    background: rgba(130, 130, 130, 0.20);
    filter: blur(15px);
    animation:
        ctaGlowMove 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ctaGlowMove {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-90px, 100px) scale(1.18);
    }
}

.seo-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.seo-cta-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 20px;
    color: var(--seo-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.seo-cta-eyebrow span {
    display: block;
    width: 34px;
    height: 1px;
    background: var(--seo-accent);
}

.seo-cta-content h2 {
    margin: 0 auto 28px;
    color: var(--seo-white);
    font-family: var(--font-display, "Playfair Display", serif);
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.seo-cta-content h2 em {
    color: var(--seo-accent);
    font-family: var(--font-editorial, "Cormorant Garamond", serif);
    font-weight: 500;
}

.seo-cta-content p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
}

.seo-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 16px 22px 16px 27px;
    border: 1px solid var(--seo-accent);
    color: var(--seo-white);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        gap 0.35s ease;
}

.seo-cta-button i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--seo-accent);
    color: var(--seo-dark);
    transition:
        transform 0.35s ease;
}

.seo-cta-button:hover {
    gap: 27px;
    background: var(--seo-accent);
    color: var(--seo-dark);
    transform: translateY(-3px);
}

.seo-cta-button:hover i {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .seo-cta {
        padding: 110px 0;
    }
}

@media (max-width: 767px) {
    .seo-cta {
        padding: 95px 0;
    }

    .seo-cta-content h2 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .seo-cta-content p {
        font-size: 0.84rem;
        line-height: 1.8;
    }

    .seo-cta-button {
        margin-top: 32px;
        padding: 14px 18px 14px 22px;
        font-size: 0.62rem;
    }
}

@media (max-width: 420px) {
    .seo-cta-content h2 {
        font-size: 2.9rem;
    }
}


/* =========================================================
   SCROLL REVEALS
========================================================= */

.seo-intro-content,
.seo-section-header,
.seo-process-content,
.seo-services-header,
.seo-services-grid,
.seo-cta-content {
    opacity: 0;
    transform: translateX(-70px);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.seo-intro-content.is-visible,
.seo-section-header.is-visible,
.seo-process-content.is-visible,
.seo-services-header.is-visible,
.seo-services-grid.is-visible,
.seo-cta-content.is-visible {
    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   PROJECT STAGGER
========================================================= */

.seo-project-card:nth-child(1) {
    transition-delay: 0.05s;
}

.seo-project-card:nth-child(2) {
    transition-delay: 0.15s;
}

.seo-project-card:nth-child(3) {
    transition-delay: 0.25s;
}

.seo-project-card:nth-child(4) {
    transition-delay: 0.35s;
}

.seo-project-card:nth-child(5) {
    transition-delay: 0.45s;
}

.seo-project-card:nth-child(6) {
    transition-delay: 0.55s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .seo-intro-grid,
    .seo-process-container {
        grid-template-columns: 0.25fr 1fr;
        gap: 60px;
    }

    .seo-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   HERO TABLET
========================================================= */

@media (max-width: 991px) {

    .seo-hero {
        min-height: 850px;
        min-height: 92svh;
        padding: 80px 20px;
    }

    .seo-hero-content {
        width: 90%;
    }

    .seo-hero h1 {
        font-size: clamp(
            4rem,
            11vw,
            7rem
        );
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .seo-hero {
        min-height: 780px;
        padding: 70px 18px;
    }

    .seo-hero-content {
        width: 94%;
        padding: 40px 0;
    }

    .seo-eyebrow {
        gap: 10px;
        margin-bottom: 22px;
        font-size: 0.56rem;
        letter-spacing: 0.2em;
    }

    .seo-eyebrow span {
        width: 28px;
    }

    .seo-hero h1 {
        margin-bottom: 24px;
        font-size:
            clamp(
                3.4rem,
                15vw,
                5.5rem
            );
        line-height: 0.9;
        letter-spacing: -0.05em;
    }

    .seo-hero-description {
        max-width: 520px;
        margin-bottom: 32px;
        font-size: 0.82rem;
        line-height: 1.8;
    }


    /* =====================================================
       INTRO
    ===================================================== */

    .seo-intro {
        padding: 100px 0;
    }

    .seo-intro-grid {
        width: 88%;
        display: block;
    }

    .seo-intro-label {
        margin-bottom: 55px;
    }

    .seo-intro-stats {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .seo-stat {
        padding: 20px 0;
        border-right: none;
        border-bottom:
            1px solid var(--seo-border);
    }

    .seo-stat:not(:first-child) {
        padding-left: 0;
    }


    /* =====================================================
       PROJECTS
    ===================================================== */

    .seo-projects {
        padding: 100px 0;
    }

    .seo-section-header {
        width: 88%;
        margin-bottom: 50px;
    }

    .seo-project-grid {
        width: 88%;
        display: block;
    }

    .seo-project-card {
        margin-top: 0 !important;
        margin-bottom: 65px;
    }

    .seo-project-card:last-child {
        margin-bottom: 0;
    }

    .seo-project-visual {
        min-height: 350px;
    }


    /* =====================================================
       PROCESS
    ===================================================== */

    .seo-process {
        padding: 100px 0;
    }

    .seo-process-container {
        width: 88%;
        display: block;
    }

    .seo-process-intro {
        margin-bottom: 50px;
    }

    .seo-process-content h2 {
        margin-bottom: 45px;
    }

    .seo-process-item {
        grid-template-columns: 55px 1fr;
        gap: 15px;
    }

    .seo-process-item h3 {
        font-size: 1.7rem;
    }


    /* =====================================================
       SERVICES
    ===================================================== */

    .seo-services {
        padding: 100px 0;
    }

    .seo-services-header {
        width: 88%;
    }

    .seo-services-grid {
        width: 88%;
        grid-template-columns: 1fr;
    }

    .seo-service-item {
        min-height: auto;
    }


    
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .seo-hero {
        min-height: 720px;
        padding: 60px 15px;
    }

    .seo-hero-content {
        width: 96%;
    }

    .seo-eyebrow {
        font-size: 0.5rem;
        letter-spacing: 0.17em;
    }

    .seo-hero h1 {
        font-size: 3.35rem;
        line-height: 0.92;
    }

    .seo-hero-description {
        font-size: 0.78rem;
        line-height: 1.75;
    }


    /* =====================================================
       INTRO
    ===================================================== */

    .seo-intro-content h2 {
        font-size: 2.8rem;
    }


    /* =====================================================
       SECTION HEADERS
    ===================================================== */

    .seo-section-header h2,
    .seo-services-header h2 {
        font-size: 2.8rem;
    }


    /* =====================================================
       PROJECTS
    ===================================================== */

    .seo-project-visual {
        min-height: 300px;
    }

    .seo-search-window,
    .seo-chart,
    .seo-keyword-panel,
    .seo-audit,
    .seo-ranking {
        width: 88%;
    }

    .seo-content-card {
        width: 84%;
        padding: 28px;
    }


    /* =====================================================
       PROCESS
    ===================================================== */

    .seo-process-content h2 {
        font-size: 2.9rem;
    }

    .seo-process-item {
        display: block;
    }

    .seo-process-item > span {
        display: block;
        margin-bottom: 12px;
    }


    

    
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .seo-project-card,
    .seo-intro-content,
    .seo-section-header,
    .seo-process-content,
    .seo-services-header,
    .seo-services-grid,
    .seo-cta-content {
        opacity: 1;
        transform: none;
    }

    .seo-hero-content {
        transform: none;
    }
}


/* =========================================================
   SEO HERO — SLOW & SMOOTH SCROLL REVEAL
========================================================= */

.seo-hero {
    position: relative;
    overflow: hidden;
}


/* =========================================================
   INITIAL STATES
========================================================= */

/* EYEBROW — FROM TOP */

.seo-eyebrow {
    opacity: 0;
    transform: translateY(-70px);
    transition:
        opacity 1.5s ease,
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* MAIN TITLE — FROM LEFT */

.seo-hero h1 {
    opacity: 0;
    transform: translateX(-100px);
    transition:
        opacity 1.6s ease 0.25s,
        transform 1.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}


/* ITALIC TITLE — FROM RIGHT */

.seo-hero h1 em {
    opacity: 0;
    transform: translateX(100px);
    transition:
        opacity 1.6s ease 0.55s,
        transform 1.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}


/* DESCRIPTION — FROM BOTTOM */

.seo-hero-description {
    opacity: 0;
    transform: translateY(70px);
    transition:
        opacity 1.5s ease 0.85s,
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.85s;
}


/* =========================================================
   FLOATING CARDS
   SLOW FADE + SLIDE
========================================================= */

.seo-floating-card {
    opacity: 0;
    transition:
        opacity 1.6s ease,
        transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}


/* LEFT CARD */

.seo-floating-card-one {
    transform: translateX(-70px);
}


/* RIGHT CARD */

.seo-floating-card-two {
    transform: translateX(70px);
}


/* BOTTOM / THIRD CARD */

.seo-floating-card-three {
    transform: translateY(70px);
}


/* =========================================================
   ACTIVE / VISIBLE
========================================================= */

.seo-hero.hero-visible .seo-eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.seo-hero.hero-visible h1 {
    opacity: 1;
    transform: translateX(0);
}

.seo-hero.hero-visible h1 em {
    opacity: 1;
    transform: translateX(0);
}

.seo-hero.hero-visible .seo-hero-description {
    opacity: 1;
    transform: translateY(0);
}


/* FLOATING CARDS */

.seo-hero.hero-visible .seo-floating-card-one {
    opacity: 1;
    transform: translateX(0);
}

.seo-hero.hero-visible .seo-floating-card-two {
    opacity: 1;
    transform: translateX(0);
}

.seo-hero.hero-visible .seo-floating-card-three {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   MOBILE HERO REVEAL
========================================================= */

@media (max-width: 768px) {

    .seo-eyebrow {
        transform: translateY(-45px);
    }

    .seo-hero h1 {
        transform: translateX(-60px);
    }

    .seo-hero h1 em {
        transform: translateX(60px);
    }

    .seo-hero-description {
        transform: translateY(50px);
    }

    .seo-floating-card-one {
        transform: translateX(-45px);
    }

    .seo-floating-card-two {
        transform: translateX(45px);
    }

    .seo-floating-card-three {
        transform: translateY(45px);
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .seo-eyebrow,
    .seo-hero h1,
    .seo-hero h1 em,
    .seo-hero-description,
    .seo-floating-card-one,
    .seo-floating-card-two,
    .seo-floating-card-three {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================================
   GSAP SCROLL REVEALS
   When GSAP is running, it owns the hidden/start state.
   These rules cancel the older CSS-transition reveal so the
   two systems never fight. (If GSAP fails to load, the old
   .is-visible reveal is used instead.)
========================================================= */

:where(html.gsap-ready) :is(
    .seo-intro-content,
    .seo-section-header,
    .seo-process-content,
    .seo-services-header,
    .seo-services-grid,
    .seo-cta-content,
    .seo-project-card
) {
    opacity: 1;
    transform: none;
}
body {
    padding-top: 105px;
}