:root {
  --ivory: #f4efe6;
  --paper: #fbf7f1;
  --card: #fffcf8;
  --honey: #efe3cf;
  --cane: #e8d5b5;
  --ink: #2c1c14;
  --mahogany: #3c2418;
  --wood: #5c3d2e;
  --muted: #5c4538;
  --brass: #9a7844;
  --line: rgba(60, 36, 24, 0.14);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --shadow: 0 22px 44px rgba(42, 24, 16, 0.12);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 8.25rem;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--mahogany);
}

a:hover {
  color: var(--wood);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3, .footer-name, .success-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

::selection {
  background: #e4d0ae;
  color: var(--ink);
}

[data-en] {
  display: none;
}

html.lang-en [data-en] {
  display: inline;
}

html.lang-en [data-es] {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--mahogany);
  color: var(--ivory);
  text-decoration: none;
  padding: 0.65rem 0.9rem;
}

.skip:focus {
  transform: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(var(--mahogany), var(--mahogany)) top / 100% 6px no-repeat,
    linear-gradient(var(--brass), var(--brass)) top 6px left / 100% 1px no-repeat,
    rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.25rem 0.65rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}

.brand:hover {
  color: inherit;
}

.mark {
  flex: 0 0 auto;
  width: 21px;
  height: 24px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lang {
  justify-self: end;
  display: flex;
  border: 1px solid rgba(60, 36, 24, 0.28);
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--mahogany);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-width: 46px;
  min-height: 44px;
  padding: 0 0.65rem;
}

.lang a + a {
  border-left: 1px solid rgba(60, 36, 24, 0.28);
}

.lang a[aria-current="page"] {
  background: var(--mahogany);
  color: var(--ivory);
}

.lang a:hover {
  color: var(--mahogany);
}

.lang a[aria-current="page"]:hover {
  color: var(--ivory);
}

.lang a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.95rem;
  padding-bottom: 0.15rem;
}

.nav a {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--brass);
}

@media (min-width: 1040px) {
  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .brand {
    order: 1;
  }

  .nav {
    order: 2;
    grid-column: auto;
    flex-wrap: nowrap;
    margin-left: auto;
    padding-bottom: 0;
  }

  .lang {
    order: 3;
    margin-left: 0.75rem;
  }
}

.section {
  padding: 3.5rem 1.25rem;
  scroll-margin-top: 6.5rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  padding-top: 4.25rem;
  padding-bottom: 3.5rem;
}

#sobre {
  padding-top: 2.75rem;
}

.hero-grid {
  min-height: min(68vh, 560px);
  align-content: center;
}

.hero-grid > .hero-copy {
  max-width: 40rem;
}

.hero-grid,
.split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}


.hero-visual {
  display: block;
  margin: 0;
  pointer-events: none;
}

.hero-arch {
  display: block;
  width: auto;
  height: min(560px, 70vh);
  max-width: 100%;
  overflow: visible;
}

/* Mobile: faint arch+sun+rod spanning the name-to-contact block.
   .hero-copy is display:contents so the visual shares that grid row and
   scales to its height (works across phone widths; out of flow, no CLS). */
@media (max-width: 899.98px) {
  .hero {
    position: relative;
    overflow: hidden;
  }

  .hero-grid {
    position: relative;
    row-gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-grid > .eyebrow,
  .hero-grid > .hero-focal,
  .hero-grid > .meta-row {
    max-width: 40rem;
  }

  .eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-focal {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 1;
  }

  .meta-row {
    grid-column: 1;
    grid-row: 3;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    justify-self: stretch;
    position: relative;
    z-index: 0;
    width: auto;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    /* No in-flow size of its own; the row height comes from .hero-focal. */
  }

  .hero-arch {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -10%;
    height: 100%;
    width: auto;
    max-width: none;
    max-height: 100%;
    aspect-ratio: 632 / 770;
    opacity: 0.14;
  }
}

.hero-arch-shape {
  fill: #281609;
}

/* Switch to cream: add class "hero-arch--cream" on the svg. */
.hero-arch--cream .hero-arch-shape {
  fill: #e6dfd2;
  stroke: var(--mahogany);
  stroke-width: 2;
}

.hero-sun {
  fill: #d6b06f;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-sun-float 22s ease-in-out infinite alternate;
}

@keyframes hero-sun-float {
  from { transform: translate(0, 0); }
  to { transform: translate(3px, -5px); }
}

@media (min-width: 900px) {
  .hero-visual {
    display: flex;
    position: static;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    height: auto;
  }

  .hero-arch {
    opacity: 1;
  }
}
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8.4vw, 5.6rem);
  line-height: 1.02;
  color: var(--ink);
}

h1 .h1-name {
  display: block;
}

h1 .h1-role {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(1.28rem, 2.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--wood);
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0.48rem 0.9rem 0.48rem 0.75rem;
  border: 1px solid rgba(184, 146, 90, 0.6);
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

.rule {
  width: 3.25rem;
  height: 1px;
  margin: 1.15rem 0 1.1rem;
  border: 0;
  background: var(--brass);
}

.tagline {
  margin: 0;
  max-width: 25em;
  text-wrap: balance;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}

.support {
  margin: 0.9rem 0 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--mahogany);
  background: var(--mahogany);
  color: var(--ivory);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.btn:hover {
  background: #2a1810;
  border-color: #2a1810;
  color: var(--ivory);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-ghost {
  background: transparent;
  color: var(--mahogany);
}

.btn-ghost:hover {
  background: rgba(60, 36, 24, 0.06);
  color: var(--mahogany);
  border-color: var(--mahogany);
}

.btn-wide {
  width: 100%;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--wood);
  font-size: 0.95rem;
}

.meta-row li:not(:last-child)::after {
  content: "·";
  margin-left: 0.75rem;
  color: var(--brass);
}

@media (max-width: 560px) {
  .meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .meta-row li:not(:last-child)::after {
    content: none;
  }
}

.about-visual {
  position: relative;
  margin: 0;
}

.about-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 8%;
  top: 5%;
  bottom: 2.6rem;
  border-radius: 180px 180px 12px 12px;
  background-color: var(--cane);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 14c3.5-6 10.5-6 14 0s10.5 6 14 0' fill='none' stroke='%233c2418' stroke-opacity='0.2' stroke-width='0.7'/%3E%3Cpath d='M14 0c-6 3.5-6 10.5 0 14s6 10.5 0 14' fill='none' stroke='%233c2418' stroke-opacity='0.2' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}

.frame {
  position: relative;
  z-index: 1;
  background: var(--mahogany);
  padding: 10px;
  border-radius: 210px 210px 14px 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frame img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 200px 200px 6px 6px;
  box-shadow: inset 0 0 0 1px rgba(184, 146, 90, 0.9);
}

.frame-wait img {
  object-position: center 28%;
}

.frame-hall img {
  object-position: center 42%;
  height: 420px;
}

figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.9rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.prose {
  max-width: 65ch;
}

.prose p + p {
  margin-top: 1rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
}

.prose h2 {
  margin-bottom: 0.45rem;
}

.credential {
  margin: 0 0 0.85rem;
  color: var(--wood);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.hero-credential {
  margin: 0.65rem 0 0;
  color: var(--wood);
  font-size: 0.98rem;
}

.care-intro {
  max-width: 40em;
  margin-bottom: 1.4rem;
}

.care-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.care {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.2rem 1.15rem 1.3rem;
}

.care-index {
  display: block;
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.care h3 {
  margin: 0.55rem 0 0;
  font-size: 1.7rem;
  line-height: 1.15;
}

.langs {
  margin: 1.25rem 0 0;
  color: var(--wood);
  font-weight: 600;
}

.band {
  background: rgba(239, 227, 207, 0.62);
}

.rail {
  height: 13px;
  background:
    linear-gradient(var(--mahogany), var(--mahogany)) top / 100% 1px no-repeat,
    linear-gradient(var(--brass), var(--brass)) center / 100% 1px no-repeat,
    linear-gradient(var(--mahogany), var(--mahogany)) bottom / 100% 1px no-repeat;
}

.pillars {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.pillars li {
  background: rgba(255, 252, 248, 0.62);
  border: 1px solid rgba(60, 36, 24, 0.1);
  padding: 1.25rem 1.15rem 1.35rem;
}

.pillars h3 {
  margin: 0.7rem 0 0;
  font-size: 1.85rem;
  line-height: 1.15;
}

.approach-close {
  max-width: 46em;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.3;
}

.loc-grid {
  display: grid;
  gap: 2rem;
}

.hours {
  margin: 0 0 1.35rem;
}

.hours div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.hours dt {
  font-weight: 600;
}

.hours dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

address {
  font-style: normal;
  margin: 0 0 0.4rem;
  line-height: 1.55;
}

.plus,
.floor {
  margin: 0.2rem 0 0;
  color: var(--wood);
}

.loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.map-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42em;
}

.map-frame {
  position: relative;
  background: var(--cane);
  border: 1px solid var(--brass);
  padding: 0;
  box-shadow: var(--shadow);
  min-height: 350px;
  height: 100%;
  overflow: hidden;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.wa-line {
  margin: 0.85rem 0 0;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mahogany);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(60, 36, 24, 0.35);
  padding: 0.2rem 0 0.15rem;
}

.wa-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.wa-link:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

.footer .wa-link {
  color: #f6f1e7;
  border-bottom-color: rgba(246, 241, 231, 0.4);
}

.footer .wa-link:hover {
  color: #eadcc8;
  border-bottom-color: #c4a056;
}

.phone-line {
  margin: 0.85rem 0 0;
  font-weight: 600;
}

.phone-line a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.contact-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.emergency {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: #f7f1e6;
  border-left: 3px solid var(--brass);
  color: var(--ink);
  max-width: 40em;
}

.emergency p {
  margin: 0;
}

.emergency p + p {
  margin-top: 0.45rem;
}

.emergency strong {
  font-weight: 600;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  box-shadow: 0 18px 40px rgba(42, 24, 16, 0.06);
  padding: 1.25rem 1.1rem 1.4rem;
}

.fields {
  display: grid;
  gap: 0.95rem;
}

.field label,
.field-wide label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.req {
  color: var(--mahogany);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(60, 36, 24, 0.28);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mahogany);
  outline-offset: 3px;
}

.form-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  padding: 0.8rem 0.9rem;
  background: #f8ece6;
  border: 1px solid #e0c2b6;
  color: #6e2c22;
}

.form-success {
  padding: 0.4rem 0.1rem 0.2rem;
}

.success-title {
  margin: 0 0 0.3rem;
  font-size: 2rem;
}

.form-success .success-title + .success-title,
.form-success p + .success-title {
  margin-top: 1.1rem;
}

.footer {
  background-color: #2a1810;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(232, 214, 186, 0.09) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 62%, rgba(184, 146, 90, 0.16) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 40% 80%, rgba(255, 250, 242, 0.07) 0 1px, transparent 1.5px);
  background-size: 130px 110px, 170px 140px, 150px 130px;
  color: #f6f1e7;
  border-top: 4px solid var(--brass);
  padding: 2.8rem 1.25rem 1.6rem;
}

.footer a {
  color: #f6f1e7;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  color: #f6f1e7;
}

.footer p {
  margin: 0.25rem 0 0;
}

.footer .label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7d3b4;
}

.footer-emergency {
  max-width: var(--max);
  margin: 1.6rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 241, 231, 0.18);
  color: #eadcc8;
  font-size: 0.95rem;
}

.thanks-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4.25rem 1.25rem 5rem;
}

.thanks-main h1 {
  margin: 0.3rem 0 1rem;
  font-size: clamp(2.5rem, 6vw, 3.8rem);
}

.thanks-en {
  margin-top: -0.4rem;
  color: var(--wood);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.thanks-main .actions {
  margin-top: 1.5rem;
}


.proceso-lead {
  max-width: 40em;
  margin: 0 0 1.8rem;
}

.proceso-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
  counter-reset: none;
}

.proceso-steps li {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem 1.4rem;
}

.proceso-steps h3 {
  margin: 0.55rem 0 0.7rem;
  font-size: 1.7rem;
  line-height: 1.15;
}

.proceso-steps p {
  margin: 0;
  max-width: 38em;
  color: var(--muted);
}

@media (min-width: 900px) {
  .proceso-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }

  .proceso-steps h3 {
    font-size: 1.85rem;
  }
}


.faq-wrap {
  max-width: 48rem;
}

.faq-list {
  margin-top: 0.3rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0;
  padding: 1.15rem 2.4rem 1.15rem 0;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.4px solid var(--mahogany);
  border-bottom: 1.4px solid var(--mahogany);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item summary:hover {
  color: var(--wood);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.faq-answer {
  padding: 0 2.4rem 1.25rem 0;
}

.faq-answer p {
  margin: 0;
  max-width: 40em;
  color: var(--muted);
}

@media (min-width: 700px) {
  .care-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fields {
    grid-template-columns: 1fr 1fr;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .form-card {
    padding: 1.6rem 1.5rem 1.7rem;
  }

  .map-frame {
    min-height: 420px;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 4.75rem 1.5rem;
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  #sobre {
    padding-top: 3.75rem;
  }

  .hero-grid {
    min-height: min(72vh, 600px);
    grid-template-columns: minmax(0, 1.25fr) auto;
    gap: 3.5rem;
    align-items: center;
  }

  .split {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3.5rem;
  }

  .split-reverse {
    grid-template-columns: 0.86fr 1.14fr;
  }

  .split-reverse .about-visual {
    order: -1;
  }

  .frame img,
  .frame-hall img {
    height: 540px;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .loc-grid,
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1.1fr 0.8fr;
    gap: 2rem;
  }

  .btn-wide {
    width: auto;
    min-width: 12rem;
  }
}

@media (min-width: 1100px) {
  .care-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  html.js .reveal,
  html.js .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Scroll reveal: hidden only after <html> gets .js, so content stays
   visible without JavaScript. Transform does not affect layout (no CLS). */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease-out, transform 0.85s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.care-grid .reveal:nth-child(1),
.proceso-steps .reveal:nth-child(1),
.pillars .reveal:nth-child(1),
.faq-list .reveal:nth-child(1) { --reveal-delay: 0s; }

.care-grid .reveal:nth-child(2),
.proceso-steps .reveal:nth-child(2),
.pillars .reveal:nth-child(2),
.faq-list .reveal:nth-child(2) { --reveal-delay: 0.1s; }

.care-grid .reveal:nth-child(3),
.proceso-steps .reveal:nth-child(3),
.pillars .reveal:nth-child(3),
.faq-list .reveal:nth-child(3) { --reveal-delay: 0.2s; }

.care-grid .reveal:nth-child(4),
.faq-list .reveal:nth-child(4) { --reveal-delay: 0.3s; }

.care-grid .reveal:nth-child(5),
.faq-list .reveal:nth-child(5) { --reveal-delay: 0.4s; }

.faq-list .reveal:nth-child(6) { --reveal-delay: 0.5s; }


/* ---------- Ambient background: soft shapes that drift slowly ----------
   One layer behind <main> content. Shapes are pre-feathered once (static SVG
   blur) and animated with transform only, so nothing repaints while moving. */
main {
  position: relative;
  isolation: isolate;
}

.bg-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-shape {
  position: absolute;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.bg-shape svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.bg-defs {
  position: absolute;
  width: 0;
  height: 0;
}

/* Hero area: warm honey glow, no rings or hard circles */
.bg-1 { width: min(78vw, 980px); right: -16vw; top: -80px; opacity: 0.55; animation: bg-drift-a 14s ease-in-out infinite alternate; }
.bg-2 { width: min(40vw, 520px); right: 10vw; top: -20px; opacity: 0.05; animation: bg-drift-b 19s ease-in-out infinite alternate; }
.bg-3 { width: min(48vw, 620px); right: -2vw; top: 260px; opacity: 0.5; animation: bg-drift-c 16s ease-in-out infinite alternate; }
.bg-4 { width: min(62vw, 820px); right: -6vw; top: 40px; opacity: 0.45; animation: bg-drift-b 12s ease-in-out infinite alternate; }

/* Down the page */
.bg-5 { width: min(70vw, 900px); left: -24vw; top: 20%; animation: bg-drift-b 18s ease-in-out infinite alternate; }
.bg-6 { width: min(46vw, 600px); right: -10vw; top: 33%; animation: bg-drift-a 15s ease-in-out infinite alternate; }
.bg-7 { width: min(58vw, 760px); left: 48vw; top: 47%; animation: bg-drift-c 17s ease-in-out infinite alternate; }
.bg-8 { width: min(64vw, 840px); right: -22vw; top: 60%; animation: bg-drift-a 13s ease-in-out infinite alternate; }
.bg-9 { width: min(34vw, 440px); left: -8vw; top: 74%; opacity: 0.07; animation: bg-drift-c 20s ease-in-out infinite alternate; }
.bg-10 { width: min(52vw, 680px); left: 4vw; top: 86%; animation: bg-drift-b 16s ease-in-out infinite alternate; }

@keyframes bg-drift-a {
  from { transform: translate3d(-14vw, 9vh, 0) rotate(-11deg) scale(0.86, 1.06); }
  to   { transform: translate3d(13vw, -11vh, 0) rotate(10deg) scale(1.14, 0.9); }
}

@keyframes bg-drift-b {
  from { transform: translate3d(13vw, -8vh, 0) rotate(9deg) scale(1.1, 0.9); }
  to   { transform: translate3d(-15vw, 10vh, 0) rotate(-12deg) scale(0.88, 1.12); }
}

@keyframes bg-drift-c {
  from { transform: translate3d(-11vw, -12vh, 0) rotate(-7deg) scale(0.9); }
  to   { transform: translate3d(12vw, 10vh, 0) rotate(9deg) scale(1.15); }
}

@media (max-width: 899px) {
  .bg-1 { width: 120vw; right: -38vw; top: 80px; }
  .bg-2 { width: 70vw; right: -16vw; top: -10px; }
  .bg-3 { width: 90vw; right: -22vw; top: 520px; }
  .bg-4 { width: 110vw; right: -28vw; top: 220px; }
  .bg-5 { width: 120vw; left: -48vw; top: 17%; }
  .bg-6 { width: 85vw; right: -20vw; top: 31%; }
  .bg-7 { width: 100vw; left: 20vw; }
  .bg-8 { width: 120vw; right: -42vw; }
  .bg-9 { width: 64vw; left: -24vw; }
  .bg-10 { width: 100vw; left: -28vw; }
}

