/* =============================================================
   CPL CONSULTORES & ASOCIADOS — Premium Design System
   ============================================================= */

:root {
    /* Core palette */
    --navy-950: #050d1f;
    --navy-900: #0a1228;
    --navy-800: #0f1d3a;
    --navy-700: #172647;
    --navy-600: #1f325a;
    --navy-500: #2a416f;

    --gold: #d4af6f;
    --gold-400: #e8c98a;
    --gold-500: #d4af6f;
    --gold-600: #b8924d;
    --gold-700: #96753a;

    --ivory: #faf7f0;
    --cream: #f4efe4;
    --white: #ffffff;
    --black: #000000;

    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;

    --text: #1a1f2e;
    --text-muted: #6b7280;

    /* Gradients */
    --grad-navy: linear-gradient(135deg, #0a1228 0%, #172647 100%);
    --grad-gold: linear-gradient(135deg, #d4af6f 0%, #b8924d 100%);
    --grad-hero: linear-gradient(180deg, rgba(5, 13, 31, 0.35) 0%, rgba(5, 13, 31, 0.75) 50%, rgba(5, 13, 31, 0.95) 100%);
    --grad-dark: linear-gradient(180deg, #050d1f 0%, #0a1228 100%);

    /* Shadows */
    --sh-sm: 0 2px 8px rgba(10, 18, 40, 0.08);
    --sh-md: 0 10px 30px rgba(10, 18, 40, 0.12);
    --sh-lg: 0 30px 60px rgba(10, 18, 40, 0.18);
    --sh-xl: 0 40px 80px rgba(10, 18, 40, 0.22);
    --sh-gold: 0 20px 50px rgba(212, 175, 111, 0.35);

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --tr-fast: 0.25s var(--ease);
    --tr: 0.4s var(--ease);
    --tr-slow: 0.7s var(--ease-out);

    /* Typography */
    --f-serif: 'Cormorant Garamond', Georgia, serif;
    --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1280px;
    --radius: 6px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* =========================================
   RESET
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr-fast); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection {
    background: var(--gold);
    color: var(--navy-900);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

/* =========================================
   PRELOADER
   ========================================= */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--navy-950);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-inner img {
    width: 90px;
    margin: 0 auto 24px;
    animation: breathe 1.8s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 111, 0.4));
}

.preloader-bar {
    width: 180px;
    height: 2px;
    background: rgba(212, 175, 111, 0.15);
    overflow: hidden;
    margin: 0 auto;
    border-radius: 2px;
}

.preloader-bar span {
    display: block;
    height: 100%;
    background: var(--gold);
    animation: loading 1.6s var(--ease) infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* =========================================
   CURSOR
   ========================================= */
.cursor-dot, .cursor-ring { display: none !important; }

a, button, [data-cursor="hover"], .nav-link, .nav-cta, .btn, .bento-item, .contact-row, .float-btn, .nav-toggle, label, select, summary {
    cursor: pointer;
}

/* =========================================
   TOP STRIP
   ========================================= */
.top-strip {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13.75px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(212, 175, 111, 0.12);
}

.strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.strip-pill {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 17px;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.strip-right {
    display: flex;
    gap: 28px;
}

.strip-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.75px;
    transition: color var(--tr-fast);
}

.strip-item:hover { color: var(--gold); }
.strip-item svg { color: var(--gold); }

/* =========================================
   HEADER
   ========================================= */
.header {
    background: rgba(5, 13, 31, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--tr);
    border-bottom: 1px solid rgba(212, 175, 111, 0.08);
}

.header.scrolled {
    background: rgba(5, 13, 31, 0.96);
    border-bottom-color: rgba(212, 175, 111, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform var(--tr);
}

.brand:hover { transform: translateX(2px); }

.brand-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(212, 175, 111, 0.4));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-left: 16px;
    border-left: 1px solid rgba(212, 175, 111, 0.32);
}

.brand-name {
    font-family: var(--f-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.4px;
}

.brand-sub {
    font-size: 10.5px;
    color: var(--gold);
    letter-spacing: 3.2px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.92;
}

.nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--tr-fast);
}

.nav-link span {
    font-family: var(--f-serif);
    font-size: 11px;
    color: var(--gold);
    opacity: 0.6;
    font-style: italic;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--tr);
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::before { width: 70%; }
.nav-link.active { color: var(--gold); }
.nav-link.active::before { width: 70%; }

.nav-cta {
    margin-left: 14px;
    padding: 12px 22px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all var(--tr);
    border-radius: 2px;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-100%);
    transition: transform var(--tr);
}

.nav-cta span, .nav-cta svg {
    position: relative;
    z-index: 1;
    transition: color var(--tr);
}

.nav-cta:hover { color: var(--navy-900); }
.nav-cta:hover::before { transform: translateX(0); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--tr);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: var(--gold); }
.nav-toggle.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); background: var(--gold); }

/* =========================================
   HERO CINEMATOGRÁFICO
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 80px 0 200px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 20s var(--ease-out) infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.08) translateY(-2%); }
}

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(5, 13, 31, 0.6) 0%, rgba(5, 13, 31, 0.85) 100%),
        linear-gradient(180deg, rgba(5, 13, 31, 0.5) 0%, rgba(5, 13, 31, 0.8) 60%, rgba(5, 13, 31, 0.98) 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 13, 31, 0.7) 0%, transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 111, 0.08) 0%, transparent 50%);
}

.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.decor-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 111, 0.3), transparent);
    height: 1px;
}

.decor-line-1 {
    top: 30%;
    left: -10%;
    right: 60%;
}

.decor-line-2 {
    bottom: 40%;
    left: 50%;
    right: -10%;
}

.hero-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(212, 175, 111, 0.08);
    border: 1px solid rgba(212, 175, 111, 0.3);
    border-radius: 40px;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--gold);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
    font-family: var(--f-serif);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: lineReveal 1s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.35s; }
.hero-title .line:nth-child(3) { animation-delay: 0.5s; }

.hero-title .italic {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    background: linear-gradient(135deg, #e8c98a 0%, #d4af6f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-lead {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 44px;
    opacity: 0;
    animation: lineReveal 1s var(--ease-out) 0.7s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: lineReveal 1s var(--ease-out) 0.85s forwards;
}

.hero-side {
    opacity: 0;
    animation: lineReveal 1s var(--ease-out) 1s forwards;
}

.hero-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.hero-card .card-label {
    display: block;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-card strong {
    display: block;
    font-family: var(--f-serif);
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    line-height: 1.6;
}

.card-underline {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-top: 16px;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(212, 175, 111, 0.2);
}

.glass-dark {
    background: rgba(10, 18, 40, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 111, 0.15);
}

/* Hero metrics strip */
.hero-metrics {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(5, 13, 31, 0.95) 60%);
    padding: 40px 0 30px;
    z-index: 2;
}

.metrics-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 111, 0.2);
}

@media (max-width: 1100px) {
    .metrics-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 40px;
    }
    .metric:nth-child(2)::after { display: none; }
}

.metric {
    display: flex;
    align-items: baseline;
    gap: 6px;
    position: relative;
}

.metric::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(212, 175, 111, 0.15);
}

.metric:last-child::after { display: none; }

.metric-num {
    font-family: var(--f-serif);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.plus {
    font-family: var(--f-serif);
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: var(--gold);
    font-weight: 400;
}

.metric-label {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
    align-self: center;
    text-align: right;
    max-width: 90px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--f-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--tr);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.btn span { position: relative; z-index: 1; }
.btn svg { position: relative; z-index: 1; transition: transform var(--tr); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold {
    background: var(--gold);
    color: var(--navy-900);
    border-color: var(--gold);
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-400);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.6s var(--ease-out);
}

.btn-gold:hover::before {
    transform: scale(3);
}

.btn-gold:hover {
    box-shadow: var(--sh-gold);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-gold-large {
    padding: 20px 44px;
    font-size: 14px;
    background: var(--gold);
    color: var(--navy-900);
    border-color: var(--gold);
}

.btn-gold-large:hover {
    background: var(--gold-400);
    box-shadow: var(--sh-gold);
    transform: translateY(-3px);
}

.btn-block { width: 100%; }

/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: 130px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 80px;
}

.section-header.align-left {
    text-align: left;
    margin: 0 0 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    color: var(--gold-600);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
}

.eyebrow.center {
    display: inline-flex;
}

.eyebrow.gold-eyebrow { color: var(--gold); }

.dash {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.h-display {
    font-family: var(--f-serif);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--navy-900);
    margin-bottom: 20px;
}

.h-display em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-600);
}

.h-display.light { color: var(--white); }
.h-display.light em { color: var(--gold); }

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

.section-sub.light { color: rgba(255, 255, 255, 0.7); }

.body-lg {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 20px;
}

/* =========================================
   ABOUT
   ========================================= */
.section-about {
    background: var(--ivory);
}

.grid-about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.visual-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--sh-xl);
    aspect-ratio: 4/5;
    transform: rotate(-1.5deg);
    transition: transform var(--tr-slow);
}

.visual-frame:hover {
    transform: rotate(0deg);
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 13, 31, 0.3));
}

.visual-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    padding: 20px 28px;
    border-radius: var(--radius);
    background: rgba(5, 13, 31, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 111, 0.3);
    z-index: 2;
}

.visual-badge span {
    display: block;
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.visual-badge strong {
    font-family: var(--f-serif);
    font-size: 2.4rem;
    color: var(--white);
    font-weight: 500;
    line-height: 1;
}

.visual-quote {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--white);
    padding: 24px 28px;
    max-width: 280px;
    border-radius: var(--radius-lg);
    box-shadow: var(--sh-lg);
    border-left: 3px solid var(--gold);
}

.visual-quote svg {
    color: var(--gold);
    margin-bottom: 8px;
}

.visual-quote p {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--navy-900);
}

.about-body {
    max-width: 560px;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 40px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    background: var(--navy-900);
    color: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tr);
}

.feature:hover .feature-icon {
    background: var(--gold);
    color: var(--navy-900);
    transform: rotate(-5deg) scale(1.05);
}

.feature h4 {
    font-family: var(--f-serif);
    font-size: 1.15rem;
    color: var(--navy-900);
    font-weight: 600;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================
   BENTO SERVICES
   ========================================= */
.section-services {
    background: var(--white);
    position: relative;
}

.section-services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(212, 175, 111, 0.06), transparent 70%);
    pointer-events: none;
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.bento-item {
    background: var(--white);
    padding: 44px 36px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--tr);
    cursor: pointer;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tr);
}

.bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 111, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity var(--tr);
    pointer-events: none;
}

.bento-item:hover {
    border-color: rgba(212, 175, 111, 0.4);
    box-shadow: var(--sh-lg);
    transform: translateY(-4px);
}

.bento-item:hover::before { transform: scaleX(1); }
.bento-item:hover::after { opacity: 1; }

.bento-lg {
    grid-column: span 2;
    background: var(--grad-navy);
    color: var(--white);
    border-color: transparent;
}

.bento-lg::before { background: var(--gold); }

.bento-lg h3 { color: var(--white); }
.bento-lg p { color: rgba(255, 255, 255, 0.75); }
.bento-lg .bento-icon { background: rgba(212, 175, 111, 0.12); color: var(--gold); }

.bento-dark {
    background: var(--navy-900);
    color: var(--white);
    border-color: transparent;
}

.bento-dark h3 { color: var(--white); }
.bento-dark p { color: rgba(255, 255, 255, 0.75); }

.bento-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform var(--tr);
}

.bento-item:hover .bento-icon {
    transform: rotate(-8deg) scale(1.08);
}

.gold-icon {
    background: var(--gold) !important;
    color: var(--navy-900) !important;
}

.bento-item h3 {
    font-family: var(--f-serif);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.bento-item p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.96rem;
}

.bento-arrow {
    position: absolute;
    top: 36px;
    right: 36px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 111, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tr);
}

.bento-item:hover .bento-arrow {
    background: var(--gold);
    color: var(--navy-900);
    transform: rotate(-45deg);
}

.bento-lg .bento-arrow { background: rgba(212, 175, 111, 0.15); }

/* =========================================
   CTA BANNER (parallax)
   ========================================= */
.section-cta-banner {
    position: relative;
    padding: 180px 0;
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: -10%;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    filter: grayscale(20%);
    will-change: transform;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(5, 13, 31, 0.92) 0%, rgba(10, 18, 40, 0.85) 50%, rgba(5, 13, 31, 0.92) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.cta-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin: 24px auto 40px;
}

/* =========================================
   CLIENTS
   ========================================= */
.section-clients {
    background: var(--ivory);
    overflow: hidden;
}

.clients-marquee {
    overflow: hidden;
    margin: 0 -28px 40px;
    padding: 20px 0;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 32s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-chip {
    padding: 14px 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 78px;
    min-width: 170px;
    transition: all var(--tr);
}

.client-chip img {
    max-height: 42px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(0.92);
    transition: filter var(--tr), transform var(--tr);
}

.client-chip:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.client-chip:hover img {
    filter: saturate(1.1);
    transform: scale(1.05);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

@media (max-width: 1100px) {
    .clients-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

.client-box {
    padding: 18px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: all var(--tr);
}

.client-box img {
    max-height: 64px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(0.92);
    transition: filter var(--tr), transform var(--tr);
}

.client-box:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.client-box:hover img {
    filter: saturate(1.1);
    transform: scale(1.06);
}

.clients-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-400);
    font-style: italic;
}

/* =========================================
   PROCESS / TIMELINE
   ========================================= */
.section-process {
    background: var(--grad-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-process::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 111, 0.08), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.section-process::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 111, 0.06), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 111, 0.4), transparent);
}

.timeline-step {
    text-align: center;
    position: relative;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--navy-900);
    border: 1.5px solid var(--gold);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all var(--tr);
}

.timeline-step:hover .step-circle {
    background: var(--gold);
    transform: scale(1.08);
}

.step-circle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(212, 175, 111, 0.3);
    border-radius: 50%;
    animation: ring 3s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.3; }
}

.step-circle span {
    font-family: var(--f-serif);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 600;
    transition: color var(--tr);
}

.timeline-step:hover .step-circle span { color: var(--navy-900); }

.step-body {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    transition: all var(--tr);
}

.step-body:hover {
    border-color: rgba(212, 175, 111, 0.3);
    transform: translateY(-4px);
}

.step-body h4 {
    font-family: var(--f-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.step-body p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   TEAM
   ========================================= */
.section-team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    padding: 36px 28px;
    background: var(--ivory);
    border-radius: var(--radius-lg);
    transition: all var(--tr);
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 111, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity var(--tr);
}

.team-card:hover {
    background: var(--white);
    box-shadow: var(--sh-xl);
    border-top-color: var(--gold);
    transform: translateY(-6px);
}

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

.team-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.team-icon {
    width: 70px;
    height: 70px;
    background: var(--navy-900);
    color: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tr);
}

.team-card:hover .team-icon {
    background: var(--gold);
    color: var(--navy-900);
    transform: rotate(-5deg);
}

.team-num {
    font-family: var(--f-serif);
    font-size: 2.5rem;
    color: var(--gray-300);
    font-weight: 400;
    transition: color var(--tr);
}

.team-card:hover .team-num { color: var(--gold); }

.team-role {
    display: block;
    font-size: 11px;
    color: var(--gold-600);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-card h4 {
    font-family: var(--f-serif);
    font-size: 1.4rem;
    color: var(--navy-900);
    margin-bottom: 14px;
    font-weight: 600;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* =========================================
   CONTACT
   ========================================= */
.section-contact {
    background: var(--grad-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 111, 0.08), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-left .eyebrow { color: var(--gold); }
.contact-left .h-display { color: var(--white); margin-bottom: 24px; }
.contact-left .h-display em { color: var(--gold); }

.contact-left .body-lg {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 40px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 4px;
    border-bottom: 1px solid rgba(212, 175, 111, 0.15);
    transition: all var(--tr);
    position: relative;
}

.contact-row:not(.static):hover {
    padding-left: 16px;
    border-bottom-color: var(--gold);
}

.contact-ico {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 111, 0.12);
    color: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--tr);
}

.contact-row:not(.static):hover .contact-ico {
    background: var(--gold);
    color: var(--navy-900);
}

.contact-row > div:not(.contact-ico) {
    flex: 1;
}

.contact-row span {
    display: block;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-row strong {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.row-arrow {
    color: var(--gold);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--tr);
}

.contact-row:not(.static):hover .row-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-backing {
    padding: 24px 28px;
    background: rgba(212, 175, 111, 0.05);
    border: 1px solid rgba(212, 175, 111, 0.2);
    border-radius: var(--radius);
}

.contact-backing span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-backing strong {
    font-family: var(--f-serif);
    font-size: 1.15rem;
    color: var(--gold);
    font-weight: 600;
}

/* Form */
.contact-form {
    padding: 48px 44px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 111, 0.2);
}

.contact-form h3 {
    font-family: var(--f-serif);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-intro {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--tr-fast);
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 111, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 175, 111, 0.15);
}

.field select option {
    background: var(--navy-900);
    color: var(--white);
}

.field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    margin-top: 16px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 90px 0 30px;
    border-top: 1px solid rgba(212, 175, 111, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 80px;
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-family: var(--f-serif);
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 18px;
}

.footer-brand h3 span {
    display: block;
    font-size: 1rem;
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h5 {
    font-family: var(--f-serif);
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 22px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 0.92rem;
}

.footer-col a {
    transition: color var(--tr-fast);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-group {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--gold);
    font-size: 0.95rem;
}

.footer-group strong {
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =========================================
   FLOATING BUTTON
   ========================================= */
.float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    background: var(--gold);
    color: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(212, 175, 111, 0.4);
    z-index: 50;
    transition: all var(--tr);
}

.float-btn:hover {
    transform: scale(1.1) rotate(-8deg);
    background: var(--gold-400);
    box-shadow: 0 15px 40px rgba(212, 175, 111, 0.55);
}

.float-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gold);
    animation: floatPulse 2.5s ease-out infinite;
    z-index: -1;
}

@keyframes floatPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* =========================================
   REVEAL ANIMATIONS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
    .hero-side { max-width: 380px; }
    .grid-about { grid-template-columns: 1fr; gap: 60px; }
    .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-lg { grid-column: span 2; }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .timeline-line { display: none; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }

    .strip-inner { justify-content: center; text-align: center; }
    .strip-right { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .strip-left { display: none; }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--navy-950);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 24px;
        transform: translateY(-120%);
        transition: transform var(--tr);
        box-shadow: var(--sh-xl);
        border-top: 1px solid rgba(212, 175, 111, 0.15);
    }
    .nav.open { transform: translateY(0); }
    .nav-link {
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .nav-cta {
        margin: 10px 0 0;
        justify-content: center;
    }
    .nav-toggle { display: flex; }

    .brand { gap: 12px; }
    .brand-text { padding-left: 12px; }
    .brand-name { font-size: 17px; }
    .brand-sub { font-size: 9.5px; letter-spacing: 3px; }
    .brand-logo { width: 44px; height: 44px; }

    .hero { padding: 60px 0 140px; min-height: auto; }
    .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
    .hero-cta { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .btn-ghost { order: 2; }

    .metrics-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .metric::after {
        display: none;
    }

    .visual-quote {
        position: relative;
        bottom: auto; right: auto;
        margin-top: 24px;
        max-width: 100%;
    }

    .features { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; }
    .bento-lg { grid-column: span 1; }

    .section-cta-banner { padding: 100px 0; }

    .timeline { grid-template-columns: 1fr; gap: 28px; }
    .team-grid { grid-template-columns: 1fr; }

    .contact-form { padding: 32px 24px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .float-btn { width: 56px; height: 56px; bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .header-inner { padding: 12px 20px; }
    .section-header { margin-bottom: 54px; }
    .hero-eyebrow { font-size: 10px; padding: 6px 14px; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 20px; }
}

/* =========================================
   WHATSAPP FLOTANTE — botón circular + burbuja de chat
   ========================================= */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Burbuja tipo tooltip */
.wa-tip {
    background: #ffffff;
    color: var(--navy-900);
    padding: 13px 22px 14px;
    border-radius: 18px;
    box-shadow:
        0 16px 36px rgba(5, 13, 31, 0.16),
        0 2px 8px rgba(5, 13, 31, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    animation: waTipBreathe 3.4s ease-in-out infinite;
    transform-origin: right center;
}

.wa-tip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
    box-shadow: 4px -4px 8px rgba(5, 13, 31, 0.04);
}

.wa-tip-eyebrow {
    font-size: 10px;
    font-weight: 600;
    color: var(--gold-600);
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.wa-tip-text {
    font-family: var(--f-serif);
    font-size: 16.5px;
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: 0.1px;
}

@keyframes waTipBreathe {
    0%, 100% { transform: translateX(0) scale(1); opacity: 1; }
    50%      { transform: translateX(-3px) scale(1.01); opacity: 0.98; }
}

/* Botón circular WhatsApp */
.wa-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 18px 36px rgba(18, 140, 126, 0.48),
        0 4px 12px rgba(5, 13, 31, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform var(--tr), box-shadow var(--tr), background var(--tr);
    flex-shrink: 0;
}

.wa-btn::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    pointer-events: none;
}

.wa-btn svg {
    width: 34px;
    height: 34px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(5, 13, 31, 0.22));
}

.wa-btn:hover {
    transform: translateY(-3px) scale(1.06);
    background: linear-gradient(135deg, #2ce374 0%, #14a18f 100%);
    box-shadow:
        0 24px 46px rgba(18, 140, 126, 0.6),
        0 4px 14px rgba(5, 13, 31, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: waPulse 2.4s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 24px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile: botón algo más chico, burbuja más compacta */
@media (max-width: 768px) {
    .wa-float { bottom: 22px; right: 22px; gap: 12px; }
    .wa-tip { padding: 10px 16px 11px; border-radius: 16px; }
    .wa-tip-eyebrow { font-size: 9.5px; letter-spacing: 1.8px; }
    .wa-tip-text { font-size: 14.5px; }
    .wa-btn { width: 64px; height: 64px; }
    .wa-btn svg { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
    .wa-tip { display: none; }
    .wa-float { bottom: 18px; right: 18px; }
}

/* =========================================
   BENTO SOFT — tarjetas crema boutique, 6 items 3×2
   ========================================= */
.bento {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    row-gap: 18px;
}

/* Tarjetas: fondo crema suave, sin bordes pesados, ángulo redondeado */
.bento-item,
.bento-lg,
.bento-dark {
    grid-column: auto;
    background: #faf7f0;
    color: var(--text);
    border: 1px solid rgba(10, 18, 40, 0.05);
    border-radius: 14px;
    box-shadow: none;
    padding: 36px 32px 34px;
    position: relative;
    overflow: hidden;
    transition: background var(--tr), border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}

/* Acento dorado superior: corto y siempre visible, crece en hover */
.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    width: 32px;
    height: 2px;
    background: var(--gold);
    transform-origin: left;
    transition: width 0.5s var(--ease-out);
    right: auto;
}

.bento-item::after { display: none !important; }

.bento-item:hover {
    background: var(--white);
    border-color: rgba(212, 175, 111, 0.35);
    box-shadow: 0 18px 44px rgba(10, 18, 40, 0.08);
    transform: translateY(-4px);
}

.bento-item:hover::before { width: calc(100% - 64px); }

/* Tipografía */
.bento-item h3,
.bento-lg h3,
.bento-dark h3 {
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 10px;
    letter-spacing: -0.005em;
}

.bento-item p,
.bento-lg p,
.bento-dark p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* Ícono: chip dorado suave con trazo dorado */
.bento-icon,
.bento-lg .bento-icon,
.bento-dark .bento-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 111, 0.14) !important;
    color: var(--gold-600) !important;
    border-radius: 10px;
    margin-bottom: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--tr), color var(--tr), transform var(--tr);
}

.bento-icon svg,
.bento-lg .bento-icon svg,
.bento-dark .bento-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.bento-item:hover .bento-icon {
    background: var(--gold) !important;
    color: var(--white) !important;
    transform: rotate(-4deg);
}

/* Ícono "destacado" para Ejecución de Garantías (siempre dorado pleno) */
.bento-dark .gold-icon {
    background: var(--gold) !important;
    color: var(--white) !important;
}

/* Flecha: chip pequeño arriba a la derecha, discreto */
.bento-arrow,
.bento-lg .bento-arrow,
.bento-dark .bento-arrow {
    position: absolute;
    top: 32px;
    right: 28px;
    width: 34px;
    height: 34px;
    padding: 0;
    background: transparent !important;
    color: var(--gold) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transform: none;
    transition: opacity var(--tr), background var(--tr), color var(--tr), transform var(--tr);
}

.bento-arrow svg { width: 16px; height: 16px; }

.bento-item:hover .bento-arrow {
    opacity: 1;
    background: var(--gold) !important;
    color: var(--white) !important;
    transform: rotate(-45deg) !important;
}

/* Responsive del bento soft */
@media (max-width: 1100px) {
    .bento { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .bento-item { padding: 32px 26px 30px; }
    .bento-item::before { left: 26px; width: 26px; }
    .bento-item:hover::before { width: calc(100% - 52px); }
    .bento-arrow { top: 26px; right: 22px; }
}

@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; gap: 12px; }
    .bento-item { padding: 28px 22px 26px; }
    .bento-item::before { left: 22px; width: 22px; }
    .bento-item:hover::before { width: calc(100% - 44px); }
    .bento-item h3 { font-size: 1.18rem; }
    .bento-item p { font-size: 0.9rem; }
    .bento-icon { width: 42px; height: 42px; margin-bottom: 18px; }
    .bento-icon svg { width: 22px; height: 22px; }
    .bento-arrow { opacity: 1; top: 22px; right: 18px; width: 30px; height: 30px; }
}

/* =========================================
   MOBILE POLISH — ajustes finos para tablet/móvil
   ========================================= */

/* Evitar highlight azul en taps y mejorar manipulación en touch */
a, button, [role="button"], .btn, .nav-link, .nav-cta, .bento-item, .contact-row, .float-btn, .client-chip, .client-box, .nav-toggle {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Tablet horizontal / tablet chico */
@media (max-width: 1024px) {
    .section { padding: 110px 0; }
    .section-header { margin-bottom: 64px; }
    .hero { padding: 72px 0 190px; }
    .hero-metrics { padding: 32px 0 26px; }
    .grid-about { gap: 60px; }
    .contact-wrap { gap: 56px; }
    .footer-top { gap: 48px; }
    .contact-form { padding: 40px 34px; }
}

/* Tablet / Móvil grande (≤ 768px) — refinamientos sobre las reglas existentes */
@media (max-width: 768px) {
    html { scroll-padding-top: 80px; }

    .section { padding: 76px 0; }
    .section-header { margin-bottom: 48px; }

    /* Top strip compacto */
    .top-strip { padding: 10px 0; font-size: 12.75px; }
    .strip-item { font-size: 12.75px; gap: 8px; }
    .strip-right { gap: 16px; row-gap: 6px; }

    /* Header / brand más compacto */
    .header-inner { padding: 12px 20px; }
    .brand { gap: 10px; }
    .brand-logo { width: 42px; height: 42px; filter: drop-shadow(0 3px 10px rgba(212, 175, 111, 0.35)); }
    .brand-text { padding-left: 10px; }
    .brand-name { font-size: 16.5px; letter-spacing: 0.3px; }
    .brand-sub { font-size: 9px; letter-spacing: 2.8px; margin-top: 3px; }

    /* Mobile nav drawer — scrollable en landscape corto */
    .nav { max-height: calc(100vh - 80px); overflow-y: auto; padding: 20px 24px 28px; gap: 2px; }
    .nav-link { padding: 14px 6px; font-size: 15px; justify-content: flex-start; gap: 12px; }
    .nav-link span { font-size: 11.5px; opacity: 0.8; }
    .nav-link::before { display: none; }
    .nav-cta { margin: 14px 0 0; padding: 14px 22px; font-size: 12.5px; }

    /* HERO mobile */
    .hero { padding: 56px 0 240px; min-height: auto; }
    .hero-wrap { gap: 36px; }
    .hero-eyebrow { margin-bottom: 22px; padding: 7px 16px; font-size: 11px; letter-spacing: 2px; }
    .hero-title { margin-bottom: 22px; font-size: clamp(2.3rem, 9.5vw, 3.4rem); line-height: 1.06; }
    .hero-lead { font-size: 1rem; line-height: 1.65; margin-bottom: 32px; }
    .hero-cta { gap: 12px; }
    .hero-side { max-width: 100%; width: 100%; }
    .hero-card { padding: 24px 22px; }
    .hero-card strong { font-size: 1.6rem; }
    .hero-card p { font-size: 0.9rem; }

    /* Métricas hero */
    .hero-metrics { padding: 28px 0 24px; }
    .metrics-inner { gap: 22px 28px; padding-top: 22px; }

    /* Botones mobile — no forzar ancho 100% en el ghost al lado del gold en columna */
    .btn { padding: 15px 26px; font-size: 12.5px; letter-spacing: 1.6px; }
    .btn-gold-large { padding: 17px 34px; font-size: 13px; }

    /* Sección Nosotros */
    .grid-about { gap: 48px; }
    .visual-frame { aspect-ratio: 4/3.6; transform: rotate(-1deg); border-radius: 18px; }
    .visual-badge { bottom: 18px; left: 18px; padding: 14px 20px; }
    .visual-badge span { font-size: 9px; letter-spacing: 2.4px; }
    .visual-badge strong { font-size: 1.8rem; }
    .visual-quote { padding: 20px 22px; max-width: 100%; margin-top: 20px; border-radius: 14px; }
    .visual-quote p { font-size: 0.92rem; }

    /* Features — mantenemos 2 cols en tablet pequeño */
    .features { gap: 20px; margin-top: 32px; }

    /* Bento servicios */
    .bento { gap: 16px; }
    .bento-item { padding: 32px 26px; }
    .bento-icon { width: 52px; height: 52px; margin-bottom: 22px; }
    .bento-item h3 { font-size: 1.3rem; }
    .bento-item p { font-size: 0.92rem; }
    .bento-arrow { top: 22px; right: 22px; width: 36px; height: 36px; }

    /* CTA banner */
    .section-cta-banner { padding: 88px 0; }
    .cta-lead { font-size: 1rem; margin: 20px auto 32px; }

    /* Clientes — marquee compacto */
    .clients-marquee { margin: 0 -20px 28px; padding: 12px 0; }
    .marquee-track { gap: 14px; animation-duration: 40s; }
    .client-chip {
        min-width: 128px;
        height: 62px;
        padding: 10px 18px;
        border-radius: 10px;
    }
    .client-chip img { max-height: 30px; max-width: 110px; }

    /* Grid de clientes */
    .client-box { height: 88px; padding: 14px 12px; border-radius: 8px; }
    .client-box img { max-height: 50px; }
    .clients-grid { gap: 10px; margin-bottom: 24px; }

    /* Timeline / proceso */
    .timeline { gap: 24px; }
    .step-circle { width: 54px; height: 54px; margin-bottom: 18px; }
    .step-circle span { font-size: 1.05rem; }
    .step-body { padding: 22px 20px; }
    .step-body h4 { font-size: 1.15rem; }
    .step-body p { font-size: 0.88rem; }

    /* Equipo — 2 cols en tablet pequeño */
    .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .team-card { padding: 26px 22px; }
    .team-top { margin-bottom: 22px; }
    .team-icon { width: 56px; height: 56px; }
    .team-icon svg { width: 32px; height: 32px; }
    .team-num { font-size: 2rem; }
    .team-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
    .team-card p { font-size: 0.86rem; }

    /* Contacto */
    .contact-wrap { gap: 44px; }
    .contact-form { padding: 30px 22px; border-radius: 14px; }
    .contact-form h3 { font-size: 1.5rem; }
    .form-intro { margin-bottom: 24px; font-size: 0.9rem; }
    .contact-row { padding: 16px 4px; gap: 16px; }
    .contact-ico { width: 40px; height: 40px; }
    .contact-row strong { font-size: 0.95rem; }
    .contact-backing { padding: 20px 22px; }

    /* Inputs: min 16px para evitar zoom automático en iOS */
    .field input, .field select, .field textarea {
        font-size: 16px;
        padding: 13px 16px;
    }
    .field { margin-bottom: 16px; }

    /* Footer */
    .footer { padding: 64px 0 26px; }
    .footer-top { margin-bottom: 40px; padding-bottom: 32px; gap: 40px; }
    .footer-logo { width: 58px; height: 58px; margin-bottom: 16px; }
    .footer-brand h3 { font-size: 1.55rem; }
    .footer-brand h3 span { font-size: 0.92rem; }
    .footer-brand p { font-size: 0.88rem; }
    .footer-grid { gap: 28px; }
    .footer-col h5 { margin-bottom: 16px; font-size: 0.95rem; }
    .footer-col ul li { font-size: 0.88rem; margin-bottom: 10px; }
    .footer-bottom { font-size: 0.78rem; text-align: center; }
    .footer-group { font-size: 0.88rem; }

    /* Float button — evitar solape en mobile */
    .float-btn { width: 54px; height: 54px; bottom: 18px; right: 18px; }
    .float-btn svg { width: 22px; height: 22px; }
}

/* Móvil mediano — 560px */
@media (max-width: 560px) {
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
    .section-cta-banner { padding: 72px 0; }

    /* Métricas: columna por cada métrica para que el label no se amontone */
    .metric {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .metric-label {
        margin-left: 0;
        text-align: left;
        font-size: 10px;
        letter-spacing: 1.6px;
        line-height: 1.35;
        max-width: none;
    }
    .metric-num { font-size: 2.4rem; }
    .plus { font-size: 1.4rem; }
    .metric::after { display: none; }
    .hero { padding: 48px 0 260px; }

    /* Clientes en grid: chips algo más bajos */
    .client-box { height: 80px; }
    .client-box img { max-height: 46px; }
}

/* Móvil pequeño — 480px (además de la regla existente) */
@media (max-width: 480px) {
    .hero-lead { font-size: 0.96rem; }
    .hero-card { padding: 22px 20px; }
    .hero-card strong { font-size: 1.5rem; }

    .h-display { font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.1; }

    .bento-item { padding: 28px 22px; }
    .bento-icon { width: 48px; height: 48px; margin-bottom: 18px; }
    .bento-icon svg { width: 24px; height: 24px; }
    .bento-item h3 { font-size: 1.2rem; }

    .team-grid { grid-template-columns: 1fr; gap: 14px; }
    .features { grid-template-columns: 1fr; }

    .contact-form { padding: 26px 18px; }
    .contact-backing { padding: 18px 18px; }

    .client-chip { min-width: 112px; height: 56px; padding: 8px 14px; }
    .client-chip img { max-height: 26px; max-width: 92px; }

    .preloader-inner img { width: 72px; margin-bottom: 20px; }
    .preloader-bar { width: 140px; }
}

/* Móvil extra-pequeño — 360px */
@media (max-width: 360px) {
    .container { padding: 0 16px; }
    .header-inner { padding: 10px 16px; }
    .brand-logo { width: 38px; height: 38px; }
    .brand-name { font-size: 15.5px; }
    .brand-sub { font-size: 8.5px; letter-spacing: 2.4px; }
    .brand-text { padding-left: 8px; }

    .top-strip { font-size: 12px; }
    .strip-pill { display: none; }
    .strip-item { font-size: 12px; }
    .strip-right { gap: 10px; }

    .hero-title { font-size: 2.05rem; }
    .hero-lead { font-size: 0.93rem; }

    .metric-num { font-size: 2.1rem; }

    .btn { padding: 13px 20px; font-size: 12px; letter-spacing: 1.3px; }

    .bento-item { padding: 24px 20px; }
    .step-body { padding: 20px 18px; }
    .contact-form { padding: 22px 16px; }

    .footer { padding: 54px 0 22px; }
}

/* =========================================
   ACCESIBILIDAD - reducir animaciones
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-img, .marquee-track { animation: none !important; }
}
