/* =========================================================
   Punto Mediación — Estilos
   Diseño limpio, responsive y accesible.
   ========================================================= */

:root {
  --beige:      #F9F5EF;
  --beige-2:    #F3ECE1;
  --gold:       #C6A46A;
  --gold-dark:  #A68A56;
  --gold-text:  #7A6030;   /* variante oscura para texto sobre fondos claros (contraste AA) */
  --brown:      #3A2E26;
  --brown-2:    #2B241E;
  --ink:        #4A4038;
  --muted:      #7A6E62;
  --line:       #EDE3D3;
  --white:      #FFFFFF;
  --radius:     16px;
  --shadow:     0 10px 30px rgba(58, 46, 38, .06);
  --shadow-lg:  0 16px 44px rgba(58, 46, 38, .12);
  --header-h:   76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--beige);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--brown);
  line-height: 1.2;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
em { font-style: normal; color: var(--gold-dark); }

:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: 1150px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brown); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.section { padding: clamp(60px, 9vw, 96px) 0; }
.section-white { background: var(--white); }
.section-beige { background: var(--beige-2); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-sub { color: var(--muted); margin-top: 8px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold-text);
  margin: 0 0 12px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 40px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; box-shadow: 0 6px 18px rgba(166, 138, 86, .3);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(166, 138, 86, .45); }
.btn-ghost { border-color: var(--gold); color: var(--brown); background: transparent; }
.btn-ghost:hover { background: rgba(198, 164, 106, .1); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; display: grid; place-items: center;
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 22px;
}
.logo-text strong { display: block; color: var(--brown); font-size: 1rem; line-height: 1.2; }
.logo-text small { display: block; letter-spacing: .18em; font-size: .58rem; color: var(--gold-text); font-weight: 700; }

.nav-menu { display: flex; gap: 28px; margin-left: auto; }
.nav-menu a {
  text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .2s ease;
}
.nav-menu a:hover::after { width: 100%; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--brown); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 92px) 0; background: var(--beige); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-lead { font-size: 1.12rem; color: var(--muted); margin: 18px 0 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  font-size: .85rem; font-weight: 500; color: var(--muted);
}
.hero-trust span { color: var(--gold-dark); font-weight: 700; margin-right: 4px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.hero-card { position: relative; box-shadow: var(--shadow-lg); }
.card-badge {
  position: absolute; top: -14px; right: 22px;
  background: var(--brown); color: var(--gold);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
}
.gold-line { width: 40px; height: 3px; background: var(--gold); margin: 12px 0 16px; border-radius: 2px; }
.hero-card p { font-size: .9rem; color: var(--muted); }
.hero-card-note {
  margin: 18px 0 22px; padding: 14px 16px; border-left: 3px solid var(--gold);
  background: var(--beige); border-radius: 0 8px 8px 0; font-size: .85rem !important;
}
.hero-card-note strong { color: var(--brown); }

/* ---------- Tarjetas / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { position: relative; padding-top: 34px; }
.service-icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--beige-2); color: var(--gold-text);
  font-weight: 700; font-size: .85rem; margin-bottom: 14px;
}
.service-card p, .grid-2 .card p { font-size: .92rem; color: var(--muted); }
.bullet-list { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); }
.bullet-list li { padding: 6px 0 6px 20px; position: relative; }
.bullet-list li::before { content: "•"; position: absolute; left: 2px; color: var(--gold-dark); font-weight: 700; }
.bullet-list.compact li { padding: 4px 0 4px 20px; }
.card-dark { background: var(--brown); border-color: var(--brown); }
.card-dark h3 { color: #E8D5B5; }
.card-dark .gold-line { background: #E8D5B5; }
.card-dark p { color: #D9CDBF !important; }
.card-dark em { color: var(--gold); }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; position: relative;
}
.step-number {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .86rem; color: var(--muted); margin: 0; }

.alert-box {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 40px; padding: 26px 28px;
  border: 1.5px solid var(--gold); border-radius: var(--radius);
  background: #FFFDF8;
}
.alert-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-family: "Playfair Display", serif;
}
.alert-box h3 { font-size: 1.15rem; }
.alert-box p { font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.alert-box a { color: var(--gold-text); font-weight: 600; text-decoration: underline; }

/* ---------- Contacto ---------- */
.contact-wrap {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start;
  background: var(--brown); color: #EDE3D3;
  border-radius: 24px; padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-lg);
}
.contact-copy h2 { color: #fff; }
.contact-copy > p { font-size: .95rem; color: #C9BDB0; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 20px; }
.contact-method {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; padding: 14px 16px; transition: background .2s;
}
.contact-method:hover { background: rgba(255, 255, 255, .12); }
.method-icon { font-size: 1.4rem; }
.contact-method strong { display: block; color: #fff; font-size: .9rem; }
.contact-method small { color: var(--gold); font-size: .85rem; }
.contact-legal { font-size: .76rem !important; color: #B8A899 !important; }
.contact-legal a { color: var(--gold); text-decoration: underline; }

.booking-form {
  background: #fff; color: var(--ink);
  border-radius: 16px; padding: clamp(20px, 3vw, 32px);
}
.form-row { margin-bottom: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--brown); margin-bottom: 6px;
}
.form-group label span[aria-hidden] { color: #C0574B; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; font-size: .9rem;
  border: 1px solid #D9CFC2; border-radius: 9px; background: #FCFAF7;
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(198, 164, 106, .18);
}
.form-group input.invalid, .form-group select.invalid { border-color: #C0574B; }
.error-msg { display: block; color: #C0574B; font-size: .75rem; margin-top: 4px; min-height: 0; }
.checkbox-group label { display: flex; gap: 10px; font-weight: 400; font-size: .8rem; color: var(--muted); cursor: pointer; }
.checkbox-group input { width: 17px; height: 17px; accent-color: var(--gold-dark); margin-top: 2px; flex-shrink: 0; }
.checkbox-group a { color: var(--gold-text); text-decoration: underline; }
.form-hint { font-size: .72rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form-success {
  margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: #E9F4EC; border: 1px solid #B7D9C2; color: #2E6B40; font-size: .86rem;
}

/* ---------- Privacidad ---------- */
.legal-text { color: var(--muted); font-size: .92rem; }
.legal-text p { margin-bottom: 14px; }
.legal-text strong { color: var(--brown); }
.legal-text a { color: var(--gold-text); text-decoration: underline; }
.legal-updated { font-size: .8rem; font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-2); color: #9A8C80; padding: 56px 0 0; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.logo-footer .logo-text strong { color: #fff; }
.logo-footer .logo-text small { color: var(--gold); }
.footer-desc { max-width: 320px; margin-top: 16px; font-size: .85rem; }
.site-footer h3 { color: #E8D5B5; font-size: .95rem; font-family: Inter, sans-serif; margin-bottom: 14px; }
.footer-grid nav a, .footer-grid > div > a { display: block; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; font-size: .78rem;
}
.footer-bottom a { color: var(--gold); text-decoration: underline; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 10px 24px 20px;
    margin: 0; display: none; box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .alert-box { flex-direction: column; }
}

/* ---------- Preferencia de movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
