/* ============================================================
   ArcoBaleno · Residencia Gerontológica · Villa Carlos Paz
   styles.css — Hoja de estilos principal
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

/* ── Variables de diseño ── */
:root {
  /* Paleta principal */
  --gold:          #C9A84C;
  --gold-light:    #E8C96A;
  --gold-pale:     #F5E8C0;
  --green-dark:    #1C3320;
  --green-mid:     #2D4A30;
  --green-bg:      #1A2E1E;
  --cream:         #FAF6EF;
  --cream-dark:    #F2EDE3;
  --white:         #FFFFFF;
  --text-dark:     #1E1E1E;
  --text-mid:      #4A4540;
  --text-soft:     #888078;
  --text-gold:     #C9A84C;
  --border:        #E0D8CC;

  /* Acentos — páginas interiores (Nuestra Mirada) */
  --terracotta:      #C1703E;
  --terracotta-light:#DA9163;
  --sage:            #8FA888;
  --peach:           #D9A15C;
  --coral:           #D97B62;
  --lavender:        #A48FC9;
  --celeste:         #7CA6C4;
  --navy:            #4A5D73;

  /* Tipografía */
  --font-body:     'Roboto', sans-serif;
  --font-display:  'Playfair Display', serif;

  /* Radios */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.20);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 76px;
}

/* ── Reset & base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Utilidades ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar__logo img {
  height: 150px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__link {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.navbar__link:hover,
.navbar__link.active {
  color: #fff;
}
.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.navbar__link--highlight {
  color: var(--gold) !important;
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}
.navbar__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.navbar__dropdown-toggle::after {
  content: '▾';
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}
.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-mid);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--r-md);
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: var(--shadow-md);
}
.navbar__dropdown:hover .navbar__dropdown-menu {
  display: block;
}
.navbar__dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s, background 0.2s;
}
.navbar__dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* Botón CTA navbar */
.navbar__cta {
  background: var(--green-dark);
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(201,168,76,0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.navbar__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a !important;
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: transparent;
  border: none;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Variante clara (páginas interiores sin hero oscuro) ── */
.navbar--light {
  background: rgba(250, 246, 239, 0.97);
  border-bottom: 1px solid rgba(193,112,62,0.15);
}
.navbar--light .navbar__logo img {
  filter: none;
  opacity: 1;
}
.navbar--light .navbar__link {
  color: var(--text-mid);
}
.navbar--light .navbar__link:hover,
.navbar--light .navbar__link.active {
  color: var(--text-dark);
}
.navbar--light .navbar__link.active::after {
  background: var(--terracotta);
}
.navbar--light .navbar__link--highlight {
  color: var(--terracotta) !important;
}
.navbar--light .navbar__dropdown-toggle::after {
  color: rgba(30,30,30,0.4);
}
.navbar--light .navbar__dropdown-menu {
  background: #fff;
  border-color: rgba(193,112,62,0.15);
}
.navbar--light .navbar__dropdown-menu a {
  color: var(--text-mid);
}
.navbar--light .navbar__dropdown-menu a:hover {
  color: var(--terracotta);
  background: rgba(193,112,62,0.08);
}
.navbar--light .navbar__cta {
  background: #BB0000;
  border-color: transparent;
  color: #fff !important;
}
.navbar--light .navbar__cta:hover {
  background: #D44B4B;
  border-color: #D44B4B;
  color: #fff !important;
}
.navbar--light .navbar__burger span {
  background: rgba(30,30,30,0.75);
}
.navbar--light .navbar__menu.open {
  background: var(--cream);
  border-bottom: 1px solid rgba(193,112,62,0.15);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--green-bg);
}

/* Fondo: imagen hero ocupa el 60% derecho */
.hero__bg {
  position: absolute;
  inset: 0;
  top: calc(-1 * var(--nav-h));
  height: calc(100% + var(--nav-h));
  background-image: url('../img/hero-vcp.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

/* Overlay degradado de izquierda a derecha */
.hero__overlay {
  position: absolute;
  inset: 0;
  top: calc(-1 * var(--nav-h));
  background: linear-gradient(
    105deg,
    rgba(26, 46, 30, 1.0)   0%,
    rgba(26, 46, 30, 0.97)  30%,
    rgba(26, 46, 30, 0.82)  52%,
    rgba(26, 46, 30, 0.35)  70%,
    rgba(26, 46, 30, 0.0)   100%
  );
}

/* Contenido principal del hero */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: var(--nav-h);
}
.hero__content .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin: 0;
}

/* Ancho del bloque de texto: ocupa la mitad izquierda */
.hero__text {
  max-width: 560px;
  text-align: left;
}

/* Eyebrow / label superior */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.6rem;
}
.hero__eyebrow-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero__eyebrow-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Título principal */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}

/* Ícono hoja decorativo */
.hero__leaf {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 4px;
  opacity: 0.7;
}

/* Párrafo subtítulo */
.hero__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.4rem;
  max-width: 440px;
}

/* Botones CTA hero */
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn .ph {
  font-size: 16px;
  color: inherit;
}
.btn--gold {
  background: var(--gold);
  color: #fff;
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--green {
  background: var(--green-dark);
  color: #fff;
  border: 1px solid rgba(201,168,76,0.3);
}
.btn--green:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

/* ── Franja de pilares (debajo del hero principal) ── */
.hero__pillars {
  position: relative;
  z-index: 2;
  background: rgba(20, 35, 22, 0.92);
  border-top: 1px solid rgba(201,168,76,0.15);
}
.hero__pillars .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1.8rem 1.4rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.pillar:last-child { border-right: none; }

.ph {
  font-size: 24px;
  color: var(--gold);
}

.pillar__icon {
  font-size: 22px;
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.9;
}
.pillar__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.pillar__desc {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* ── Cards de servicios ── */
.hero__services {
  background: var(--cream);
  padding-top: 3rem;
}
.hero__services .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Communitas oculta temporalmente; volver a repeat(3, 1fr) al reactivarla */
  gap: 10px;
  overflow: hidden;
}
.service-card {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  cursor: pointer;
  transition: transform 0.4s;
  border-radius: 24px;
}
.service-card:hover { transform: scale(1.015); z-index: 2; }
.service-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
.service-card:hover .service-card__img { transform: scale(1.06); }
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(26, 46, 30, 1.0)   0%,
    rgba(26, 46, 30, 0.77)  30%,
    rgba(26, 46, 30, 0.42)  52%,
    rgba(26, 46, 30, 0.35)  70%,
    rgba(26, 46, 30, 0.0)   100%
  )
}
.service-card__body {
  position: relative;
  z-index: 2;
  padding: 1.6rem 1.6rem 1.4rem;
}
.service-card__icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 18px;
  background-color:#1a1a1a
}
.service-card__icon .ph {
  font-size: 24px;
  color: #FFFFFF;
}
.service-card__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.4rem;
}
.service-card__desc {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 1rem;
  margin-right: 3rem;
}
.service-card__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s;
}
.service-card:hover .service-card__link { gap: 12px; }

/* ── Frase final debajo de los servicios ── */
.hero__closing {
  background: var(--cream);
  padding: 2rem 0 3rem;
  text-align: center;
}
.hero__closing .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero__closing-leaf {
  color: var(--gold);
  font-size: 28px;
  opacity: 0.6;
  flex-shrink: 0;
}
.hero__closing-leaf .ph {
  font-size: 40px;
}
.hero__closing-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.5;
  text-align: left;
}
.hero__closing-text span {
  font-style: italic;
  color: var(--gold);
}

/* ============================================================
   INSTITUCIÓN DE PUERTAS ABIERTAS
   ============================================================ */
.open-doors {
  background: var(--green-bg);
  padding: 6.5rem 0;
 }
.open-doors__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.open-doors__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.open-doors__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1.8rem;
  max-width: 460px;
}
.open-doors__stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 1.6rem;
}
.open-doors__stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.open-doors__stat-label {
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
}
.open-doors__body {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.68);
  max-width: 440px;
}
.open-doors__grid {
  display: grid;
  gap: 1rem;
}
.open-doors__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 1.4rem 1.6rem;
}
.open-doors__card h3 {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.4rem;
}
.open-doors__card p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 900px) {
  .open-doors__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Test de autonomía funcional (CTA en home) ── */
.test-cta {
  background: var(--cream-dark);
  padding: 5rem 2.5rem;
  text-align: center;
}
.test-cta__inner {
  max-width: 640px;
}
.test-cta__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 26px;
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.test-cta .btn {
  margin: 0 auto;
}

/* ── Trabajá con Nosotros ── */
.join-us {
  background: var(--cream-dark);
  padding: 5.5rem 2.5rem;
  text-align: center;
}
.join-us__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.join-us__text .section-title,
.join-us__text .section-body { margin-left: auto; margin-right: auto; }
.join-us__text .section-body a {
  color: var(--gold);
  font-weight: 500;
}
.join-us__roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin: 2rem 0 1.6rem;
}
.join-us__role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--text-dark);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.join-us__role .ph { color: var(--gold); font-size: 16px; }
.join-us__role:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--gold);
}
.join-us__note {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================================
   TIPOGRAFÍA COMPARTIDA DE SECCIÓN
   (usada por .profesionales y .cta-final)
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-dark);
  max-width: 640px;
  margin: 0 auto 1rem;
}
.section-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto 2.2rem;
}

/* ============================================================
   PROFESIONALES — Equipo
   ============================================================ */
.profesionales {
  background: var(--cream-dark);
  padding: 5.5rem 0;
  text-align: center;
}
.prof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.profesionales .section-title { margin-left: auto; margin-right: auto; }

.prof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.prof-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.2rem 1.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prof-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.prof-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.3rem;
  overflow: hidden;
  border: 3px solid var(--avatar-ring, var(--gold));
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}
.prof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.prof-avatar .ph {
  font-size: 38px;
  color: var(--avatar-ring, var(--gold));
}
.prof-avatar.av-verde { --avatar-ring: var(--green-mid); }
.prof-avatar.av-gold  { --avatar-ring: var(--gold); }
.prof-avatar.av-azul  { --avatar-ring: #7C9DB8; }
.prof-avatar.av-coral { --avatar-ring: #C97B5A; }

.prof-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.prof-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   CTA FINAL — Footer
   ============================================================ */
.cta-final {
  background: var(--green-bg);
  padding: 5.5rem 2.5rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.cta-final .section-title { color: #fff; }
.cta-final .section-body  { color: rgba(255,255,255,0.68); }

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
}
.cta-buttons .ph { font-size: 16px; color: inherit; }

.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.btn-calendly {
  background: #fff;
  color: var(--green-dark);
}
.btn-calendly:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================================
   BOTONES FLOTANTES
   ============================================================ */
.float-call,
.float-calendly {
  position: fixed;
  right: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.25s, box-shadow 0.25s;
}
.float-call .ph,
.float-calendly .ph {
  font-size: 16px;
  color: inherit;
}
.float-call {
  bottom: 80px;
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.float-call:hover {
  background: var(--green-mid);
  box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}
.float-calendly {
  bottom: 24px;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.float-calendly:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 24px rgba(201,168,76,0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__pillars .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }
  .hero__services .container {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .service-card { min-height: 220px; }
  .prof-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .navbar__menu { display: none; }
  .navbar__menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--green-bg);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  .navbar__burger { display: flex; }
  .hero__title { font-size: 2.4rem; }
  .hero__body { font-size: 14px; }
  .hero__pillars .container {
    grid-template-columns: 1fr 1fr;
  }
  .hero__closing .container {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .hero__closing-text { text-align: center; }
  .container { padding: 0 1.2rem; }
  .prof-grid { grid-template-columns: repeat(2, 1fr); }
  .profesionales { padding: 4rem 0; }
  .cta-final { padding: 4rem 1.5rem 2.5rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__ctas { flex-direction: column; }
  .btn { justify-content: center; }
  .hero__pillars .container { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .prof-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons a { justify-content: center; }
  .float-call, .float-calendly { right: 16px; padding: 11px 16px; font-size: 12px; }
  .float-call { bottom: 70px; }
  .float-calendly { bottom: 16px; }
}

/* ============================================================
   PÁGINA: NUESTRA MIRADA
   ============================================================ */

/* ── Hero ── */
.mirada-hero {
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  background: var(--cream);
}
.mirada-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mirada-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.4rem;
}
.mirada-eyebrow-line {
  width: 36px; height: 1px;
  background: var(--terracotta);
}
.mirada-eyebrow span:last-child {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracotta);
}
.mirada-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.4rem;
}
.mirada-title em {
  font-style: italic;
  color: var(--terracotta);
}
.mirada-lead {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 460px;
}
.mirada-hero__photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.mirada-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Tipografía compartida de la página ── */
.mirada-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}
.mirada-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
}
.mirada-heading em {
  font-style: italic;
  color: var(--terracotta);
}
.mirada-heading--center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 1.1rem;
}
.mirada-text {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

/* ── Longevidad / Historia / Timeline ── */
.mirada-grid-section {
  background: var(--cream);
  padding: 2rem 0 5rem;
}
.mirada-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.mirada-list {
  margin: 1.4rem 0;
}
.mirada-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.mirada-list .ph {
  color: var(--sage);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.mirada-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.mirada-link {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mirada-timeline {
  background: var(--cream-dark);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
}
.timeline-item {
  display: flex;
  gap: 14px;
  position: relative;
  padding-bottom: 1.8rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px; top: 40px; bottom: -4px;
  width: 1px;
  background: var(--border);
}
.timeline-item:last-of-type::before {
  display: none;
}
.timeline-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}
.timeline-badge .ph {
  color: inherit;
}
.timeline-badge--green { background: var(--green-mid); }
.timeline-badge--dark  { background: var(--green-dark); }
.timeline-badge--terracotta { background: var(--terracotta); font-size: 16px; }
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.timeline-content p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}
.timeline-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}
.timeline-footer {
  font-size: 13px;
  font-style: italic;
  color: var(--text-mid);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ── Pilares ── */
.mirada-pillars {
  background: var(--cream-dark);
  padding: 5rem 0;
}
.mirada-section-head {
  margin-bottom: 3rem;
}
.mirada-section-head--center {
  text-align: center;
}
.mirada-pillars__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
}
.pillar-card {
  text-align: center;
  padding: 0 0.6rem;
}
.pillar-card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  background: #fff;
  border: 1.5px solid currentColor;
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}
.pillar-card__icon .ph {
  color: inherit;
}
.pillar-card--sage     { color: var(--sage); }
.pillar-card--peach    { color: var(--peach); }
.pillar-card--coral    { color: var(--coral); }
.pillar-card--lavender { color: var(--lavender); }
.pillar-card h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.pillar-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
}
.mirada-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.6rem 2rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-sm);
}
.mirada-callout .ph {
  color: var(--terracotta);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.mirada-callout p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}
.mirada-callout em {
  font-style: italic;
  color: var(--terracotta);
}

/* ── Reserva Humana ── */
.mirada-reserva {
  background: var(--cream);
  padding: 5rem 0;
}
.mirada-reserva__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.mirada-reserva__photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.mirada-reserva__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.reserva-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
}
.reserva-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mid);
}
.reserva-list .ph {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: 15px;
  flex-shrink: 0;
}

/* ── Nuestros espacios ── */
.mirada-spaces {
  background: var(--cream-dark);
  padding: 5rem 0;
}
.mirada-spaces__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 380px));
  justify-content: center;
  gap: 1.8rem;
}
.space-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.space-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.space-card__photo {
  position: relative;
  height: 190px;
}
.space-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.space-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.space-card__badge .ph {
  color: inherit;
}
.space-card__body {
  padding: 1.6rem 1.5rem 1.8rem;
}
.space-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.space-card__body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.space-card__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
}
.space-card--upcoming {
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.space-card__badge--standalone {
  position: static;
  margin: 1.6rem 0 0 1.5rem;
  background: var(--terracotta);
}
.space-card__tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}
.space-card__list {
  margin: 0.8rem 0 1.2rem;
  padding-left: 1.1rem;
}
.space-card__list li {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  list-style: disc;
}

/* ── Cierre ── */
.mirada-closing {
  position: relative;
  padding: 4rem 2.5rem;
  background:
    radial-gradient(circle, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.55) 55%, rgba(255,255,255,0.15) 100%),
    url('../img/fondo2.jpg') center/cover no-repeat;
}
.mirada-closing__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.mirada-closing__icon {
  font-size: 32px;
  color: var(--terracotta);
  opacity: 0.55;
}
.mirada-closing__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-dark);
}
.mirada-closing__text em {
  font-style: italic;
  color: var(--terracotta);
}

/* ── Responsive: Nuestra Mirada ── */
@media (max-width: 900px) {
  .mirada-hero__inner { grid-template-columns: 1fr; }
  .mirada-hero__photo { order: -1; aspect-ratio: 16 / 10; }
  .mirada-grid { grid-template-columns: 1fr 1fr; }
  .mirada-timeline { grid-column: 1 / -1; }
  .mirada-pillars__grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.4rem; }
  .mirada-reserva__inner { grid-template-columns: 1fr; }
  .mirada-reserva__photo { aspect-ratio: 16 / 10; }
  .mirada-spaces__grid { grid-template-columns: minmax(260px, 380px); }
}

@media (max-width: 768px) {
  .mirada-grid { grid-template-columns: 1fr; }
  .mirada-hero { padding: calc(var(--nav-h) + 2rem) 0 3rem; }
  .mirada-pillars, .mirada-reserva, .mirada-spaces, .mirada-grid-section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .mirada-pillars__grid { grid-template-columns: 1fr 1fr; }
  .mirada-callout { flex-direction: column; }
  .mirada-closing { padding: 3rem 1.5rem; }
}

/* ============================================================
   PÁGINA: CONTACTO
   ============================================================ */

/* ── Hero ── */
.contacto-hero {
  margin-top: var(--nav-h);
  height: 420px;
  overflow: hidden;
}
.contacto-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Hablemos ── */
.contacto-intro {
  background: var(--cream);
  padding: 4.5rem 0;
}
.contacto-intro__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contacto-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}
.contacto-subtitle {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 1.6rem;
}
.contacto-text {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
  max-width: 520px;
}
.contacto-text--strong {
  font-weight: 600;
  color: var(--text-dark);
}

.contacto-help-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
}
.contacto-help-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 22px;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.contacto-help-card__icon .ph {
  color: inherit;
}
.contacto-help-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
  line-height: 1.35;
}
.contacto-help-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.contacto-help-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: var(--r-md);
  margin-top: 0.4rem;
  transition: background 0.25s, transform 0.2s;
}
.contacto-help-card__btn:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

/* ── Dos formas de acompañar ── */
.contacto-formas {
  background: var(--cream);
  padding: 1rem 0 4.5rem;
}
.contacto-formas__head {
  text-align: center;
  margin-bottom: 2.8rem;
}
.contacto-formas__head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text-dark);
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}
.contacto-formas__head h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: var(--border);
}
.contacto-formas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  border-radius: var(--r-lg);
  padding: 2.2rem 2rem;
  border: 1px solid var(--border);
  background: var(--cream-dark);
  display: flex;
  flex-direction: column;
}
.contact-card--dimora {
  background: #FBEFE6;
  border-color: rgba(193,112,62,0.25);
}
.contact-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.4rem;
}
.contact-card__brand .ph {
  font-size: 30px;
}
.contact-card--residencia .ph { color: var(--green-mid); }
.contact-card--dimora .ph      { color: var(--terracotta); }
.contact-card__brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--text-dark);
}
.contact-card__brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.contact-card--residencia .contact-card__brand-sub { color: var(--green-mid); }
.contact-card--dimora .contact-card__brand-sub      { color: var(--terracotta); }
.contact-card__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1.6rem;
}
.contact-card__rows {
  margin-bottom: 1.8rem;
  display: grid;
  gap: 0.9rem;
}
.contact-card__rows li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.5;
}
.contact-card__rows .ph {
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-card--residencia .contact-card__rows .ph { color: var(--green-mid); }
.contact-card--dimora .contact-card__rows .ph      { color: var(--terracotta); }
.contact-card__phone { font-weight: 600; }
.contact-card--residencia .contact-card__phone { color: var(--green-mid); }
.contact-card--dimora .contact-card__phone      { color: var(--terracotta); }
.contact-card__cta {
  display: block;
  margin-top: auto;
  text-align: center;
  padding: 14px;
  border-radius: var(--r-md);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s, transform 0.2s;
}
.contact-card--residencia .contact-card__cta { background: var(--green-dark); }
.contact-card--residencia .contact-card__cta:hover { background: var(--green-mid); transform: translateY(-2px); }
.contact-card--dimora .contact-card__cta { background: var(--terracotta); }
.contact-card--dimora .contact-card__cta:hover { background: var(--terracotta-light); transform: translateY(-2px); }

/* ── Cierre + firma de marca ── */
.contacto-closing-section {
  background: var(--cream);
  padding: 0 0 5rem;
}
.contacto-closing {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-sm);
}
.contacto-closing__top {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.contacto-closing__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 24px;
  flex-shrink: 0;
}
.contacto-closing__icon .ph {
  color: inherit;
}
.contacto-closing__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-dark);
  flex: 1;
  min-width: 240px;
}
.contacto-closing__divider {
  height: 1px;
  background: var(--border);
  margin: 1.8rem 0;
}
.contacto-closing__brand {
  text-align: center;
}
.contacto-closing__brand .ph {
  font-size: 22px;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
  display: block;
}
.contacto-closing__brand-name {
  display: block;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.contacto-closing__brand-sub {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.contacto-closing__brand-sub em {
  font-style: normal;
  color: var(--terracotta);
}

/* ── Responsive: Contacto ── */
@media (max-width: 900px) {
  .contacto-hero { height: 300px; }
  .contacto-intro__inner { grid-template-columns: 1fr; }
  .contacto-formas__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contacto-intro { padding: 3.5rem 0; }
  .contacto-formas { padding: 0.5rem 0 3.5rem; }
  .contacto-closing-section { padding: 0 0 3.5rem; }
}

@media (max-width: 480px) {
  .contacto-hero { height: 220px; }
  .contact-card { padding: 1.8rem 1.5rem; }
  .contacto-closing { padding: 1.8rem 1.6rem; }
  .contacto-closing__top { flex-direction: column; text-align: center; }
}

/* ============================================================
   PÁGINA: TEST DE AUTONOMÍA FUNCIONAL
   ============================================================ */
.test-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 2.5rem;
  background: var(--cream);
  text-align: center;
}
.test-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.test-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
}
.test-lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-mid);
}

.test-form-section {
  background: var(--cream);
  padding: 1rem 0 5rem;
}
.test-container {
  max-width: 720px;
}

.test-progress {
  position: sticky;
  top: var(--nav-h);
  height: 6px;
  background: var(--cream-dark);
  border-radius: var(--r-pill);
  margin-bottom: 2.5rem;
  overflow: hidden;
  z-index: 5;
}
.test-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.3s ease;
}

.test-question {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.4rem;
}
.test-question legend {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--green-dark);
  padding: 0 0.4rem;
}
.test-question label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.6rem 0.4rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.test-question label:hover {
  background: var(--cream-dark);
}
.test-question input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.test-question span {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-mid);
}

.test-error {
  color: #B23A3A;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.2rem;
}

.test-submit-btn {
  display: block;
  width: 100%;
  background: var(--green-dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.test-submit-btn:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}
.test-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.test-result {
  text-align: center;
}
.test-result__score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 0.8rem;
}
.test-result__score-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.test-result__score-max {
  font-size: 14px;
  color: var(--text-soft);
}
.test-result__grade {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.test-result__desc {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-mid);
}

.test-contact {
  background: var(--cream-dark);
  border-radius: var(--r-lg);
  padding: 2.2rem 2rem;
  text-align: left;
}
.test-contact h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  text-align: center;
}
.test-contact > p {
  font-size: 13.5px;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 1.6rem;
}
.test-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.test-contact-form[hidden] {
  display: none;
}
.test-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.test-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}
.test-contact-form input,
.test-contact-form select,
.test-contact-form textarea {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
}
.test-contact-form textarea {
  resize: vertical;
}
.test-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.test-contact-status {
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
  min-height: 18px;
}
.test-contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  padding: 1rem;
}
.test-contact-success[hidden] {
  display: none;
}
.test-contact-success .ph {
  font-size: 40px;
  color: var(--green-mid);
}
.test-contact-success p {
  font-size: 14.5px;
  color: var(--text-dark);
  max-width: 420px;
}

@media (max-width: 600px) {
  .test-contact-form__row { grid-template-columns: 1fr; }
  .test-question { padding: 1.2rem 1.3rem; }
}

/* ============================================================
   PÁGINA: PREGUNTAS FRECUENTES
   ============================================================ */
.page-faq {
  --faq-red: #BB0000;
  --font-faq-display: 'Cormorant', serif;
  background-color: var(--cream);
  background-image: url('../img/fondo1.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  min-height: 100vh;
}
.page-faq .navbar--light .navbar__link.active { color: var(--faq-red); }
.page-faq .navbar--light .navbar__link.active::after { background: var(--faq-red); }
.page-faq .navbar--light .navbar__cta { background: var(--faq-red); }
.page-faq .navbar--light .navbar__cta:hover { background: #D44B4B; }

.faq-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 2.5rem;
  text-align: center;
}
.faq-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}
.faq-title {
  font-family: var(--font-faq-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--faq-red);
}

.faq-grid-section {
  padding: 1.5rem 0 4rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  row-gap: 2.5rem;
}
.faq-item {
  padding: 1.6rem 1rem;
}
.faq-item__q {
  font-family: var(--font-faq-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--faq-red);
  margin-bottom: 1rem;
  text-align: left;
}
.faq-item--center .faq-item__q {
  text-align: center;
}
.faq-item__a {
  font-family: var(--font-faq-display);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
  text-align: justify;
  margin-bottom: 0.9rem;
}
.faq-item__a:last-child { margin-bottom: 0; }

.faq-closing {
  background: var(--cream-dark);
  padding: 3rem 2.5rem 4rem;
  text-align: center;
}
.faq-closing p {
  font-family: var(--font-faq-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}
.faq-closing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--faq-red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--r-md);
  transition: background 0.25s, transform 0.2s;
}
.faq-closing__cta:hover {
  background: #D44B4B;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-hero { padding: calc(var(--nav-h) + 2rem) 0 2rem; }
}

/* ============================================================
   PÁGINA: RESIDENCIA
   ============================================================ */

/* En esta página el acento activo del navbar es verde (marca Residencia) en vez del terracota genérico. */
.page-residencia .navbar--light .navbar__link.active {
  color: var(--green-dark);
}
.page-residencia .navbar--light .navbar__link.active::after {
  background: var(--green-mid);
}

/* ── Utilidad: placeholder de foto ── */
.ph-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  overflow: hidden;
}
.ph-tile .ph {
  color: var(--green-mid);
  opacity: 0.32;
}
.ph-tile--terracotta {
  background: linear-gradient(135deg, #FBEFE6, var(--cream));
}
.ph-tile--terracotta .ph {
  color: var(--terracotta);
}

/* ── Tipografía compartida ── */
.res-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}
.res-heading {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
}
.res-heading em {
  font-style: normal;
  color: var(--terracotta);
}
.res-section-head {
  text-align: center;
  margin-bottom: 2.6rem;
}
.res-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text-dark);
}

/* ── Hero ── */
.res-hero {
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  background: var(--cream);
}
.res-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.res-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1rem;
  display: block;
}
.res-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.res-title-accent {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--terracotta);
  margin-bottom: 1.2rem;
}
.res-arrow {
  display: block;
  width: 150px;
  color: var(--sage);
  opacity: 0.75;
  margin-bottom: 1.2rem;
}
.res-arrow__svg {
  display: block;
  width: 100%;
  height: auto;
}
.res-lead {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 440px;
  margin-bottom: 1.6rem;
}
.res-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--r-md);
  transition: background 0.25s, transform 0.2s;
}
.res-cta:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}
.res-hero__photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}
.res-hero__photo img,
.res-hero__photo.ph-tile { width: 100%; height: 100%; }
.res-hero__photo img { object-fit: cover; }
.res-hero__photo .ph { font-size: 72px; }
.res-hero__badge {
  position: absolute;
  right: 6%;
  bottom: -10%;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}
.res-hero__badge-divider {
  display: block;
  width: 64px;
  color: rgba(255,255,255,0.65);
}
.res-hero__badge-divider svg {
  display: block;
  width: 100%;
  height: auto;
}
.res-hero__badge p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.65;
  letter-spacing: 0.1px;
}

/* ── Pilares ── */
.res-pillars {
  background: var(--cream-dark);
  padding: 4.5rem 0;
}
.res-pillars__inner {
  display: grid;
  grid-template-columns: 0.85fr 2.4fr;
  gap: 2.5rem;
  align-items: center;
}
.res-pillars__intro p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-mid);
}
.res-pillars-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}
.res-pillar {
  text-align: center;
}
.res-pillar__icon {
  font-size: 26px;
  color: var(--green-mid);
  margin-bottom: 0.8rem;
}
.res-pillar h3 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.res-pillar p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-mid);
}
.res-pillar--accent .res-pillar__icon,
.res-pillar--accent h3 {
  color: var(--coral);
}

/* ── ¿A quién está dirigida? + Planes de estadía ── */
.res-audience {
  background: var(--cream);
  padding: 4.5rem 0 3rem;
}
.res-audience__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.res-audience__photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3.4;
}
.res-audience__photo img { width: 100%; height: 100%; object-fit: cover; }
.res-audience__photo .ph { font-size: 56px; }
.res-audience__text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.res-audience__text p strong { color: var(--text-dark); }

.res-plans__head {
  text-align: center;
  margin-bottom: 2rem;
}
.res-plans__head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-dark);
}
.res-plans__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 2.2rem;
}
.plan-card {
  background: var(--cream-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.plan-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1.2rem 1.4rem 0.8rem;
}
.plan-card__head .ph { color: var(--green-mid); font-size: 18px; }
.plan-card__head span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-mid);
}
.plan-card__photo {
  height: 220px;
}
.plan-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.plan-card__photo .ph { font-size: 40px; }
.plan-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-mid);
  padding: 1rem 1.4rem 1.4rem;
}
.res-plans__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.res-plans__note .ph { color: var(--green-mid); font-size: 18px; }

/* ── Familia / Comunidad ── */
.res-split-section {
  background: var(--cream);
  padding: 0 0 4.5rem;
}
.res-split {
  background: var(--cream-dark);
  border-radius: var(--r-lg);
  padding: 2.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
}
.res-split__col { display: flex; flex-direction: column; }
.res-split__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.9rem;
}
.res-split__head .ph {
  font-size: 24px;
  color: var(--green-mid);
  flex-shrink: 0;
}
.res-split__head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.3;
}
.res-split__col > p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1.4rem;
}
.res-split__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.res-split__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-mid);
}
.res-split__list .ph {
  color: var(--green-mid);
  font-size: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}
.res-split__list strong { color: var(--text-dark); }
.res-split__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.res-split__row li {
  flex: 1;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-mid);
}
.res-split__row .ph {
  display: block;
  color: var(--green-mid);
  font-size: 24px;
  margin: 0 auto 0.5rem;
}
.res-split__note {
  margin-top: auto;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--coral);
  line-height: 1.6;
}

/* ── Equipo profesional ── */
.res-team {
  background: var(--cream-dark);
  padding: 4.5rem 0;
}
.res-team__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}
.res-team-item {
  text-align: center;
}
.res-team-item .ph {
  font-size: 26px;
  color: var(--green-mid);
  margin-bottom: 0.7rem;
}
.res-team-item h3 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.res-team-item span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}
.res-team-item p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-mid);
}
.res-team__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.res-team__note .ph { color: var(--coral); font-size: 18px; }

/* ── Espacios ── */
.res-spaces {
  background: var(--cream);
  padding: 4.5rem 0;
}
.res-spaces__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.res-space-card__photo {
  position: relative;
  height: 130px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1.6rem;
}
.res-space-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.res-space-card__photo .ph { font-size: 30px; }
.res-space-card__badge {
  position: absolute;
  left: 12px; bottom: -14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.res-space-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.res-space-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-mid);
}

.res-building {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: center;
}
.res-building__photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
}
.res-building__photo img { width: 100%; height: 100%; object-fit: cover; }
.res-building__photo .ph { font-size: 56px; }
.res-building__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.res-building__list .ph {
  color: var(--green-mid);
  font-size: 24px;
  margin-bottom: 0.6rem;
}
.res-building__list h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.res-building__list p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-mid);
}
.res-building__note {
  display: block;
  margin-top: 0.4rem;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ── Actividades ── */
.res-gallery {
  background: var(--white);
  padding: 4.5rem 0;
}

.res-activities {
  background: var(--cream-dark);
  padding: 4.5rem 0;
}
.res-activities__head {
  text-align: center;
  margin-bottom: 2.6rem;
}
.res-activities__head h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-dark);
}
.res-activities__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 1fr;
  gap: 2.2rem;
  align-items: start;
}
.res-activities__text p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.res-activities__text p strong { color: var(--text-dark); }
.res-activities__features {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.res-activities__feature { display: flex; gap: 12px; }
.res-activities__feature .ph {
  font-size: 22px;
  color: var(--green-mid);
  flex-shrink: 0;
  margin-top: 2px;
}
.res-activities__feature h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-mid);
  margin-bottom: 0.35rem;
}
.checklist .ph { color: var(--green-mid); font-size: 14px; margin-top: 0; }
.res-activities__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.res-activities__photos .ph-tile,
.res-activities__photos > div {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.res-activities__photos .ph { font-size: 22px; }
.res-activities__photos > div img { width: 100%; height: 100%; object-fit: cover; }
.res-activities__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.res-activities__note .ph { color: var(--terracotta); font-size: 18px; }

/* ── Cierre ── */
.res-closing {
  background: var(--cream);
  padding: 4rem 2.5rem 5rem;
  text-align: center;
}
.res-closing .ph {
  font-size: 26px;
  color: var(--sage);
  opacity: 0.7;
  margin-bottom: 1rem;
}
.res-closing p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-dark);
}
.res-closing p.res-closing__accent {
  color: var(--terracotta);
  margin-top: 0.3rem;
}

/* ── Responsive: Residencia ── */
@media (max-width: 1100px) {
  .res-team__grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
  .res-spaces__grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
}

@media (max-width: 900px) {
  .res-hero__inner { grid-template-columns: 1fr; }
  .res-hero__photo { order: -1; aspect-ratio: 16 / 10; }
  .res-hero__badge { width: 150px; height: 150px; font-size: 12px; }
  .res-pillars__inner { grid-template-columns: 1fr; }
  .res-pillars-row { grid-template-columns: repeat(3, 1fr); row-gap: 1.8rem; }
  .res-audience__inner { grid-template-columns: 1fr; }
  .res-plans__grid { grid-template-columns: 1fr; }
  .res-split { grid-template-columns: 1fr; }
  .res-building { grid-template-columns: 1fr; }
  .res-activities__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .res-team__grid { grid-template-columns: 1fr 1fr; }
  .res-spaces__grid { grid-template-columns: 1fr 1fr; }
  .res-split__list { grid-template-columns: 1fr; }
  .res-split__row { flex-wrap: wrap; }
  .res-split__row li { flex: 1 1 40%; }
  .res-building__list { grid-template-columns: 1fr; }
  .res-activities__photos { grid-template-columns: repeat(3, 1fr); }
  .res-hero__badge {
    width: 128px; height: 128px;
    padding: 1rem;
    gap: 0.35rem;
    right: 4%;
    bottom: -6%;
  }
  .res-hero__badge-divider { width: 42px; }
  .res-hero__badge p { font-size: 10px; line-height: 1.45; }
}

@media (max-width: 480px) {
  .res-pillars-row { grid-template-columns: 1fr 1fr; }
  .res-hero { padding: calc(var(--nav-h) + 2rem) 0 3rem; }
  .res-pillars, .res-team, .res-spaces, .res-gallery, .res-activities { padding: 3.5rem 0; }
  .res-split { padding: 1.8rem; }
  .res-hero__badge {
    width: 108px; height: 108px;
    padding: 0.85rem;
    gap: 0.3rem;
    right: 3%;
    bottom: -5%;
  }
  .res-hero__badge-divider { width: 34px; }
  .res-hero__badge p { font-size: 9px; line-height: 1.4; }
}

/* ============================================================
   PÁGINA: DIMORA
   ============================================================ */

/* ── Identidad de marca Dimora (Manual de Identidad Corporativa) ──
   Rojo PANTONE 187 / #BB0000 y Teal PANTONE 7475 / #53777A,
   tipografías Cormorant (display) + Lato (texto), solo en esta página. */
.page-dimora {
  --dim-red:      #BB0000;
  --dim-red-light:#D44B4B;
  --dim-teal:     #53777A;
  --dim-teal-light:#6E9396;
  --font-display: 'Cormorant', serif;
  --font-body:    'Lato', sans-serif;
}
.page-dimora .dim-title em,
.page-dimora .dim-why__text h2,
.page-dimora .dim-future__text h2 em,
.page-dimora .dim-closing__text p.dim-closing__accent { color: var(--dim-red); }
.page-dimora .dim-cta { background: var(--dim-red); }
.page-dimora .dim-cta:hover { background: var(--dim-red-light); }
.page-dimora .eucalyptus-divider--center { color: var(--dim-teal); }
.page-dimora .dim-eco-card__head .ph,
.page-dimora .dim-eco-card ul .ph { color: var(--dim-teal); }
.page-dimora .navbar--light .navbar__link.active { color: var(--dim-red); }
.page-dimora .navbar--light .navbar__link.active::after { background: var(--dim-teal); }
.page-dimora .navbar--light .navbar__link--highlight { color: var(--dim-red) !important; }
.page-dimora .navbar--light .navbar__cta { background: var(--dim-red); }
.page-dimora .navbar--light .navbar__cta:hover { background: var(--dim-red-light); }

/* ── Hero ── */
.dim-hero {
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  background: var(--cream);
}
.dim-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.dim-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1rem;
  display: block;
}
.dim-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}
.dim-title em {
  font-style: normal;
  color: var(--terracotta);
}
.dim-lead {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 440px;
  margin-bottom: 1.6rem;
}
.dim-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--r-md);
  transition: background 0.25s, transform 0.2s;
}
.dim-cta:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
}
.dim-hero__photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}
.dim-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.dim-hero__photo .ph { font-size: 72px; }

/* ── Divisor de rama (variante centrada) ── */
.eucalyptus-divider--center {
  display: flex;
  justify-content: center;
  margin: 1.6rem 0;
  color: var(--terracotta);
  opacity: 0.75;
}
.eucalyptus-divider--center .res-arrow__svg {
  width: 150px;
}

/* ── Tipografía compartida ── */
.dim-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}
.dim-section-head {
  text-align: center;
  margin-bottom: 2.6rem;
}
.dim-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text-dark);
}

/* ── ¿Por qué nace Dimora? ── */
.dim-why {
  background: var(--cream);
  padding: 4.5rem 0;
}
.dim-why__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.dim-why__photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3.4;
}
.dim-why__photo img { width: 100%; height: 100%; object-fit: cover; }
.dim-why__photo .ph { font-size: 56px; }
.dim-why__text h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--terracotta);
  margin-bottom: 1.1rem;
}
.dim-why__text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.dim-why__text p strong { color: var(--text-dark); }

/* ── Mucho más que una unidad ── */
.dim-features {
  background: var(--cream);
  padding: 4.5rem 0;
}
.dim-features__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}
.feature-card {
  --accent: var(--green-mid);
  text-align: center;
}
.feature-card--blue   { --accent: var(--celeste); }
.feature-card--coral  { --accent: var(--coral); }
.feature-card--gold   { --accent: var(--gold); }
.feature-card--purple { --accent: var(--lavender); }
.feature-card__badge {
  position: static;
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.feature-card__badge .ph {
  color: inherit;
}
.feature-card h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.feature-card--accent-title h4 { color: var(--accent); }
.feature-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ── ¿Quiénes estarán? ── */
.dim-who {
  background: var(--cream);
  padding: 4.5rem 0;
}
.dim-who__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}
.who-item {
  --accent: var(--green-mid);
  text-align: center;
}
.who-item--coral  { --accent: var(--coral); }
.who-item--navy   { --accent: var(--navy); }
.who-item--gold   { --accent: var(--gold); }
.who-item--purple { --accent: var(--lavender); }
.who-item__icon {
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.who-item__icon .ph {
  color: inherit;
  font-size: inherit;
}
.who-item h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.who-item--accent-title h3 { color: var(--accent); }
.who-item p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-mid);
}
.dim-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--cream-dark);
  border-radius: var(--r-lg);
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow-sm);
}
.dim-callout .ph {
  color: var(--sage);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.dim-callout p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ── Espacios para vivir y compartir + Galería de fotos ── */
.dim-gallery {
  background: var(--white);
  padding: 4.5rem 0;
}
.dim-gallery__head {
  margin-top: 3.5rem;
}
.dim-spaces__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-bottom: 0;
}
.dim-space-card {
  --accent: var(--green-mid);
  text-align: center;
}
.dim-space-card--blue   { --accent: var(--celeste); }
.dim-space-card--coral  { --accent: var(--coral); }
.dim-space-card--gold   { --accent: var(--gold); }
.dim-space-card--purple { --accent: var(--lavender); }
.dim-space-card__badge {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--accent);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.dim-space-card p {
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ── Pensado para hoy. Preparado para mañana. ── */
.dim-future {
  background: var(--cream);
  padding: 4.5rem 0 5rem;
}
.dim-future__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.dim-future__photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3.6;
}
.dim-future__photo img { width: 100%; height: 100%; object-fit: cover; }
.dim-future__photo .ph { font-size: 56px; }
.dim-future__text h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 1.1rem;
}
.dim-future__text h2 em {
  display: block;
  font-style: normal;
  color: var(--terracotta);
}
.dim-future__text p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.dim-future__text p strong { color: var(--text-dark); }

.dim-eco-card {
  background: var(--cream-dark);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
}
.dim-eco-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
}
.dim-eco-card__head .ph {
  font-size: 18px;
  color: var(--terracotta);
}
.dim-eco-card__head span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dark);
}
.dim-eco-card > p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}
.dim-eco-card ul { display: grid; gap: 0.7rem; }
.dim-eco-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-mid);
}
.dim-eco-card ul .ph {
  color: var(--terracotta);
  font-size: 15px;
  flex-shrink: 0;
}

/* ── Cierre ── */
.dim-closing {
  background: var(--cream-dark);
  padding: 3.5rem 2.5rem;
}
.dim-closing__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  text-align: center;
}
.dim-closing__leaf {
  font-size: 26px;
  color: var(--sage);
  opacity: 0.6;
  flex-shrink: 0;
}
.dim-closing__text p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-dark);
}
.dim-closing__text p.dim-closing__accent {
  color: var(--terracotta);
  margin-top: 0.3rem;
}

/* ── Responsive: Dimora ── */
@media (max-width: 1100px) {
  .dim-features__grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.6rem; }
  .dim-spaces__grid { grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; }
}

@media (max-width: 900px) {
  .dim-hero__inner { grid-template-columns: 1fr; }
  .dim-hero__photo { order: -1; aspect-ratio: 16 / 10; }
  .dim-why__inner { grid-template-columns: 1fr; }
  .dim-who__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .dim-future__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .dim-features__grid { grid-template-columns: 1fr 1fr; }
  .dim-spaces__grid { grid-template-columns: 1fr 1fr; }
  .dim-who__grid { grid-template-columns: 1fr 1fr; }
  .dim-closing__inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .dim-hero { padding: calc(var(--nav-h) + 2rem) 0 3rem; }
  .dim-why, .dim-features, .dim-gallery, .dim-who, .dim-future { padding: 3.5rem 0; }
}

/* ============================================================
   GALERÍA / CAROUSEL DE FOTOS
   (usado en Dimora y Residencia)
   ============================================================ */
.gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gallery-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-carousel__viewport::-webkit-scrollbar { display: none; }
.gallery-carousel__track {
  display: flex;
  gap: 1rem;
}
.gallery-carousel__slide {
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-carousel__arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 2;
}
.gallery-carousel__arrow:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .gallery-carousel__slide { width: 220px; }
  .gallery-carousel__arrow { width: 36px; height: 36px; font-size: 15px; }
}

/* ============================================================
   LIGHTBOX — zoom de imágenes a pantalla completa
   ============================================================ */
main img {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
}
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 22px;
}
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { width: 40px; height: 40px; font-size: 18px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__close { top: 10px; right: 10px; width: 36px; height: 36px; }
}
