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

:root {
  /* Paleta: azul prusiano profundo + champán cálido + terracota */
  --bg:          #0c1523;
  --bg-raised:   #111e33;
  --bg-form:     #0f1a2e;
  --text:        #ece8e0;
  --text-muted:  #6e7e92;
  --text-dim:    #3a4a5c;
  --accent:      #b8a98a;   /* champán/platino cálido — no oro */
  --accent-dim:  rgba(184,169,138,0.10);
  --accent-line: rgba(184,169,138,0.18);
  --cta:         #b86a44;   /* terracota — distintivo, humano */
  --cta-hover:   #cc7a52;
  --border:      rgba(255,255,255,0.06);
  --border-form: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Ruido de textura sutil (da profundidad orgánica) ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* Gradiente ambiental muy sutil en la parte superior */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% -5%, rgba(184,169,138,0.06) 0%, transparent 55%);
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative; z-index: 1;
}

/* ──────────────────────────────────────────
   NAV
────────────────────────────────────────── */
nav {
  padding: 36px 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garant', serif;
  font-size: 18px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent);
}
.nav-status {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.nav-status::before {
  content: '';
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #7ab87a;
  box-shadow: 0 0 6px rgba(122,184,122,0.5);
}

/* ──────────────────────────────────────────
   SEPARADOR LÍNEA
────────────────────────────────────────── */
.rule {
  height: 1px;
  background: var(--accent-line);
  margin: 0;
}
.rule-short {
  width: 48px; height: 1px;
  background: var(--accent);
  margin: 0 auto 40px;
}

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.hero {
  padding: 72px 0 80px;
  text-align: center;
}
.hero-kicker {
  font-family: 'Cormorant Garant', serif;
  font-style: italic; font-weight: 300; font-size: 17px;
  color: var(--accent); letter-spacing: 0.06em;
  margin-bottom: 28px; display: block;
}
.hero-domain {
  font-family: 'Cormorant Garant', serif;
  font-weight: 700;
  font-size: clamp(64px, 13vw, 108px);
  letter-spacing: -0.02em; line-height: 1;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-domain .tld {
  color: var(--accent);
  font-weight: 300;
}
.hero-sub {
  font-size: 17px; font-weight: 400; line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px; margin: 0 auto 48px;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--cta);
  color: #fff; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 4px; border: none; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184,106,68,0.25);
}
.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-muted); font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  border-radius: 4px;
  border: 1px solid var(--border-form);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent-line); }

/* ──────────────────────────────────────────
   SECTION HEADER (común)
────────────────────────────────────────── */
.section-header {
  margin-bottom: 52px;
  text-align: left;
}
.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: block;
}
.section-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(28px, 4vw, 38px); font-weight: 600; line-height: 1.2;
  color: var(--text); max-width: 560px;
}

/* ──────────────────────────────────────────
   PROPUESTA DE VALOR — lista editorial
────────────────────────────────────────── */
.value-section { padding: 80px 0; }

.value-list { display: flex; flex-direction: column; }
.value-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.value-item:first-child { border-top: 1px solid var(--border); }
.value-num {
  font-family: 'Cormorant Garant', serif;
  font-size: 13px; font-weight: 400; color: var(--accent);
  letter-spacing: 0.1em; padding-top: 3px;
}
.value-content h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: 21px; font-weight: 600; color: var(--text);
  margin-bottom: 8px; line-height: 1.3;
}
.value-content p {
  font-size: 14px; line-height: 1.75; color: var(--text-muted);
}

/* ──────────────────────────────────────────
   CASOS DE USO — dos columnas editorial
────────────────────────────────────────── */
.cases-section { padding: 80px 0 80px; }

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 620px) { .cases-grid { grid-template-columns: 1fr; } }

.case-card {
  background: var(--bg-raised);
  padding: 32px 28px;
  position: relative;
}
.case-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--accent);
  transition: height 0.35s ease;
}
.case-card:hover::before { height: 100%; }

.case-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px; display: block;
}
.case-card h4 {
  font-family: 'Cormorant Garant', serif;
  font-size: 19px; font-weight: 600; color: var(--text);
  margin-bottom: 10px; line-height: 1.3;
}
.case-card p {
  font-size: 13px; line-height: 1.75; color: var(--text-muted);
}

/* ──────────────────────────────────────────
   ESTADÍSTICAS
────────────────────────────────────────── */
.stats-section { padding: 80px 0 80px; }
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--accent-line);
  border: 1px solid var(--accent-line);
}
@media (max-width: 540px) { .stats-row { grid-template-columns: 1fr; } }
.stat {
  background: var(--bg); padding: 36px 28px; text-align: center;
}
.stat-figure {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(36px, 5vw, 52px); font-weight: 700; line-height: 1;
  color: var(--text); margin-bottom: 10px;
}
.stat-desc { font-size: 12px; line-height: 1.6; color: var(--text-muted); }

/* ──────────────────────────────────────────
   FORMULARIO
────────────────────────────────────────── */
.form-section { padding: 80px 0 96px; }
.form-wrapper {
  background: var(--bg-form);
  border: 1px solid var(--accent-line);
}
.form-header {
  padding: 44px 48px 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 36px;
}
@media (max-width: 600px) { .form-header { padding: 28px 24px 28px; } }
.form-header .section-eyebrow { margin-bottom: 12px; }
.form-header h2 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(26px, 4vw, 36px); font-weight: 600; color: var(--text);
  margin-bottom: 10px;
}
.form-header p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  max-width: 480px;
}
.form-body { padding: 36px 48px 44px; }
@media (max-width: 600px) { .form-body { padding: 24px 24px 32px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg.full { grid-column: 1 / -1; }

label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}
label .req { color: var(--accent); margin-left: 2px; }

input, textarea, select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-form);
  border-radius: 2px; padding: 12px 14px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text);
  outline: none; width: 100%;
  transition: border-color 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}
select {
  cursor: pointer; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236e7e92' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select option { background: #0c1523; }
textarea { resize: vertical; min-height: 96px; }

.amount-wrap { display: flex; gap: 10px; }
.amount-wrap select { max-width: 105px; flex-shrink: 0; }

.form-note {
  margin: 24px 0 28px;
  font-size: 12px; color: var(--text-muted); line-height: 1.7;
  padding-left: 16px;
  border-left: 2px solid var(--accent-line);
}

/* ── Anti-bot: honeypot (oculto para humanos, visible para bots) ── */
.hp-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.btn-submit {
  width: 100%; padding: 15px;
  background: var(--cta);
  border: none; border-radius: 2px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; color: #fff; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-submit:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184,106,68,0.22);
}
.btn-submit:active  { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.msg-box {
  display: none; padding: 16px 18px; margin-top: 14px;
  font-size: 13px; line-height: 1.6; text-align: center;
}
.msg-box.success { background: rgba(100,180,100,0.08); border: 1px solid rgba(100,180,100,0.2); color: #90c090; }
.msg-box.error   { background: rgba(200,80,80,0.08);   border: 1px solid rgba(200,80,80,0.2);   color: #d09090; }

/* ── Input inválido (feedback visual accesible) ── */
input.invalid, textarea.invalid {
  border-color: rgba(200,80,80,0.5);
}

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-logo {
  font-family: 'Cormorant Garant', serif;
  font-size: 16px; font-weight: 600; color: var(--accent);
}
.footer-meta {
  font-size: 12px; color: var(--text-muted); line-height: 1.6; text-align: right;
}
.footer-seo {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 11px; color: rgba(255,255,255,0.08); line-height: 1.5;
}
