/* ==========================================================================
   MARCA / PLANTILLA — Cambia esta sección para reutilizar el sitio con otro
   cliente: colores, tipografía y logo. El resto del CSS no debería tocarse.
   ========================================================================== */
:root {
  /* RAL 7047 (Telegrey 4) como fondo principal */
  --color-bg: #cfd0cf;
  --color-bg-alt: #c2c3c0;
  --color-surface: #ffffff;
  /* Pantone 871 C (dorado metálico) — aproximación a RGB, sin equivalente exacto en pantalla.
     -dark se usa para texto sobre fondo claro (más contraste); -light para superficies/gradientes. */
  --color-gold: #a68e3f;
  --color-gold-light: #c9ad55;
  --color-gold-dark: #7d6a2f;
  --color-text: #211f1a;
  --color-text-muted: #5c594f;
  --color-border: #b6b7b3;

  --font-heading: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --max-width: 1180px;
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}
.section-gray {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.shadow-card {
  box-shadow: 0 12px 30px -12px rgba(33, 31, 26, 0.18);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-gold-dark);
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
  color: #17150f;
  box-shadow: 0 8px 24px -8px rgba(201, 162, 39, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
}
.btn-outline:hover { background: rgba(201, 162, 39, 0.1); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 80px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.nav-links a:hover { color: var(--color-gold-dark); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.16), transparent 60%),
    var(--color-surface);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 820px;
  margin: 0.3em auto 0.4em;
}
.hero h1 em { color: var(--color-gold-dark); font-style: normal; }
.hero p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2em;
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Stat strip
   ========================================================================== */
.stats {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-gold-dark);
}
.stat-label { color: var(--color-text-muted); font-size: 0.9rem; }

/* ==========================================================================
   Section generics
   ========================================================================== */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--color-text-muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); border: 1px solid var(--color-border); }
.photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 45px -20px rgba(33, 31, 26, 0.3);
  padding: 40px;
}
.photo-placeholder img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  border: none;
}

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #17150f;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 12px 30px -14px rgba(33, 31, 26, 0.18);
}
.card h3 { color: var(--color-gold-dark); }
.card p { color: var(--color-text-muted); margin-bottom: 0; }

/* ==========================================================================
   Valoración: formulario multi-paso
   ========================================================================== */
.valuation {
  background: var(--color-surface);
}
.valuation-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 20px 45px -20px rgba(33, 31, 26, 0.22);
}
.progress-bar {
  display: grid;
  grid-auto-flow: column;
  gap: 6px;
  margin-bottom: 32px;
}
.progress-bar span {
  height: 4px;
  border-radius: 999px;
  background: var(--color-border);
}
.progress-bar span.done { background: var(--color-gold); }

.form-step { display: none; }
.form-step.active { display: block; animation: fade-in 0.25s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.form-step h2 { font-size: 1.3rem; margin-bottom: 20px; }

.option-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.option-btn {
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.option-btn:hover { border-color: var(--color-gold); }
.option-btn.selected {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #17150f;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea {
  width: 100%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--color-gold); }

.form-success-inline {
  color: var(--color-gold-dark);
  font-size: 0.9rem;
  margin-top: 16px;
  text-align: center;
}

.field-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--color-text-muted); }
.field-checkbox a { color: var(--color-gold-dark); }

.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.form-nav .btn-outline { visibility: visible; }
.form-nav .btn-outline[hidden] { visibility: hidden; }

.form-error { color: #e6785f; font-size: 0.85rem; margin-top: -12px; margin-bottom: 20px; display: none; }
.form-error.visible { display: block; }

.form-success { text-align: center; }
.form-success .icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #17150f;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 12px 30px -14px rgba(33, 31, 26, 0.18);
}
.contact-info dt { color: var(--color-gold-dark); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 20px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 4px 0 0; color: var(--color-text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
