:root {
  --bg: #f7f2e9;
  --text: #1f2a2d;
  --muted: #5b6470;
  --accent: #233b55;
  --border: rgba(35, 59, 85, 0.12);
  --heading-font: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-top: 5.2rem;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.section {
  padding: 4rem 0;
}

.section + .section {
  border-top: 1px solid rgba(35, 59, 85, 0.08);
}

.site-header {
  width: 100%;
  position: static;
  background: transparent;
  z-index: 50;
  padding: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: auto;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: visible;
}

.brand-mark img {
  width: 120px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--text);
  padding: 0;
}

/* Active page indicator and selection animation */
.site-nav a {
  position: relative;
  transition: color .18s ease, transform .12s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .28s cubic-bezier(.2,.9,.2,1);
  border-radius: 3px;
}
.site-nav a:hover::after,
.site-nav a.clicked::after,
.site-nav a[aria-current="page"]::after,
.site-nav a.active::after {
  transform: scaleX(1);
}
.site-nav a[aria-current="page"],
.site-nav a.active {
  color: var(--accent);
  font-weight: 700;
}

/* Click animation slight scale */
.site-nav a.clicked {
  transform: translateY(1px) scale(0.995);
}

.site-nav a:hover {
  color: var(--accent);
}

/* Top menu (separate from header/hero) */
.top-menu {
  width: 100%;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
}

.top-menu .nav-wrap { min-height: 5.2rem; }

.top-menu .site-nav a { color: var(--text); }

.top-menu .brand-mark img { width: 216px; }

.menu-toggle {
  display: none;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: none;
}

.hero /* hero section styling */
{
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 744px; /* 620 * 1.2 */
  display: flex;
  align-items: center;
  color: #fff;
  padding: 4.8rem 0 7.2rem; /* increased 20% */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,7,7,0.6) 0%, rgba(7,7,7,0.22) 45%, rgba(7,7,7,0.65) 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-copy { max-width: 768px; padding: 2.4rem 0; color: #fff; }

.hero-eyebrow {
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,0.88);
  font-size: clamp(0.48rem, 1.1vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  white-space: nowrap;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  background: rgba(201,125,86,0.12);
  color: #c97d56;
  padding: 0.384rem 0.9rem; /* 20% larger */
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.984rem; /* 0.82 * 1.2 */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 6vw, 4.8rem); /* increased 20% */
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,0.45);
}

.hero-copy h1 span {
  color: #e6b89e;
  font-style: italic;
}

.lead {
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.92);
  font-size: 1.26rem; /* 1.05 * 1.2 */
}

.hero-actions { display: flex; gap: 1rem; align-items: center; }

.btn.btn-primary {
  background: #c97d56;
  color: #fff;
  padding: 1.02rem 1.38rem; /* 20% larger */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(201,125,86,0.18);
  font-weight: 700;
}

.btn.btn-secondary {
  background: transparent;
  color: #2b2c2d;
  border: 2px solid rgba(35,59,85,0.22);
  padding: 0.936rem 1.26rem; /* 20% larger */
  border-radius: 10px;
  font-weight: 700;
}

.hero .btn.btn-secondary {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.92);
}

.hero .btn.btn-secondary:hover,
.hero .btn.btn-secondary:focus-visible {
  background: rgba(255,255,255,0.35);
  color: #fff;
}

.btn.btn-secondary:hover {
  background: rgba(201,125,86,0.12);
  border-color: rgba(201,125,86,0.35);
  color: #2b2c2d;
}

.brand-mark img { width: 144px; height: auto; display:block; } /* 120 * 1.2 */

.about-hero {
  padding: 5rem 0 3rem;
  background: #f8f2ea;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-hero .hero-copy {
  padding: 0;
}

.about-hero .eyebrow {
  display: inline-flex;
  background: rgba(201,125,86,0.14);
  color: #a45c3b;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.about-hero h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(3rem, 4.5vw, 4.4rem);
  line-height: 1.02;
  color: #2b2c2d;
  font-family: var(--heading-font);
}

.about-hero h1 span {
  color: #b56a45;
  font-style: italic;
}

.about-hero p {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b4b4b;
  margin-bottom: 1.5rem;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(196, 146, 110, 0.18);
  color: #7b5d48;
  font-weight: 600;
  box-shadow: 0 12px 34px rgba(0,0,0,0.05);
}

.hero-media .hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(27, 33, 42, 0.12);
  background: #fff;
  aspect-ratio: 4 / 3;
  min-height: 420px;
}

.hero-media .hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-quote {
  position: absolute;
  left: 1.35rem;
  bottom: 1.35rem;
  right: 1.35rem;
  background: rgba(255,255,255,0.95);
  color: #333;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  font-style: italic;
  font-size: 0.98rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.story-section {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid rgba(35, 59, 85, 0.08);
}

.values-section {
  padding: 3rem 0 5rem;
  background: rgba(247, 242, 233, 0.65);
  border-top: 1px solid rgba(35, 59, 85, 0.08);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-layout.reverse .story-copy {
  grid-column: 2;
}

.story-layout.reverse .story-visual {
  grid-column: 1;
}

.story-copy .eyebrow {
  margin-bottom: 0.65rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.mission-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.mission-vision-copy {
  display: grid;
  gap: 1.2rem;
}

.mission-vision-section .section-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.mission-vision-section .section-header .section-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(201,125,86,0.14);
  color: #a45c3b;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.mission-vision-section .section-header h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 4vw, 3rem);
  color: #2b2c2d;
}

.mission-card {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(35, 59, 85, 0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.mission-card .card-tag {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(201, 125, 86, 0.14);
  color: #c97d56;
  font-size: 1.15rem;
}

.mission-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.8rem;
  color: #2b2c2d;
}

.mission-card p {
  margin: 0;
  color: #5b5d60;
  line-height: 1.85;
  font-size: 1rem;
}

.story-copy h2,
.values-header h2,
.section-header h2,
.mission-vision-section .section-header h2,
.mission-card h3 {
  font-family: var(--heading-font);
  font-size: clamp(2.6rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 0.9rem;
  color: #2b2c2d;
}

.story-copy h2 span,
.section-header h2 span,
.mission-vision-section .section-header h2 span {
  color: #b56a45;
  font-style: italic;
}

.story-copy p {
  color: #5b5d60;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.story-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Interactive history timeline */
.history-timeline-section {
  background: #f7f2e9;
  border-top: 1px solid rgba(35, 59, 85, 0.08);
}

.history-timeline-header {
  max-width: 700px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.history-timeline-header h2 {
  margin: 0 0 0.85rem;
  color: #2b2c2d;
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.history-timeline-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.history-timeline {
  position: relative;
  padding: 1.25rem 0 0;
}

.history-timeline-track {
  position: absolute;
  top: 2.45rem;
  right: 5%;
  left: 5%;
  height: 2px;
  background: rgba(74, 48, 36, 0.18);
}

.history-timeline-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #b56a45;
  transition: width 0.3s ease;
}

.history-timeline-events {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.35rem;
}

.history-timeline-event {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b5d48;
  font: inherit;
  cursor: pointer;
}

.history-timeline-event-dot {
  width: 1.35rem;
  height: 1.35rem;
  border: 4px solid #f7f2e9;
  border-radius: 50%;
  background: #c8a98f;
  box-shadow: 0 0 0 1px rgba(74, 48, 36, 0.2);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.history-timeline-event-date {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.history-timeline-event:hover .history-timeline-event-dot,
.history-timeline-event:focus-visible .history-timeline-event-dot,
.history-timeline-event.is-active .history-timeline-event-dot {
  transform: scale(1.15);
  background: #a45c3b;
}

.history-timeline-event.is-active .history-timeline-event-dot {
  box-shadow: 0 0 0 7px rgba(201, 121, 77, 0.16), 0 0 0 1px #a45c3b;
}

.history-timeline-event.is-active .history-timeline-event-date,
.history-timeline-event:focus-visible .history-timeline-event-date {
  color: #4a3024;
}

.history-timeline-event:focus-visible,
.history-timeline-button:focus-visible {
  outline: 3px solid rgba(201, 121, 77, 0.3);
  outline-offset: 4px;
}

.history-timeline-detail {
  max-width: 760px;
  min-height: 220px;
  margin: 2.75rem auto 0;
  scroll-margin-top: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(35, 59, 85, 0.1);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 59, 85, 0.07);
  animation: historyDetailIn 0.3s ease both;
}

.history-timeline-detail.history-detail-refresh {
  animation: historyDetailIn 0.3s ease both;
}

.history-detail-layout {
  display: block;
}

.history-detail-layout.has-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.72fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.history-detail-copy p:last-child {
  max-width: 650px;
}

.history-detail-media {
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border-radius: 0.7rem;
  background: #f7f2e9;
}

.history-detail-date {
  margin: 0 0 0.65rem;
  color: #a45c3b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.history-timeline-detail h3 {
  margin: 0 0 0.8rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.05;
}

.history-timeline-detail p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.history-detail-image {
  width: 100%;
  height: 260px;
  margin: 0;
  border-radius: 0.7rem;
  object-fit: contain;
  object-position: center;
}

.history-timeline-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 760px;
  margin: 1.25rem auto 0;
}

.history-timeline-button {
  min-height: 2.8rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(74, 48, 36, 0.25);
  border-radius: 0.45rem;
  background: transparent;
  color: #4a3024;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.history-timeline-button:hover:not(:disabled),
.history-timeline-button:focus-visible:not(:disabled) {
  border-color: #a45c3b;
  background: rgba(201, 121, 77, 0.08);
}

.history-timeline-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.history-timeline-progress {
  color: #7b5d48;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes historyDetailIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .history-timeline-events {
    gap: 0.15rem;
  }

  .history-timeline-event-date {
    font-size: 0.68rem;
  }
}

@media (max-width: 760px) {
  .history-timeline-section {
    padding: 3rem 0;
  }

  .history-timeline-header {
    margin-bottom: 2rem;
  }

  .history-timeline {
    width: 100%;
    overflow-x: auto;
    padding: 0.25rem 0 1rem;
    scrollbar-color: #c8a98f transparent;
    scrollbar-width: thin;
  }

  .history-timeline-track {
    top: 1.05rem;
    right: auto;
    left: 2.5rem;
    width: calc(14 * 5.75rem - 5rem);
    height: 2px;
  }

  .history-timeline-track span {
    width: 100%;
    height: 100%;
    transition: width 0.3s ease;
  }

  .history-timeline-events {
    display: grid;
    grid-template-columns: repeat(14, 5.75rem);
    gap: 0.35rem;
    width: max-content;
    min-width: calc(14 * 5.75rem);
  }

  .history-timeline-event {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    gap: 0.65rem;
    min-height: 3.2rem;
    text-align: left;
  }

  .history-timeline-event-date {
    max-width: none;
    text-align: center;
    font-size: 0.82rem;
  }

  .history-timeline-detail {
    min-height: 0;
    margin-top: 2rem;
    scroll-margin-top: 1rem;
    padding: 1.5rem 1.25rem;
  }

  .history-detail-layout.has-image {
    display: block;
  }

  .history-detail-media {
    min-height: 0;
    margin-top: 1.4rem;
  }

  .history-detail-image {
    height: 260px;
  }

  .history-timeline-controls {
    margin-top: 1rem;
  }

  .history-timeline-button {
    min-width: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-timeline-section *,
  .history-timeline-section *::before,
  .history-timeline-section *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.values-section {
  padding: 3rem 0 5rem;
  background: #fff;
}

.values-header {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.values-header h2 {
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #2b2c2d;
  margin-top: 1rem;
  line-height: 1.3;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  justify-content: center;
}

.community-life-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.community-life-section {
  background: #f7f2e9;
}

.community-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.community-copy .eyebrow {
  margin-bottom: 0.8rem;
}

.community-copy h2 {
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #2b2c2d;
}

.community-copy p {
  color: #5d5d5d;
  line-height: 1.8;
  max-width: 680px;
}

/* Presence map */
.locations-section {
  background: #fff;
}

.locations-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.locations-header h2 {
  margin: 0 0 0.9rem;
  color: #2b2c2d;
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.locations-header h2 span {
  color: #b56a45;
  font-style: italic;
}

.locations-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
}

.locations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1.25rem;
  align-items: stretch;
}

.locations-map,
.locations-info {
  min-width: 0;
  border: 1px solid rgba(35, 59, 85, 0.1);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 59, 85, 0.07);
}

.locations-map {
  padding: 1.25rem;
}

.locations-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: 1.45rem;
}

.locations-map-status {
  color: #7b5d48;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locations-map-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #fbf8f2;
}

.locations-map-stage::before,
.locations-map-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(164, 92, 59, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.locations-map-stage::before {
  width: 380px;
  height: 380px;
}

.locations-map-stage::after {
  width: 260px;
  height: 260px;
}

.locations-map-art {
  position: relative;
  z-index: 1;
  width: min(72%, 320px);
  height: 88%;
}

.locations-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.locations-map-svg.is-focused {
  transform: scale(1.035);
}

.locations-markers {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.location-marker {
  position: absolute;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.location-marker::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #c9794d;
  box-shadow: 0 5px 14px rgba(74, 48, 36, 0.22);
  transition: transform 0.3s ease, background 0.3s ease;
}

.location-marker::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% - 0.2rem);
  padding: 0.35rem 0.6rem;
  border-radius: 0.35rem;
  background: #4a3024;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.35rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.location-marker:hover::before,
.location-marker:focus-visible::before,
.location-marker.active::before {
  transform: scale(1.25);
  background: #a45c3b;
}

.location-marker:hover::after,
.location-marker:focus-visible::after,
.location-marker.active::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.location-marker.active::before {
  box-shadow: 0 0 0 8px rgba(201, 121, 77, 0.15), 0 5px 14px rgba(74, 48, 36, 0.22);
}

.location-marker:focus-visible {
  outline: 3px solid rgba(201, 121, 77, 0.35);
  outline-offset: 3px;
}

.locations-info {
  display: flex;
  align-items: center;
  padding: 1.5rem;
}

.location-card {
  width: 100%;
  animation: locationCardIn 0.3s ease both;
}

.location-card-kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: #a45c3b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-card h3 {
  margin: 0 0 0.5rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.location-card p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.location-detail {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(35, 59, 85, 0.1);
  border-bottom: 1px solid rgba(35, 59, 85, 0.1);
  color: #5b6470;
  font-size: 0.94rem;
  line-height: 1.55;
}

.location-detail strong {
  color: #4a3024;
}

.location-image {
  display: grid;
  min-height: 190px;
  place-items: center;
  margin: 1.25rem 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #eee5d8;
  color: #7b5d48;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  text-align: center;
}

.location-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.location-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #a45c3b;
  font-weight: 700;
  transition: color 0.2s ease;
}

.location-maps-link:hover,
.location-maps-link:focus-visible {
  color: #4a3024;
}

@keyframes locationCardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .locations-layout {
    grid-template-columns: 1fr;
  }

  .locations-map-stage {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .locations-section {
    padding: 3rem 0;
  }

  .locations-header {
    margin-bottom: 1.75rem;
  }

  .locations-header h2 {
    font-size: 2.4rem;
  }

  .locations-map,
  .locations-info {
    border-radius: 1rem;
  }

  .locations-map {
    padding: 0.9rem;
  }

  .locations-map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .locations-map-stage {
    min-height: 360px;
  }

  .locations-map-svg {
    width: 100%;
    height: 100%;
  }

  .locations-map-art {
    width: min(75%, 270px);
  }

  .locations-info {
    padding: 1.25rem;
  }

  .location-marker {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.community-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.contact-cta-card .cta-icon {
  font-size: 2rem;
  color: #c97d56;
  display: grid;
  place-items: center;
}

.contact-cta-card h2 {
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: #2b2c2d;
}

.contact-cta-card p {
  margin: 0;
  color: #5d5d5d;
  line-height: 1.8;
}

.contact-cta-card .cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-cta-card .btn {
  flex: 1;
  min-width: 160px;
  text-align: center;
}

.value-card {
  background: rgba(237, 223, 214, 0.6);
  border-radius: 1.2rem;
  padding: 1.5rem;
  min-height: 220px;
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(187, 153, 127, 0.22);
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(201,125,86,0.15);
  color: #9a5e42;
  font-size: 1.15rem;
}

.value-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.value-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #2b2c2d;
}

.value-card p {
  margin: 0;
  color: #5d5d5d;
  line-height: 1.75;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .about-hero-grid,
  .story-layout,
  .values-grid,
  .mission-vision-grid,
  .community-life-grid,
  .contact-cta-card {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 3.5rem 0 2rem;
  }

  .about-hero h1 {
    font-size: clamp(2.6rem, 8vw, 3.4rem);
  }

  .hero-quote {
    position: static;
    margin: 1rem;
  }

  .hero-media .hero-card {
    aspect-ratio: auto;
    min-height: auto;
  }

  .hero-media .hero-card img {
    object-position: center center;
  }

  .story-visual img {
    height: auto;
    min-height: auto;
  }

  .values-grid {
    gap: 1rem;
  }
}

@media (max-width: 760px) {
  .about-hero {
    padding: 2.5rem 0 1.5rem;
  }

  .hero-quote {
    margin: 1rem 0 0;
  }
}

/* Final responsive treatment for the Quiénes Somos hero */
@media (max-width: 900px) {
  .about-hero {
    padding: 3.25rem 0 2.75rem;
  }

  .about-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .about-hero .hero-media {
    order: -1;
    width: 100%;
  }

  .about-hero .hero-copy {
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .about-hero .hero-card {
    width: min(100%, 680px);
    min-height: 0;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border-radius: 1.25rem;
  }

  .about-hero .hero-card img {
    height: 100%;
    object-position: center center;
  }

  .about-hero .eyebrow {
    margin-bottom: 1rem;
  }

  .about-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.65rem, 8vw, 3.6rem);
    line-height: 0.98;
  }

  .about-hero p {
    max-width: 620px;
    margin-right: auto;
    margin-bottom: 1.25rem;
    margin-left: auto;
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-hero .hero-quote {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    margin: 0;
    padding: 0.8rem 1rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    font-size: 0.92rem;
  }

  .about-hero .hero-note {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 500px) {
  .about-hero {
    padding: 2.5rem 0 2.25rem;
  }

  .about-hero-grid {
    gap: 0.7rem;
  }

  .about-hero .hero-card {
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
  }

  .about-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .about-hero .hero-quote {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 600px) {
  .hero-media .hero-card {
    border-radius: 1.2rem;
  }
}

@media (max-width: 500px) {
  .about-hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }
}

@media (max-width: 760px) {
  .hero-quote {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.95);
  }
}

@media (max-width: 900px) {
  .hero-media .hero-card {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .hero-quote {
    padding: 0.95rem 1rem;
  }
}

@media (max-width: 600px) {
  .hero-quote {
    font-size: 0.95rem;
  }
}

@media (max-width: 760px) {
  .hero-media img {
    min-height: 280px;
    object-fit: cover;
  }
}

@media (max-width: 900px) {
  .values-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 760px) {
  .value-card {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-preview .gallery-item {
    min-height: 220px;
  }
}

@media (max-width: 900px) {
  .about-hero-grid {
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav {
    width: 100vw;
  }
}

@media (max-width: 900px) {
  .story-visual img {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .story-visual img {
    min-height: 240px;
  }
}

@media (max-width: 760px) {
  .hero-copy p {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .about-hero .hero-copy,
  .about-hero .hero-media {
    padding: 0;
  }
}

@media (max-width: 760px) {
  .hero-card {
    border-radius: 1.2rem;
  }
}

@media (max-width: 900px) {
  .hero-card {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero-card img {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-note {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .hero-note {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .values-grid {
    gap: 0.8rem;
  }
}

@media (max-width: 900px) {
  .story-copy h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 760px) {
  .story-copy h2 {
    font-size: 2rem;
  }
}

@media (max-width: 760px) {
  .story-section {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 760px) {
  .values-section {
    padding: 2rem 0 3rem;
  }
}

@media (max-width: 760px) {
  .value-icon {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 760px) {
  .hero-quote {
    bottom: 1rem;
  }
}

@media (max-width: 760px) {
  .section-header h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 760px) {
  .hero-quote {
    margin: 1rem;
  }
}

@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .work-image {
    height: 180px;
  }
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav {
    width: 100vw;
  }
}

@media (max-width: 900px) {
  .hero-copy {
    padding: 1rem 0;
  }
}

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 760px) {
  .hero-note {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 760px) {
  .value-card p {
    font-size: 0.92rem;
  }
}

@media (max-width: 760px) {
  .values-header {
    padding: 0 1rem;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    padding: 1rem;
  }
}

@media (max-width: 760px) {
  .footer-about,
  .footer-nav,
  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .footer-bottom {
    padding-bottom: 1rem;
  }
}

@media (max-width: 760px) {
  .hero-card {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero-quote {
    font-size: 0.95rem;
  }
}

@media (max-width: 760px) {
  .hero-media {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .story-layout {
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  .story-visual {
    order: -1;
  }
}

@media (max-width: 760px) {
  .value-card {
    padding: 1.25rem;
  }
}

@media (max-width: 760px) {
  .story-copy p {
    margin-bottom: 1rem;
  }
}

@media (max-width: 900px) {
  .about-hero .hero-copy p {
    font-size: 1rem;
  }
}

@media (max-width: 760px) {
  .about-hero .hero-copy p {
    font-size: 0.95rem;
  }
}

@media (max-width: 500px) {
  .about-hero .eyebrow {
    font-size: 0.85rem;
  }
}

@media (max-width: 900px) {
  .about-hero h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 760px) {
  .story-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .footer-column {
    padding: 0;
  }
}

@media (max-width: 760px) {
  .footer-column {
    padding: 0;
  }
}

@media (max-width: 760px) {
  .footer-nav ul {
    display: grid;
    gap: 0.5rem;
  }
}

/* End of custom about page styles */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.identity-section {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid rgba(35, 59, 85, 0.08);
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.identity-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  animation: fadeInLeft 0.8s ease-out 0.2s backwards;
}

.identity-content {
  padding-right: 2rem;
  animation: fadeInRight 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.identity-content .section-tag {
  color: #c97d56;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.identity-content h2 {
  margin: 0 0 1.2rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--text);
}

.identity-description {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.identity-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  font-size: 2rem;
  flex: 0 0 auto;
}

.feature-text h4 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.feature-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #c97d56;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.btn-link:hover {
  gap: 0.8rem;
}

.metrics {
  padding: 3rem 0;
  background: #c97d56;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-card {
  color: #fff;
  animation: fadeInUp 0.8s ease-out;
}

.metric-card:nth-child(1) { animation-delay: 0.5s; }
.metric-card:nth-child(2) { animation-delay: 0.6s; }
.metric-card:nth-child(3) { animation-delay: 0.7s; }
.metric-card:nth-child(4) { animation-delay: 0.8s; }

.metric-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  font-family: 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 0.5rem;
}

.metric-card p {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.95;
}

.works-section {
  padding: 5rem 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.section-header .section-tag {
  color: #4a90e2;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  margin: 0 0 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  color: var(--text);
}

.section-subtitle {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.work-card {
  overflow: hidden;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

.work-card:nth-child(1) { animation-delay: 0.2s; }
.work-card:nth-child(2) { animation-delay: 0.3s; }
.work-card:nth-child(3) { animation-delay: 0.4s; }

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.work-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.08);
}

.work-content {
  padding: 1.8rem;
}

.work-tag {
  margin: 0 0 0.6rem;
  padding: 0.3rem 0.6rem;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c97d56;
  background: rgba(201, 125, 86, 0.1);
  border-radius: 999px;
}

.work-content h3 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 700;
}

.work-content p {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c97d56;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.work-link:hover {
  gap: 0.7rem;
}

/* Gallery preview on index */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 1.25rem;
}

.gallery-preview .gallery-item {
  overflow: hidden;
  border-radius: 1rem;
  min-height: 200px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  animation: fadeInUp 0.8s ease-out;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-preview .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-preview .gallery-item:hover img,
.gallery-preview .gallery-item:active img {
  transform: scale(1.06);
}

.work-card:hover,
.work-card:active,
.gallery-preview .gallery-item:hover,
.gallery-preview .gallery-item:active {
  transform: translateY(-3px);
}

.work-card,
.gallery-preview .gallery-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (hover: none) {
  .work-card:active,
  .gallery-preview .gallery-item:active {
    transform: translateY(-2px);
  }
}

.gallery-preview .gallery-item:nth-child(1) { animation-delay: 0.2s; }
.gallery-preview .gallery-item:nth-child(2) { animation-delay: 0.3s; }
.gallery-preview .gallery-item:nth-child(3) { animation-delay: 0.4s; }

.gallery-cta { text-align: center; margin-top: 1.5rem; }

/* Full gallery page */
.gallery-page-grid {
  column-count: 4;
  column-gap: 1rem;
  margin-top: 0;
}

.gallery-hero-title {
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  font-size: clamp(3rem, 4.5vw, 4.4rem);
  line-height: 1.02;
  color: #2b2c2d;
}

.gallery-hero-title span {
  color: #b56a45;
  font-style: italic;
}

.gallery-hero-description {
  max-width: 620px;
  margin: 0;
  color: #4b4b4b;
  font-size: 1.05rem;
  line-height: 1.8;
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
  border-bottom: 1px solid rgba(35, 59, 85, 0.12);
}

.gallery-filter {
  position: relative;
  border: 0;
  padding: 0.65rem 0.1rem 0.85rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.gallery-filter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #b56a45;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  color: #7b5d48;
}

.gallery-filter.is-active {
  font-weight: 700;
}

.gallery-filter.is-active::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .gallery-hero-title {
    font-size: 3.2rem;
  }

  .gallery-page-grid {
    column-count: 2;
  }
}

@media (max-width: 760px) {
  .gallery-hero-title {
    font-size: clamp(2.4rem, 10vw, 3rem);
  }

  .gallery-hero-description {
    font-size: 0.95rem;
  }

  .gallery-filters {
    justify-content: flex-start;
    gap: 1.1rem;
    overflow-x: auto;
    margin-bottom: 1.75rem;
  }

  .gallery-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

.gallery-page-grid .gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  vertical-align: top;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 59, 85, 0.08);
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-page-grid.gallery-enhanced .gallery-item {
  min-height: 190px;
}

.gallery-page-grid.gallery-enhanced .gallery-item.is-loaded {
  min-height: 0;
}

.gallery-page-grid.gallery-enhanced .gallery-item.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #eee5d8 25%, #f8f2ea 50%, #eee5d8 75%);
  background-size: 200% 100%;
  animation: galleryLoading 1.2s ease-in-out infinite;
}

.gallery-page-grid.gallery-enhanced .gallery-item.is-loading img,
.gallery-page-grid.gallery-enhanced .gallery-item.is-loading video {
  opacity: 0;
}

.gallery-page-grid .gallery-item[hidden] {
  display: none;
}

.gallery-empty-state {
  margin: 2rem auto 0;
  color: var(--muted);
  font-family: var(--heading-font);
  font-size: 1.35rem;
  text-align: center;
}

.gallery-empty-state[hidden] {
  display: none;
}

.gallery-page-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-page-grid.gallery-enhanced .gallery-item img {
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-page-grid.gallery-enhanced .gallery-item.is-loaded img,
.gallery-page-grid.gallery-enhanced .gallery-item.is-loaded video {
  opacity: 1;
}

.gallery-page-grid .gallery-item video {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee5d8;
}

@keyframes galleryLoading {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.gallery-video-item::before {
  content: "Video";
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3rem;
  background: rgba(74, 48, 36, 0.82);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.gallery-page-grid .gallery-item::after {
  content: "Ver imagen";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(31, 42, 45, 0.34);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-page-grid .gallery-item:hover img,
.gallery-page-grid .gallery-item:active img {
  transform: scale(1.03);
}

.gallery-page-grid .gallery-item:hover,
.gallery-page-grid .gallery-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(35, 59, 85, 0.12);
}

.gallery-page-grid .gallery-item:hover::after,
.gallery-page-grid .gallery-item:focus-within::after {
  opacity: 1;
}

.gallery-page-grid .gallery-item img:focus-visible {
  outline: 3px solid rgba(35, 59, 85, 0.45);
  outline-offset: -3px;
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(31, 34, 35, 0.84);
  display: grid;
  place-items: center;
  padding: 2rem;
  z-index: 220;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-inner {
  width: min(85vw, 1100px);
  height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox img {
  width: auto;
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 0.35rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

.gallery-lightbox img[hidden],
.gallery-lightbox video[hidden] {
  display: none;
}

.gallery-lightbox img:not([hidden]) {
  display: block;
}

.gallery-lightbox video {
  display: block;
  width: auto;
  max-width: 85vw;
  max-height: 85vh;
  border-radius: 0.35rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

.gallery-lightbox-close {
  position: absolute;
  top: -2.2rem;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-arrow {
  position: fixed;
  top: 50%;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(31, 34, 35, 0.35);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.gallery-lightbox-arrow:hover,
.gallery-lightbox-arrow:focus-visible {
  background: rgba(31, 34, 35, 0.7);
  border-color: rgba(255,255,255,0.75);
}

.gallery-lightbox-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-lightbox-prev { left: 1.5rem; }
.gallery-lightbox-next { right: 1.5rem; }

.gallery-lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.gallery-lightbox-caption {
  position: fixed;
  left: 50%;
  bottom: 3.5rem;
  max-width: 80vw;
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  transform: translateX(-50%);
}

@media (max-width: 760px) {
  .gallery-page-grid {
    column-count: 1;
  }

  .gallery-lightbox-close {
    top: -2.1rem;
    right: 0;
  }

  .gallery-lightbox {
    padding: 1rem;
  }

  .gallery-lightbox img {
    max-width: 85vw;
    max-height: 78vh;
  }

  .gallery-lightbox-inner {
    height: 78vh;
  }

  .gallery-lightbox-arrow {
    top: auto;
    bottom: 1.1rem;
    width: 2.5rem;
    height: 2.5rem;
    transform: none;
  }

  .gallery-lightbox-prev { left: 1rem; }
  .gallery-lightbox-next { right: 1rem; }

  .gallery-lightbox-caption {
    bottom: 4.2rem;
    max-width: 58vw;
  }
}

/* Gallery header */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.gallery-header-left .eyebrow {
  margin: 0 0 0.5rem;
  background: transparent;
  color: #c97d56;
}

.gallery-header-right {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .gallery-header {
    display: grid;
    text-align: center;
  }

  .gallery-header-right {
    justify-content: center;
  }

  .gallery-header-right .btn-outline {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

.gallery-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem;
  color: var(--text);
}

.gallery-header-right .btn-outline {
  background: rgba(255,255,255,0.94);
  color: var(--accent);
  border: 1.5px solid rgba(35,59,85,0.18);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(35,59,85,0.06);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(35,59,85,0.08);
  color: var(--accent);
}

@media (max-width: 760px) {
  .gallery-header-right .btn-outline {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
    padding: 0.95rem 1.25rem;
  }
}

/* Quote section */
.quote-section { 
  padding: 3.5rem 0; 
  background: linear-gradient(180deg, rgba(249,244,241,1) 0%, rgba(252,250,249,1) 100%);
}
.quote-section .center-copy { text-align: center; }
.quote-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #c97d56;
  border: 1px solid rgba(201,125,86,0.12);
  border-radius: 999px;
  font-size: 1.25rem;
}
.quote {
  margin: 0 auto 0.6rem;
  font-style: italic;
  color: var(--text);
  max-width: 820px;
  font-size: 1.05rem;
}
.quote-author {
  margin: 0;
  color: #c97d56;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 0.6rem;
}

/* Contact hero styles */
.contact-hero {
  padding: 4rem 0;
  background-image: linear-gradient(180deg, rgba(247,242,233,0.9), rgba(252,250,249,0.95));
}
.contact-hero-inner { text-align: center; max-width: 960px; margin: 0 auto; }
.contact-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  margin: 0 0 0.5rem;
}
.contact-hero-sub { color: var(--muted); margin: 0 0 1.5rem; max-width: 760px; margin-left: auto; margin-right: auto; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.25rem 0 1.75rem;
}
.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.contact-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(201,125,86,0.06);
  color: #c97d56;
  font-size: 1.25rem;
}
.contact-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.contact-card h4 { margin: 0; color: var(--accent); }
.contact-card .muted { margin: 0; color: var(--muted); font-size: 0.95rem; }

.contact-hero-cta { margin-top: 0.8rem; }

@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr; }
}


@media (max-width: 900px) {
  .identity-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .identity-content {
    padding-right: 0;
  }

  .identity-content h2 {
    font-size: 2rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer styles (shared) */
.site-footer {
  padding: 3rem 0 1.5rem;
  background: #f3f5f6;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
  background: #fff;
  padding: 1.6rem;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(26,40,55,0.04);
}
.footer-about .footer-mark {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: #c97d56;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(201,125,86,0.18);
}
.footer-about h4 { margin: 0 0 0.6rem; color: var(--accent); font-size: 1.05rem; }
.footer-about p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height:1.6; max-width: 420px; }
.footer-nav strong, .footer-contact strong { display:block; margin-bottom:0.6rem; color:var(--accent); font-size:0.85rem; letter-spacing:0.06em; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin: 0.4rem 0; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size:0.95rem; display:inline-block; padding:2px 0; }
.footer-nav a:hover { color: var(--accent); }

.footer-nav { padding-top: 6px; }
.footer-contact p {
  margin: 0.6rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}
.footer-contact-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(201,125,86,0.12);
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-contact a:hover {
  color: var(--accent);
}
.site-footer hr { border: 0; border-top: 1px solid rgba(31,42,45,0.07); margin: 1.25rem 0; }
.footer-bottom { text-align:center; font-size:0.85rem; color:var(--muted); padding-top:0.5rem; }

/* Ensure footer sits visually separated from main content */
main + .site-footer { margin-top: 2.2rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  .footer-bottom { text-align: left; }
  .section-header h2 { font-size: 2.2rem; }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(181, 106, 69, 0.24);
    border-radius: 0.5rem;
    background: #fff;
    padding: 0;
    box-shadow: 0 4px 12px rgba(35, 59, 85, 0.08);
    z-index: 120;
  }

  .menu-toggle[aria-expanded="true"] {
    visibility: hidden;
  }

  .site-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    width: min(88vw, 23rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 5.75rem 1.25rem 1.5rem;
    background: rgba(255,255,255,0.02); /* fallback while closed */
    border: none;
    border-radius: 0;
    box-shadow: -12px 0 36px rgba(35, 59, 85, 0.2);
    z-index: 110;
    transform: translateX(100%);
    transition: transform .32s ease, opacity .2s ease, visibility .2s ease;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
  }

  .site-nav.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    background: rgba(201, 125, 86, 0.98);
    color: #fff;
  }

  .site-nav.open a {
    width: 100%;
    color: #fff;
    display: block;
    padding: 0.9rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.4rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  }

  .site-nav.open a::after {
    display: none;
  }

  .site-nav.open a:hover,
  .site-nav.open a:focus-visible,
  .site-nav.open a[aria-current="page"],
  .site-nav.open a.active {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateX(0.2rem);
  }

  .menu-close {
    display: block !important;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 0;
  }

  .site-nav .menu-close .icon-close { width: 20px; height: 20px; }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(35, 44, 45, 0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .menu-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  body:has(.menu-backdrop.is-visible) {
    overflow: hidden;
  }

  /* Transform hamburger into an X when open */
  .menu-toggle svg { display: block; color: #c97d56; }
  .menu-toggle { position: relative; z-index: 130; color: #c97d56; }

  .hero {
    padding: 3rem 0 4rem;
    min-height: 70vh;
    background-attachment: scroll;
    background-position: center 40%;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .hero-copy .lead {
    font-size: 1rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .work-image {
    height: 180px;
  }
}

/* Override / stronger hero styles (final cascade layer) */
.hero {
  /* larger hero: zoom image and focus upper area */
  padding: 1.5rem 0 1.5rem;
  min-height: 70vh; /* reduced 30% from full viewport */
  display: flex;
  align-items: center;
  background-size: cover; /* original zoom */
  background-position: center 40%; /* shifted 40% downward as requested */
}

.hero-overlay {
  /* bluish filter requested */
  background: linear-gradient(180deg, rgba(41,85,110,0.45) 0%, rgba(20,38,52,0.65) 78%) !important;
}

.hero-content { max-width: 880px; }
.hero-copy h1 { font-size: clamp(2.4rem, 6.5vw, 3.6rem); line-height:1.04; }
.hero-copy .lead { font-size: 1.5rem; color: rgba(255,255,255,0.94); max-width:720px; }
.hero-copy { padding-left: 0.5rem; }

.btn-outline { display:inline-flex; align-items:center; gap:0.6rem; padding:0.75rem 1.2rem; border-radius:999px; border:1.6px solid rgba(255,255,255,0.85); color:#fff; background:transparent; font-weight:700; }
.btn-outline:hover { background: rgba(255,255,255,0.06); }

@media (max-width: 760px) {
  .hero { min-height: 70vh; padding: 1rem 0; background-position: center 40%; }
  .hero-copy h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-copy .lead { font-size: 1rem; }
  .hero-content { max-width: 100%; padding: 0 1rem; }
  .site-nav.open .menu-close { display: block !important; }
  .site-nav.open .menu-close { position: absolute; top: 1rem; right: 1rem; }
}

@media (min-width: 761px) {
  .menu-close { display: none !important; }
}

/* Homepage editorial hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 620px;
  height: min(620px, calc(100vh - 5.2rem));
  padding: 0;
  background: #f6f1e8;
  color: #4a3024;
}

.hero-overlay {
  display: none;
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 4rem clamp(2rem, 5vw, 5.5rem);
  background: #f6f1e8;
}

.hero-copy {
  width: min(100%, 520px);
  max-width: none;
  padding: 0;
  color: #4a3024;
}

.hero-eyebrow {
  margin: 0 0 1.2rem;
  color: #a45c3b;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.hero-copy h1 {
  margin: 0 0 1.25rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: clamp(2.7rem, 4.2vw, 4.2rem);
  font-weight: 600;
  line-height: 0.98;
  text-shadow: none;
}

.hero-copy h1 span {
  color: #a45c3b;
  font-style: italic;
}

.hero-lead {
  max-width: 410px;
  margin: 0 0 2rem;
  color: #5b6470;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero .btn.btn-primary {
  background: #c9794d;
  border: 1px solid #c9794d;
  border-radius: 0.45rem;
  box-shadow: 0 8px 18px rgba(201,121,77,0.16);
  color: #fff;
  padding: 0.85rem 1.25rem;
}

.hero .btn.btn-primary:hover,
.hero .btn.btn-primary:focus-visible {
  background: #a45c3b;
  border-color: #a45c3b;
}

.hero .btn.btn-secondary {
  background: transparent;
  border: 1px solid rgba(74,48,36,0.45);
  border-radius: 0.45rem;
  color: #4a3024;
  padding: 0.85rem 1.25rem;
}

.hero .btn.btn-secondary:hover,
.hero .btn.btn-secondary:focus-visible {
  background: rgba(201,121,77,0.08);
  border-color: #a45c3b;
  color: #4a3024;
}

.hero-media {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  padding: 1.25rem 1.5rem 1.25rem 0;
  background: #f6f1e8;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.8rem;
  object-fit: cover;
  object-position: center 40%;
}

@media (max-width: 900px) and (min-width: 761px) {
  .hero-content {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  }
}

@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }

  .hero-media {
    order: 1;
    width: 100%;
    height: min(460px, 105vw);
    min-height: 330px;
    padding: 1rem;
  }

  .hero-image {
    object-position: center 40%;
  }

  .hero-content {
    order: 2;
    width: 100%;
    padding: 3rem 1rem 3.5rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 10vw, 3.35rem);
    line-height: 1;
  }

  .hero-title-break {
    display: none;
  }

  .hero-lead {
    margin-bottom: 1.75rem;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 280px);
    margin: 0 auto;
  }

  .hero-actions .btn {
    text-align: center;
  }
}

@media (max-width: 390px) {
  .hero-media {
    height: 350px;
    min-height: 0;
  }

  .hero-content {
    padding-top: 2.5rem;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }
}

/* Mission page editorial story */
.mission-page {
  background: var(--bg);
}

.mission-hero {
  background: #f8f2ea;
}

.mission-hero h1 {
  margin: 0 0 1rem;
  color: #2b2c2d;
  font-family: var(--heading-font);
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.mission-hero h1 span {
  color: #b56a45;
  font-style: italic;
}

.mission-hero > .container > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.mission-intro,
.mission-girardota,
.mission-providencia,
.mission-labor,
.mission-seeds {
  background: #fff;
}

.mission-intro {
  border-top: 1px solid rgba(35, 59, 85, 0.08);
}

.mission-split {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 2rem;
  max-width: 930px;
  margin: 0 auto;
}

.mission-index {
  color: #b56a45;
  font-family: var(--heading-font);
  font-size: 3.2rem;
  line-height: 1;
}

.mission-copy h2,
.mission-feature-copy h2,
.mission-section-heading h2,
.mission-section-heading h2,
.mission-seeds h2,
.mission-closing h2,
.mission-message h2 {
  margin: 0 0 1rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.mission-copy p,
.mission-feature-copy p,
.mission-section-heading > p,
.mission-labor .mission-section-heading > p,
.mission-seeds p,
.mission-closing p {
  color: var(--muted);
  line-height: 1.8;
}

.mission-copy p,
.mission-feature-copy p,
.mission-seeds p {
  max-width: 720px;
}

.mission-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.mission-feature-image {
  min-height: 430px;
  overflow: hidden;
  border-radius: 1rem;
  background: #eee5d8;
  box-shadow: 0 14px 34px rgba(35, 59, 85, 0.08);
}

.mission-feature-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mission-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(35, 59, 85, 0.1);
  border-bottom: 1px solid rgba(35, 59, 85, 0.1);
}

.mission-stat strong {
  color: #a45c3b;
  font-family: var(--heading-font);
  font-size: 3.5rem;
  line-height: 0.9;
}

.mission-stat span {
  max-width: 150px;
  color: #4a3024;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-feature-copy blockquote,
.mission-message blockquote,
.mission-seeds blockquote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid #c9794d;
  background: rgba(201, 121, 77, 0.08);
  color: #7b5d48;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  line-height: 1.35;
}

.mission-providencia {
  background: #f7f2e9;
}

.mission-section-heading {
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.mission-section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.mission-section-heading.centered > p:last-child {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.mission-steps,
.mission-labor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mission-step,
.mission-labor-grid article {
  padding: 1.5rem;
  border: 1px solid rgba(35, 59, 85, 0.1);
  border-radius: 0.85rem;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mission-step:hover,
.mission-labor-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(164, 92, 59, 0.28);
  box-shadow: 0 12px 26px rgba(35, 59, 85, 0.08);
}

.mission-step span {
  display: block;
  margin-bottom: 1.4rem;
  color: #b56a45;
  font-family: var(--heading-font);
  font-size: 2.4rem;
}

.mission-step h3,
.mission-labor-grid h3 {
  margin: 0 0 0.65rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: 1.8rem;
  line-height: 1.05;
}

.mission-step p,
.mission-labor-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mission-labor-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mission-labor-grid article > span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: rgba(201, 121, 77, 0.12);
  color: #a45c3b;
  font-size: 1.15rem;
}

.mission-labor-grid article > span img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.mission-message {
  background: #f8f2ea;
  text-align: center;
}

.mission-message-inner {
  max-width: 760px;
  margin: 0 auto;
}

.mission-message h2 {
  font-size: clamp(2.7rem, 5vw, 4.3rem);
}

.mission-message-inner > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.mission-divider {
  display: block;
  margin: 1.4rem 0;
  color: #c9794d;
}

.mission-message blockquote {
  margin: 2rem auto 0;
  border-top: 1px solid rgba(164, 92, 59, 0.2);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.mission-seeds-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 3rem;
  align-items: center;
}

.mission-seeds blockquote {
  margin: 0;
}

.mission-closing {
  background: #f7f2e9;
  text-align: center;
}

.mission-closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.mission-closing-symbol {
  display: block;
  margin-bottom: 1rem;
  color: #b56a45;
  font-size: 2rem;
}

.mission-closing h2 {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.mission-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mission-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .mission-feature-grid,
  .mission-seeds-grid {
    grid-template-columns: 1fr;
  }

  .mission-steps,
  .mission-labor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-feature-image {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .mission-hero {
    padding: 3rem 0 2.75rem;
  }

  .mission-hero h1 {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
  }

  .mission-split {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .mission-index {
    font-size: 2.4rem;
  }

  .mission-feature-grid,
  .mission-seeds-grid {
    gap: 1.75rem;
  }

  .mission-feature-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .mission-steps,
  .mission-labor-grid {
    grid-template-columns: 1fr;
  }

  .mission-step,
  .mission-labor-grid article {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mission-page *,
  .mission-page *::before,
  .mission-page *::after {
    transition: none !important;
    animation: none !important;
  }

  .mission-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Editorial activities page */
.activities-page {
  background: var(--bg);
}

.activities-hero {
  background: #f8f2ea;
}

.activities-hero h1 {
  max-width: 720px;
  margin: 0 0 1rem;
  color: #2b2c2d;
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.activities-hero h1 span {
  color: #b56a45;
  font-style: italic;
}

.activities-hero > .container > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.featured-activity-section {
  background: #fff;
}

.editorial-label {
  margin-bottom: 1rem;
  color: #a45c3b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.featured-activity {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(35, 59, 85, 0.1);
  border-radius: 1rem;
  background: #f8f2ea;
  box-shadow: 0 14px 34px rgba(35, 59, 85, 0.07);
}

.featured-activity-media,
.activity-card-media {
  overflow: hidden;
  background: #eee5d8;
}

.featured-activity-media {
  min-height: 410px;
}

.featured-activity-media img,
.activity-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: #7b5d48;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  text-align: center;
}

.featured-activity-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
}

.activity-date {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: 1.2rem;
}

.activity-date strong {
  font-size: 2.6rem;
  line-height: 0.9;
}

.activity-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  color: #a45c3b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-activity h2,
.activity-card h3 {
  margin: 0 0 0.8rem;
  color: #4a3024;
  font-family: var(--heading-font);
  line-height: 1.05;
}

.featured-activity h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.featured-activity p,
.activity-card p {
  color: var(--muted);
  line-height: 1.7;
}

.featured-activity p {
  margin: 0 0 1.5rem;
}

.activity-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a45c3b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: gap 0.25s ease, color 0.25s ease;
}

.activity-read-more:hover,
.activity-read-more:focus-visible {
  gap: 0.7rem;
  color: #4a3024;
}

.latest-activities-section {
  background: var(--bg);
}

.activities-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.activities-heading h2 {
  margin: 0;
  color: #2b2c2d;
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
}

.activities-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.activity-filters {
  display: flex;
  gap: 1.45rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(35, 59, 85, 0.12);
}

.activity-filter {
  position: relative;
  flex: 0 0 auto;
  padding: 0.65rem 0.1rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.activity-filter::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #b56a45;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.activity-filter.is-active,
.activity-filter:hover {
  color: #7b5d48;
}

.activity-filter.is-active {
  font-weight: 700;
}

.activity-filter.is-active::after {
  transform: scaleX(1);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.activity-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(35, 59, 85, 0.1);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(35, 59, 85, 0.05);
  animation: activityReveal 0.45s ease both;
}

.activity-card:nth-child(2) { animation-delay: 0.06s; }
.activity-card:nth-child(3) { animation-delay: 0.12s; }

.activity-card-media {
  min-height: 210px;
  aspect-ratio: 4 / 3;
}

.activity-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem;
}

.activity-card h3 {
  font-size: 1.9rem;
}

.activity-card p {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
}

.activity-card .activity-read-more {
  margin-top: auto;
}

.activity-card:hover .activity-card-media img,
.featured-activity:hover .featured-activity-media img {
  transform: scale(1.03);
}

.activity-card[hidden] {
  display: none;
}

.activities-empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  color: var(--muted);
  font-family: var(--heading-font);
  font-size: 1.4rem;
  text-align: center;
}

@keyframes activityReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.activity-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(43, 44, 45, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.activity-modal::backdrop {
  background: transparent;
}

.activity-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.activity-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.activity-modal.is-open .activity-modal-dialog {
  transform: translateY(0);
}

.activity-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(74,48,36,0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #4a3024;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.activity-modal-content {
  padding: 2rem;
}

.activity-modal-content .activity-date {
  margin-bottom: 0.9rem;
}

.activity-modal-content .activity-date strong {
  font-size: 2.2rem;
}

.activity-modal-content .activity-category {
  margin-bottom: 0.7rem;
}

.activity-modal-content .activity-modal-image {
  width: 100%;
  max-height: 360px;
  margin-bottom: 1.5rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.activity-modal-content h2 {
  margin: 0 0 0.8rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
}

.activity-modal-content p {
  color: var(--muted);
  line-height: 1.8;
}

.activity-modal-content .activity-location {
  color: #7b5d48;
  font-weight: 700;
}

@media (max-width: 900px) {
  .featured-activity {
    grid-template-columns: 1fr;
  }

  .featured-activity-media {
    min-height: 320px;
  }

  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .activities-page .container {
    width: min(100%, calc(100% - 2rem));
  }

  .activities-hero {
    padding: 3.25rem 0 2.75rem;
  }

  .activities-hero h1 {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
    line-height: 1;
  }

  .activities-hero > .container > p:last-child {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .featured-activity-section,
  .latest-activities-section {
    padding: 3rem 0;
  }

  .featured-activity {
    display: block;
    min-height: 0;
  }

  .featured-activity-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .featured-activity-content {
    padding: 1.75rem 1.25rem 2rem;
  }

  .featured-activity h2 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }

  .activities-heading h2 {
    font-size: 2.6rem;
  }

  .activities-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .activity-filters {
    gap: 1.15rem;
    margin-right: -1rem;
    margin-left: -1rem;
    padding: 0 1rem;
  }

  .activity-card-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .activity-card-content {
    padding: 1.25rem;
  }

  .activity-modal {
    padding: 0.75rem;
  }

  .activity-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 1.5rem);
    border-radius: 0.75rem;
  }

  .activity-modal-content {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .activity-modal-content .activity-modal-image {
    max-height: 42vh;
    margin-bottom: 1.25rem;
  }

  .activity-modal-content h2 {
    font-size: 2.2rem;
  }

  .activity-modal-content p {
    font-size: 0.96rem;
    line-height: 1.7;
  }
}

@media (max-width: 390px) {
  .activities-page .container {
    width: min(100%, calc(100% - 1.5rem));
  }

  .activities-hero h1 {
    font-size: 2.45rem;
  }

  .activity-filters {
    margin-right: -0.75rem;
    margin-left: -0.75rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .activity-modal {
    padding: 0.5rem;
  }

  .activity-modal-dialog {
    max-height: calc(100vh - 1rem);
  }

  .activity-modal-content {
    padding: 1.25rem 1rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .activities-page *,
  .activities-page *::before,
  .activities-page *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Contact page */
.contact-page {
  background: var(--bg);
}

.contact-hero-page {
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: #f8f2ea;
}

.contact-hero-page > .container {
  width: min(1120px, calc(100% - 2rem));
}

.contact-hero-page .eyebrow {
  margin-bottom: 1rem;
}

.contact-hero-page h1 {
  margin: 0 0 0.8rem;
  color: #2b2c2d;
  font-family: var(--heading-font);
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  line-height: 1;
}

.contact-hero-page > .container > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-main-section {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-info,
.contact-form-panel {
  min-width: 0;
}

.contact-info h2,
.contact-form-panel h2,
.contact-map-heading h2 {
  margin: 0 0 0.9rem;
  color: #4a3024;
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.contact-intro,
.contact-map-heading > p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-intro {
  max-width: 420px;
  margin: 0 0 1.75rem;
}

.contact-items {
  display: grid;
  gap: 0.85rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(35, 59, 85, 0.1);
}

.contact-item-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 125, 86, 0.12);
  color: #a45c3b;
  font-size: 1.1rem;
}

.contact-item-icon img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.contact-item h3 {
  margin: 0 0 0.25rem;
  color: #4a3024;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-action {
  color: #a45c3b;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-action:hover,
.contact-action:focus-visible {
  color: #4a3024;
}

.contact-form-panel {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(35, 59, 85, 0.1);
  border-radius: 1rem;
  background: #f8f2ea;
  box-shadow: 0 14px 34px rgba(35, 59, 85, 0.06);
}

.contact-form-panel h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.contact-field {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.05rem;
}

.contact-field label {
  color: #4a3024;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(74, 48, 36, 0.2);
  border-radius: 0.45rem;
  background: #fff;
  color: #2b2c2d;
  font: inherit;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #899098;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: rgba(164, 92, 59, 0.55);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 3px solid rgba(201, 121, 77, 0.18);
  border-color: #a45c3b;
}

.contact-field.is-error input,
.contact-field.is-error select,
.contact-field.is-error textarea {
  border-color: #a94a42;
}

.contact-field.is-success input,
.contact-field.is-success select,
.contact-field.is-success textarea {
  border-color: #6b8068;
}

.contact-field-error {
  min-height: 1.1rem;
  color: #a94a42;
  font-size: 0.78rem;
}

.contact-submit {
  margin-top: 1.1rem;
  border: 0;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-form-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: #5b6470;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form-status.is-error { color: #a94a42; }
.contact-form-status.is-success { color: #536b50; }

.contact-map-section {
  background: var(--bg);
}

.contact-map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.contact-map-heading > p {
  max-width: 390px;
  margin: 0 0 0.5rem;
}

.contact-map-card {
  overflow: hidden;
  height: 430px;
  border: 1px solid rgba(35, 59, 85, 0.1);
  border-radius: 1rem;
  background: #eee5d8;
  box-shadow: 0 12px 28px rgba(35, 59, 85, 0.06);
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .contact-page .container {
    width: min(100%, calc(100% - 2rem));
  }

  .contact-hero-page {
    min-height: 290px;
    padding: 3.25rem 0 2.75rem;
  }

  .contact-hero-page h1 {
    max-width: 15ch;
    margin-bottom: 0.9rem;
    font-size: clamp(2.45rem, 10vw, 3.35rem);
    line-height: 0.98;
  }

  .contact-hero-page > .container > p:last-child {
    max-width: 38rem;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .contact-main-section,
  .contact-map-section {
    padding: 3rem 0;
  }

  .contact-form-panel {
    padding: 1.35rem;
  }

  .contact-map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-map-card {
    height: 340px;
  }
}

@media (max-width: 390px) {
  .contact-page .container {
    width: min(100%, calc(100% - 1.5rem));
  }

  .contact-item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .contact-item-icon {
    width: 2.35rem;
    height: 2.35rem;
  }

  .contact-hero-page {
    min-height: 270px;
    padding: 2.75rem 0 2.35rem;
  }

  .contact-hero-page h1 {
    font-size: 2.35rem;
  }
}

