






/* ═══════════════════════════════════════════════
   DCMA.ES — Stylesheet
   Autor: dcma.es
   Versión: 1.0
═══════════════════════════════════════════════ */

/* ── Fuentes locales ── */
@font-face{font-family:'IvyPresto Text';src:url('../../fonts/IvyPresto-Text-Light.woff') format('woff');font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:'IvyPresto Display';src:url('../../fonts/Ivy-Presto-Display-Light.woff') format('woff');font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:'Godber';src:url('../../fonts/Godber.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:'Diagraph-Bold';src:url('../../fonts/DiagraphEtc-Bold.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:'Bai Jamjuree';src:url('../../fonts/BaiJamjuree-Regular.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}

 /* ─── FUENTES PERSONALIZADAS ─── */
 
 
 

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

 :root {
   --bg: #05050f;
   --bg-2: #080814;
   --bg-3: #0e0e1e;
   --bg-card: rgba(255, 255, 255, 0.03);
   --gold: #c9a84c;
   --gold-rgb: 201, 168, 76;
   --gold-light: #e6d0a8;
   --gold-dark: #8a6e44;
   --gold-glow: rgba(var(--gold-rgb), 0.12);
   --white: #f0ece2;
   --grey: #8888a0;
   --border: rgba(var(--gold-rgb), 0.14);
   --border-2: rgba(255, 255, 255, 0.06);

   --ff-head: 'IvyPresto Text', Georgia, serif;
   --ff-body: 'Bai Jamjuree', system-ui, sans-serif;

   --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
   --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
 }

 html {
   scroll-behavior: smooth;
   font-size: 16px;
   overflow-x: hidden;
   overflow-x: clip;
   width: 100%;
   max-width: 100%;
 }

 body {
   background: var(--bg);
   color: var(--white);
   font-family: var(--ff-body);
   font-weight: 300;
   line-height: 1.7;
   overflow-x: hidden;
   overflow-x: clip;
   cursor: none;
   -webkit-font-smoothing: antialiased;
   font-synthesis: none;
   -moz-osx-font-smoothing: grayscale;
 }

 a {
   color: inherit;
   text-decoration: none;
   cursor: none;
 }

 img {
   display: block;
   max-width: 100%;
 }

 button {
   cursor: none;
 }

 /* ─── CUSTOM CURSOR ─── */
 #cursor-dot {
   position: fixed;
   width: 6px;
   height: 6px;
   background: var(--gold);
   border-radius: 50%;
   top: 0;
   left: 0;
   z-index: 99999;
   pointer-events: none;
   transform: translate(-50%, -50%);
   transition: width 0.2s, height 0.2s, background 0.2s;
   will-change: transform;
 }

 #cursor-ring {
   position: fixed;
   width: 38px;
   height: 38px;
   border: 1px solid rgba(var(--gold-rgb), 0.45);
   border-radius: 50%;
   top: 0;
   left: 0;
   z-index: 99998;
   pointer-events: none;
   transform: translate(-50%, -50%);
   transition: width 0.35s var(--ease-smooth),
     height 0.35s var(--ease-smooth),
     border-radius 0.35s var(--ease-smooth);
   will-change: transform, width, height;
 }

 /* ─── LOADER ─── */
 #loader {
   position: fixed;
   inset: 0;
   /* Fondo original oscuro */
   background: var(--bg);
   z-index: 100000;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 36px;
   overflow: hidden;
   isolation: isolate;
   contain: paint;
   opacity: 1;
   visibility: visible;
   will-change: opacity, transform;
   transform: translateZ(0);
   -webkit-transform: translateZ(0);
   backface-visibility: hidden;
   -webkit-backface-visibility: hidden;
 }

 #loader.out {
   pointer-events: none;
 }

 #loader.done {
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.35s ease, visibility 0s linear 0.35s;
 }

 #loader.out .loader-logo {
   animation: logoFlyToNav 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards !important;
 }

 @keyframes loaderLogoIn {
   from {
     opacity: 0;
     transform: translateY(24px) scale(3.73);
   }

   to {
     opacity: 1;
     transform: scale(3.73);
   }
 }

 @keyframes logoFlyToNav {

   0%,
   99% {
     opacity: 1;
   }

0% { transform: translate(0px, 0px) scale(3.73); }

   100% { opacity: 1;
     transform: translate(var(--fly-x, calc(-50vw + 60px)), var(--fly-y, calc(-50vh + 28px))) scale(1);
   }
 }

 #loader.out .loader-bar-wrap,
 #loader.out .loader-pct,
 #loader.out .loader-status,
 #loader.out .loader-tagline {
   opacity: 0 !important;
   transform: translateY(-20px) scale(0.95) !important;
   transition: opacity 0.6s ease-in, transform 0.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) !important;
 }

 #loader.out .loader-bar-wrap {
   transition-delay: 0.1s !important;
 }

 #loader.out .loader-pct,
 #loader.out .loader-status {
   transition-delay: 0.2s !important;
 }

 .loader-emblem {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 12px;
   margin-top: 3.5rem;
   /* Compensa el overflow visual del logo escalado */
 }

 .loader-logo {
   font-family: 'Godber', sans-serif;
   font-size: 1.875rem;
   /* Mismo que nav-logo */
   font-weight: 500;
   letter-spacing: 0.15em;
   /* Mismo que nav-logo */
   color: var(--gold);
   line-height: 1;
   opacity: 0;
   transform: translateY(24px) scale(3.73);
   animation: loaderLogoIn 0.9s var(--ease-smooth) 0.2s forwards;
   margin-bottom: 2.8rem;
   /* Empuja el tagline debajo del logo visualmente escalado */
 }

 .loader-logo .logo-dcma {
   font-family: 'Godber', sans-serif;
   text-transform: lowercase;
   letter-spacing: 0.04em;
   /* Mismo que nav-logo .logo-dcma */
   font-size: 1.25em;
   /* 2.25rem / 1.875rem = 1.2 */
   font-feature-settings: "liga" 1, "calt" 1, "dlig" 1;
   -webkit-font-feature-settings: "liga" 1, "calt" 1, "dlig" 1;
   text-rendering: optimizeLegibility;
 }

 .loader-logo .logo-es {
   font-family: 'Bai Jamjuree', sans-serif;
   font-weight: 500;
   letter-spacing: 0.04em;
   /* Mismo que nav-logo .logo-es */
   opacity: 0.75;
   font-size: 0.52em;
   /* 0.9375rem / 1.875rem = 0.5 */
 }

 .loader-tagline {
   font-size: 0.6875rem;
   letter-spacing: 0.4em;
   text-transform: uppercase;
   color: var(--grey);
   opacity: 0;
   transform: translateY(12px);
   animation: slideUp 0.9s var(--ease-smooth) 0.55s forwards, textPulse 3s ease-in-out infinite alternate 1.5s;
 }

 @keyframes textPulse {
   0% {
     color: var(--grey);
     text-shadow: none;
   }

   100% {
     color: var(--gold-light);
     text-shadow: 0 0 12px rgba(var(--gold-rgb), 0.4);
   }
 }

 /* ── Barra de progreso ── */
 .loader-bar-wrap {
   width: 260px;
   opacity: 0;
   animation: fadeIn 0.4s ease 0.8s forwards;
 }

 .loader-bar-track {
   position: relative;
   width: 100%;
   height: 3px;
   border-radius: 99px;
   background: rgba(var(--gold-rgb), 0.15);
   overflow: hidden;
   margin-bottom: 10px;
 }

 .loader-bar-fill {
   height: 100%;
   width: 0%;
   border-radius: 99px;
   background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
   background-size: 200% 100%;
   animation: barShimmer 1.8s linear infinite;
   transition: width 0.12s linear;
   box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.5);
 }

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

 .loader-bar-glow {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 24px;
   height: 8px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.7);
   filter: blur(4px);
   pointer-events: none;
   transition: left 0.12s linear;
 }

 .loader-status-row {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
 }

 .loader-pct {
   font-size: 0.625rem;
   letter-spacing: 0.2em;
   color: var(--gold);
   min-width: 36px;
 }

 .loader-status {
   font-size: 0.5rem;
   font-weight: 500;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   color: var(--gold-dark);
   text-align: right;
 }

 /* ─── GRAIN OVERLAY ─── */
 #grain {
   position: fixed;
   inset: 0;
   z-index: 9998;
   pointer-events: none;
   opacity: 0.01;
   /* Casi invisible, solo para evitar banding */
   display: block;
   background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
 }

 /* ─── NAV ─── */
 nav {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 9000;
   padding: 28px 60px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   transition: padding 0.4s var(--ease-smooth), background 0.4s, border-color 0.4s;
   border-bottom: 1px solid transparent;
   opacity: 0;
   animation: fadeIn 0.4s ease 3.3s forwards;
   /* Menos delay para que los links aparezcan durante el viaje */
 }

 nav.sticky {
   padding: 16px 60px;
   background: transparent;
   backdrop-filter: none;
   border-bottom-color: transparent;
 }

 .nav-logo {
   font-family: 'Godber', sans-serif;
   font-size: 1.875rem;
   font-weight: 500;
   letter-spacing: 0.15em;
   color: var(--gold);
   transition: opacity 0.3s;
   opacity: 0;
   /* Aparece via JS exactamente cuando logo 1 termina su vuelo */

 }

 .nav-logo .logo-dcma {
   font-family: 'Godber', sans-serif;
   text-transform: lowercase;
   letter-spacing: 0.04em;
   font-size: 1.25em;
   font-feature-settings: "liga" 1, "calt" 1, "dlig" 1;
   -webkit-font-feature-settings: "liga" 1, "calt" 1, "dlig" 1;
   text-rendering: optimizeLegibility;
 }

 .nav-logo .logo-es {
   font-family: 'Bai Jamjuree', sans-serif;
   font-weight: 500;
   letter-spacing: 0.04em;
   opacity: 0.75;
   font-size: 0.52em;
 }

 .nav-logo:hover {
   opacity: 0.8;
 }


#loader:not(.done) ~ nav .nav-logo {
  opacity: 0 !important;
  pointer-events: none !important;
}

 .nav-links {
   display: none;
   /* Menú oculto temporalmente */
 }

 .nav-links a {
   font-size: 0.75rem;
   font-weight: 400;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   color: var(--grey);
   transition: color 0.3s;
   position: relative;
 }

 .nav-links a::after {
   content: '';
   position: absolute;
   bottom: -3px;
   left: 0;
   width: 0;
   height: 1px;
   background: var(--gold);
   transition: width 0.3s var(--ease-smooth);
 }

 .nav-links a:hover {
   color: var(--gold);
 }

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

 .nav-btn {
   padding: 11px 30px;
   border: 1px solid var(--border);
   border-radius: 2px;
   background: transparent;
   color: var(--gold);
   font-family: var(--ff-body);
   font-size: 0.6875rem;
   font-weight: 500;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   transition: all 0.3s var(--ease-smooth);
 }

 .nav-btn:hover {
   background: var(--gold);
   color: var(--bg);
   border-color: var(--gold);
   box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.3);
 }

 .nav-menu-btn {
   display: none;
   flex-direction: column;
   gap: 5px;
   background: none;
   border: none;
   padding: 6px;
 }

 .nav-menu-btn span {
   display: block;
   width: 24px;
   height: 1px;
   background: var(--gold);
   transition: all 0.3s;
 }

 /* ─── HERO ─── */
 #hero {
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
   padding: 126px 24px 90px;
   position: relative;
   overflow: hidden;
 }

 .hero-glow {
   position: absolute;
   top: -20%;
   left: 50%;
   transform: translateX(-50%);
   width: 900px;
   height: 700px;
   background: radial-gradient(ellipse at 50% 30%, rgba(var(--gold-rgb), 0.07) 0%, rgba(var(--gold-rgb), 0.03) 40%, transparent 70%);
   z-index: 0;
   pointer-events: none;
 }

 .hero-grid-bg {
   position: absolute;
   inset: 0;
   z-index: 0;
   pointer-events: none;
   background-image:
     linear-gradient(rgba(var(--gold-rgb), 0.035) 1px, transparent 1px),
     linear-gradient(90deg, rgba(var(--gold-rgb), 0.035) 1px, transparent 1px);
   background-size: 90px 90px;
   mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, black 0%, transparent 80%);
 }

 .particle {
   position: absolute;
   width: 2px;
   height: 2px;
   background: var(--gold);
   border-radius: 50%;
   opacity: 0;
   z-index: 0;
   animation: particleDrift linear infinite;
 }

 .hero-badge {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 7.5px 23px;
   border: 1px solid var(--border);
   border-radius: 100px;
   font-size: 0.656rem;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: var(--gold);
   background: rgba(var(--gold-rgb), 0.05);
   margin-bottom: 32px;
   position: relative;
   z-index: 1;
   opacity: 0;
   animation: slideUp 0.8s var(--ease-smooth) 3.5s forwards;
 }

 .hero-badge-dot {
   width: 5px;
   height: 5px;
   border-radius: 50%;
   background: var(--gold);
   box-shadow: 0 0 6px var(--gold);
   animation: pulseDot 2s ease-in-out infinite;
   flex-shrink: 0;
   margin-top: -1px;
 }

 .hero-title {
   font-family: 'IvyPresto Text', Georgia, serif;
   font-size: clamp(2.25rem, 5.85vw, 5rem);
   font-weight: 300;
   line-height: 1.08;
   letter-spacing: -0.01em;
   max-width: 1100px;
   position: relative;
   z-index: 1;
   margin-bottom: 29px;
 }

 .titulo-connect {
   color: var(--gold-light);
   font-size: clamp(3rem, 7vw, 6.5rem);
   text-transform: uppercase;
   letter-spacing: 0.02em;
   margin: 0;
   display: block;
 }

 .hero-title .line {
   display: block;
   overflow: hidden;
   padding: 0.05em 0.08em;
   margin: -0.05em -0.08em;
 }

 .hero-title .line .word {
   display: inline-block;
   opacity: 0;
   transform: translate3d(0, 100%, 0);
   will-change: transform, opacity;
   animation: wordReveal 0.9s var(--ease-smooth) forwards;
 }

 .hero-title em {
   font-family: 'Diagraph-Bold', serif;
   font-style: italic;
   color: var(--gold);
 }

 .hero-desc {
   max-width: 450px;
   font-size: 0.9rem;
   font-weight: 300;
   color: var(--grey);
   line-height: 1.85;
   position: relative;
   z-index: 1;
   margin-bottom: 47px;
   opacity: 0;
   animation: slideUp 0.9s var(--ease-smooth) 4.2s forwards;
 }

 .hero-desc strong {
   color: var(--white);
   font-weight: 400;
 }

 .hero-actions {
   display: flex;
   gap: 16px;
   flex-wrap: wrap;
   justify-content: center;
   position: relative;
   z-index: 1;
   opacity: 0;
   animation: slideUp 0.9s var(--ease-smooth) 4.45s forwards;
 }

 .hero-scroll-hint {
   position: absolute;
   bottom: 10px;
   left: 50%;
   transform: translateX(-50%);
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 12px;
   z-index: 1;
   opacity: 0;
   animation: fadeIn 1s ease 5s forwards;
 }

 .scroll-label {
   font-size: 0.5625rem;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: var(--grey);
 }

 .scroll-arrow {
   width: 1px;
   height: 56px;
   background: linear-gradient(to bottom, var(--gold), transparent);
   animation: arrowPulse 2.5s ease-in-out infinite;
 }

 /* ─── BUTTONS ─── */
 .btn-primary {
   padding: 13.5px 40px;
   background: var(--gold);
   color: var(--bg);
   font-family: var(--ff-body);
   font-size: 0.8125rem;
   font-weight: 500;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   border: none;
   border-radius: 2px;
   transition: all 0.35s var(--ease-smooth);
   box-shadow: 0 8px 40px rgba(var(--gold-rgb), 0.2);
   position: relative;
   overflow: hidden;
 }

 .btn-primary::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
   transform: translateX(-100%);
   transition: transform 0.6s var(--ease-smooth);
 }

 .btn-primary:hover {
   background: var(--gold-light);
   transform: translateY(-3px);
   box-shadow: 0 16px 60px rgba(var(--gold-rgb), 0.35);
 }

 .btn-primary:hover::before {
   transform: translateX(100%);
 }

 .btn-outline {
   padding: 13.5px 40px;
   background: transparent;
   color: var(--white);
   font-family: var(--ff-body);
   font-size: 0.8125rem;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   border: 1px solid var(--border-2);
   border-radius: 2px;
   transition: all 0.35s var(--ease-smooth);
 }

 .btn-outline:hover {
   border-color: var(--gold);
   color: var(--gold);
   transform: translateY(-3px);
   background: rgba(var(--gold-rgb), 0.04);
 }

 .btn-urgent {
   padding: 16px 44px;
   background: #ef4444;
   color: white;
   font-family: var(--ff-body);
   font-size: 0.75rem;
   font-weight: 500;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   border: none;
   border-radius: 2px;
   transition: all 0.3s;
   box-shadow: 0 8px 30px rgba(239, 68, 68, 0.2);
 }

 .btn-urgent:hover {
   background: #dc2626;
   transform: translateY(-2px);
   box-shadow: 0 12px 40px rgba(239, 68, 68, 0.35);
 }

 /* ─── STATS ─── */
 #stats {
   padding: 0;
   border-top: 1px solid var(--border);
   border-bottom: 1px solid var(--border);
   background: linear-gradient(to right, var(--bg-2), var(--bg-3), var(--bg-2));
 }

 .stats-inner {
   max-width: 1100px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(4, 1fr);
 }

 .stat-item {
   padding: 56px 40px;
   text-align: center;
   border-right: 1px solid var(--border);
   position: relative;
 }

 .stat-item:last-child {
   border-right: none;
 }

 .stat-item::before {
   content: '';
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 40px;
   height: 1px;
   background: var(--gold);
   opacity: 0;
   transition: opacity 0.4s, width 0.4s;
 }

 .stat-item:hover::before {
   opacity: 1;
   width: 80px;
 }

 .stat-num {
   font-family: var(--ff-head);
   font-size: clamp(2.4rem, 4vw, 3.5rem);
   font-weight: 300;
   color: var(--gold);
   line-height: 1;
   display: block;
   margin-bottom: 10px;
 }

 .stat-label {
   font-size: 0.6875rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: var(--grey);
 }

 /* ─── REVEAL SYSTEM ─── */
 .reveal {
   opacity: 0;
   transform: translateY(36px);
   transition: opacity 0.85s var(--ease-smooth), transform 0.85s var(--ease-smooth);
 }

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

 .reveal-left {
   opacity: 0;
   transform: translateX(-40px);
   transition: opacity 0.85s var(--ease-smooth), transform 0.85s var(--ease-smooth);
 }

 .reveal-left.active {
   opacity: 1;
   transform: translateX(0);
 }

 .reveal-right {
   opacity: 0;
   transform: translateX(40px);
   transition: opacity 0.85s var(--ease-smooth), transform 0.85s var(--ease-smooth);
 }

 .reveal-right.active {
   opacity: 1;
   transform: translateX(0);
 }

 .delay-1 {
   transition-delay: 0.1s !important;
 }

 .delay-2 {
   transition-delay: 0.2s !important;
 }

 .delay-3 {
   transition-delay: 0.3s !important;
 }

 .delay-4 {
   transition-delay: 0.4s !important;
 }

 .delay-5 {
   transition-delay: 0.5s !important;
 }

 .delay-6 {
   transition-delay: 0.6s !important;
 }

 /* ─── SECTIONS SHARED ─── */
 .section {
   padding: 130px 5%;
 }

 .section-alt {
   background: var(--bg-2);
 }

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

 .container-sm {
   max-width: 900px;
   margin: 0 auto;
 }

 .section-label {
   display: inline-block;
   font-size: 0.625rem;
   letter-spacing: 0.4em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 18px;
 }

 .section-title {
   font-family: 'IvyPresto Text', Georgia, serif;
   font-size: clamp(2rem, 4.5vw, 4rem);
   font-weight: 300;
   line-height: 1.12;
   margin-bottom: 22px;
 }

 .section-title em {
  font-family: 'IvyPresto Display', Georgia, serif;
  font-style: italic;
  color: var(--gold);
}

 .section-sub {
   font-size: 0.9375rem;
   font-weight: 300;
   color: var(--grey);
   max-width: 520px;
   line-height: 1.85;
 }

 .gold-line {
   width: 48px;
   height: 1px;
   background: linear-gradient(90deg, var(--gold), transparent);
   margin-bottom: 24px;
 }

 /* ─── SERVICES ─── */
 #services .services-header {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   margin-bottom: 80px;
   gap: 40px;
   flex-wrap: wrap;
 }

 #services .services-header .section-sub {
   max-width: 400px;
 }

 .services-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1px;
   background: var(--border);
   border: 1px solid var(--border);
 }

 .service-card {
   background: var(--bg);
   padding: 52px 44px;
   position: relative;
   overflow: hidden;
   transition: background 0.4s;
 }

 .section-alt .service-card {
   background: var(--bg-2);
 }

 .service-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 1px;
   background: linear-gradient(90deg, transparent, var(--gold), transparent);
   transform: scaleX(0);
   transform-origin: center;
   transition: transform 0.5s var(--ease-smooth);
 }

 .service-card:hover {
   background: rgba(var(--gold-rgb), 0.03);
 }

 .service-card:hover::before {
   transform: scaleX(1);
 }

 .service-icon {
   width: 54px;
   height: 54px;
   display: flex;
   align-items: center;
   justify-content: center;
   border: 1px solid var(--border);
   border-radius: 4px;
   margin-bottom: 32px;
   transition: border-color 0.3s, box-shadow 0.3s;
 }

 .service-card:hover .service-icon {
   border-color: var(--gold);
   box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.15);
 }

 .service-icon svg {
   width: 22px;
   height: 22px;
   stroke: var(--gold);
   fill: none;
   stroke-width: 1.5;
   stroke-linecap: round;
   stroke-linejoin: round;
 }

 .service-num {
   font-family: var(--ff-head);
   font-size: 0.75rem;
   letter-spacing: 0.2em;
   color: var(--gold-dark);
   margin-bottom: 14px;
   display: block;
 }

 .service-name {
   font-family: var(--ff-head);
   font-size: 1.5625rem;
   font-weight: 400;
   line-height: 1.25;
   margin-bottom: 16px;
   transition: color 0.3s;
 }

 .service-card:hover .service-name {
   color: var(--gold);
 }

 .service-desc {
   font-size: 0.875rem;
   color: var(--grey);
   line-height: 1.8;
   margin-bottom: 28px;
 }

 .service-link {
   font-size: 0.6875rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: var(--gold);
   display: inline-flex;
   align-items: center;
   gap: 10px;
   opacity: 0;
   transform: translateY(4px);
   transition: opacity 0.3s, transform 0.3s;
 }

 .service-link::after {
   content: '→';
   transition: transform 0.3s;
 }

 .service-card:hover .service-link {
   opacity: 1;
   transform: translateY(0);
 }

 .service-card:hover .service-link::after {
   transform: translateX(4px);
 }

 /* ─── PLATFORMS ─── */
 #plataformas {
   padding: 50px 24px;
   overflow: hidden;
 }

 #plataformas .section-title {
   text-align: center;
 }

 #plataformas .section-label {
   display: block;
   text-align: center;
 }

 .platforms-intro {
   text-align: center;
   max-width: 560px;
   margin: 0 auto 70px;
   font-size: 0.9375rem;
   color: var(--grey);
   line-height: 1.85;
 }

 .platforms-track-wrap {
   position: relative;
   overflow: hidden;
   padding: 20px 0;
   -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05) 5%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 0.8) 30%, black 50%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0.4) 85%, rgba(0, 0, 0, 0.05) 95%, transparent);
   mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05) 5%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 0.8) 30%, black 50%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0.4) 85%, rgba(0, 0, 0, 0.05) 95%, transparent);
 }

 .platforms-track-wrap::before,
 .platforms-track-wrap::after {
   content: '';
   position: absolute;
   top: 0;
   bottom: 0;
   width: 200px;
   z-index: 2;
   pointer-events: none;
   display: none;
   /* Quitamos el degradado de fondo para usar la máscara */
 }

 .platforms-track {
   display: flex;
   gap: 16px;
   width: max-content;
   animation: marquee 30s linear infinite;
 }

 .platforms-track:hover {
   animation-play-state: paused;
 }

 .platform-pill {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 14px 28px;
   border: 1px solid var(--border);
   border-radius: 100px;
   background: rgba(255, 255, 255, 0.05);
   /* Más sólido para evitar banding del fondo */
   box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.02);
   white-space: nowrap;
   transition: all 0.35s;
   font-size: 0.8125rem;
   font-weight: 400;
   color: var(--grey);
   /* Eliminamos backdrop-filter que causaba arrugas internas */
 }

 .platform-pill:hover {
   border-color: var(--gold);
   color: var(--white);
   background: rgba(var(--gold-rgb), 0.06);
 }

 .platform-icon {
   font-size: 1.125rem;
   line-height: 1;
 }

 .platform-pill .fast {
   font-size: 0.5625rem;
   letter-spacing: 0.15em;
   text-transform: uppercase;
   color: #4ade80;
   padding: 2px 8px;
   border: 1px solid rgba(74, 222, 128, 0.25);
   border-radius: 100px;
   background: rgba(74, 222, 128, 0.06);
 }

 .platform-pill .slow {
   font-size: 0.5625rem;
   letter-spacing: 0.15em;
   text-transform: uppercase;
   color: #f59e0b;
   padding: 2px 8px;
   border: 1px solid rgba(245, 158, 11, 0.25);
   border-radius: 100px;
   background: rgba(245, 158, 11, 0.06);
 }

 .platform-pill .veryslow {
   font-size: 0.5625rem;
   letter-spacing: 0.15em;
   text-transform: uppercase;
   color: #f87171;
   padding: 2px 8px;
   border: 1px solid rgba(248, 113, 113, 0.25);
   border-radius: 100px;
   background: rgba(248, 113, 113, 0.06);
 }

 /* ─── PROCESS ─── */
 #process {
   position: relative;
 }

 #process .container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 100px;
   align-items: start;
 }

 #process .process-left {
   position: sticky;
   top: 120px;
 }

 .process-left .section-sub {
   max-width: 100%;
 }

 .process-visual {
   margin-top: 52px;
   position: relative;
   padding: 40px;
   border: 1px solid var(--border);
   border-radius: 4px;
   background: var(--bg-card);
   backdrop-filter: blur(10px);
   overflow: hidden;
 }

 .process-visual::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(ellipse at 60% 40%, rgba(var(--gold-rgb), 0.05) 0%, transparent 60%);
   pointer-events: none;
 }

 .pv-label {
   font-size: 0.625rem;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 20px;
   display: block;
 }

 .pv-time {
   font-family: var(--ff-head);
   font-size: 3.5rem;
   font-weight: 300;
   color: var(--white);
   line-height: 1;
   margin-bottom: 8px;
 }

 .pv-sub {
   font-size: 0.8125rem;
   color: var(--grey);
   margin-bottom: 28px;
 }

 .pv-bar-wrap {
   height: 3px;
   background: rgba(var(--gold-rgb), 0.1);
   border-radius: 2px;
   overflow: hidden;
 }

 .pv-bar {
   height: 100%;
   width: 85%;
   background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
   border-radius: 2px;
   animation: barAnim 3s ease-in-out infinite alternate;
 }

 .steps-list {
   display: flex;
   flex-direction: column;
   gap: 0;
 }

 .step-item {
   display: flex;
   gap: 32px;
   padding: 40px 0;
   border-bottom: 1px solid var(--border);
   position: relative;
 }

 .step-item:last-child {
   border-bottom: none;
 }

 .step-num-wrap {
   flex-shrink: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0;
 }

 .step-num {
   width: 44px;
   height: 44px;
   border: 1px solid var(--border);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-family: var(--ff-head);
   font-size: 1.125rem;
   font-weight: 400;
   color: var(--gold);
   flex-shrink: 0;
   transition: all 0.3s;
 }

 .step-item:hover .step-num {
   border-color: var(--gold);
   background: var(--gold-glow);
   box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.15);
 }

 .step-connector {
   width: 1px;
   flex: 1;
   min-height: 30px;
   background: var(--border);
   margin-top: 8px;
 }

 .step-item:last-child .step-connector {
   display: none;
 }

 .step-content {
   padding-top: 8px;
 }

 .step-title {
   font-family: var(--ff-head);
   font-size: 1.375rem;
   font-weight: 400;
   margin-bottom: 10px;
   transition: color 0.3s;
 }

 .step-item:hover .step-title {
   color: var(--gold);
 }

 .step-desc {
   font-size: 0.875rem;
   color: var(--grey);
   line-height: 1.8;
 }

 /* ─── WHY US ─── */
 #why {
   text-align: center;
 }

 #why .section-title {
   max-width: 700px;
   margin: 0 auto 80px;
 }

 .why-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 32px;
   margin-bottom: 80px;
 }

 .why-card {
   padding: 44px 36px;
   border: 1px solid var(--border);
   border-radius: 4px;
   background: var(--bg-card);
   text-align: left;
   position: relative;
   overflow: hidden;
   transition: all 0.4s var(--ease-smooth);
   backdrop-filter: blur(8px);
 }

 .why-card::after {
   content: '';
   position: absolute;
   inset: 0;
   background: radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb), 0.08) 0%, transparent 60%);
   opacity: 0;
   transition: opacity 0.4s;
 }

 .why-card:hover {
   border-color: rgba(var(--gold-rgb), 0.3);
   transform: translateY(-6px);
   box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(var(--gold-rgb), 0.08);
 }

 .why-card:hover::after {
   opacity: 1;
 }

 .why-icon {
   font-size: 2rem;
   margin-bottom: 24px;
   display: block;
 }

 .why-title {
   font-family: var(--ff-head);
   font-size: 1.375rem;
   font-weight: 400;
   margin-bottom: 12px;
   transition: color 0.3s;
 }

 .why-card:hover .why-title {
   color: var(--gold);
 }

 .why-text {
   font-size: 0.875rem;
   color: var(--grey);
   line-height: 1.8;
 }

 /* ─── EMERGENCY ─── */
 #emergency {
   padding: 80px 24px;
   background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.06) 0%, rgba(var(--gold-rgb), 0.02) 50%, rgba(100, 80, 200, 0.03) 100%);
   border-top: 1px solid var(--border);
   border-bottom: 1px solid var(--border);
   text-align: center;
 }

 .emergency-tag {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 6px 20px;
   border: 1px solid rgba(239, 68, 68, 0.3);
   border-radius: 100px;
   font-size: 0.625rem;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: #ef4444;
   background: rgba(239, 68, 68, 0.05);
   margin-bottom: 24px;
 }

 .emergency-dot {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: #ef4444;
   box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
   animation: pulseDot 1.2s ease-in-out infinite;
 }

 .emergency-title {
   font-family: 'IvyPresto Text', Georgia, serif;
   font-size: clamp(1.8rem, 3.5vw, 3rem);
   font-weight: 300;
   margin-bottom: 16px;
 }

 .emergency-desc {
   font-size: 0.9375rem;
   color: var(--grey);
   max-width: 480px;
   margin: 0 auto 36px;
   line-height: 1.85;
 }

 .emergency-actions {
   display: flex;
   gap: 16px;
   justify-content: center;
   flex-wrap: wrap;
 }

 /* ─── FAQ ─── */
 #faq .faq-header {
   text-align: center;
   margin-bottom: 72px;
 }

 .faq-grid {
   max-width: 800px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: 0;
 }

 .faq-item {
   border-bottom: 1px solid var(--border);
 }

 .faq-question {
   width: 100%;
   padding: 28px 0;
   background: none;
   border: none;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 24px;
   text-align: left;
   font-family: var(--ff-head);
   font-size: 1.25rem;
   font-weight: 400;
   color: var(--white);
   transition: color 0.3s;
 }

 .faq-question:hover {
   color: var(--gold);
 }

 .faq-question.open {
   color: var(--gold);
 }

 .faq-icon {
   width: 28px;
   height: 28px;
   flex-shrink: 0;
   border: 1px solid var(--border);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.35s var(--ease-smooth);
   position: relative;
 }

 .faq-icon::before,
 .faq-icon::after {
   content: '';
   position: absolute;
   background: var(--gold);
   border-radius: 1px;
   transition: all 0.35s var(--ease-smooth);
 }

 .faq-icon::before {
   width: 10px;
   height: 1px;
 }

 .faq-icon::after {
   width: 1px;
   height: 10px;
 }

 .faq-question.open .faq-icon {
   border-color: var(--gold);
   background: rgba(var(--gold-rgb), 0.08);
   transform: rotate(45deg);
 }

 .faq-answer {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.5s var(--ease-smooth), padding 0.3s;
 }

 .faq-answer.open {
   max-height: 400px;
   padding-bottom: 28px;
 }

 .faq-answer p {
   font-size: 0.875rem;
   color: var(--grey);
   line-height: 1.9;
 }

 /* ─── CONTACT ─── */
 #contacto {
   background: var(--bg-2);
   position: relative;
   overflow: visible;
 }

 #contacto::before {
   content: '';
   position: absolute;
   top: -119px;
   left: 0;
   width: 100%;
   height: 120px;
   background-color: #080814;
   -webkit-mask-image: url('data:image/webp;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//2Q==');
   -webkit-mask-size: 100% 100%;
   mask-size: 100% 100%;
   -webkit-mask-repeat: no-repeat;
   mask-repeat: no-repeat;
   pointer-events: none;
   z-index: 2;
 }

 .contact-bg-shape {
   position: absolute;
   bottom: -200px;
   right: -200px;
   width: 700px;
   height: 700px;
   border-radius: 50%;
   background: radial-gradient(circle, rgba(var(--gold-rgb), 0.04) 0%, transparent 70%);
   pointer-events: none;
 }

 #contacto .container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 100px;
   align-items: start;
   position: relative;
   z-index: 1;
 }

 .contact-left .section-sub {
   margin-bottom: 48px;
 }

 .contact-info {
   display: flex;
   flex-direction: column;
   gap: 24px;
 }

 .contact-info-item {
   display: flex;
   align-items: flex-start;
   gap: 16px;
 }

 .ci-icon {
   width: 40px;
   height: 40px;
   border: none;
   border-radius: 4px;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   font-size: 1.125rem;
 }

 .ci-text {
   display: flex;
   flex-direction: column;
   gap: 2px;
 }

 .ci-label {
   font-size: 0.625rem;
   letter-spacing: 0.25em;
   text-transform: uppercase;
   color: var(--grey);
 }

 .ci-value {
   font-size: 0.875rem;
   color: var(--white);
 }

 .contact-form {
   display: flex;
   flex-direction: column;
   gap: 20px;
 }

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

 .form-group {
   display: flex;
   flex-direction: column;
   gap: 8px;
 }

 .form-group label {
   font-size: 0.625rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: var(--grey);
 }

 .form-group input,
 .form-group select,
 .form-group textarea {
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid var(--border-2);
   border-radius: 2px;
   padding: 14px 18px;
   font-family: var(--ff-body);
   font-size: 0.875rem;
   font-weight: 300;
   color: var(--white);
   transition: border-color 0.3s, box-shadow 0.3s;
   outline: none;
   cursor: none;
   -webkit-appearance: none;
   appearance: none;
 }

 .form-group input::placeholder,
 .form-group textarea::placeholder {
   color: var(--grey);
 }

 .form-group input:focus,
 .form-group select:focus,
 .form-group textarea:focus {
   border-color: var(--gold);
   box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.15);
 }

 .form-group select option {
   background: var(--bg-3);
 }

 .form-group textarea {
   resize: vertical;
   min-height: 120px;
 }

 .form-privacy {
   font-size: 0.75rem;
   color: var(--grey);
   line-height: 1.6;
   display: flex;
   align-items: flex-start;
   gap: 10px;
 }

 .form-privacy input[type=checkbox] {
   margin-top: 2px;
   width: 16px;
   height: 16px;
   flex-shrink: 0;
   accent-color: var(--gold);
   cursor: none;
 }

 .form-submit {
   padding: 17px 50px;
   background: var(--gold);
   color: var(--bg);
   font-family: var(--ff-body);
   font-size: 0.75rem;
   font-weight: 500;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   border: none;
   border-radius: 2px;
   width: 100%;
   transition: all 0.35s var(--ease-smooth);
   position: relative;
   overflow: hidden;
 }

 .form-submit:hover {
   background: var(--gold-light);
   box-shadow: 0 12px 40px rgba(var(--gold-rgb), 0.3);
   transform: translateY(-2px);
 }


 /* ─── SEPARADOR CURVO CONTACT→FOOTER ─── */


 /* ─── FOOTER ─── */
 footer {
   border-top: 1px solid var(--border);
   padding: 80px 24px 40px;
   background: var(--bg);
   position: relative;
   z-index: 1;
 }


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

 .footer-top {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   gap: 60px;
   margin-bottom: 64px;
 }

 .footer-brand-logo {
   font-family: 'Godber', sans-serif;
   font-size: 2rem;
   font-weight: 500;
   letter-spacing: 0.15em;
   color: var(--gold);
   margin-bottom: 16px;
   display: block;
 }

 .footer-brand-logo .logo-dcma {
   font-family: 'Godber', sans-serif;
   text-transform: lowercase;
   font-weight: 400;
   letter-spacing: 0.04em;
   font-size: 2.375rem;
   font-feature-settings: "liga" 1, "calt" 1, "dlig" 1;
   -webkit-font-feature-settings: "liga" 1, "calt" 1, "dlig" 1;
   text-rendering: optimizeLegibility;
 }

 .footer-brand-logo .logo-es {
   font-family: 'Bai Jamjuree', sans-serif;
   font-weight: 500;
   letter-spacing: 0.05em;
   opacity: 0.85;
   font-size: 1rem;
 }

 .footer-brand-desc {
   font-size: 0.875rem;
   color: var(--grey);
   line-height: 1.8;
   max-width: 280px;
   margin-bottom: 28px;
 }

 .footer-social {
   display: flex;
   gap: 12px;
 }

 .social-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.25rem;
   color: var(--grey);
   transition: all 0.3s;
 }

 .social-btn:hover {
   color: var(--gold);
   transform: scale(1.1);
 }

 .footer-col-title {
   font-size: 0.625rem;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 24px;
   display: block;
 }

 .footer-links {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 12px;
 }

 .footer-links a {
   font-size: 0.875rem;
   color: var(--grey);
   transition: color 0.3s;
   display: flex;
   align-items: center;
   gap: 8px;
 }

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

 .footer-links a::before {
   content: '';
   width: 0;
   height: 1px;
   background: var(--gold);
   transition: width 0.3s;
 }

 .footer-links a:hover::before {
   width: 12px;
 }

 .footer-bottom {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding-top: 32px;
   border-top: 1px solid var(--border);
   gap: 24px;
   flex-wrap: wrap;
 }

 .footer-legal {
   font-size: 0.8125rem;
   color: var(--grey);
 }

 .footer-legal span {
   color: var(--gold-dark);
 }

 .footer-legal-links {
   display: flex;
   gap: 24px;
 }

 .footer-legal-links a {
   font-size: 0.8125rem;
   color: var(--grey);
   letter-spacing: 0.05em;
   transition: color 0.3s;
 }

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

 /* ─── MOBILE NAV DRAWER ─── */
 #nav-drawer {
   position: fixed;
   inset: 0;
   background: rgba(5, 5, 15, 0.97);
   backdrop-filter: blur(20px);
   z-index: 8999;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 36px;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.4s, visibility 0.4s;
 }

 #nav-drawer.open {
   opacity: 1;
   visibility: visible;
 }

 #nav-drawer a {
   font-family: var(--ff-head);
   font-size: 2.1875rem;
   font-weight: 300;
   color: var(--white);
   letter-spacing: 0.05em;
   transition: color 0.3s;
 }

 #nav-drawer a:hover {
   color: var(--gold);
 }

 #nav-drawer .drawer-close {
   position: absolute;
   top: 28px;
   right: 28px;
   background: none;
   border: none;
   font-size: 1.375rem;
   color: var(--grey);
   transition: color 0.3s;
 }

 #nav-drawer .drawer-close:hover {
   color: var(--gold);
 }

 /* ─── KEYFRAMES ─── */
 @keyframes slideUp {
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 @keyframes fadeIn {
   to {
     opacity: 1;
   }
 }

 @keyframes lineProgress {
   to {
     width: 100%;
   }
 }

 @keyframes wordReveal {
   to {
     opacity: 1;
     transform: translate3d(0, 0, 0);
   }
 }

 @keyframes pulseDot {

   0%,
   100% {
     opacity: 1;
     transform: scale(1);
   }

   50% {
     opacity: 0.5;
     transform: scale(0.7);
   }
 }

 @keyframes arrowPulse {

   0%,
   100% {
     opacity: 0.4;
     transform: scaleY(0.8) translateY(-4px);
   }

   50% {
     opacity: 1;
     transform: scaleY(1) translateY(0);
   }
 }

 @keyframes particleDrift {
   0% {
     opacity: 0;
     transform: translateY(0) translateX(0);
   }

   10% {
     opacity: 0.6;
   }

   90% {
     opacity: 0.3;
   }

   100% { opacity: 1;
     transform: translateY(-400px) translateX(var(--drift-x, 30px));
   }
 }

 @keyframes marquee {
   from {
     transform: translateX(0);
   }

   to {
     transform: translateX(-50%);
   }
 }

 @keyframes barAnim {
   from {
     width: 60%;
   }

   to {
     width: 95%;
   }
 }

 /* ─── RESPONSIVE ─── */
 @media (max-width: 1920px) and (min-width: 1025px) {
   #hero {
     padding: 114px 24px 81px;
   }

   .hero-title {
     font-size: clamp(2rem, 5.265vw, 4.375rem);
     max-width: 697px;
     margin-bottom: 26px;
   }

   .hero-desc {
     max-width: 405px;
     font-size: 0.81rem;
     margin-bottom: 42px;
   }

   .hero-badge {
     padding: 6.5px 21px;
     font-size: 0.59rem;
     margin-bottom: 29px;
   }

   .btn-primary {
     padding: 12px 36px;
     font-size: 0.75rem;
   }

   .btn-outline {
     padding: 12px 36px;
     font-size: 0.75rem;
   }
 }

 @media (max-width: 1024px) {
   nav {
     position: absolute !important;
     top: 0 !important;
     left: 0 !important;
     right: 0 !important;
     padding: 22px 36px;
     z-index: 10001 !important;
     opacity: 1 !important;
     visibility: visible !important;
     animation: none !important;
   }

   nav.sticky {
     position: absolute !important;
     top: 0 !important;
     left: 0 !important;
     right: 0 !important;
     padding: 14px 36px;
     z-index: 10001 !important;
     opacity: 1 !important;
     visibility: visible !important;
     animation: none !important;
   }

   .nav-links {
     gap: 32px;
   }

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

   #process .container {
     grid-template-columns: 1fr;
     gap: 60px;
   }

   #process .process-left {
     position: static;
   }

   .footer-top {
     grid-template-columns: 1fr 1fr;
     gap: 40px;
   }

   #contacto .container {
     grid-template-columns: 1fr;
     gap: 60px;
   }
 }

 @media (max-width: 768px) {
   nav {
     position: absolute !important;
     top: 0 !important;
     left: 0 !important;
     right: 0 !important;
     padding: 20px 24px;
     background: transparent !important;
     border: none !important;
     backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     box-shadow: none !important;
     z-index: 10001 !important;
     opacity: 1 !important;
     visibility: visible !important;
     animation: none !important;
   }

   nav.sticky {
     position: absolute !important;
     top: 0 !important;
     left: 0 !important;
     right: 0 !important;
     padding: 14px 24px;
     background: transparent !important;
     border: none !important;
     backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     box-shadow: none !important;
     z-index: 10001 !important;
     opacity: 1 !important;
     visibility: visible !important;
     animation: none !important;
   }

   .nav-logo {
     opacity: 1 !important;
     pointer-events: all;
   }

   .nav-links {
     display: none;
   }

   .nav-menu-btn {
     display: none !important;
   }

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

   .stats-inner {
     grid-template-columns: repeat(2, 1fr);
   }

   .stat-item {
     border-right: none;
     border-bottom: 1px solid var(--border);
   }

   .why-grid {
     grid-template-columns: 1fr;
     gap: 20px;
   }

   #contacto .container {
     grid-template-columns: 1fr;
     gap: 40px;
   }

   .form-row {
     grid-template-columns: 1fr;
   }

   .footer-top {
     grid-template-columns: repeat(2, 1fr);
     gap: 40px 20px;
   }

   .footer-top > div:first-child {
     grid-column: 1 / -1;
     margin-bottom: 10px;
   }

   .loader-logo {
     font-size: 1.3rem !important; /* ~70% de 1.875rem */
   }

   .loader-tagline {
     font-size: 0.48rem !important; /* ~70% de 0.6875rem */
   }

   .nav-logo {
     font-size: 1.3rem !important; /* Coincidir con el logo del preloader al final del vuelo */
     opacity: 1 !important;
     pointer-events: all;
   }

   .section {
     padding: 90px 20px;
   }

   #emergency .emergency-actions {
     flex-direction: column;
     align-items: center;
   }

   body {
     cursor: auto;
   }

   #cursor-dot,
   #cursor-ring {
     display: none;
   }
 }

 /* ─── MODALES GLASSMORPHISM ─── */
 #modal-overlay {
   position: fixed;
   inset: 0;
   background: rgba(4, 8, 20, 0.75);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
   z-index: 9000;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.4s ease;
 }

 #modal-overlay.active {
   opacity: 1;
   pointer-events: all;
 }

 .modal-glass {
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) scale(0.88);
   z-index: 9001;
   width: min(760px, 92vw);
   max-height: 82vh;
   background: rgba(12, 16, 30, 0.72);
   backdrop-filter: blur(32px) saturate(160%);
   -webkit-backdrop-filter: blur(32px) saturate(160%);
   border: 1px solid rgba(var(--gold-rgb), 0.18);
   border-radius: 4px;
   overflow: hidden;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
     transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   box-shadow:
     0 0 0 1px rgba(255, 255, 255, 0.04) inset,
     0 40px 120px rgba(0, 0, 0, 0.7),
     0 0 60px rgba(var(--gold-rgb), 0.06);
 }

 .modal-glass.active {
   opacity: 1;
   pointer-events: all;
   transform: translate(-50%, -50%) scale(1);
 }

 .modal-header {
   position: sticky;
   top: 0;
   padding: 36px 40px 28px;
   background: rgba(8, 12, 24, 0.85);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border-bottom: 1px solid rgba(var(--gold-rgb), 0.12);
   z-index: 2;
 }

 .modal-label {
   display: block;
   font-size: 0.625rem;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: var(--gold);
   opacity: 0.7;
   margin-bottom: 10px;
 }

 .modal-title {
   font-family: var(--ff-head);
   font-size: 2rem;
   font-weight: 300;
   color: var(--white);
   line-height: 1.1;
 }

 .modal-title em {
   font-style: italic;
   color: var(--gold);
 }

 .modal-close {
   position: absolute;
   top: 28px;
   right: 32px;
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 2px;
   color: var(--grey);
   font-size: 0.875rem;
   width: 36px;
   height: 36px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: none;
   transition: background 0.3s, color 0.3s, border-color 0.3s;
 }

 .modal-close:hover {
   background: rgba(var(--gold-rgb), 0.1);
   border-color: rgba(var(--gold-rgb), 0.4);
   color: var(--gold);
 }

 .modal-body {
   padding: 32px 40px 48px;
   overflow-y: auto;
   max-height: calc(82vh - 120px);
   scrollbar-width: thin;
   scrollbar-color: rgba(var(--gold-rgb), 0.3) transparent;
 }

 .modal-body::-webkit-scrollbar {
   width: 4px;
 }

 .modal-body::-webkit-scrollbar-track {
   background: transparent;
 }

 .modal-body::-webkit-scrollbar-thumb {
   background: rgba(var(--gold-rgb), 0.3);
   border-radius: 2px;
 }

 .modal-date {
   font-size: 0.6875rem;
   letter-spacing: 0.15em;
   color: var(--gold);
   opacity: 0.5;
   text-transform: uppercase;
   margin-bottom: 32px;
 }

 .modal-body h3 {
   font-family: var(--ff-head);
   font-size: 0.9375rem;
   font-weight: 400;
   color: var(--gold);
   letter-spacing: 0.05em;
   margin-top: 32px;
   margin-bottom: 10px;
 }

 .modal-body p {
   font-family: var(--ff-body);
   font-size: 0.875rem;
   color: rgba(236, 228, 210, 0.7);
   line-height: 1.8;
 }

 .modal-body p strong {
   color: var(--white);
   font-weight: 500;
 }

 /* Línea decorativa dorada en el borde izquierdo del modal */
 .modal-glass::before {
   content: '';
   position: absolute;
   left: 0;
   top: 0;
   width: 1px;
   height: 100%;
   background: linear-gradient(to bottom, transparent, var(--gold), transparent);
   opacity: 0.4;
 }



 /* ─── SCROLLBAR ─── */
 ::-webkit-scrollbar {
   width: 6px;
 }

 ::-webkit-scrollbar-track {
   background: var(--bg);
 }

 ::-webkit-scrollbar-thumb {
   background: var(--gold-dark);
   border-radius: 3px;
 }

 ::-webkit-scrollbar-thumb:hover {
   background: var(--gold);
 }

 /* ─── SEPARADOR CURVO FOOTER ─── */
 .footer-curve {
   display: none;
 }

 /* ─── MÁSCARA SECCIONES ─── */
 .section-masked {
   position: relative;
   z-index: 2;
   margin-top: -6rem;
   padding-top: 10rem;
 }

 #plataformas {
   padding-top: calc(10rem - 10px + 15px);
   padding-bottom: calc(130px - 15px);
 }

 #servicios {
   margin-bottom: 25px;
 }

 #faq {
   position: relative;
   z-index: 1;
 }

 /* ═══════════════════════════════════════════════
   Estilos movidos desde index.html
═══════════════════════════════════════════════ */

 /* ── Separación services-grid del header ── */
 .services-grid {
   margin-top: 64px;
 }

 /* ── Iconos SVG dorados elegantes ── */
 .service-icon svg {
   width: 100%;
   height: 100%;
   stroke: var(--gold);
   filter: drop-shadow(0 0 6px rgba(var(--gold-rgb), 0.35));
   transform: scale(0.64);
   transform-origin: center;
 }

 .why-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 34px;
   height: 34px;
   margin-bottom: 20px;
 }

 .why-icon svg {
   width: 100%;
   height: 100%;
   stroke: var(--gold);
   filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), 0.4));
   transition: filter 0.3s ease, transform 0.3s ease;
 }

 .why-card:hover .why-icon svg {
   filter: drop-shadow(0 0 10px rgba(var(--gold-rgb), 0.7));
   transform: scale(1.08);
 }

 .ci-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 26px;
   height: 26px;
   flex-shrink: 0;
 }

 .ci-icon svg {
   width: 100%;
   height: 100%;
   stroke: var(--gold);
   filter: drop-shadow(0 0 4px rgba(var(--gold-rgb), 0.4));
 }

 .social-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 23px;
   height: 23px;
 }

 .social-btn svg {
   width: 100%;
   height: 100%;
   stroke: var(--gold);
   opacity: 0.75;
   transition: opacity 0.3s, filter 0.3s, transform 0.3s;
 }

 .social-btn:hover svg {
   opacity: 1;
   filter: drop-shadow(0 0 6px rgba(var(--gold-rgb), 0.6));
   transform: scale(1.1);
 }

 /* ── Iconos de plataformas (pills) ── */
 .pill-icon {
   width: 16px;
   height: 16px;
   stroke: var(--gold);
   flex-shrink: 0;
   vertical-align: middle;
   margin-right: 6px;
   display: inline-block;
 }

 .platform-pill {
   display: inline-flex;
   align-items: center;
   gap: 6px;
 }

 /* ── TESTIMONIOS ── */
 #testimonios {
   border-top: 1px solid rgba(var(--gold-rgb), 0.12);
 }

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

 .testimonio-card {
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: 4px;
   padding: 32px 28px;
   display: flex;
   flex-direction: column;
   gap: 20px;
   transition: border-color 0.3s;
 }

 .testimonio-card:hover {
   border-color: rgba(var(--gold-rgb), 0.3);
 }

 .testimonio-stars {
   display: flex;
   gap: 4px;
 }

 .testimonio-stars svg {
   width: 14px;
   height: 14px;
   color: var(--gold);
 }

 .testimonio-text {
   font-family: var(--ff-head);
   font-size: 1.05rem;
   font-weight: 300;
   font-style: italic;
   color: var(--white);
   line-height: 1.75;
   flex: 1;
 }

 .testimonio-author {
   display: flex;
   align-items: center;
   gap: 14px;
   padding-top: 16px;
   border-top: 1px solid var(--border);
 }

 .testimonio-avatar {
   width: 38px;
   height: 38px;
   border-radius: 50%;
   background: rgba(var(--gold-rgb), 0.12);
   border: 1px solid rgba(var(--gold-rgb), 0.3);
   display: flex;
   align-items: center;
   justify-content: center;
   font-family: 'Godber', sans-serif;
   font-size: 1rem;
   color: var(--gold);
   flex-shrink: 0;
 }

 .testimonio-name {
   display: block;
   font-size: 0.85rem;
   font-weight: 500;
   color: var(--white);
 }

 .testimonio-meta {
   display: block;
   font-size: 0.72rem;
   letter-spacing: 0.1em;
   color: var(--grey);
   margin-top: 2px;
 }

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

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

 /* ── MENU ELASTICO ── */
 .top-bar {
   position: fixed;
   top: 20px;
   left: 50%;
   transform: translateX(-50%);
   z-index: 9001;
 }

 .bar-inner {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 10px 32px;
   background: transparent;
   border: none;
   border-radius: 100px;
   gap: 24px;
   cursor: pointer;
   user-select: none;
 }

 .bar-label {
   font-size: .72rem;
   font-weight: 600;
   letter-spacing: .12em;
   text-transform: uppercase;
   color: rgba(var(--gold-rgb), 0.65);
 }

 .bar-icon {
   width: 28px;
   height: 28px;
   border-radius: 50%;
   background: rgba(var(--gold-rgb), 0.1);
   border: 1px solid rgba(var(--gold-rgb), 0.3);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: background .3s, border-color .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
   flex-shrink: 0;
 }

 .top-bar:hover .bar-icon {
   background: rgba(var(--gold-rgb), 0.2);
   border-color: rgba(var(--gold-rgb), 0.7);
   transform: rotate(90deg);
 }

 .bar-icon svg {
   width: 13px;
   height: 13px;
   stroke: var(--gold);
   fill: none;
   stroke-width: 2;
   stroke-linecap: round;
 }

 .menu-dropdown {
   position: absolute;
   top: calc(100% - 4px);
   left: 50%;
   transform: translateX(-50%) scaleY(0.6) translateY(-16px);
   transform-origin: top center;
   opacity: 0;
   pointer-events: none;
   background: rgba(8, 10, 22, 0.96);
   border: 1px solid rgba(var(--gold-rgb), 0.18);
   border-radius: 18px;
   padding: 20px 8px 8px;
   min-width: 210px;
   backdrop-filter: blur(24px);
   -webkit-backdrop-filter: blur(24px);
   box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
   transition: opacity .25s ease, transform .5s cubic-bezier(.34, 1.6, .64, 1);
 }

 .menu-dropdown::before {
   content: "";
   position: absolute;
   top: -5px;
   left: 50%;
   transform: translateX(-50%) rotate(45deg);
   width: 10px;
   height: 10px;
   background: rgba(8, 10, 22, 0.96);
   border-left: 1px solid rgba(var(--gold-rgb), 0.18);
   border-top: 1px solid rgba(var(--gold-rgb), 0.18);
 }

 .top-bar:hover .menu-dropdown {
   opacity: 1;
   transform: translateX(-50%) scaleY(1) translateY(0);
   pointer-events: all;
 }

 .menu-item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 11px 16px;
   border-radius: 11px;
   color: rgba(220, 210, 190, 0.55);
   font-size: .83rem;
   font-weight: 500;
   letter-spacing: .03em;
   text-decoration: none;
   border: 1px solid transparent;
   white-space: nowrap;
   opacity: 0;
   transform: translateY(6px);
   transition: background .2s, color .2s, border-color .2s, padding-left .25s, opacity .3s ease, transform .35s cubic-bezier(.34, 1.4, .64, 1);
 }

 .menu-item:hover {
   background: rgba(var(--gold-rgb), 0.07);
   border-color: rgba(var(--gold-rgb), 0.14);
   color: var(--gold);
   padding-left: 22px;
 }

 .menu-item svg {
   width: 14px;
   height: 14px;
   stroke: currentColor;
   fill: none;
   stroke-width: 1.6;
   stroke-linecap: round;
   stroke-linejoin: round;
   flex-shrink: 0;
   opacity: .7;
 }

 .top-bar:hover .menu-item:nth-child(1) {
   opacity: 1;
   transform: none;
   transition-delay: .05s
 }

 .top-bar:hover .menu-item:nth-child(2) {
   opacity: 1;
   transform: none;
   transition-delay: .10s
 }

 .top-bar:hover .menu-item:nth-child(3) {
   opacity: 1;
   transform: none;
   transition-delay: .15s
 }

 .top-bar:hover .menu-item:nth-child(4) {
   opacity: 1;
   transform: none;
   transition-delay: .20s
 }

 .top-bar:hover .menu-item:nth-child(5) {
   opacity: 1;
   transform: none;
   transition-delay: .27s
 }

 .menu-sep {
   height: 1px;
   background: rgba(var(--gold-rgb), 0.1);
   margin: 5px 10px;
 }

 /* ── HERO CANVAS ── */
 #hero-canvas {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   z-index: 0;
   opacity: 0;
   animation: canvasFadeIn 2s ease 0.5s forwards;
 }

 @keyframes canvasFadeIn {
   to {
     opacity: 1;
   }
 }

 /* ── COOKIE BANNER ── */
 #cookie-banner {
   position: fixed;
   bottom: 24px;
   left: 50%;
   transform: translateX(-50%);
   z-index: 89000;
   width: min(900px, calc(100vw - 48px));
   background: rgba(10, 12, 26, 0.96);
   border: 1px solid rgba(var(--gold-rgb), 0.2);
   border-radius: 16px;
   backdrop-filter: blur(24px);
   -webkit-backdrop-filter: blur(24px);
   box-shadow: none;
   padding: 20px 28px;
   transition: opacity 0.4s ease, transform 0.4s ease;
 }

 #cookie-banner.hidden {
   opacity: 0;
   transform: translateX(-50%) translateY(20px);
   pointer-events: none;
 }

 .cookie-inner {
   display: flex;
   align-items: center;
   gap: 24px;
   flex-wrap: wrap;
 }

 .cookie-text {
   flex: 1;
   min-width: 240px;
 }

 .cookie-title {
   display: block;
   font-size: 0.8rem;
   font-weight: 500;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 6px;
 }

 .cookie-text p {
   font-size: 0.8rem;
   color: var(--grey);
   line-height: 1.6;
 }

 .cookie-text a {
   color: var(--gold);
   text-decoration: underline;
 }

 .cookie-actions {
   display: flex;
   gap: 12px;
   flex-shrink: 0;
 }

 .cookie-btn-primary {
   padding: 10px 24px;
   background: var(--gold);
   color: #05050f;
   border: none;
   border-radius: 4px;
   font-size: 0.78rem;
   font-weight: 500;
   letter-spacing: 0.08em;
   cursor: pointer;
   transition: opacity 0.2s;
 }

 .cookie-btn-primary:hover {
   opacity: 0.85;
 }

 .cookie-btn-secondary {
   padding: 10px 24px;
   background: transparent;
   color: var(--grey);
   border: 1px solid rgba(var(--gold-rgb), 0.2);
   border-radius: 4px;
   font-size: 0.78rem;
   cursor: pointer;
   transition: border-color 0.2s, color 0.2s;
 }

 .cookie-btn-secondary:hover {
   border-color: var(--gold);
   color: var(--gold);
 }

 @media (max-width: 600px) {
   .cookie-actions {
     width: 100%;
     justify-content: flex-end;
   }
 }

 /* ── SIDE NAV ── */
 /* ─── SIDE PANEL (contenedor menú + toggle) ─── */
 #side-panel {
   position: fixed;
   left: 20px;
   top: 50%;
   transform: translateY(-50%);
   z-index: 9000;
   display: flex;
   flex-direction: column;
   align-items: stretch;
   gap: 8px;
   transition: left 0.4s var(--ease-smooth);
 }

 /* ─── BOTÓN TOGGLE SIDE PANEL ─── */
 .side-panel-toggle {
   position: absolute;
   right: -25px;
   top: 50%;
   transform: translateY(-50%);
   width: 25px;
   height: 60px;
   background: var(--gold-light);
   border: 1px solid rgba(0, 0, 0, 0.1);
   border-left: none;
   border-radius: 0 8px 8px 0;
   color: #1a1730;
   display: none;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   backdrop-filter: none;
   -webkit-backdrop-filter: none;
   transition: background 0.3s, color 0.3s;
   z-index: 9001;
 }

 html.day .side-panel-toggle {
   background: #05050f;
   color: #f0ece2;
   border-color: rgba(255, 255, 255, 0.1);
 }

 .side-panel-toggle svg {
   width: 16px;
   height: 16px;
   transition: transform 0.4s var(--ease-smooth);
 }

 #side-panel.active .side-panel-toggle svg {
   transform: rotate(180deg);
 }

 @media (max-width: 768px) {
   #side-panel {
     left: -65px;
   }

   #side-panel.active {
     left: 15px;
   }

   .side-panel-toggle {
     display: flex;
   }

   #side-nav {
     padding: 14px 8px;
   }
 }

 #side-nav {
   position: static;
   left: auto;
   top: auto;
   transform: none;
   z-index: auto;
   display: flex;
   flex-direction: column;
   gap: 6px;
   background: rgba(12, 12, 22, 0.85);
   border: 1px solid rgba(var(--gold-rgb), 0.15);
   border-radius: 40px;
   padding: 18px 12px;
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   box-shadow: none;
 }

 #side-nav a {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   color: rgba(var(--gold-rgb), 0.5);
   transition: color 0.3s, background 0.3s;
 }

 #side-nav a:hover {
   color: var(--gold);
   background: rgba(var(--gold-rgb), 0.1);
 }

 #side-nav a svg {
   width: 17px;
   height: 17px;
 }

 /* ── ERRORES INLINE FORMULARIO ── */
 .field-error {
   display: block;
   margin-top: 6px;
   padding: 8px 12px;
   background: rgba(248, 113, 113, 0.08);
   border-left: 2px solid #f87171;
   border-radius: 2px;
   font-size: 0.78rem;
   color: #f87171;
   line-height: 1.5;
 }

 .field-invalid {
   border-color: #f87171 !important;
   box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.3);
 }

 /* ── TOOLTIP CRISTAL SIDE-NAV ── */
 #side-nav a {
   position: relative;
 }

 #side-nav a::after {
   content: attr(data-tooltip);
   position: absolute;
   left: calc(100% + 16px);
   top: 50%;
   transform: translateY(-50%) translateX(-6px);
   white-space: nowrap;
   padding: 6px 14px;
   border-radius: 8px;
   font-size: 0.75rem;
   font-weight: 500;
   letter-spacing: 0.06em;
   color: rgba(var(--gold-rgb), 0.9);
   background: rgba(12, 12, 22, 0.55);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   pointer-events: none;
   opacity: 0;
   transition: opacity 0.2s ease, transform 0.2s ease;
 }

 #side-nav a:hover::after {
   opacity: 1;
   transform: translateY(-50%) translateX(0);
 }

 /* ─── TOGGLE DÍA / NOCHE ─── */
 .theme-switch-wrap {
   align-self: center;
   margin-top: 4px;
 }

 .theme-switch-wrap input {
   position: absolute;
   left: -9999px;
 }

 .slider-v2 {
  position: relative;
  display: block;
  width: 42px;
  height: 22px;
  cursor: pointer;
  border-radius: 11px;
  transition: 350ms;
  background: rgba(12, 12, 22, 0.9);
  border: 1px solid rgba(201,168,76,0.2);
}

 .slider-v2::after {
  position: absolute;
  content: '';
  width: 16px;
  height: 16px;
  top: 2px;
  left: 3px;
  border-radius: 50%;
  transition: 250ms ease-in-out;
  background: rgba(201,168,76,0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

 .slider-v2::before {
  position: absolute;
  content: '';
  width: 26px;
  height: 10px;
  top: 5px;
  left: 8px;
  border-radius: 7px;
  transition: 250ms ease-in-out;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) inset;
}

 #theme-checkbox:checked + .slider-v2::before {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) inset, 20px 0 0 0 rgba(201,168,76,0.4) inset;
}

 #theme-checkbox:checked + .slider-v2::after {
  left: 21px;
  background: var(--gold);
}

 html.day .slider-v2 {
   border-color: rgba(201, 168, 76, 0.5);
   background: rgba(200, 190, 170, 0.4);
 }

 html.day .form-group input,
 html.day .form-group select,
 html.day .form-group textarea {
   background: rgba(255, 255, 255, 0.6);
   border-color: rgba(201, 168, 76, 0.35);
   color: #2a2010;
 }

 html.day .form-group input::placeholder,
 html.day .form-group textarea::placeholder {
   color: rgba(0, 0, 0, 0.35);
 }

 html.day .form-group select option {
   background: #f2ede3;
   color: #2a2010;
 }

 html.day .titulo-connect {
   color: var(--gold);
 }

 html.day #side-nav {
   background: rgba(200, 190, 170, 0.4);
 }

 html.day #side-nav a {
   color: #7a5c20;
 }

 html.day #side-nav a:hover {
   color: var(--gold-dark);
   background: rgba(201, 168, 76, 0.15);
 }

 html.day #contacto::before {
   display: none;
 }

 /* ─── VARIABLES MODO DÍA ─── */
 html.day {
   --bg: #f2ede3;
   --bg-2: #ece6d8;
   --bg-3: #e5ddd0;
   --bg-card: rgba(0, 0, 0, 0.03);
   --white: #1a1730;
   --grey: #5a5870;
   --border: rgba(201, 168, 76, 0.25);
   --gold-glow: rgba(201, 168, 76, 0.15);
 }

 html.day body {
   background-color: var(--bg);
   color: var(--white);
   transition: background-color 0.4s ease, color 0.4s ease;
 }
/* ─── LANG SWITCH ─── */
.lang-switch-wrap {
  align-self: center;
  margin-top: 6px;
}

.lang-toggle {
  background: rgba(12, 12, 22, 0.9);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 11px;
  color: rgba(201,168,76,0.7);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 3px 8px;
  transition: border-color 0.3s, color 0.3s;
  line-height: 16px;
}

.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

html.day .lang-toggle {
  background: rgba(200, 190, 170, 0.4);
  border-color: rgba(201, 168, 76, 0.5);
}


/* ═══════════════════════════════════════════════════════════════
   MEJORAS MÓVIL — DCMA.ES
   Alcance: SOLO versión móvil. El Hero no se toca.
   Añadido al final para que estas reglas prevalezcan.
═══════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────────────────────
   1. DRAWER MÓVIL (menú pantalla completa)
   La navbar NO se toca — es intencionalmente invisible en móvil.
   El side-panel es la navegación principal en móvil.
   Aquí solo se mejora el drawer: visual y targets táctiles.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Drawer: fondo más profundo */
  #nav-drawer {
    background: rgba(4, 4, 14, 0.98);
    gap: 24px;
    padding: 88px 32px 72px;
    border: none;
    justify-content: center;
  }

  /* Links del drawer: tamaño más manejable y legible */
  #nav-drawer a {
    font-size: 1.75rem;
    letter-spacing: 0.03em;
    padding-bottom: 2px;
    position: relative;
  }

  /* Línea dorada animada al hacer tap */
  #nav-drawer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }

  #nav-drawer a:hover::after,
  #nav-drawer a:focus::after {
    width: 60%;
  }

  /* CTA del drawer */
  #nav-drawer a.btn-primary {
    font-size: 0.7rem !important;
    letter-spacing: 0.18em !important;
    padding: 16px 44px !important;
    margin-top: 12px;
    border-radius: 2px !important;
  }

  /* Botón cerrar: target táctil amplio (44×44 min) */
  #nav-drawer .drawer-close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--gold-rgb), 0.18);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--grey);
    transition: border-color 0.3s, color 0.3s;
  }

  #nav-drawer .drawer-close:hover {
    border-color: var(--gold);
    color: var(--gold);
  }

  /* Línea separadora sutil antes del CTA */
  #nav-drawer a:last-child {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(var(--gold-rgb), 0.1);
    width: 100%;
    text-align: center;
  }
}


/* ────────────────────────────────────────────────────────────────
   2. ESPACIADO DE SECCIONES
   Problema: 90px 20px es demasiado vertical en pantallas pequeñas
   y 20px horizontal es muy justo. Se ajusta a algo más equilibrado.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .section {
    padding: 72px 22px;
  }

  #stats {
    /* Las estadísticas no necesitan tanto espacio vertical */
  }

  .section-label {
    font-size: 0.575rem;
    letter-spacing: 0.35em;
    margin-bottom: 14px;
  }

  .section-sub {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.75;
  }
}


/* ────────────────────────────────────────────────────────────────
   3. ESTADÍSTICAS: corregir bordes en cuadrícula 2×2
   Problema: todos los items tenían border-bottom, incluyendo la
   última fila, creando una línea espuria al final del bloque.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .stat-item {
    padding: 38px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  /* Separador vertical entre las dos columnas */
  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border) !important;
  }

  /* Quitar el border-bottom de la última fila */
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-num {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.15em;
  }
}


/* ────────────────────────────────────────────────────────────────
   4. SERVICIOS: cards más compactas y "Más información" visible
   Problema: padding excesivo (52px 44px) en tarjeta de servicio.
   El enlace "Más información" solo era visible en hover (inútil
   en táctil). En móvil siempre debe estar visible.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .services-header {
    margin-bottom: 40px;
    gap: 14px;
  }

  .services-grid {
    margin-top: 40px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
  }

  .service-num {
    margin-bottom: 10px;
  }

  .service-name {
    font-size: 1.3125rem;
    margin-bottom: 12px;
  }

  .service-desc {
    margin-bottom: 20px;
    font-size: 0.85rem;
  }

  /* En táctil no hay hover → mostrar el link siempre */
  .service-link {
    opacity: 1 !important;
    transform: translateY(0) !important;
    font-size: 0.625rem;
  }
}


/* ────────────────────────────────────────────────────────────────
   5. PROCESO: visual más compacto en móvil
   Problema: process-visual con padding: 40px y pv-time en 3.5rem
   ocupan demasiado espacio en pantallas pequeñas.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .process-visual {
    padding: 26px 22px;
    margin-top: 32px;
  }

  .pv-time {
    font-size: 2.5rem;
    margin-bottom: 6px;
  }

  .pv-label {
    margin-bottom: 14px;
    font-size: 0.575rem;
  }

  .pv-sub {
    margin-bottom: 20px;
    font-size: 0.78rem;
  }

  .step-item {
    gap: 20px;
    padding: 28px 0;
  }

  .step-num {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  .step-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .step-desc {
    font-size: 0.85rem;
    line-height: 1.75;
  }
}


/* ────────────────────────────────────────────────────────────────
   6. CARDS "POR QUÉ ELEGIRNOS": padding reducido
   Problema: 44px 36px de padding es excesivo en móvil con una
   sola columna. Se reduce para mejor aprovechamiento del espacio.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .why-grid {
    gap: 14px;
  }

  .why-card {
    padding: 28px 22px;
  }

  .why-icon {
    margin-bottom: 16px;
    width: 30px;
    height: 30px;
  }

  .why-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .why-text {
    font-size: 0.85rem;
    line-height: 1.75;
  }

  /* El efecto hover translateY se desactiva en táctil (no hay hover real) */
  .why-card:hover {
    transform: none;
  }

  #why .section-title {
    margin-bottom: 48px;
  }
}


/* ────────────────────────────────────────────────────────────────
   7. SECCIÓN DE URGENCIA: botones full-width en móvil
   Problema: los botones apilados pero con padding fijo quedaban
   demasiado estrechos y poco prominentes en pantallas pequeñas.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  #emergency {
    padding: 64px 22px;
  }

  #emergency .emergency-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-urgent,
  #emergency .btn-outline {
    width: 100%;
    max-width: 340px;
    text-align: center;
    justify-content: center;
    display: block;
  }

  .emergency-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    margin-bottom: 14px;
  }

  .emergency-desc {
    font-size: 0.875rem;
    margin-bottom: 28px;
  }

  .emergency-tag {
    margin-bottom: 20px;
  }
}


/* ────────────────────────────────────────────────────────────────
   8. TESTIMONIOS: tarjetas más compactas en móvil
   Problema: padding 32px 28px es generoso en una sola columna.
────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {

  .testimonio-card {
    padding: 24px 20px;
    gap: 16px;
  }

  .testimonio-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .testimonio-name {
    font-size: 0.8rem;
  }

  .testimonios-grid {
    gap: 16px;
  }
}


/* ────────────────────────────────────────────────────────────────
   9. FAQ: mejorar targets táctiles y espaciado
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  #faq .faq-header {
    margin-bottom: 48px;
  }

  .faq-question {
    padding: 18px 0;
    min-height: 52px;  /* Target táctil mínimo */
    font-size: 0.875rem;
    gap: 16px;
    line-height: 1.4;
  }

  .faq-answer p {
    font-size: 0.875rem;
    line-height: 1.8;
  }
}


/* ────────────────────────────────────────────────────────────────
   10. CONTACTO: espaciado más eficiente
   Problema: gap: 40px entre info y formulario está bien, pero los
   elementos internos de contact-left consumen demasiado espacio.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  #contacto .container {
    gap: 48px;
  }

  .contact-left .section-sub {
    margin-bottom: 28px;
  }

  .contact-info {
    gap: 18px;
  }

  .ci-icon {
    width: 22px;
    height: 22px;
  }
}


/* ────────────────────────────────────────────────────────────────
   11. FORMULARIO: prevenir zoom en iOS + targets táctiles
   Problema: los inputs con font-size < 16px hacen que iOS haga
   zoom automático al enfocarlos. Muy mala experiencia de usuario.
   También: cursor: none hacía invisible el cursor en móvil.
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;  /* ← Clave: evita el zoom automático de iOS */
    padding: 14px 16px;
    cursor: auto;
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    font-size: 14px;
  }

  .form-privacy input[type=checkbox] {
    cursor: auto;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 1px;
  }

  .form-privacy {
    font-size: 0.8rem;
    align-items: flex-start;
    gap: 12px;
  }

  .form-submit {
    padding: 18px 24px;
    font-size: 0.7rem;
    cursor: auto;
    letter-spacing: 0.14em;
  }

  .form-group label {
    font-size: 0.575rem;
    letter-spacing: 0.18em;
  }
}


/* ────────────────────────────────────────────────────────────────
   12. FOOTER: columna única en pantallas muy pequeñas
   Problema: el footer en 2 columnas se vuelve muy apretado en
   móviles de 320–375px (iPhone SE, etc.)
────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* Ocultar columna Empresa en móvil */
  .footer-col-empresa { display: none !important; }

  /* Marca: fila completa. Los 3 grupos de links: 2 columnas compactas */
  .footer-top {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 16px;
  }

  /* La columna de marca ocupa el ancho completo */
  .footer-top > div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Descripción de marca más corta en móvil */
  .footer-brand-desc {
    font-size: 0.78rem;
    max-width: 100%;
    margin-bottom: 16px;
  }

  /* Redes sociales en línea junto al logo */
  .footer-social {
    gap: 14px;
    margin-top: 4px;
  }

  footer {
    padding: 48px 20px 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    align-items: center;
    padding-top: 18px;
  }

  .footer-brand-logo {
    font-size: 1.45rem;
    margin-bottom: 8px;
  }

  .footer-col-title {
    font-size: 0.55rem;
    margin-bottom: 14px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a {
    font-size: 0.78rem;
    padding: 4px 0;
    display: block;
  }

  /* Ocultar el ::before decorativo en móvil para ahorrar espacio */
  .footer-links a::before {
    display: none;
  }
}

/* Footer 2 columnas: mejorar a 768px */
@media (max-width: 768px) {
  .footer-top {
    gap: 32px 16px;
  }

  footer {
    padding: 64px 22px 36px;
  }

  .footer-bottom {
    padding-top: 24px;
    margin-top: 24px;
  }

  .footer-legal {
    font-size: 0.72rem;
  }
}


/* ────────────────────────────────────────────────────────────────
   13. COOKIE BANNER: mejor layout en móvil
   Problema: el banner en pantallas pequeñas apilaba elementos de
   forma poco armónica, botones con tamaños inconsistentes.
────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  #cookie-banner {
    border-radius: 12px;
    padding: 16px 18px;
    bottom: 16px;
  }

  .cookie-inner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    justify-content: stretch;
    gap: 10px;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 0.75rem;
  }

  .cookie-title {
    font-size: 0.72rem;
  }

  .cookie-text p {
    font-size: 0.78rem;
  }
}


/* ────────────────────────────────────────────────────────────────
   14. PLATAFORMAS: sección más compacta en móvil
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .platforms-track-wrap {
    margin-top: 32px;
  }

  .platform-pill {
    font-size: 0.8rem;
  }
}


/* ────────────────────────────────────────────────────────────────
   15. MODALES: mejor adaptación en pantallas pequeñas
────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  .modal-glass {
    width: 96vw;
    max-height: 88vh;
  }

  .modal-header {
    padding: 24px 22px 20px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 24px 22px 36px;
    max-height: calc(88vh - 100px);
  }

  .modal-close {
    top: 20px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
}


/* ────────────────────────────────────────────────────────────────
   16. AJUSTES GENERALES DE LEGIBILIDAD Y TÁCTIL
────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Mejorar el espaciado del gold-line decorativo */
  .gold-line {
    margin-bottom: 18px;
  }

  /* Section-title: proteger contra texto partido raro en móvil */
  .section-title {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* Botones generales: asegurar target táctil mínimo */
  .btn-primary,
  .btn-outline,
  .btn-urgent {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: auto;
  }

  /* Quitar cursor personalizado en todos los elementos interactivos */
  a, button, input, select, textarea, label {
    cursor: auto !important;
  }

  /* FAQs: quitar cursor: none que dejaba sin feedback visual */
  .faq-question {
    cursor: auto;
  }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE CAROUSEL — Servicios & Testimonios
   Solo aplica en ≤ 768px. Desktop: sin cambios.
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Wrapper de sección necesita overflow visible lateral ── */
  #servicios .container,
  #testimonios .container {
    overflow: visible;
  }

  /* ── Services grid → carrusel horizontal ── */
  .services-grid {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    gap: 14px;
    padding: 4px 0 4px;
    margin-left: 0;
    margin-right: 0;
    border: none;
    background: transparent;
  }

  .services-grid::-webkit-scrollbar { display: none; }

  .service-card {
    min-width: 84%;
    max-width: 84%;
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 1px solid var(--border);
  }

  /* ── Testimonios grid → carrusel horizontal ── */
  .testimonios-grid {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: auto;
    scrollbar-width: none;
    gap: 14px;
    padding: 4px 0 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .testimonios-grid::-webkit-scrollbar { display: none; }

  .testimonio-card {
    min-width: 88%;
    max-width: 88%;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* ── Dots de navegación (inyectados por JS) ── */
  .carousel-dots-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    margin-bottom: 8px;
  }

  .carousel-dots-mobile .cdot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
    flex-shrink: 0;
  }

  .carousel-dots-mobile .cdot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--gold);
    border-color: var(--gold);
  }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE ACCORDION — Por qué confiar en nosotros
   Solo aplica en ≤ 768px. Desktop: sin cambios.
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* El grid pasa a ser columna simple, ya era 1-col pero lo reafirmamos */
  .why-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }

  /* Cada card es una fila del accordion */
  .why-card {
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    background: transparent !important;
    cursor: pointer;
    transition: background 0.2s ease;
    /* Quitar el efecto hover de desktop */
    transform: none !important;
  }

  .why-card:last-child {
    border-bottom: none !important;
  }

  .why-card:hover,
  .why-card:active {
    background: rgba(var(--gold-rgb), 0.04) !important;
  }

  /* Cabecera del accordion: icono + título + chevron */
  .why-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    position: relative;
  }

  .why-icon {
    margin-bottom: 0 !important;
    flex-shrink: 0;
    width: 22px !important;
    height: 22px !important;
    opacity: 0.8;
  }

  .why-title {
    flex: 1;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
  }

  /* Chevron SVG inyectado por JS */
  .why-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--gold);
    opacity: 0.7;
    transition: transform 0.3s var(--ease-smooth);
  }

  .why-card.open .why-chevron {
    transform: rotate(180deg);
  }

  /* Cuerpo colapsable */
  .why-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-smooth), padding 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    padding: 0 20px;
  }

  .why-card.open .why-card-body {
    max-height: 300px;
    opacity: 1;
    padding: 0 20px 18px 56px; /* alineado con el texto del título */
  }

  .why-text {
    font-size: 0.875rem !important;
    line-height: 1.75 !important;
    color: var(--grey);
    margin-bottom: 0 !important;
  }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE ACCORDION — Cómo trabajamos (pasos)
   Solo aplica en ≤ 768px. Desktop: sin cambios.
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* La lista de pasos pasa a accordion */
  .steps-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 32px;
  }

  /* Cada step es una fila del accordion */
  .step-item {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    cursor: pointer;
    transition: background 0.2s ease;
    gap: 0 !important;
  }

  .step-item:last-child {
    border-bottom: none !important;
  }

  .step-item:hover,
  .step-item:active {
    background: rgba(var(--gold-rgb), 0.04) !important;
  }

  /* Ocultar el conector vertical en móvil */
  .step-connector {
    display: none !important;
  }

  /* Cabecera del accordion: número + título + chevron */
  .step-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 16px 16px;
  }

  .step-num-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .step-num {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .step-title {
    flex: 1;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
  }

  /* Chevron */
  .step-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--gold);
    opacity: 0.7;
    transition: transform 0.3s var(--ease-smooth);
  }

  .step-item.open .step-chevron {
    transform: rotate(180deg);
  }

  /* Cuerpo colapsable */
  .step-item-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s var(--ease-smooth), padding 0.25s ease, opacity 0.25s ease;
    padding: 0 20px;
  }

  .step-item.open .step-item-body {
    max-height: 300px;
    opacity: 1;
    padding: 0 20px 18px 68px;
  }

  .step-desc {
    font-size: 0.875rem !important;
    line-height: 1.75 !important;
    color: var(--grey);
    margin-bottom: 0 !important;
  }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE — FAQ: mismo aspecto visual que why-card y steps
   Solo aplica en ≤ 768px. Desktop: sin cambios.
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .faq-grid {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
  }

  .faq-item {
    border-bottom: 1px solid var(--border) !important;
    transition: background 0.2s ease;
  }

  .faq-item:last-child {
    border-bottom: none !important;
  }

  .faq-item:hover,
  .faq-item:active {
    background: rgba(var(--gold-rgb), 0.04);
  }

  .faq-question {
    padding: 18px 16px !important;
    font-size: 0.92rem !important;
    gap: 14px !important;
    min-height: auto !important;
  }

  .faq-question.open {
    background: rgba(var(--gold-rgb), 0.04);
  }

  .faq-answer.open {
    padding: 0 16px 18px 16px;
  }

  .faq-answer p {
    font-size: 0.85rem !important;
    line-height: 1.8 !important;
    color: var(--grey);
  }
}

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

h1,h2,h3,.section-title,.hero-title,.emergency-title{font-family:'IvyPresto Text',serif!important;font-weight:300;}

.section-title em,
.hero-title em,
.emergency-title em {
  font-family: 'IvyPresto Display', serif !important;
  font-style: italic;
  color: var(--gold);
}

footer {
  clip-path: none !important;
}

#contacto {
  padding-bottom: 6rem !important;
}


@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    overscroll-behavior-x: none;
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-width: 0 !important;
  }

  nav,
  main,
  section,
  footer,
  .section,
  .container,
  .container-sm {
    width: 100%;
    max-width: 100% !important;
  }

#servicios .container,
#testimonios .container {
  overflow-x: visible !important;
}

  .services-grid,
  .testimonios-grid {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .side-panel-toggle {
    right: 0;
    transform: translate(100%, -50%);
  }
}
