/* AgentSyst — landings por familias de necesidades. Diseño móvil primero, misma identidad que la home. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --noir: #0C0C0C; --graphite: #1E1E1E; --surface: #141412; --border: #3A3833;
  --muted: #B3AEA3; --text: #D2CDC2; --cream: #F5F0E8; --gold: #C9B99A; --gold-dark: #8B7355;
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--noir); color: var(--text); font-family: 'Inter', sans-serif; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* Cabecera */
.lp-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: rgba(12,12,12,0.97); border-bottom: 1px solid #2A2A2A; }
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.lp-logo span { font-family: 'Cormorant Garamond', serif; font-size: 17px; letter-spacing: 5px; color: var(--cream); }
.lp-nav-right { display: flex; align-items: center; gap: 20px; }
.lp-back { font-size: 14px; color: var(--text); text-decoration: none; padding: 12px 0; }
.lp-back:hover { color: var(--gold); }
.lp-nav-cta { display: none; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; padding: 11px 18px; }
.lp-nav-cta:hover { background: var(--gold); color: var(--noir); }

/* Tipografía */
.label { font-size: 13px; font-weight: 500; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 20px; }
h1, h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; color: var(--cream); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(30px, 5.5vw, 42px); margin-bottom: 24px; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(26px, 4.6vw, 34px); margin-bottom: 22px; }
p { margin-bottom: 18px; }
.lead { font-size: 18px; font-weight: 600; color: var(--cream); }
.strong { font-weight: 600; color: var(--cream); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 16px 32px; background: var(--gold); color: var(--noir); border: 1px solid var(--gold); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; text-align: center; text-decoration: none; margin-top: 12px; transition: opacity 0.2s, background 0.2s, color 0.2s; }
.btn:hover { opacity: 0.88; }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--noir); opacity: 1; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; }

/* Indicador de texto (no es un botón) que lleva al formulario; solo en móvil */
.hero-pointer { display: inline-block; margin-top: 8px; padding: 10px 0; font-size: 17px; font-weight: 500; color: var(--gold); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hero-pointer:hover { color: var(--cream); }

/* Secciones */
.hero { padding: 48px 0 56px; background: radial-gradient(ellipse at 90% 0%, rgba(201,185,154,0.10), transparent 60%); }
.hero .btn { width: 100%; margin-top: 20px; }
.block { padding: 56px 0; border-top: 1px solid #2A2A2A; }
.block-alt { background: #1A1814; }
.task-list { list-style: none; margin-bottom: 20px; }
.task-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid #2A2A2A; color: var(--cream); }
.task-list li::before { content: '✦'; position: absolute; left: 0; top: 14px; color: var(--gold); font-size: 14px; }
.task-note { color: var(--text); font-style: italic; margin: 8px 0 12px; }
.block-alt .btn { width: 100%; }

/* Formulario */
.opts { border: none; display: grid; gap: 12px; margin-bottom: 32px; }
.opts legend { font-size: 17px; color: var(--cream); margin-bottom: 16px; }
.opt { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #101010; border: 1px solid var(--border); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.opt:hover { border-color: #6A665C; }
.opt input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; left: 16px; top: 16px; cursor: pointer; }
.opt-box { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 1px; border: 1px solid #8F8B80; background: #0C0C0B; position: relative; }
.opt input:checked ~ .opt-box { background: var(--gold); border-color: var(--gold); }
.opt input:checked ~ .opt-box::after { content: '✓'; position: absolute; left: 5px; top: 0; font-size: 16px; font-weight: 600; color: var(--noir); }
.opt input:focus-visible ~ .opt-box { outline: 2px solid var(--gold); outline-offset: 3px; }
.opt:has(input:checked) { border-color: var(--gold); background: rgba(201,185,154,0.07); }
.opt-text { display: block; min-width: 0; }
.opt-title { display: block; font-weight: 600; color: var(--cream); line-height: 1.45; }
.opt-title-reg { font-weight: 400; font-size: 15px; color: var(--text); }
.opt-desc { display: block; margin-top: 4px; font-size: 15px; color: var(--text); line-height: 1.6; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 15px; font-weight: 500; color: #E6E0D4; margin-bottom: 8px; line-height: 1.4; }
.req { color: var(--gold); white-space: nowrap; }
.opt-tag { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 15px 16px; background: #0C0C0B; border: 1px solid #4A4740; border-radius: 0; color: var(--cream); font-family: 'Inter', sans-serif; font-size: 16px; appearance: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,185,154,0.22); }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23C9B99A' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: #141412; color: var(--cream); }
.value { margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(201,185,154,0.35); }
.value h2 { font-size: clamp(26px, 5vw, 34px); }
.value h2 + .strong { font-size: 19px; }
.contact-h { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 600; color: var(--cream); margin-bottom: 18px; }
.opt-wa { margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { margin: 4px 0 24px; font-size: 13px; color: var(--muted); line-height: 1.65; }
.privacy p { margin-bottom: 0; }
.privacy strong { color: var(--cream); font-weight: 500; }
.tail { margin-bottom: 20px; }
.tail-h { font-family: 'Cormorant Garamond', serif; font-size: 26px; line-height: 1.2; color: var(--cream); margin-bottom: 8px; text-wrap: balance; }
.form-error { display: none; margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(255,138,138,0.45); background: rgba(255,107,107,0.08); color: #FF8A8A; font-size: 15px; line-height: 1.5; }
.note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.success { text-align: center; padding: 24px 0; }
.success .btn { margin-top: 16px; }

/* Zonas claras: descansan la vista entre bloques oscuros */
.light { background: #F3EEE4; color: var(--text); --text: #3A362E; --cream: #1C1A16; --gold: #7A5F2E; --border: #CFC6B4; --muted: #5C564B; border-top: none; }
.light .label { color: #7A5F2E; }
.light h1 em, .light h2 em { color: #7A5F2E; }
.light .btn { background: #141412; border-color: #141412; color: #F5F0E8; }
.light .btn:hover { background: #7A5F2E; border-color: #7A5F2E; opacity: 1; }
.light .btn-outline { background: transparent; color: #5A4723; border-color: #7A5F2E; }
.light .btn-outline:hover { background: #7A5F2E; color: #F5F0E8; }
.light .opt { background: #FBF8F1; border-color: #CFC6B4; }
.light .opt:hover { border-color: #8C8372; }
.light .opt-box { background: #fff; border-color: #8C8372; }
.light .opt input:checked ~ .opt-box { background: #7A5F2E; border-color: #7A5F2E; }
.light .opt input:checked ~ .opt-box::after { color: #fff; }
.light .opt:has(input:checked) { border-color: #7A5F2E; background: rgba(122,95,46,0.08); }
.light .opts legend { color: #1C1A16; }
.light .field label { color: #1C1A16; }
.light .field input, .light .field select, .light .field textarea { background: #FFFDF8; border-color: #B9AF9B; color: #1C1A16; }
.light .field input:focus, .light .field select:focus, .light .field textarea:focus { border-color: #7A5F2E; box-shadow: 0 0 0 3px rgba(122,95,46,0.25); }
.light .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237A5F2E' stroke-width='1.6'/%3E%3C/svg%3E"); }
.light .field select option { background: #FFFDF8; color: #1C1A16; }
.light .privacy { color: #5C564B; }
.light .privacy strong, .light .tail-h, .light .contact-h { color: #1C1A16; }
.light .form-error { color: #9B1C1C; border-color: rgba(155,28,28,0.5); background: rgba(155,28,28,0.07); }
.light .opt-title-reg { color: #3A362E; }

/* Pie */
.lp-footer { padding: 36px 0 44px; border-top: 1px solid #2A2A2A; font-size: 14px; color: var(--muted); }
.lp-footer p { margin-bottom: 14px; }
.foot-other span { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.foot-other a, .foot-links a { color: var(--text); padding: 8px 0; display: inline-block; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover, .foot-other a:hover { color: var(--gold); }

@media (min-width: 700px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .lp-nav { padding: 16px 40px; }
  .lp-nav-cta { display: inline-block; }
  .hero { padding: 88px 0 80px; }
  .hero-pointer { display: none; }
  .hero .btn, .block-alt .btn { width: auto; }
  .block { padding: 80px 0; }
  .opt { padding: 18px 20px; }
  .foot-other span { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
}
