:root {
    --color-bg: #f5d489; /* Tom de areia mais forte e amarelado/neutro, sem puxar pro rosa */
    --color-text: #123047;
    --color-sand: #F3E8D6;
    --color-terracotta: #ff5e45;
    --color-terracotta-hover: #b35d3d;
    --color-white: #FFFFFF;

    --font-ui: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-ui);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(18, 48, 71, 0.08);
}

.header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-terracotta);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-whatsapp-mobile {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-whatsapp {
    display: inline-flex;
    min-height: 42px;
    padding: 0.65rem 1.25rem;
    border: 1px solid #25d366;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.22);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
    transform: translateY(-2px);
}

.header-whatsapp:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 3px;
}

.menu-toggle {
    display: none;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(18, 48, 71, 0.2);
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-text);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-outline {
    border: 1px solid var(--color-text);
    color: var(--color-text);
    padding: 0.6rem 1.5rem;
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-primary {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    border: 1px solid var(--color-terracotta);
    box-shadow: 0 4px 14px rgba(200, 107, 74, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-terracotta-hover);
    border-color: var(--color-terracotta-hover);
    box-shadow: 0 6px 20px rgba(200, 107, 74, 0.35);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--color-white);
    border: 1px solid #25d366;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
    border-color: #20bd5a;
    box-shadow: 0 7px 24px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid rgba(18, 48, 71, 0.2);
}

.btn-secondary:hover {
    border-color: var(--color-text);
    background-color: rgba(18, 48, 71, 0.03);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 580px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--color-sand);
    color: var(--color-text);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-title i {
    font-family: var(--font-heading);
    color: var(--color-terracotta);
}

.hero-title span {
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(243, 232, 214, 0.8);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(18, 48, 71, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-phrase {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(18, 48, 71, 0.7);
}

/* Mockup Visual */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200,107,74,0.15) 0%, rgba(255,253,248,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.mockup-screen {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(18, 48, 71, 0.08),
                0 0 0 1px rgba(18, 48, 71, 0.05);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-wrapper:hover .mockup-screen {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.mockup-header {
    height: 30px;
    background-color: rgba(18, 48, 71, 0.02);
    border-bottom: 1px solid rgba(18, 48, 71, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E2E8F0;
}

.dot:nth-child(1) { background-color: #FF5F56; }
.dot:nth-child(2) { background-color: #FFBD2E; }
.dot:nth-child(3) { background-color: #27C93F; }

.mockup-body {
    padding: 1.5rem;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(to bottom, #F9FAFB, var(--color-white));
}

.mockup-hero {
    height: 180px;
    background-color: var(--color-sand);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.mockup-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(200,107,74,0.1), transparent);
}

.mockup-title {
    width: 70%;
    height: 24px;
    background-color: var(--color-white);
    border-radius: 4px;
}

.mockup-subtitle {
    width: 40%;
    height: 12px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 4px;
}

.mockup-cards {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.m-card {
    flex: 1;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(18, 48, 71, 0.03);
    border: 1px solid rgba(18, 48, 71, 0.03);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background-color: var(--color-white);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(18, 48, 71, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 10;
    border: 1px solid rgba(18, 48, 71, 0.03);
    white-space: nowrap;
}

.card-icon {
    width: 32px;
    height: 32px;
    background-color: var(--color-sand);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-1 {
    top: 20%;
    left: -15%;
}

.card-2 {
    bottom: 25%;
    left: -10%;
}

.card-3 {
    top: 45%;
    right: -15%;
}

/* Initial States for Animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in {
    opacity: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .floating-card {
        transform: scale(0.85);
    }
    
    .card-1 { left: -5%; }
    .card-2 { left: 0%; }
    .card-3 { right: -5%; }
}

@media (max-width: 900px) {
    .header-inner {
        height: 72px;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        padding: 1rem;
        border: 1px solid rgba(18, 48, 71, 0.08);
        border-top: 0;
        border-radius: 0 0 16px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 35px rgba(18, 48, 71, 0.12);
        backdrop-filter: blur(14px);
    }

    .header.is-menu-open .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 0.85rem 0.7rem;
        border-radius: 9px;
    }

    .nav-links a:not(.nav-whatsapp-mobile):hover {
        background: rgba(18, 48, 71, 0.045);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-whatsapp-mobile {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }

    .header .container {
        padding: 0 1.25rem;
    }

    .header-whatsapp {
        display: none;
    }

    .nav-whatsapp-mobile {
        display: inline-flex;
        justify-content: center;
        margin-top: 0.35rem;
        background: #25d366;
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.2);
        color: var(--color-white) !important;
        font-weight: 600 !important;
    }
    
    .mockup-screen {
        transform: none !important;
    }
    
    .floating-card {
        display: none;
    }
}

/* Problem + Solution Section */
.problem-solution {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--color-bg) 0px, var(--color-white) 80px);
    position: relative;
    z-index: 2;
}

.ps-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ps-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.ps-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.8rem;
    color: var(--color-text);
}

.ps-title i {
    font-family: var(--font-heading);
    color: var(--color-terracotta);
}

.ps-text {
    font-size: 1.15rem;
    color: rgba(18, 48, 71, 0.75);
    line-height: 1.7;
}

.ps-text strong {
    color: var(--color-text);
    font-weight: 600;
}

.ps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.ps-card {
    background: #FDFBFC;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(18, 48, 71, 0.04);
    box-shadow: 0 10px 30px rgba(18, 48, 71, 0.02);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.ps-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(200, 107, 74, 0.08),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ps-card:hover::before {
    opacity: 1;
}

.ps-card > * {
    position: relative;
    z-index: 1;
}

.ps-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(18, 48, 71, 0.06);
    border-color: rgba(200, 107, 74, 0.15);
}

.ps-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-bg); /* O tom de areia para dar um charme no ícone */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
    color: var(--color-terracotta);
    transition: var(--transition-smooth);
}

.ps-card:hover .ps-icon {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

.ps-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
}

/* Initial States for Scroll Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}
.stagger-item {
    opacity: 0;
    transform: translateY(40px);
}

@media (max-width: 992px) {
    .ps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ps-title {
        font-size: 2.2rem;
    }
    .problem-solution {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .ps-grid {
        grid-template-columns: 1fr;
    }
}

/* 3rd Fold — O que fazemos */
.services {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--color-white) 0px, var(--color-bg) 80px);
    color: var(--color-text);
}

.services-inner {
    max-width: 1200px;
}

.services-header {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
}

.services-title i {
    font-family: var(--font-heading);
    color: var(--color-terracotta);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.s-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(18, 48, 71, 0.03);
    border-top: 3px solid transparent;
    transition: var(--transition-smooth);
    text-align: left;
}

.s-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(18, 48, 71, 0.08);
    border-top-color: var(--color-terracotta);
}

.s-icon {
    margin-bottom: 1.5rem;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.s-card:hover .s-icon {
    color: var(--color-terracotta);
    transform: scale(1.05);
}

.s-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

.s-card p {
    font-size: 1rem;
    color: rgba(18, 48, 71, 0.75);
    line-height: 1.6;
}

/* Stagger item class for GSAP */
.reveal-up-stagger {
    opacity: 0;
    transform: translateY(40px);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-title {
        font-size: 2.2rem;
    }
    .services {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* 4th Fold — Transformation */
.transformation {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--color-bg) 0px, var(--color-white) 80px);
    color: var(--color-text);
}

.trans-inner {
    max-width: 1200px;
}

.trans-header {
    text-align: center;
    margin-bottom: 5rem;
}

.trans-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
}

.trans-title i {
    font-family: var(--font-heading);
    color: var(--color-terracotta);
}

.trans-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.trans-box {
    flex: 1;
    background: var(--color-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(18, 48, 71, 0.04);
    border: 1px solid rgba(18, 48, 71, 0.05);
    transition: var(--transition-smooth);
}

.trans-after {
    border: 1px solid rgba(200, 107, 74, 0.2);
    box-shadow: 0 15px 50px rgba(200, 107, 74, 0.08);
}

.trans-box:hover {
    transform: translateY(-8px);
}

.trans-after:hover {
    box-shadow: 0 20px 60px rgba(200, 107, 74, 0.15);
}

.trans-vs {
    flex-shrink: 0;
    color: var(--color-terracotta);
    opacity: 0.5;
}

.trans-mockup {
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    height: 340px;
    display: flex;
    flex-direction: column;
}

.mockup-before {
    border: 2px solid #D1D5DB;
}

.mockup-after {
    border: 2px solid rgba(18, 48, 71, 0.15);
    box-shadow: 0 8px 30px rgba(18, 48, 71, 0.08);
}

/* Browser Bar */
.mockup-browser-bar {
    height: 28px;
    background: #E5E7EB;
    border-bottom: 1px solid #D1D5DB;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
}
.bar-after {
    background: #F8F8F8;
    border-bottom: 1px solid #EEE;
}
.browser-url {
    font-size: 7px;
    font-family: monospace;
    color: #9CA3AF;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 3px;
    flex: 1;
}
.url-after {
    color: var(--color-text);
    background: #FFF;
    border: 1px solid #E5E7EB;
}

.dots {
    display: flex;
    gap: 4px;
}
.dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D1D5DB;
}
.bar-after .dots span:nth-child(1) { background: #FF5F56; }
.bar-after .dots span:nth-child(2) { background: #FFBD2E; }
.bar-after .dots span:nth-child(3) { background: #27C93F; }

/* ==================== */
/* BEFORE — Retro Site  */
/* ==================== */
.old-site {
    flex: 1;
    background: #F5F0E8;
    font-family: 'Times New Roman', serif;
    overflow: hidden;
}

.old-nav {
    background: linear-gradient(to bottom, #2C5F2D, #1A3A1A);
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 4px 0;
    border-bottom: 2px solid #8B7D3C;
}
.old-nav-link {
    font-size: 7px;
    color: #FFD700;
    padding: 2px 6px;
    text-decoration: underline;
    cursor: default;
    letter-spacing: 0.5px;
}

.old-header-banner {
    background: linear-gradient(135deg, #3B2F1E 0%, #5C4A2A 50%, #3B2F1E 100%);
    text-align: center;
    padding: 12px 8px;
    border-bottom: 3px double #8B7D3C;
}
.old-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.old-welcome {
    font-size: 7px;
    color: #DAA520;
    font-style: italic;
}
.old-name {
    font-size: 11px;
    color: #FFD700;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.old-body {
    display: flex;
    gap: 6px;
    padding: 8px;
    border-left: 2px solid #8B7D3C;
    border-right: 2px solid #8B7D3C;
}
.old-col-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 40%;
}
.old-col-right {
    flex: 1;
}
.old-photo-placeholder {
    background: #DDD;
    border: 1px solid #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    gap: 2px;
}
.old-photo-placeholder.small {
    padding: 6px 4px;
}
.old-photo-placeholder span {
    font-size: 6px;
    color: #888;
    font-family: monospace;
}
.old-desc {
    font-size: 7px;
    color: #333;
    line-height: 1.4;
    margin: 0 0 4px 0;
}
.old-desc u { color: blue; }

.old-counter {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 6px;
    font-size: 6px;
    color: #666;
}
.counter-num {
    background: #222;
    color: #0f0;
    font-family: monospace;
    padding: 1px 3px;
    font-size: 7px;
    border: 1px solid #444;
}

.old-footer {
    background: #2C5F2D;
    padding: 3px 0;
    border-top: 2px solid #8B7D3C;
}

/* ==================== */
/* AFTER — Modern Site  */
/* ==================== */
.new-site {
    flex: 1;
    background: var(--color-white);
    font-family: var(--font-ui);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.new-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(18, 48, 71, 0.06);
}
.new-logo {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.3px;
}
.new-nav-links {
    display: flex;
    gap: 10px;
}
.new-nav-links span {
    font-size: 7px;
    color: rgba(18, 48, 71, 0.6);
}
.new-cta-btn {
    font-size: 7px;
    background: var(--color-terracotta);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.new-hero-img {
    height: 140px;
    background: linear-gradient(135deg, #2C4A3E 0%, #1A3A2E 30%, #0D2B20 60%, #1E4035 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.new-hero-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 40%, rgba(200,180,150,0.1) 0%, transparent 50%);
}

.new-hero-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    padding: 0 20px;
}
.new-hero-headline {
    font-size: 12px;
    font-weight: 600;
    color: #FFF;
    letter-spacing: -0.2px;
}
.new-hero-sub {
    font-size: 7px;
    color: rgba(255,255,255,0.75);
}
.new-hero-cta {
    font-size: 7px;
    background: var(--color-terracotta);
    color: #fff;
    padding: 4px 14px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 6px;
    box-shadow: 0 3px 8px rgba(200, 107, 74, 0.4);
}

.new-features {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    flex: 1;
    align-items: flex-start;
}
.new-feat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    padding: 8px 4px;
    background: var(--color-bg);
    border-radius: 6px;
}
.new-feat-icon {
    color: var(--color-terracotta);
}
.new-feat-title {
    font-size: 7px;
    font-weight: 600;
    color: var(--color-text);
}
.new-feat-desc {
    font-size: 6px;
    color: rgba(18, 48, 71, 0.5);
}

/* Information lists */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.badge-before { background: #F3F4F6; color: #6B7280; }
.badge-after { background: rgba(200, 107, 74, 0.1); color: var(--color-terracotta); }

.trans-list {
    list-style: none;
    padding: 0;
}
.trans-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: rgba(18, 48, 71, 0.8);
}
.list-before li { color: #6B7280; }
.list-before svg { color: #EF4444; }
.list-after li { color: var(--color-text); font-weight: 500; }
.list-after svg { color: var(--color-terracotta); }

@media (max-width: 992px) {
    .trans-comparison {
        flex-direction: column;
        gap: 2rem;
    }
    .trans-vs {
        transform: rotate(90deg);
    }
}
@media (max-width: 768px) {
    .trans-title {
        font-size: 2.2rem;
    }
    .transformation {
        padding: 80px 0;
    }
    .trans-mockup {
        height: 300px;
    }
}

/* 5th Fold — Editorial process */
.process {
    padding: 108px 0 106px;
    background: #fbf8f2;
    color: var(--color-text);
    overflow: clip;
}

.process-inner {
    max-width: 1200px;
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(3.75rem, 6vw, 5.75rem);
    align-items: start;
}

.process-header {
    position: sticky;
    top: 132px;
    max-width: 520px;
}

.process-eyebrow,
.closing-eyebrow,
.faq-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
    color: var(--color-terracotta);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.process-eyebrow > span,
.closing-eyebrow > span,
.faq-kicker > span {
    min-width: 2.15rem;
    padding-right: 0.65rem;
    border-right: 1px solid currentColor;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
}

.process-title {
    color: var(--color-text);
    font-size: clamp(2.55rem, 3.65vw, 3.65rem);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -0.048em;
    text-wrap: balance;
}

.process-title i {
    color: var(--color-terracotta);
    font-family: var(--font-heading);
    font-weight: 400;
}

.process-intro {
    max-width: 460px;
    margin-top: 1.6rem;
    color: rgba(18, 48, 71, 0.69);
    font-size: 1rem;
    line-height: 1.75;
}

.process-note {
    max-width: 430px;
    margin-top: 2.15rem;
    padding: 0.15rem 0 0.15rem 1.25rem;
    border-left: 2px solid var(--color-terracotta);
}

.process-note > span {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--color-text);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.process-note p {
    color: rgba(18, 48, 71, 0.58);
    font-size: 0.89rem;
    line-height: 1.58;
}

.process-timeline {
    --process-progress: 0;
    --process-marker-center: 2.7rem;
    --process-last-step-height: 194px;
    position: relative;
    display: grid;
    width: min(100%, 570px);
    justify-self: end;
    gap: 1rem;
    margin: 0;
    padding: 0 0 0 4rem;
    list-style: none;
}

.process-timeline::before,
.process-timeline::after {
    content: "";
    position: absolute;
    top: var(--process-marker-center);
    bottom: calc(var(--process-last-step-height) - var(--process-marker-center));
    left: 0.48rem;
    width: 1px;
    transform-origin: top;
}

.process-timeline::before {
    background: rgba(18, 48, 71, 0.15);
}

.process-timeline::after {
    width: 3px;
    margin-left: -1px;
    background: var(--color-terracotta);
    transform: scaleY(var(--process-progress));
    transition: transform 0.14s linear;
}

.process-step {
    position: relative;
    min-height: 0;
    padding: 1.25rem 1.5rem 1.15rem;
    border: 1px solid rgba(18, 48, 71, 0.1);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.46);
    opacity: 0.82;
    visibility: visible;
    transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, background-color 0.45s ease, box-shadow 0.45s ease;
}

.process-step::before {
    content: "";
    position: absolute;
    top: 2.25rem;
    left: -2.5rem;
    width: 0.9rem;
    height: 0.9rem;
    border: 4px solid #fbf8f2;
    border-radius: 50%;
    background: #cfd4d5;
    box-shadow: 0 0 0 1px rgba(18, 48, 71, 0.14);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.process-step.is-past {
    opacity: 0.92;
}

.process-step.is-past::before,
.process-step.is-active::before {
    background: var(--color-terracotta);
}

.process-step.is-active {
    border-color: rgba(255, 94, 69, 0.38);
    background: var(--color-white);
    box-shadow: 0 18px 48px rgba(18, 48, 71, 0.085);
    opacity: 1;
    transform: none;
}

.process-step.is-active::before {
    box-shadow: 0 0 0 6px rgba(255, 94, 69, 0.12);
    transform: scale(1.05);
}

.process-step-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 0.7rem;
}

.process-number {
    color: #dfd2bf;
    font-family: var(--font-heading);
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.065em;
    transition: color 0.4s ease;
}

.process-step.is-active .process-number {
    color: var(--color-terracotta);
}

.process-phase {
    color: rgba(18, 48, 71, 0.5);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: right;
    text-transform: uppercase;
}

.process-step h3 {
    margin-bottom: 0.45rem;
    color: var(--color-text);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.35;
}

.process-step-content > p {
    color: rgba(18, 48, 71, 0.66);
    font-size: 0.92rem;
    line-height: 1.62;
}

.process-step-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.process-deliverable {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.25rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(18, 48, 71, 0.09);
}

.process-deliverable span {
    flex: 0 0 auto;
    color: var(--color-terracotta);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.process-deliverable strong {
    color: rgba(18, 48, 71, 0.8);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
}

@media (max-width: 900px) {
    .process {
        padding: 96px 0 104px;
    }

    .process-layout {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }

    .process-header {
        position: static;
        max-width: 690px;
    }

    .process-intro {
        max-width: 600px;
    }

    .process-note {
        max-width: 560px;
    }

    .process-timeline {
        width: 100%;
        max-width: 640px;
        justify-self: end;
    }
}

@media (max-width: 576px) {
    .process {
        padding: 78px 0 84px;
    }

    .process .container {
        padding: 0 1.35rem;
    }

    .process-layout {
        gap: 3.4rem;
    }

    .process-title {
        font-size: 2.45rem;
    }

    .process-timeline {
        --process-marker-center: 2.35rem;
        max-width: none;
        padding-left: 3rem;
    }

    .process-timeline::before,
    .process-timeline::after {
        left: 0.25rem;
    }

    .process-step {
        padding: 1.2rem 1.1rem 1.15rem;
        border-radius: 13px;
    }

    .process-step::before {
        top: 1.9rem;
        left: -1.9rem;
    }

    .process-number {
        font-size: 2.8rem;
    }

    .process-deliverable {
        display: grid;
        gap: 0.45rem;
    }

    .process-deliverable strong {
        text-align: left;
    }
}

/* 6th Fold — Final CTA + Compact FAQ */
.closing {
    --closing-bg: #0d293c;
    --closing-cream: #fff9ee;
    position: relative;
    overflow: clip;
}

.closing-cta-zone {
    position: relative;
    padding: 112px 0 108px;
    background:
        radial-gradient(circle at 82% 6%, rgba(255, 255, 255, 0.07), transparent 26rem),
        var(--closing-bg);
    color: var(--closing-cream);
    isolation: isolate;
    overflow: hidden;
}

.closing-cta-zone::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 249, 238, 0.22), transparent);
}

.closing-watermark {
    position: absolute;
    z-index: -1;
    top: 16px;
    right: max(-76px, calc((100vw - 1440px) / 2));
    width: 420px;
    height: 420px;
    overflow: hidden;
    opacity: 0.05;
    pointer-events: none;
    will-change: transform;
}

.closing-watermark img {
    position: absolute;
    top: 0;
    left: 0;
    width: 1595px;
    max-width: none;
    height: auto;
    filter: brightness(0) invert(1);
}

.closing-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.closing-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
    gap: clamp(4rem, 8vw, 7rem);
    align-items: center;
}

.closing-eyebrow {
    color: #f0a68d;
}

.closing-heading h2 {
    max-width: 760px;
    color: var(--closing-cream);
    font-size: clamp(2.75rem, 4.6vw, 4.25rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.closing-heading h2 i {
    color: #f2b39e;
    font-family: var(--font-heading);
    font-weight: 400;
}

.closing-conversion > p {
    margin-bottom: 1.8rem;
    color: rgba(255, 249, 238, 0.74);
    font-size: 1.03rem;
    line-height: 1.76;
}

.closing-actions {
    display: grid;
    justify-items: start;
    gap: 0.9rem;
}

.closing-btn {
    min-width: 248px;
    min-height: 56px;
    padding: 0.95rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.25;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.closing-btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: 0 14px 35px rgba(255, 94, 69, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.closing-btn-primary:hover {
    background: var(--color-terracotta-hover);
    box-shadow: 0 18px 42px rgba(255, 94, 69, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
    transform: translateY(-3px);
}

.closing-microcopy {
    max-width: 310px;
    color: rgba(255, 249, 238, 0.48);
    font-size: 0.76rem;
    line-height: 1.55;
}

.closing-btn:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 4px;
}

.faq-zone {
    padding: 94px 0 100px;
    border-top: 1px solid rgba(18, 48, 71, 0.08);
    background: #f8f3ea;
    color: var(--color-text);
}

.compact-faq {
    display: grid;
    grid-template-columns: minmax(240px, 0.64fr) minmax(0, 1.36fr);
    gap: clamp(4.5rem, 9vw, 8rem);
    align-items: start;
    max-width: 1200px;
}

.faq-intro {
    position: sticky;
    top: 132px;
}

.faq-kicker {
    color: var(--color-terracotta);
}

.faq-intro h3 {
    max-width: 360px;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.042em;
    text-wrap: balance;
}

.faq-intro p {
    max-width: 310px;
    color: rgba(18, 48, 71, 0.58);
    font-size: 0.93rem;
    line-height: 1.7;
}

.faq-list {
    border-top: 1px solid rgba(18, 48, 71, 0.18);
}

.faq-item {
    border-bottom: 1px solid rgba(18, 48, 71, 0.18);
}

.faq-item h4 {
    margin: 0;
}

.faq-question {
    width: 100%;
    padding: 1.65rem 0;
    border: 0;
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    background: transparent;
    color: var(--color-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.faq-number {
    color: #c9a889;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.faq-question-copy {
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.45;
    transition: color 0.3s ease;
}

.faq-state {
    min-width: 4.3rem;
    color: var(--color-terracotta);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: right;
    text-transform: uppercase;
}

.faq-answer {
    height: auto;
    padding: 0 7rem 1.7rem 4.45rem;
    overflow: hidden;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer p {
    color: rgba(18, 48, 71, 0.65);
    font-size: 0.92rem;
    line-height: 1.74;
}

.faq-item.is-open .faq-number,
.faq-item:hover .faq-number,
.faq-item.is-open .faq-question-copy {
    color: var(--color-terracotta);
}

@media (max-width: 900px) {
    .closing-cta-zone {
        padding: 94px 0 92px;
    }

    .closing-cta,
    .compact-faq {
        grid-template-columns: 1fr;
        gap: 3.25rem;
    }

    .closing-heading h2 {
        max-width: 760px;
    }

    .closing-conversion {
        max-width: 620px;
    }

    .faq-zone {
        padding: 84px 0 90px;
    }

    .faq-intro {
        position: static;
    }

    .faq-intro h3,
    .faq-intro p {
        max-width: 520px;
    }
}

@media (max-width: 576px) {
    .closing-cta-zone {
        padding: 76px 0 74px;
    }

    .closing .container {
        padding: 0 1.35rem;
    }

    .closing-watermark {
        top: 22px;
        right: -68px;
        width: 270px;
        height: 270px;
    }

    .closing-watermark img {
        width: 1025px;
    }

    .closing-heading h2 {
        font-size: 2.5rem;
    }

    .closing-cta {
        gap: 2.35rem;
    }

    .closing-conversion > p {
        font-size: 0.98rem;
    }

    .closing-actions,
    .closing-btn {
        width: 100%;
    }

    .faq-zone {
        padding: 72px 0 76px;
    }

    .compact-faq {
        gap: 2.75rem;
    }

    .faq-question {
        grid-template-columns: 2.3rem minmax(0, 1fr) auto;
        gap: 0.8rem;
        padding: 1.4rem 0;
    }

    .faq-question-copy {
        font-size: 0.96rem;
    }

    .faq-state {
        min-width: 3.55rem;
        font-size: 0.6rem;
    }

    .faq-answer {
        padding: 0 0 1.5rem 3.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-timeline::after,
    .process-step,
    .process-step::before,
    .process-number,
    .closing-btn,
    .faq-number,
    .faq-question-copy {
        transition: none;
    }
}

/* Footer */
.site-footer {
    padding: 30px 0 14px;
    border-top: 1px solid rgba(18, 48, 71, 0.09);
    background: var(--color-white);
    color: var(--color-text);
}

.footer-inner {
    max-width: 1200px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(4rem, 10vw, 9rem);
    align-items: start;
}

.footer-brand {
    max-width: 460px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-logo img {
    display: block;
    width: 180px;
    height: auto;
    filter: none;
    opacity: 1;
}

.footer-brand p {
    color: rgba(18, 48, 71, 0.7);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.5;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.footer-column h2 {
    margin-bottom: 0.85rem;
    color: var(--color-terracotta-hover);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li + li {
    margin-top: 0.45rem;
}

.footer-column a {
    color: rgba(18, 48, 71, 0.68);
    font-size: 0.88rem;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-column a:hover {
    color: var(--color-terracotta-hover);
}

.footer-column a:focus-visible,
.footer-logo:focus-visible {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 4px;
}

.footer-bottom {
    margin-top: 1.75rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(18, 48, 71, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    color: rgba(18, 48, 71, 0.48);
    font-size: 0.74rem;
    letter-spacing: 0.02em;
}

@media (max-width: 820px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 560px;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 36px 0 18px;
    }

    .site-footer .container {
        padding: 0 1.35rem;
    }

    .footer-main {
        gap: 2.5rem;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
    }

    .footer-legal {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        margin-top: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Enhanced 2nd + 3rd folds */
.problem-solution,
.services {
    position: relative;
    padding: 130px 0;
    color: var(--color-text);
    overflow: hidden;
}

.problem-solution {
    background: linear-gradient(to bottom, var(--color-bg) 0, #fbf8f2 88px);
}

.services {
    background: var(--color-white);
}

.diagnostic-inner,
.services-inner {
    max-width: 1200px;
}

.diagnostic-heading,
.services-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: clamp(4rem, 9vw, 8rem);
    align-items: end;
    margin-bottom: 5rem;
}

.fold-index {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--color-terracotta);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.diagnostic-heading h2,
.services-editorial h2 {
    max-width: 760px;
    color: var(--color-text);
    font-size: clamp(2.5rem, 4.2vw, 3.55rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.diagnostic-heading h2 i,
.services-editorial h2 i {
    color: var(--color-terracotta);
    font-family: var(--font-heading);
    font-weight: 400;
}

.diagnostic-heading > p,
.services-editorial > p {
    padding-bottom: 0.35rem;
    color: rgba(18, 48, 71, 0.68);
    font-size: 1rem;
    line-height: 1.75;
}

.diagnostic-experience {
    display: grid;
    grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
    gap: 2.5rem;
    align-items: stretch;
}

.diagnostic-selector,
.service-index {
    border-top: 1px solid rgba(18, 48, 71, 0.14);
}

.diagnostic-choice,
.service-choice {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(18, 48, 71, 0.14);
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    background: transparent;
    color: var(--color-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.diagnostic-choice {
    padding: 1.4rem 1rem;
}

.diagnostic-choice:hover,
.diagnostic-choice.is-active {
    background: rgba(255, 255, 255, 0.64);
    border-color: rgba(255, 94, 69, 0.28);
}

.diagnostic-choice.is-active {
    padding-left: 1.35rem;
}

.diagnostic-number,
.service-choice > span:first-child {
    color: #c7ad83;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.diagnostic-choice.is-active .diagnostic-number,
.service-choice.is-active > span:first-child {
    color: var(--color-terracotta);
}

.diagnostic-choice strong,
.service-choice strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.diagnostic-choice small,
.service-choice small {
    display: block;
    color: rgba(18, 48, 71, 0.57);
    font-size: 0.79rem;
    line-height: 1.55;
}

.diagnostic-choice:focus-visible,
.service-choice:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--color-terracotta);
    outline-offset: -2px;
}

.diagnostic-panel {
    min-height: 100%;
    padding: 1.6rem;
    border-radius: 18px;
    background: #0d293c;
    box-shadow: 0 24px 70px rgba(18, 48, 71, 0.15);
    color: #fff9ee;
}

.diagnostic-panel-top,
.service-stage-label {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    color: rgba(255, 249, 238, 0.5);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.diagnostic-status,
.service-stage-label span:last-child {
    color: #f2aa91;
}

.diagnostic-report {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.5rem 0;
}

.diagnostic-report-row {
    min-height: 82px;
    padding: 0.9rem;
    border: 1px solid rgba(255, 249, 238, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.025);
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.diagnostic-report-row span {
    color: rgba(255, 249, 238, 0.72);
    font-size: 0.74rem;
    font-weight: 500;
}

.diagnostic-report-row small {
    color: rgba(255, 249, 238, 0.34);
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.diagnostic-report-row.is-active {
    border-color: rgba(255, 94, 69, 0.48);
    background: rgba(255, 94, 69, 0.1);
    transform: translateY(-3px);
}

.diagnostic-report-row.is-active small {
    color: #f2aa91;
}

.diagnostic-focus {
    padding: clamp(1.5rem, 4vw, 2.6rem);
    border: 1px solid rgba(255, 249, 238, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.045);
}

.diagnostic-focus > span,
.diagnostic-outcome > span {
    display: block;
    margin-bottom: 0.8rem;
    color: #f2aa91;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.diagnostic-focus h3 {
    max-width: 600px;
    margin-bottom: 1rem;
    color: #fff9ee;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.65rem);
    font-weight: 400;
    line-height: 1.15;
}

.diagnostic-focus > p,
.diagnostic-outcome p {
    color: rgba(255, 249, 238, 0.62);
    font-size: 0.9rem;
    line-height: 1.7;
}

.diagnostic-outcome {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 249, 238, 0.12);
}

.services-editorial {
    margin-bottom: 4.5rem;
}

.services-showcase {
    display: grid;
    grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
}

.service-choice {
    padding: 1.25rem 1rem;
}

.service-choice:hover,
.service-choice.is-active {
    background: #fbf8f2;
    border-color: rgba(255, 94, 69, 0.25);
}

.service-choice.is-active {
    padding-left: 1.35rem;
    box-shadow: inset 3px 0 0 var(--color-terracotta);
}

.service-stage {
    position: sticky;
    top: 112px;
    min-height: 650px;
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    background: #0d293c;
    box-shadow: 0 28px 75px rgba(18, 48, 71, 0.18);
}

.service-stage-label {
    min-height: 38px;
    padding: 0 0.4rem 0.8rem;
}

.service-browser {
    width: 100%;
    height: 580px;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-stage[data-preview-mode="mobile"] .service-browser {
    width: 52%;
    border-radius: 22px;
}

.service-browser-bar {
    height: 32px;
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f3f1ec;
    color: rgba(18, 48, 71, 0.42);
    font-size: 0.58rem;
}

.browser-controls {
    display: inline-flex;
    gap: 4px;
}

.browser-controls i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8c3ba;
}

.service-site {
    height: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    background: #f9f5ec;
}

.service-site-nav {
    height: 48px;
    padding: 0 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    color: #183548;
}

.service-site-nav strong {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}

.service-site-nav span {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.service-site-hero {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.service-site-hero img,
.service-site-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-site-hero img {
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.service-site-overlay {
    background: linear-gradient(90deg, rgba(8, 25, 35, 0.78), rgba(8, 25, 35, 0.18) 72%, transparent);
}

.service-site-copy {
    position: relative;
    z-index: 2;
    width: min(76%, 470px);
    height: 100%;
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff9ee;
}

.service-site-copy > span {
    margin-bottom: 0.9rem;
    color: #f3bc8d;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-site-copy h3 {
    margin-bottom: 1rem;
    color: #fff9ee;
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3vw, 2.8rem);
    font-weight: 400;
    line-height: 1.05;
}

.service-site-copy p {
    margin-bottom: 1.5rem;
    color: rgba(255, 249, 238, 0.76);
    font-size: 0.74rem;
    line-height: 1.65;
}

.service-site-copy a {
    padding: 0.72rem 1.1rem;
    border-radius: 5px;
    background: #fff9ee;
    color: #183548;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.service-proof-strip {
    min-height: 46px;
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #fff;
    color: rgba(18, 48, 71, 0.55);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-stage[data-preview-mode="mobile"] .service-site-nav span,
.service-stage[data-preview-mode="mobile"] .service-proof-strip span:nth-child(2) {
    display: none;
}

.service-stage[data-preview-mode="mobile"] .service-site-copy {
    width: 100%;
    padding: 2rem 1.35rem;
}

.service-stage[data-preview-mode="mobile"] .service-site-copy h3 {
    font-size: 1.75rem;
}

.service-stage[data-preview-mode="mobile"] .service-site-overlay {
    background: linear-gradient(to top, rgba(8, 25, 35, 0.88), rgba(8, 25, 35, 0.25));
}

.service-stage[data-preview-mode="mobile"] .service-site-copy {
    justify-content: flex-end;
}

.service-stage[data-preview-mode="mobile"] .service-proof-strip {
    justify-content: center;
}

.service-site-copy.is-updating {
    animation: preview-update 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes preview-update {
    from { opacity: 0.35; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fold-reveal {
    opacity: 0;
    transform: translateY(34px);
}

@media (max-width: 1020px) {
    .diagnostic-heading,
    .services-editorial {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .diagnostic-heading > p,
    .services-editorial > p {
        max-width: 680px;
    }

    .diagnostic-experience,
    .services-showcase {
        grid-template-columns: 1fr;
    }

    .service-stage {
        position: relative;
        top: auto;
    }
}

@media (max-width: 700px) {
    .problem-solution,
    .services {
        padding: 88px 0;
    }

    .diagnostic-heading,
    .services-editorial {
        margin-bottom: 3.25rem;
    }

    .diagnostic-report {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-stage {
        min-height: 570px;
    }

    .service-browser {
        height: 500px;
    }

    .service-stage[data-preview-mode="mobile"] .service-browser {
        width: 68%;
    }
}

@media (max-width: 576px) {
    .problem-solution .container,
    .services .container {
        padding: 0 1.35rem;
    }

    .diagnostic-heading h2,
    .services-editorial h2 {
        font-size: 2.35rem;
    }

    .diagnostic-choice,
    .service-choice {
        grid-template-columns: 2.5rem minmax(0, 1fr);
        padding-right: 0.45rem;
        padding-left: 0.45rem;
    }

    .diagnostic-panel {
        padding: 1rem;
        border-radius: 14px;
    }

    .diagnostic-panel-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .diagnostic-focus {
        padding: 1.35rem;
    }

    .service-stage {
        min-height: 520px;
        padding: 0.7rem;
        border-radius: 15px;
    }

    .service-browser {
        height: 455px;
    }

    .service-stage[data-preview-mode="mobile"] .service-browser {
        width: 78%;
    }

    .service-site-copy {
        width: 88%;
        padding: 1.6rem;
    }

    .service-site-copy h3 {
        font-size: 1.8rem;
    }

    .service-proof-strip {
        gap: 0.5rem;
        font-size: 0.48rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .diagnostic-choice,
    .service-choice,
    .diagnostic-report-row,
    .service-browser,
    .service-site-hero img {
        transition: none;
    }

    .service-site-copy.is-updating {
        animation: none;
    }
}

/* Enhanced 4th fold — transformation comparison */
.trans-comparison {
    gap: 2rem;
}

.trans-box {
    padding: 1.6rem;
}

.trans-after {
    border-color: rgba(255, 94, 69, 0.25);
    box-shadow: 0 20px 65px rgba(18, 48, 71, 0.11);
}

.trans-mockup {
    height: 400px;
    margin-bottom: 2rem;
}

.old-site {
    display: flex;
    flex-direction: column;
}

.old-body {
    flex: 1;
    align-items: flex-start;
}

.old-col-left {
    width: 44%;
}

.old-photo-placeholder {
    height: 108px;
    padding: 2px;
    border-color: #8c8c8c;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    background: #d1d1d1;
}

.old-photo-placeholder.small {
    height: 72px;
    padding: 2px;
}

.old-photo-placeholder img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
    filter: saturate(0.72) contrast(0.88);
}

.old-photo-placeholder span {
    padding: 2px 3px;
    background: #ececec;
    text-align: center;
}

.old-desc {
    font-size: 8px;
}

.new-site {
    background: #f8f5ee;
}

.new-nav {
    min-height: 42px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.98);
}

.new-logo {
    color: #17354a;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.new-nav-links {
    gap: 12px;
}

.new-nav-links span {
    color: rgba(18, 48, 71, 0.62);
    font-size: 6.5px;
    font-weight: 500;
}

.new-cta-btn {
    padding: 4px 10px;
    border-radius: 999px;
    background: #17354a;
    font-size: 6.5px;
    box-shadow: 0 3px 9px rgba(18, 48, 71, 0.16);
}

.new-hero-img {
    position: relative;
    flex: 1;
    height: auto;
    min-height: 0;
    display: block;
    background: #17354a;
}

.new-hero-img::before {
    display: none;
}

.new-hero-photo,
.new-hero-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.new-hero-photo {
    object-fit: cover;
    object-position: center;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.trans-after:hover .new-hero-photo {
    transform: scale(1.025);
}

.new-hero-scrim {
    background: linear-gradient(90deg, rgba(7, 27, 39, 0.78), rgba(7, 27, 39, 0.14) 72%, transparent);
}

.new-hero-overlay {
    position: relative;
    z-index: 2;
    width: 68%;
    height: 100%;
    padding: 24px 28px;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    text-align: left;
}

.new-hero-kicker {
    margin-bottom: 3px;
    color: #f4c38f;
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.new-hero-headline {
    color: #fff9ee;
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.new-hero-sub {
    max-width: 210px;
    color: rgba(255, 249, 238, 0.76);
    font-size: 7.5px;
    line-height: 1.45;
}

.new-hero-cta {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 3px;
    background: #fff9ee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    color: #17354a;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.new-hero-meta {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(7, 27, 39, 0.52);
    backdrop-filter: blur(7px);
    color: rgba(255, 249, 238, 0.82);
    font-size: 5.5px;
}

.new-features {
    flex: 0 0 66px;
    gap: 0;
    padding: 0;
    align-items: stretch;
    background: #fff;
}

.new-feat {
    padding: 11px 12px;
    border-radius: 0;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    background: #fff;
    text-align: left;
}

.new-feat + .new-feat {
    border-left: 1px solid rgba(18, 48, 71, 0.08);
}

.new-feat-label {
    color: var(--color-terracotta);
    font-size: 5.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.new-feat-title {
    color: #17354a;
    font-size: 7px;
    font-weight: 600;
    line-height: 1.35;
}

@media (max-width: 992px) {
    .trans-comparison {
        gap: 1.5rem;
    }

    .trans-mockup {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 576px) {
    .trans-box {
        padding: 1rem;
    }

    .trans-mockup {
        height: 350px;
    }

    .new-hero-overlay {
        width: 76%;
        padding: 20px;
    }

    .new-hero-headline {
        font-size: 20px;
    }

    .new-hero-meta {
        display: none;
    }
}

/* Legal pages */
.legal-page {
    background: #f8f3ea;
}

.legal-main {
    padding-top: 80px;
}

.legal-hero {
    position: relative;
    padding: 92px 0 84px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.07), transparent 25rem),
        #0d293c;
    color: #fff9ee;
    overflow: hidden;
}

.legal-hero::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -13rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(255, 249, 238, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(255, 249, 238, 0.025);
    pointer-events: none;
}

.legal-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.legal-kicker {
    display: block;
    margin-bottom: 1.2rem;
    color: #f0a68d;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.legal-hero h1 {
    max-width: 820px;
    margin-bottom: 1.25rem;
    color: #fff9ee;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.legal-hero p {
    max-width: 700px;
    color: rgba(255, 249, 238, 0.68);
    font-size: 1.05rem;
    line-height: 1.75;
}

.legal-document {
    padding: 76px 0 104px;
    background: #f8f3ea;
}

.legal-document-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
    gap: clamp(3rem, 7vw, 6.5rem);
    align-items: start;
    max-width: 1200px;
}

.legal-sidebar {
    position: sticky;
    top: 112px;
}

.legal-draft-note {
    margin-bottom: 2rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(255, 94, 69, 0.22);
    border-radius: 12px;
    background: rgba(255, 94, 69, 0.07);
}

.legal-draft-note strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-terracotta-hover);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-draft-note p {
    color: rgba(18, 48, 71, 0.62);
    font-size: 0.82rem;
    line-height: 1.55;
}

.legal-index {
    display: grid;
    border-top: 1px solid rgba(18, 48, 71, 0.14);
}

.legal-index a {
    padding: 0.78rem 0;
    border-bottom: 1px solid rgba(18, 48, 71, 0.1);
    color: rgba(18, 48, 71, 0.58);
    font-size: 0.77rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.legal-index a:hover,
.legal-index a:focus-visible {
    padding-left: 0.35rem;
    color: var(--color-terracotta-hover);
}

.legal-index a:focus-visible,
.legal-inline-link:focus-visible,
.legal-back-link:focus-visible {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 3px;
}

.legal-article {
    padding: clamp(2rem, 5vw, 4.25rem);
    border: 1px solid rgba(18, 48, 71, 0.1);
    border-radius: 20px;
    background: var(--color-white);
    box-shadow: 0 24px 70px rgba(18, 48, 71, 0.07);
}

.legal-updated {
    margin-bottom: 2.5rem;
    color: rgba(18, 48, 71, 0.48);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-section {
    scroll-margin-top: 116px;
}

.legal-section + .legal-section {
    margin-top: 3.25rem;
    padding-top: 3.25rem;
    border-top: 1px solid rgba(18, 48, 71, 0.1);
}

.legal-section-number {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-terracotta);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1;
}

.legal-section h2 {
    margin-bottom: 1.25rem;
    color: var(--color-text);
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.legal-section p {
    color: rgba(18, 48, 71, 0.68);
    font-size: 0.94rem;
    line-height: 1.78;
}

.legal-section p + p,
.legal-section p + .legal-list,
.legal-section .legal-list + p {
    margin-top: 1rem;
}

.legal-list {
    display: grid;
    gap: 0.72rem;
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: rgba(18, 48, 71, 0.68);
}

.legal-list li {
    padding-left: 0.35rem;
    font-size: 0.92rem;
    line-height: 1.68;
}

.legal-list li::marker {
    color: var(--color-terracotta);
}

.legal-data-list {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(18, 48, 71, 0.12);
}

.legal-data-list > div {
    display: grid;
    grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr);
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(18, 48, 71, 0.1);
}

.legal-data-list dt {
    color: rgba(18, 48, 71, 0.5);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-data-list dd {
    min-width: 0;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.55;
}

.legal-placeholder {
    padding: 0.14rem 0.38rem;
    border: 1px solid rgba(255, 94, 69, 0.18);
    border-radius: 5px;
    background: rgba(255, 94, 69, 0.08);
    color: var(--color-terracotta-hover);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-size: 0.86em;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.legal-inline-link {
    color: var(--color-terracotta-hover);
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.cookie-category-list dd {
    font-weight: 400;
}

.cookie-declaration-shell {
    min-height: 12rem;
    margin-top: 1.5rem;
    padding: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid rgba(18, 48, 71, 0.12);
    border-radius: 14px;
    background: #fbf8f2;
    color: var(--color-text);
    overflow-x: auto;
}

.cookie-declaration-shell noscript {
    color: rgba(18, 48, 71, 0.68);
    font-size: 0.9rem;
    line-height: 1.65;
}

.cookie-declaration-shell :where(table) {
    width: 100%;
    border-collapse: collapse;
}

.cookie-declaration-shell :where(th, td) {
    padding: 0.72rem;
    border-bottom: 1px solid rgba(18, 48, 71, 0.1);
    text-align: left;
    vertical-align: top;
}

.legal-cookie-button {
    min-height: 48px;
    margin: 1.5rem 0 1rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--color-terracotta);
    border-radius: 10px;
    background: var(--color-terracotta);
    color: var(--color-white);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.legal-cookie-button:hover {
    border-color: var(--color-terracotta-hover);
    background: var(--color-terracotta-hover);
    transform: translateY(-2px);
}

.legal-cookie-button:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 3px;
}

.legal-back-link {
    min-height: 48px;
    margin-top: 3.75rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(18, 48, 71, 0.14);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.legal-back-link:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta-hover);
    transform: translateY(-2px);
}

.footer-column a[aria-current="page"] {
    color: var(--color-terracotta-hover);
    font-weight: 600;
}

@media (max-width: 900px) {
    .legal-hero {
        padding: 76px 0 72px;
    }

    .legal-document {
        padding: 62px 0 84px;
    }

    .legal-document-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .legal-sidebar {
        position: static;
        display: grid;
        grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
        gap: 2rem;
    }

    .legal-draft-note {
        margin-bottom: 0;
    }

    .legal-index {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .legal-main {
        padding-top: 72px;
    }

    .legal-hero {
        padding: 64px 0 60px;
    }

    .legal-hero .container,
    .legal-document .container {
        padding-right: 1.35rem;
        padding-left: 1.35rem;
    }

    .legal-hero h1 {
        font-size: 2.75rem;
    }

    .legal-hero p {
        font-size: 0.96rem;
    }

    .legal-document {
        padding: 48px 0 64px;
    }

    .legal-sidebar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .legal-index {
        grid-template-columns: 1fr;
    }

    .legal-article {
        padding: 1.5rem 1.2rem 1.75rem;
        border-radius: 15px;
    }

    .legal-section + .legal-section {
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }

    .legal-data-list > div {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .cookie-declaration-shell {
        margin-right: -0.25rem;
        margin-left: -0.25rem;
        padding: 0.9rem;
    }

    .legal-cookie-button {
        width: 100%;
    }

    .legal-back-link {
        width: 100%;
    }
}
