/* ===== Variables (paleta y tipografías de la web original) ===== */
:root {
  --ink: #121212;        /* fondo principal */
  --panel: #1a1a1a;      /* tarjetas */
  --field: #292929;      /* campos de formulario */
  --line: #333333;       /* bordes */
  --muted: #928e87;      /* texto secundario */
  --paper: #fdfcfc;      /* botones y texto claro */
  --stone: #edebe9;      /* hover de botones */
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 4px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

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

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 0.95rem/1 var(--sans);
  padding: 1rem 1.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--stone); }
.btn-small { padding: .7rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* ===== Cabecera ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(18, 18, 18, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: .12em;
  color: var(--white);
  text-decoration: none;
}
.main-nav { display: flex; gap: 1.8rem; margin-left: auto; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--white); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18,18,18,.94) 0%, rgba(18,18,18,.78) 55%, rgba(18,18,18,.6) 100%),
    url("img/hero.jpg") center / cover no-repeat,
    var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-kicker {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .98;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 1.6rem;
  max-width: 11ch;
}
.hero-text { max-width: 56ch; color: #b9b5ae; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.6rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.stats dd {
  order: -1;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--white);
}
.stats div { display: flex; flex-direction: column; gap: .35rem; }
.stats dt { font-size: .85rem; max-width: 14ch; line-height: 1.4; }

/* ===== Tarjetas y formularios ===== */
.card {
  background: rgba(26, 26, 26, .8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.form-card { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: .5rem;
}
.card-lead { margin-bottom: 1.4rem; font-size: .95rem; }

.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
label { font-size: .85rem; color: #c9c5be; }

input, select, textarea {
  width: 100%;
  background: var(--field);
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  font: inherit;
  font-size: .95rem;
}
input::placeholder, textarea::placeholder { color: #7d7973; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--white);
  outline-offset: 1px;
  border-color: var(--white);
}
textarea { resize: vertical; min-height: 6rem; }
.form-note { margin-top: .9rem; font-size: .82rem; text-align: center; }

/* ===== Secciones ===== */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.wrap-narrow { max-width: 820px; }

.tone-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.005em;
}
.tone-title span { display: block; }
.tone-muted { color: var(--muted); }
.tone-bright { color: var(--white); }
.tone-title.single { color: var(--white); margin-bottom: 2rem; }

.section-head { margin-bottom: 2.2rem; }
.section-note { margin-top: 1rem; }

/* ===== Carruseles (desplazamiento nativo) ===== */
.scroller-wrap { position: relative; }
.scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.scroller > li { flex: 0 0 auto; scroll-snap-align: start; }

.gallery > li { width: min(78vw, 340px); }
.gallery img {
  width: 100%;
  height: clamp(380px, 60vw, 520px);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.quotes > li { width: min(84vw, 380px); }
.quote {
  height: 100%;
  background: var(--white);
  color: #000;
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
}
.stars { color: #000; letter-spacing: .15em; font-size: 1.1rem; margin-bottom: 1rem; }
.quote blockquote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; font-weight: 500; }

.scroll-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(18,18,18,.85);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: none;
}
.scroll-btn:hover { background: var(--white); color: var(--ink); }
.scroll-btn.prev { left: -.5rem; }
.scroll-btn.next { right: -.5rem; }
@media (hover: hover) and (min-width: 900px) { .scroll-btn { display: block; } }

/* ===== Por qué elegirnos ===== */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.muted-line { margin-bottom: 1rem; }
.why-copy .tone-title { margin-bottom: 1.4rem; }
.why-copy p:last-child { max-width: 52ch; }
.why-cards { display: grid; gap: 1rem; }
.feature { padding: 1.5rem; background: var(--panel); }
.feature .icon { color: var(--white); margin-bottom: .9rem; }
.feature h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .4rem;
}

/* ===== FAQ ===== */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2rem 1.4rem 0; max-width: 62ch; }

/* ===== Contacto ===== */
.contact-form { background: var(--panel); }

/* ===== Pie ===== */
.site-footer { border-top: 1px solid var(--line); padding: 3rem clamp(1rem, 4vw, 2rem); }
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  text-align: center;
}
.social { display: flex; gap: 1.5rem; }
.social a { color: var(--muted); text-decoration: none; }
.social a:hover { color: var(--white); }
.copyright { font-size: .85rem; }

/* ===== Móvil ===== */
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner, .why { grid-template-columns: 1fr; }
  h1 { max-width: none; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .site-header { justify-content: space-between; }
  .logo { font-size: 1.25rem; }
  .row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html, .scroller { scroll-behavior: auto; }
  * { transition: none !important; }
}
