@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

[hidden] { display: none !important; }
.sprite-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.step-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.step-fieldset legend {
  padding: 0;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--metal);
}
:root {
  --bg: #0c0f13;
  --bg-alt: #12161c;
  --panel: #1a1f27;
  --panel-2: #202632;
  --border: #2a3038;
  --metal: #d6d9dd;
  --metal-dim: #9aa1ab;
  --blue: #2f8cff;
  --blue-dark: #1a5fc4;
  --green: #2ecc71;
  --text: #e8eaed;
  --muted: #9aa0a8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Icons */
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#icon-star { fill: currentColor; stroke: none; }
.stars .icon { fill: var(--green); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--blue); text-decoration: none; }

h1, h2, h3, h4 { color: var(--metal); margin-top: 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-note { color: var(--muted); margin-bottom: 24px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,15,19,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-width: 0;
}
.brand-logo { height: 40px; width: auto; flex-shrink: 0; }
.brand-name {
  color: var(--metal);
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.accent-blue { color: var(--blue); }
.accent-green { color: var(--green); }

.main-nav { display: flex; gap: 18px; }
.main-nav a { color: var(--metal-dim); font-weight: 600; font-size: 14.5px; transition: color 150ms ease; }
.main-nav a:hover,
.main-nav a[aria-current="true"] { color: var(--blue); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  color: var(--metal);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 150ms ease, filter 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, #2b6cd9, var(--blue-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(47,140,255,0.28);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 8px 22px rgba(47,140,255,0.4); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(154,161,171,0.4);
  color: var(--metal);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-whatsapp {
  background: var(--green);
  color: #06210f;
  box-shadow: 0 6px 16px rgba(46,204,113,0.25);
}
.btn-whatsapp:hover { filter: brightness(1.08); }

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(47,140,255,0.16), transparent 42%),
              radial-gradient(circle at 8% 85%, rgba(46,204,113,0.13), transparent 42%),
              var(--bg);
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 440px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47,140,255,0.1);
  border: 1px solid rgba(47,140,255,0.35);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.hero-text h1 { font-size: 42px; font-weight: 800; line-height: 1.16; letter-spacing: -0.02em; }
.hero-text p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-logo { flex: 0 0 240px; text-align: center; }
.hero-logo img { width: 240px; max-width: 100%; filter: drop-shadow(0 0 30px rgba(47,140,255,0.28)); }

/* Trust row (hero) */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--metal-dim);
  font-size: 13.5px;
  font-weight: 500;
}
.trust-row-icon { width: 16px; height: 16px; color: var(--green); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(47,140,255,0.4);
  box-shadow: 0 14px 28px rgba(0,0,0,0.32);
}
.card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47,140,255,0.12);
  border: 1px solid rgba(47,140,255,0.3);
  border-radius: 10px;
  color: var(--blue);
  margin-bottom: 16px;
}
.card-icon .icon { width: 22px; height: 22px; }
.card h3 { color: var(--metal); font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* Página 404 */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px;
}
.not-found-logo { width: 160px; height: auto; margin-bottom: 24px; filter: drop-shadow(0 0 30px rgba(47,140,255,0.28)); }
.not-found h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.not-found-text { color: var(--muted); max-width: 420px; margin: 0; }
.not-found-actions { justify-content: center; }

/* Cómo funciona */
.how-list { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.how-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.35);
  color: var(--green);
  font-weight: 800;
  font-size: 20px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms ease, border-color 200ms ease;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(46,204,113,0.35); }
.stars { display: flex; gap: 3px; }
.stars .icon { width: 15px; height: 15px; }
.testimonial-card p { color: var(--text); font-size: 15px; margin: 0; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47,140,255,0.25), rgba(46,204,113,0.2));
  color: var(--metal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.testimonial-card-wide { grid-column: 1 / -1; }
.testimonial-card-wide p { flex: none; max-width: 78ch; }
.reviews-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: -8px 0 24px;
  color: var(--muted);
}
.reviews-summary strong { color: var(--metal); font-size: 20px; }
.reviews-summary .stars .icon { width: 18px; height: 18px; }
.reviews-more { margin: 28px 0 0; text-align: center; }
.testimonial-author strong { display: block; color: var(--metal); font-size: 14px; }
.testimonial-author span { color: var(--muted); font-size: 12.5px; }

/* Price grid */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.price-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: border-color 180ms ease, transform 180ms ease;
}
.price-item:hover {
  border-color: rgba(46,204,113,0.4);
  transform: translateY(-2px);
}
.price-item span { color: var(--metal-dim); }
.price-item strong { color: var(--green); white-space: nowrap; font-size: 16px; }
.price-item-featured {
  background: rgba(46,204,113,0.08);
  border-color: rgba(46,204,113,0.4);
}
.price-item-featured strong { font-size: 18px; }

/* Warranty badge */
.warranty-badge {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.4);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--metal);
  font-size: 15px;
}
.warranty-badge-icon { width: 24px; height: 24px; color: var(--green); }
.warranty-badge strong { color: var(--green); }

/* Sobre mi */
.about-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.about-photo { flex: 0 0 220px; }
.about-text { flex: 1 1 420px; }
.about-text p { color: var(--muted); font-size: 16px; }
.about-text strong { color: var(--metal); }

.photo-placeholder {
  width: 220px;
  height: 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--panel);
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--metal-dim);
  font-size: 13px;
  text-align: center;
  transition: border-color 180ms ease, transform 180ms ease;
}
.photo-placeholder:hover { border-color: rgba(47,140,255,0.4); transform: translateY(-2px); }
.photo-placeholder-icon { width: 34px; height: 34px; color: var(--blue); }

.avatar-placeholder {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(47,140,255,0.14), var(--panel) 70%);
}

.illustration {
  width: 76px;
  height: 76px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.gallery-grid .photo-placeholder { width: 100%; height: 160px; border-radius: 14px; }

/* Trust note */
.trust-note {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  color: var(--muted);
  font-size: 13px;
}

/* Zone list */
.zone-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.zone-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid rgba(47,140,255,0.35);
  border-radius: 20px;
  padding: 10px 20px;
  color: var(--metal);
  font-weight: 700;
  font-size: 15px;
}
.zone-pin { width: 16px; height: 16px; color: var(--blue); }

/* Wizard form */
.wizard {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  max-width: 560px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}
.steps-indicator { display: flex; gap: 8px; margin-bottom: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background 200ms ease; }
.dot.active { background: var(--blue); }

.step label {
  display: block;
  margin-bottom: 16px;
  color: var(--metal-dim);
  font-size: 14px;
}
.step input, .step select, .step textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.step input:focus, .step select:focus, .step textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--metal);
}
.radio-option input { width: auto; margin: 0; }

.info-box {
  margin-top: 10px;
  background: rgba(47,140,255,0.1);
  border: 1px solid rgba(47,140,255,0.3);
  border-radius: 8px;
  padding: 12px;
  color: var(--metal-dim);
  font-size: 14px;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.resumen p { margin: 6px 0; color: var(--metal-dim); }
.resumen strong { color: var(--metal); }

.form-msg { margin-top: 16px; font-weight: 600; }
.form-msg.success { color: var(--green); }
.form-msg.error { color: #ff6b6b; }
.form-msg .btn { display: flex; width: fit-content; margin-top: 12px; }

/* Campo trampa anti-spam: invisible para personas, visible para bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Enlace para saltar al contenido */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 150ms ease;
}
.skip-link:focus { top: 12px; }

/* Preguntas frecuentes */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 180ms ease;
}
.faq-item[open] { border-color: rgba(47,140,255,0.4); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-weight: 700;
  color: var(--metal);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-logo { height: 56px; }
.site-footer h4 { color: var(--metal); font-size: 15px; }
.site-footer p { color: var(--muted); margin: 4px 0; }
.copy {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 30px;
}

/* Floating WhatsApp button */
.fab-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #06210f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(46,204,113,0.45);
  z-index: 60;
  animation: fab-pulse 2.4s ease-in-out infinite;
}
.fab-whatsapp .icon { width: 26px; height: 26px; }
.fab-whatsapp:hover { filter: brightness(1.08); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(46,204,113,0.45); }
  50% { box-shadow: 0 8px 22px rgba(46,204,113,0.45), 0 0 0 8px rgba(46,204,113,0.12); }
}
@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp { animation: none; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 20px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-text h1 { font-size: 32px; }
  .site-footer { padding-bottom: 92px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 14px; }
  .brand-logo { height: 30px; }
  .header-inner { gap: 8px; padding: 10px 14px; }
  .btn-whatsapp { padding: 9px 12px; font-size: 13px; }
  .fab-whatsapp { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .price-item strong { font-size: 17px; }
}
