:root {
  --blanco: #ffffff;
  --fondo: #f9f7f4;
  --fondo-alt: #f2ede8;
  --negro: #1a1a1a;
  --gris: #6b6b6b;
  --gris-claro: #d4cfc9;
  --acento: #8B3A3A;
  --acento-dark: #6e2e2e;
  --acento-light: #f5eded;
  --borde: #e8e2db;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--blanco);
  color: var(--negro);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Spectral', serif;
}

/* NAV */
nav {
  background: var(--blanco);
  border-bottom: 1px solid var(--borde);
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Spectral', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--negro);
  letter-spacing: -0.01em;
}
.nav-logo em {
  font-style: italic;
  color: var(--acento);
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--negro);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--negro); }

/* DROPDOWN */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-trigger { cursor: default; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.75rem;
  min-width: 210px;
  z-index: 200;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-top: 2px solid var(--acento);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: -1;
}
.nav-dropdown a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.83rem;
  color: var(--negro) !important;
  border-bottom: 1px solid var(--borde);
  transition: background 0.15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--fondo-alt); color: var(--acento) !important; }
.nav-dropdown-wrap:hover .nav-dropdown { display: block; }

.nav-cta {
  background: var(--acento) !important;
  color: var(--blanco) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--acento-dark) !important; color: var(--blanco) !important; }

/* HERO */
.hero {
  background: var(--fondo);
  padding: 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
}
.hero-text { padding-bottom: 5rem; }
.hero-eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--negro);
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--acento);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--negro);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.btn-primary {
  display: inline-block;
  background: var(--acento);
  color: var(--blanco);
  padding: 0.9rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--acento-dark); transform: translateY(-1px); }
.hero-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--negro);
  letter-spacing: 0.03em;
}
.hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-image img {
  max-height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

/* SECCION BASE */
.seccion {
  padding: 5.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.seccion-full { padding: 5.5rem 2rem; }
.seccion-full .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 1rem;
  display: block;
}
.divider {
  width: 40px;
  height: 2px;
  background: var(--acento);
  margin: 1.25rem 0;
}

/* QUIEN SOY */
.quien-bg { background: var(--blanco); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.quien-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.quien-foto img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}
.quien-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.quien-text h2 em { font-style: italic; color: var(--acento); }
.quien-text p {
  font-size: 0.97rem;
  color: var(--negro);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-weight: 300;
}
.pilares {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--borde);
}
.pilar {
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--borde);
  transition: background 0.15s;
}
.pilar:last-child { border-bottom: none; }
.pilar:hover { background: var(--fondo); }
.pilar-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--acento);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  margin-top: 3px;
  font-family: 'Lato', sans-serif;
}
.pilar-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  font-family: 'Spectral', serif;
}
.pilar-body span { font-size: 0.82rem; color: var(--negro); line-height: 1.5; }

/* SERVICIOS */
.servicios-bg { background: var(--fondo-alt); }
.servicios-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: end;
}
.servicios-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.servicios-header p {
  font-size: 0.95rem;
  color: var(--negro);
  line-height: 1.8;
  font-weight: 300;
}
.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.servicio-card {
  flex: 1 1 280px;
  max-width: calc(33.333% - 1rem);
  min-width: 260px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.servicio-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.servicio-icon {
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}
.servicio-card h3 {
  font-family: 'Spectral', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.servicio-tipo {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 0.9rem;
}
.servicio-card p {
  font-size: 0.87rem;
  color: var(--negro);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-weight: 300;
}
.btn-servicio {
  display: inline-block;
  border: 1.5px solid var(--acento);
  color: var(--acento);
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}
.btn-servicio:hover { background: var(--acento); color: var(--blanco); }

/* TESTIMONIOS */
.testi-header { margin-bottom: 2.5rem; }
.testi-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.testi-header p {
  font-size: 0.95rem;
  color: var(--negro);
  font-weight: 300;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.testi-card {
  background: var(--fondo);
  border: 1px solid var(--borde);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testi-foto {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--borde);
}
.testi-nombre {
  font-family: 'Spectral', serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}
.testi-rol {
  font-size: 0.72rem;
  color: var(--acento);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.testi-texto {
  font-size: 0.87rem;
  color: var(--negro);
  line-height: 1.7;
  font-style: italic;
  font-family: 'Spectral', serif;
  font-weight: 400;
}
.testi-texto::before { content: '\201C'; color: var(--acento); font-size: 1.2rem; }
.testi-texto::after  { content: '\201D'; color: var(--acento); font-size: 1.2rem; }

/* RECURSOS */
.recursos-bg { background: var(--negro); }
.recursos-header { margin-bottom: 2.5rem; }
.recursos-header .eyebrow { color: #A593C2; }
.recursos-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--blanco);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.recursos-header p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  max-width: 500px;
}
.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.recurso-card {
  background: var(--negro);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.recurso-card:hover { background: #1c1c1c; }
.recurso-free {
  display: inline-block;
  background: #A593C2;
  color: var(--negro);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.recurso-tipo {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.75rem;
}
.recurso-card h3 {
  font-family: 'Spectral', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 0.65rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.recurso-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
  font-weight: 300;
}
.btn-recurso {
  display: inline-block;
  background: var(--blanco);
  color: var(--negro);
  padding: 0.65rem 1.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  align-self: flex-start;
}
.btn-recurso:hover { background: var(--fondo-alt); }

/* CTA */
.cta-bg { background: var(--acento); }
.cta {
  text-align: center;
  color: var(--blanco);
  padding: 5.5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cta p {
  opacity: 0.8;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  font-weight: 300;
}
.btn-light {
  display: inline-block;
  background: var(--blanco);
  color: var(--acento-dark);
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}
.btn-light:hover { background: var(--fondo); transform: translateY(-2px); }
.cta-note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.45;
  letter-spacing: 0.04em;
}

/* FOOTER */
footer {
  background: #111;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: 'Spectral', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}
.footer-logo em { font-style: italic; color: #A593C2; }
.footer-social { display: flex; gap: 1.25rem; align-items: center; }
.footer-social a { opacity: 0.4; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 0.9; }
.footer-social img { width: 22px; height: 22px; object-fit: contain; filter: brightness(10); }
.footer-copy {
  width: 100%;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* RESPONSIVE */
/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--negro);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: var(--blanco);
  z-index: 150;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  gap: 0;
  border-left: 1px solid var(--borde);
  transition: right 0.3s ease;
}
.mobile-menu a {
  color: var(--negro);
  text-decoration: none;
  font-size: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--borde);
  font-family: 'Lato', sans-serif;
}
.mobile-menu .nav-cta {
  margin-top: 1.5rem;
  background: var(--acento);
  color: var(--blanco) !important;
  padding: 0.75rem 1.5rem;
  text-align: center;
  border-bottom: none;
  font-weight: 700;
  border-radius: 2px;
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 140;
}
.mobile-menu.open { right: 0; }
.mobile-menu.open,
.mobile-overlay.open { display: flex; }
.mobile-menu-section {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acento);
  padding-top: 0.25rem;
  margin-bottom: -0.5rem;
}
.mobile-sub {
  font-size: 0.88rem !important;
  padding-left: 0.75rem !important;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-text { padding-bottom: 3rem; }
  .hero-image { display: none; }
  .quien-grid { grid-template-columns: 1fr; }
  .quien-foto { text-align: center; }
  .quien-foto img { max-width: 280px; margin: 0 auto; }
  .servicios-header { grid-template-columns: 1fr; gap: 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .servicio-card { max-width: 100%; min-width: unset; }
}

/* FABs */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.fab-whatsapp svg { width: 26px; height: 26px; }
.fab-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--negro);
  color: var(--fondo);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.fab-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top:hover { background: var(--acento); border-color: transparent; }

