:root {
  --clay: #c47a58;
  --clay-deep: #8b4a34;
  --wood: #5c3a2a;
  --ink: #3d2c24;
  --sage: #6e8a6c;
  --sage-deep: #4f6a4e;
  --honey: #e0b07a;
  --cream: #f7f1e8;
  --paper: #fffaf3;
  --sand: #eadccb;
  --muted: #7a6a5e;
  --line: rgba(92, 58, 42, 0.14);
  --white: #fffdf8;
  --shadow: 0 20px 44px rgba(92, 58, 42, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --container: 1160px;
  --header-h: 80px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 40% at 90% 0%, rgba(224, 176, 122, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 20%, rgba(110, 138, 108, 0.12), transparent 50%),
    var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--clay-deep); }
button, input, textarea, select { font: inherit; color: inherit; }
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.full-bleed { width: 100%; }

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 800;
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--wood);
}
.section-lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.section-head { margin-bottom: 2.5rem; }
.section-head.light .eyebrow { color: var(--honey); }
.section-head.light .section-title { color: var(--white); }
.section-head.light .section-lead { color: rgba(255, 250, 243, 0.82); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.55rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--clay); color: var(--white); }
.btn-primary:hover { background: var(--clay-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.45);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--wood);
  border-color: var(--line);
  width: 100%;
}
.btn-outline:hover { border-color: var(--clay); color: var(--clay-deep); background: rgba(196, 122, 88, 0.08); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(247, 241, 232, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(92, 58, 42, 0.08);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}
.logo:hover { color: var(--white); }
.site-header.scrolled .logo { color: var(--wood); }
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, transparent 0 38%, var(--paper) 38% 88%, var(--paper) 88%),
    linear-gradient(135deg, var(--clay) 0%, var(--clay-deep) 100%);
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 250, 243, 0.25);
}
.logo-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 8px;
  height: 11px;
  transform: translateX(-50%);
  background: var(--sage);
  border-radius: 2px 2px 0 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
}
.logo-text em {
  font-style: normal;
  font-size: 0.72rem;
  opacity: 0.82;
  letter-spacing: 0.04em;
}
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--white);
}
.site-header.scrolled .nav a { color: var(--wood); }
.nav a:hover { color: var(--honey); }
.site-header.scrolled .nav a:hover { color: var(--clay); }
.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--honey);
  color: var(--wood) !important;
}
.nav-cta:hover { background: var(--white); color: var(--wood) !important; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px 11px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
}
.site-header.scrolled .menu-toggle span { background: var(--wood); }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4.2rem;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(61, 44, 36, 0.28) 0%, rgba(61, 44, 36, 0.55) 48%, rgba(61, 44, 36, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 2.4rem, var(--container));
}
.hero .eyebrow { color: var(--honey); }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
}
.hero-text {
  margin: 1.15rem 0 1.6rem;
  font-size: 1.12rem;
  color: rgba(255, 253, 248, 0.9);
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2.2rem;
}
.trust-item {
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 253, 248, 0.18);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.05rem;
  border-radius: 16px;
  min-width: 8.5rem;
}
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { font-size: 0.82rem; opacity: 0.85; }

.ayuda { padding: 5.2rem 0 4.6rem; }
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-body { padding: 1.2rem 1.25rem 1.4rem; }
.card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--wood);
}
.card p { margin: 0 0 0.9rem; color: var(--muted); }
.more {
  font-weight: 800;
  color: var(--clay-deep);
  text-decoration: none;
}
.more:hover { color: var(--sage-deep); }

.metodo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: var(--sand);
}
.metodo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.metodo-content {
  display: flex;
  align-items: center;
  padding: 3.5rem 8%;
}
.metodo-inner { max-width: 34rem; }
.feature-list {
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  color: var(--ink);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
}
.stats { display: flex; flex-wrap: wrap; gap: 1rem; }
.stat {
  background: var(--paper);
  border-radius: 16px;
  padding: 0.85rem 1.05rem;
  min-width: 7.5rem;
  box-shadow: 0 8px 20px rgba(92, 58, 42, 0.06);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--clay-deep);
}
.stat span { font-size: 0.82rem; color: var(--muted); }

.honorarios {
  padding: 5rem 0 4.6rem;
  background:
    linear-gradient(180deg, rgba(92, 58, 42, 0.92), rgba(61, 44, 36, 0.96)),
    var(--wood);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.price-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}
.price-card.featured {
  background: linear-gradient(180deg, #fff7ea, var(--paper));
  outline: 2px solid var(--honey);
  transform: translateY(-8px);
}
.plan-tag {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--sage-deep);
}
.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--wood);
}
.plan-price {
  margin: 0.4rem 0 1rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--clay-deep);
}
.price-card ul {
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.price-card li { padding: 0.32rem 0 0.32rem 1.15rem; position: relative; }
.price-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--sage);
}

.voces {
  position: relative;
  padding: 5rem 0 4.6rem;
  overflow: hidden;
}
.voces-media {
  position: absolute;
  inset: 0;
}
.voces-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.voces::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 44, 36, 0.72), rgba(61, 44, 36, 0.84));
}
.voces .container { position: relative; z-index: 1; }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.quote {
  margin: 0;
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 253, 248, 0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  color: var(--white);
}
.quote p { margin: 0 0 1rem; font-size: 1.02rem; }
.quote footer { font-size: 0.88rem; opacity: 0.85; font-weight: 700; }

.contacto { padding: 5rem 0 4.8rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}
.address {
  font-style: normal;
  margin: 1.4rem 0 1rem;
  line-height: 1.7;
}
.contact-meta { color: var(--muted); }
.contact-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--clay);
  background: var(--white);
}
.form-note {
  margin: 0;
  color: var(--sage-deep);
  font-weight: 700;
}

.site-footer {
  background: var(--wood);
  color: var(--cream);
  padding: 1.8rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer .logo { color: var(--cream); }
.site-footer .logo:hover { color: var(--honey); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-links a { color: var(--honey); text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--white); }
.footer-copy { margin: 0; font-size: 0.88rem; opacity: 0.85; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; color: var(--muted); }
.cookie-banner[hidden] { display: none; }

.legal-page { padding: calc(var(--header-h) + 2.4rem) 0 4rem; }
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--wood);
  margin: 0 0 1rem;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--clay-deep);
  margin: 1.8rem 0 0.5rem;
}
.legal-page p { color: var(--muted); max-width: 46rem; }
.legal-page .site-header { background: rgba(247, 241, 232, 0.96); }
.legal-page .logo { color: var(--wood); }
.legal-page .nav a { color: var(--wood); }
.legal-page .menu-toggle span { background: var(--wood); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .grid-4, .pricing-grid, .quotes, .metodo, .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metodo { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 0.6rem 1.2rem 1rem;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { color: var(--wood); padding: 0.7rem 0; }
  .nav-cta { text-align: center; }
  .grid-4, .pricing-grid, .quotes, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; align-items: flex-end; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
}
