:root {
  --blue: #254878;
  --blue-dark: #17325c;
  --gold: #d4ad25;
  --light: #f1f1f1;
  --text: #2c2c2c;
  --muted: #666;
  --white: #fff;
  --radius: 16px;
  --container: 1180px;
  --font-body: "Montserrat", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-h1: clamp(34px, 4vw, 48px);
  --fs-h2: clamp(25px, 2.7vw, 32px);
  --fs-h3: clamp(19px, 2vw, 23px);
  --space-section: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: #f4f4f4;
  overflow-x: hidden;
}
main { display: block; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { color: var(--blue); line-height: 1.15; margin: 0 0 .65em; }
h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); font-weight: 500; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: 18px; }
ul, ol { margin-top: 0; }

.container, .aurum-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.aurum-container-narrow { max-width: 860px; }
.section, .aurum-section { padding: var(--space-section) 0; }
.text-center { text-align: center; }
.rounded { border-radius: var(--radius); }

.eyebrow, .aurum-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-title, .aurum-title {
  color: var(--blue);
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 500;
  text-align: center;
  margin: 0 0 44px;
}
.section-title span { display: inline-flex; align-items: center; gap: 16px; }
.section-title span::before, .section-title span::after {
  content: "";
  width: 58px;
  height: 3px;
  background: var(--gold);
}
.lead { color: var(--muted); font-size: 16px; line-height: 1.55; }

.btn, .btn-primary, .aurum-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 28px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  transition: opacity .2s ease, transform .2s ease;
}
.btn:hover, .btn-primary:hover, .aurum-btn:hover { opacity: .9; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-blue, .btn-primary, .aurum-btn { background: var(--blue); color: #fff; }
.btn-outline-light { color: #fff; border: 2px solid #fff; background: rgba(36, 71, 120, .8); }

.page-hero { background: #eee; padding: 56px 0; }
.page-hero.has-image .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-top: 40px;
}
.two-col.alt .text { order: -1; }
.text h2 { margin-bottom: 14px; }
.blue-panel { background: var(--blue); color: #fff; border-radius: 14px; padding: 34px 48px; margin-bottom: 48px; }
.blue-panel h2 { color: #fff; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pill { background: var(--blue); color: #fff; border-radius: 7px; padding: 8px 18px; font-size: 14px; font-weight: 700; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.team-card { background: #fff; border-radius: 12px; overflow: hidden; text-align: center; }
.team-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team-card .content { padding: 20px; }
.team-card h3 { margin: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Entradas sutiles del contenido */
.aurum-reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--aurum-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.aurum-reveal.aurum-reveal--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .aurum-reveal,
  .aurum-reveal.aurum-reveal--visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Acordeón de Preguntas Frecuentes */
.aurum-faq {
  max-width: 980px;
  margin: 34px auto 0;
}

.aurum-faq-intro {
  max-width: 820px;
  margin-bottom: 52px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

.aurum-faq-intro p { margin: 0; }
.aurum-faq-intro a,
.aurum-faq-answer a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aurum-faq-group + .aurum-faq-group { margin-top: 54px; }

.aurum-faq-group > h2 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 13px;
  color: var(--blue);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}

.aurum-faq-group > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.aurum-faq-list {
  display: grid;
  gap: 12px;
}

.aurum-faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(38, 63, 109, .14);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(38, 63, 109, .06);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.aurum-faq-item:hover {
  border-color: rgba(38, 63, 109, .3);
  transform: translateY(-1px);
}

.aurum-faq-item[open] {
  border-color: rgba(219, 178, 30, .7);
  box-shadow: 0 12px 30px rgba(38, 63, 109, .1);
}

.aurum-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.aurum-faq-item summary::-webkit-details-marker { display: none; }

.aurum-faq-symbol {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  transition: background .35s ease, transform .35s ease;
}

.aurum-faq-symbol::before,
.aurum-faq-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .35s ease;
}

.aurum-faq-symbol::after { transform: translate(-50%, -50%) rotate(90deg); }

.aurum-faq-item[open] .aurum-faq-symbol { background: var(--gold); }
.aurum-faq-item[open] .aurum-faq-symbol::after { transform: translate(-50%, -50%) rotate(0); }

.aurum-faq-answer {
  padding: 0 76px 24px 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.aurum-faq-answer p { margin: 0; }

@media (max-width: 600px) {
  .aurum-faq { margin-top: 24px; }
  .aurum-faq-intro { margin-bottom: 38px; font-size: 16px; }
  .aurum-faq-group + .aurum-faq-group { margin-top: 42px; }
  .aurum-faq-group > h2 { font-size: 24px; }
  .aurum-faq-item summary { gap: 14px; padding: 18px 16px; font-size: 16px; }
  .aurum-faq-symbol { flex-basis: 30px; width: 30px; height: 30px; }
  .aurum-faq-answer { padding: 0 16px 20px; font-size: 15px; }
}


/* Transición suave del acordeón FAQ */
.aurum-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 24px;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.aurum-faq-item.is-open {
  border-color: rgba(219, 178, 30, .7);
  box-shadow: 0 12px 30px rgba(38, 63, 109, .1);
}

.aurum-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows .72s cubic-bezier(.16, 1, .3, 1),
    opacity .48s ease,
    visibility 0s linear .72s;
  will-change: grid-template-rows, opacity;
}

.aurum-faq-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.aurum-faq-item.is-open .aurum-faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows .82s cubic-bezier(.16, 1, .3, 1),
    opacity .55s ease .06s,
    visibility 0s linear 0s;
}

.aurum-faq-item.is-open .aurum-faq-symbol { background: var(--gold); }
.aurum-faq-item.is-open .aurum-faq-symbol::after { transform: translate(-50%, -50%) rotate(0); }

@media (max-width: 600px) {
  .aurum-faq-trigger {
    gap: 14px;
    padding: 18px 16px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurum-faq-panel,
  .aurum-faq-item.is-open .aurum-faq-panel {
    transition: none;
  }
}


/* Orden visual de Preguntas Frecuentes */
.faq-page .aurum-title {
  text-align: left;
}

.faq-page .aurum-faq {
  width: 100%;
  max-width: none;
  margin: 72px 0 0;
}

.faq-page .aurum-faq-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 72px;
}

.faq-page .aurum-faq-group > h2 {
  margin-bottom: 34px;
}

.faq-page .aurum-faq-group + .aurum-faq-group {
  margin-top: 64px;
}

@media (max-width: 600px) {
  .faq-page .aurum-faq {
    margin-top: 42px;
  }

  .faq-page .aurum-faq-intro {
    margin-bottom: 52px;
  }

  .faq-page .aurum-faq-group > h2 {
    margin-bottom: 26px;
  }

  .faq-page .aurum-faq-group + .aurum-faq-group {
    margin-top: 48px;
  }
}


/* Ajuste de espaciado de Preguntas Frecuentes */
main.site-main.aurum-section.aurum-page.faq-page {
  padding-top: 0;
}

.faq-page .aurum-faq {
  width: 100%;
  max-width: none;
  margin: 0 0 0;
}


/* Página llms.txt */
.llms-txt-content {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 28px 30px;
  overflow-x: auto;
  border: 1px solid rgba(38, 63, 109, .14);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 24px rgba(38, 63, 109, .06);
}

@media (max-width: 600px) {
  .llms-txt-content {
    padding: 20px 18px;
    font-size: 14px;
    line-height: 1.65;
  }
}


/* Presentación simple de llms.txt */
body.page-id-588 .aurum-eyebrow {
  display: none;
}

body.page-id-588 .aurum-title {
  text-align: left;
}

body.page-id-588 .llms-txt-content {
  margin: 0;
  padding: 0;
  overflow-x: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}


/* Sin espacio superior en llms.txt */
body.page-id-588 .site-main.aurum-section.aurum-page {
  padding-top: 0;
}


/* Gris unificado del sitio */
:root {
  --light: #f2f2f2;
}

body,
.page-hero,
.site-breadcrumb,
.aurum-residencias,
.residencias,
.services,
.servicios-hero,
.servicios-page-grid .servicio-page-icon,
.servicios-page-grid .servicio-page-card,
.single-complete-service-section,
.blog-hero,
.blog-list,
.single-post-page,
.single-post-hero,
.single-post-body,
.single-post-content blockquote,
.about-hero,
.about-content::before,
.equipo-hero,
.equipo-thanks,
.team-page {
  background-color: #f2f2f2 !important;
}


/* Breadcrumb transparente sobre las residencias */
body.single-residencia .site-breadcrumb--overlay {
  background-color: transparent !important;
}


/* Páginas geográficas de residencias */
.geo-landing { display: grid; gap: 52px; }
.geo-landing-lead { max-width: 1050px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.geo-landing-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.geo-landing-section { max-width: 1050px; }
.geo-landing-section h2 { position: relative; margin-bottom: 26px; padding-bottom: 13px; }
.geo-landing-section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 58px; height: 3px; border-radius: 3px; background: var(--gold); }
.geo-landing-section ul { margin: 0 0 22px; padding-left: 22px; }
.geo-landing-section li + li { margin-top: 10px; }
.geo-landing-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.geo-landing-faq { display: grid; gap: 14px; }
.geo-landing-faq > h2 { margin-bottom: 12px; }
.geo-faq-item { padding: 24px 26px; border: 1px solid rgba(38, 63, 109, .12); border-radius: 12px; background: #fff; }
.geo-faq-item h3 { margin-bottom: 10px; }
.geo-faq-item p { margin: 0; }
.geo-landing-cta { padding: 34px 38px; border-radius: 14px; background: var(--blue); color: #fff; }
.geo-landing-cta h2 { color: #fff; margin-bottom: 10px; }
.geo-landing-cta p { max-width: 760px; }
@media (max-width: 600px) {
  .geo-landing { gap: 38px; }
  .geo-landing-lead { font-size: 16px; }
  .geo-landing-actions { display: grid; }
  .geo-landing-actions .btn { width: 100%; }
  .geo-faq-item { padding: 20px 18px; }
  .geo-landing-cta { padding: 28px 22px; }
}


/* Presentación de la plantilla genérica */
.page-template-default .site-main.aurum-section.aurum-page {
  padding-top: 0;
}
.page-template-default .site-main.aurum-section.aurum-page .aurum-eyebrow {
  display: none;
}
.page-template-default .site-main.aurum-section.aurum-page .aurum-title {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}