@charset "UTF-8";

/* HOME RETIRO — identidad propia, colores planos, sin degradados */
body {
  background: var(--retiro-page-bg);
}

.retiro-home {
  overflow: hidden;
  background: var(--retiro-page-bg);
}

/* HERO RETIRO — escultura nocturna + composición editorial propia */
.retiro-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1f2d25;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-color: #1f2d25;
  background-image: url('../../../images/retiro/hero-retiro-escultura-desktop.webp');
  background-position: 50% center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.002);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 22, .10);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: min(92vw, 1680px);
  max-width: none;
  padding: clamp(2.8rem, 5.5vh, 4.6rem) 0 clamp(2.4rem, 4.5vh, 4rem);
}

.hero-shell {
  width: min(860px, 72vw);
  margin: 0 0 0 -3rem;
}

.hero-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #f4eadb;
}

/* Bienvenida: el ornamento toma exactamente el ancho visual de este grupo. */
.hero-welcome-group {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}

.hero-welcome {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-family: var(--retiro-sans);
  font-size: clamp(.72rem, .82vw, .85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .33em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(247, 238, 223, .94);
}

/* Ornamentos: misma figura en ambos niveles, con líneas más nobles,
   sutilmente curvas y con un desvanecido fino hacia los extremos. */
.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .70rem;
}

.hero-ornament-welcome {
  width: auto;
  min-width: 0;
  margin: .84rem 0 1.72rem;
}

.hero-ornament-main {
  width: min(430px, 64%);
  margin: 1.62rem auto 1.48rem;
}

.hero-ornament-line {
  position: relative;
  flex: 1 1 0;
  height: 12px;
  background: none;
  transform: scaleX(0);
  transition: transform .60s cubic-bezier(.22, .61, .36, 1);
}

.hero-ornament-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5.5px;
  height: 1px;
  border-radius: 999px;

  background: linear-gradient(90deg,
      rgba(200, 138, 56, 0) 0%,
      rgba(214, 160, 80, .16) 14%,
      rgba(234, 188, 115, .34) 32%,
      rgba(205, 145, 60, .48) 50%,
      rgba(234, 188, 115, .34) 68%,
      rgba(214, 160, 80, .16) 86%,
      rgba(200, 138, 56, 0) 100%);

  box-shadow: none;
}

.hero-ornament-line:first-child {
  transform-origin: right center;
}

.hero-ornament-line:last-child {
  transform-origin: left center;
}

.hero-ornament.is-entered .hero-ornament-line {
  transform: scaleX(1);
}

.hero-ornament-mark {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: #d59d49;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .98;
  filter: drop-shadow(0 0 4px rgba(213, 157, 73, .18));
}

/* Título principal */
.hero-title {
  width: 100%;
  margin: 0;
  color: #f5ead9;
  font-family: var(--retiro-serif);
  font-size: clamp(4.45rem, 5.55vw, 6.65rem);
  font-weight: 500;
  line-height: .87;
  letter-spacing: -.026em;
  text-align: center;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .16);
}

.hero-title-line {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.hero-title-line:last-child {
  margin-top: .02em;
  font-size: .88em;
}

/* Nombre + frase institucional */
.hero-notary-name {
  width: 100%;
  margin: 0;
  font-family: var(--retiro-serif);
  font-size: clamp(1.36rem, 1.58vw, 1.72rem);
  font-weight: 520;
  line-height: 1.20;
  letter-spacing: .006em;
  text-align: center;
  color: #efc27e;
}

.hero-tagline {
  width: 100%;
  max-width: 640px;
  margin: .88rem auto 0;
  font-family: var(--retiro-serif);
  font-size: clamp(1rem, 1.12vw, 1.14rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.38;
  text-align: center;
  color: rgba(244, 234, 219, .88);
}

/* Accesos: 6 × 2 en escritorio, independientes y con aire entre tarjetas */
.hero-quick-nav {
  position: relative;
  left: 8px;

  width: 860px;
  max-width: 100%;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(6, 135px);
  grid-auto-rows: 118px;
  column-gap: 10px;
  row-gap: 10px;
  background: transparent;
  border: 0;
  overflow: visible;
  box-shadow: none;
}

.hero-quick-link {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 1.08rem .66rem 1rem;
  display: grid;
  grid-template-rows: 29px minmax(2.28em, auto);
  align-content: center;
  justify-items: center;
  row-gap: .58rem;
  color: #f3e9d9 !important;
  text-align: center;
  text-decoration: none !important;
  background: rgba(2, 9, 17, .64);
  border: 1px solid rgba(200, 138, 56, .36);
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    background-color .24s ease,
    border-color .24s ease,
    color .24s ease,
    box-shadow .26s ease,
    transform .26s cubic-bezier(.22, .61, .36, 1);
}

.hero-quick-link:hover,
.hero-quick-link:focus-visible {
  background: rgba(200, 138, 56, .16);
  border-color: rgba(235, 184, 105, .94);
  color: #fff9ef !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .30);
  transform: translateY(-5px);
  outline: 0;
}

.hero-quick-link:focus-visible {
  box-shadow:
    0 16px 30px rgba(0, 0, 0, .28),
    0 0 0 2px rgba(234, 188, 115, .34);
}

.hero-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #d79a43;
  transition: color .22s ease;
}

.hero-quick-link:hover .hero-icon,
.hero-quick-link:focus-visible .hero-icon {
  color: #efb65e;
}

.hero-icon svg {
  display: block;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-icon-clock {
  position: relative;
  display: block;
  width: 27px;
  height: 27px;
  border: 1.9px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.hero-icon-clock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4.55px;
  width: 1.8px;
  height: 8.25px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}

.hero-icon-clock::after {
  content: "";
  position: absolute;
  left: 12.4px;
  top: 12.15px;
  width: 6.7px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(29deg);
  transform-origin: 0 50%;
}

.hero-quick-label {
  width: 100%;
  max-width: 122px;
  min-height: 2.28em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--retiro-sans);
  font-size: clamp(.62rem, .65vw, .70rem);
  font-weight: 700;
  letter-spacing: .028em;
  line-height: 1.14;
  text-align: center;
  text-transform: uppercase;
}

/* Una sola cronología del Hero, controlada desde index.js */
.hero-intro-item {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity .54s cubic-bezier(.22, .61, .36, 1),
    transform .54s cubic-bezier(.22, .61, .36, 1);
  animation: hero-intro-fallback .01s 2.35s forwards;
}

.hero-ornament-welcome.hero-intro-item {
  transform: translate3d(0, 5px, 0);
}

.hero-ornament-main.hero-intro-item {
  transform: translate3d(0, 4px, 0);
}

.hero-quick-link.hero-intro-item {
  transform: translate3d(0, 7px, 0);
  transition-duration: .40s;
}

.hero-intro-item.is-entered {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: none;
}

.hero-quick-link.hero-intro-item.is-entered:hover,
.hero-quick-link.hero-intro-item.is-entered:focus-visible {
  transform: translate3d(0, -5px, 0);
}

@keyframes hero-intro-fallback {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0)
  }
}

/* =========================================================
   HOME RETIRO — CONTENIDO INSTITUCIONAL
   La estructura aprobada del Hero se conserva; solo se aplican
   microajustes tipográficos y de jerarquía visual.
========================================================= */
.home-eyebrow {
  margin: 0 0 .72rem;
  color: var(--retiro-accent);
  font-family: var(--retiro-sans);
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-heading {
  margin: 0;
  color: var(--retiro-ink);
  font-family: var(--retiro-serif);
  font-size: clamp(2.55rem, 4.35vw, 4.25rem);
  font-weight: 550;
  line-height: .98;
  letter-spacing: -.025em;
}

.home-lead {
  margin: 1rem 0 0;
  color: var(--retiro-muted);
  font-family: var(--retiro-serif);
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-copy {
  color: #4e5963;
  font-family: var(--retiro-serif);
  font-size: 1.04rem;
  line-height: 1.82;
}

.home-copy p {
  margin: 0 0 1rem;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.home-copy p:last-child {
  margin-bottom: 0;
}

/* 1. Notario */
.home-notary {
  padding: 6.8rem 0 6.6rem;
  background: var(--retiro-page-bg);
  scroll-margin-top: 78px;
}

.home-notary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  gap: clamp(3.2rem, 5vw, 5.8rem);
  align-items: start;
}

.home-notary-content {
  max-width: 680px;
  padding-top: .65rem;
}

.home-notary-role {
  margin: .82rem 0 0;
  color: var(--retiro-muted);
  font-family: var(--retiro-sans);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .085em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-notary-role::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: .9rem;
  background: var(--retiro-accent);
  opacity: .72;
}

.home-notary-content .home-lead {
  max-width: 625px;
  margin: 1.05rem 0 .95rem;
  color: #4e5963;
  font-size: 1.015rem;
  line-height: 1.55;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.home-notary-copy {
  max-width: 625px;
  margin-top: 0;
  font-size: 1.015rem;
  line-height: 1.55;
}

.home-notary-copy p {
  margin-bottom: .95rem;
  line-height: 1.55;
}

.home-notary-signature {
  margin-top: 1.35rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--retiro-border);
  color: var(--retiro-accent-deep);
  font-family: var(--retiro-serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .005em;
}

.home-notary-portrait {
  width: 100%;
  max-width: 520px;
  margin: 0 0 0 auto;
  background: transparent !important;
}

.home-notary-portrait-placeholder {
  position: relative;
  width: 100%;
  min-height: 620px;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--retiro-dark);
  border: 1px solid rgba(199, 140, 49, .55);
  box-shadow: none;
}

.home-notary-portrait-placeholder::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244, 234, 219, .10);
  pointer-events: none;
}

.home-notary-portrait-placeholder img {
  position: relative;
  z-index: 1;
  width: min(250px, 54%);
  height: auto;
  display: block;
}

.home-notary-portrait figcaption {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: .85rem auto 0;
  padding: 0 !important;
  color: var(--retiro-accent);
  font-family: var(--retiro-serif);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.home-notary-history {
  margin-top: 5rem;
  padding: 3.35rem 3.2rem 3.25rem;
  background: var(--retiro-paper);
  border-top: 2px solid rgba(199, 140, 49, .52);
  box-shadow: 0 16px 34px rgba(7, 17, 31, .045);
}

.home-notary-history-head {
  max-width: 820px;
}

.home-notary-history-head h3 {
  margin: 0;
  color: var(--retiro-ink);
  font-family: var(--retiro-serif);
  font-size: clamp(2.15rem, 3.35vw, 3.35rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -.018em;
}

.home-notary-history-grid {
  margin-top: 2.05rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.home-notary-history-grid p {
  margin: 0;
  color: var(--retiro-muted);
  font-family: var(--retiro-serif);
  font-size: 1.02rem;
  line-height: 1.82;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* 2. Nuestra oficina */
.home-office {
  background: var(--retiro-paper);
}

.home-office-band {
  padding: 5.15rem 0;
  background: var(--retiro-dark);
  color: var(--retiro-ivory);
  border-top: 1px solid rgba(199, 140, 49, .34);
  border-bottom: 1px solid rgba(199, 140, 49, .34);
}

.home-office-band-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.home-office-band .home-eyebrow {
  color: var(--retiro-accent);
}

.home-office-band .home-heading {
  color: var(--retiro-ivory);
}

.home-office-band .home-lead {
  max-width: 760px;
  margin: 1rem auto 0;
  color: rgba(244, 234, 219, .74);
}

.home-office-body {
  padding: 5rem 0 5.35rem;
}

.home-office-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-value-card {
  min-height: 232px;
  padding: 2.05rem 1.9rem 1.92rem;
  background: var(--retiro-surface);
  border: 1px solid var(--retiro-border);
  border-top: 2px solid rgba(199, 140, 49, .48);
  box-shadow: 0 14px 30px rgba(7, 17, 31, .065);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 140, 49, .48);
  box-shadow: 0 16px 32px rgba(7, 17, 31, .08);
}

.home-value-icon,
.home-moment-icon,
.home-service-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--retiro-accent);
}

.home-value-icon svg,
.home-moment-icon svg,
.home-service-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-value-card h3 {
  margin: 1.22rem 0 .72rem;
  color: var(--retiro-ink);
  font-family: var(--retiro-serif);
  font-size: 1.58rem;
  font-weight: 600;
  line-height: 1.08;
}

.home-value-card p {
  margin: 0;
  color: var(--retiro-muted);
  font-family: var(--retiro-sans);
  font-size: .87rem;
  line-height: 1.72;
  text-align: left;
  text-wrap: pretty;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.home-office-address {
  margin: 2rem auto 0;
  max-width: 780px;
  padding: 1.1rem 1.35rem;
  text-align: center;
  border-top: 1px solid var(--retiro-border);
  color: var(--retiro-muted);
  font-family: var(--retiro-serif);
  font-size: 1rem;
}

.home-office-address strong {
  color: var(--retiro-ink);
  font-weight: 600;
}

/* 3. Momentos que requieren certeza */
.home-moments {
  padding: 6rem 0 6.15rem;
  background: var(--retiro-page-bg);
}

.home-section-head {
  max-width: 780px;
  margin: 0 0 2.65rem;
}

.home-moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-moment-card {
  min-height: 224px;
  padding: 1.9rem 1.75rem 1.75rem;
  background: var(--retiro-surface);
  border: 1px solid var(--retiro-border);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-moment-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 140, 49, .48);
  box-shadow: 0 16px 32px rgba(7, 17, 31, .08);
}

.home-moment-kicker {
  display: inline-block;
  margin: .9rem 0 .46rem;
  color: var(--retiro-accent-deep);
  font-family: var(--retiro-sans);
  font-size: .61rem;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-moment-card h3 {
  margin: 0 0 .55rem;
  color: var(--retiro-ink);
  font-family: var(--retiro-serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.08;
}

.home-moment-card p {
  margin: 0;
  color: var(--retiro-muted);
  font-family: var(--retiro-sans);
  font-size: .84rem;
  line-height: 1.66;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* 4. Frase institucional */
.home-quote-band {
  padding: 4.35rem 0;
  background: #0b1422;
  color: var(--retiro-ivory);
  text-align: center;
  border-top: 1px solid rgba(199, 140, 49, .26);
  border-bottom: 1px solid rgba(199, 140, 49, .26);
}

.home-quote {
  max-width: 900px;
  margin: 0 auto;
  color: var(--retiro-ivory);
  font-family: var(--retiro-serif);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
}

.home-quote span {
  color: #e1a34a;
  font-style: italic;
}

.home-quote-note {
  margin: .9rem 0 0;
  color: rgba(244, 234, 219, .58);
  font-family: var(--retiro-sans);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* 5. Servicios notariales */
.home-services {
  padding: 6rem 0 6.15rem;
  background: var(--retiro-paper);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-service-card {
  min-height: 198px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.12rem;
  padding: 1.7rem 1.6rem;
  background: var(--retiro-surface);
  border: 1px solid var(--retiro-border);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 140, 49, .48);
  box-shadow: 0 16px 32px rgba(7, 17, 31, .08);
}

.home-service-card h3 {
  margin: 0 0 .48rem;
  color: var(--retiro-ink);
  font-family: var(--retiro-serif);
  font-size: 1.34rem;
  font-weight: 620;
  line-height: 1.1;
}

.home-service-card p {
  margin: 0;
  color: var(--retiro-muted);
  font-family: var(--retiro-sans);
  font-size: .83rem;
  line-height: 1.66;
  text-align: left;
  text-wrap: pretty;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* 6. Preparar la atención */
.home-info-band {
  padding: 4.9rem 0;
  background: var(--retiro-dark);
  color: #fff;
  text-align: center;
}

.home-info-band-inner {
  max-width: 900px;
  margin: 0 auto;
}

.home-info-band .home-eyebrow {
  color: var(--retiro-accent);
}

.home-info-band h2 {
  margin: .1rem 0 .9rem;
  color: var(--retiro-ivory);
  font-family: var(--retiro-serif);
  font-size: clamp(2.3rem, 4.25vw, 3.85rem);
  font-weight: 540;
  line-height: 1.02;
}

.home-info-band p:not(.home-eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(244, 234, 219, .70);
  font-family: var(--retiro-sans);
  font-size: .92rem;
  line-height: 1.72;
}

.home-cta-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.75rem;
  padding: .98rem 1.48rem;
  color: var(--retiro-ivory) !important;
  font-family: var(--retiro-sans);
  font-size: .75rem;
  font-weight: 760;
  letter-spacing: .075em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid rgba(199, 140, 49, .60);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.home-cta-link:hover {
  background: rgba(199, 140, 49, .10);
  border-color: var(--retiro-accent);
  transform: translateY(-2px);
}

.home-cta-link span {
  transition: transform .18s ease;
}

.home-cta-link:hover span {
  transform: translateX(3px);
}

/* 7. Horarios */
.home-hours {
  padding: 5.8rem 0 6.05rem;
  background: var(--retiro-page-bg);
}

.home-hours-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 5rem;
  align-items: center;
}

.home-hours-intro .home-lead {
  max-width: 430px;
}

.home-hours-card {
  position: relative;
  padding: 2.95rem 3rem 2.55rem;
  background: #0b111d;
  border: 1px solid rgba(199, 140, 49, .58);
  color: var(--retiro-ivory);
  box-shadow: 0 20px 44px rgba(7, 17, 31, .17);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-hours-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 140, 49, .78);
  box-shadow: 0 24px 50px rgba(7, 17, 31, .22);
}

.home-hours-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .88rem;
  margin: 0;
  padding: 0 0 1.72rem;
  text-align: center;
  border-bottom: 1px solid rgba(244, 234, 219, .14);
}

.home-hours-title-row svg {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  fill: none;
  stroke: var(--retiro-accent);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hours-title-row h3 {
  margin: 0;
  color: var(--retiro-ivory);
  font-family: var(--retiro-serif);
  font-size: 2.12rem;
  font-weight: 540;
  line-height: 1.1;
}

.home-hours-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1.72rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(244, 234, 219, .14);
}

.home-hours-label {
  color: var(--retiro-accent);
  font-family: var(--retiro-sans);
  font-size: .74rem;
  font-weight: 780;
  letter-spacing: .10em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-hours-value {
  color: rgba(244, 234, 219, .90);
  font-family: var(--retiro-serif);
  font-size: 1.17rem;
  line-height: 1.62;
  text-align: center;
}

.home-hours-value strong {
  color: #fff;
  font-weight: 600;
}

.home-hours-note {
  max-width: 640px;
  margin: 1.42rem auto 0;
  color: rgba(244, 234, 219, .64);
  font-family: var(--retiro-sans);
  font-size: .76rem;
  line-height: 1.58;
  text-align: center;
}

.home-hours-note-line {
  display: block;
}

/* Entradas suaves exclusivamente en Home. */
.home-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media(prefers-reduced-motion:reduce) {

  .hero-intro-item,
  .home-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .hero-ornament-line {
    transform: scaleX(1) !important;
  }

  .hero-quick-link,
  .hero-icon,
  .home-value-card,
  .home-moment-card,
  .home-service-card,
  .home-hours-card,
  .home-cta-link {
    transition: none !important;
  }
}

@media(max-width:1199.98px) {
  .hero-media {
    background-image: url('../../../images/retiro/hero-retiro-escultura-desktop.webp');
    background-position: 58% center;
  }

  .hero-shell {
    width: min(700px, 76vw);
    margin-left: -1.25rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-title {
    font-size: clamp(4rem, 6.45vw, 5.85rem);
  }

  .hero-quick-nav {
    width: 698px;
    grid-template-columns: repeat(6, 108px);
    grid-auto-rows: 108px;
    column-gap: 10px;
    row-gap: 10px;
  }

  .home-notary-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .92fr);
    gap: 3.6rem;
  }

  .home-notary-portrait-placeholder {
    min-height: 560px;
  }

  .home-hours-grid {
    gap: 3.5rem;
  }
}

@media(max-width:991.98px) {
  .hero-media {
    background-image: url('../../../images/retiro/hero-retiro-escultura-desktop.webp');
    background-position: 62% center;
  }

  .hero-media::after {
    background: rgba(7, 15, 22, .16);
  }

  .retiro-hero {
    min-height: auto;
    padding: 5.35rem 0 4rem;
  }

  .hero-container {
    width: min(92vw, 920px);
    padding-top: 1.1rem;
    padding-bottom: 1rem;
  }

  .hero-shell {
    width: min(620px, 90vw);
    margin-left: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-title {
    font-size: clamp(3.65rem, 8.35vw, 5.4rem);
  }

  .hero-ornament-main {
    width: min(392px, 64%);
  }

  .hero-quick-nav {
    width: 500px;
    max-width: 100%;
    grid-template-columns: repeat(3, 160px);
    grid-auto-rows: 104px;
    column-gap: 10px;
    row-gap: 10px;
    margin-top: 2.75rem;
  }

  .hero-quick-label {
    font-size: .60rem;
  }

  .home-notary,
  .home-moments,
  .home-services,
  .home-hours {
    padding: 4.8rem 0;
  }

  .home-notary-grid,
  .home-hours-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .home-notary-content,
  .home-hours-intro {
    max-width: 720px;
  }

  .home-notary-portrait {
    max-width: 520px;
    margin: 0 auto;
  }

  .home-notary-portrait-placeholder {
    min-height: 620px;
  }

  .home-notary-portrait figcaption {
    margin-top: .75rem;
    font-size: .68rem;
    letter-spacing: .06em;
    line-height: 1.28;
  }

  .home-notary-history {
    margin-top: 3.7rem;
    padding: 2.8rem 2.4rem 2.7rem;
  }

  .home-office-values,
  .home-moments-grid,
  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* En tablet y móvil, los textos descriptivos de las cajas
     conservan una lectura editorial homogénea. */
  .home-value-card p,
  .home-moment-card p,
  .home-service-card p {
    text-align: justify;
    text-align-last: left;
    text-wrap: wrap;
  }

  /* Jerarquía editorial responsive: etiquetas y encabezados centrados;
     párrafos explicativos justificados. */
  .home-notary-content,
  .home-notary-history-head,
  .home-section-head,
  .home-hours-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .home-notary-content .home-eyebrow,
  .home-notary-content .home-heading,
  .home-notary-role,
  .home-notary-signature,
  .home-notary-history-head .home-eyebrow,
  .home-notary-history-head h3,
  .home-section-head .home-eyebrow,
  .home-section-head .home-heading,
  .home-hours-intro .home-eyebrow,
  .home-hours-intro .home-heading {
    text-align: center;
  }

  .home-notary-role::after {
    margin-left: auto;
    margin-right: auto;
  }

  .home-notary-content .home-lead,
  .home-notary-copy p,
  .home-notary-history-grid p,
  .home-section-head .home-lead,
  .home-hours-intro .home-lead {
    text-align: justify;
    text-align-last: left;
  }

  .home-notary-content .home-lead,
  .home-notary-copy,
  .home-section-head .home-lead,
  .home-hours-intro .home-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media(max-width:767.98px) {
  .hero-media {
    background-image: url('../../../images/retiro/hero-retiro-escultura-desktop.webp');
    background-position: 70% center;
  }

  .hero-container {
    width: min(92vw, 680px);
    padding-top: 1rem;
  }

  .hero-shell,
  .hero-copy {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .hero-welcome {
    font-size: .68rem;
    letter-spacing: .25em;
  }

  .hero-ornament-welcome {
    width: auto;
    margin-top: .76rem;
    margin-bottom: 1.38rem;
  }

  .hero-title {
    font-size: clamp(3rem, 12vw, 4.75rem);
  }

  .hero-ornament-main {
    width: min(346px, 72%);
    margin: 1.42rem auto 1.28rem;
  }

  .hero-notary-name {
    font-size: 1.08rem;
  }

  .hero-tagline {
    max-width: 480px;
    font-size: .97rem;
  }

  .hero-quick-nav {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 94px;
    column-gap: 10px;
    row-gap: 10px;
    margin-top: 2.5rem;
  }

  .hero-quick-link {
    min-height: 0;
    padding: .78rem .62rem;
  }

  .hero-quick-label {
    max-width: 150px;
    font-size: .61rem;
  }

  .home-notary-grid,
  .home-hours-grid {
    gap: 2.2rem;
  }

  .home-notary-portrait {
    max-width: 460px;
  }

  .home-notary-portrait-placeholder {
    min-height: 540px;
  }

  .home-notary-history-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .home-hours-card {
    padding: 2.2rem 1.7rem 2rem;
  }

  .home-hours-title-row h3 {
    font-size: 1.8rem;
  }

  .home-office-band {
    padding: 4rem 0;
  }

  .home-office-body {
    padding: 3.8rem 0 4.2rem;
  }

  .home-office-values,
  .home-moments-grid,
  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-value-card,
  .home-moment-card {
    min-height: 0;
  }

  .home-service-card {
    min-height: 0;
  }

  .home-quote-band {
    padding: 3.7rem 0;
  }

  .home-info-band {
    padding: 3.8rem 0;
  }

  .home-hours-card {
    padding: 1.9rem 1.35rem 1.75rem;
  }

  .home-hours-row {
    gap: .5rem;
    padding: 1.25rem 0;
  }

  .home-hours-note {
    max-width: 470px;
  }
}

@media(max-width:575.98px) {
  .hero-media {
    background-image: url('../../../images/retiro/hero-retiro-escultura-desktop.webp');
    background-position: 74% center;
  }

  .hero-media::after {
    background: rgba(7, 15, 22, .20);
  }

  .retiro-hero {
    padding: 4.5rem 0 3.15rem;
  }

  .hero-container {
    width: 90vw;
  }

  .hero-title {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-title-line:last-child {
    font-size: .89em;
  }

  .hero-ornament-main {
    width: min(306px, 76%);
  }

  .hero-tagline {
    max-width: 390px;
  }

  .home-notary,
  .home-moments,
  .home-services,
  .home-hours {
    padding: 4rem 0;
  }

  .home-heading {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }

  .home-lead {
    font-size: 1rem;
  }

  .home-notary-content {
    padding-top: 0;
  }

  .home-notary-copy {
    margin-top: 0;
  }

  .home-notary-portrait {
    max-width: 390px;
  }

  .home-notary-portrait-placeholder {
    min-height: 460px;
  }

  .home-notary-portrait figcaption {
    font-size: .64rem;
    letter-spacing: .055em;
    line-height: 1.25;
  }

  .home-notary-history {
    margin-top: 3rem;
    padding: 2.35rem 1.35rem 2.3rem;
  }

  .home-notary-history-head h3 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .home-notary-history-grid p {
    text-align: justify;
    text-align-last: left;
    text-wrap: wrap;
  }

  .home-hours-title-row {
    gap: .65rem;
    padding-bottom: 1.3rem;
  }

  .home-hours-title-row h3 {
    font-size: 1.6rem;
  }

  .home-hours-value {
    font-size: 1rem;
  }

  .home-hours-note-line {
    display: inline;
  }

  .home-hours-note-line + .home-hours-note-line::before {
    content: " ";
  }

  .home-office-band {
    padding: 3.4rem 0;
  }

  .home-office-body {
    padding: 3.3rem 0 3.7rem;
  }

  .home-section-head {
    margin-bottom: 1.8rem;
  }

  /* Estos textos son breves en escritorio, pero pueden ocupar
     varias líneas en móvil; se evita el line-height:1 global. */
  .home-office-address {
    line-height: 1.55;
  }

  .home-quote-note {
    line-height: 1.45;
  }
}

@media(max-width:419.98px) {
  .home-notary-portrait {
    max-width: 330px;
  }

  .home-notary-portrait-placeholder {
    min-height: 400px;
  }

  .hero-media {
    background-image: url('../../../images/retiro/hero-retiro-escultura-desktop.webp');
    background-position: 76% center;
  }

  .hero-welcome {
    font-size: .62rem;
    letter-spacing: .21em;
  }

  .hero-ornament-welcome {
    width: auto;
  }

  .hero-notary-name {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: .91rem;
  }

  .hero-quick-nav {
    grid-auto-rows: 90px;
  }

  .hero-icon,
  .hero-icon svg {
    width: 23px;
    height: 23px;
  }

  .hero-quick-label {
    font-size: .59rem;
  }
}

/* =========================================================
   FOOTER HOME · EQUILIBRIO FINAL
   Ajuste exclusivo del Home; no modifica el footer global.
========================================================= */
.retiro-footer.retiro-footer-home .retiro-footer-label {
  margin-bottom: .66rem !important;
}

.retiro-footer.retiro-footer-home .retiro-footer-value {
  line-height: 1.8 !important;
}

.retiro-footer.retiro-footer-home .retiro-footer-contact {
  gap: .8rem;
}

.retiro-footer.retiro-footer-home .retiro-footer-fiscal-contact {
  margin-top: .58rem;
}

.retiro-footer.retiro-footer-home .retiro-footer-links a {
  line-height: 1.4;
}

@media (min-width: 992px) {
  /* Columna institucional: más respiración sin aumentar de forma brusca el footer. */
  .retiro-footer.retiro-footer-home .retiro-footer-grid > .retiro-footer-column:first-child .retiro-footer-block + .retiro-footer-block {
    margin-top: 1.92rem;
  }

  /* Columna Notario / Enlaces: se alarga visualmente para equilibrarse con Fiscal Judicial. */
  .retiro-footer.retiro-footer-home .retiro-footer-grid > .retiro-footer-column:nth-child(2) .retiro-footer-block + .retiro-footer-block {
    margin-top: 2.70rem;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-grid > .retiro-footer-column:nth-child(2) .retiro-footer-links {
    gap: .96rem;
  }
}

@media (max-width: 991.98px) {
  /* En tablet se conserva el aire, pero sin estirar en exceso las dos columnas. */
  .retiro-footer.retiro-footer-home .retiro-footer-label {
    margin-bottom: .6rem !important;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-value {
    line-height: 1.74 !important;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-contact {
    gap: .74rem;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-fiscal-contact {
    margin-top: .5rem;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-grid > .retiro-footer-column .retiro-footer-block + .retiro-footer-block {
    margin-top: 1.90rem;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-links {
    gap: .70rem;
  }
}

@media (max-width: 575.98px) {
  /* En móvil prima la compacidad y la lectura centrada. */
  .retiro-footer.retiro-footer-home .retiro-footer-grid {
    gap: 2.3rem;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-grid > .retiro-footer-column .retiro-footer-block + .retiro-footer-block {
    margin-top: 1.68rem;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-value {
    line-height: 1.68 !important;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-contact {
    gap: .68rem;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-fiscal-contact {
    margin-top: .44rem;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-links {
    gap: .56rem;
  }
}

/* =========================================================
   FOOTER HOME · MAPA EQUILIBRADO
   Ajuste exclusivo del Home; mantiene intacto el footer global.
========================================================= */
@media (min-width: 1200px) {
  .retiro-footer.retiro-footer-home .retiro-footer-map {
    height: 452px;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-map iframe {
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .retiro-footer.retiro-footer-home .retiro-footer-map {
    height: 422px;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-map iframe {
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .retiro-footer.retiro-footer-home .retiro-footer-map {
    height: 350px;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-map iframe {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 767.98px) {
  .retiro-footer.retiro-footer-home .retiro-footer-map {
    height: 310px;
  }

  .retiro-footer.retiro-footer-home .retiro-footer-map iframe {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 575.98px) {
  .retiro-footer.retiro-footer-home .retiro-footer-map {
    height: 285px;
  }
}
