/* Shift. -- sistema visual compartido */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --surface-2: #171717;
  --well: #060606;

  --chalk: #f2f1ec;
  --chalk-78: rgba(242, 241, 236, 0.78);
  --chalk-52: rgba(242, 241, 236, 0.52);
  --chalk-34: rgba(242, 241, 236, 0.34);

  --border: rgba(242, 241, 236, 0.1);
  --border-strong: rgba(242, 241, 236, 0.18);

  --accent: #f2f1ec;
  --error-text: #e6b3a3;

  --radius: 6px;

  --font-display: 'EB Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--chalk-78);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--chalk-78);
}

a:hover {
  color: var(--chalk);
}

:focus-visible {
  outline: 2px solid var(--chalk);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--chalk);
  font-weight: 500;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  padding: 28px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
}

.logo-mark {
  height: 36px;
  width: auto;
}

/* Hero */

.hero {
  padding: 48px 0 72px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.5vw + 0.7rem, 1.15rem);
  color: var(--chalk-52);
  max-width: 52ch;
}

/* Form */

.lead-form {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.field {
  margin-bottom: 18px;
}

.field:last-of-type {
  margin-bottom: 0;
}

label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--chalk-52);
  margin-bottom: 8px;
}

input[type='text'],
input[type='email'] {
  width: 100%;
  background: var(--well);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
}

input[type='text']::placeholder,
input[type='email']::placeholder {
  color: var(--chalk-34);
}

input[type='text']:focus,
input[type='email']:focus {
  border-color: var(--border-strong);
}

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.field-checkbox input[type='checkbox'] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--chalk);
}

.field-checkbox label {
  margin-bottom: 0;
  font-size: 0.88rem;
  color: var(--chalk-52);
  line-height: 1.5;
}

.field-checkbox a {
  color: var(--chalk-78);
  text-decoration-color: var(--chalk-34);
}

/* Honeypot, oculto fuera del viewport, nunca display:none */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--chalk);
  color: var(--well);
  width: 100%;
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-primary:disabled {
  background: var(--surface-2);
  color: var(--chalk-34);
  cursor: not-allowed;
  border: 1px solid var(--border);
}

.btn-secondary {
  background: transparent;
  color: var(--chalk-78);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-2);
  color: var(--chalk);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.form-error {
  display: none;
  background: rgba(230, 179, 163, 0.08);
  border: 1px solid rgba(230, 179, 163, 0.25);
  color: var(--error-text);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.form-error.is-visible {
  display: block;
}

/* Sections */

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2rem);
  margin-bottom: 28px;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bullet-list li {
  padding-left: 20px;
  position: relative;
  color: var(--chalk-78);
  font-size: 1rem;
  line-height: 1.6;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chalk-34);
}

.section-close {
  margin-top: 28px;
  color: var(--chalk-52);
  font-size: 0.95rem;
}

.suite-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.suite-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
}

.suite-list p {
  color: var(--chalk-78);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Closing CTA */

.closing {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing h2 {
  font-size: clamp(1.4rem, 2.5vw + 1rem, 1.9rem);
  margin-bottom: 24px;
}

.closing .btn {
  width: auto;
  min-width: 220px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer p,
.site-footer a {
  font-size: 0.82rem;
  color: var(--chalk-34);
}

.site-footer a {
  text-decoration: underline;
  text-decoration-color: var(--chalk-34);
}

.site-footer a:hover {
  color: var(--chalk-52);
}

/* Gracias page */

.result {
  padding: 48px 0 72px;
}

.result-inner {
  padding: 0;
}

.result h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3rem);
  line-height: 1.15;
}

.result-sub {
  margin-top: 18px;
  color: var(--chalk-52);
  font-size: 1.05rem;
  max-width: 50ch;
}

.result-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.result .btn {
  width: auto;
}

.link-tertiary {
  font-size: 0.85rem;
  color: var(--chalk-34);
  text-decoration: underline;
  text-decoration-color: var(--chalk-34);
  margin-top: 2px;
}

.link-tertiary:hover {
  color: var(--chalk-52);
}

/* Privacidad page */

.legal h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 2.4rem);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal p {
  color: var(--chalk-78);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.legal .fine-print {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--chalk-34);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .lead-form {
    padding: 20px;
  }
}
