/* ---------- Colores de marca (cámbialos aquí) ---------- */
:root {
  --bg: #0f0f11;
  --surface: #18181b;
  --surface-2: #202024;
  --line: #2c2c31;
  --text: #f2f0eb;
  --muted: #a8a6a1;
  --accent: #ff6a2b;      /* naranja brasa (contraste suficiente sobre fondo oscuro) */
  --accent-dark: #e2561f;
  --gold: #f3a43a;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.accent { color: var(--accent); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .7rem 1.4rem; border-radius: 10px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); border-color: #45454c; }
.btn-primary { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 40px; padding: .45rem 1rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 15, 17, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; cursor: pointer; }

/* ---------- Portada ---------- */
.hero {
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(226, 86, 31, .22), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; padding: 4rem 1.25rem 3.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; color: var(--gold); margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 34rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-img img { width: 100%; max-width: 520px; margin-left: auto; filter: drop-shadow(0 20px 60px rgba(226, 86, 31, .25)); }

/* ---------- Secciones ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); margin: 0 0 2.2rem; max-width: 40rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 1rem; }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: none; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.steps p { color: var(--muted); margin: 0; }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(226, 86, 31, .15); color: var(--accent); font-weight: 800; margin-bottom: .9rem;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery img, .placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.placeholder {
  display: grid; place-items: center; color: #6b6a66; font-weight: 700;
  background: repeating-linear-gradient(0deg, var(--surface) 0 6px, var(--surface-2) 6px 9px); /* líneas de capa */
  border: 1px dashed var(--line);
}
.gallery figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-badge { width: 220px; margin: 1.5rem 0; }
.links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.links a { color: var(--text); text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.links a:hover { color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; }
.form label.check { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: .7rem .85rem; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
input[type="checkbox"] { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--accent-dark); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); padding: 1.6rem 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer nav { display: flex; gap: 1.2rem; }
.footer a { color: var(--muted); }

/* ---------- Páginas legales ---------- */
.legal { max-width: 760px; padding: 3rem 1.25rem 4rem; }
.legal h1 { font-size: 2rem; }
.legal p, .legal li { color: #d6d4cf; }

/* ---------- Móvil ---------- */
@media (max-width: 820px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; }
  .nav .btn { margin-top: .5rem; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.5rem; text-align: center; }
  .hero-text { order: 2; }
  .lead { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-img img { margin: 0 auto; max-width: 360px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 2rem; }
  .contact-badge { display: none; }
  .section { padding: 3.5rem 0; }
}
