:root {
  --teal: #00C9A7;
  --teal-dark: #009e83;
  --teal-light: #00e6c0;
  --teal-glow: rgba(0,201,167,0.18);
  --dark: #070d0d;
  --dark2: #0d1a18;
  --dark3: #0f201e;
  --dark4: #132420;
  --card-bg: rgba(15,32,28,0.85);
  --text: #e8f5f2;
  --text-muted: rgba(232,245,242,0.6);
  --border: rgba(0,201,167,0.15);
  --white: #ffffff;
}

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

/* Desactivar selección de texto en toda la página */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Solo los datos de contacto son seleccionables */
.selectable, .selectable * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  cursor: text;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100vw;
}

/* --- 1. CUSTOM SCROLLBAR PREMIUM --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--teal-dark);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--teal-light);
}

/* --- CANVAS MATRIX BG 3D — fijo en toda la página --- */
#particles-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background: #000;
  opacity: 1;
  display: block;
}

/* Todas las capas sobre el canvas */
nav, .hero, .section, .stats-section, .lamp-cta, footer, .social-float, .mobile-menu {
  position: relative; z-index: 1;
}
nav { z-index: 9000; }
.mobile-menu { z-index: 8999; }
.social-float { z-index: 9500; }
body { background: #000; }

/* ── LIQUID GLASS SECTIONS ────────────────────────────────────── */
/* Fondo transparente en secciones para que el Matrix se vea */
.section-dark, .section-darker, .stats-section, footer { background: transparent; }

/* Contenedor glass base */
.glass-section {
  position: relative;
  margin: 0;
  overflow: visible;
}
/* Solo secciones que no contienen la tablet full-width clips correctamente */
.glass-section:not(#sobre-mi):not(#servicios):not(#testimonios) {
  overflow: hidden;
}
#servicios,
#testimonios {
  overflow: visible;
}
.glass-section::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  pointer-events: none;
}
.glass-section > * { position: relative; z-index: 1; }

/* Variantes de color glass por sección */
.glass-teal::before    { background: rgba(0,201,167,0.04); border-top-color: rgba(0,201,167,0.14); }
.glass-dark::before    { background: rgba(7,20,18,0.45);   border-top-color: rgba(0,201,167,0.10); }
.glass-darker::before  { background: rgba(4,14,12,0.50);   border-top-color: rgba(0,201,167,0.08); }
.glass-stats::before   { background: rgba(0,100,80,0.10);  border-top-color: rgba(0,201,167,0.20); }
.glass-cta::before     { background: rgba(0,201,167,0.12); border-top-color: rgba(0,230,192,0.28); }
.glass-footer::before  { background: rgba(3,10,9,0.58);    border-top-color: rgba(0,201,167,0.12); }

/* El borde superior de #contacto lo provee el clip-path dinámico del lamp-cta */
#contacto::before { border-top: none; }
#contacto::after  { display: none; }

/* Reflejos superiores tipo liquid glass */
.glass-section::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18) 30%, rgba(0,201,167,0.25) 50%, rgba(255,255,255,0.18) 70%, transparent);
  pointer-events: none;
}

/* --- NAV --- */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9000;
  background: rgba(7,13,13,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-logo img { height: 42px; object-fit: contain; }
.nav-logo span {
  font-size: 14px; font-weight: 700; color: var(--white);
  letter-spacing: 1px; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 7px 16px; border-radius: 30px;
  transition: all 0.3s;
}
.nav-links a:hover { color: var(--white); background: var(--teal-glow); }
.nav-cta {
  background: var(--teal); color: #000 !important; font-weight: 800 !important;
  border-radius: 30px !important; padding: 9px 22px !important;
  transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--teal-light) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,201,167,0.45) !important; }
.nav-hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* --- ANIMACIÓN DE LEVITACIÓN PARA IMÁGENES --- */
@keyframes levitate {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* --- HERO --- */
.hero {
  min-height: 100vh; position: relative; z-index: 1;
  display: flex; align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,201,167,0.08) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(0,150,100,0.06) 0%, transparent 50%);
}
.hero-grid {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-glow); border: 1px solid var(--teal);
  color: var(--teal-light); font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 30px;
  margin-bottom: 24px; animation: fadeUp 0.8s ease both;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.4)} }
.hero h1 {
  font-size: clamp(36px, 4.5vw, 62px); font-weight: 900; line-height: 1.12;
  color: var(--white); margin-bottom: 14px;
  animation: fadeUp 0.9s 0.1s ease both;
}

/* --- 2. TEXTOS CON DEGRADADO PREMIUM --- */
.hero h1 .accent, .section-title .accent {
  background: linear-gradient(135deg, var(--teal) 0%, #00ffd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(0,201,167,0.3); /* Resplandor suave */
}

.hero-divider {
  width: 60px; height: 3px; background: linear-gradient(90deg, var(--teal), transparent);
  margin: 20px 0; animation: fadeUp 1s 0.2s ease both;
}
.hero-sub {
  font-size: 16px; color: var(--text-muted); line-height: 1.85;
  max-width: 520px; margin-bottom: 40px;
  animation: fadeUp 1s 0.3s ease both;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 1s 0.4s ease both; }
.btn-primary {
  background: var(--teal); color: #000; padding: 14px 30px; border-radius: 50px;
  font-weight: 800; font-size: 13px; letter-spacing: 0.5px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 30px rgba(0,201,167,0.4); transition: all 0.3s;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,201,167,0.55); }
.btn-secondary {
  background: transparent; color: var(--white); padding: 13px 28px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3); font-weight: 700; font-size: 13px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-light); background: var(--teal-glow); }

/* HERO IMAGE SIDE (Con efecto de Levitación) */
.hero-visual { position: relative; animation: fadeUp 1s 0.5s ease both; }
.hero-main-img {
  width: 100%; border-radius: 24px; overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0,201,167,0.12);
  border: 1px solid var(--border);
  animation: levitate 6s ease-in-out infinite; /* Levitación añadida */
}
.hero-main-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-main-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,201,167,0.08) 0%, transparent 60%);
}
.hero-stat-card {
  position: absolute; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px;
  backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: levitate 5s ease-in-out infinite reverse; /* Levitación invertida */
}
.hero-stat-card.s1 { bottom: -20px; left: -30px; }
.hero-stat-card.s2 { top: -20px; right: -20px; }
.hero-stat-card .num { font-size: 28px; font-weight: 900; color: var(--teal); line-height: 1; }
.hero-stat-card .lbl { font-size: 11px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* SCROLL INDICATOR */
.scroll-line {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeUp 1s 1s ease both;
}
.scroll-line span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); }
.scroll-line-bar { width: 1px; height: 40px; background: linear-gradient(var(--teal), transparent); animation: scrollAnim 2s infinite; }
@keyframes scrollAnim { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1)} 100%{transform:scaleY(0);transform-origin:bottom} }

/* SECTION COMMONS */
.section { padding: 100px 48px; position: relative; z-index: 1; }
.section-dark { background: transparent; }
.section-darker { background: transparent; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--teal); }
.section-title {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 900; color: var(--white);
  line-height: 1.2; margin-bottom: 20px;
}
.section-sub { font-size: 16px; color: var(--text-muted); line-height: 1.8; max-width: 620px; }

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

/* ABOUT — ContainerScroll (tablet 3D) */
.scroll-tablet-section {
  height: 110vh;
  position: relative; padding: 0;
}
.scroll-tablet-sticky {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
  overflow: hidden;
  padding: 20px 0;
  box-sizing: border-box;
}
.scroll-tablet-header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 20px;
  will-change: transform, opacity;
  flex-shrink: 0;
  pointer-events: none;
  z-index: 2;
}
.scroll-tablet-header .section-label { justify-content: center; }

/* La tarjeta ocupa todo el ancho y alto del viewport */
.scroll-tablet-card {
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  border-radius: 24px;
  border: 3px solid #5a5a5a;
  background: #1a1a1a;
  box-shadow:
    0 0 0 6px #2a2a2a,
    0 0 0 8px #3a3a3a,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 0 60px rgba(0,201,167,0.08);
  padding: 8px 8px 8px 8px;
  will-change: transform;
  transform-origin: center center;
  flex-shrink: 0;
  position: relative;
}

/* Botón home de tablet (decorativo) */
.scroll-tablet-card::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 2px solid #4a4a4a;
  box-shadow: 0 0 8px rgba(0,201,167,0.2);
  z-index: 10;
}

/* Cámara/sensor de tablet (decorativo) */
.scroll-tablet-card::after {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3a3a;
  border: 1px solid #5a5a5a;
  z-index: 10;
}

.scroll-tablet-inner {
  width: 100%; height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #0d1a18;
  display: flex;
}

/* Contenido dentro de la tableta */
.tablet-content {
  display: grid; grid-template-columns: 36% 64%; gap: 0;
  width: 100%; height: 100%;
}
.tablet-img-col {
  position: relative; overflow: hidden; height: 100%;
}
.tablet-img-col img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block;
}
.tablet-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 50%),
              linear-gradient(to right, transparent 60%, #0d1a18 100%);
}
.tablet-img-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--teal); color: #000;
  border-radius: 12px; padding: 8px 12px;
  text-align: center; font-weight: 900;
  box-shadow: 0 6px 24px rgba(0,201,167,0.5);
  font-size: 11px; line-height: 1.2;
}
.tablet-img-badge .n { font-size: 20px; line-height: 1; display: block; }

.tablet-text-col {
  padding: 28px 28px 24px 22px;
  display: flex; flex-direction: column; justify-content: center;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none;
  gap: 0;
}
.tablet-text-col::-webkit-scrollbar { display: none; }
.tablet-text-col .section-label { margin-bottom: 8px; }
.tablet-text-col .section-title {
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.15; margin-bottom: 16px;
  color: var(--white);
}
.tablet-text-col .tablet-intro {
  font-size: clamp(12px, 1.05vw, 14px);
  color: var(--text-muted); line-height: 1.75;
  margin-bottom: 14px;
  border-left: 2px solid var(--teal);
  padding-left: 12px;
}
.tablet-text-col p {
  font-size: clamp(11px, 0.95vw, 13px);
  color: var(--text-muted); line-height: 1.7; margin-bottom: 8px;
}
.tablet-text-col p:last-of-type { margin-bottom: 0; }

.tablet-highlights {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 16px;
}
.tablet-highlight-item {
  background: rgba(0,201,167,0.06);
  border: 1px solid rgba(0,201,167,0.15);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; align-items: flex-start; gap: 8px;
}
.tablet-highlight-item .thi-icon {
  color: var(--teal); font-size: 14px; margin-top: 1px; flex-shrink: 0;
}
.tablet-highlight-item .thi-text {
  font-size: clamp(10px, 0.85vw, 12px);
  color: var(--text-muted); line-height: 1.4;
}
.tablet-highlight-item .thi-text strong {
  color: var(--white); display: block; font-size: clamp(11px, 0.9vw, 13px);
  margin-bottom: 1px;
}

.tablet-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tablet-skills .skill-tag { font-size: 10px; padding: 4px 10px; }

/* ABOUT legacy (oculto, reemplazado por tablet) */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.about-imgs { position: relative; }
.about-img-main {
  width: 100%; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  aspect-ratio: 3/4;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute; bottom: -30px; right: -30px;
  width: 55%; border-radius: 16px; overflow: hidden;
  border: 3px solid var(--dark2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  aspect-ratio: 4/3;
  animation: levitate 5s ease-in-out infinite alternate;
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
  position: absolute; top: 20px; right: -20px;
  background: var(--teal); color: #000; border-radius: 14px;
  padding: 16px 20px; text-align: center; font-weight: 900;
  box-shadow: 0 8px 30px rgba(0,201,167,0.5);
}
.about-badge-float .n { font-size: 30px; line-height: 1; display: block; }
.about-badge-float .t { font-size: 11px; font-weight: 700; }
.about-text h2 { margin-bottom: 22px; }
.about-text p { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 18px; }
.about-skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* --- 4. MICRO-INTERACCIONES EN SKILLS --- */
.skill-tag {
  background: var(--teal-glow); border: 1px solid var(--border);
  color: var(--teal); font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 25px; letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
}
.skill-tag:hover {
  background: var(--teal);
  color: #000;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0,201,167,0.4);
  border-color: var(--teal);
}

/* SERVICES */
#servicios.section { min-height: 100vh; display: flex; align-items: center; overflow: hidden; position: relative; }
#servicios .container { width: 100%; position: relative; z-index: 1; }
.services-header { text-align: center; margin-bottom: 60px; position: relative; }
.services-header .section-label { justify-content: center; }
.vaporize-title-big { font-size: clamp(32px, 7.5vw, 96px) !important; line-height: 1.1 !important; margin-bottom: 24px !important; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 22px; padding: 28px 26px;
  transition: all 0.4s; position: relative; overflow: hidden;
  cursor: default;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(0,201,167,0.35); box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,201,167,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-size: 38px; font-weight: 900; color: rgba(0,201,167,0.13);
  line-height: 1; font-style: italic;
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--teal);
}
.service-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 16px; }

/* CHIPS */
.service-chips {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 20px;
}
.service-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 11px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.service-chips span i { color: var(--teal); font-size: 10px; }
.service-card:hover .service-chips span {
  background: rgba(0,201,167,0.07);
  border-color: rgba(0,201,167,0.22);
  color: rgba(255,255,255,0.85);
}

.service-card-body {
  display: flex; flex-direction: column; flex: 1;
}
.service-ideal {
  font-size: 11px; color: var(--teal); font-weight: 700;
  letter-spacing: 0.3px;
  border-top: 1px solid var(--border); padding-top: 14px;
  margin-top: auto;
}

/* PLANS SECTION */
.plans-header {
  text-align: center;
  margin: 90px 0 52px;
  position: relative;
}
.plans-header::before {
  content: '';
  display: block;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  margin: 0 auto 36px;
}
.plans-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 16px;
}
.plans-sub {
  font-size: 15px; color: var(--text-muted);
  max-width: 480px; margin: 0 auto; line-height: 1.7;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

/* PLAN CARD BASE */
.plan-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 44px 38px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  display: flex; flex-direction: column; gap: 0;
}
.plan-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,201,167,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 0 40px rgba(0,201,167,0.08);
  border-color: rgba(0,201,167,0.25);
}

/* FEATURED PLAN */
.plan-card-featured {
  border-color: rgba(0,201,167,0.45);
  background: linear-gradient(160deg, rgba(0,201,167,0.07) 0%, var(--card-bg) 45%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 50px rgba(0,201,167,0.12);
}
.plan-card-featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.plan-card-featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,201,167,0.2);
  border-color: rgba(0,201,167,0.6);
}

/* BADGE */
.plan-badge-top {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px;
  margin-bottom: 22px; width: fit-content;
}
.plan-badge-hot {
  background: linear-gradient(90deg, rgba(0,201,167,0.15), rgba(0,201,167,0.08));
  border-color: rgba(0,201,167,0.4);
  color: var(--teal);
}
.plan-badge-hot i { margin-right: 5px; }

/* ICON */
.plan-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--teal);
  margin-bottom: 20px;
}
.plan-card-featured .plan-icon-wrap {
  background: rgba(0,201,167,0.15);
  border-color: rgba(0,201,167,0.35);
  box-shadow: 0 0 20px rgba(0,201,167,0.2);
}

/* NAME & PRICE */
.plan-name {
  font-size: 16px; font-weight: 800; color: var(--white);
  letter-spacing: 0.2px; margin-bottom: 18px;
}
.plan-price-wrap {
  display: flex; align-items: flex-end; gap: 4px;
  margin-bottom: 20px;
}
.plan-currency {
  font-size: 22px; font-weight: 700; color: var(--teal);
  line-height: 1.3; margin-bottom: 4px;
}
.plan-price {
  font-size: 64px; font-weight: 900; color: var(--white);
  line-height: 1; letter-spacing: -2px;
}
.plan-card-featured .plan-price { color: var(--teal); }
.plan-period {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
  margin-bottom: 8px; margin-left: 4px;
}

/* DESCRIPTION */
.plan-desc {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* INCLUDES */
.plan-includes {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 11px;
}
.plan-includes li {
  font-size: 13.5px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.plan-includes li i {
  color: var(--teal); font-size: 13px; flex-shrink: 0; margin-top: 1px;
}
.plan-includes li strong { color: var(--white); }
.plan-card-featured .plan-includes li { color: rgba(255,255,255,0.82); }

/* Ítem especial — revisiones ilimitadas */
.plan-includes li:has(.fa-star) {
  color: var(--teal);
  font-weight: 600;
}
.plan-includes li:has(.fa-star) i { color: #ffd166; }

/* Ítem especial — nuestra imaginación */
.plan-includes li:has(.fa-infinity) {
  color: rgba(255,255,255,0.55);
  font-style: italic;
}
.plan-includes li:has(.fa-infinity) i { color: var(--teal); opacity: 0.6; }

/* Badge inline (drone incluido / incluido en precio) */
.plan-badge-inline {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0,201,167,0.12);
  border: 1px solid rgba(0,201,167,0.25);
  color: var(--teal); font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  letter-spacing: 0.3px; white-space: nowrap;
  margin-left: 4px; vertical-align: middle;
}

/* Texto revisiones — tipografía más ligera para legibilidad */
.plan-revision-text {
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--text-light);
}
.plan-revision-text strong {
  font-weight: 700;
  color: #ffd700;
}

/* Li VIDA — wrapper del texto */
.plan-li-vida {
  align-items: flex-start !important;
}
.plan-li-vida-text {
  display: inline;
  line-height: 1.6;
}

/* Keyword VIDA — badge pill inline */
.plan-keyword-vida {
  display: inline-block;
  font-weight: 900;
  font-size: 0.82em;
  letter-spacing: 0.18em;
  color: #0a1a17;
  background: var(--teal);
  padding: 1px 7px 2px;
  border-radius: 4px;
  margin: 0 2px;
  vertical-align: middle;
  line-height: 1.5;
  box-shadow: 0 0 10px rgba(0,201,167,0.5);
}

/* Subtexto descriptivo debajo del mensaje principal */
.plan-li-vida-sub {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Li con ENCANTE — flex para alinear badge */
.plan-li-encante {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.plan-li-encante i {
  flex-shrink: 0;
}

/* Badge ENCANTE */
.plan-keyword-encante {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, rgba(255,215,0,0.12) 0%, rgba(255,165,0,0.15) 100%);
  border: 1px solid rgba(255,215,0,0.45);
  border-radius: 6px;
  padding: 2px 10px 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255,215,0,0.4);
  white-space: nowrap;
}
.plan-keyword-encante::before {
  content: "✦";
  font-size: 9px;
  opacity: 0.7;
}

/* Bloque upsell "imposible no estarlo → planes mensuales" */
.plan-upsell-block {
  margin-bottom: 22px;
  border-radius: 14px;
  border: 1px solid rgba(0,201,167,0.25);
  background: rgba(0,201,167,0.04);
  overflow: hidden;
}
.plan-upsell-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(0,201,167,0.1);
  border-bottom: 1px solid rgba(0,201,167,0.18);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-upsell-header i { font-size: 12px; }
.plan-upsell-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-upsell-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(232,245,242,0.75);
  line-height: 1.55;
}
.plan-upsell-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,201,167,0.12);
  border: 1px solid rgba(0,201,167,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.plan-upsell-icon i { font-size: 10px; color: var(--teal); }
.plan-upsell-imposible {
  color: var(--teal);
  font-style: italic;
  font-weight: 700;
}
.plan-upsell-arrow {
  text-align: center;
  color: rgba(0,201,167,0.4);
  font-size: 11px;
  padding: 2px 0;
}
.plan-upsell-offer {
  background: rgba(0,201,167,0.07);
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 2px;
  color: rgba(232,245,242,0.88);
}
.plan-upsell-offer strong {
  color: var(--teal);
  font-weight: 700;
}

/* NOTE (legacy, kept for compatibility) */
.plan-note {
  font-size: 12px; color: var(--text-muted);
  background: rgba(0,201,167,0.06);
  border: 1px solid rgba(0,201,167,0.15);
  border-radius: 10px; padding: 12px 14px;
  line-height: 1.6; margin-bottom: 26px;
  display: flex; gap: 9px; align-items: flex-start;
}
.plan-note i { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.plan-note em { color: var(--teal); font-style: italic; font-weight: 600; }

/* CTA BUTTONS */
.plan-cta {
  display: block; text-align: center;
  padding: 15px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.4px;
  text-decoration: none; transition: all 0.3s;
  margin-top: auto;
}
.plan-cta-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--white);
}
.plan-cta-secondary:hover {
  background: rgba(0,201,167,0.1);
  border-color: rgba(0,201,167,0.4);
  color: var(--teal);
}
.plan-cta-primary {
  background: linear-gradient(135deg, var(--teal), rgba(0,180,150,0.85));
  color: #000;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(0,201,167,0.3);
  border: none;
}
.plan-cta-primary:hover {
  background: linear-gradient(135deg, rgba(0,220,180,1), var(--teal));
  box-shadow: 0 12px 35px rgba(0,201,167,0.45);
  transform: translateY(-2px);
  color: #000;
}

/* FOOTER NOTE */
.plans-footer-note {
  text-align: center;
  margin-top: 48px;
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.plans-footer-note i { color: var(--teal); }
.accent-link {
  color: var(--teal); text-decoration: none; font-weight: 600;
  transition: opacity 0.2s;
}
.accent-link:hover { opacity: 0.75; text-decoration: underline; }

/* PROJECTS */
.projects-header { text-align: center; margin-bottom: 60px; }
.projects-header .section-label { justify-content: center; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.project-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden;
  transition: all 0.4s;
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 30px rgba(0,201,167,0.15); border-color: rgba(0,201,167,0.4); }
.project-img { position: relative; height: 220px; overflow: hidden; }
/* Zoom más lento y cinematográfico en proyectos */
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.project-card:hover .project-img img { transform: scale(1.1); }
.project-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,13,13,0.85) 0%, transparent 60%);
}
.project-cat {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: var(--teal); color: #000; font-size: 10px; font-weight: 800;
  padding: 4px 12px; border-radius: 20px; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.project-visitors-badge {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, rgba(0,201,167,0.18) 0%, rgba(0,201,167,0.06) 100%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 201, 167, 0.35);
  color: var(--teal); font-size: 11px; font-weight: 800;
  padding: 10px 18px; border-radius: 0 0 22px 22px; letter-spacing: 1px;
  text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 -4px 30px rgba(0,201,167,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: badge-glow 2.8s ease-in-out infinite;
}
.project-visitors-badge .badge-num {
  font-size: 13px; font-weight: 900; color: #7B1E2B;
  letter-spacing: 0.5px; text-shadow: 0 0 12px rgba(123,30,43,0.7);
}
.project-visitors-badge .badge-text-label {
  color: rgba(255,255,255,0.7); font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
}
.project-visitors-badge .badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal), 0 0 16px rgba(0,201,167,0.5);
  flex-shrink: 0;
  animation: dot-blink 1.4s ease-in-out infinite;
}
.project-visitors-badge .badge-icon {
  font-size: 12px; color: var(--teal); opacity: 0.85;
  animation: badge-icon-pulse 2.8s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 -4px 20px rgba(0,201,167,0.12), inset 0 1px 0 rgba(255,255,255,0.05); border-color: rgba(0,201,167,0.35); }
  50%       { box-shadow: 0 -4px 40px rgba(0,201,167,0.35), inset 0 1px 0 rgba(255,255,255,0.10); border-color: rgba(0,201,167,0.7); }
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--teal), 0 0 16px rgba(0,201,167,0.5); }
  50%       { opacity: 0.5; transform: scale(0.65); box-shadow: 0 0 4px var(--teal); }
}
@keyframes badge-icon-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%       { transform: scale(1.15); opacity: 1; }
}
.project-body { padding: 26px 28px 30px; }
.project-body h3 { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.project-body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.project-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--teal); font-size: 13px; font-weight: 700; text-decoration: none;
  transition: all 0.3s;
}
.project-link:hover { gap: 12px; color: var(--teal-light); text-shadow: 0 0 10px rgba(0,201,167,0.5); }
.project-link i { font-size: 12px; }

/* STATS */
.stats-section {
  background: transparent;
  border-top: none; border-bottom: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 60px 30px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 52px; font-weight: 900; color: var(--teal); line-height: 1; }
.stat-num span { font-size: 30px; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 10px; text-transform: uppercase; letter-spacing: 1.5px; }

/* TESTIMONIALS STACK */
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-header .section-label { justify-content: center; }

.testimonials-stack-wrap {
  display: flex; justify-content: center; align-items: center;
  padding: 40px 0 90px;
}
.testimonials-stack {
  position: relative;
  width: 340px; height: 440px;
}

.tstack-card {
  position: absolute; left: 0; top: 0;
  width: 340px; height: 440px;
  border-radius: 22px;
  border: 1.5px solid var(--border);
  background: rgba(10,20,20,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  padding: 36px 32px;
  display: grid; place-content: center;
  gap: 20px; text-align: center;
  transition: transform 0.35s cubic-bezier(0.34,1.3,0.64,1), z-index 0s;
  will-change: transform;
  touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.tstack-card[data-pos="front"] {
  z-index: 3;
  transform: rotate(-6deg) translateX(0%);
  cursor: grab;
}
.tstack-card[data-pos="front"]:active { cursor: grabbing; }
.tstack-card[data-pos="middle"] {
  z-index: 2;
  transform: rotate(0deg) translateX(33px);
}
.tstack-card[data-pos="back"] {
  z-index: 1;
  transform: rotate(6deg) translateX(66px);
}
.tstack-card.is-dragging { transition: none; }

.tstack-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #004d40);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: #000;
  margin: 0 auto;
}
.tstack-text {
  font-size: 13.5px; color: var(--text-muted);
  line-height: 1.85; font-style: italic;
  display: block;
}
.tstack-author {
  font-size: 13px; font-weight: 700; color: var(--teal);
  display: block; line-height: 1.5;
}
.tstack-author small { font-size: 11px; color: var(--text-muted); font-weight: 400; }
/* hint oculto — reemplazado por swipe-indicator */
.tstack-hint { display: none; }

/* ── SWIPE INDICATOR ── */
.tstack-swipe-indicator {
  position: absolute;
  bottom: -52px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  color: rgba(0,201,167,0.65);
  font-size: 12px; letter-spacing: 0.6px;
  white-space: nowrap;
  pointer-events: none;
  animation: swipe-fade-in 1.2s ease 1.5s both;
}
.tstack-swipe-indicator svg {
  width: 22px; height: 22px; flex-shrink: 0;
  animation: swipe-hand 1.8s ease-in-out infinite;
}
@keyframes swipe-hand {
  0%   { transform: translateX(0);   opacity: 1;   }
  40%  { transform: translateX(-18px); opacity: 1; }
  55%  { transform: translateX(-18px); opacity: 0; }
  56%  { transform: translateX(8px);  opacity: 0;  }
  75%  { transform: translateX(8px);  opacity: 1;  }
  100% { transform: translateX(0);   opacity: 1;   }
}
@keyframes swipe-fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);   }
}

/* ── AUTO-NUDGE: leve bamboleo de la carta frontal ── */
@keyframes tstack-nudge {
  0%   { transform: rotate(-6deg) translateX(0px);   }
  30%  { transform: rotate(-6deg) translateX(-22px);  }
  55%  { transform: rotate(-6deg) translateX(-22px);  }
  80%  { transform: rotate(-6deg) translateX(0px);   }
  100% { transform: rotate(-6deg) translateX(0px);   }
}
.tstack-card[data-pos="front"].do-nudge {
  animation: tstack-nudge 0.7s cubic-bezier(0.34,1.2,0.64,1) forwards;
}

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { font-size: 15px; color: var(--text-muted); line-height: 1.85; margin-bottom: 36px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 22px; text-decoration: none;
  transition: all 0.3s;
}
.contact-method:hover { border-color: var(--teal); background: var(--teal-glow); transform: translateX(6px); }
.contact-method-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--teal); flex-shrink: 0;
}
.contact-method h4 { font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; }
.contact-method p { font-size: 14px; color: var(--white); font-weight: 500; margin-top: 3px; }

/* CONTACT FORM */
.contact-form-wrap {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px 36px;
}
.contact-form-wrap h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 28px; }

/* Success state — reemplaza el formulario tras envío exitoso */
.cf-success-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 40px 20px; gap: 16px;
  animation: cfSuccessFadeIn 0.45s cubic-bezier(.4,0,.2,1) both;
}
@keyframes cfSuccessFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cf-success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(0,201,167,0.13);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--teal);
  box-shadow: 0 0 32px rgba(0,201,167,0.25);
  animation: cfSuccessIconPop 0.5s 0.1s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes cfSuccessIconPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cf-success-title {
  font-size: 22px; font-weight: 800; color: var(--white);
  margin: 0; letter-spacing: -0.3px;
}
.cf-success-sub {
  font-size: 15px; color: var(--text-muted);
  margin: 0; line-height: 1.55; max-width: 300px;
}
.cf-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.cf-group label { font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; }
.cf-group input,
.cf-group select,
.cf-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; font-size: 14px;
  color: var(--white); font-family: inherit; outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%; box-sizing: border-box;
}
.cf-group input:focus, .cf-group textarea:focus { border-color: var(--teal); background: rgba(0,201,167,0.06); }

/* ── CUSTOM SELECT ─────────────────────────────── */
.cs-wrap {
  position: relative;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
}
.cs-trigger {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; font-size: 14px;
  color: rgba(255,255,255,0.35); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  gap: 10px;
}
.cs-val.cs-has-val { color: var(--white); }
.cs-arrow {
  font-size: 11px; color: var(--teal);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
}
.cs-wrap.cs-open .cs-arrow { transform: rotate(180deg); }
.cs-wrap.cs-open .cs-trigger,
.cs-trigger:hover {
  border-color: var(--teal);
  background: rgba(0,201,167,0.06);
  box-shadow: 0 0 0 3px rgba(0,201,167,0.08);
}
.cs-wrap.cs-error .cs-trigger { border-color: #ff5c5c; }
.cs-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #0d1f1a;
  border: 1px solid rgba(0,201,167,0.3);
  border-radius: 14px;
  padding: 6px;
  margin: 0; list-style: none;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,201,167,0.08);
  opacity: 0; transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
  transform-origin: top center;
}
.cs-wrap.cs-open .cs-dropdown {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.cs-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 14px; color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.cs-option i { width: 16px; text-align: center; color: var(--teal); opacity: 0.7; font-size: 13px; transition: opacity 0.15s; }
.cs-option:hover { background: rgba(0,201,167,0.12); color: var(--white); padding-left: 18px; }
.cs-option:hover i { opacity: 1; }
.cs-option.cs-selected { background: rgba(0,201,167,0.15); color: var(--teal); font-weight: 600; }
.cs-option.cs-selected i { opacity: 1; }
.cf-group input.cf-error, .cf-group select.cf-error, .cf-group textarea.cf-error { border-color: #ff5c5c; }
.cf-error-msg { font-size: 12px; color: #ff5c5c; margin-top: 2px; display: none; }
.cf-error-msg.visible { display: block; }
.cf-otro-wrap { margin-top: 10px; display: none; }
.cf-otro-wrap.visible { display: block; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-submit {
  width: 100%; padding: 16px; background: var(--teal); border: none;
  border-radius: 12px; color: #0a1a14; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; letter-spacing: 0.5px;
  transition: background 0.25s, transform 0.2s, opacity 0.25s, filter 0.25s; margin-top: 8px;
}
.cf-submit:hover { background: #00e0b8; transform: translateY(-2px); }
.cf-submit:active { transform: translateY(0); }

/* Estado bloqueado: mientras el formulario NO esté completo y correcto
   (y también durante el envío), el botón queda opaco e inerte —
   sin hover, sin transform, sin clic — para que no se pueda "aplastar". */
.cf-submit--locked,
.cf-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  filter: grayscale(0.2);
}
.cf-submit--locked:hover,
.cf-submit:disabled:hover { background: var(--teal); transform: none !important; }

/* ══════════════════════════════════════════════════
   CTA LÁMPARA — SCROLL-DRIVEN LAMP ANIMATION
══════════════════════════════════════════════════ */

/* Wrapper: contiene el lamp-cta y el SVG decorativo superpuesto */
#lamp-cta-wrap {
  position: relative;
  z-index: 2;
}

.lamp-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(4,14,12,0.92);
  border-top:    none;
  border-bottom: none;
  overflow: hidden;              /* clip-path recorta todo el contenido interno */
  padding: 0 0 190px;            /* 110px normal + 80px buffer para la curva hacia abajo */
  min-height: 820px;
  /* clip-path: path() actualizado por wave-divider.js — borde inferior es la curva elástica */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  will-change: clip-path;
}

/* Canvas Three.js — inyectado directamente por lamp-depth-3d.js */
#lamp3d-canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  display: block !important;
}

/* Sombra proyectada bajo el contenido — refuerza la ilusión del suelo */
.lamp-cta::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  width: min(900px, 85%);
  height: 80px;
  background: radial-gradient(ellipse at center,
    rgba(0,201,167,0.12) 0%,
    rgba(0,0,0,0.85)     25%,
    rgba(0,0,0,0.50)     55%,
    transparent          80%
  );
  filter: blur(18px);
  z-index: 1;
  pointer-events: none;
}

/* ::before eliminado — reemplazado por wave SVG dinámica (#lamp-wave-divider) */

/* Aseguramos que la lámpara CSS y el contenido queden por encima del canvas 3D */
.lamp-cta .lamp-stage,
.lamp-cta .lamp-body {
  position: relative;
  z-index: 10;
}

/* ── SVG decorativo luminoso: anclado al borde visual del lamp-cta ── */
#lamp-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;         /* = MAX_DRAG en wave-divider.js — coincide con el borde visual en reposo */
  width: 100%;
  height: 0;
  z-index: 20;
  overflow: visible;
  pointer-events: none;
}
/* Zona interactiva: 70px arriba y 70px abajo del borde, centrada en el límite */
#lamp-wave-divider .wave-hover-zone {
  position: absolute;
  left: 0; right: 0;
  bottom: -70px;    /* centro de la zona en el borde del wrapper */
  height: 140px;
  cursor: grab;
  z-index: 21;
  pointer-events: all;
}
#lamp-wave-divider .wave-hover-zone:active {
  cursor: grabbing;
}
/* SVG de altura 0 con overflow visible: y=0 = borde inferior del contenedor */
#lamp-wave-divider svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  overflow: visible;
  pointer-events: none;
}
/* Curva inferior dinámica */
#lamp-wave-path {
  fill: none;
  stroke: rgba(0,255,192,0.65);
  stroke-width: 1.5px;
  filter: drop-shadow(0 0 6px rgba(0,255,192,0.55));
}
/* Laterales del marco */
#lamp-side-left,
#lamp-side-right {
  fill: none;
  stroke: rgba(0,255,192,0.40);
  stroke-width: 1px;
  filter: drop-shadow(0 0 4px rgba(0,255,192,0.35));
}

/* ── Zona de la lámpara ─────────────────── */
.lamp-stage {
  position: relative;
  width: 100%;
  height: 260px;           /* espacio para los conos */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
}

/* Conos cónicos — el ancho se controla por JS */
.lamp-cone-left,
.lamp-cone-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 15rem;            /* JS arranca desde 4rem */
  overflow: hidden;
  transform: scaleY(1.25);
  transform-origin: top center;
  will-change: width;
}
.lamp-cone-left  { right: 50%; }
.lamp-cone-right { left:  50%; }

.lamp-cone-left {
  background-image: conic-gradient(
    from 70deg at center top,
    #00C9A7 0deg, transparent 40deg, transparent 360deg
  );
}
.lamp-cone-right {
  background-image: conic-gradient(
    from 290deg at center top,
    transparent 0deg, transparent 320deg, #00C9A7 360deg
  );
}

/* Máscaras laterales que limpian el desborde interior del cono
   — fondo completamente transparente para no tapar el canvas 3D */
.lamp-cone-mask-left,
.lamp-cone-mask-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}
.lamp-cone-mask-left  { left: 0;   mask-image: linear-gradient(to right, black 55%, transparent); }
.lamp-cone-mask-right { right: 0;  mask-image: linear-gradient(to left,  black 55%, transparent); }

/* Glow esférico en el punto de cruce de los conos */
.lamp-hotspot {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: 22rem; height: 8rem;
  border-radius: 50%;
  background: rgba(0,201,167,0.55);
  filter: blur(48px);
  z-index: 1;
  pointer-events: none;
}

/* Línea horizontal de luz (la "barra" de la lámpara) */
.lamp-bar {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 15rem;             /* JS sincroniza con los conos */
  background: #00C9A7;
  box-shadow: 0 0 12px 3px rgba(0,201,167,0.8);
  z-index: 6;
  pointer-events: none;
  will-change: width;
}

/* Piso difuso que suaviza la base de los conos — sin color sólido para no tapar el canvas 3D */
.lamp-blur-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(4,16,14,0.0) 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}

/* ── Contenido bajo la lámpara ─────────── */
.lamp-body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 0 32px;
  max-width: 900px;
  width: 100%;
  margin-top: 40px;
}

.lamp-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  /* Sombras múltiples: glow teal de la lámpara + sombra direccional dura
     (como si el texto estuviera flotando en un espacio iluminado desde arriba). */
  text-shadow:
    0 0 28px rgba(0,201,167,0.55),
    0 0 70px rgba(0,201,167,0.30),
    0 14px 28px rgba(0,0,0,0.95),
    0 28px 48px rgba(0,0,0,0.75),
    0 50px 70px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(32px) translateZ(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transform-style: preserve-3d;
}
.lamp-title.lamp-in {
  opacity: 1;
  transform: translateY(0);
}

.lamp-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  line-height: 1.7;
  max-width: 640px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.lamp-sub.lamp-in {
  opacity: 1;
  transform: translateY(0);
}

/* Botón CTA */
.cta-btn {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(20,10,40,0.90) 100%);
  color: #00ffc8;
  padding: 18px 44px;
  border-radius: 60px;
  font-weight: 900; font-size: 15px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid rgba(0,201,167,0.50);
  box-shadow:
    0 0 0 0 rgba(0,201,167,0),
    0 10px 36px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.8s ease, transform 0.8s ease,
              box-shadow 0.25s ease, border-color 0.25s ease;
}
.cta-btn.lamp-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Shimmer sweep en el botón */
.cta-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  transform: skewX(-15deg);
  animation: ctaBtnShimmer 3.5s ease-in-out infinite;
}
@keyframes ctaBtnShimmer {
  0%   { left: -75%; }
  40%, 100% { left: 130%; }
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(0,255,200,0.80);
  box-shadow:
    0 0 24px rgba(0,255,200,0.40),
    0 18px 44px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

/* FOOTER */
footer {
  background: transparent; padding: 60px 48px 30px;
  border-top: none; position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; max-width: 1200px; margin: 0 auto; padding-bottom: 50px; border-bottom: 1px solid var(--border); }
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.8; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 15px; text-decoration: none; transition: all 0.3s;
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #000; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: var(--white); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom { max-width: 1200px; margin: 25px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom .made { color: var(--teal); }

/* SOCIAL FLOAT */
.social-float {
  position: fixed; bottom: 28px; left: 20px; z-index: 9500;
  display: flex; flex-direction: column; gap: 10px;
}
.sf-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #fff; font-size: 18px;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.sf-ig { background: linear-gradient(135deg, #833AB4, #C13584, #E1306C, #F56040); }
.sf-wa { background: #25D366; }
.sf-btn:hover { transform: scale(1.15); box-shadow: 0 8px 25px rgba(0,0,0,0.5); }

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 8999;
  background: rgba(7,13,13,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); text-decoration: none; font-size: 22px; font-weight: 700; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .close-btn { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-imgs { max-width: 450px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 520px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 40px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .scroll-tablet-card {
    height: calc(100vh - 40px);
    width: calc(100vw - 40px);
  }
  .tablet-content { grid-template-columns: 1fr; grid-template-rows: 200px 1fr; }
  .tablet-img-col { height: 200px; }
  .tablet-text-col { padding: 16px 18px 14px; justify-content: flex-start; }
  .tablet-text-col .section-title { font-size: 17px; }
  .tablet-text-col p { font-size: 12px; line-height: 1.65; }
  .tablet-highlights { grid-template-columns: 1fr 1fr; gap: 6px; }
  .scroll-tablet-header { margin-bottom: 14px; }
}

@media (min-width: 1025px) and (max-width: 1300px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 24px 70px; }
  .section { padding: 70px 24px; }
  #servicios.section { min-height: unset; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card { padding: 18px 16px; border-radius: 16px; }
  .service-card h3 { font-size: 14px; margin-bottom: 10px; }
  .service-num { font-size: 28px; }
  .service-icon { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
  .service-card-top { margin-bottom: 12px; }
  .service-chips { gap: 5px; margin-bottom: 12px; }
  .service-chips span { font-size: 10px; padding: 4px 8px; }
  .service-ideal { font-size: 10px; padding-top: 10px; }
  .plans-grid { max-width: 100%; }
  .plan-card { padding: 34px 26px 30px; }
  .plan-price { font-size: 52px; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 40px 20px; }
  .testimonials-stack { width: 300px; height: 420px; }
  .tstack-card { width: 300px; height: 420px; padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 50px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .lamp-cta { padding: 0 0 150px; } /* 70px normal + 80px buffer curva */
  .lamp-stage { height: 180px; }
  .lamp-body { padding: 0 20px; }
  .lamp-title { font-size: clamp(22px, 6vw, 32px); }
  .lamp-sub { font-size: 14px; }
  .cta-btn { padding: 16px 32px; font-size: 14px; }
  .cta-btn { padding: 16px 32px; font-size: 14px; }
  .hero-stat-card { display: none; }

  /* Tableta en móvil */
  .scroll-tablet-section { height: 110vh; }
  .scroll-tablet-sticky { padding: 16px 0; }
  .scroll-tablet-card {
    height: calc(100vh - 32px);
    width: calc(100vw - 32px);
    border-radius: 20px;
  }
  .scroll-tablet-inner { border-radius: 14px; }
  .scroll-tablet-header { margin-bottom: 12px; }
  .scroll-tablet-header .section-title { font-size: 22px; }
  .tablet-content { grid-template-columns: 1fr; grid-template-rows: 170px 1fr; }
  .tablet-img-col { height: 170px; }
  .tablet-text-col {
    padding: 14px 14px 10px;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .tablet-text-col .section-label { font-size: 10px; }
  .tablet-text-col .section-title { font-size: 15px; margin-bottom: 7px; }
  .tablet-text-col .tablet-intro { font-size: 11px; margin-bottom: 10px; }
  .tablet-text-col p { font-size: 11px; line-height: 1.6; margin-bottom: 7px; }
  .tablet-highlights { grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 10px; }
  .tablet-highlight-item { padding: 8px 10px; }
  .tablet-highlight-item .thi-text { font-size: 10px; }
  .tablet-highlight-item .thi-text strong { font-size: 10px; }
  .tablet-skills { gap: 5px; margin-top: 8px; }
  .tablet-skills .skill-tag { font-size: 10px; padding: 4px 9px; }
  .vaporize-title-big { font-size: clamp(28px, 7.5vw, 48px) !important; margin-bottom: 48px !important; }
}

/* Celulares muy pequeños: cards alargadas en 1 columna */
@media (max-width: 420px) {
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 14px;
  }
  .service-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 44px;
  }
  .service-num { font-size: 22px; }
  .service-card-body { flex: 1; }
  .service-card h3 { font-size: 13px; margin-bottom: 8px; }
  .service-chips { gap: 4px; margin-bottom: 8px; }
  .service-ideal { font-size: 9px; }
}

/* ── TOAST FLOTANTE FORMULARIO ─────────────────────────────────── */
.cf-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(7,13,13,0.97);
  border: 1px solid rgba(0,201,167,0.45);
  border-radius: 16px;
  padding: 18px 20px 18px 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,201,167,0.1);
  max-width: 340px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.cf-toast--show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cf-toast-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,201,167,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: #00c9a7;
}
.cf-toast-text {
  display: flex; flex-direction: column; gap: 3px; flex: 1;
}
.cf-toast-text strong {
  font-size: 15px; font-weight: 700; color: var(--white);
}
.cf-toast-text span {
  font-size: 13px; color: var(--text-muted);
}
.cf-toast-close {
  flex-shrink: 0;
  background: transparent; border: none;
  color: var(--text-muted); cursor: pointer;
  font-size: 14px; padding: 4px; line-height: 1;
  transition: color 0.2s;
}
.cf-toast-close:hover { color: var(--white); }
@media (max-width: 480px) {
  .cf-toast {
    bottom: 20px; right: 16px; left: 16px;
    max-width: none;
  }
}

/* ── OVERLAY MODAL DE ÉXITO (garantiza visibilidad del mensaje) ─── */
.cf-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 8, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}
.cf-success-overlay--show {
  opacity: 1;
  pointer-events: auto;
}
.cf-success-modal {
  background: linear-gradient(180deg, rgba(15,24,24,0.98), rgba(7,13,13,0.98));
  border: 1px solid rgba(0,201,167,0.45);
  border-radius: 24px;
  padding: 44px 36px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,201,167,0.15),
    0 0 60px rgba(0,201,167,0.18);
  transform: translateY(20px) scale(0.94);
  transition: transform 0.42s cubic-bezier(0.34,1.56,0.64,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cf-success-overlay--show .cf-success-modal {
  transform: translateY(0) scale(1);
}
.cf-success-modal .cf-success-icon {
  width: 76px; height: 76px;
}
.cf-success-modal .cf-success-title {
  font-size: 24px;
}
.cf-success-modal .cf-success-sub {
  max-width: 340px;
}
.cf-success-close {
  margin-top: 14px;
  background: var(--teal, #00c9a7);
  color: #06100f;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 6px 22px rgba(0,201,167,0.35);
}
.cf-success-close:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(0,201,167,0.45);
}
@media (max-width: 480px) {
  .cf-success-modal { padding: 36px 24px 28px; border-radius: 20px; }
  .cf-success-modal .cf-success-title { font-size: 20px; }
}
