/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand__logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-500) 0%, var(--sage-700) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 18px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-md);
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand__name span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}
.brand__img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 100%;
}
.footer__brand .brand__img { height: 48px; }
@media (max-width: 600px) {
  .brand__img { height: 36px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  color: var(--color-text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: 6px 0;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--color-text);
  transition: all var(--dur) var(--ease);
}
.icon-link:hover {
  background: var(--sage-100);
  color: var(--sage-700);
}
.icon-link svg { width: 20px; height: 20px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: var(--color-text);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .nav__list { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav__list.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-4) var(--space-5);
    box-shadow: var(--shadow-md);
  }
  .nav__list.is-open .nav__link {
    padding: var(--space-3) 0;
    font-size: var(--fs-md);
  }
  .nav__list.is-open .nav__link::after { display: none; }
  .nav__actions .btn { display: none; }
}

/* === Hero === */
.hero {
  position: relative;
  padding: var(--space-8) 0 var(--space-9);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle at center, var(--sage-100) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(circle at center, var(--peach-200) 0%, transparent 65%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

.hero__content { max-width: 620px; }
.hero__title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-5);
}
.hero__title em {
  font-style: italic;
  color: var(--sage-600);
  font-weight: var(--fw-regular);
}
.hero__desc {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-text-soft);
  margin-bottom: var(--space-6);
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}
.hero__trust {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.hero__trust-item { display: flex; flex-direction: column; gap: 2px; }
.hero__trust-num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--sage-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__trust-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--sage-300) 0%, var(--sage-600) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__visual img,
.hero__visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(31,30,26,0.35) 100%);
  pointer-events: none;
}
.hero__visual-label {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  padding: var(--space-4);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.hero__visual-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  margin-bottom: 2px;
}

/* === Grid de áreas === */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas-grid { grid-template-columns: 1fr; } }

/* === Grid de servicios === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr; } }

/* === Sobre María Paz === */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: var(--space-6); }
}
.about__photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--cream-200) 0%, var(--peach-300) 100%);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.about__photo-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--peach-700);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  padding: var(--space-5);
  text-align: center;
}
.about__badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin: var(--space-5) 0;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--sage-700) 0%, var(--sage-800) 100%);
  color: var(--color-text-on-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--peach-500) 0%, transparent 65%);
  opacity: 0.25;
  pointer-events: none;
}
.cta-band h2 {
  color: var(--color-text-on-dark);
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
  margin-bottom: var(--space-4);
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  margin: 0 auto var(--space-6);
}
.cta-band__actions {
  position: relative;
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* === Footer === */
.site-footer {
  background: var(--sage-800);
  color: var(--cream-100);
  padding: var(--space-8) 0 var(--space-5);
  margin-top: var(--space-9);
}
.site-footer a { color: var(--cream-100); }
.site-footer a:hover { color: var(--peach-300); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand .brand__name { color: var(--cream-50); }
.footer__brand .brand__name span { color: var(--sage-300); }
.footer__about {
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: rgba(253,251,247,0.72);
  max-width: 36ch;
  line-height: var(--lh-relaxed);
}

.footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--cream-50);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.footer__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-sm);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(253,251,247,0.12);
  font-size: var(--fs-xs);
  color: rgba(253,251,247,0.6);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer__legal {
  display: flex;
  gap: var(--space-5);
  list-style: none;
  margin: 0; padding: 0;
}
