/* ═══════════════════════════════════════════════════════════
   RADIOGRAFÍA DE MARCA — variante clara
   BR Studio · Julio 2026
   Misma doctrina que brand-reporter.css (Raleway, un único acento
   gold, líneas finas, sin decoración) invertida a fondo claro.
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper-bg:  #F2EDE3;  /* fondo de página */
  --surface:   #FFFFFF;  /* fondo de inputs y tarjetas */
  --ink:       #17140F;  /* titulares */
  --ink-soft:  #3A342C;  /* texto de cuerpo */
  --mid:       #6B6457;  /* texto secundario / metadatos */
  --gold:      #C4962A;  /* único acento — igual que en el resto del sitio */
  --gold-lt:   #D4A840;  /* hover sobre gold */
  --gold-ink:  #9C7220;  /* gold oscurecido, para texto/enlaces legibles sobre fondo claro */
  --line:      rgba(23,20,15,0.10);     /* líneas neutras finas */
  --line-gold: rgba(196,150,42,0.35);   /* bordes con acento (inputs) */
}

* { box-sizing: border-box; }

html { height: 100%; }
body {
  background: var(--paper-bg);
  color: var(--ink-soft);
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.radiografia-wrap { flex: 1 0 auto; }
footer { flex-shrink: 0; }

.grecaptcha-badge { visibility: hidden; }

/* ── CONTENEDOR ── */
.radiografia-wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(3rem, 6vw, 5rem);
}

/* ── TIPOGRAFÍA ── */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }

.form-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

.lede {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 660px;
}

.form-section-title {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 48px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.form-section-title:first-of-type { border-top: none; padding-top: 0; }

.field-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.field-hint {
  font-size: 0.8rem;
  color: var(--mid);
  margin-bottom: 10px;
}

/* ── CAMPOS ── */
.form-group { margin-bottom: 24px; }

.field-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-gold);
  color: var(--ink);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,150,42,0.12);
}
.field-input::placeholder {
  color: rgba(23,20,15,0.32);
  font-style: italic;
}
textarea.field-input { resize: vertical; min-height: 90px; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.checkbox-row input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ── TEXTO LEGAL DE ACOMPAÑAMIENTO (mismo patrón que #panel-contacto) ── */
.legal-layer {
  font-size: 0.76rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 16px 0 12px;
}
.legal-layer a {
  color: var(--gold-ink);
  text-decoration: none;
  text-underline-offset: 2px;
}
.legal-layer a:hover { text-decoration: underline; }

/* ── CHECKBOX LEGAL / CONSENTIMIENTO ── */
.legal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
  margin: 24px 0;
}
.legal-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.legal-checkbox a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-checkbox a:hover { color: var(--gold); }

/* ── BOTONES ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px 34px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-lt); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  display: inline-block;
  background: none;
  border: 1px solid var(--line);
  color: var(--mid);
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 24px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-ink); }

/* ── TEXTO LEGAL RECAPTCHA ── */
.legal-note {
  font-size: 0.76rem;
  color: var(--mid);
  margin-top: 18px;
  line-height: 1.55;
}
.legal-note a { color: var(--gold-ink); text-decoration: underline; }

/* ── SEPARADORES ── */
.divider-gold { width: 40px; height: 1px; background: var(--gold); margin: 32px 0; }
.hr-hair { height: 1px; background: var(--line); border: 0; margin: 40px 0; }

/* ── TARJETA DE CONFIRMACIÓN ── */
.success-card {
  text-align: center;
  padding: 64px 24px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.success-card h2 {
  font-weight: 800;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--ink);
  margin-bottom: 14px;
}
.success-card p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto;
}

/* ── MENSAJES DE ESTADO (envío) ── */
.form-message-error   { color: #B3402C; font-size: 0.9rem; }
.form-message-success { color: #5C7A4A; font-size: 0.9rem; }

/* ── FOOTER ── */
.footer-light {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.footer-light a { color: var(--gold-ink); text-decoration: none; }
.footer-light a:hover { text-decoration: underline; }
.footer-light .icon-btn { color: var(--mid); }
.footer-light .icon-btn:hover { color: var(--gold-ink); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .radiografia-wrap { padding: 3rem 1.25rem 3rem; }
}