/* ═══════════════════════════════════════════════════════════
   TatuneServices - Dark Premium Design System v2
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600;1,700&family=Space+Grotesk:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
    --font-display: "Space Grotesk", "IBM Plex Sans", "Segoe UI", sans-serif;
    --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
    --font-editorial: "Cormorant Garamond", Georgia, "Times New Roman", serif;

    /* Dark base */
    --bg: #080d14;
    --bg-soft: #0d1520;
    --bg-card: #111827;
    --paper: #131f2e;
    --paper-glass: rgba(13, 21, 35, 0.82);
    --ink: #e8f0f8;
    --ink-soft: #8ba3bc;
    --line: rgba(255, 255, 255, 0.08);

    /* Brand palette — more vibrant */
    --navy: #3b82f6;
    --navy-soft: rgba(59, 130, 246, 0.15);
    --teal: #06d6a0;
    --teal-soft: rgba(6, 214, 160, 0.12);
    --coral: #ff6b6b;
    --coral-soft: rgba(255, 107, 107, 0.12);
    --mustard: #fbbf24;
    --mustard-soft: rgba(251, 191, 36, 0.12);
    --purple: #a78bfa;
    --purple-soft: rgba(167, 139, 250, 0.12);

    --ok: #06d6a0;
    --warn: #fbbf24;
    --danger: #ff6b6b;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --shadow-a: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-b: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow-teal: 0 0 40px rgba(6, 214, 160, 0.18);
    --shadow-glow-coral: 0 0 40px rgba(255, 107, 107, 0.15);
    --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.62;
    background: var(--bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    line-height: 1.08;
}

p {
    margin: 0;
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0;
    will-change: transform;
}

.ambient-orb--1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, transparent 70%);
    top: -20%;
    left: -15%;
    animation: orbFloat1 18s ease-in-out infinite alternate;
}

.ambient-orb--2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, transparent 70%);
    top: -10%;
    right: -12%;
    animation: orbFloat2 22s ease-in-out infinite alternate;
}

.ambient-orb--3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.3) 0%, transparent 70%);
    bottom: 10%;
    left: 25%;
    animation: orbFloat3 20s ease-in-out infinite alternate;
}

.ambient-orb--4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.25) 0%, transparent 70%);
    bottom: -8%;
    right: 10%;
    animation: orbFloat4 16s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(80px, 60px) scale(1.15);
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-60px, 80px) scale(1.1);
    }
}

@keyframes orbFloat3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -40px) scale(1.2);
    }
}

@keyframes orbFloat4 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-40px, -50px) scale(1.08);
    }
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    pointer-events: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 13, 20, 0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    transition: box-shadow 300ms ease;
}

.topbar.scrolled {
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.05);
}

.topbar-inner {
    position: relative;
    z-index: 1;
    width: min(1260px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral), #f28179);
    box-shadow: 0 0 0 6px rgba(210, 79, 69, 0.14);
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(210, 79, 69, 0.14);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(210, 79, 69, 0.06);
    }
}

.brand-eyebrow {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
}

.brand-name {
    margin-top: 0.06rem;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--ink);
    background: linear-gradient(90deg, #e8f0f8, var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top-nav {
    display: inline-flex;
    gap: 0.4rem;
}

.top-nav a {
    min-height: 34px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ink-soft);
    font-size: 0.86rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.top-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 214, 160, 0.1));
    opacity: 0;
    transition: opacity 220ms ease;
}

.top-nav a:hover {
    border-color: rgba(6, 214, 160, 0.3);
    color: var(--teal);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(6, 214, 160, 0.08);
}

.top-nav a:hover::before {
    opacity: 1;
}

/* Main layout */
.app-shell {
    position: relative;
    z-index: 1;
    background: transparent;
    pointer-events: none;
}

.app-shell * {
    pointer-events: auto;
}

.site-main {
    position: relative;
    z-index: 1;
    width: min(1260px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.1rem 0 2.4rem;
    pointer-events: none;
}

.site-main>* {
    pointer-events: auto;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(135deg,
            rgba(13, 21, 35, 0.95) 0%,
            rgba(17, 28, 48, 0.92) 50%,
            rgba(11, 18, 32, 0.97) 100%);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-b), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 80px rgba(59, 130, 246, 0.08);
    padding: clamp(1.6rem, 3.5vw, 3rem);
    animation: heroEnter 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.18), transparent 65%);
    animation: heroOrbA 12s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15), transparent 65%);
    animation: heroOrbB 14s ease-in-out infinite alternate;
}

@keyframes heroOrbA {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 20px) scale(1.1);
    }
}

@keyframes heroOrbB {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -15px) scale(1.08);
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
}

.hero-particle--teal {
    background: var(--teal);
    box-shadow: 0 0 8px rgba(13, 143, 134, 0.5);
}

.hero-particle--coral {
    background: var(--coral);
    box-shadow: 0 0 8px rgba(210, 79, 69, 0.5);
}

.hero-particle--navy {
    background: var(--navy);
    box-shadow: 0 0 8px rgba(23, 58, 99, 0.4);
}

.hero-head {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    animation: fadeSlideIn 600ms 200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.chip {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    color: var(--ink-soft);
    font-size: 0.74rem;
    min-height: 29px;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    transition: all 200ms ease;
}

.chip:hover {
    background: rgba(6, 214, 160, 0.1);
    border-color: rgba(6, 214, 160, 0.25);
    color: var(--teal);
    transform: translateY(-1px);
}

.chip-soft {
    border-color: rgba(6, 214, 160, 0.2);
    background: rgba(6, 214, 160, 0.08);
    color: var(--teal);
}

.hero-title {
    position: relative;
    z-index: 1;
    margin-top: 1.1rem;
    max-width: 22ch;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #e8f0f8 0%, #06d6a0 45%, #3b82f6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeSlideIn 700ms 350ms cubic-bezier(0.16, 1, 0.3, 1) both,
        titleShimmer 6s ease-in-out infinite;
}

@keyframes titleShimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.hero-lead {
    position: relative;
    z-index: 1;
    margin-top: 0.85rem;
    max-width: 70ch;
    color: #4c5f72;
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    animation: fadeSlideIn 700ms 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-kpis {
    position: relative;
    z-index: 1;
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.kpi {
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    padding: 1rem;
    box-shadow: var(--shadow-a);
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
    animation: kpiEnter 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    overflow: hidden;
}

.kpi::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: none;
}

.kpi:hover::after {
    animation: shimmerPass 800ms ease forwards;
}

@keyframes shimmerPass {
    0% {
        left: -60%;
    }

    100% {
        left: 120%;
    }
}

.kpi:nth-child(1) {
    animation-delay: 600ms;
}

.kpi:nth-child(2) {
    animation-delay: 700ms;
}

.kpi:nth-child(3) {
    animation-delay: 800ms;
}

.kpi:nth-child(4) {
    animation-delay: 900ms;
}

@keyframes kpiEnter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.kpi:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--shadow-glow-teal);
    border-color: rgba(6, 214, 160, 0.25);
    background: rgba(6, 214, 160, 0.05);
}

.kpi-label {
    font-size: 0.72rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.kpi-value {
    margin-top: 0.25rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--ink);
    font-weight: 700;
    transition: color 200ms ease;
}

.kpi:hover .kpi-value {
    color: var(--teal);
}

.kpi-hint {
    margin-top: 0.2rem;
    font-size: 0.74rem;
    color: var(--ink-soft);
    opacity: 0.7;
}

/* Content grid */
.content-grid {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr);
    gap: 0.8rem;
}

.column-main,
.column-aside {
    display: grid;
    gap: 0.8rem;
}

/* Panel (universal card) */
.panel {
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(13, 21, 35, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.1rem;
    box-shadow: var(--shadow-a), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.06), transparent 50%, rgba(59, 130, 246, 0.04));
    z-index: 0;
    opacity: 0;
    transition: opacity 400ms ease;
    pointer-events: none;
}

.panel:hover::before {
    opacity: 1;
}

.panel:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(6, 214, 160, 0.1), var(--shadow-glow-teal);
    border-color: rgba(6, 214, 160, 0.15);
    transform: translateY(-2px);
}

.panel-title {
    color: var(--ink);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    position: relative;
    z-index: 1;
}

.panel-subtitle {
    margin-top: 0.42rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    position: relative;
    z-index: 1;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger>* {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.is-visible>*:nth-child(1) {
    transition-delay: 0ms;
    opacity: 1;
    transform: none;
}

.stagger.is-visible>*:nth-child(2) {
    transition-delay: 60ms;
    opacity: 1;
    transform: none;
}

.stagger.is-visible>*:nth-child(3) {
    transition-delay: 60ms;
    opacity: 1;
    transform: none;
}

.stagger.is-visible>*:nth-child(4) {
    transition-delay: 120ms;
    opacity: 1;
    transform: none;
}

.stagger.is-visible>*:nth-child(5) {
    transition-delay: 180ms;
    opacity: 1;
    transform: none;
}

.stagger.is-visible>*:nth-child(6) {
    transition-delay: 240ms;
    opacity: 1;
    transform: none;
}

.stagger.is-visible>*:nth-child(7) {
    transition-delay: 300ms;
    opacity: 1;
    transform: none;
}

.stagger.is-visible>*:nth-child(8) {
    transition-delay: 360ms;
    opacity: 1;
    transform: none;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Principles section */
.principles-grid {
    margin-top: 0.72rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.58rem;
}

.principle-card {
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    padding: 0.9rem;
    min-height: 118px;
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.principle-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--navy));
    transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 var(--r-md) var(--r-md);
}

.principle-card:hover::after {
    width: 100%;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3), var(--shadow-glow-teal);
    border-color: rgba(6, 214, 160, 0.2);
    background: rgba(6, 214, 160, 0.04);
}

.principle-title {
    font-size: 0.96rem;
    color: var(--ink);
}

.principle-text {
    margin-top: 0.4rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

/* Timeline / Pipeline section */
.timeline-grid {
    margin-top: 0.72rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.58rem;
}

.timeline-step {
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    padding: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(180deg, var(--mustard), var(--coral));
    transition: height 400ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--r-md) 0 0 var(--r-md);
}

.timeline-step:hover::before {
    height: 100%;
}

.timeline-step:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 28px rgba(23, 33, 43, 0.1);
}

.timeline-number {
    display: inline-flex;
    min-width: 38px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.1);
    color: var(--mustard);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 250ms ease;
}

.timeline-step:hover .timeline-number {
    background: var(--mustard);
    color: #000;
    border-color: var(--mustard);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.timeline-title {
    margin-top: 0.45rem;
    font-size: 0.96rem;
    color: var(--ink);
}

.timeline-text {
    margin-top: 0.33rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

/* Evidence checklist */
.evidence-list {
    margin-top: 0.7rem;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.evidence-list li {
    border-radius: var(--r-sm);
    border: 1px solid rgba(6, 214, 160, 0.12);
    background: rgba(6, 214, 160, 0.04);
    backdrop-filter: blur(4px);
    padding: 0.6rem 0.7rem 0.6rem 2rem;
    color: var(--ink-soft);
    font-size: 0.89rem;
    position: relative;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.evidence-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    position: absolute;
    left: 0.82rem;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 5px rgba(14, 143, 134, 0.12);
    transition: all 250ms ease;
}

.evidence-list li:hover {
    transform: translateX(6px);
    border-color: rgba(13, 143, 134, 0.3);
    background: rgba(237, 248, 247, 0.95);
}

.evidence-list li:hover::before {
    box-shadow: 0 0 0 8px rgba(14, 143, 134, 0.18);
    transform: translateY(-50%) scale(1.3);
}

/* Board (case list) */
.board-header {
    display: grid;
    gap: 0.68rem;
}

.board-headline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.control-grid {
    display: grid;
    gap: 0.56rem;
}

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

.field-wrap {
    display: grid;
    gap: 0.32rem;
}

.field-label {
    font-size: 0.74rem;
    color: #66788b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.field {
    width: 100%;
    min-height: 40px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(200, 215, 232, 0.8);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: #1c2f42;
    padding: 0 0.72rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.field:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 143, 134, 0.15), 0 4px 20px rgba(13, 143, 134, 0.08);
    background: #fff;
}

.field-search {
    border-radius: 999px;
    min-height: 44px;
    background: rgba(255, 253, 249, 0.9);
    padding-left: 1.1rem;
    font-size: 0.92rem;
}

.field-search::placeholder {
    color: #8a97a4;
}

/* Case cards */
.case-grid {
    margin-top: 0.78rem;
    display: grid;
    gap: 0.54rem;
}

.case-card {
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    padding: 1rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0px;
    height: 100%;
    background: linear-gradient(180deg, var(--teal), var(--navy));
    transition: width 350ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--r-md) 0 0 var(--r-md);
}

.case-card:hover::before {
    width: 4px;
}

.case-card:hover {
    transform: translateY(-3px) translateX(2px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), var(--shadow-glow-teal);
    border-color: rgba(6, 214, 160, 0.2);
    background: rgba(6, 214, 160, 0.04);
}

.case-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.6rem;
}

.case-title {
    color: var(--ink);
    font-size: 1.02rem;
    transition: color 200ms ease;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
}

.case-card:hover .case-title {
    color: var(--teal);
}

.case-ruc {
    margin-left: 0.58rem;
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-weight: 500;
    display: inline-block;
}

.case-tags {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.36rem;
    flex-shrink: 0;
}

.tag {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink-soft);
    min-height: 22px;
    padding: 0 0.6rem;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    transition: all 200ms ease;
}

.tag-archivado {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.08);
    color: var(--warn);
}

.tag-cerrado {
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.08);
    color: var(--danger);
}

.tag-resuelto {
    border-color: rgba(6, 214, 160, 0.3);
    background: rgba(6, 214, 160, 0.08);
    color: var(--ok);
}

.tag-gobierno {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.08);
    color: #22d3ee;
}

.tag-usuario {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
}

.case-line {
    margin-top: 0.44rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.case-line strong {
    color: var(--ink);
}

.case-note {
    margin-top: 0.55rem;
    color: rgba(139, 163, 188, 0.7);
    font-size: 0.84rem;
    font-style: italic;
}

.notice {
    margin-top: 0.78rem;
    border-radius: var(--r-sm);
    border: 1px dashed rgba(200, 213, 228, 0.8);
    background: rgba(248, 251, 255, 0.8);
    color: #52667b;
    padding: 0.72rem;
    backdrop-filter: blur(4px);
}

.notice-error {
    border-color: rgba(221, 169, 164, 0.8);
    background: rgba(255, 242, 241, 0.85);
    color: #8c3b35;
}

/* Pagination */
.pagination {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-page-nav,
.btn-page-num {
    min-width: 32px;
    height: 32px;
    padding: 0 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 200ms ease;
}

.btn-page-nav {
    font-size: 1rem;
    font-weight: bold;
}

.btn-page-num.is-active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
}

.btn-page-nav:hover:not(:disabled),
.btn-page-num:hover:not(.is-active) {
    background: rgba(6, 214, 160, 0.1);
    border-color: var(--teal);
    color: var(--teal);
}

.btn-page-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-dots {
    color: var(--ink-soft);
    font-size: 0.85rem;
    padding: 0 0.2rem;
    opacity: 0.5;
}

/* Status panel */
.status-stack {
    margin-top: 0.7rem;
    display: grid;
    gap: 0.45rem;
}

.status-row {
    min-height: 52px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.8rem;
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.status-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--r-sm);
}

.status-archivado .status-row::before,
.status-archivado::before {
    background: rgba(154, 106, 21, 0.05);
}

.status-cerrado .status-row::before,
.status-cerrado::before {
    background: rgba(182, 72, 66, 0.05);
}

.status-resuelto .status-row::before,
.status-resuelto::before {
    background: rgba(27, 127, 93, 0.05);
}

.status-row:hover::before {
    width: 100%;
}

.status-row:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.06);
}

.status-label {
    color: var(--ink-soft);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.status-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.status-archivado .status-value {
    color: var(--warn);
}

.status-cerrado .status-value {
    color: var(--danger);
}

.status-resuelto .status-value {
    color: var(--ok);
}

/* Legal panel */
.legal-list {
    margin-top: 0.68rem;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.48rem;
}

.legal-list li {
    border-radius: var(--r-sm);
    border: 1px solid rgba(217, 215, 210, 0.7);
    background: rgba(252, 251, 248, 0.85);
    padding: 0.56rem 0.62rem 0.56rem 1.6rem;
    color: #54697e;
    font-size: 0.86rem;
    transition: all 250ms ease;
    position: relative;
}

.legal-list li::before {
    content: "\00A7";
    position: absolute;
    left: 0.6rem;
    top: 0.52rem;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.4;
    transition: opacity 200ms ease;
}

.legal-list li:hover {
    transform: translateX(4px);
    border-color: rgba(23, 58, 99, 0.2);
}

.legal-list li:hover::before {
    opacity: 0.8;
}

.contact-card {
    margin-top: 0.72rem;
    border-radius: var(--r-sm);
    border: 1px solid rgba(212, 220, 235, 0.7);
    background: linear-gradient(135deg, rgba(245, 249, 255, 0.85) 0%, rgba(240, 245, 255, 0.8) 100%);
    backdrop-filter: blur(4px);
    padding: 0.72rem;
    transition: all 250ms ease;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(23, 58, 99, 0.08);
    transform: translateY(-2px);
}

.contact-line {
    color: #3d5671;
    font-size: 0.84rem;
}

.contact-line+.contact-line {
    margin-top: 0.34rem;
}

/* FAQ */
.faq-list {
    margin-top: 0.65rem;
    display: grid;
    gap: 0.42rem;
}

.faq-item {
    border-radius: var(--r-sm);
    border: 1px solid rgba(214, 220, 232, 0.7);
    background: rgba(251, 253, 255, 0.85);
    backdrop-filter: blur(4px);
    overflow: hidden;
    transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-active {
    border-color: rgba(13, 143, 134, 0.3);
    background: rgba(248, 252, 255, 0.95);
    box-shadow: 0 8px 28px rgba(23, 58, 99, 0.08), var(--shadow-glow-teal);
}

.faq-button {
    width: 100%;
    border: 0;
    background: transparent;
    min-height: 44px;
    padding: 0.58rem 0.72rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: #2a435b;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 200ms ease;
}

.faq-button:hover {
    background: rgba(237, 245, 255, 0.6);
}

.faq-symbol {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(195, 212, 231, 0.7);
    background: rgba(230, 239, 250, 0.6);
    color: #4b6886;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.is-active .faq-symbol {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    transform: rotate(180deg);
    box-shadow: 0 0 12px rgba(13, 143, 134, 0.3);
}

.faq-answer {
    border-top: 1px solid rgba(216, 226, 239, 0.6);
    padding: 0.65rem 0.72rem 0.78rem;
    color: #5c7084;
    font-size: 0.87rem;
    animation: faqReveal 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes faqReveal {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 1.1rem;
    background: rgba(8, 13, 20, 0.8);
    backdrop-filter: blur(16px);
}

.footer-inner {
    width: min(1260px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.2rem 0 1.8rem;
    color: var(--ink-soft);
    font-size: 0.82rem;
    display: grid;
    gap: 0.22rem;
}

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--navy), var(--coral));
    z-index: 100;
    transform-origin: left;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 16px rgba(6, 214, 160, 0.6);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, rgba(215, 206, 191, 0.3) 0%, rgba(230, 220, 205, 0.5) 40%, rgba(215, 206, 191, 0.3) 60%);
    background-size: 300% 100%;
    animation: skeletonShimmer 1.8s ease-in-out infinite;
    border-radius: var(--r-sm);
    min-height: 80px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* ── Page transitions ────────────────────────────────── */

.page-enter {
    animation: pageIn 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Legal / Document pages (Nintendo-style) ─────────── */

.doc-page {
    width: min(780px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.4rem 0 3rem;
    position: relative;
    z-index: 1;
}

.doc-hero {
    border-radius: var(--r-xl);
    border: 1px solid rgba(217, 208, 195, 0.7);
    background: linear-gradient(125deg,
            rgba(255, 253, 250, 0.95) 0%,
            rgba(255, 246, 238, 0.9) 40%,
            rgba(248, 251, 255, 0.92) 100%);
    backdrop-filter: blur(10px);
    padding: clamp(1.6rem, 3.5vw, 2.8rem);
    box-shadow: var(--shadow-b), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    margin-bottom: 1.2rem;
    animation: heroEnter 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    overflow: hidden;
}

.doc-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 143, 134, 0.10), transparent 65%);
}

.doc-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(210, 79, 69, 0.06), transparent 65%);
}

.doc-title {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    color: #142433;
    background: linear-gradient(135deg, #142433 0%, #173a63 60%, #0d8f86 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.doc-subtitle {
    margin-top: 0.5rem;
    color: #4c5f72;
    font-size: 0.94rem;
    max-width: 60ch;
    position: relative;
    z-index: 1;
}

.doc-meta {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}

/* Document body — clean legal prose */
.doc-body {
    border-radius: var(--r-lg);
    border: 1px solid rgba(217, 206, 191, 0.65);
    background: var(--paper-glass);
    backdrop-filter: blur(12px);
    padding: clamp(1.4rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-a), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Table of contents */
.doc-toc {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(210, 198, 180, 0.45);
}

.doc-toc-title {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7b6f63;
    margin-bottom: 0.5rem;
}

.doc-toc-list {
    display: grid;
    gap: 0.2rem;
    counter-reset: toc;
}

.doc-toc-item {
    counter-increment: toc;
    color: #3a5775;
    font-size: 0.88rem;
    padding: 0.25rem 0;
    cursor: default;
    transition: color 200ms ease;
}

.doc-toc-item::before {
    content: counter(toc) ". ";
    color: #9aafbf;
    font-weight: 600;
    font-size: 0.82rem;
}

/* Legal article / section (no bullets!) */
.legal-article {
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(210, 198, 180, 0.35);
}

.legal-article:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-article-number {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9aafbf;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.legal-article-title {
    font-size: 1.12rem;
    color: #182635;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-paragraph {
    color: #3d5166;
    font-size: 0.9rem;
    line-height: 1.75;
    text-align: justify;
    hyphens: auto;
}

.legal-paragraph+.legal-paragraph {
    margin-top: 0.6rem;
}

.legal-paragraph strong {
    color: #1c2f42;
    font-weight: 600;
}

.legal-emphasis {
    color: #1c2f42;
    font-style: italic;
}

/* Legal table (clean, institutional) */
.legal-table-wrap {
    margin: 0.8rem 0;
    border-radius: var(--r-md);
    border: 1px solid rgba(210, 198, 180, 0.5);
    overflow: hidden;
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.legal-table th {
    background: rgba(23, 58, 99, 0.06);
    color: #182635;
    font-weight: 600;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-bottom: 2px solid rgba(23, 58, 99, 0.1);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.legal-table td {
    padding: 0.65rem 0.85rem;
    color: #3d5166;
    border-bottom: 1px solid rgba(210, 198, 180, 0.3);
    vertical-align: top;
    line-height: 1.55;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover td {
    background: rgba(237, 248, 247, 0.35);
}

/* Divider line inside legal docs */
.legal-divider {
    border: none;
    height: 1px;
    background: rgba(210, 198, 180, 0.45);
    margin: 0.8rem 0;
}

/* ── Submission / Enviar reclamo ──────────────────────── */

.submit-page {
    width: min(780px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.4rem 0 3rem;
    position: relative;
    z-index: 1;
}

.submit-steps {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.submit-step {
    border-radius: var(--r-lg);
    border: 1px solid rgba(217, 206, 191, 0.65);
    background: var(--paper-glass);
    backdrop-filter: blur(12px);
    padding: 1.2rem;
    box-shadow: var(--shadow-a), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-step:hover {
    box-shadow: 0 12px 40px rgba(23, 33, 43, 0.08);
}

.submit-step-number {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    box-shadow: 0 4px 12px rgba(23, 58, 99, 0.2);
}

.submit-step-title {
    font-size: 1.05rem;
    color: #182635;
    margin-bottom: 0.4rem;
}

.submit-step-text {
    color: #4c5f72;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Email input */
.submit-email-wrap {
    margin-top: 0.7rem;
    display: grid;
    gap: 0.35rem;
}

.submit-email-input {
    width: 100%;
    min-height: 46px;
    border-radius: var(--r-md);
    border: 1px solid rgba(200, 215, 232, 0.8);
    background: rgba(255, 255, 255, 0.9);
    color: #1c2f42;
    padding: 0 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-email-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 143, 134, 0.15), 0 4px 20px rgba(13, 143, 134, 0.08);
}

.submit-email-input::placeholder {
    color: #8a97a4;
}

/* Legal acceptance block in submit */
.submit-legal {
    margin-top: 1rem;
    border-radius: var(--r-lg);
    border: 1px solid rgba(210, 198, 180, 0.5);
    background: rgba(252, 251, 248, 0.8);
    backdrop-filter: blur(6px);
    max-height: 280px;
    overflow-y: auto;
    padding: 1.1rem;
    font-size: 0.84rem;
    color: #3d5166;
    line-height: 1.65;
}

.submit-legal::-webkit-scrollbar {
    width: 6px;
}

.submit-legal::-webkit-scrollbar-track {
    background: transparent;
}

.submit-legal::-webkit-scrollbar-thumb {
    background: rgba(210, 198, 180, 0.5);
    border-radius: 3px;
}

.submit-legal-title {
    font-size: 0.96rem;
    color: #182635;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.submit-legal p {
    margin-top: 0.45rem;
}

/* Reveal address block */
.submit-reveal {
    margin-top: 1rem;
    border-radius: var(--r-lg);
    border: 2px solid rgba(13, 143, 134, 0.3);
    background: linear-gradient(135deg, rgba(237, 248, 247, 0.8), rgba(248, 251, 255, 0.85));
    backdrop-filter: blur(8px);
    padding: 1.2rem;
    animation: pageIn 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
    box-shadow: var(--shadow-glow-teal);
}

.submit-reveal-title {
    font-size: 1.05rem;
    color: #182635;
    margin-bottom: 0.5rem;
}

.submit-reveal-email {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(13, 143, 134, 0.2);
    border-radius: var(--r-sm);
    padding: 0.5rem 1rem;
    margin: 0.4rem 0;
    letter-spacing: 0.01em;
    user-select: all;
}

.submit-reveal-note {
    color: #5a6e82;
    font-size: 0.84rem;
    margin-top: 0.4rem;
}

/* ── Informacion Publica section ─────────────────────── */

.info-publica-card {
    margin-top: 0.8rem;
    border-radius: var(--r-lg);
    border: 1px dashed rgba(179, 128, 22, 0.35);
    background: linear-gradient(135deg, rgba(247, 237, 212, 0.5), rgba(255, 253, 248, 0.6));
    backdrop-filter: blur(6px);
    padding: 1.2rem;
    text-align: center;
}

.info-publica-icon {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.info-publica-title {
    font-size: 1.02rem;
    color: #182635;
    margin-bottom: 0.35rem;
}

.info-publica-text {
    color: #5a6e82;
    font-size: 0.88rem;
    max-width: 50ch;
    margin: 0 auto;
}

/* ── Public data badge ───────────────────────────────── */

.public-data-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--navy);
    background: rgba(230, 239, 250, 0.7);
    border: 1px solid rgba(23, 58, 99, 0.15);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}

/* ── Consent components ──────────────────────────────── */

.consent-block {
    margin-top: 1.2rem;
    border-radius: var(--r-lg);
    border: 2px solid rgba(13, 143, 134, 0.25);
    background: linear-gradient(135deg,
            rgba(237, 248, 247, 0.7) 0%,
            rgba(248, 251, 255, 0.8) 100%);
    backdrop-filter: blur(8px);
    padding: 1.3rem;
    box-shadow: var(--shadow-glow-teal);
}

.consent-title {
    font-size: 1.1rem;
    color: #182635;
    margin-bottom: 0.6rem;
}

.consent-text {
    font-size: 0.88rem;
    color: #4c5f72;
    line-height: 1.65;
    margin-bottom: 0.8rem;
}

.consent-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 0.55rem;
    cursor: pointer;
}

.consent-checkbox {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 6px;
    border: 2px solid rgba(13, 143, 134, 0.4);
    background: rgba(255, 255, 255, 0.9);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.consent-checkbox:checked {
    background: var(--teal);
    border-color: var(--teal);
    box-shadow: 0 0 12px rgba(13, 143, 134, 0.3);
}

.consent-checkbox:checked::after {
    content: "\2713";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.consent-checkbox:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.consent-checkbox-label {
    font-size: 0.88rem;
    color: #33495f;
    line-height: 1.5;
    user-select: none;
}

.consent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.8rem;
    border-radius: 999px;
    border: none;
    font-family: var(--font-display);
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
}

.consent-btn--primary {
    background: linear-gradient(135deg, var(--teal) 0%, #0a7a72 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(13, 143, 134, 0.25);
}

.consent-btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(13, 143, 134, 0.35);
}

.consent-btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.3);
}

.consent-btn--secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--navy);
    border: 1px solid rgba(200, 215, 232, 0.6);
    box-shadow: var(--shadow-a);
}

.consent-btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(23, 58, 99, 0.1);
    border-color: rgba(13, 143, 134, 0.3);
}

.consent-status {
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}

.consent-status--accepted {
    background: rgba(232, 247, 241, 0.85);
    border: 1px solid rgba(171, 213, 197, 0.7);
    color: var(--ok);
}

.consent-status--pending {
    background: rgba(252, 243, 222, 0.85);
    border: 1px solid rgba(228, 204, 153, 0.7);
    color: var(--warn);
}

/* ── Footer links ────────────────────────────────────── */

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    margin-top: 0.35rem;
}

.footer-links a {
    color: #5a6e82;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 200ms ease;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--teal);
    border-bottom-color: rgba(13, 143, 134, 0.3);
}

/* ── Nav active state ─────────────────────────────────── */

.top-nav a.nav-active {
    border-color: rgba(6, 214, 160, 0.35);
    background: rgba(6, 214, 160, 0.08);
    color: var(--teal);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(6, 214, 160, 0.1);
}

/* ── Consent banner (bottom bar) ──────────────────────── */

.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(8, 13, 20, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
    padding: 0.9rem 1rem;
    animation: bannerSlideUp 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bannerSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.consent-banner-inner {
    width: min(1260px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.consent-banner-text {
    color: var(--ink-soft);
    font-size: 0.86rem;
    flex: 1;
    min-width: 240px;
}

.consent-banner-text a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.consent-banner-actions .consent-btn {
    margin-top: 0;
    min-height: 38px;
    padding: 0 1.2rem;
    font-size: 0.86rem;
}

/* ── Back link ────────────────────────────────────────── */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #5a6e82;
    font-size: 0.86rem;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 200ms ease;
    border-radius: 999px;
    padding: 0.3rem 0.7rem 0.3rem 0.5rem;
}

.back-link:hover {
    color: var(--teal);
    background: rgba(237, 248, 247, 0.5);
}

/* Responsive */
@media (max-width: 1140px) {
    .hero-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .column-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .column-aside .panel:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 840px) {

    .principles-grid,
    .timeline-grid,
    .select-grid,
    .column-aside {
        grid-template-columns: 1fr;
    }

    .hero-title {
        max-width: none;
    }
}

@media (max-width: 640px) {

    .topbar-inner,
    .site-main,
    .footer-inner {
        width: calc(100% - 1rem);
    }

    .top-nav a {
        min-height: 30px;
        padding: 0 0.55rem;
        font-size: 0.76rem;
    }

    .hero {
        border-radius: var(--r-lg);
    }

    .hero-kpis {
        grid-template-columns: 1fr;
    }

    .panel {
        border-radius: var(--r-md);
        padding: 0.78rem;
    }

    .case-header {
        flex-direction: column;
    }

    .case-ruc {
        margin-left: 0;
        margin-top: 0.15rem;
    }

    .ambient-orb {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .ambient-orb,
    .hero-particles,
    .scroll-progress {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   CONVERSION CONTENT LAYER — REACT UI ONLY
   ═══════════════════════════════════════════════════════════ */

.agency-shell .hero-trust-note {
    position: relative;
    z-index: 2;
    max-width: 58ch;
    margin: 0.7rem auto 0;
    color: rgba(236, 255, 249, 0.72);
    font-size: 0.76rem;
    line-height: 1.55;
}

.agency-shell .section-kicker {
    margin: 0 0 0.72rem;
    color: rgba(221, 255, 246, 0.72);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
}

.agency-shell .conversion-paths,
.agency-shell .signature-offers {
    margin-top: 2rem;
}

.agency-shell .conversion-paths-intro,
.agency-shell .signature-offers-intro {
    max-width: 700px;
    margin: 0 auto 1.25rem;
    text-align: center;
}

.agency-shell .conversion-paths-intro .panel-title,
.agency-shell .signature-offers-intro .panel-title {
    font-size: clamp(2.4rem, 4.2vw, 3.75rem);
}

.agency-shell .conversion-paths-intro .panel-subtitle,
.agency-shell .signature-offers-intro .panel-subtitle {
    margin-inline: auto;
}

.agency-shell .conversion-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.agency-shell .conversion-path-card {
    position: relative;
    isolation: isolate;
    min-height: 370px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    padding: clamp(1.45rem, 3.5vw, 2.35rem);
    background: linear-gradient(140deg, rgba(9, 11, 15, 0.62), rgba(15, 18, 24, 0.34));
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    transition: transform 380ms var(--agency-ease), border-color 380ms var(--agency-ease), box-shadow 380ms var(--agency-ease), background 380ms var(--agency-ease);
}

.agency-shell .conversion-path-card::before {
    position: absolute;
    z-index: -1;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    content: "";
    filter: blur(5px);
    opacity: 0.75;
    transition: transform 600ms var(--agency-ease), opacity 380ms var(--agency-ease);
}

.agency-shell .conversion-path-card--career::before {
    top: -120px;
    right: -95px;
    background: radial-gradient(circle, rgba(159, 204, 255, 0.25), transparent 67%);
}

.agency-shell .conversion-path-card--academic::before {
    right: -105px;
    bottom: -130px;
    background: radial-gradient(circle, rgba(180, 246, 223, 0.23), transparent 67%);
}

.agency-shell .conversion-path-card:hover {
    border-color: rgba(239, 255, 250, 0.31);
    background: linear-gradient(140deg, rgba(19, 23, 30, 0.68), rgba(24, 29, 35, 0.43));
    box-shadow: 0 30px 67px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.11);
    transform: translateY(-5px);
}

.agency-shell .conversion-path-card:hover::before {
    opacity: 1;
    transform: scale(1.16);
}

.agency-shell .conversion-path-number {
    display: block;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.25);
    font-family: var(--font-editorial);
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    font-weight: 600;
    line-height: 0.6;
    letter-spacing: -0.06em;
}

.agency-shell .conversion-path-eyebrow,
.agency-shell .signature-offer-eyebrow,
.agency-shell .ethical-scope-label {
    margin: 0;
    color: rgba(228, 255, 248, 0.7);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
}

.agency-shell .conversion-path-card h3,
.agency-shell .signature-offer h3,
.agency-shell .ethical-scope-card h3 {
    margin: 0.9rem 0 0;
    color: #f8f7f1;
    font-family: var(--font-editorial);
    font-size: clamp(2rem, 3vw, 2.85rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

.agency-shell .conversion-path-card > p:not(.conversion-path-eyebrow) {
    max-width: 44ch;
    margin: 1rem 0 0;
    color: var(--agency-muted);
    font-size: 0.91rem;
    line-height: 1.6;
}

.agency-shell .conversion-path-list,
.agency-shell .signature-offer-list,
.agency-shell .ethical-scope-card ul {
    display: grid;
    gap: 0.48rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.agency-shell .conversion-path-list li,
.agency-shell .signature-offer-list li,
.agency-shell .ethical-scope-card li {
    position: relative;
    padding-left: 1.05rem;
    color: rgba(245, 247, 246, 0.78);
    font-size: 0.78rem;
    line-height: 1.45;
}

.agency-shell .conversion-path-list li::before,
.agency-shell .signature-offer-list li::before,
.agency-shell .ethical-scope-card li::before {
    position: absolute;
    top: 0.47rem;
    left: 0;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: #dffef4;
    box-shadow: 0 0 10px rgba(220, 255, 246, 0.55);
    content: "";
}

.agency-shell .conversion-path-cta,
.agency-shell .signature-offer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.73rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 240ms var(--agency-ease), background 240ms var(--agency-ease), border-color 240ms var(--agency-ease), box-shadow 240ms var(--agency-ease);
}

.agency-shell .conversion-path-cta:hover,
.agency-shell .signature-offer-cta:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: #f8f7f1;
    box-shadow: 0 11px 28px rgba(0, 0, 0, 0.21);
    color: #111216;
    transform: translateY(-2px);
}

.agency-shell .signature-offers {
    padding: clamp(1.45rem, 3.5vw, 2.8rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(9, 11, 15, 0.52), rgba(15, 18, 22, 0.25));
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.agency-shell .signature-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.78rem;
}

.agency-shell .signature-offer {
    display: flex;
    flex-direction: column;
    min-height: 365px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.3rem;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 330ms var(--agency-ease), background 330ms var(--agency-ease), border-color 330ms var(--agency-ease), box-shadow 330ms var(--agency-ease);
}

.agency-shell .signature-offer:hover {
    border-color: rgba(237, 255, 249, 0.34);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 19px 39px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transform: translateY(-4px);
}

.agency-shell .signature-offer--academic {
    border-color: rgba(201, 247, 230, 0.22);
    background: linear-gradient(145deg, rgba(210, 255, 239, 0.1), rgba(255, 255, 255, 0.035));
}

.agency-shell .signature-offer h3 {
    font-size: clamp(1.8rem, 2.6vw, 2.45rem);
}

.agency-shell .signature-offer-price {
    margin: 1rem 0 0;
    color: #f8f7f1;
    font-family: var(--font-editorial);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.agency-shell .signature-offer-text {
    min-height: 4.7em;
    margin: 0.9rem 0 0;
    color: var(--agency-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.agency-shell .signature-offer .signature-offer-cta {
    margin-top: auto;
}

.agency-shell .signature-offer-note {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
    line-height: 1.45;
}

.agency-shell .catalog-empty {
    grid-column: 1 / -1;
    margin: 0;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
    color: var(--agency-muted);
    text-align: center;
}

.agency-shell .service-card-confidence {
    margin: 1rem 0 0;
    color: rgba(222, 255, 248, 0.62);
    font-size: 0.66rem;
    line-height: 1.45;
}

.agency-shell .sales-estimator .panel-title {
    max-width: 20ch;
}

.agency-shell .sales-estimator .calc-result-badge {
    margin-bottom: 0.75rem;
}

.agency-shell .sales-estimator .calc-addon-item {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.agency-shell .sales-estimator .calc-addon-item:focus-visible {
    outline: 2px solid rgba(235, 255, 249, 0.95);
    outline-offset: 3px;
}

.agency-shell .calc-addons-empty {
    margin: 0;
    border: 1px dashed rgba(255, 255, 255, 0.17);
    border-radius: 12px;
    padding: 0.9rem;
    color: var(--agency-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.agency-shell .ethical-scope {
    overflow: hidden;
}

.agency-shell .ethical-scope-intro {
    max-width: 690px;
}

.agency-shell .ethical-scope-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.agency-shell .ethical-scope-card {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    padding: clamp(1.2rem, 2.7vw, 1.8rem);
    background: rgba(255, 255, 255, 0.045);
}

.agency-shell .ethical-scope-card--yes {
    border-color: rgba(209, 253, 236, 0.25);
    background: linear-gradient(145deg, rgba(187, 250, 224, 0.11), rgba(255, 255, 255, 0.035));
}

.agency-shell .ethical-scope-card--no {
    border-color: rgba(255, 223, 214, 0.18);
    background: linear-gradient(145deg, rgba(255, 210, 199, 0.075), rgba(255, 255, 255, 0.025));
}

.agency-shell .ethical-scope-card h3 {
    max-width: 15ch;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.agency-shell .ethical-scope-card--no li::before {
    background: rgba(255, 205, 194, 0.9);
    box-shadow: 0 0 10px rgba(255, 205, 194, 0.32);
}

.agency-shell .ethical-scope-note {
    max-width: 76ch;
    margin: 1.3rem 0 0;
    color: var(--agency-muted);
    font-size: 0.83rem;
    line-height: 1.65;
}

.agency-shell .contact-cta {
    text-align: center;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.15rem, 4vw, 3rem);
}

.agency-shell .contact-cta .panel-title,
.agency-shell .contact-cta .panel-subtitle {
    max-width: 20ch;
    margin-inline: auto;
}

.agency-shell .contact-cta .panel-subtitle {
    margin-top: 1rem;
    max-width: 62ch;
}

.agency-shell .contact-cta-checks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 1.1rem;
    margin: 1.6rem 0 1.8rem;
}

.agency-shell .contact-cta-checks span {
    color: rgba(241, 255, 250, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
}

.agency-shell .contact-cta-action .whatsapp-direct-btn {
    min-height: 48px;
    padding-inline: 1.4rem;
    font-size: 0.8rem;
}

.agency-shell .contact-cta-note {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
}

@media (max-width: 860px) {
    .agency-shell .signature-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agency-shell .signature-offer:last-child {
        grid-column: 1 / -1;
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .agency-shell .conversion-path-grid,
    .agency-shell .signature-offers-grid,
    .agency-shell .ethical-scope-grid {
        grid-template-columns: 1fr;
    }

    .agency-shell .conversion-path-card {
        min-height: auto;
    }

    .agency-shell .signature-offer:last-child {
        grid-column: auto;
    }

    .agency-shell .signature-offer-text {
        min-height: 0;
    }

    .agency-shell .conversion-paths-intro,
    .agency-shell .signature-offers-intro {
        text-align: left;
    }

    .agency-shell .conversion-paths-intro .panel-subtitle,
    .agency-shell .signature-offers-intro .panel-subtitle {
        margin-inline: 0;
    }
}

/* == Animated 3D Icons == */
.animated-icon-float {
    animation: float-icon 6s ease-in-out infinite;
    perspective: 1000px;
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(1.5);
    transition: opacity 0.3s ease;
    transform: translateZ(-20px);
}

@keyframes float-icon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* == SVG Logo Animations == */
.logo-scale-beam {
    animation: scaleTilt 6s ease-in-out infinite;
}

.logo-plate-left,
.logo-plate-right {
    animation: plateCounter 6s ease-in-out infinite;
}

.logo-shield-bg {
    animation: shieldBreathe 4s ease-in-out infinite alternate;
}

.logo-doc-1 {
    animation: docHover 3s ease-in-out infinite alternate;
}

@keyframes scaleTilt {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes plateCounter {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(8deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes shieldBreathe {
    0% {
        filter: drop-shadow(0 0 5px rgba(6, 214, 160, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6));
    }
}

@keyframes docHover {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-3px);
    }
}

/* ── Submit: plantilla de correo estructurado ─────────── */

.submit-template-block {
    margin-top: 1rem;
    border-radius: var(--r-md);
    border: 1px dashed rgba(13, 143, 134, 0.35);
    background: rgba(237, 248, 247, 0.45);
    padding: 1rem;
}

.submit-template-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #182635;
    margin-bottom: 0.5rem;
}

.submit-template-code {
    background: rgba(15, 23, 35, 0.88);
    color: #a8d5c2;
    border-radius: var(--r-sm);
    padding: 0.85rem 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    border: 1px solid rgba(13, 143, 134, 0.2);
    user-select: all;
}

.submit-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(13, 143, 134, 0.35);
    background: rgba(255, 255, 255, 0.85);
    color: var(--teal);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
}

.ticket-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.ticket-label {
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.ticket-code {
    font-family: 'NBArchitekt', monospace;
    font-size: 1.8rem;
    color: #00ffa3;
    margin: 0.5rem 0;
    text-shadow: 0 0 15px rgba(0, 255, 163, 0.4);
}

.ticket-timestamp {
    font-size: 0.75rem;
    color: #555;
}

.submit-btn-primary {
    background: #00ffa3;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-family: inherit;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.submit-btn-primary:hover:not(:disabled) {
    background: #00d185;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 163, 0.2);
}

.submit-email-image-wrap {
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.submit-email-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(0, 255, 163, 0.2));
}

.submit-copy-btn:hover {
    background: rgba(237, 248, 247, 0.9);
    border-color: var(--teal);
    box-shadow: 0 4px 14px rgba(13, 143, 134, 0.15);
}

/* ═══════════════════════════════════════════════════════════
   ACADEMIC & CAREER STUDIO - EXTENDED STYLES
   ═══════════════════════════════════════════════════════════ */

/* Glassmorphism enhancement to reveal 3D WebGL background */
.hero,
.panel {
    background: linear-gradient(135deg,
            rgba(13, 21, 35, 0.82) 0%,
            rgba(17, 28, 48, 0.78) 50%,
            rgba(11, 18, 32, 0.85) 100%) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.2rem 0;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ink-soft);
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-tab:hover {
    border-color: rgba(6, 214, 160, 0.3);
    color: var(--ink);
    background: rgba(6, 214, 160, 0.08);
    transform: translateY(-1px);
}

.filter-tab.is-active {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.18), rgba(59, 130, 246, 0.18));
    border-color: var(--teal);
    color: #00ffa3;
    box-shadow: 0 0 20px rgba(6, 214, 160, 0.2);
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.service-card {
    position: relative;
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-md);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 214, 160, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 214, 160, 0.12);
}

.service-card.is-featured {
    border-color: rgba(6, 214, 160, 0.4);
    background: linear-gradient(160deg, rgba(17, 24, 39, 0.85) 0%, rgba(6, 214, 160, 0.06) 100%);
}

.service-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(6, 214, 160, 0.15);
    border: 1px solid rgba(6, 214, 160, 0.3);
    color: #00ffa3;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-card-header {
    margin-bottom: 0.8rem;
}

.service-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(6, 214, 160, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 0 15px rgba(6, 214, 160, 0.15);
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

.service-card-sub {
    font-size: 0.82rem;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 0.65rem;
}

.service-card-desc {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.service-deliverables-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-deliverables {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.service-deliverables li {
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    line-height: 1.4;
}

.service-deliverables li::before {
    content: "✓";
    color: var(--teal);
    font-weight: bold;
}

.service-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.service-price-block {
    display: flex;
    flex-direction: column;
}

.service-price-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
}

.service-price-sub {
    font-size: 0.75rem;
    color: var(--ink-soft);
}

.service-btn-cta {
    background: linear-gradient(135deg, #00ffa3, #06b6d4);
    color: #031219;
    border: none;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.65rem 1.15rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 220ms ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.service-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 163, 0.35);
}

/* Real-Time Interactive Calculator */
.calc-card {
    background: rgba(13, 21, 35, 0.88);
    border: 1px solid rgba(6, 214, 160, 0.25);
    border-radius: var(--r-xl);
    padding: clamp(1.4rem, 3vw, 2.4rem);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(6, 214, 160, 0.1);
    margin: 1.8rem 0;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

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

.calc-step-title {
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.55rem;
    margin-bottom: 1.2rem;
}

.calc-option-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.75rem 0.65rem;
    color: var(--ink);
    font-size: 0.82rem;
    text-align: center;
    cursor: pointer;
    transition: all 200ms ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.calc-option-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(6, 214, 160, 0.3);
}

.calc-option-btn.is-selected {
    background: rgba(6, 214, 160, 0.14);
    border-color: var(--teal);
    color: #00ffa3;
    font-weight: 600;
    box-shadow: 0 0 16px rgba(6, 214, 160, 0.15);
}

.calc-addons-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
}

.calc-addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 200ms ease;
}

.calc-addon-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.calc-addon-item.is-checked {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.1);
}

.calc-addon-label {
    font-size: 0.84rem;
    color: var(--ink);
}

.calc-addon-price {
    font-size: 0.82rem;
    color: var(--teal);
    font-weight: 600;
}

/* Calculator Result Panel */
.calc-result-panel {
    background: rgba(10, 16, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.calc-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #00ffa3;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.calc-result-total {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-display);
    line-height: 1.05;
    margin: 0.4rem 0;
    text-shadow: 0 0 25px rgba(6, 214, 160, 0.3);
}

.calc-result-usd {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-bottom: 1.2rem;
}

.calc-breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.calc-breakdown-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    color: var(--ink-soft);
    margin-bottom: 0.45rem;
}

.calc-whatsapp-cta {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 1.4rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.calc-whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.4);
    color: #fff;
}

/* Interactive Before vs After */
.comparison-card {
    background: rgba(13, 21, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-xl);
    padding: clamp(1.4rem, 3vw, 2.2rem);
    backdrop-filter: blur(14px);
    margin: 1.8rem 0;
}

.comparison-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.2rem 0 1.8rem 0;
}

.comparison-toggle-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 200ms ease;
}

.comparison-toggle-btn.is-active {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--navy);
    color: #93c5fd;
    font-weight: 600;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

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

.comp-box {
    border-radius: var(--r-md);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
}

.comp-box--before {
    background: rgba(255, 107, 107, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.comp-box--after {
    background: rgba(6, 214, 160, 0.06);
    border: 1px solid rgba(6, 214, 160, 0.25);
    box-shadow: 0 0 25px rgba(6, 214, 160, 0.08);
}

.comp-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    width: fit-content;
}

.comp-badge--danger {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.comp-badge--success {
    background: rgba(6, 214, 160, 0.18);
    color: #00ffa3;
}

.comp-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.comp-desc {
    font-size: 0.86rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 0.8rem;
}

/* Guarantees Grid */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.guarantee-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-md);
    padding: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    transition: all 220ms ease;
}

.guarantee-card:hover {
    border-color: rgba(6, 214, 160, 0.25);
    transform: translateY(-2px);
    background: rgba(17, 24, 39, 0.85);
}

.guarantee-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.guarantee-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.guarantee-text {
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.45;
}

/* Diagnostic / Quote Express Form */
.diag-form-card {
    background: rgba(13, 21, 35, 0.85);
    border: 1px solid rgba(6, 214, 160, 0.2);
    border-radius: var(--r-xl);
    padding: clamp(1.4rem, 3.5vw, 2.5rem);
    backdrop-filter: blur(14px);
    margin-top: 1.5rem;
}

.diag-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .diag-grid-2 {
        grid-template-columns: 1fr;
    }
}

.diag-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.diag-field-wrap label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
}

.diag-input,
.diag-select,
.diag-textarea {
    background: rgba(10, 16, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    font-family: inherit;
    font-size: 0.88rem;
    transition: all 200ms ease;
    width: 100%;
}

.diag-input:focus,
.diag-select:focus,
.diag-textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 12px rgba(6, 214, 160, 0.25);
    background: rgba(10, 16, 26, 0.95);
}

.diag-btn-submit {
    background: linear-gradient(135deg, #00ffa3, #3b82f6);
    color: #031219;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.95rem 1.6rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 250ms ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.diag-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 163, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   SISTEMA DE SOLICITUD PRIVADA CON ALIAS & ENVÍO A CORREO
   ═══════════════════════════════════════════════════════════ */

.private-submit-card {
    background: linear-gradient(145deg,
            rgba(14, 23, 42, 0.88) 0%,
            rgba(10, 17, 30, 0.92) 50%,
            rgba(16, 28, 48, 0.86) 100%);
    border: 1px solid rgba(6, 214, 160, 0.35);
    border-radius: var(--r-xl);
    padding: clamp(1.4rem, 3.5vw, 2.6rem);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(6, 214, 160, 0.12);
    margin-top: 2rem;
    scroll-margin-top: 90px;
    position: relative;
    overflow: hidden;
}

.private-submit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffa3, #3b82f6, #06d6a0);
}

.privacy-banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(6, 214, 160, 0.12);
    border: 1px solid rgba(6, 214, 160, 0.3);
    color: #00ffa3;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}

.privacy-security-callout {
    background: rgba(6, 214, 160, 0.05);
    border: 1px dashed rgba(6, 214, 160, 0.25);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0 1.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.privacy-security-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.privacy-security-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #00ffa3;
    margin-bottom: 0.25rem;
}

.privacy-security-desc {
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
}

.submit-actions-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.btn-mail-action {
    background: linear-gradient(135deg, #00ffa3 0%, #06b6d4 100%);
    color: #031219;
    border: none;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 700;
    padding: 0.95rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-decoration: none;
    transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 255, 163, 0.3);
}

.btn-mail-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 255, 163, 0.45);
    color: #000;
}

.btn-mail-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.85rem 1.3rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 200ms ease;
}

.btn-mail-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(6, 214, 160, 0.4);
    color: #00ffa3;
}

.email-destination-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(6, 214, 160, 0.4);
    color: #a8d5c2;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.92rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    user-select: all;
}

/* Floating WhatsApp Direct Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    z-index: 99;
    background: #25D366;
    color: #ffffff;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5), 0 0 20px rgba(18, 140, 126, 0.35);
    cursor: pointer;
    text-decoration: none;
    transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
    animation: pulseWhatsApp 3s infinite;
}

.floating-whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.7);
    color: #fff;
}

.floating-whatsapp-btn svg {
    width: 34px;
    height: 34px;
    fill: #ffffff;
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-direct-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    border: none;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    padding: 1rem 1.6rem;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.whatsapp-direct-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.whatsapp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25D366;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════
   LIQUID GLASS AGENCY REFINEMENT — REACT UI ONLY
   The WebGL scene deliberately remains outside these selectors.
   ═══════════════════════════════════════════════════════════ */

.agency-shell {
    --agency-paper: rgba(6, 8, 12, 0.42);
    --agency-paper-strong: rgba(7, 9, 14, 0.64);
    --agency-line: rgba(255, 255, 255, 0.16);
    --agency-line-soft: rgba(255, 255, 255, 0.08);
    --agency-ink: #f8f7f2;
    --agency-muted: rgba(240, 242, 245, 0.68);
    --agency-accent: #d7f4ec;
    --agency-ease: cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--agency-ink);
}

.agency-shell .site-main {
    width: min(1180px, calc(100% - 2.25rem));
    padding: 1.5rem 0 5.5rem;
}

.agency-shell .agency-topbar {
    top: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-top: 1rem;
}

.agency-shell .agency-topbar.scrolled {
    box-shadow: none;
}

.agency-shell .agency-nav-shell {
    width: min(1180px, calc(100% - 2.25rem));
    min-height: 58px;
    padding: 0.42rem 0.55rem 0.42rem 0.72rem;
    border: 1px solid var(--agency-line-soft);
    border-radius: 999px;
    background: linear-gradient(112deg, rgba(8, 9, 12, 0.58), rgba(13, 15, 20, 0.27));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(17px) saturate(130%);
    -webkit-backdrop-filter: blur(17px) saturate(130%);
    transition: background 280ms var(--agency-ease), border-color 280ms var(--agency-ease), box-shadow 280ms var(--agency-ease);
}

.agency-shell .agency-topbar.scrolled .agency-nav-shell {
    border-color: var(--agency-line);
    background: rgba(8, 9, 12, 0.78);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.agency-shell .agency-brand {
    gap: 0.55rem;
    min-width: max-content;
}

.agency-shell .agency-brand-mark {
    filter: drop-shadow(0 5px 13px rgba(178, 232, 219, 0.18));
    transition: transform 300ms var(--agency-ease), filter 300ms var(--agency-ease);
}

.agency-shell .agency-brand:hover .agency-brand-mark {
    transform: rotate(-7deg) scale(1.06);
    filter: drop-shadow(0 8px 18px rgba(221, 250, 242, 0.34));
}

.agency-shell .brand-eyebrow {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.agency-shell .brand-name {
    margin-top: 0.04rem;
    background: none;
    color: var(--agency-ink);
    -webkit-text-fill-color: currentColor;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.agency-shell .agency-nav-links {
    align-items: center;
    gap: 0.08rem;
}

.agency-shell .agency-nav-links a {
    min-height: 36px;
    padding: 0 0.64rem;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    overflow: visible;
}

.agency-shell .agency-nav-links a::before {
    inset: 4px 1px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
}

.agency-shell .agency-nav-links a:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.agency-shell .agency-nav-links .agency-nav-cta {
    margin-left: 0.3rem;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: #f6f5ef !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
    color: #101114 !important;
    font-size: 0.72rem;
    font-weight: 700;
}

.agency-shell .agency-nav-links .agency-nav-cta::before {
    display: none;
}

.agency-shell .agency-nav-links .agency-nav-cta:hover {
    background: #ffffff !important;
    color: #0a0b0c !important;
    transform: translateY(-1px);
    box-shadow: 0 11px 26px rgba(0, 0, 0, 0.26);
}

.agency-shell .agency-hero {
    min-height: min(720px, calc(100svh - 88px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    background:
        linear-gradient(125deg, rgba(5, 7, 10, 0.58), rgba(9, 11, 15, 0.22) 52%, rgba(5, 7, 10, 0.5)) !important;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(7px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(7px) saturate(118%) !important;
    padding: clamp(5rem, 11vw, 8.6rem) clamp(1.3rem, 8vw, 8rem) clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.agency-shell .agency-hero::before {
    z-index: -1;
    top: auto;
    right: -16%;
    bottom: -46%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(185, 234, 225, 0.16), rgba(144, 145, 228, 0.07) 35%, transparent 68%);
    pointer-events: none;
}

.agency-shell .agency-hero::after {
    z-index: -1;
    top: -36%;
    left: -16%;
    bottom: auto;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(158, 180, 252, 0.13), transparent 64%);
    pointer-events: none;
}

.agency-shell .agency-hero .hero-head {
    z-index: 2;
    justify-content: center;
    gap: 0.42rem;
}

.agency-shell .agency-hero .chip {
    min-height: 27px;
    border-color: rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.73);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    padding: 0 0.78rem;
}

.agency-shell .agency-hero .chip-soft {
    border-color: rgba(219, 247, 239, 0.32);
    background: rgba(212, 247, 238, 0.11);
    color: #e1fff7;
}

.agency-shell .agency-hero .hero-title {
    max-width: 15.5ch;
    margin: 1.2rem auto 0;
    color: var(--agency-ink);
    background: none;
    -webkit-text-fill-color: currentColor;
    font-family: var(--font-editorial);
    font-size: clamp(3rem, 6.5vw, 6.2rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.86;
    text-wrap: balance;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.32);
}

.agency-shell .agency-hero .hero-title-accent {
    color: #f3f1e8;
    font-weight: 500;
    font-style: italic;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 32px rgba(0, 0, 0, 0.28);
}

.agency-shell .agency-hero .hero-lead {
    max-width: 61ch;
    margin: 1.35rem auto 0;
    color: var(--agency-muted);
    font-size: clamp(0.93rem, 1.22vw, 1.06rem);
    line-height: 1.65;
    text-wrap: balance;
}

.agency-shell .hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 1.75rem 0 2.7rem;
}

.agency-shell .agency-primary-cta,
.agency-shell .agency-secondary-cta,
.agency-shell .agency-text-cta {
    min-height: 44px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 260ms var(--agency-ease), background 260ms var(--agency-ease), border-color 260ms var(--agency-ease), color 260ms var(--agency-ease), box-shadow 260ms var(--agency-ease);
}

.agency-shell .agency-primary-cta {
    padding: 0 1.18rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: #f7f6f1;
    box-shadow: 0 13px 34px rgba(0, 0, 0, 0.25);
    color: #101114 !important;
}

.agency-shell .agency-primary-cta:hover {
    background: #fff;
    color: #090a0c !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.agency-shell .agency-secondary-cta {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    padding: 0 1.08rem;
    backdrop-filter: blur(10px);
}

.agency-shell .agency-secondary-cta:hover {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-2px);
}

.agency-shell .agency-text-cta {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.69);
    cursor: pointer;
    padding: 0 0.55rem;
}

.agency-shell .agency-text-cta:hover {
    color: #fff;
    transform: translateY(-1px);
}

.agency-shell .agency-hero .hero-kpis {
    width: min(780px, 100%);
    margin: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
}

.agency-shell .agency-hero .kpi {
    min-height: 106px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 1.1rem 0.8rem;
}

.agency-shell .agency-hero .kpi:last-child {
    border-right: 0;
}

.agency-shell .agency-hero .kpi:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transform: none;
}

.agency-shell .agency-hero .kpi-label,
.agency-shell .agency-hero .kpi-hint {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.61rem;
    letter-spacing: 0.12em;
}

.agency-shell .agency-hero .kpi-value,
.agency-shell .agency-hero .kpi:hover .kpi-value {
    color: #f9f8f4;
    font-family: var(--font-editorial);
    font-size: 2.05rem;
    font-weight: 600;
    line-height: 0.95;
}

.agency-shell .agency-hero .kpi-hint {
    margin-top: 0.38rem;
    font-family: var(--font-body);
    letter-spacing: 0;
    text-transform: none;
}

.agency-shell .panel,
.agency-shell .calc-card,
.agency-shell .comparison-card {
    border: 1px solid var(--agency-line-soft);
    border-radius: 28px;
    background: linear-gradient(136deg, rgba(8, 10, 14, 0.6), rgba(14, 16, 22, 0.31)) !important;
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(13px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(13px) saturate(118%) !important;
}

.agency-shell .panel {
    padding: clamp(1.45rem, 3.5vw, 3rem);
}

.agency-shell .panel::before {
    opacity: 1;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.055), transparent 34%, rgba(201, 233, 225, 0.035));
    pointer-events: none;
}

.agency-shell .panel:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 31px 75px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.agency-shell .panel-title {
    color: #f6f5f0;
    font-family: var(--font-editorial);
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.92;
    text-wrap: balance;
}

.agency-shell .panel-subtitle {
    max-width: 61ch;
    color: var(--agency-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.agency-shell #servicios .panel-title::before,
.agency-shell #comparador .panel-title::before,
.agency-shell #metodologia .panel-title::before,
.agency-shell #faq .panel-title::before {
    display: block;
    margin-bottom: 0.65rem;
    color: rgba(234, 255, 248, 0.7);
    font-family: var(--font-body);
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1;
}

.agency-shell #servicios .panel-title::before { content: "SERVICIOS"; }
.agency-shell #comparador .panel-title::before { content: "RESULTADOS"; }
.agency-shell #metodologia .panel-title::before { content: "EL PROCESO"; }
.agency-shell #faq .panel-title::before { content: "PREGUNTAS"; }

.agency-shell .field,
.agency-shell .filter-tab,
.agency-shell .comparison-toggle-btn,
.agency-shell .calc-option-btn {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.agency-shell .field {
    min-height: 42px;
    border-radius: 999px;
    color: #fff;
    padding-inline: 1rem;
}

.agency-shell .field:focus {
    border-color: rgba(227, 255, 248, 0.6);
    box-shadow: 0 0 0 4px rgba(216, 246, 238, 0.09);
}

.agency-shell .filter-tabs {
    gap: 0.42rem;
    margin: 1.6rem 0 1.5rem;
}

.agency-shell .filter-tab,
.agency-shell .comparison-toggle-btn {
    min-height: 38px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.agency-shell .filter-tab:hover,
.agency-shell .comparison-toggle-btn:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    transform: translateY(-1px);
}

.agency-shell .filter-tab.is-active,
.agency-shell .comparison-toggle-btn.is-active {
    border-color: rgba(245, 244, 238, 0.78);
    background: #f7f6f1;
    color: #151517;
    box-shadow: 0 8px 21px rgba(0, 0, 0, 0.16);
}

.agency-shell .services-grid {
    gap: 0.85rem;
}

.agency-shell .service-card,
.agency-shell .guarantee-card,
.agency-shell .timeline-step,
.agency-shell .principle-card,
.agency-shell .comp-box {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.agency-shell .service-card {
    border-radius: 20px;
    padding: 1.2rem;
    transition: transform 360ms var(--agency-ease), border-color 360ms var(--agency-ease), background 360ms var(--agency-ease), box-shadow 360ms var(--agency-ease);
}

.agency-shell .service-card::before {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.07), transparent 44%);
}

.agency-shell .service-card:hover {
    border-color: rgba(236, 253, 247, 0.34);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.agency-shell .service-card.is-featured {
    border-color: rgba(225, 255, 248, 0.3);
}

.agency-shell .service-card-badge,
.agency-shell .calc-result-badge,
.agency-shell .whatsapp-badge-pill {
    border-color: rgba(222, 255, 247, 0.32);
    background: rgba(217, 248, 239, 0.1);
    color: #e0fff6;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.agency-shell .service-card-icon {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.agency-shell .service-card-title,
.agency-shell .comp-title,
.agency-shell .timeline-title,
.agency-shell .guarantee-title,
.agency-shell .principle-title {
    color: #f7f6f1;
}

.agency-shell .service-card-sub,
.agency-shell .service-card-desc,
.agency-shell .service-deliverables,
.agency-shell .comp-desc,
.agency-shell .timeline-text,
.agency-shell .guarantee-text,
.agency-shell .principle-text {
    color: var(--agency-muted);
}

.agency-shell .service-price-main {
    color: #f7f6f1;
    font-family: var(--font-editorial);
    font-size: 1.8rem;
    font-weight: 600;
}

.agency-shell .service-btn-cta:not(.agency-nav-cta) {
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    box-shadow: none;
    font-size: 0.7rem;
}

.agency-shell .service-btn-cta:not(.agency-nav-cta):hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: none;
}

.agency-shell .calc-card {
    margin-top: 2rem;
    padding: clamp(1.45rem, 3.5vw, 3rem);
}

.agency-shell .calc-result-panel {
    border-color: rgba(225, 255, 247, 0.2);
    background: rgba(1, 7, 8, 0.39);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.agency-shell .calc-result-total {
    font-family: var(--font-editorial);
    color: #f7f6f1;
    font-weight: 600;
}

.agency-shell .calc-option-btn.is-selected {
    border-color: rgba(244, 244, 238, 0.78);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.agency-shell .calc-whatsapp-cta,
.agency-shell .whatsapp-direct-btn:not(.agency-primary-cta) {
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 999px;
    background: #f7f6f1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    color: #111216 !important;
}

.agency-shell .calc-whatsapp-cta:hover,
.agency-shell .whatsapp-direct-btn:not(.agency-primary-cta):hover {
    background: #fff;
    color: #111216 !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
}

.agency-shell .timeline-grid,
.agency-shell .guarantees-grid {
    gap: 0.8rem;
}

.agency-shell .timeline-step,
.agency-shell .guarantee-card,
.agency-shell .principle-card {
    border-radius: 18px;
}

.agency-shell .timeline-step:hover,
.agency-shell .guarantee-card:hover,
.agency-shell .principle-card:hover {
    border-color: rgba(255, 255, 255, 0.23);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.agency-shell .timeline-number {
    border-color: rgba(255, 255, 255, 0.24);
    color: #f7f6f1;
    font-family: var(--font-editorial);
}

.agency-shell .comp-box {
    border-radius: 18px;
}

.agency-shell .comp-box--before {
    border-color: rgba(255, 180, 180, 0.17);
}

.agency-shell .comp-box--after {
    border-color: rgba(224, 255, 248, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.agency-shell #contacto {
    background: linear-gradient(134deg, rgba(7, 9, 13, 0.62), rgba(13, 18, 20, 0.35)) !important;
    border-color: rgba(230, 255, 248, 0.22) !important;
    box-shadow: 0 34px 78px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.agency-shell .floating-whatsapp-btn {
    right: 1.3rem;
    bottom: 1.3rem;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(247, 246, 241, 0.92);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    animation: none;
    backdrop-filter: blur(12px);
}

.agency-shell .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
    fill: #131416;
}

.agency-shell .floating-whatsapp-btn:hover {
    background: #fff;
    box-shadow: 0 19px 39px rgba(0, 0, 0, 0.34);
    transform: translateY(-4px) scale(1.03);
}

.agency-shell footer {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.24), rgba(5, 6, 8, 0.7)) !important;
    backdrop-filter: blur(10px);
}

.agency-shell .scroll-progress {
    height: 2px;
    background: linear-gradient(90deg, #d9fbf0, #f7f6f1, #c6ccff);
    box-shadow: 0 0 12px rgba(225, 255, 246, 0.6);
}

.agency-shell :focus-visible {
    outline: 2px solid rgba(235, 255, 249, 0.95);
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .agency-shell .agency-nav-links > a:nth-child(4),
    .agency-shell .agency-nav-links > a:nth-child(5) {
        display: none;
    }

    .agency-shell .agency-hero {
        min-height: 650px;
    }
}

@media (max-width: 760px) {
    .agency-shell .site-main,
    .agency-shell .agency-nav-shell {
        width: min(100% - 1rem, 1180px);
    }

    .agency-shell .agency-topbar {
        padding-top: 0.5rem;
    }

    .agency-shell .agency-nav-shell {
        min-height: 52px;
        padding: 0.3rem 0.35rem 0.3rem 0.55rem;
    }

    .agency-shell .agency-brand-mark {
        width: 31px;
        height: 31px;
    }

    .agency-shell .brand-eyebrow {
        display: none;
    }

    .agency-shell .brand-name {
        font-size: 0.82rem;
    }

    .agency-shell .agency-nav-links > a:not(.agency-nav-cta) {
        display: none;
    }

    .agency-shell .agency-nav-links .agency-nav-cta {
        min-height: 34px;
        margin-left: 0;
        padding-inline: 0.72rem;
        font-size: 0.66rem;
    }

    .agency-shell .agency-hero {
        min-height: calc(100svh - 70px);
        border-radius: 25px;
        padding: 5.4rem 1rem 1.25rem;
    }

    .agency-shell .agency-hero .hero-head {
        max-width: 330px;
    }

    .agency-shell .agency-hero .chip {
        font-size: 0.58rem;
        min-height: 25px;
        padding-inline: 0.58rem;
    }

    .agency-shell .agency-hero .hero-title {
        max-width: 12.5ch;
        font-size: clamp(3.2rem, 15vw, 4.6rem);
        line-height: 0.86;
    }

    .agency-shell .agency-hero .hero-lead {
        max-width: 38ch;
        font-size: 0.88rem;
    }

    .agency-shell .hero-actions {
        width: 100%;
        margin: 1.35rem 0 1.6rem;
    }

    .agency-shell .agency-primary-cta,
    .agency-shell .agency-secondary-cta {
        flex: 1 1 auto;
        justify-content: center;
        padding-inline: 0.8rem;
    }

    .agency-shell .agency-text-cta {
        flex-basis: 100%;
        min-height: 28px;
    }

    .agency-shell .agency-hero .hero-kpis {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
    }

    .agency-shell .agency-hero .kpi {
        min-height: 90px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .agency-shell .agency-hero .kpi:nth-child(2) {
        border-right: 0;
    }

    .agency-shell .agency-hero .kpi:nth-child(n + 3) {
        border-bottom: 0;
    }

    .agency-shell .panel,
    .agency-shell .calc-card {
        border-radius: 22px;
        padding: 1.25rem;
    }

    .agency-shell .panel-title {
        font-size: clamp(2rem, 11vw, 2.75rem);
    }

    .agency-shell .floating-whatsapp-btn {
        right: 0.9rem;
        bottom: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .agency-shell *,
    .agency-shell *::before,
    .agency-shell *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
