/* ==========================================================
   HAZTEVISTO — Estilos
   Diseño mobile-first. Paleta tomada del logotipo y del brief.
   ========================================================== */

:root {
  /* Marca */
  --black: #000000;
  --blue: #0066FF;
  --cyan: #00DFFF;
  --silver: #C0C0C0;
  --violet: #7C3AED;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 50%, var(--violet) 100%);

  /* Superficies y texto */
  --bg: #000000;
  --bg-alt: #04070e;
  --surface: #0a1020;
  --surface-2: #0f172b;
  --border: rgba(192, 192, 192, 0.14);
  --border-hover: rgba(0, 223, 255, 0.45);
  --text: #eef2f8;
  --muted: #a9b2c3;

  /* Tipografía */
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Sora', 'Manrope', system-ui, sans-serif;

  /* Medidas */
  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --radius: 18px;
  --radius-sm: 12px;
  --section-pad: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 76px; /* espacio para la barra móvil */
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 0.95rem/1.2 var(--font-body);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  background-image: linear-gradient(100deg, #0a74ff, var(--blue) 45%, #5b3df0);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(0, 102, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover { box-shadow: 0 14px 38px -10px rgba(0, 223, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(192, 192, 192, 0.3);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--cyan); color: #fff; background: rgba(0, 223, 255, 0.06); }

/* WhatsApp: misma forma que los demás botones, con borde cian de la marca */
.btn--whatsapp {
  background: rgba(0, 223, 255, 0.08);
  border-color: rgba(0, 223, 255, 0.45);
  color: #fff;
}
.btn--whatsapp .icon { color: var(--cyan); }
.btn--whatsapp:hover { background: rgba(0, 223, 255, 0.16); border-color: var(--cyan); }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled,
.header.menu-open {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* El logotipo tiene fondo negro: "screen" lo funde con el fondo oscuro sin alterar sus colores. */
.brand { display: block; flex: none; }
.brand img {
  width: 108px; height: 54px;
  object-fit: cover; object-position: 50% 50%;
  mix-blend-mode: screen;
}

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; }

.lang {
  display: inline-flex; padding: 3px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.lang__btn {
  min-width: 40px; min-height: 34px; padding: 4px 10px;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: 700 0.8rem var(--font-body); letter-spacing: 0.05em;
  cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.lang__btn:hover { color: #fff; }
.lang__btn.is-active { background: var(--blue); color: #fff; }

.menu-toggle {
  width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil */
.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  height: calc(100dvh - var(--header-h));
  padding: 24px var(--gutter) 40px;
  background: rgba(0, 0, 0, 0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 24px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block; padding: 14px 4px;
  font: 600 1.25rem var(--font-head);
  text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav__link:hover, .nav__link.is-active { color: var(--cyan); }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 32px) 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(0, 102, 255, 0.22), transparent 70%),
    radial-gradient(45% 40% at 15% 85%, rgba(124, 58, 237, 0.18), transparent 70%),
    var(--black);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.hero__inner { display: grid; gap: 28px; align-items: center; }
.hero__visual { position: relative; order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
.hero__logo { position: relative; width: 100%; mix-blend-mode: screen; }
.hero__ring {
  position: absolute; inset: 8% 14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 102, 255, 0.25), transparent);
  filter: blur(20px);
  animation: pulse 6s ease-in-out infinite;
}
.hero__title {
  font-size: clamp(2.05rem, 7vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 580px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 16px; }
.hero__whats { margin: 0 0 24px; }
.hero__whats a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(0, 223, 255, 0.4); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero__whats a:hover { color: var(--cyan); border-color: var(--cyan); }
.hero__whats .icon { width: 20px; height: 20px; color: var(--cyan); }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--silver); font-size: 0.92rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 18px; height: 18px; color: var(--cyan); stroke-width: 2.2; }

@keyframes pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section-pad) 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid rgba(192, 192, 192, 0.06); }
.section--tight { padding: 0 0 var(--section-pad); }
.section--tight.section--alt { border-top: 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }

.grid { display: grid; gap: 18px; }

/* Tarjetas */
.card {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px -24px rgba(0, 102, 255, 0.55);
}
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 223, 255, 0.14), rgba(124, 58, 237, 0.14));
  border: 1px solid rgba(0, 223, 255, 0.22);
}

.card--compact { padding: 26px 22px; }
.card--compact h3 { font-size: 1.08rem; }

/* Industrias */
.industry-card h3 { margin-bottom: 0.45em; }

/* Bloque destacado (experiencia inmobiliaria) y banda de mantenimiento */
.highlight,
.maint {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 223, 255, 0.3);
  background:
    radial-gradient(70% 140% at 0% 0%, rgba(0, 102, 255, 0.16), transparent 70%),
    var(--surface);
}
.highlight .card__icon,
.maint .card__icon { margin: 0; }
.highlight h3,
.maint h3 { margin-bottom: 0.35em; }
.highlight p,
.maint p { color: var(--muted); margin: 0; }

.industries__note { text-align: center; color: var(--muted); margin: 36px 0 0; }
.industries__note a { color: var(--cyan); font-weight: 600; text-underline-offset: 3px; }

/* Paquetes */
.package {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 26px 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.package::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--grad); opacity: 0.55;
}
.package:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.package--featured {
  border-color: rgba(0, 102, 255, 0.55);
  box-shadow: 0 24px 60px -28px rgba(0, 102, 255, 0.75);
}
.package--featured::before { opacity: 1; }
.package__tier { font: 700 0.85rem var(--font-head); color: var(--silver); letter-spacing: 0.1em; margin-bottom: 6px; }
.package__name { font-size: 1.6rem; margin-bottom: 6px; }
.package__tag { color: var(--muted); min-height: 3.3em; }
.package__list { display: grid; gap: 12px; margin: 8px 0 28px; flex: 1; }
.package__list li { position: relative; padding-left: 30px; }
.package__list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em;
  width: 20px; height: 20px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300DFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat,
    rgba(0, 223, 255, 0.12);
}
.packages__note { text-align: center; color: var(--muted); font-size: 0.95rem; margin: 32px 0 0; }

/* Por qué elegirnos */
.why { display: grid; gap: 40px; }
.why__head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.why__list { display: grid; gap: 14px; }
.why__item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.why__item:hover { border-color: var(--border-hover); }
.why__item .card__icon { margin: 0; }
.why__item h3 { margin-bottom: 0.35em; }
.why__item p { color: var(--muted); margin: 0; }

/* Proceso */
.steps { display: grid; gap: 16px; counter-reset: step; position: relative; }
.step {
  position: relative;
  padding: 24px 22px 24px 84px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step h3 { margin-bottom: 0.3em; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.step__num {
  position: absolute; left: 22px; top: 22px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%;
  font: 800 1.1rem var(--font-head); color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 24px -8px rgba(0, 102, 255, 0.8);
}

/* Fundador */
.founder { display: grid; gap: 40px; align-items: center; }
.founder__photo {
  position: relative; margin: 0 auto; max-width: 400px; width: 100%;
  padding: 2px; border-radius: 26px;
  background: var(--grad);
  box-shadow: 0 30px 80px -30px rgba(0, 102, 255, 0.6);
}
.founder__photo img { width: 100%; border-radius: 24px; aspect-ratio: 455 / 665; object-fit: cover; }
.founder__role { color: var(--cyan); font-weight: 700; margin-top: -0.4em; }
.founder__content p:not(.eyebrow):not(.founder__role) { color: var(--muted); font-size: 1.05rem; }
.founder__content .btn { margin-top: 10px; }

/* Portafolio */
.portfolio-empty {
  max-width: 640px; margin: 0 auto;
  padding: 44px 28px; text-align: center;
  border: 1px dashed rgba(0, 223, 255, 0.35);
  border-radius: var(--radius);
  background: radial-gradient(80% 100% at 50% 0%, rgba(0, 102, 255, 0.1), transparent 70%);
}
.portfolio-empty .card__icon { margin: 0 auto 18px; }
.portfolio-empty p { color: var(--muted); }
.project { padding: 0; overflow: hidden; }
.project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--border); }
.project__body { padding: 20px 22px 24px; }
.project__cat { font-size: 0.8rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.project a { color: var(--cyan); font-weight: 600; text-underline-offset: 3px; }

/* Preguntas frecuentes */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: rgba(0, 223, 255, 0.35); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px;
  font: 600 1.02rem/1.4 var(--font-head);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item p { padding: 0 22px 22px; margin: 0; color: var(--muted); }

/* Agenda (Cal.com) */
.booking {
  display: grid; gap: 32px;
  padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(0, 102, 255, 0.16), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.booking__info p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.booking__points { display: grid; gap: 12px; margin: 22px 0 28px; }
.booking__points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.booking__points .icon { color: var(--cyan); }
.booking__cal {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  overflow: auto;
}
.booking__status {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 24px; margin: 0;
  text-align: center; color: var(--muted);
}
.booking__cal.is-ready .booking__status { display: none; }
/* El calendario de Cal.com se dibuja por encima del aviso de carga */
.booking__cal > :not(.booking__status) { position: relative; z-index: 1; background: var(--surface); }

/* Banda de llamada a la acción */
.cta-band {
  position: relative;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
  text-align: center;
  border-radius: 28px;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(0, 223, 255, 0.16), transparent 70%),
    linear-gradient(135deg, #061433, #0b0a24 60%, #160a2e);
  border: 1px solid rgba(0, 223, 255, 0.25);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); }
.cta-band p { color: #cdd5e3; max-width: 620px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; }

/* Contacto */
.contact { display: grid; gap: 40px; align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.contact__wa { margin-top: 8px; }
.contact__list { display: grid; gap: 18px; margin-top: 28px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list li > div { display: flex; flex-direction: column; min-width: 0; }
.contact__icon {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 12px; color: var(--cyan);
  background: rgba(0, 223, 255, 0.08); border: 1px solid rgba(0, 223, 255, 0.2);
}
.contact__label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--silver); font-weight: 700; }
.contact__list a { color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--cyan); }
.contact__value { font-weight: 600; }
.pending { color: var(--muted); font-style: italic; font-weight: 500; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* Formulario */
.form {
  padding: clamp(22px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 30px 80px -40px rgba(0, 102, 255, 0.5);
}
.form__row { display: grid; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.92rem; }
.req { color: var(--cyan); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: 500 1rem var(--font-body); /* 16px evita el zoom en iOS */
  color: var(--text);
  background: #05080f;
  border: 1px solid rgba(192, 192, 192, 0.22);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300DFFF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option, .field select optgroup { background: #0a1020; color: var(--text); }
.field textarea { resize: vertical; min-height: 130px; }
/* Contraste suficiente (WCAG AA) sobre el fondo del campo */
.field input::placeholder, .field textarea::placeholder { color: #8a93a6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 223, 255, 0.18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff5d73; }
.field__error { display: block; margin-top: 6px; color: #ff8a9a; font-size: 0.85rem; }

.form__status {
  margin: 16px 0 0; padding: 14px 16px;
  border-radius: var(--radius-sm); font-weight: 600;
}
.form__status.is-success { background: rgba(0, 223, 255, 0.1); border: 1px solid rgba(0, 223, 255, 0.4); color: #bff6ff; }
.form__status.is-error { background: rgba(255, 93, 115, 0.1); border: 1px solid rgba(255, 93, 115, 0.45); color: #ffc2cb; }
.form__privacy { margin: 14px 0 0; color: var(--muted); font-size: 0.85rem; text-align: center; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--border); background: var(--black); }
.footer__grid { display: grid; gap: 36px; }
.footer__brand img { width: 220px; margin: -24px 0 4px -20px; mix-blend-mode: screen; }
.footer__brand p { color: var(--muted); max-width: 340px; }
.footer__title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--silver); margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.footer__links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--cyan); }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.875rem; }
.footer__bottom p { margin: 0; }

/* ---------- Barra móvil ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 46px; padding: 10px 12px; font-size: 0.9rem; }
.mobile-bar__wa { width: 46px; padding: 0 !important; }
.mobile-bar__wa .icon { width: 22px; height: 22px; }

/* ---------- Botón flotante de WhatsApp (tabletas y computadoras) ---------- */
.wa-float { display: none; }

/* ---------- Animaciones al desplazarse ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Tabletas
   ========================================================== */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .hero__actions, .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions { justify-content: flex-start; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .highlight, .maint { padding: 28px 32px; }
  .header__cta { display: inline-flex; }
  .brand img { width: 124px; height: 62px; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    background-image: linear-gradient(135deg, #0a74ff, var(--blue) 45%, #5b3df0);
    box-shadow: 0 14px 34px -10px rgba(0, 102, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, box-shadow 0.3s;
  }
  .wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
  .wa-float:hover { box-shadow: 0 16px 40px -8px rgba(0, 223, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.24); }
  .wa-float .icon { width: 26px; height: 26px; stroke-width: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ==========================================================
   Computadoras
   ========================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 80px; }

  .menu-toggle, .nav__mobile-cta { display: none; }
  .nav {
    position: static; height: auto; padding: 0;
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none;
    overflow: visible;
  }
  .nav__list { flex-direction: row; gap: 4px; }
  .nav__link {
    padding: 8px 12px; border: 0; border-radius: 999px;
    font: 600 0.92rem var(--font-body); color: var(--muted);
    transition: color 0.2s, background-color 0.2s;
  }
  .nav__link:hover, .nav__link.is-active { color: #fff; background: rgba(255, 255, 255, 0.05); }
  .brand img { width: 140px; height: 70px; }

  .hero { padding: calc(var(--header-h) + 56px) 0 110px; min-height: min(100vh, 900px); display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .hero__visual { order: 0; max-width: none; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  .why { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .why__head { position: sticky; top: calc(var(--header-h) + 40px); }

  .steps { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .steps::before {
    content: ""; position: absolute; top: 46px; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 223, 255, 0.4), rgba(124, 58, 237, 0.4), transparent);
  }
  .step { padding: 24px 20px 26px; text-align: center; background: transparent; border: 0; }
  .step__num { position: relative; left: auto; top: auto; margin: 0 auto 18px; width: 48px; height: 48px; }

  .founder { grid-template-columns: 0.85fr 1.15fr; gap: 72px; }

  .booking { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
  .booking__cal { min-height: 620px; }

  .contact { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; }
  .footer__brand { grid-column: auto; }
}

/* Accesibilidad: reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Enlaces de privacidad visibles y accesibles. */
.form__privacy { margin: 0 0 12px; }
.form__privacy a, .footer__bottom a, .privacy-page a:not(.btn) { color: var(--cyan, #00c8e8); text-decoration: underline; text-underline-offset: 3px; }
.privacy-page { max-width: 800px; margin: 0 auto; padding: 36px 20px 64px; }
.privacy-page section { margin-top: 36px; scroll-margin-top: 16px; }
.privacy-page h2 { font-size: 1.6rem; margin-bottom: 12px; }
.privacy-page h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.privacy-page p { margin: 0 0 12px; line-height: 1.7; }
