/* =============================================
   DESIGN SYSTEM
============================================= */
:root {
    --navy: #1a1a4e;
    --navy-mid: #252580;
    --navy-light: #333399;
    --blue: #4d4db3;
    --blue-light: #6666cc;
    --sky: #9999dd;
    --orange: #c0c0c0;
    --orange-hot: #a0a0a0;
    --cream: #f5f5fa;
    --warm-white: #fafafd;
    --text: #1a1a3e;
    --text-light: #4a4a7a;
    --text-muted: #8888aa;
    --border: #d0d0e8;
    --border-light: #eaeaf5;
    --white: #ffffff;
    --shadow-xs: 0 1px 3px rgba(51,51,153,0.06);
    --shadow-sm: 0 4px 12px rgba(51,51,153,0.09);
    --shadow-md: 0 8px 30px rgba(51,51,153,0.12);
    --shadow-lg: 0 25px 60px rgba(51,51,153,0.15);
    --shadow-xl: 0 35px 80px rgba(51,51,153,0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--navy); }
img { max-width: 100%; display: block; }
a { text-decoration: none; transition: all 0.4s var(--ease); }
button { cursor: pointer; border: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Scroll reveal base */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].is-visible { transform: scale(1); }

/* Stagger children */
[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.15s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.25s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.35s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.45s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.55s; }
[data-stagger].is-visible > * { opacity: 1; transform: translateY(0); }

/* =============================================
   PRELOADER
============================================= */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--navy);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader img {
    height: auto; width: 220px;
    padding: 18px 30px;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    animation: preloaderLogo 1.5s ease infinite alternate;
}
@keyframes preloaderLogo { from{opacity:0.5;transform:scale(0.96)} to{opacity:1;transform:scale(1)} }
.preloader-bar {
    width: 120px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden;
}
.preloader-bar::after {
    content: ''; display: block; width: 40%; height: 100%; background: var(--blue-light);
    border-radius: 3px; animation: preload 1s ease infinite;
}
@keyframes preload { 0%{transform:translateX(-100%)} 100%{transform:translateX(350%)} }

/* =============================================
   NAVIGATION
============================================= */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0;
    background: transparent;
    transition: all 0.5s var(--ease);
}
.nav::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 42%; height: 100%;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    z-index: -1;
    transition: all 0.5s var(--ease);
}
.nav.sticky {
    padding: 0;
    background: transparent;
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}
.nav.sticky::before {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
/* Logo: posición absoluta pegado al borde izquierdo, centrado verticalmente */
.nav-logo {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    display: flex; align-items: center;
    padding-left: 18px;
    z-index: 2;
}
.nav-logo img {
    height: 62px; width: auto;
    max-width: 360px;
    padding: 6px 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.5s var(--ease);
    object-fit: contain;
    object-position: left center;
}
.nav.sticky .nav-logo img {
    height: 54px;
    background: none;
    box-shadow: none;
}
/* El container del nav-inner solo contiene el spacer + links */
.nav-inner {
    display: flex; align-items: center; justify-content: flex-end;
    min-height: 80px;
}
/* Spacer invisible que ocupa el ancho de la banda blanca para evitar overlap con links */
.nav-logo-spacer {
    flex: 0 0 42%;
}
.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500;
    padding: 10px 18px; border-radius: 8px; letter-spacing: 0.2px;
    transition: all 0.4s var(--ease);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav.sticky .nav-links a { color: var(--text); }
.nav.sticky .nav-links a:hover { color: var(--navy); background: var(--border-light); }
.nav-cta {
    background: var(--blue) !important; color: var(--white) !important;
    padding: 10px 24px !important; border-radius: 8px !important;
    font-weight: 600 !important; font-size: 13px !important;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); }
.nav-burger {
    display: none; width: 28px; height: 20px;
    flex-direction: column; justify-content: space-between; cursor: pointer; z-index: 1001;
}
.nav-burger span {
    width: 100%; height: 2px; background: var(--white);
    border-radius: 2px; transition: all 0.3s var(--ease);
}
.nav.sticky .nav-burger span { background: var(--navy); }

@media(max-width:900px){
    .nav-burger { display: flex; }
    .nav-logo img { height: 50px; max-width: 260px; }
    .nav.sticky .nav-logo img { height: 44px; }
    .nav-inner { min-height: 70px; }
    .nav::before {
        width: 60%;
        clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    }
    .nav.sticky::before {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .nav-logo-spacer { flex: 0 0 60%; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
        background: var(--navy); flex-direction: column; padding: 100px 32px;
        gap: 4px; transition: right 0.4s var(--ease); box-shadow: -10px 0 50px rgba(0,0,0,0.3);
    }
    .nav-links.open { right: 0; }
    .nav-links a { color: rgba(255,255,255,0.7) !important; padding: 16px !important; font-size: 16px !important; width: 100%; border-radius: 10px; }
    .nav-links a:hover { background: rgba(255,255,255,0.06) !important; color: var(--white) !important; }
}

/* =============================================
   HERO
============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    background: var(--navy);
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 70% 40%, rgba(0,178,210,0.15), transparent),
        radial-gradient(ellipse 60% 60% at 20% 80%, rgba(251,0,147,0.08), transparent),
        radial-gradient(ellipse 40% 40% at 90% 20%, rgba(93,224,245,0.1), transparent);
}
/* Animated grid lines */
.hero-grid {
    position: absolute; inset: 0; overflow: hidden; opacity: 0.06;
}
.hero-grid::before, .hero-grid::after {
    content: ''; position: absolute;
    background-image: linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 80px 80px;
}
.hero-grid::before { inset: 0; }
.hero-grid::after {
    inset: -50%; background-size: 200px 200px;
    animation: gridMove 25s linear infinite;
}
@keyframes gridMove { from{transform:translate(0)} to{transform:translate(200px,200px)} }

/* Floating orbs */
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; top: -10%; right: -5%; background: rgba(0,178,210,0.12); animation: orbFloat 12s ease-in-out infinite; }
.hero-orb-2 { width: 350px; height: 350px; bottom: -8%; left: 10%; background: rgba(251,0,147,0.08); animation: orbFloat 16s ease-in-out infinite reverse; }
@keyframes orbFloat {
    0%,100%{transform:translate(0,0)} 33%{transform:translate(30px,-20px)} 66%{transform:translate(-20px,30px)}
}

.hero-content {
    position: relative; z-index: 2;
    padding: 140px 0 120px;
}
.hero-grid-layout {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px 8px 10px; border-radius: 50px;
    background: rgba(0,178,210,0.12); border: 1px solid rgba(0,178,210,0.2);
    color: var(--sky); font-size: 13px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px;
    animation: fadeSlideUp 0.8s var(--ease) 0.2s both;
}
.hero-eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--orange); animation: pulse2 2s infinite;
}
@keyframes pulse2 { 0%,100%{box-shadow:0 0 0 0 rgba(251,0,147,0.5)} 50%{box-shadow:0 0 0 8px rgba(245,158,11,0)} }

.hero h1 {
    color: var(--white);
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 28px;
    animation: fadeSlideUp 0.8s var(--ease) 0.4s both;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--orange), var(--orange-hot));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    color: rgba(255,255,255,0.55); font-size: 18px; line-height: 1.75;
    max-width: 480px; margin-bottom: 44px;
    animation: fadeSlideUp 0.8s var(--ease) 0.6s both;
}
.hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeSlideUp 0.8s var(--ease) 0.8s both;
}
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 34px; border-radius: 10px;
    font-size: 15px; font-weight: 600; letter-spacing: 0.3px;
    transition: all 0.4s var(--ease); border: 2px solid transparent;
}
.btn-fill {
    background: var(--blue); color: var(--white); border-color: var(--blue);
}
.btn-fill:hover {
    background: var(--blue-light); border-color: var(--blue-light);
    transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,178,210,0.3);
    color: var(--white);
}
.btn-ghost {
    background: transparent; color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.15);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3);
    color: var(--white); transform: translateY(-3px);
}
.btn i { font-size: 14px; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(3px); }

/* Hero right: stats card */
.hero-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px; padding: 44px;
    backdrop-filter: blur(20px);
    animation: fadeSlideUp 0.8s var(--ease) 1s both;
}
.hero-card-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2.5px; color: var(--orange); margin-bottom: 32px;
}
.hero-card-logo {
    display: flex; justify-content: center; margin-bottom: 36px;
}
.hero-card-logo img {
    width: 100%; max-width: 380px; height: auto;
    padding: 24px 36px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.hero-stats { display: flex; flex-direction: column; gap: 28px; }
.hero-stat {
    display: flex; align-items: baseline; gap: 16px;
    padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 48px; font-weight: 700; color: var(--white);
    line-height: 1;
}
.hero-stat-num span { color: var(--orange); }
.hero-stat-text {
    font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.5;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media(max-width:900px){
    .hero-grid-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-card { margin-top: 20px; }
}


/* Hero badges */
.hero-badges {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 24px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    color: rgba(255,255,255,0.85);
    font-size: 12px; font-weight: 500; letter-spacing: 0.3px;
    padding: 6px 14px; border-radius: 50px;
    backdrop-filter: blur(8px);
}

/* =============================================
   TRUST BAR
============================================= */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}
.trust-bar-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 48px; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 14px;
}
.trust-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,178,210,0.08), rgba(0,178,210,0.02));
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--blue);
}
.trust-text { font-size: 14px; font-weight: 600; color: var(--navy); }
.trust-text span { display: block; font-weight: 400; color: var(--text-muted); font-size: 12px; }

/* =============================================
   ABOUT
============================================= */
.about { padding: 120px 0; }
.about-layout {
    display: grid; grid-template-columns: 0.45fr 0.55fr; gap: 80px; align-items: center;
}
.about-visual {
    position: relative;
}
.about-visual-card {
    background: linear-gradient(145deg, var(--navy), var(--navy-mid));
    border-radius: 24px; padding: 50px 40px; position: relative; overflow: hidden;
}
.about-visual-card::before {
    content: ''; position: absolute; top: -30%; right: -20%;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(0,178,210,0.15); filter: blur(60px);
}
.about-visual-card::after {
    content: ''; position: absolute; bottom: -20%; left: -10%;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(251,0,147,0.1); filter: blur(50px);
}
.about-visual-list {
    position: relative; z-index: 2;
    list-style: none; display: flex; flex-direction: column; gap: 24px;
}
.about-visual-list li {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 22px; border-radius: 14px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s var(--ease);
}
.about-visual-list li:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(6px);
}
.about-visual-list li .ico {
    width: 42px; height: 42px; min-width: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.about-visual-list li:nth-child(1) .ico { background: rgba(0,178,210,0.2); color: var(--sky); }
.about-visual-list li:nth-child(2) .ico { background: rgba(251,0,147,0.2); color: var(--orange); }
.about-visual-list li:nth-child(3) .ico { background: rgba(93,224,245,0.2); color: var(--sky); }
.about-visual-list li:nth-child(4) .ico { background: rgba(224,0,127,0.2); color: var(--orange-hot); }
.about-visual-list li strong {
    color: var(--white); font-size: 15px; font-weight: 600;
}
.about-visual-list li span {
    display: block; color: rgba(255,255,255,0.4); font-size: 13px; margin-top: 2px;
}

.about-tag {
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--blue);
    margin-bottom: 14px;
}
.about h2 {
    font-size: clamp(30px, 4vw, 44px); line-height: 1.15;
    margin-bottom: 24px; letter-spacing: -0.5px;
}
.about h2 em { font-style: italic; color: var(--blue); }
.about-text {
    color: var(--text-light); font-size: 16.5px; line-height: 1.8;
    margin-bottom: 36px;
}

/* Metric strip */
.about-metrics {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.about-metric {
    padding: 22px; border-radius: 14px;
    background: var(--border-light); border: 1px solid var(--border);
    transition: all 0.4s var(--ease); text-align: center;
}
.about-metric:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.about-metric strong {
    display: block; font-size: 32px; font-weight: 800;
    color: var(--navy); font-family: 'Outfit', sans-serif;
}
.about-metric strong span { color: var(--orange); }
.about-metric p { font-size: 12px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

@media(max-width:900px){
    .about-layout { grid-template-columns: 1fr; gap: 50px; }
    .about-metrics { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:500px){ .about-metrics { grid-template-columns: 1fr; } }

/* =============================================
   SERVICES
============================================= */
.services {
    padding: 120px 0;
    background: var(--cream);
    position: relative;
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto 70px; }
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--blue);
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(30px, 4vw, 44px); line-height: 1.15;
    margin-bottom: 18px; letter-spacing: -0.5px;
}
.section-head p { color: var(--text-light); font-size: 17px; line-height: 1.7; }
.section-line {
    width: 50px; height: 3px; margin: 18px auto 0;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    border-radius: 3px;
}

.services-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.srv-card {
    background: var(--white); border-radius: var(--radius);
    padding: 40px 32px; border: 1px solid var(--border);
    transition: all 0.5s var(--ease); position: relative; overflow: hidden;
}
.srv-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--blue), var(--orange));
    transform: scaleX(0); transition: transform 0.5s var(--ease);
    transform-origin: left;
}
.srv-card:hover {
    transform: translateY(-10px); box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.srv-card:hover::after { transform: scaleX(1); }
.srv-num {
    font-family: 'Playfair Display', serif; font-size: 52px;
    font-weight: 700; color: var(--border); line-height: 1;
    margin-bottom: 20px; transition: color 0.5s var(--ease);
}
.srv-card:hover .srv-num { color: var(--blue); opacity: 0.2; }
.srv-card h3 {
    font-family: 'Outfit', sans-serif; font-size: 20px;
    font-weight: 700; margin-bottom: 14px; color: var(--navy);
}
.srv-card p { color: var(--text-light); font-size: 15px; line-height: 1.7; }
.srv-card-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--border-light); color: var(--text-muted);
    margin-top: 24px; font-size: 16px; transition: all 0.4s var(--ease);
}
.srv-card:hover .srv-card-arrow {
    background: var(--blue); color: var(--white); transform: translateX(5px);
}

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

/* =============================================
   CTA BAND
============================================= */
.cta-band {
    background: url(images/fun_bg.jpg) center/cover no-repeat fixed;
    padding: 80px 0; position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(2,11,74,0.92), rgba(4,16,96,0.88), rgba(7,24,120,0.85));
}
.cta-band-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 1;
}
.cta-band-orb-1 { width: 400px; height: 400px; top: -30%; right: 5%; background: rgba(0,178,210,0.15); }
.cta-band-orb-2 { width: 300px; height: 300px; bottom: -40%; left: -5%; background: rgba(251,0,147,0.08); }
.cta-band-inner {
    position: relative; z-index: 2; text-align: center; max-width: 750px; margin: 0 auto;
}
.cta-band h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.5); font-size: 17px; margin-bottom: 36px; line-height: 1.7; }
.cta-band-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note {
    margin-top: 28px; display: flex; align-items: center; justify-content: center;
    gap: 20px; flex-wrap: wrap;
}
.cta-note span {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.35); font-size: 13px; font-weight: 500;
}
.cta-note span::before {
    content: '✓'; display: inline-flex; width: 18px; height: 18px;
    align-items: center; justify-content: center; border-radius: 50%;
    background: rgba(251,0,147,0.2); color: var(--orange); font-size: 10px;
}

/* =============================================
   TESTIMONIALS
============================================= */
.testimonials { padding: 120px 0; background: var(--white); }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.test-card {
    padding: 36px 30px 30px; border-radius: var(--radius);
    background: var(--cream); border: 1px solid var(--border);
    transition: all 0.5s var(--ease); position: relative;
}
.test-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.test-quote {
    position: absolute; top: -1px; left: 30px;
    width: 44px; height: 34px; border-radius: 0 0 10px 10px;
    background: var(--blue); display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--white); font-family: 'Playfair Display', serif;
    font-style: italic;
}
.test-stars {
    display: flex; gap: 3px; margin-bottom: 18px; padding-top: 10px;
}
.test-stars span {
    color: var(--orange); font-size: 14px;
}
.test-card p {
    color: var(--text); font-size: 15px; line-height: 1.75;
    font-style: italic; margin-bottom: 24px;
}
.test-author {
    display: flex; align-items: center; gap: 14px;
    border-top: 1px solid var(--border); padding-top: 20px;
}
.test-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; color: var(--white);
}
.test-card:nth-child(1) .test-avatar { background: var(--blue); }
.test-card:nth-child(2) .test-avatar { background: var(--orange); }
.test-card:nth-child(3) .test-avatar { background: var(--navy-light); }
.test-author-info strong { display: block; font-size: 14px; color: var(--navy); }
.test-author-info span { font-size: 13px; color: var(--text-muted); }

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

/* =============================================
   FAQ
============================================= */
.faq { padding: 120px 0; background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: 0.4fr 0.6fr; gap: 80px; align-items: start; }
.faq-heading h2 { font-size: 38px; margin-bottom: 18px; }
.faq-heading p { color: var(--text-light); line-height: 1.75; margin-bottom: 30px; }
.faq-cta {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--blue); font-weight: 600; font-size: 15px;
}
.faq-cta:hover { gap: 14px; color: var(--navy); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--white); border-radius: 14px;
    border: 1px solid var(--border); overflow: hidden;
    transition: all 0.4s var(--ease);
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--blue); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 26px; cursor: pointer; gap: 16px;
    font-weight: 600; font-size: 15px; color: var(--navy);
    background: none; width: 100%; text-align: left; font-family: 'Outfit';
}
.faq-q:hover { color: var(--blue); }
.faq-q-icon {
    width: 30px; height: 30px; min-width: 30px; border-radius: 8px;
    background: var(--border-light); display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--text-muted); transition: all 0.3s var(--ease);
}
.faq-item.open .faq-q-icon {
    background: var(--blue); color: var(--white); transform: rotate(45deg);
}
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-a-inner {
    padding: 0 26px 24px; color: var(--text-light); font-size: 15px; line-height: 1.75;
}

@media(max-width:900px){ .faq-layout { grid-template-columns: 1fr; gap: 40px; } }

/* =============================================
   CONTACT
============================================= */
.contact { padding: 120px 0; background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-info-tag {
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.contact h2 { font-size: 36px; margin-bottom: 18px; }
.contact-desc { color: var(--text-light); margin-bottom: 40px; line-height: 1.7; }
.contact-item {
    display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start;
}
.contact-item-ico {
    width: 48px; height: 48px; min-width: 48px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,178,210,0.08), rgba(0,178,210,0.02));
    display: flex; align-items: center; justify-content: center;
    color: var(--blue); font-size: 18px;
}
.contact-item-text strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.contact-item-text span,
.contact-item-text a { font-size: 14px; color: var(--text-muted); }
.contact-item-text a:hover { color: var(--blue); }

.contact-map {
    margin-top: 28px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.contact-map iframe {
    width: 100%;
    height: 220px;
    display: block;
}
.contact-form {
    background: var(--cream); border: 1px solid var(--border);
    border-radius: 24px; padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--navy); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 14px 18px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-family: 'Outfit'; font-size: 15px;
    color: var(--navy); background: var(--white);
    transition: all 0.3s var(--ease); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,178,210,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input[type="file"] { padding: 12px; cursor: pointer; }
.recaptcha-box { display: flex; justify-content: center; margin: 20px 0 16px; }
.btn-send {
    width: 100%; padding: 17px; border-radius: var(--radius-sm);
    background: var(--blue); color: var(--white);
    font-size: 15px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; transition: all 0.4s var(--ease);
}
.btn-send:hover {
    background: var(--navy); transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2,11,74,0.2);
}

@media(max-width:900px){
    .contact-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   LEGAL
============================================= */
.legal {
    padding: 24px 0; background: var(--border-light);
    border-top: 1px solid var(--border);
}
.legal p {
    text-align: center; font-size: 12px; color: var(--text-muted);
    line-height: 1.7; max-width: 850px; margin: 0 auto;
}

/* =============================================
   QUALITY / SGC BANNER
============================================= */
.quality-banner {
    position: relative;
    background: url(images/fun_bg.jpg) center/cover no-repeat fixed;
    overflow: hidden;
}
.quality-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2,11,74,0.92), rgba(7,24,120,0.82));
}
.quality-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 30px;
}
.quality-content h2 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3.5vw, 40px);
    margin-bottom: 24px;
}
.quality-content p {
    color: rgba(255,255,255,0.7);
    font-size: 17px;
    line-height: 1.8;
}

/* CTA / ACCESO AL SISTEMA */
.cta-section {
    background: var(--warm-white);
    padding: 80px 0;
}
.cta-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(251,0,147,0.08);
}
.cta-card h4 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    line-height: 1.5;
    max-width: 560px;
    position: relative;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: var(--white);
    padding: 18px 36px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.4s var(--ease);
    position: relative;
    border: 2px solid var(--orange);
}
.cta-btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251,0,147,0.3);
}
@media(max-width:768px){
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
}

/* =============================================
   FOOTER
============================================= */
.footer {
    background: var(--navy); padding: 70px 0 30px; color: rgba(255,255,255,0.4);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px;
    padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
    margin-bottom: 16px;
}
.footer-logo img {
    height: auto; width: 180px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
}
.footer-about { font-size: 14px; line-height: 1.7; }
.footer h5 {
    font-family: 'Outfit'; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--white); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 14px; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-c-item {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 14px;
}
.footer-c-item i { color: var(--orange); margin-top: 3px; font-size: 14px; }
.footer-c-item a { color: rgba(255,255,255,0.4); }
.footer-c-item a:hover { color: var(--orange); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 30px; font-size: 13px;
}
.scroll-to-top {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 18px; transition: all 0.4s var(--ease);
}
.scroll-to-top:hover {
    background: var(--blue); border-color: var(--blue);
    color: var(--white); transform: translateY(-3px);
}

@media(max-width:768px){
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* =============================================
   WHATSAPP
============================================= */
.wa-btn {
    position: fixed; bottom: 28px; right: 28px; z-index: 9999;
}
.wa-btn a {
    display: flex; align-items: center; gap: 12px;
    background: #25d366; color: var(--white);
    padding: 15px 26px 15px 20px; border-radius: 60px;
    font-size: 15px; font-weight: 600;
    box-shadow: 0 8px 28px rgba(37,211,102,0.4);
    transition: all 0.4s var(--ease);
}
.wa-btn a:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 40px rgba(37,211,102,0.5);
    color: var(--white);
}
.wa-btn svg { width: 24px; height: 24px; fill: currentColor; }
.wa-pulse {
    position: absolute; inset: 0; border-radius: 60px;
    background: #25d366; z-index: -1;
    animation: waPulse 2.5s infinite;
}
@keyframes waPulse {
    0%{ opacity:0.5; transform:scale(1) }
    100%{ opacity:0; transform:scale(1.5) }
}
@media(max-width:768px){
    .wa-btn a span { display: none; }
    .wa-btn a { padding: 16px; border-radius: 50%; }
}