:root {
  --white: #ffffff;
  --off-white: #fbf8f6;
  --ink: #2c2426;
  --muted: #6b5e62;
  --line: rgba(201, 162, 122, 0.28);
  --rose-gold: #C9A27A;
  --rose-gold-deep: #B76E79;
  --rose-gold-soft: #e8d4c0;
  --soft-red: #C45C6A;
  --soft-red-deep: #a84452;
  --peru-red: #c45c6a;
  --shadow: 0 18px 50px rgba(44, 36, 38, 0.08);
  --radius: 18px;
  --nav-h: 76px;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.wrap-narrow { width: min(760px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* NAV */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-text {
  font-family: var(--display);
  font-weight: 700; font-size: 1.15rem;
  color: var(--rose-gold-deep);
  letter-spacing: .01em;
  line-height: 1.15;
}
.brand-text small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); font-family: var(--font); letter-spacing: .04em; text-transform: uppercase; }

.nav-links {
  display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap;
}
.nav-links a {
  font-size: .92rem; font-weight: 550; color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--soft-red-deep); }

.nav-actions { display: flex; align-items: center; gap: .65rem; }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; background: var(--white);
}
.lang-toggle button {
  border: 0; background: transparent; padding: .4rem .7rem;
  cursor: pointer; color: var(--muted); font-weight: 650; font-size: .8rem;
}
.lang-toggle button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-deep));
  color: #fff;
}

.menu-btn {
  display: none; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; padding: .45rem .6rem; cursor: pointer;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.45rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(183,110,121,.45); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(135deg, var(--soft-red), var(--rose-gold-deep));
  color: #fff;
  box-shadow: 0 12px 28px rgba(196, 92, 106, 0.28);
}
.btn-gold {
  background: linear-gradient(135deg, #d4b08c, var(--rose-gold));
  color: #3a2a22;
  box-shadow: 0 12px 28px rgba(201, 162, 122, 0.32);
}
.btn-outline {
  background: transparent; color: var(--soft-red-deep);
  border: 1.5px solid var(--rose-gold);
}
.btn-lg { padding: 1rem 1.75rem; font-size: 1.02rem; }

/* HERO */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid; align-items: center;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(251,248,246,.88) 55%, #fff 100%),
    url("photos/hero-fondo-2026.jpg?v=30") center 60%/cover no-repeat;
}
@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(251,248,246,.88) 55%, #fff 100%),
      url("photos/hero-fondo-2026-1200.jpg?v=30") center 60%/cover no-repeat;
  }
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-gold-deep); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--soft-red); border-radius: 2px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.05; font-weight: 700; color: var(--ink);
  margin-bottom: 1.1rem; letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic; color: var(--soft-red-deep);
  background: linear-gradient(120deg, var(--soft-red), var(--rose-gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.85rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }
.hero-logo-card {
  background: #fff; border-radius: 28px; padding: 2rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.hero-logo-card img { width: min(100%, 360px); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: -2.5rem; position: relative; z-index: 2;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.25rem; box-shadow: var(--shadow); text-align: center;
}
.stat strong {
  display: block; font-family: var(--display); font-size: 2rem; color: var(--soft-red-deep);
  line-height: 1.1; margin-bottom: .35rem;
}
.stat span { color: var(--muted); font-size: .92rem; }

/* Sections */
section { padding: 5.5rem 0; }
.section-label {
  font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-gold-deep); margin-bottom: .75rem;
}
.section-title {
  font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15; margin-bottom: 1rem; font-weight: 700;
}
.section-lead { color: var(--muted); max-width: 40rem; margin-bottom: 2.5rem; font-size: 1.08rem; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.card {
  background: var(--off-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
}
.card h3 {
  font-family: var(--display); font-size: 1.55rem; margin-bottom: .65rem; color: var(--ink);
}
.card p { color: var(--muted); }
.card.accent {
  background: linear-gradient(160deg, #fff 0%, #f8eee8 100%);
  grid-column: 1 / -1;
}
.pill-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.pill {
  background: #fff; border: 1px solid var(--line); color: var(--rose-gold-deep);
  border-radius: 999px; padding: .35rem .8rem; font-size: .82rem; font-weight: 650;
}

/* Programs */
.programs { background: var(--off-white); }
.program-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.program {
  background: #fff; border-radius: 22px; padding: 1.75rem 1.5rem;
  border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(44,36,38,.04);
  display: flex; flex-direction: column; gap: .85rem; min-height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(201,162,122,.25), rgba(196,92,106,.18));
}
.program h3 { font-family: var(--display); font-size: 1.55rem; }
.program p { color: var(--muted); flex: 1; }
.program .linkish {
  color: var(--soft-red-deep); font-weight: 700; font-size: .92rem;
}

/* Story / Events */
.story-band {
  background:
    linear-gradient(120deg, rgba(44,36,38,.78), rgba(183,110,121,.55)),
    url("photos/hero-portada-2026.jpg?v=30") center 62%/cover no-repeat;
  color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
}
@media (max-width: 700px) {
  .story-band {
    background:
      linear-gradient(120deg, rgba(44,36,38,.78), rgba(183,110,121,.55)),
      url("photos/hero-portada-2026-1200.jpg?v=30") 50% 60%/cover no-repeat;
  }
}
.story-band h2 {
  font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: .85rem; line-height: 1.15;
}
.story-band p { opacity: .92; max-width: 40rem; margin-bottom: 1.4rem; }
.event-list { display: grid; gap: .85rem; margin-top: 2rem; }
.event-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px; padding: 1rem 1.15rem;
}
.event-date {
  background: #fff; color: var(--soft-red-deep); border-radius: 12px;
  padding: .55rem .7rem; text-align: center; min-width: 70px;
}
.event-date strong { display: block; font-size: 1.25rem; line-height: 1; }
.event-date span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; }

/* Support CTA */
.support {
  background: #fff;
}
.support-box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
  background: linear-gradient(145deg, #fffaf8, #f3e6dc);
  border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.75rem, 4vw, 3rem);
}
.support-box h2 { font-family: var(--display); font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: .75rem; }
.support-box p { color: var(--muted); margin-bottom: 1.4rem; }
.support-points { display: grid; gap: .7rem; }
.support-points li {
  display: flex; gap: .65rem; align-items: flex-start; color: var(--ink); font-weight: 550;
}
.support-points li::before {
  content: "♥"; color: var(--soft-red); flex-shrink: 0;
}

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.contact-card {
  background: var(--off-white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--line);
}
.contact-card h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: .75rem; }
.contact-card a { color: var(--soft-red-deep); font-weight: 650; }
.contact-card p, .contact-card li { color: var(--muted); margin-bottom: .45rem; }
.social-soon {
  display: inline-flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem;
}
.social-soon span {
  border: 1px dashed var(--line); border-radius: 999px; padding: .3rem .75rem;
  font-size: .82rem; color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; background: #fff;
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand img { height: 44px; }
.footer small { color: var(--muted); display: block; margin-top: .35rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--soft-red-deep); }

/* Mobile */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .program-grid, .support-box, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .hero { min-height: auto; padding-top: 3rem; }
  .menu-btn { display: inline-block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem 1.25rem; gap: .85rem;
  }
  .nav-links.open { display: flex; }
  .brand-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .program:hover { transform: none; }
}

/* Photo sizes v3 — small thumbs */
.hero-photo-card {
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--off-white);
  width: min(100%, 560px);
  max-width: 560px;
  margin-inline: auto;
}
.hero-photo-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1080 / 771;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  max-height: none;
  min-height: 0;
}
.gallery { padding: .75rem 0 2.5rem; }

/* Album cards */
.album-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  max-width: 720px;
  margin: 0.5rem auto 0;
}
.album-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(90, 40, 55, 0.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.album-card:hover,
.album-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(90, 40, 55, 0.14);
  border-color: #d4a574;
  outline: none;
}
.album-card-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f7e7dc, #f3d0c4);
}
.album-card-cover img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.album-card:hover .album-card-cover img { transform: scale(1.04); }
.album-card-meta {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .9rem 1rem 1.05rem;
}
.album-card-title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #5a2a3a;
  line-height: 1.3;
}
.album-card-count {
  font-size: .86rem;
  color: #8a6a72;
}
.album-view-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin: .35rem 0 1rem;
  max-width: 720px;
  margin-inline: auto;
}
.album-back {
  border: 1px solid var(--line);
  background: #fff;
  color: #5a2a3a;
  border-radius: 999px;
  padding: .45rem .95rem;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.album-back:hover,
.album-back:focus-visible {
  background: #faf0ea;
  border-color: #d4a574;
  outline: none;
}
.album-view-title {
  margin: 0;
  font-size: 1.15rem;
  color: #5a2a3a;
  font-weight: 600;
}
@media (max-width: 600px) {
  .album-cards { grid-template-columns: 1fr; max-width: 360px; }
}

.gallery-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 640px;
  margin-inline: auto;
}
.gallery-grid[hidden], .album-view[hidden], .album-cards[hidden] { display: none !important; }
.album-jump[hidden],
.album-section[hidden] {
  display: none !important;
}
.gallery-grid figure {
  margin: 0 !important;
  width: 72px !important;
  height: 96px !important;
  max-height: 96px !important;
  border-radius: 8px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--line);
  flex: 0 0 72px;
  aspect-ratio: auto !important;
}
.gallery-grid img {
  width: 72px !important;
  height: 96px !important;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .hero-photo-card { width: min(100%, 100%); max-width: 100%; }
  .hero-photo-card img { width: 100% !important; height: auto !important; }
  .gallery-grid figure, .gallery-grid img { width: 64px !important; height: 86px !important; }
  .gallery-grid figure { flex-basis: 64px; max-height: 86px !important; }
}


/* Lightbox */
.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-open img { pointer-events: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 16, 18, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox-img {
  max-width: min(92vw, 720px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  background: #111;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 1rem; right: 1rem; font-size: 1.75rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox-img { max-width: 96vw; max-height: 80vh; }
  .lightbox-prev { left: .4rem; }
  .lightbox-next { right: .4rem; }
}

/* Chatbot */
.chatbot-launcher {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 180;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--soft-red), var(--rose-gold-deep));
  color: #fff;
  box-shadow: 0 12px 30px rgba(168, 68, 82, 0.35);
  font-size: 1.45rem;
  display: grid;
  place-items: center;
}
.chatbot-launcher:hover { transform: translateY(-1px); }
.chatbot-panel {
  position: fixed;
  right: 1.1rem;
  bottom: 5rem;
  z-index: 180;
  width: min(360px, calc(100vw - 1.5rem));
  height: min(480px, calc(100vh - 7rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(44, 36, 38, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-panel[hidden] { display: none !important; }
.chatbot-head {
  background: linear-gradient(120deg, var(--rose-gold-deep), var(--soft-red));
  color: #fff;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.chatbot-head strong { font-size: .98rem; }
.chatbot-head span { display: block; font-size: .75rem; opacity: .9; font-weight: 500; }
.chatbot-close {
  border: 0; background: rgba(255,255,255,.18); color: #fff;
  width: 32px; height: 32px; border-radius: 999px; cursor: pointer; font-size: 1.1rem;
}
.chatbot-msgs {
  flex: 1;
  overflow-y: auto;
  padding: .9rem;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.chat-bubble {
  max-width: 88%;
  padding: .65rem .8rem;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--soft-red);
  color: #fff;
}
.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .55rem .75rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chatbot-quick button {
  border: 1px solid var(--line);
  background: var(--off-white);
  color: var(--ink);
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
}
.chatbot-quick button:hover {
  border-color: var(--rose-gold);
  color: var(--soft-red-deep);
}
.chatbot-form {
  display: flex;
  gap: .4rem;
  padding: .65rem .75rem .8rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chatbot-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .85rem;
  font: inherit;
  font-size: .9rem;
}
.chatbot-form button {
  border: 0;
  border-radius: 999px;
  padding: .55rem .95rem;
  background: var(--rose-gold-deep);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: .85rem;
}

/* Contact modal */
.contact-email-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--soft-red-deep);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-email-hint {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .25rem;
}
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(20, 16, 18, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.contact-modal[hidden] { display: none !important; }
.contact-modal-card {
  position: relative;
  width: min(460px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  padding: 1.35rem 1.25rem 1.25rem;
}
.contact-modal-close {
  position: absolute;
  top: .7rem;
  right: .8rem;
  border: 0;
  background: var(--off-white);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
}
.contact-modal-card h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  margin-bottom: .35rem;
  color: var(--rose-gold-deep);
  padding-right: 2rem;
}
.contact-modal-lead {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 1rem;
}
.contact-form {
  display: grid;
  gap: .75rem;
}
.contact-form label {
  display: grid;
  gap: .3rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .85rem;
  font: inherit;
  font-weight: 500;
  background: var(--off-white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(183, 110, 121, 0.35);
  border-color: var(--rose-gold);
  background: #fff;
}
.contact-form-note {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

/* Rich programs */
.program-grid-rich {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.program-rich {
  align-items: stretch;
}
.program-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rose-gold-deep);
  margin-bottom: .35rem;
}
.program-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--soft-red-deep);
  margin: .15rem 0 .7rem;
}
.program-axes-label {
  font-weight: 700;
  margin: .75rem 0 .35rem;
  color: var(--ink);
}
.program-axes {
  display: grid;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: 0;
}
.program-axes li {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.45;
  padding-left: .1rem;
}
.program-axes strong { color: var(--ink); }
@media (max-width: 800px) {
  .program-grid-rich { grid-template-columns: 1fr; }
}

.wa-number {
  margin: 0;
  font-weight: 650;
  font-size: 1.05rem;
}
.wa-number a {
  color: var(--soft-red-deep);
  text-decoration: none;
}
.wa-number a:hover { text-decoration: underline; }


/* Welcome / join modal (on load) */
.join-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(40, 24, 28, 0.55);
  backdrop-filter: blur(3px);
}
.join-modal[hidden],
.join-modal.join-modal--closed { display: none !important; }
.join-modal-card {
  position: relative;
  width: min(100%, 380px);
  max-height: min(92vh, 720px);
  max-height: min(92dvh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 1.35rem;
  border: 2px solid var(--soft-red);
  box-shadow: 0 24px 60px rgba(80, 30, 40, 0.28);
  padding: 0;
  text-align: center;
  transition: width .2s ease;
}
/* El contenido del modal se desplaza dentro de la tarjeta; la X queda fija arriba. */
.join-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.75rem 1.35rem 1.5rem;
}
.join-modal-body .join-form { max-height: none; overflow: visible; }
/* Vista ancha (formulario largo CAPITAL SEMILLA) */
.join-modal-card--wide {
  width: min(100%, 640px);
  max-height: min(94vh, 980px);
  max-height: min(94dvh, 980px);
}
.join-modal-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 30;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--soft-red);
  border-radius: 0.45rem;
  background: #fff;
  color: var(--soft-red-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.join-modal-close:hover { background: #fff5f5; }
.join-modal-title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 700;
  color: #3a3034;
  margin: 0.25rem 0 0.55rem;
  line-height: 1.2;
  padding-inline: 1.5rem;
}
.join-modal-rule {
  width: 48px;
  height: 2px;
  background: #2a2a2a;
  margin: 0 auto 1.15rem;
  border: 0;
}
.join-form {
  display: grid;
  gap: 0.7rem;
  max-height: min(70vh, 560px);
  overflow: auto;
}
.join-form input {
  width: 100%;
  border: 1.5px solid var(--soft-red);
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--soft-red-deep);
  background: #fff;
  outline: none;
}
.join-form input::placeholder {
  color: var(--soft-red);
  opacity: 0.95;
}
.join-form input:focus {
  box-shadow: 0 0 0 3px rgba(196, 92, 106, 0.2);
}
.join-form .btn-join {
  margin-top: 0.35rem;
  width: 100%;
  border: none;
  border-radius: 0.85rem;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--soft-red), var(--rose-gold-deep));
  box-shadow: 0 10px 22px rgba(196, 92, 106, 0.28);
}
.join-form .btn-join:hover { transform: translateY(-1px); }
.join-form-note {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
/* Modal: elección de lista (SEMILLAS / VOLUNTARIA) */
.join-choices {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
}
.join-choice {
  width: 100%;
  border: none;
  border-radius: 1rem;
  padding: 1.05rem 1.25rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--soft-red), var(--rose-gold-deep));
  box-shadow: 0 10px 22px rgba(196, 92, 106, 0.28);
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.join-choice--alt {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-deep));
  box-shadow: 0 10px 22px rgba(183, 110, 121, 0.25);
}
.join-choice:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(196, 92, 106, 0.32); }
.join-choice:focus-visible, .join-back:focus-visible { outline: 3px solid rgba(196, 92, 106, 0.35); outline-offset: 2px; }
.join-panel[hidden], .join-choices[hidden], .join-thanks[hidden], .join-form[hidden], .join-back[hidden] { display: none !important; }
.join-back {
  display: block;
  margin: -0.35rem 0 0.35rem;
  border: none;
  background: none;
  padding: 0.2rem 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rose-gold-deep);
  cursor: pointer;
}
.join-back:hover { text-decoration: underline; }
.join-subtitle {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--soft-red-deep);
  text-align: center;
}
.join-thanks {
  padding: 1.25rem 0.35rem 0.5rem;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #5a3d44;
}
.join-thanks p { margin: 0; }
.join-modal-card .join-modal-title { padding-inline: 2.4rem; }
/* Pop-up: imagen superior (estilo tarjeta con foto redondeada) y logo al pie */
.join-modal-media {
  margin: -1.05rem -0.6rem 1.15rem;   /* la foto casi al borde de la tarjeta; la X queda sobre su esquina */
  border-radius: 1rem;
  overflow: hidden;
  background: #f4e9eb;
  height: 220px;
}
.join-modal-media[hidden] { display: none; }
.join-modal-media picture,
.join-modal-media img { display: block; width: 100%; height: 100%; }
.join-modal-media img { object-fit: cover; object-position: center 15%; }
.join-modal-card--form .join-modal-media { display: none; }   /* formularios: sin foto, más espacio */
.join-modal-card .join-modal-media ~ .join-modal-title { padding-inline: 1rem; }
.join-modal-card .join-modal-media[hidden] ~ .join-modal-title { padding-inline: 2.4rem; }
.join-modal-close { box-shadow: 0 2px 8px rgba(40, 24, 28, 0.25); }
.join-modal-footer {
  margin: 1.35rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(183, 110, 121, 0.28);
  display: flex;
  justify-content: center;
}
.join-modal-footer img { width: 118px; height: auto; display: block; }
/* Pop-up: descripción breve bajo el título (solo vista inicial) */
.join-modal-intro { margin: -0.25rem 0 1.1rem; padding-inline: 0.35rem; }
.join-modal-intro p { margin: 0; }
.join-modal-intro-kicker {
  color: var(--rose-gold-deep);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem !important;
}
.join-modal-intro-text {
  color: #6f6468;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 0.6rem !important;
}
.join-modal-intro-cta {
  color: var(--soft-red-deep);
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.35;
}
.join-modal-card--form .join-modal-intro { display: none; }
/* Vista inicial en escritorio: tarjeta algo más ancha (título en una línea) y foto más baja en pantallas bajas */
@media (min-width: 600px) {
  .join-modal-card:not(.join-modal-card--wide) { width: min(100%, 440px); max-height: min(94vh, 780px); max-height: min(94dvh, 780px); }
  .join-modal-card:not(.join-modal-card--form) .join-modal-media { height: 205px; }
  .join-modal-card:not(.join-modal-card--form) .join-modal-media ~ .join-modal-title { padding-inline: 0.25rem; }
}
@media (max-height: 760px) {
  .join-modal-card:not(.join-modal-card--form) .join-modal-media { height: 170px; }
}
@media (max-height: 680px) {
  .join-modal-card:not(.join-modal-card--form) .join-modal-media { height: 135px; }
  .join-modal-footer { margin-top: 1rem; padding-top: 0.75rem; }
}
/* Vistas de formulario: barra superior fija con el logo a la izquierda de la X (no se desplaza con el formulario) */
.join-modal-head { display: none; }
.join-modal-card--form .join-modal-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  height: 3.4rem;
  padding: 0 3.55rem 0 1rem;           /* 3.55rem = X (2.5rem) + margen (0.45rem) + separación */
  border-bottom: 1px solid rgba(183, 110, 121, 0.2);
  background: #fff;
}
.join-modal-card--form .join-modal-head img { height: 2.55rem; width: auto; display: block; }
.join-modal-card--form .join-modal-body { padding-top: 1.1rem; }
.join-modal-card--form .join-modal-media ~ .join-modal-title { padding-inline: 1rem; }
@media (max-width: 420px) {
  .join-modal-body { padding: 1.5rem 1rem 1.25rem; }
  .join-modal { padding: 0.5rem; }
  .join-modal-card .join-modal-title { padding-inline: 2.1rem; }
  .join-choice { font-size: 1.02rem; padding: 0.95rem 1rem; }
  .join-modal-media { margin: -0.85rem -0.35rem 0.85rem; height: 200px; }
  .join-modal-intro { margin-bottom: 0.95rem; padding-inline: 0.1rem; }
  .join-modal-intro-text { font-size: 0.84rem; line-height: 1.45; }
  .join-modal-card .join-modal-media ~ .join-modal-title { padding-inline: 0.5rem; }
  .join-modal-card .join-modal-media[hidden] ~ .join-modal-title { padding-inline: 2.1rem; }
  .join-modal-card--form .join-modal-media ~ .join-modal-title { padding-inline: 0.5rem; }
  .join-modal-card--form .join-modal-body { padding-top: 0.95rem; }
  .join-modal-footer img { width: 104px; }
}



/* Always-visible album sections */
.album-section {
  margin-top: 2.25rem;
  scroll-margin-top: 5.5rem;
}
.album-section-title {
  margin: 0 0 .35rem;
  text-align: center;
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: #5a2a3a;
  font-weight: 600;
}
.album-section-count {
  margin: 0 0 1rem;
  text-align: center;
  font-size: .9rem;
  color: #8a6a72;
}
a.album-card {
  text-decoration: none;
  color: inherit;
}


/* ===== Formulario PROGRAMA CAPITAL SEMILLA (modal) ===== */
.join-form--semilla { text-align: left; gap: 0.9rem; }
.join-form--semilla .cs-head { text-align: center; }
.join-form--semilla .cs-title { font-size: 1.4rem; margin-bottom: 0.15rem; letter-spacing: 0.01em; }
.join-form--semilla .cs-lema {
  margin: 0.1rem auto 0.45rem;
  max-width: 30rem;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--soft-red);
  text-align: center;
  text-wrap: balance;
}
.join-form--semilla .cs-lema strong {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--soft-red-deep);
  white-space: nowrap;
}
.cs-tagline {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: var(--rose-gold-deep);
  font-size: 0.98rem;
}
.cs-banner {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 0.8rem;
  background: #fff3cd;
  border: 1.5px solid #e0b64a;
  color: #6b4e00;
  font-weight: 700;
  text-align: center;
}
.cs-intro {
  background: linear-gradient(135deg, #fff5f6, #fbf1e7);
  border-left: 4px solid var(--soft-red);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  color: #4a3a3f;
  font-size: 0.93rem;
  line-height: 1.5;
}
.cs-intro p { margin: 0 0 0.55rem; }
.cs-intro p:last-child { margin-bottom: 0; }
.cs-intro-q { font-weight: 700; color: var(--soft-red-deep); }
.cs-ficha-title {
  margin: 0.4rem 0 0;
  text-align: center;
  font-family: var(--display);
  font-size: 1.25rem;
  color: #3a3034;
}
.cs-section {
  display: grid;
  gap: 0.85rem;
  border: 1.5px solid #f0dada;
  border-radius: 1rem;
  padding: 0.95rem 0.95rem 1.05rem;
  background: #fff;
}
.cs-section-title {
  margin: 0 0 0.1rem;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--soft-red), var(--rose-gold-deep));
  border-radius: 0.55rem;
  padding: 0.45rem 0.75rem;
}
.cs-section-title span { font-weight: 500; font-size: 0.86rem; opacity: 0.95; }
.cs-field { display: grid; gap: 0.4rem; }
.cs-label { margin: 0; font-weight: 600; font-size: 0.93rem; color: #3a3034; }
.join-form--semilla .cs-input {
  width: 100%;
  border: 1.5px solid var(--soft-red);
  border-radius: 0.75rem;
  padding: 0.62rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: #3a3034;
  background: #fff;
  outline: none;
}
.join-form--semilla .cs-input:focus { box-shadow: 0 0 0 3px rgba(196, 92, 106, 0.2); }
.join-form--semilla .cs-textarea { resize: vertical; min-height: 5.5rem; line-height: 1.45; }
.join-form--semilla .cs-input--num { width: 6rem; display: inline-block; margin-left: 0.5rem; }
.join-form--semilla .cs-input--fecha { background: #faf6f6; color: #6b5e62; width: 11rem; }
.cs-options { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cs-opt, .cs-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: #3a3034;
}
.cs-opt {
  border: 1.5px solid #ebc9cd;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  background: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.cs-opt:has(input:checked) { background: #fdeef0; border-color: var(--soft-red); color: var(--soft-red-deep); font-weight: 600; }
.cs-check { align-items: flex-start; line-height: 1.4; padding: 0.2rem 0; }
.join-form--semilla .cs-opt input, .join-form--semilla .cs-check input {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--soft-red-deep);
}
.join-form--semilla .cs-check input { margin-top: 0.12rem; }
.cs-inline { font-size: 0.92rem; color: #3a3034; }
.cs-detail[hidden] { display: none !important; }
.cs-hint { margin: 0; font-size: 0.8rem; color: var(--muted); }
.cs-error { margin: 0; min-height: 0; font-size: 0.85rem; color: #b3261e; font-weight: 600; }
.cs-error:empty { display: none; }
.cs-field--invalid .cs-input, .cs-field--invalid .cs-opt { border-color: #b3261e; }
.join-form--semilla .cs-submit { font-size: 1rem; line-height: 1.3; padding: 0.95rem 1rem; }
.cs-cupos {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: var(--soft-red-deep);
  font-size: 0.98rem;
}
@media (max-width: 420px) {
  .cs-section { padding: 0.8rem 0.7rem 0.9rem; }
  .cs-opt { padding: 0.4rem 0.7rem; font-size: 0.9rem; }
  .join-form--semilla .cs-title { font-size: 1.25rem; }
  .join-form--semilla .cs-lema { font-size: 1.02rem; }
  .join-form--semilla .cs-lema strong { letter-spacing: 0.02em; }
}

/* Inscríbete: tarjetas al inicio de #programas que abren el modal de inscripción */
.enroll {
  margin: 0 0 3.5rem;
  padding: 2rem 1.75rem 2.1rem;
  border-radius: 26px;
  background: linear-gradient(160deg, #fff 0%, #f8eee8 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.enroll-title {
  font-family: var(--display); font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15; font-weight: 700; margin-bottom: 1.4rem;
}
.enroll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.enroll-card {
  position: relative;
  display: flex; flex-direction: column; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(44,36,38,.05);
  overflow: hidden;
}
.enroll-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--soft-red), var(--rose-gold-deep));
}
.enroll-card--voluntaria::before { background: linear-gradient(90deg, var(--rose-gold), var(--rose-gold-deep)); }
.enroll-kicker {
  font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  color: var(--rose-gold-deep);
}
.enroll-card-title { font-family: var(--display); font-size: 1.75rem; line-height: 1.15; color: var(--ink); }
.enroll-lema { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--soft-red-deep); line-height: 1.3; }
.enroll-lema strong { font-style: normal; font-family: var(--font); font-size: .92em; letter-spacing: .03em; }
.enroll-text { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.enroll-cupos {
  align-self: flex-start;
  margin-top: .15rem;
  padding: .3rem .8rem; border-radius: 999px;
  background: rgba(196, 92, 106, .1); color: var(--soft-red-deep);
  font-weight: 750; font-size: .88rem;
}
.enroll-cupos[hidden] { display: none; }
.enroll-btn { width: 100%; line-height: 1.3; }
.enroll-card > .enroll-btn { margin-top: auto; }
.enroll-card > :nth-last-child(2) { margin-bottom: .6rem; }
@media (max-width: 760px) {
  .enroll { padding: 1.4rem 1rem 1.25rem; border-radius: 22px; margin-bottom: 2.75rem; }
  .enroll-grid { grid-template-columns: 1fr; gap: .9rem; }
  .enroll-card { padding: 1.35rem 1.15rem 1.2rem; }
  .enroll-card-title { font-size: 1.55rem; }
}
.programs { padding-top: 3.5rem; }
@media (max-width: 760px) { .programs { padding-top: 2rem; } }

/* Galería de index.html: solo tarjetas de álbum (las fotos van en galeria-<album>.html) */
.gallery .album-cards { max-width: 820px; margin-top: 0; }
.gallery .album-card-title { font-size: 1.2rem; }
.gallery .album-card-count { font-weight: 650; }
.gallery .album-card-cover img { object-position: center 35%; }
.album-card-meta::after {
  content: "Ver álbum →"; margin-top: .35rem;
  font-size: .86rem; font-weight: 750; color: var(--soft-red-deep);
}
html[lang="en"] .album-card-meta::after { content: "View album →"; }
@media (max-width: 600px) { .gallery .album-cards { max-width: 420px; } }

/* Página de álbum (galeria-<album>.html) */
.album-page { padding: 2rem 0 4rem; }
.album-page-back {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-bottom: 1.25rem; padding: .5rem 1rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--soft-red-deep); font-weight: 700; font-size: .95rem;
  transition: background .15s, border-color .15s;
}
.album-page-back:hover, .album-page-back:focus-visible { background: #faf0ea; border-color: var(--rose-gold); outline: none; }
.album-page-title {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15; font-weight: 700; margin-bottom: .35rem;
}
.album-page-count { color: var(--muted); font-weight: 650; margin-bottom: 1.5rem; }
.album-page-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.album-page-grid figure {
  margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px;
  background: var(--off-white); border: 1px solid var(--line);
}
.album-page-grid .gallery-open { display: block; width: 100%; height: 100%; }
.album-page-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.album-page-grid .gallery-open:hover img { transform: scale(1.04); }
.album-page-grid .gallery-open:focus-visible { outline: 3px solid rgba(183,110,121,.55); outline-offset: -3px; }
.album-page-foot { margin-top: 2rem; text-align: center; }
@media (max-width: 600px) {
  .album-page { padding: 1.25rem 0 3rem; }
  .album-page-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .album-page-grid figure { border-radius: 8px; }
}
.gallery .album-card-title, .album-page-title { font-family: var(--display); }
.gallery .album-card-title { font-size: 1.4rem; font-weight: 700; }
@media (min-width: 901px) and (max-width: 1140px) {
  .nav { gap: .75rem; }
  .nav-links { gap: .85rem; flex-wrap: nowrap; }
  .nav-links a { font-size: .86rem; white-space: nowrap; }
  .brand-text { display: none; }
  .nav-actions .btn { white-space: nowrap; padding: .7rem 1.1rem; }
}
