/* ======================================================================
   KEVINCI — Hoja de estilos principal
   Los colores y formas base están en :root. Cambia los HEX para
   modificar toda la web al instante.
======================================================================= */
:root {
  --bg-app: #F5F5F7;
  --surface: #FFFFFF;
  --text-main: #1D1D1F;
  --text-muted: #86868B;
  --accent: #FF6A00;
  --accent-glow: rgba(255, 106, 0, 0.15);
  --success: #34C759;
  --success-bg: #EAF9EE;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0; font-family: 'Inter', sans-serif; color: var(--text-main);
  background-color: var(--bg-app);
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.mono { font-family: 'JetBrains Mono', monospace; }
p { margin: 0; color: var(--text-muted); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
  color: var(--text-main); background: var(--surface); padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Header */
.header-wrapper { position: fixed; top: 20px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 20px; pointer-events: none; }
header {
  pointer-events: auto; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 8px 32px rgba(0,0,0,0.06), inset 0 0 0 1px var(--border);
  border-radius: 100px; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 24px; width: 100%; max-width: 1000px;
}
.logo { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.logo svg { color: var(--accent); }

nav.links { display: none; gap: 24px; align-items: center; }
nav.links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
nav.links a:hover { color: var(--text-main); }
@media(min-width: 900px) { nav.links { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 100px; font-weight: 600; font-size: 14px;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px var(--accent-glow); }
.btn-accent:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(255,106,0,0.3); }
.btn-dark { background: var(--text-main); color: #fff; }
.btn-dark:hover { background: #000; transform: scale(1.02); }
.btn-outline { background: var(--surface); color: var(--text-main); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--text-main); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.header-actions .btn { display: none; }
@media(min-width: 640px) { .header-actions .btn { display: inline-flex; } }

.burger { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; }
@media(min-width: 900px) { .burger { display: none; } }

/* Selector de idioma */
.lang-switch { display: flex; align-items: center; gap: 2px; background: var(--bg-app); border: 1px solid var(--border); border-radius: 100px; padding: 3px; }
.lang-switch a {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--text-muted); padding: 6px 10px; border-radius: 100px; transition: all .2s;
}
.lang-switch a:hover { color: var(--text-main); }
.lang-switch a.active { background: var(--text-main); color: #fff; }

/* Banner de idioma sugerido (detección automática) */
.lang-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; background: var(--text-main); color: #fff; padding: 12px 20px; font-size: 14px; text-align: center;
}
.lang-banner-actions { display: flex; gap: 8px; }
.lang-banner button {
  font-family: inherit; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; cursor: pointer; border: 1px solid rgba(255,255,255,0.3);
}
.lang-banner-switch { background: var(--accent); color: #fff; border-color: var(--accent); }
.lang-banner-stay { background: transparent; color: #fff; }
.lang-banner-stay:hover { background: rgba(255,255,255,0.1); }
body:has(.lang-banner) .header-wrapper { top: 68px; }

.mobile-menu {
  position: fixed; top: 80px; left: 20px; right: 20px; z-index: 99; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; pointer-events: none; transform: translateY(-10px); transition: all 0.3s; box-shadow: var(--shadow-hover);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a { padding: 12px 16px; font-weight: 500; border-radius: 12px; transition: background 0.2s; }
.mobile-menu a:hover { background: var(--bg-app); }

/* Hero */
.hero { padding: 180px 0 80px; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); max-width: 900px; margin: 0 auto; color: var(--text-main); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(16px, 2vw, 20px); max-width: 650px; margin: 24px auto 40px; }
.hero-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.bento-clocks { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 800px; margin: 64px auto 0; }
@media(min-width: 600px) { .bento-clocks { grid-template-columns: repeat(3, 1fr); } }

.bento-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-hover); }

.status-wrapper {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.5); backdrop-filter: blur(10px);
  padding: 16px 24px; border-radius: var(--radius-md); border: 1px solid var(--border);
}
.status-badge { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 100px; }
.status-badge.on { background: var(--success-bg); color: var(--success); }
.status-badge.off { background: #E5E5EA; color: var(--text-muted); }
.status-badge .d { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.clock-info .city { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.clock-info .time { font-family: 'JetBrains Mono', monospace; font-size: 28px; font-weight: 500; letter-spacing: -1px; }
.clock-info .flag { position: absolute; top: 24px; right: 24px; font-size: 20px; opacity: 0.5; }

.section-head { text-align: center; margin-bottom: 56px; max-width: 700px; margin-inline: auto; }
.section-head h2 { font-size: clamp(32px, 5vw, 48px); }

/* Paquetes web */
.pricing-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media(min-width: 780px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; position: relative;
  display: flex; flex-direction: column; transition: all .3s cubic-bezier(0.16,1,0.3,1);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow-hover); }
.pricing-card .badge { position: absolute; top: -14px; left: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 100px; }
.pricing-card h3 { font-size: 20px; margin-bottom: 16px; }
.pricing-card .pricing-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.pricing-card .pricing-amount span { font-size: 16px; font-weight: 600; color: var(--text-muted); }
.pricing-card .pricing-ref { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
/* Paquetes sin precio visible (a cotizar) */
.pricing-card .pricing-amount.pricing-cotizar { font-size: 26px; padding: 8px 0; }
.pricing-card .pricing-cotizar .monto-cotizar { font-weight: 800; letter-spacing: -0.02em; color: var(--accent); }
.pkg-price-box .monto.monto-cotizar { font-size: 22px; color: var(--accent); }

.pricing-card p.desc { font-size: 14.5px; margin-bottom: 20px; }
.pricing-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-main); }
.pricing-features svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Selector de plan (mensual / anual) dentro de cada paquete */
.plan-toggle {
  display: inline-flex; align-self: flex-start; background: var(--bg-app); border: 1px solid var(--border); border-radius: 100px; padding: 4px; gap: 4px; margin-bottom: 20px;
}
.plan-toggle button {
  background: transparent; border: none; padding: 7px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); font-family: inherit; cursor: pointer; transition: all .2s;
}
.plan-toggle button.active { background: var(--surface); color: var(--text-main); box-shadow: var(--shadow-sm); }
.plan-toggle button .ahorra { color: var(--success); margin-left: 4px; }

/* Servicios (soporte técnico) */
.bento-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media(min-width: 640px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
.bento-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer; text-align: left; width: 100%; position: relative;
}
.bento-item:hover { transform: scale(0.99); box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-hover); }
.bento-item .icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--bg-app); display: flex; align-items: center; justify-content: center; color: var(--text-main); margin-bottom: 24px; border: 1px solid var(--border); overflow: hidden;
}
.bento-item h3 { font-size: 20px; margin-bottom: 12px; }
.bento-item p { font-size: 15px; }
.bento-item .precio-servicio-row { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bento-item .precio-servicio { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: var(--accent); }
.bento-item .wa-arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-app); color: var(--text-main); flex-shrink: 0; transition: all .2s; }
.bento-item:hover .wa-arrow { background: var(--accent); color: #fff; transform: translateX(2px); }

/* Demos */
.demo-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media(min-width: 720px) { .demo-grid { grid-template-columns: repeat(3, 1fr); } }
.demo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s; }
.demo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.demo-thumb { height: 180px; background-size: cover; background-position: center; position: relative; background-color: var(--bg-app); }
.demo-thumb .tag { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,0.65); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(6px); }
.demo-body { padding: 22px; }
.demo-body h3 { font-size: 17px; margin-bottom: 8px; }
.demo-body p { font-size: 14px; margin-bottom: 18px; }

/* Confianza */
.guarantee-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media(min-width: 720px) { .guarantee-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1100px) { .guarantee-grid { grid-template-columns: repeat(4, 1fr); } }
.g-card { text-align: center; padding: 8px; }
.g-card .icon { width: 52px; height: 52px; margin: 0 auto 20px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); box-shadow: var(--shadow-sm); }
.g-card h3 { font-size: 18px; margin-bottom: 10px; }
.g-card p { font-size: 14.5px; }

/* Preguntas frecuentes */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--bg-app); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--accent); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: none; text-align: left; padding: 20px 24px; cursor: pointer;
  font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--text-main);
}
.faq-chevron { flex-shrink: 0; color: var(--text-muted); transition: transform .25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > p { overflow: hidden; min-height: 0; padding: 0 24px; font-size: 14.5px; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding: 0 24px 20px; }

/* Contacto */
.contact-wrap { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr; }
@media(min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid > div:first-child { padding: 48px; }
.contact-grid h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 16px; }
.contact-methods { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 14px 12px; border-radius: 14px; transition: background .2s; }
.contact-method:hover { background: var(--bg-app); }
.contact-method .icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--bg-app); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.contact-method .txt { display: flex; flex-direction: column; }
.contact-method .txt strong { font-size: 15px; color: var(--text-main); }
.contact-method .txt span:last-child { font-size: 13px; color: var(--text-muted); }

.form-panel { background: var(--bg-app); padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-main); }
.field input, .field textarea, .field select {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-family: inherit; font-size: 14.5px; color: var(--text-main);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Footer */
footer { background: #111113; color: #86868B; padding: 80px 0 40px; margin-top: 64px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 64px; }
@media(min-width: 700px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
footer .logo { color: #fff; font-size: 20px; margin-bottom: 16px; }
footer .foot-desc { font-size: 14px; max-width: 300px; line-height: 1.6; }
footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
footer ul li { margin-bottom: 12px; }
footer ul a { font-size: 14px; transition: color .2s; }
footer ul a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }

/* Estado vacío / carga */
.estado-carga { text-align: center; padding: 40px; color: var(--text-muted); font-size: 14px; }

/* ---------- Formulario de solicitud (formulario.html) ---------- */
.form-page { max-width: 720px; margin: 0 auto; padding: 160px 24px 100px; }
.form-page .resumen-paquete {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.form-page .resumen-paquete .nombre { font-size: 15px; font-weight: 700; }
.form-page .resumen-paquete .precio { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-weight: 700; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-card h1 { font-size: clamp(26px, 4vw, 32px); margin-bottom: 8px; }
.form-card .sub { margin-bottom: 32px; }
.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media(min-width: 640px) { .form-grid.dos-col { grid-template-columns: 1fr 1fr; } }
.form-section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin: 8px 0 -4px; }
.plan-pago-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media(min-width: 500px) { .plan-pago-grid { grid-template-columns: 1fr 1fr; } }
.plan-pago-opcion {
  display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 16px; cursor: pointer; transition: all .2s; position: relative;
}
.plan-pago-opcion:hover { border-color: var(--border-hover); }
.plan-pago-opcion.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-glow); }
.plan-pago-opcion .titulo { font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.plan-pago-opcion .monto { font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 700; margin-top: 4px; }
.plan-pago-opcion .ref { font-size: 12px; color: var(--text-muted); }
.plan-pago-opcion .ahorro { font-size: 11px; font-weight: 700; color: var(--success); background: var(--success-bg); padding: 2px 8px; border-radius: 100px; }
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field input[type="color"] { width: 44px; height: 44px; padding: 2px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.color-field input[type="text"] { flex: 1; }
.file-drop {
  border: 2px dashed var(--border); border-radius: 14px; padding: 20px; text-align: center; cursor: pointer; transition: border-color .2s; background: var(--surface);
}
.file-drop:hover { border-color: var(--accent); }
.file-drop.tiene-imagen { border-style: solid; padding: 8px; }
.file-drop img { max-height: 140px; margin: 0 auto; border-radius: 10px; }
.file-drop input { display: none; }
.file-drop .txt { font-size: 13px; color: var(--text-muted); }
.condicional { display: none; }
.condicional.visible { display: flex; }
.msg-envio { margin-top: 20px; padding: 14px 16px; border-radius: 12px; font-size: 14px; display: none; }
.msg-envio.ok { display: block; background: var(--success-bg); color: #1c7a34; }
.msg-envio.error { display: block; background: #FDEAEA; color: #C22; }
.help-text { font-size: 12.5px; color: var(--text-muted); }

@media(max-width: 640px) {
  .form-card { padding: 28px 20px; }
  .contact-grid > div:first-child, .form-panel { padding: 28px; }
}

/* ---------- Botones de la tarjeta de precios (Ver detalles + Elegir) ---------- */
.pricing-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Página de detalle de paquete (paquete.html) ---------- */
.pkg-page { max-width: 920px; margin: 0 auto; padding: 150px 24px 100px; }
.pkg-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px; }
.pkg-back:hover { color: var(--text-main); }
.pkg-head {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; margin-bottom: 32px;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between;
}
.pkg-head .badge-destacado {
  display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 100px; margin-bottom: 14px;
}
.pkg-head h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 10px; }
.pkg-head .pkg-desc { font-size: 15.5px; max-width: 560px; }
.pkg-price-box { text-align: right; flex-shrink: 0; }
.pkg-price-box .monto { font-family: 'JetBrains Mono', monospace; font-size: 34px; font-weight: 800; color: var(--text-main); }
.pkg-price-box .monto span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.pkg-price-box .ref { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.pkg-price-box .acciones { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; justify-content: flex-end; }
.pkg-section { margin-bottom: 40px; scroll-margin-top: 100px; }
.pkg-section h2 { font-size: 20px; margin-bottom: 18px; }
.pkg-resumen { font-size: 15.5px; line-height: 1.7; white-space: pre-line; }
.pkg-subsection { margin-bottom: 24px; }
.pkg-subsection:last-child { margin-bottom: 0; }
.pkg-subsection h3 { font-size: 16.5px; margin-bottom: 10px; color: var(--text-main); }
.pkg-subnav {
  display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: 84px; z-index: 5;
  background: var(--bg-app); padding: 10px; border-radius: 100px; border: 1px solid var(--border);
  margin-bottom: 32px; backdrop-filter: blur(8px);
}
.pkg-subnav a {
  font-size: 13.5px; font-weight: 600; color: var(--text-muted); padding: 8px 16px; border-radius: 100px; transition: all .2s;
}
.pkg-subnav a:hover { color: var(--text-main); background: var(--surface); }
.pkg-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media(min-width: 640px) { .pkg-features { grid-template-columns: 1fr 1fr; } }
.pkg-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.pkg-features svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.pkg-gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media(min-width: 640px) { .pkg-gallery { grid-template-columns: repeat(3, 1fr); } }
.pkg-gallery-item {
  display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3;
  padding: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pkg-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.pkg-gallery-item:hover img { transform: scale(1.05); }

/* Lightbox de la galería */
.pkg-lightbox {
  display: none; position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
}
.pkg-lightbox.open { display: flex; }
.pkg-lightbox-img { max-width: min(90vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); }
.pkg-lightbox-close, .pkg-lightbox-nav {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 22px; line-height: 1; transition: background .2s;
}
.pkg-lightbox-close:hover, .pkg-lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.pkg-lightbox-close { top: 20px; right: 20px; }
.pkg-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.pkg-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.pkg-lightbox-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.75); font-size: 13px; font-family: 'JetBrains Mono', monospace; }
@media(max-width: 640px) {
  .pkg-lightbox-prev, .pkg-lightbox-next { width: 38px; height: 38px; font-size: 18px; }
  .pkg-subnav { position: static; }
}
.pkg-videos { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media(min-width: 720px) { .pkg-videos { grid-template-columns: 1fr 1fr; } }
.pkg-video-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: #000; }
.pkg-video-frame iframe, .pkg-video-frame video { width: 100%; height: 100%; border: 0; display: block; }
.pkg-video-titulo { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.pkg-accordion { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 14px; overflow: hidden; }
.pkg-accordion summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px;
  -webkit-tap-highlight-color: transparent;
}
.pkg-accordion summary::-webkit-details-marker { display: none; }
.pkg-accordion summary::before { content: '▸'; display: inline-block; transition: transform .2s; color: var(--accent); }
.pkg-accordion[open] summary::before { transform: rotate(90deg); }
.pkg-accordion summary .cuenta { font-weight: 500; color: var(--text-muted); font-size: 13px; }
.pkg-accordion .pkg-videos { padding: 4px 20px 20px; }
.pkg-cta-final { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.pkg-cta-final h2 { font-size: 22px; margin-bottom: 8px; }
.pkg-cta-final p { margin-bottom: 20px; }
.pkg-cta-final .acciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media(max-width: 640px) {
  .pkg-head { padding: 24px; flex-direction: column; align-items: stretch; }
  .pkg-price-box { text-align: left; }
  .pkg-price-box .acciones { justify-content: flex-start; }
}
