/* El Monaguillo — sistema visual compartido */
:root {
  --red: #e63946;
  --red-dark: #b82531;
  --cream: #f1faee;
  --aqua: #a8dadc;
  --blue: #457b9d;
  --navy: #1d3557;
  --ink: #162238;
  --white: #fff;
  --muted: #5c6574;
  --line: #d9e4e5;
  --surface: #f8fbf7;
  --shadow: 0 20px 55px rgb(29 53 87 / 12%);
  --shadow-sm: 0 8px 24px rgb(29 53 87 / 10%);
  --radius: 1.25rem;
  --radius-sm: .8rem;
  --container: 74rem;
  --focus: 3px solid #0b73ba;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: .1em; text-underline-offset: .2em; }
a:hover { color: var(--red-dark); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
::selection { color: var(--navy); background: var(--aqua); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .5rem;
  left: .5rem;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: .5rem;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 48rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: 3.2rem; }
.section--cream { background: var(--cream); }
.section--aqua { background: #e9f7f7; }
.section--navy { color: var(--white); background: var(--navy); }
.section--navy a:not(.button) { color: var(--aqua); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .75rem;
  color: var(--red-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { width: 1.8rem; height: 3px; content: ""; background: currentColor; }
.section--navy .eyebrow { color: var(--aqua); }
h1, h2, h3 {
  margin: 0 0 .75em;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.7vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p { margin-block: 0 1rem; }
.lead { max-width: 43rem; color: #344156; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.section--navy .lead { color: #dce9f0; }
.section-heading { max-width: 47rem; margin-bottom: 2.3rem; }
.section-heading p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.kicker { font-weight: 700; color: var(--navy); }

.topbar { color: var(--white); background: var(--navy); font-size: .86rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; }
.topbar p { margin: 0; }
.topbar a { color: var(--white); font-weight: 700; }
.topbar__right { display: flex; gap: 1rem; }
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(29 53 87 / 10%);
  backdrop-filter: blur(14px);
}
.site-header__inner { display: flex; min-height: 5.4rem; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 13.5rem; height: auto; }
.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 1.3rem;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform .2s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -.42rem; }
.menu-toggle span::after { position: absolute; top: .42rem; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a { padding: .7rem .78rem; border-radius: .55rem; font-size: .93rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red-dark); background: #fff1f2; }
.site-nav .nav-cta { margin-left: .25rem; color: var(--white); background: var(--red-dark); }
.site-nav .nav-cta:hover { color: var(--white); background: var(--navy); }

.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero__inner > *, .page-hero__inner > *, .split > *, .local-panel > *, .grid > * { min-width: 0; }
.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .75rem 1.2rem;
  color: var(--white);
  background: var(--red-dark);
  border: 2px solid var(--red-dark);
  border-radius: .75rem;
  box-shadow: 0 9px 20px rgb(230 57 70 / 18%);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { color: var(--white); background: var(--navy); border-color: var(--navy); box-shadow: 0 12px 28px rgb(29 53 87 / 22%); transform: translateY(-2px); }
.button--outline { color: var(--navy); background: transparent; border-color: var(--navy); box-shadow: none; }
.button--outline:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.button--light { color: var(--navy); background: var(--white); border-color: var(--white); box-shadow: none; }
.button--light:hover { color: var(--navy); background: var(--aqua); border-color: var(--aqua); }
.button--small { min-height: 2.7rem; padding: .6rem .9rem; font-size: .9rem; }

.hero { position: relative; overflow: clip; background: linear-gradient(135deg, var(--cream), #fff 58%, #e8f6f6); }
.hero::before, .hero::after { position: absolute; border-radius: 50%; content: ""; pointer-events: none; }
.hero::before { top: -10rem; right: -6rem; width: 28rem; height: 28rem; background: rgb(168 218 220 / 45%); }
.hero::after { bottom: -16rem; left: 35%; width: 24rem; height: 24rem; background: rgb(230 57 70 / 8%); }
.hero__inner { position: relative; z-index: 1; display: grid; min-height: 43rem; align-items: center; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 6vw, 5rem); padding-block: 4.5rem; }
.hero h1 span { color: var(--red); }
.hero__visual { position: relative; min-height: 34rem; }
.hero__mascot { position: absolute; z-index: 2; right: 2%; bottom: -2.2rem; width: min(90%, 31rem); filter: drop-shadow(0 24px 22px rgb(29 53 87 / 16%)); }
.hero__stamp {
  position: absolute;
  z-index: 3;
  top: 1.5rem;
  right: 0;
  width: 9rem;
  height: 9rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--white);
  background: var(--navy);
  border: .45rem solid var(--aqua);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  transform: rotate(7deg);
}
.hero__note { display: flex; gap: 1.25rem; margin-top: 2rem; color: var(--muted); font-size: .9rem; }
.hero__note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__note span::before { color: var(--red); content: "✓"; font-weight: 900; }

.trust-strip { color: var(--white); background: var(--navy); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.4rem 1rem; border-right: 1px solid rgb(255 255 255 / 15%); text-align: center; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--aqua); font-family: Georgia, serif; font-size: 1.25rem; }
.trust-item span { font-size: .84rem; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .55rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon { display: grid; width: 3rem; height: 3rem; margin-bottom: 1rem; place-items: center; color: var(--navy); background: var(--aqua); border-radius: .8rem; font-size: 1.4rem; }
.card__link { display: inline-flex; margin-top: .7rem; align-items: center; gap: .4rem; color: var(--red-dark); font-weight: 800; }
.card__link::after { content: "→"; }
.card--feature { overflow: hidden; color: var(--white); background: var(--navy); border: 0; }
.card--feature h3, .card--feature .card__link { color: var(--white); }
.card--feature::after { position: absolute; right: -3rem; bottom: -3rem; width: 9rem; height: 9rem; content: ""; background: rgb(168 218 220 / 15%); border-radius: 50%; }

.split { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media--cutout img { max-height: 36rem; object-fit: contain; filter: drop-shadow(0 22px 20px rgb(29 53 87 / 13%)); box-shadow: none; }
.check-list { display: grid; gap: .75rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { position: absolute; left: 0; color: var(--red); content: "✓"; font-weight: 900; }
.steps { display: grid; margin: 2rem 0 0; padding: 0; counter-reset: step; gap: 1rem; list-style: none; }
.steps li { position: relative; min-height: 3.5rem; padding-left: 4.3rem; }
.steps li::before { position: absolute; left: 0; display: grid; width: 3.1rem; height: 3.1rem; place-items: center; color: var(--white); background: var(--red-dark); border-radius: 50%; content: counter(step); counter-increment: step; font-weight: 900; }

.local-panel { overflow: hidden; display: grid; color: var(--white); background: var(--navy); border-radius: 1.6rem; box-shadow: var(--shadow); grid-template-columns: 1.1fr .9fr; }
.local-panel h2 { color: var(--white); }
.local-panel__content { padding: clamp(2rem, 5vw, 4rem); }
.local-panel__visual { min-height: 28rem; }
.local-panel__visual img { width: 100%; height: 100%; object-fit: cover; }
.contact-list { display: grid; gap: .8rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.contact-list a { color: var(--white); font-weight: 750; }

.notice { padding: 1.1rem 1.25rem; background: #eef7fb; border-left: 4px solid var(--blue); border-radius: .4rem .8rem .8rem .4rem; }
.notice--responsible { background: #fff8e9; border-color: #ce7a00; }
.notice p:last-child { margin-bottom: 0; }
.pill { display: inline-flex; padding: .35rem .7rem; color: var(--navy); background: var(--aqua); border-radius: 99rem; font-size: .8rem; font-weight: 850; }

.official-badge { display: inline-flex; max-width: 100%; align-items: center; gap: .65rem; padding: .65rem .9rem; color: var(--navy); background: var(--white); border: 1px solid var(--aqua); border-radius: .75rem; box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 850; overflow-wrap: anywhere; }
.official-badge::before { display: grid; width: 1.7rem; height: 1.7rem; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; content: "✓"; }

.travel-banner { position: relative; min-height: clamp(29rem, 56vw, 43rem); overflow: hidden; display: flex; align-items: flex-end; color: var(--white); background: var(--navy); }
.travel-banner__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.travel-banner::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgb(10 20 35 / 84%) 0%, rgb(10 20 35 / 43%) 55%, rgb(10 20 35 / 20%) 100%); }
.travel-banner__content { position: relative; z-index: 1; max-width: 42rem; padding-block: clamp(3rem, 8vw, 6rem); }
.travel-banner h2 { color: var(--white); }
.travel-banner .lead { color: #f2f7fa; }
.travel-banner__packs { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1.25rem; }
.travel-banner__packs strong { padding: .55rem .75rem; color: var(--navy); background: rgb(255 255 255 / 90%); border-radius: .55rem; font-size: .86rem; }
.travel-banner__caption { margin-top: 1rem; color: #dce9f0; font-size: .78rem; }

.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pack-card { position: relative; display: flex; overflow: hidden; flex-direction: column; align-items: flex-start; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pack-card::before { display: block; width: 3rem; height: .35rem; margin-bottom: 1.25rem; content: ""; background: var(--red); border-radius: 99rem; }
.pack-card__number { display: block; margin-bottom: .2rem; color: var(--blue); font-family: Georgia, serif; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.pack-card__price { display: grid; gap: .2rem; margin-top: auto; padding-top: 1rem; }
.pack-card__price strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.75rem; }
.pack-card__price span { color: var(--muted); font-size: .88rem; }
.button--small { padding: .65rem .85rem; font-size: .85rem; }

.hours-card { margin-block: 1.25rem; padding: 1.25rem; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: .8rem; }
.hours-card h3 { margin-bottom: .8rem; color: inherit; }
.hours-list { display: grid; gap: .5rem; margin: 0; }
.hours-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.hours-list dt { font-weight: 800; }
.hours-list dd { margin: 0; text-align: right; }
.local-panel .hours-card { color: var(--navy); }

.photo-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.photo-gallery figure { position: relative; overflow: hidden; min-height: 17rem; margin: 0; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.photo-gallery figure:nth-child(1), .photo-gallery figure:nth-child(4) { grid-column: span 7; }
.photo-gallery figure:nth-child(2), .photo-gallery figure:nth-child(3) { grid-column: span 5; }
.photo-gallery figure:nth-child(5) { grid-column: span 12; min-height: 22rem; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; }
.photo-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 2.8rem 1rem .8rem; color: var(--white); background: linear-gradient(transparent, rgb(10 20 35 / 78%)); font-size: .86rem; }

.responsible-graphic { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.responsible-graphic img { width: min(100%, 52rem); margin-inline: auto; }

.map-shell { overflow: hidden; display: grid; min-height: 28rem; place-items: center; background: linear-gradient(135deg, #e8f4f5, var(--cream)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.map-shell__consent { max-width: 34rem; padding: 2rem; text-align: center; }
.map-shell__consent h3 { margin-bottom: .5rem; }
.map-shell iframe { width: 100%; height: 32rem; border: 0; }
.map-shell[data-loaded="true"] .map-shell__consent { display: none; }

.faq-list { display: grid; gap: .75rem; }
details { background: var(--white); border: 1px solid var(--line); border-radius: .9rem; box-shadow: 0 4px 16px rgb(29 53 87 / 5%); }
summary { position: relative; padding: 1.1rem 3.3rem 1.1rem 1.25rem; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 50%; right: 1.25rem; content: "+"; font-size: 1.5rem; transform: translateY(-50%); }
details[open] summary::after { content: "−"; }
.details__body { padding: 0 1.25rem 1.2rem; }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 7rem); background: var(--cream); }
.page-hero::after { position: absolute; right: -10rem; bottom: -16rem; width: 30rem; height: 30rem; content: ""; background: var(--aqua); border-radius: 50%; opacity: .5; }
.page-hero__inner { position: relative; z-index: 1; display: grid; align-items: center; grid-template-columns: 1fr auto; gap: 2rem; }
.page-hero h1 { max-width: 55rem; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page-hero__mascot { width: 15rem; max-height: 16rem; object-fit: contain; }
.breadcrumb { margin-bottom: 1.5rem; font-size: .88rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { margin-left: .45rem; color: var(--muted); content: "/"; }
.breadcrumb [aria-current="page"] { color: var(--muted); }
.content { max-width: 50rem; }
.content h2 { margin-top: 1.6em; }
.content h3 { margin-top: 1.5em; }
.content ul, .content ol { padding-left: 1.25rem; }

.result-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.result-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.result-card h3 { margin: 0; font-family: inherit; font-size: 1.05rem; }
.source-link { font-size: .9rem; font-weight: 750; }
.placeholder-lines { display: grid; gap: .55rem; }
.placeholder-lines span { display: block; height: .65rem; background: #eaf0f1; border-radius: 99rem; }
.placeholder-lines span:nth-child(2) { width: 72%; }

.cta-band { color: var(--white); background: var(--red-dark); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { margin-bottom: .25rem; color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-band p { margin: 0; }

.site-footer { color: #dbe6ee; background: #12243d; }
.site-footer__main { display: grid; padding-block: 4rem 3rem; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 2.5rem; }
.site-footer h2, .site-footer h3 { color: var(--white); font-family: inherit; font-size: 1rem; }
.footer-brand img { width: 15rem; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-links { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #dbe6ee; text-decoration: none; }
.footer-links a:hover { color: var(--aqua); text-decoration: underline; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-links a { display: inline-flex; min-height: 2.7rem; align-items: center; padding: .55rem .75rem; color: var(--white); border: 1px solid rgb(255 255 255 / 22%); border-radius: .5rem; font-size: .82rem; font-weight: 750; text-decoration: none; }
.site-footer__bottom { padding-block: 1.2rem; border-top: 1px solid rgb(255 255 255 / 12%); font-size: .82rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; }
.site-footer__bottom p { margin: 0; }

.mobile-contact { display: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; padding: 0 !important; margin: -1px !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 64rem) {
  .js-enabled .menu-toggle { display: inline-flex; }
  .js-enabled .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    display: none;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    align-items: stretch;
    padding: .7rem 1rem 1.2rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    flex-direction: column;
  }
  .js-enabled .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: .85rem; }
  .site-nav .nav-cta { margin: .25rem 0 0; text-align: center; }
  body:not(.js-enabled) .site-header__inner { flex-wrap: wrap; }
  body:not(.js-enabled) .site-nav { width: 100%; overflow-x: auto; padding-bottom: .6rem; }
  .hero__inner { grid-template-columns: 1fr .8fr; }
  .hero__visual { min-height: 28rem; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 48rem) {
  body { padding-bottom: 4.2rem; }
  .topbar__right span:first-child { display: none; }
  .brand img { width: 11.5rem; }
  .site-header__inner { min-height: 4.7rem; }
  .hero__inner { min-height: auto; padding-block: 3.5rem 0; grid-template-columns: 1fr; }
  .hero__visual { min-height: 28rem; }
  .hero__mascot { right: 5%; left: 5%; margin: auto; }
  .hero__stamp { top: .5rem; right: 1rem; width: 7.5rem; height: 7.5rem; font-size: .72rem; }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / 15%); }
  .grid--2, .grid--3, .split, .local-panel, .pack-grid { grid-template-columns: 1fr; }
  .hours-list div { display: grid; gap: .15rem; }
  .hours-list dd { text-align: left; }
  .split--reverse .split__media { order: initial; }
  .local-panel__visual { min-height: 20rem; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__mascot { display: none; }
  .button-row .button { max-width: 100%; white-space: normal; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery figure, .photo-gallery figure:nth-child(1), .photo-gallery figure:nth-child(2), .photo-gallery figure:nth-child(3), .photo-gallery figure:nth-child(4), .photo-gallery figure:nth-child(5) { min-height: 15rem; grid-column: auto; }
  .mobile-contact {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    padding: .55rem;
    background: rgb(255 255 255 / 96%);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 25px rgb(29 53 87 / 12%);
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    backdrop-filter: blur(12px);
  }
  .mobile-contact .button { min-height: 3rem; padding: .55rem; font-size: .86rem; }
}

@media (max-width: 34rem) {
  .container, .narrow { width: min(100% - 1.25rem, var(--container)); }
  .topbar__inner { justify-content: center; }
  .topbar__inner > p { display: none; }
  .grid--4 { grid-template-columns: 1fr; }
  .hero__note { gap: .5rem; flex-direction: column; }
  .hero__visual { min-height: 25rem; }
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__bottom .container { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .topbar, .site-header, .mobile-contact, .cta-band, .site-footer, .button-row { display: none !important; }
  body { color: #000; padding: 0; }
  a { color: #000; text-decoration: none; }
  .section, .page-hero { padding-block: 2rem; }
}
