:root {
  --background: #f8f9fa;
  --foreground: #1a1a1a;
  --primary: #1b7b96;
  --primary-foreground: #ffffff;
  --secondary: #e9ecef;
  --muted-foreground: #054658;
  --border: #e0e0e0;
  --input: rgba(255,255,255,0.12);
}

html { 
  scroll-behavior: smooth;
  font-size: clamp(14px, 2vw, 16px);
}

body { 
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Títulos con Inter / Space Grotesk */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
}

/* Responsive images and media */
img, video { 
  max-width: 100%; 
  height: auto; 
  display: block;
}

/* Prevent horizontal scroll */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
}

/* HERO background: no assets in zip, so we use a high-end gradient + overlay */
.hero-bg {
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(11,157,152,0.35), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(27,123,150,0.35), transparent 55%),
    radial-gradient(900px 500px at 70% 80%, rgba(5,70,88,0.35), transparent 55%),
    linear-gradient(135deg, #041018, #0a1628 45%, #071c1d);
}
.hero-bg{
  position: relative;
  overflow: hidden; /* opcional */
}

/* Capa de contraste */
.hero-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* subí a 0.45 si querés más contraste */
  pointer-events: none;
  z-index: 0;
}

/* Asegura que el contenido quede arriba */
.hero-bg > *{
  position: relative;
  z-index: 1;
}

#hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Animations (globals.css) */
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes glow-pulse{0%,100%{opacity:.4}50%{opacity:.8}}
@keyframes fade-in-up{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes shimmer{0%{background-position:-1000px 0}100%{background-position:1000px 0}}
@keyframes pulse-glow{0%,100%{box-shadow:0 0 20px rgba(11,157,152,.3),inset 0 0 20px rgba(11,157,152,.1)}50%{box-shadow:0 0 40px rgba(11,157,152,.6),inset 0 0 30px rgba(11,157,152,.2)}}
@keyframes scale-in{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}

/* ── Hero feature icon animations ── */
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  40%      { transform: translateY(-4px) scale(1.15); }
  60%      { transform: translateY(-2px) scale(1.08); }
}
.hero-feature-item i {
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: icon-bounce 3s ease-in-out infinite;
}
.hero-feature-item:nth-child(1) i { animation-delay: 0s; }
.hero-feature-item:nth-child(2) i { animation-delay: 0.4s; }
.hero-feature-item:nth-child(3) i { animation-delay: 0.8s; }
.hero-feature-item:nth-child(4) i { animation-delay: 1.2s; }
.hero-feature-item:nth-child(5) i { animation-delay: 1.6s; }
.hero-feature-item:hover i {
  animation: none;
  transform: scale(1.3) rotate(-5deg);
  filter: drop-shadow(0 0 8px rgba(27,123,150,0.7));
}

.hero-icon-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.hero-feature-item:hover .hero-icon-glass {
  background: rgba(27, 123, 150, 0.15);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.2),
    0 0 12px rgba(43, 188, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ── Hero life: animated gradient text ── */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-gradient-animated {
  background: linear-gradient(270deg, #7be7e0, #2aa5ff, #0bd9b2, #5eead4, #2aa5ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

/* ── Glowing border for form card ── */
/*
  FIX: animating box-shadow directly forces repaint every frame on a backdrop-blur element.
  Solución: animar opacity de un ::after con el box-shadow fijo → solo composite, sin repaint.
*/
.hero-form-card {
  position: relative;
  box-shadow: 0 20px 80px rgba(0,0,0,0.35);
}
.hero-form-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 35px rgba(11,157,152,0.20), inset 0 0 0 1px rgba(11,157,152,0.5);
  opacity: 0;
  animation: border-glow 4s ease-in-out infinite;
  z-index: -1;
}
@keyframes border-glow {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

/* ── Hero list items staggered entrance ── */
.hero-feature-item {
  transition: transform 0.3s ease, background 0.3s ease;
  border-radius: 8px;
  padding: 4px 8px 4px 0;
}
.hero-feature-item:hover {
  transform: translateX(6px);
  background: rgba(255,255,255,0.06);
}

/* ── Floating orbs for hero background ── */
/*
  FIX: filter:blur() en elementos animados causa GPU memory pressure en Chrome/Edge.
  Solución: el wrapper (.hero-orb) se mueve con transform (composited por GPU),
  el blur vive en el hijo ::after (estático) → no se recalcula cada frame.
*/
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(30px, -20px) scale(1.1); }
  50%      { transform: translate(-10px, -40px) scale(0.95); }
  75%      { transform: translate(-25px, -10px) scale(1.05); }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  animation: float-orb 8s ease-in-out infinite;
}
.hero-orb::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: blur(30px);
}
.hero-orb--1 {
  width: 300px; height: 300px;
  top: 15%; left: 10%;
  animation-delay: 0s;
}
.hero-orb--1::after {
  background: rgba(11,157,152,0.35);
  opacity: 0.18;
}
.hero-orb--2 {
  width: 200px; height: 200px;
  top: 55%; right: 15%;
  animation-delay: -3s;
  animation-duration: 10s;
}
.hero-orb--2::after {
  background: rgba(42,165,255,0.3);
  opacity: 0.18;
}
.hero-orb--3 {
  width: 150px; height: 150px;
  bottom: 20%; left: 40%;
  animation-delay: -5s;
  animation-duration: 12s;
}
.hero-orb--3::after {
  background: rgba(94,234,212,0.25);
  opacity: 0.18;
}



/* ── Navbar scrolled state ── */
#nav-shell.is-scrolled {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* ── CTA buttons gradient ── */
.btn-hero-primary {
  background: linear-gradient(135deg, #1b7b96, #0bd9b2);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0bd9b2, #2aa5ff);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-hero-primary:hover::before {
  opacity: 1;
}
.btn-hero-primary span, .btn-hero-primary i {
  position: relative;
  z-index: 1;
}




.animate-fade-in-up{opacity:0;animation:fade-in-up .8s ease-out forwards}

.text-gradient {
  background: linear-gradient(135deg, #7be7e0, #2aa5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 157, 152, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(11, 157, 152, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(11, 157, 152, 0.3);
  box-shadow: 0 12px 32px rgba(11, 157, 152, 0.15);
  transform: translateY(-4px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 157, 152, 0.15);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(11, 157, 152, 0.2), rgba(11, 157, 152, 0.1));
  border-radius: inherit;
  z-index: -1;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.btn-glow:hover::after { opacity: 1; }
.btn-glow:hover { box-shadow: 0 8px 24px rgba(11, 157, 152, 0.3); transform: translateY(-2px); }

.industry-card-3d {
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  --glare-x: 50%;
  --glare-y: 50%;
  --glare-opacity: 0;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.industry-card-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  opacity: 0.7;
}

.industry-card-3d__inner {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y));
}

.industry-card-3d__glare {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(186, 240, 255, 0.22), rgba(186, 240, 255, 0.08) 18%, rgba(186, 240, 255, 0) 46%);
  opacity: var(--glare-opacity);
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

.industry-card-3d__icon,
.industry-card-3d__title,
.industry-card-3d__text {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.industry-card-3d__icon {
  transform: translateZ(52px);
  text-shadow: 0 12px 22px rgba(0,0,0,0.28);
}

.industry-card-3d__title {
  transform: translateZ(68px);
}

.industry-card-3d__text {
  transform: translateZ(40px);
}

@media (hover: hover) and (pointer: fine) {
  .industry-card-3d:hover {
    box-shadow:
      0 28px 60px rgba(0,0,0,0.42),
      0 0 0 1px rgba(34,211,238,0.06),
      inset 0 1px 0 rgba(255,255,255,0.06);
  }

  .industry-card-3d:hover .industry-card-3d__icon {
    transform: translateZ(72px) scale(1.06);
  }

  .industry-card-3d:hover .industry-card-3d__title {
    transform: translateZ(88px);
  }

  .industry-card-3d:hover .industry-card-3d__text {
    transform: translateZ(52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-card-3d,
  .industry-card-3d__inner,
  .industry-card-3d__glare,
  .industry-card-3d__icon,
  .industry-card-3d__title,
  .industry-card-3d__text {
    transition: none !important;
    animation: none !important;
  }

  .industry-card-3d__inner,
  .industry-card-3d__icon,
  .industry-card-3d__title,
  .industry-card-3d__text {
    transform: none !important;
  }

  .industry-card-3d__glare {
    opacity: 0 !important;
  }
}

/* Service Image Hover Effect */
.service-image {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-image:hover {
  box-shadow: 0 12px 32px rgba(11, 157, 152, 0.35);
  transform: translateY(-4px);
}

/* Mobile menu animation (same as original TSX inline animation) */
@keyframes fadeInUpMenu { from { opacity:0; transform: translateY(20px)} to { opacity:1; transform: translateY(0)} }

/* Mobile toggle button */
#mobile-toggle {
  position: relative;
  z-index: 51;
  transition: all 300ms ease;
}

#mobile-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.3);
}

#mobile-toggle:active {
  background: rgba(255, 255, 255, 0.35);
}

/* Mobile menu visibility states */
#mobile-menu {
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 16, 24, 0.99) 0%, rgba(10, 22, 40, 0.98) 100%);
  transition: opacity 250ms ease, visibility 250ms ease;
  visibility: hidden;
}

#mobile-menu.opacity-100 {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-item {
  transition: opacity 150ms ease, transform 150ms ease;
  opacity: 0;
  transform: translateY(10px);
}

/* Utility for better focus outline on dark hero inputs */
input, select, textarea { color-scheme: light; }

.custom-option{
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  font-size: clamp(12px, 2vw, 14px);
  color: rgba(255,255,255,0.92);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.custom-option:hover{
  background: rgba(255,255,255,0.10);
}

.custom-option.is-selected{
  background: rgba(27,123,150,0.14);
  box-shadow: inset 0 0 0 1px rgba(27,123,150,0.35);
}

.nav-intro-hover{
  color: white !important;
}

.nav-intro-hover div{
  width: 100% !important;
}

/* Enhanced Fluid Typography */
h1 { font-size: clamp(24px, 5vw, 56px); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(22px, 4vw, 48px); line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(18px, 3vw, 32px); line-height: 1.25; }
p { font-size: clamp(14px, 2vw, 16px); line-height: 1.6; }

/* Mobile-first responsive optimizations */
@media (max-width: 640px) {
  .hero-bg {
    background-attachment: scroll;
  }
  
  .glass-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  /* Ensure form inputs are not zoomed on mobile focus */
  input, textarea, select {
    font-size: 16px;
  }
  
  #site-header nav {
    padding: 12px 12px;
  }
  
  /* Optimize padding on mobile */
  main section {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  
  /* Better title sizing on small screens */
  h1 { font-size: clamp(20px, 4vw, 32px); }
  h2 { font-size: clamp(18px, 3.5vw, 28px); }
  h3 { font-size: clamp(16px, 2.5vw, 22px); }
  
  /* Service image responsive height */
  .service-image {
    height: auto;
    max-height: 300px;
  }
  
  /* Grid optimizations */
  .grid {
    gap: 12px;
  }
  
  /* Better form spacing */
  form .space-y-4 {
    gap: 12px;
  }
  
  /* Button touch targets */
  button, a[class*="btn"] {
    min-height: 44px;
  }
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }

  #hero-video {
    inset: 0 auto auto 50%;
    width: 300vw;
    height: auto;
    max-width: none;
    object-fit: contain !important;
    object-position: center top;
    transform: translateX(-50%);
  }
  
  .glass-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  /* Ensure form inputs are not zoomed on mobile focus */
  input, textarea, select {
    font-size: 16px;
  }
  
  #site-header nav {
    padding: 12px 16px;
  }
  
  /* Optimize padding on mobile */
  main section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Tablet optimizations */
@media (min-width: 641px) and (max-width: 1024px) {
  html { 
    font-size: 15px;
  }
  
  /* Better spacing for tablets */
  .glass-card {
    padding: 24px;
  }
  
  /* Responsive grid tweaks */
  @supports (display: grid) {
    .grid {
      gap: 20px;
    }
  }
}

/* Large screens */
@media (min-width: 1025px) {
  html {
    font-size: 16px;
  }
}

/* Ensure proper spacing on small screens */
@media (max-width: 1024px) {
  .max-w-7xl {
    padding: 0 16px;
  }
}

/* WhatsApp Floating Button */

.whatsapp-float{
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 64px;
  height: 64px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(15,23,42,0.12);

  border: 1px solid rgba(255,255,255,0.3);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.4);

  color:#25D366; /* color del icono */
  text-decoration:none;

  transition: all .3s ease;
  z-index:1000;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: whatsappPulse 1.8s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float:hover{
  transform: scale(1.08);
}

.whatsapp-icon{
  width:28px;
  height:28px;
}

/* FIX: width/height/bottom/right en hover fuerza reflow completo del documento.
   Reemplazado por transform:scale() que solo usa el compositor GPU sin layout. */
.whatsapp-float:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 12px 32px rgba(37, 211, 102, 0.4);
  transform: scale(1.1);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.18);
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Responsive WhatsApp button */
@media (max-width: 640px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
  }
  
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1);
  }
}

/* Form optimization for all devices */
@media (max-width: 768px) {
  input:focus, textarea:focus, select:focus {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Better button sizing on mobile */
  button[type="submit"], button.btn-glow {
    padding: 12px 20px;
    min-height: 44px; /* Touch target minimum */
  }
  
  /* Stack form fields on mobile */
  form .grid {
    grid-template-columns: 1fr !important;
  }
}

/* Tablet specific optimizations - 641px to 1024px */
@media (min-width: 641px) and (max-width: 1024px) {
  /* Optimize container width for tablets */
  .max-w-7xl {
    padding-left: 24px;
    padding-right: 24px;
  }
  
  /* Better spacing between sections on tablets */
  section {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  
  /* Improve touch targets on tablets */
  button, a[class*="btn"], input, select, textarea {
    min-height: 44px;
  }
  
  /* Optimize grid gaps for tablets */
  .grid {
    gap: 16px;
  }
  
  /* Service sections better layout */
  .grid.grid-cols-1.lg\:grid-cols-2 {
    gap: 20px;
  }
  
  /* Better hero form layout on tablets */
  #hero-form .grid, #contact-form .grid {
    grid-template-columns: 1fr;
  }
  
  /* Better spacing in about section */
  .mt-20 {
    margin-top: 40px;
  }
}

/* Medium screens - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  h1 { font-size: clamp(28px, 4vw, 40px); }
  h2 { font-size: clamp(24px, 3.5vw, 36px); }
  h3 { font-size: clamp(20px, 3vw, 28px); }
}

/* Large screens - 1025px and up */
@media (min-width: 1025px) {
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  /* Better spacing on desktop */
  .grid {
    gap: 24px;
  }
  
  /* Desktop-specific optimizations */
  h1 { font-size: clamp(32px, 5vw, 56px); }
  h2 { font-size: clamp(28px, 4vw, 48px); }
  h3 { font-size: clamp(22px, 3vw, 36px); }
}
/* =========================
   POPUP CUPÓN
========================= */
.sticky-coupon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  width: 260px;
  max-width: calc(100vw - 32px);
  display: none;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.sticky-coupon:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(15, 23, 42, 0.98);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(34, 211, 238, 0.08);
}

.sticky-coupon__content {
  position: relative;
  padding: 16px 18px;
}

.sticky-coupon__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sticky-coupon__close:hover {
  color: #ffffff;
  transform: scale(1.08);
}

.sticky-coupon__badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.sticky-coupon__badge {
  background: linear-gradient(
    270deg,
    #ff6b00,
    #ff0080,
    #a855f7,
    #facc15,
    #ff0080,
    #ff6b00
  );
  background-size: 400% 400%;
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 0 12px rgba(255, 0, 128, 0.55), 0 0 24px rgba(255, 107, 0, 0.30);
  animation: gradientMove 4s ease infinite;
}
@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.sticky-coupon:hover .sticky-coupon__badge {
  border-color: rgba(255, 107, 0, 0.7);
  box-shadow: 0 0 16px rgba(255, 0, 128, 0.75), 0 0 32px rgba(255, 107, 0, 0.45);
}

.sticky-coupon__title {
  margin-top: 12px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.sticky-coupon__text {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.sticky-coupon__actions {
  margin-top: 16px;
}

.sticky-coupon__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.sticky-coupon__button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(27, 123, 150, 0.35);
}
.sticky-coupon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.00)
  );
  opacity: 0.7;
}

@keyframes popup-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popup-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
  }
}

/* ── Botón flotante tipo chatbot ── */
.coupon-fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(34, 211, 238, 0.08);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: fab-enter 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.coupon-fab:hover {
  transform: scale(1.1);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(27, 123, 150, 0.25);
}

.coupon-fab:active {
  transform: scale(0.95);
}

.coupon-fab.is-visible {
  display: flex;
}

.coupon-fab__icon {
  font-size: 24px;
  line-height: 1;
}

.coupon-fab__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: fab-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fab-enter {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fab-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.35); opacity: 0; }
}

/* Popup con animaciones de entrada/salida */
.sticky-coupon.is-entering {
  display: block;
  animation: popup-enter 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sticky-coupon.is-exiting {
  animation: popup-exit 0.28s ease both;
}
  @keyframes social-slide-in {
    from { opacity:0; transform:translateY(28px) scale(0.75); }
    to   { opacity:1; transform:translateY(0) scale(1); }
  }
  @keyframes shine-sweep {
    0%   { transform:translateX(-140%) skewX(-22deg); opacity:1; }
    100% { transform:translateX(220%) skewX(-22deg); opacity:0; }
  }
  @keyframes pulse-ring {
    0%   { transform:scale(1); opacity:0.6; }
    60%  { transform:scale(1.55); opacity:0; }
    100% { transform:scale(1.55); opacity:0; }
  }
  .social-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    animation: social-slide-in 0.65s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  .social-card:nth-child(1) { animation-delay: 0.05s; }
  .social-card:nth-child(2) { animation-delay: 0.18s; }
  .social-card:nth-child(3) { animation-delay: 0.31s; }
  .social-icon-box {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
  }
  /* Shine sweep layer */
  .social-icon-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 45%;
    height: 100%;
    background: rgba(255,255,255,0.28);
    transform: translateX(-150%) skewX(-22deg);
    pointer-events: none;
    z-index: 2;
  }
  .social-card:hover .social-icon-box::before {
    animation: shine-sweep 0.55s ease forwards;
  }
  /* Pulse ring on hover */
  .social-icon-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    z-index: 0;
  }
  .social-card:hover .social-icon-box::after {
    animation: pulse-ring 0.7s ease-out forwards;
  }
  .social-card:hover .social-icon-box {
    transform: translateY(-9px) scale(1.1);
  }
  .social-icon-box svg {
    position: relative;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  }
  .social-card:hover .social-icon-box svg {
    transform: scale(1.18) rotate(-8deg);
  }
  .social-icon-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(7px);
    transition: opacity 0.3s ease 0.08s, transform 0.3s ease 0.08s;
  }
  .social-card:hover .social-icon-label {
    opacity: 1;
    transform: translateY(0);
  }
  /* LinkedIn */
  .social-li-box { background: linear-gradient(145deg, #0d80e0, #0A66C2); }
  .social-li-box::after { background: rgba(10,102,194,0.45); }
  .social-card:hover .social-li-box { box-shadow: 0 14px 36px rgba(10,102,194,0.55), 0 0 0 1.5px rgba(10,102,194,0.35); }
  .social-li-label { color: #0A66C2; }
  /* Instagram */
  .social-ig-box { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
  .social-ig-box::after { background: rgba(220,39,67,0.45); }
  .social-card:hover .social-ig-box { box-shadow: 0 14px 36px rgba(193,53,132,0.55), 0 0 0 1.5px rgba(193,53,132,0.35); }
  .social-ig-label { color: #c13584; }
  /* GitHub */
  .social-gh-box { background: linear-gradient(145deg, #373d42, #24292e); }
  .social-gh-box::after { background: rgba(36,41,46,0.35); }
  .social-card:hover .social-gh-box { box-shadow: 0 14px 36px rgba(36,41,46,0.45), 0 0 0 1.5px rgba(36,41,46,0.3); }
  .social-gh-label { color: #24292e; }


/* =========================
   PROBLEMAS Y SOLUCIONES - CARRUSEL 3D
   ========================= */

.pain-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 1200px;
  overflow: visible;
}

.pain-slider {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pain-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  max-width: 85vw;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(43, 188, 255, 0.12);
  border-radius: 22px;
  overflow: visible;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.4;
  filter: blur(2px) brightness(0.6);
  pointer-events: none;
  z-index: 1;
}

.pain-card.is-active {
  opacity: 1;
  filter: blur(0) brightness(1);
  z-index: 5;
  pointer-events: auto;
  border-color: rgba(43, 188, 255, 0.3);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(43, 188, 255, 0.08);
  transform: translate(-50%, -50%) translateZ(0) scale(1);
}

.pain-card.is-prev {
  opacity: 0.55;
  filter: blur(1px) brightness(0.7);
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(-110%) translateZ(-120px) rotateY(18deg) scale(0.85);
}

.pain-card.is-next {
  opacity: 0.55;
  filter: blur(1px) brightness(0.7);
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(110%) translateZ(-120px) rotateY(-18deg) scale(0.85);
}

.pain-card.is-far-prev {
  opacity: 0.2;
  filter: blur(3px) brightness(0.5);
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(-190%) translateZ(-250px) rotateY(28deg) scale(0.7);
}

.pain-card.is-far-next {
  opacity: 0.2;
  filter: blur(3px) brightness(0.5);
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(190%) translateZ(-250px) rotateY(-28deg) scale(0.7);
}

.pain-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(-400px) scale(0.5);
}

.pain-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 0;
  font-size: 48px;
  line-height: 1;
}

.pain-card__content {
  padding: 16px 24px 24px;
}

.pain-card__label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pain-card__label--problem {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.pain-card__label--solution {
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  margin-top: 16px;
}

.pain-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 8px;
}

.pain-card__desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
}

.pain-card__solution {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.55;
}

.pain-card__solution strong {
  color: #22d3ee;
  font-weight: 600;
}

/* Flechas */
.pain-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.pain-arrow:hover {
  background: rgba(43, 188, 255, 0.2);
  border-color: rgba(43, 188, 255, 0.4);
  box-shadow: 0 6px 24px rgba(43, 188, 255, 0.2);
}

.pain-arrow--left {
  left: 12px;
}

.pain-arrow--right {
  right: 12px;
}

/* Indicadores */
.pain-dots {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .pain-carousel {
    height: auto;
    min-height: 540px;
    padding-bottom: 60px;
  }

  .pain-card {
    width: 300px;
    max-width: 82vw;
  }

  .pain-card__icon {
    padding: 18px 18px 0;
    font-size: 36px;
  }

  .pain-card__content {
    padding: 12px 18px 18px;
  }

  .pain-card__title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .pain-card__desc,
  .pain-card__solution {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .pain-card__label {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .pain-card__label--solution {
    margin-top: 12px;
  }

  .pain-card.is-prev {
    transform: translate(-50%, -50%) translateX(-85%) translateZ(-100px) rotateY(14deg) scale(0.82);
  }

  .pain-card.is-next {
    transform: translate(-50%, -50%) translateX(85%) translateZ(-100px) rotateY(-14deg) scale(0.82);
  }

  .pain-card.is-far-prev,
  .pain-card.is-far-next {
    opacity: 0;
  }

  .pain-arrow {
    top: auto;
    bottom: 4px;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .pain-arrow--left {
    left: calc(50% - 80px);
  }

  .pain-arrow--right {
    right: calc(50% - 80px);
  }
}

@media (max-width: 480px) {
  .pain-carousel {
    height: 460px;
    padding-bottom: 60px;
  }

  .pain-card {
    width: calc(100vw - 60px);
  }

  .pain-arrow {
    width: 38px;
    height: 38px;
  }

  .pain-arrow--left {
    left: calc(50% - 70px);
  }

  .pain-arrow--right {
    right: calc(50% - 70px);
  }

  .pain-card.is-prev,
  .pain-card.is-next {
    opacity: 0.3;
    transform: translate(-50%, -50%) translateX(-70%) translateZ(-80px) scale(0.78);
  }

  .pain-card.is-next {
    transform: translate(-50%, -50%) translateX(70%) translateZ(-80px) scale(0.78);
  }
}


/* =========================
  ABOUT — FLIP CARDS
   ========================= */

.flip-card {
  perspective: 1200px;
  -webkit-perspective: 1200px;
  aspect-ratio: 16 / 9;
  width: 100%;
  isolation: isolate;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1.25rem;
  overflow: hidden;
  outline: 1px solid transparent;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

/* ── Front ── */
.flip-card-front {
  background: #f8fafc;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.08),
    0 1px 3px rgba(0,0,0,0.06);
  -webkit-transform: rotateY(0deg) translateZ(4px);
  transform: rotateY(0deg) translateZ(4px);
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card.is-flipped .flip-card-front img {
  transform: scale(1.04);
}

.flip-card-front .flip-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.82) 0%, rgba(2,6,23,0.2) 45%, transparent 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.flip-card-front .flip-card-overlay h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.flip-card-front .flip-card-overlay .flip-hint {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.flip-hint-mobile {
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .flip-hint-desktop {
    display: none;
  }
  .flip-hint-mobile {
    display: inline;
  }
}

.flip-card.is-flipped .flip-card-overlay .flip-hint {
  color: #22d3ee;
}

/* ── Back ── */
.flip-card-back {
  transform: rotateY(180deg) translateZ(4px);
  -webkit-transform: rotateY(180deg) translateZ(4px);
  background: linear-gradient(145deg, #0c1929 0%, #0f2942 50%, #0a1e36 100%);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
}

.flip-card-back::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.flip-card-back .flip-back-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.25);
  margin-bottom: 1.25rem;
}

.flip-card-back .flip-back-icon i {
  color: #22d3ee;
}

.flip-card-back .flip-back-divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
  margin-bottom: 1.25rem;
}

.flip-card-back h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.flip-card-back p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  font-weight: 400;
  max-width: 320px;
}

@media (max-width: 768px) {
  .flip-card {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .flip-card-front .flip-card-overlay {
    padding: 1.25rem;
  }
  .flip-card-front .flip-card-overlay h3 {
    font-size: 1.15rem;
  }
  .flip-card-front .flip-card-overlay .flip-hint {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
  .flip-card-back {
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .flip-card-back::before {
    width: 200px;
    height: 200px;
  }
  .flip-card-back .flip-back-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 0.6rem;
  }
  .flip-card-back .flip-back-icon i {
    width: 20px;
    height: 20px;
  }
  .flip-card-back .flip-back-divider {
    width: 40px;
    margin-bottom: 0.6rem;
  }
  .flip-card-back h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .flip-card-back p {
    font-size: 0.82rem;
    line-height: 1.55;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .flip-card {
    aspect-ratio: 3 / 4;
  }
  .flip-card-front .flip-card-overlay {
    padding: 1rem;
  }
  .flip-card-front .flip-card-overlay h3 {
    font-size: 1.05rem;
  }
  .flip-card-back {
    padding: 1.25rem 1rem;
  }
  .flip-card-back::before {
    width: 150px;
    height: 150px;
  }
  .flip-card-back .flip-back-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 0.5rem;
  }
  .flip-card-back .flip-back-icon i {
    width: 18px;
    height: 18px;
  }
  .flip-card-back .flip-back-divider {
    width: 32px;
    height: 2px;
    margin-bottom: 0.5rem;
  }
  .flip-card-back h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  .flip-card-back p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

  /* =========================
  POR QUÉ ELEGIRNOS
  ========================= */

.why-choose-us {
  padding: 110px 0 120px;
  background: #f7f9fc;
}

.why-choose-us .container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  color: #1795e8;
}

.section-title {
  margin: 0;
  color: #071a3d;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-title span {
  color: #23a3ef;
}

.section-description {
  max-width: 860px;
  margin: 26px auto 0;
  color: #6e7f99;
  font-size: 1.18rem;
  line-height: 1.8;
  font-weight: 400;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  align-items: start;
}

.why-card {
  display: flex;
  flex-direction: column;
}

.why-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(13, 33, 68, 0.12);
}

.why-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.why-card:hover .why-card-media img {
  transform: scale(1.03);
}

.why-card-content {
  padding-top: 22px;
}

.why-card-content h3 {
  margin: 0 0 14px;
  color: #071a3d;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.why-card-content p {
  margin: 0;
  color: #62748f;
  font-size: 1.08rem;
  line-height: 1.9;
  font-weight: 400;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    max-width: 760px;
    margin: 0 auto;
  }

  .why-card-content h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .why-choose-us {
    padding: 88px 0 96px;
  }

  .why-choose-us .container {
    width: min(100% - 32px, 1240px);
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-kicker {
    font-size: 0.92rem;
  }

  .section-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .section-description {
    font-size: 1rem;
    line-height: 1.8;
  }

  .why-card-media {
    border-radius: 22px;
  }

  .why-card-media img {
    min-height: 220px;
  }

  .why-card-content h3 {
    font-size: 1.55rem;
  }

  .why-card-content p {
    font-size: 1rem;
    line-height: 1.8;
  }
}
/* =========================
   CHATBOT - LAPA SYSTEMS
   ========================= */

.chatbot {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 340px;
  max-width: calc(100% - 32px);
  background: rgba(15, 25, 45, 0.97);
  border: 1px solid rgba(43, 188, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: none;
  z-index: 9999;
  animation: chatbotFadeInUp 0.28s ease;
}

.chatbot.is-open {
  display: block;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, #1b7b96, #2bbcff);
  color: #ffffff;
}

.chat-header span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.chat-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  color: #dbe8f5;
  font-size: 14px;
  line-height: 1.6;
  max-height: 260px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar {
  width: 5px;
}

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

.chat-body::-webkit-scrollbar-thumb {
  background: rgba(43, 188, 255, 0.25);
  border-radius: 10px;
}

.bot-msg,
.user-msg {
  max-width: 90%;
  padding: 11px 14px;
  border-radius: 14px;
}

.bot-msg {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.09);
  color: #eef6ff;
}

.user-msg {
  align-self: flex-end;
  background: rgba(43, 188, 255, 0.18);
  color: #ffffff;
}

.chat-options {
  padding: 8px 14px 10px;
  max-height: 220px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.chat-options::-webkit-scrollbar {
  width: 4px;
}

.chat-options::-webkit-scrollbar-track {
  background: transparent;
}

.chat-options::-webkit-scrollbar-thumb {
  background: rgba(43, 188, 255, 0.25);
  border-radius: 10px;
}

/* Categorías */
.chat-category {
  margin-bottom: 6px;
}

.chat-category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid rgba(43, 188, 255, 0.2);
  border-radius: 12px;
  background: rgba(43, 188, 255, 0.08);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.chat-category-btn:hover {
  background: rgba(43, 188, 255, 0.16);
  border-color: rgba(43, 188, 255, 0.4);
}

.chat-category-btn.is-open {
  background: rgba(43, 188, 255, 0.18);
  border-color: rgba(43, 188, 255, 0.45);
  border-radius: 12px 12px 4px 4px;
}

.chat-cat-arrow {
  font-size: 12px;
  transition: transform 0.25s ease;
  opacity: 0.6;
}

.chat-category-btn.is-open .chat-cat-arrow {
  transform: rotate(180deg);
}

.chat-category-items {
  display: none;
  padding: 4px 0 2px;
}

.chat-category-items.is-open {
  display: flex;
  flex-direction: column;
}

.chat-category-items button {
  width: 100%;
  margin: 2px 0;
  padding: 9px 14px 9px 24px;
  border: none;
  border-radius: 10px;
  background: rgba(43, 188, 255, 0.06);
  color: #5fd1ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, padding-left 0.22s ease;
}

.chat-category-items button:hover {
  background: rgba(43, 188, 255, 0.2);
  color: #ffffff;
  padding-left: 28px;
}

.chat-options > button {
  width: 100%;
  margin: 4px 0;
  padding: 10px 14px;
  border: none;
  border-radius: 14px;
  background: rgba(43, 188, 255, 0.12);
  color: #5fd1ff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.chat-options > button:hover {
  background: #2bbcff;
  color: #ffffff;
  transform: translateY(-2px);
}

.chat-followup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.chat-followup button {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 12px;
  background: rgba(43, 188, 255, 0.10);
  color: #5fd1ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.chat-followup button:hover {
  background: #2bbcff;
  color: #ffffff;
  transform: translateY(-1px);
}

.chat-cta {
  padding: 12px;
}

.chat-cta a {
  display: block;
  padding: 13px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1b7b96, #2bbcff);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.chat-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 188, 255, 0.32);
}

.chat-toggle {
  position: fixed;
  right: 20px;
  bottom: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b7b96, #2bbcff);
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  z-index: 9999;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.chat-toggle:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 12px 32px rgba(43, 188, 255, 0.42);
  transform: scale(1.1);
}

.chat-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 640px) {
  .chat-toggle {
    right: 15px;
    bottom: 78px;
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }
}
/* Texto centrado */
.chat-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: white;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.chat-text.hidden {
  opacity: 0;
  pointer-events: none;
}

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

/* Responsive */
@media (max-width: 480px) {
  .chatbot {
    right: 10px;
    bottom: 86px;
    width: calc(100% - 20px);
  }

  .chat-toggle {
    right: 15px;
    bottom: 78px;
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }
}
/* =========================
  boton flotante chatsbot
   ========================= */
