/* Landing · Diseño de websites con IA (2026-11-22) */

.web-page { background: var(--paper); }

/* ---------- HERO ---------- */
.wh-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(2.4rem, 5vw, 4rem);
  isolation: isolate;
}
.wh-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 78% 18%, rgba(200, 240, 0, 0.22), transparent 62%),
    radial-gradient(ellipse 55% 45% at 12% 92%, rgba(200, 240, 0, 0.10), transparent 60%),
    linear-gradient(160deg, #0b0b0c 0%, #10241c 60%, #0b0b0c 100%);
}
.wh-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.wh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.wh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.wh-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 20ch;
}
.wh-hero h1 em { font-style: normal; color: var(--lime); }
.wh-lede {
  margin: 0 0 1.6rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.wh-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.6rem; }
.wh-trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  list-style: none; margin: 0; padding: 0;
  font-size: 0.86rem; color: rgba(255, 255, 255, 0.72);
}
.wh-trust strong { color: #fff; }

.wh-hero-visual { position: relative; min-height: 320px; }
.wh-hero-stack { position: relative; padding: 0 0 2.2rem 2.2rem; }
.wh-hero-shot {
  display: block; position: relative; overflow: hidden;
  border-radius: 1.1rem; border: 1px solid rgba(255, 255, 255, 0.16);
  background: #10241c; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
.wh-hero-shot img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.wh-hero-bar {
  display: block; height: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.wh-hero-shot-a { width: 88%; transform: rotate(-2deg); z-index: 1; }
.wh-hero-shot-b { position: absolute; right: -0.4rem; bottom: 0; width: 72%; transform: rotate(2.4deg); z-index: 2; }
.wh-hero-tag {
  position: relative; margin: -3.4rem 0 0 2.4rem; width: fit-content; z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--lime); color: var(--ink);
  border-radius: 1rem; padding: 0.7rem 1rem;
  box-shadow: 0 16px 36px rgba(200, 240, 0, 0.25);
}
.wh-tag-k { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.wh-tag-v { font-size: 0.85rem; font-weight: 700; }

/* ---------- SECCIONES ---------- */
.wh-section { padding: clamp(2.8rem, 6vw, 5.2rem) 0; }
.wh-section-dark { background: var(--ink); color: #fff; }
.wh-section-soft { background: var(--mist); }
.wh-kicker {
  margin: 0 0 0.6rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(11, 11, 12, 0.55);
}
.wh-section-dark .wh-kicker { color: var(--lime); }
.wh-section h2 {
  margin: 0 0 0.8rem; font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08; letter-spacing: -0.035em; max-width: 26ch;
}
.wh-sub { margin: 0 0 2rem; max-width: 62ch; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.wh-section-dark .wh-sub { color: rgba(255, 255, 255, 0.7); }

.wh-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.wh-card {
  background: #fff; border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: 1.4rem; padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.wh-card h3 { margin: 0; font-size: 1.05rem; letter-spacing: -0.015em; }
.wh-card p { margin: 0; font-size: 0.92rem; line-height: 1.45; color: var(--muted); }
.wh-ico {
  display: inline-grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 0.8rem;
  background: var(--ink); color: var(--lime);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
}
.wh-card-lime { background: var(--lime); border-color: transparent; }
.wh-card-lime p { color: rgba(11, 11, 12, 0.72); }
.wh-card-lime .wh-ico { background: var(--ink); color: var(--lime); }
.wh-link { margin-top: auto; font-weight: 700; font-size: 0.88rem; color: var(--ink); text-decoration: none; }
.wh-link:hover { text-decoration: underline; }

/* ---------- PASOS ---------- */
.wh-steps {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
  counter-reset: step;
}
.wh-steps li {
  position: relative; padding: 1.3rem 1.2rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1.2rem; display: flex; flex-direction: column; gap: 0.35rem;
}
.wh-steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  color: var(--lime); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
}
.wh-steps strong { font-size: 1rem; }
.wh-steps span { font-size: 0.88rem; line-height: 1.45; color: rgba(255, 255, 255, 0.68); }

/* ---------- CASOS ---------- */
.wh-cases {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.wh-case {
  display: flex; flex-direction: column; gap: 0.8rem;
  text-decoration: none; color: inherit;
  border-radius: 1.4rem; overflow: hidden;
  background: #fff; border: 1px solid rgba(11, 11, 12, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wh-case:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(11, 11, 12, 0.14); }
.wh-shot { display: block; position: relative; background: var(--mist); aspect-ratio: 16 / 10; overflow: hidden; }
.wh-shot::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 18px;
  background: linear-gradient(180deg, rgba(11,11,12,0.10), transparent);
  z-index: 1; pointer-events: none;
}
.wh-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.wh-case-body { padding: 0 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.2rem; }
.wh-case-body strong { font-size: 1rem; }
.wh-case-body small { font-size: 0.82rem; color: var(--muted); }
.wh-note { margin: 1.6rem 0 0; color: var(--muted); }
.wh-note a { color: var(--ink); font-weight: 700; }

/* ---------- INCLUYE ---------- */
.wh-includes {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.7rem;
}
.wh-includes li {
  position: relative; padding: 0.75rem 0.9rem 0.75rem 2.2rem;
  background: #fff; border-radius: 0.9rem; border: 1px solid rgba(11, 11, 12, 0.08);
  font-size: 0.92rem;
}
.wh-includes li::before {
  content: "✓"; position: absolute; left: 0.8rem; top: 0.72rem;
  color: var(--ink); font-weight: 800;
}

/* ---------- PRECIOS ---------- */
.wh-plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.1rem; align-items: stretch; margin-top: 2rem;
}
.wh-plan {
  position: relative; background: #fff; border-radius: 1.6rem;
  border: 1px solid rgba(11, 11, 12, 0.10);
  padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 1rem;
}
.wh-plan h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.wh-price { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.04em; }
.wh-price span { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.wh-plan-note { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.wh-plan ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.9rem;
}
.wh-plan ul li { position: relative; padding-left: 1.3rem; line-height: 1.4; }
.wh-plan ul li::before { content: "✓"; position: absolute; left: 0; color: #4b7d00; font-weight: 800; }
.wh-plan .btn { margin-top: auto; width: 100%; text-align: center; }
.wh-plan-featured {
  background: var(--ink); color: #fff; border-color: transparent;
  box-shadow: 0 26px 60px rgba(11, 11, 12, 0.28);
}
.wh-plan-featured .wh-plan-note { color: rgba(255, 255, 255, 0.66); }
.wh-plan-featured ul li::before { color: var(--lime); }
.wh-plan-badge {
  position: absolute; top: -0.7rem; left: 1.4rem;
  background: var(--lime); color: var(--ink);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: 999px;
}
.wh-custom {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; background: var(--lime); border-radius: 1.4rem; padding: 1.5rem 1.6rem; color: var(--ink);
}
.wh-custom h3 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.wh-custom p { margin: 0; max-width: 62ch; font-size: 0.94rem; line-height: 1.45; }
.wh-custom .btn { flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.wh-faq { display: grid; gap: 0.6rem; margin-top: 1.6rem; }
.wh-faq details {
  background: #fff; border-radius: 1rem; border: 1px solid rgba(11, 11, 12, 0.08);
  padding: 0.95rem 1.1rem;
}
.wh-faq summary {
  cursor: pointer; font-weight: 600; font-size: 0.98rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wh-faq summary::-webkit-details-marker { display: none; }
.wh-faq summary::after {
  content: "+"; font-size: 1.3rem; line-height: 1; color: rgba(11, 11, 12, 0.45); flex: 0 0 auto;
}
.wh-faq details[open] summary::after { content: "–"; }
.wh-faq p { margin: 0.7rem 0 0; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }

/* ---------- FORM ---------- */
.wh-contact { background: var(--ink); color: #fff; }
.wh-contact-inner {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: start;
}
.wh-contact .wh-kicker { color: var(--lime); }
.wh-contact h2 { color: #fff; max-width: 24ch; }
.wh-contact .wh-sub { color: rgba(255, 255, 255, 0.7); }
.wh-contact-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.wh-contact-list li { font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); }
.wh-contact-list strong { color: var(--lime); margin-right: 0.4rem; }
.wh-contact-alt { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.wh-contact-alt a { color: #fff; }
.wh-form {
  background: #fff; color: var(--ink); border-radius: 1.6rem; padding: 1.6rem;
  display: flex; flex-direction: column; gap: 0.8rem; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.wh-form label { font-size: 0.82rem; font-weight: 600; }
.wh-form input, .wh-form select, .wh-form textarea {
  width: 100%; font: inherit; font-size: 0.95rem; padding: 0.7rem 0.8rem;
  border-radius: 0.8rem; border: 1px solid rgba(11, 11, 12, 0.16); background: #fff; color: var(--ink);
}
.wh-form textarea { resize: vertical; min-height: 80px; }
.wh-form input:focus, .wh-form select:focus, .wh-form textarea:focus {
  outline: none; border-color: #7a9e00; box-shadow: 0 0 0 3px rgba(200, 240, 0, 0.35);
}
.wh-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.wh-form .btn { width: 100%; margin-top: 0.2rem; }
.wh-form .form-legal { margin: 0; font-size: 0.75rem; color: var(--muted); }
.wh-form .form-legal a { color: var(--ink); }
.wh-form .form-status { margin: 0; font-size: 0.85rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .wh-hero-inner { grid-template-columns: 1fr; }
  .wh-hero-visual { order: -1; }
  .wh-contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wh-hero h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .wh-form .form-row { grid-template-columns: 1fr; }
  .wh-custom { flex-direction: column; align-items: flex-start; }
  .wh-plans { grid-template-columns: 1fr; }
  .wh-hero-tag { left: 0.6rem; bottom: -0.7rem; }
}

@media (min-width: 1000px) {
  .wh-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Botones outline dentro de tarjetas claras (el outline del sitio es para fondos oscuros) */
.wh-plan .btn-outline {
  color: var(--ink);
  border-color: rgba(11, 11, 12, 0.28);
  background: transparent;
}
.wh-plan .btn-outline:hover { background: rgba(11, 11, 12, 0.06); }
.wh-custom .btn-lime { color: var(--ink); }

/* ---------- GUÍAS ---------- */
.wh-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.wh-guide {
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 1.3rem 1.3rem 1.4rem; border-radius: 1.3rem;
  background: #fff; border: 1px solid rgba(11, 11, 12, 0.08);
  text-decoration: none; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wh-guide:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(11, 11, 12, 0.12); }
.wh-guide strong { font-size: 1.02rem; line-height: 1.25; letter-spacing: -0.01em; }
.wh-guide span { font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
.wh-guide::after { content: "Leer guía →"; margin-top: auto; padding-top: 0.4rem; font-size: 0.82rem; font-weight: 700; color: var(--ink); }
