:root {
  --forest: #244d3d;
  --leaf: #4d8a57;
  --sage: #dbe8d3;
  --sky: #d7ecf1;
  --clay: #b95f32;
  --sun: #e5b85c;
  --ink: #1b2722;
  --muted: #62746d;
  --paper: #fbfaf4;
  --white: #ffffff;
  --line: rgba(36, 77, 61, 0.16);
  --shadow: 0 18px 55px rgba(27, 39, 34, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(251, 250, 244, 0.88);
  border-bottom: 1px solid rgba(36, 77, 61, 0.12);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--sun);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #315247;
  font-size: 0.95rem;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--sage);
  color: var(--forest);
  outline: none;
}

.nav-links .nav-cta {
  background: var(--forest);
  color: var(--white);
  padding-inline: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 72px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    url("https://images.unsplash.com/photo-1472396961693-142e6e269027?auto=format&fit=crop&w=1800&q=82")
    center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 31, 25, 0.88), rgba(15, 31, 25, 0.44) 54%, rgba(15, 31, 25, 0.18)),
    linear-gradient(0deg, rgba(15, 31, 25, 0.55), transparent 48%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: var(--sun);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 900px;
}

h2 {
  margin-bottom: 16px;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 1.16rem;
}

.hero-content p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.hero-stats strong {
  color: var(--sun);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--sun);
  color: #35250a;
  box-shadow: 0 14px 30px rgba(229, 184, 92, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.map-secondary,
.button.reset-button {
  background: var(--white);
  color: var(--forest);
  border: 1px solid var(--line);
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 50px;
  z-index: 1;
  width: min(290px, calc(100% - 48px));
  padding: 20px;
  border-left: 4px solid var(--sun);
  background: rgba(251, 250, 244, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  margin: 4px 0;
  color: var(--forest);
  font-size: 1.18rem;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.quick-links a {
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  border-right: 1px solid var(--line);
}

.quick-links a:nth-child(n + 2) {
  padding-left: 28px;
}

.quick-links strong,
.quick-links span {
  display: block;
}

.quick-links strong {
  margin-bottom: 6px;
  color: var(--forest);
  font-size: 1.08rem;
}

.quick-links span {
  color: var(--muted);
}

.section {
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
}

.section.muted {
  background: var(--sage);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 46px;
  background: var(--forest);
  color: var(--white);
}

.intro h2,
.intro .eyebrow {
  color: var(--sun);
}

.intro-text {
  columns: 2;
  column-gap: 34px;
}

.intro-text p {
  break-inside: avoid;
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: center;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fact-grid article,
.feature-card,
.business-card,
.agenda-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fact-grid article {
  min-height: 150px;
  padding: 22px;
}

.fact-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 1.45rem;
  font-weight: 900;
}

.fact-grid p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 12px 30px rgba(36, 77, 61, 0.08);
}

.feature-card p,
.business-card p,
.agenda-grid p {
  color: var(--muted);
}

.image-card {
  grid-row: span 2;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
  position: relative;
  color: var(--white);
}

.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 38, 31, 0.82), transparent 62%);
}

.image-card div {
  position: relative;
  z-index: 1;
  padding: 26px;
}

.image-card h3,
.image-card p {
  color: var(--white);
}

.production {
  background: var(--paper);
}

.living {
  background:
    linear-gradient(90deg, rgba(215, 236, 241, 0.88), rgba(251, 250, 244, 0.94)),
    var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(36, 77, 61, 0.08);
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-grid p {
  color: var(--muted);
}

.production-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: stretch;
}

.production-photo {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
}

.production-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 26px;
  border-left: 5px solid var(--clay);
  background: var(--white);
}

.timeline span {
  color: var(--sun);
  font-weight: 900;
}

.directory-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.search-box {
  display: grid;
  gap: 8px;
  width: min(380px, 100%);
  color: var(--forest);
  font-weight: 800;
}

.search-box input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 800;
}

.chip.active {
  background: var(--forest);
  color: var(--white);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.directory-results {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.business-card {
  min-height: 236px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.business-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(36, 77, 61, 0.12);
}

.business-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border-radius: var(--radius);
  object-fit: cover;
}

.business-card span {
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--sky);
  color: #22505d;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-card a {
  margin-top: auto;
  color: var(--clay);
  font-weight: 900;
}

.business-card.is-hidden {
  display: none;
}

.business-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.business-actions button,
.business-actions a {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 900;
}

.business-actions a {
  color: var(--clay);
}

.empty-state {
  display: none;
  margin: 22px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.empty-state.is-visible {
  display: block;
}

.zones {
  background: var(--white);
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.zone-list article {
  min-height: 210px;
  padding: 24px;
  background: var(--paper);
}

.zone-list strong,
.zone-list span {
  display: block;
}

.zone-list strong {
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 1.18rem;
}

.zone-list span {
  color: var(--muted);
}

.map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  background: var(--paper);
}

.map-copy p {
  color: var(--muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.map-frame {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sage);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.agenda-grid article {
  padding: 24px;
}

.agenda-grid time {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--clay);
  font-weight: 900;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--sage);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.photo-options {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.photo-options h3 {
  margin-bottom: 6px;
}

.photo-options p {
  color: var(--muted);
}

.photo-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.photo-option-grid a {
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.photo-option-grid strong,
.photo-option-grid span {
  display: block;
}

.photo-option-grid strong {
  margin-bottom: 8px;
  color: var(--forest);
}

.photo-option-grid span {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  background: var(--forest);
  color: var(--white);
}

.contact h2,
.contact .eyebrow {
  color: var(--sun);
}

.contact-copy p,
.contact-list {
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  padding-left: 19px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--forest);
}

.admin-panel {
  background: var(--sky);
}

.data-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.data-tools h3 {
  margin-bottom: 4px;
}

.data-tools p {
  margin: 0;
  color: var(--muted);
}

.data-tool-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.panel-note {
  margin: 0 0 18px;
  color: var(--forest);
  font-weight: 800;
}

.file-import {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 800;
}

.file-import input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-weight: 800;
}

.admin-form .full,
.admin-form .form-status {
  grid-column: 1 / -1;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--clay);
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  background: #17251f;
  color: rgba(255, 255, 255, 0.72);
}

.footer p {
  margin: 0;
}

.lightbox,
.business-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(16, 26, 22, 0.88);
}

.lightbox.is-open,
.business-modal.is-open {
  display: grid;
}

.lightbox img {
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox p {
  margin: 14px 0 0;
  color: var(--white);
  font-weight: 800;
}

.lightbox-close,
.modal-close,
.to-top {
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 900;
}

.lightbox-close,
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--forest);
  font-size: 1.5rem;
}

.business-modal-card {
  position: relative;
  width: min(620px, 100%);
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.business-modal-card > span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--sky);
  color: #22505d;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-photo {
  width: 100%;
  max-height: 260px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  object-fit: cover;
}

.business-modal-card p {
  color: var(--muted);
}

.business-modal-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.business-modal-card dl div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.business-modal-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-modal-card dd {
  margin: 4px 0 0;
  color: var(--forest);
  font-weight: 800;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 18;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #063f1d;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 900;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  width: 46px;
  height: 46px;
  opacity: 0;
  pointer-events: none;
  background: var(--clay);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
  }

  .hero {
    min-height: 88vh;
    padding-top: 128px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .quick-links,
  .split,
  .intro,
  .production-layout,
  .map-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .data-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .data-tool-actions {
    justify-content: flex-start;
  }

  .intro-text {
    columns: 1;
  }

  .quick-links a,
  .quick-links a:nth-child(n + 2) {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid,
  .directory-grid,
  .agenda-grid,
  .service-grid,
  .zone-list,
  .photo-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-card {
    grid-column: span 2;
    min-height: 360px;
  }

  .directory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .chips {
    justify-content: flex-start;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 86vh;
    padding-inline: 18px;
    padding-bottom: 42px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 66px 18px;
  }

  .fact-grid,
  .feature-grid,
  .directory-grid,
  .agenda-grid,
  .service-grid,
  .zone-list,
  .photo-option-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .image-card,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery {
    grid-auto-rows: 230px;
  }

  .production-photo {
    min-height: 330px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer {
    padding-inline: 18px;
  }

  .admin-form,
  .business-modal-card dl {
    grid-template-columns: 1fr;
  }
}
