:root {
  --verde:      #4a8c6f;
  --verde-claro:#6aad8e;
  --azul:       #3a6b8a;
  --blanco:     #ffffff;
  --fondo-alt:  #f5f7f6;
  --gris:       #999995;
  --texto:      #1e1e1c;
  --texto-suave:#5a5a56;
  --borde:      #e4e4e0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  background: #ffffff;
  color: var(--texto);
  line-height: 1.7;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
  transition: padding 0.3s;
}

nav.scrolled { padding: 14px 60px; }

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.25;
}

.nav-logo .nombre {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--texto);
}

.nav-logo .subtitulo {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-suave);
  font-weight: 300;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--verde);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--texto); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--texto); }

.nav-agendar {
  background: var(--verde);
  color: var(--blanco);
  padding: 11px 28px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.2s;
}

.nav-agendar:hover { background: var(--verde-claro); }

.banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.42) 50%, rgba(0,0,0,0.58) 100%);
}

.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.banner-titulo {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 300;
  color: var(--blanco);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 10px;
  animation: fadeUp 1s 0.2s ease both;
}

.banner-subtitulo {
  font-size: clamp(0.62rem, 1.3vw, 0.78rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 52px;
  animation: fadeUp 1s 0.45s ease both;
}

.banner-btns {
  display: flex;
  gap: 16px;
  animation: fadeUp 1s 0.65s ease both;
}

.btn-outline {
  padding: 13px 36px;
  border: 1px solid rgba(255,255,255,0.65);
  color: var(--blanco);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
  border-radius: 3px;
  font-weight: 300;
}

.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--blanco); }

.btn-solid {
  padding: 13px 36px;
  background: var(--verde);
  color: var(--blanco);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s;
  border-radius: 3px;
  border: 1px solid var(--verde);
  font-weight: 400;
}

.btn-solid:hover { background: var(--verde-claro); border-color: var(--verde-claro); }

.intro {
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 14px;
  display: block;
  font-weight: 400;
}

.intro-texto h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--texto);
}

.intro-texto em {
  display: block;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--verde);
  margin-bottom: 20px;
  font-weight: 300;
}

.intro-texto p {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.85;
  margin-bottom: 12px;
  font-weight: 300;
}

.btn-verde {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 30px;
  border: 1px solid var(--verde);
  color: var(--verde);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
  border-radius: 3px;
  font-weight: 400;
}

.btn-verde:hover { background: var(--verde); color: var(--blanco); }

.intro-foto img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.88);
}

.servicios-preview {
  background: var(--fondo-alt);
  padding: 100px 60px;
  text-align: center;
}

.servicios-preview h2,
.equipo-preview h2,
.cta-final h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 60px;
  color: var(--texto);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.servicio-card {
  background: var(--blanco);
  padding: 44px 32px;
  border-radius: 4px;
  border: 1px solid var(--borde);
  transition: all 0.3s;
}

.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: var(--verde);
}

.servicio-icono {
  width: 44px; height: 44px;
  margin: 0 auto 20px;
  color: var(--verde);
}

.servicio-card h3 {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--texto);
}

.servicio-card p {
  font-size: 0.83rem;
  color: var(--texto-suave);
  line-height: 1.8;
  font-weight: 300;
}

.equipo-preview {
  padding: 100px 60px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.subtexto {
  font-size: 0.88rem;
  color: var(--texto-suave);
  max-width: 460px;
  margin: -40px auto 60px;
  line-height: 1.85;
  font-weight: 300;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.miembro { text-align: center; }

.miembro-avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--fondo-alt);
  border: 1.5px solid var(--borde);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--verde);
}

.miembro h3 {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.miembro .rol {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde);
  font-weight: 300;
}

.cta-final {
  background: var(--azul);
  padding: 80px 60px;
  text-align: center;
}

.cta-final h2 { color: var(--blanco); margin-bottom: 14px; font-weight: 300; }

.cta-final p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin: 0 auto 36px;
  max-width: 400px;
  font-weight: 300;
  line-height: 1.8;
}

.btn-blanco {
  display: inline-block;
  padding: 13px 40px;
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--blanco);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
  border-radius: 3px;
  font-weight: 300;
}

.btn-blanco:hover { background: rgba(255,255,255,0.12); }

footer {
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--borde);
  background: #ffffff;
}

footer p { font-size: 0.68rem; color: var(--gris); font-weight: 300; }

.footer-logo {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--texto-suave);
  text-decoration: none;
}

.placeholder-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  padding-top: 80px;
  text-align: center;
}

.placeholder-page h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--texto);
}

.placeholder-page p {
  font-size: 0.83rem;
  color: var(--gris);
  font-weight: 300;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  nav { padding: 16px 32px; }
  nav.scrolled { padding: 12px 32px; }
  .intro { grid-template-columns: 1fr; padding: 72px 32px; gap: 40px; }
  .intro-foto { order: -1; }
  .intro-foto img { height: 260px; }
  .servicios-preview { padding: 72px 32px; }
  .servicios-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .equipo-preview { padding: 72px 32px; }
  .equipo-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-final { padding: 64px 32px; }
  footer { padding: 22px 32px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .banner-btns { flex-direction: column; align-items: center; }
}
