:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface-alt: #1d1d1d;
  --border: #2c2c2c;
  --gold: #c9a24c;
  --gold-light: #e0be6d;
  --text: #f3efe6;
  --muted: #a8a294;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.icon.big { width: 40px; height: 40px; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); text-align: center; margin-bottom: 14px; }
h2::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin: 14px auto 0; border-radius: 3px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid var(--gold); transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-light); color: #111; border-color: var(--gold-light); }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #111; }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 13, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; letter-spacing: .5px; }
.brand img { border-radius: 50%; }
.brand small { font-weight: 400; color: var(--gold); letter-spacing: 1px; font-size: .8em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--gold); }
.nav-cta { padding: 9px 20px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--gold); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .close { display: none; }
.menu-open .nav-toggle .open { display: none; }
.menu-open .nav-toggle .close { display: inline; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 16px 18px; display: none;
  }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav-cta { margin-top: 14px; }
}

/* Inicio */
.hero {
  text-align: center;
  padding: 64px 0 72px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 76, 0.18), transparent 60%),
    var(--bg);
}
.hero-logo { width: min(230px, 56vw); height: auto; margin: 0 auto 8px; border-radius: 50%; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: .85rem; margin: 10px 0 8px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
.lead { max-width: 560px; margin: 16px auto 28px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.rating { margin-top: 26px; color: var(--muted); font-size: .95rem; }
.rating .star { color: var(--gold); fill: var(--gold); }

/* Secciones */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); }
.section-lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.center { text-align: center; }

/* Quiénes somos */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; margin-top: 40px; }
.about-text p { color: #d9d4c7; font-size: 1.08rem; margin: 0 0 18px; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; height: auto; }
.team-title { text-align: center; color: var(--gold); font-size: 1.5rem; margin: 64px 0 28px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { margin: 0; text-align: center; }
.member img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 28px; border: 2px solid var(--gold); background: var(--surface-alt);
}
.member figcaption { margin-top: 12px; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; }

/* Dónde estamos */
.where { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; margin-top: 40px; align-items: stretch; }
.where-info { display: flex; flex-direction: column; gap: 22px; justify-content: center; align-items: flex-start; }
.info-line { display: flex; gap: 14px; margin: 0; color: #d9d4c7; }
.info-line .icon { color: var(--gold); width: 26px; height: 26px; margin-top: 3px; }
.info-line strong { color: var(--text); }
.map { min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.15); }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 26px 22px;
}
.service h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service p { margin: 0; color: var(--muted); font-size: .98rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 36px 0 28px; }
.gallery img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }

/* Contacto */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 18px; color: var(--text); transition: transform .15s ease, border-color .15s ease;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--text); }
.contact-card .icon { color: var(--gold); margin-bottom: 6px; }
.contact-card.wa .icon { color: #25d366; }
.contact-card.ig .icon { color: #e1306c; }
.social { margin: 10px 0; }
.social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.contact-card strong { font-size: 1.15rem; }
.contact-card span { color: var(--muted); }

/* Pie */
.site-footer { text-align: center; padding: 44px 0 90px; border-top: 1px solid var(--border); color: var(--muted); }
.site-footer img { margin: 0 auto 12px; border-radius: 50%; }
.site-footer p { margin: 6px 0; }
.site-footer strong { color: var(--text); }
.copy { font-size: .85rem; }

/* Botones flotantes (abajo a la derecha) */
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5); color: #fff; transition: transform .15s ease;
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn .icon { width: 28px; height: 28px; }
.float-btn.wa { background: #25d366; }
.float-btn.call { background: var(--gold); color: #111; }
.float-btn.call:hover { color: #111; }

/* Móvil */
@media (max-width: 880px) {
  .section { padding: 60px 0; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .where { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .member img { border-radius: 18px; }
  .member figcaption { font-size: 1.05rem; }
  .contact { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 260px; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .contact-card, .float-btn { transition: none; }
}

/* Aviso de mapa (consentimiento) */
.map-consent { height: 100%; min-height: 380px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center; padding: 24px; background: var(--surface-alt); color: var(--muted); }
.map-consent p { margin: 0; max-width: 420px; }
.map-consent strong { color: var(--text); font-size: 1.1rem; }
.map-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Textos legales */
.legal { padding: 48px 0 70px; }
.narrow { width: min(820px, 100% - 32px); }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 6px; }
.legal h2 { text-align: left; font-size: 1.3rem; color: var(--gold); margin: 34px 0 10px; }
.legal h2::after { display: none; }
.legal p, .legal li { color: #d9d4c7; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-top: 0; }
.legal .note { color: var(--gold); }
.legal code { background: var(--surface-alt); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; min-width: 130px; }
.legal-table th { background: var(--surface-alt); color: var(--gold); }
.legal-links { margin: 12px 0 6px; font-size: .9rem; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--gold); }
.back { padding: 8px 18px; font-size: .9rem; }
