:root {
  --primary: #ad2c00;
  --primary-dark: #872000;
  --secondary: #006e1c;
  --tertiary: #7b5500;
  --bg: #fdf9f3;
  --surface: #ffffff;
  --surface-soft: #f7f3ed;
  --surface-warm: #f1ede7;
  --text: #1c1c18;
  --muted: #5a413a;
  --line: #e3beb5;
  --shadow: 0 18px 45px rgba(80, 45, 28, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

section#faq .container {
  max-width: 850px;
  margin: 0 auto;
}

#anim {
  width: 300px;
  height: 300px;
}

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

a.disabled-link {
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 110, 28, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 249, 243, 0.92);
  border-bottom: 1px solid rgba(227, 190, 181, 0.45);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Literata, Georgia, serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font-size: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(173, 44, 0, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 18px 34px rgba(173, 44, 0, 0.28);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: rgba(173, 44, 0, 0.38);
  box-shadow: 0 14px 28px rgba(80, 45, 28, 0.12);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.42;
  mix-blend-mode: multiply;
  animation: floatBlob 11s ease-in-out infinite;
}

.hero::before,
.page-hero::before {
  width: clamp(180px, 24vw, 360px);
  height: clamp(180px, 24vw, 360px);
  top: 12%;
  right: 7%;
  background: radial-gradient(circle, rgba(255, 171, 64, 0.52), rgba(255, 171, 64, 0));
}

.hero::after,
.page-hero::after {
  width: clamp(150px, 20vw, 300px);
  height: clamp(150px, 20vw, 300px);
  left: 6%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(0, 110, 28, 0.28), rgba(0, 110, 28, 0));
  animation-delay: -4s;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: imageSettle 1.1s ease both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(253, 249, 243, 0.95), rgba(253, 249, 243, 0.68), rgba(253, 249, 243, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 88px 0;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 24px;
  margin-top: 30px;
  animation: fadeUp 0.72s ease 0.28s both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  border: 1px solid rgba(227, 190, 181, 0.65);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Literata, Georgia, serif;
  margin: 0;
  line-height: 1.16;
}

h1 {
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  font-size: 24px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero h1,
.page-hero h1 {
  animation: fadeUp 0.72s ease both;
}

.hero .lead,
.page-hero .lead {
  animation: fadeUp 0.72s ease 0.16s both;
}

.hero .lead,
.page-hero .lead {
  color: #69421d;
}

.page-hero .lead {
  font-weight: 600;
  background: linear-gradient(90deg, rgba(173, 44, 0, 0.08), rgba(0, 110, 28, 0.08));
  border-left: 4px solid rgba(173, 44, 0, 0.34);
  border-radius: 0 18px 18px 0;
  padding: 12px 16px;
}

.red {
  color: var(--primary);
}

.green {
  color: var(--secondary);
}

.section {
  padding: 82px 0;
}

.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s ease, transform 0.62s ease;
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-soft {
  background: var(--surface-soft);
}

.section-white {
  background: var(--surface);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid rgba(227, 190, 181, 0.55);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(173, 44, 0, 0.22);
  box-shadow: 0 24px 58px rgba(80, 45, 28, 0.15);
}

.card img,
.about-image,
.banner img,
.map-box img,
.map-box iframe {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.card:hover img,
.about-image:hover,
.banner:hover img,
.map-box:hover img,
.map-box:hover iframe {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.feature-card {
  text-align: center;
}

.feature-card img {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.feature-card p,
.program-card p,
.timeline p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.about-image {
  border-radius: 40px;
  box-shadow: var(--shadow);
  aspect-ratio: 1.05;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-soft);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--primary);
  font-family: Literata, Georgia, serif;
  font-size: 32px;
}

.program-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-align: center;
}

.program-card img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.program-card ul {
  flex: 1;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
  text-align: left;
  color: var(--muted);
}

.program-card li {
  padding: 8px 0 8px 24px;
  position: relative;
}

.program-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.banner {
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.banner img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-hero {
  position: relative;
  padding: 76px 0;
  background: linear-gradient(135deg, rgba(255, 219, 209, 0.65), rgba(152, 249, 148, 0.24));
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead {
  grid-column: 1;
  justify-self: start;
}

.page-hero .lead {
  max-width: 760px;
  margin: 18px 0 0;
}

.page-hero-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: end;
  width: min(430px, 100%);
  aspect-ratio: 1.08;
  border-radius: 34px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 70px rgba(80, 45, 28, 0.18);
  transform-origin: center;
  animation: heroVisualIn 0.82s ease 0.18s both, heroVisualFloat 7s ease-in-out 1s infinite;
}

.page-hero-visual::before,
.page-hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 24px;
}

.page-hero-visual::before {
  width: 38%;
  height: 38%;
  top: -18px;
  right: -18px;
  background: linear-gradient(135deg, rgba(173, 44, 0, 0.2), rgba(0, 110, 28, 0.18));
  z-index: -1;
  animation: miniFloat 6s ease-in-out infinite;
}

.page-hero-visual::after {
  width: 32%;
  height: 32%;
  left: -16px;
  bottom: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(227, 190, 181, 0.55);
  box-shadow: 0 18px 40px rgba(80, 45, 28, 0.12);
  animation: miniFloat 6.8s ease-in-out -2s infinite;
}

.page-hero-visual img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 40px rgba(80, 45, 28, 0.14);
}

.split {
  align-items: center;
  gap: 58px;
}

.pill-list {
  display: grid;
  gap: 16px;
}

.pill {
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(227, 190, 181, 0.5);
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.time-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(227, 190, 181, 0.5);
}

.time-row strong {
  color: var(--primary);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

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

.gallery-item.tall img {
  min-height: 582px;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  color: #fff;
  font-family: Literata, Georgia, serif;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}

.gallery-caption::after {
  content: "+";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  transform: scale(0.9);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.gallery-item:hover .gallery-caption::after {
  transform: scale(1);
  color: #fff;
  background: var(--primary);
}

.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(18, 13, 10, 0.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-panel {
  width: min(960px, 100%);
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s ease;
}

.gallery-lightbox.open .gallery-lightbox-panel {
  transform: translateY(0) scale(1);
}

.gallery-lightbox-panel img {
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: #111;
}

.gallery-lightbox-panel figcaption {
  padding: 18px 22px;
  color: var(--primary);
  font-family: Literata, Georgia, serif;
  font-size: 22px;
  font-weight: 800;
}

.gallery-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.gallery-lightbox-close:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--primary);
}

.contact-card {
  display: grid;
  gap: 22px;
}

.contact-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(173, 44, 0, 0.09);
  color: var(--primary);
  font-weight: 900;
}

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

.field {
  display: grid;
  gap: 8px;
}

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

label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.map-box {
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.cta {
  border-radius: 40px;
  padding: 58px 34px;
  text-align: center;
  color: #fff;
  background: var(--primary);
  overflow: hidden;
}

.cta .lead {
  color: rgba(255, 255, 255, 0.9);
}

.footer {
  background: var(--surface-warm);
  border-top: 1px solid rgba(227, 190, 181, 0.5);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 34px;
}

.footer h4 {
  color: var(--primary);
  margin: 0 0 18px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.copyright {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(227, 190, 181, 0.55);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.testimonial-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.testimonial-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.testimonial-card span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.social-links,
.header-social {
  min-width: 0;
}

.header-social,
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.header-social {
  align-items: center;
  gap: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(227, 190, 181, 0.7);
  border-radius: 50%;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(80, 45, 28, 0.14);
}

.social-icon:hover svg {
  animation: socialPop 0.36s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-row a {
  color: var(--primary);
  font-weight: 800;
}

.contact-row a:hover {
  color: var(--secondary);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(14px, -16px, 0) scale(1.04);
  }
}

@keyframes imageSettle {
  from {
    transform: scale(1.035);
  }

  to {
    transform: scale(1);
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translate3d(24px, 16px, 0) rotate(1.5deg) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
  }
}

@keyframes heroVisualFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(0, -10px, 0) rotate(0.8deg);
  }
}

@keyframes miniFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(8px, -8px, 0) scale(1.04);
  }
}

@keyframes socialPop {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.14) rotate(-5deg);
  }
}

.admin-hero {
  padding: 68px 0;
}

.admin-shell {
  display: grid;
  gap: 24px;
}

.admin-actions {
  position: sticky;
  top: 98px;
  z-index: 10;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(227, 190, 181, 0.55);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.admin-actions span {
  color: var(--secondary);
  font-weight: 800;
}

.admin-panel {
  display: grid;
  gap: 24px;
  border-radius: 18px;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-panel-head p,
.admin-note {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.admin-image-list,
.admin-list {
  display: grid;
  gap: 16px;
}

.admin-image-row,
.admin-list-row {
  display: grid;
  grid-template-columns: 110px minmax(220px, 1fr) minmax(180px, 0.65fr);
  gap: 16px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(227, 190, 181, 0.55);
  border-radius: 16px;
  background: var(--surface-soft);
}

.admin-list-row {
  grid-template-columns: repeat(2, minmax(180px, 1fr)) 1.3fr auto;
}

.admin-image-row img {
  width: 110px;
  height: 86px;
  border-radius: 12px;
  background: #fff;
  object-fit: cover;
  border: 1px solid rgba(227, 190, 181, 0.55);
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .nav .btn {
    display: none;
  }

  .header-social {
    display: none;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero .lead {
    justify-self: center;
  }

  .page-hero .lead {
    margin-left: auto;
    margin-right: auto;
    border-left: 0;
    border-top: 4px solid rgba(173, 44, 0, 0.3);
    border-radius: 18px;
  }

  .page-hero-visual {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    width: min(460px, 92%);
    margin-top: 8px;
  }

  .admin-nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .admin-image-row,
  .admin-list-row {
    grid-template-columns: 1fr;
  }

  .admin-panel-head,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media::after {
    background: rgba(253, 249, 243, 0.84);
  }

  .hero::before,
  .page-hero::before {
    right: -70px;
  }

  .hero::after,
  .page-hero::after {
    left: -80px;
  }

  .hero-content {
    padding: 58px 0;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    max-width: 260px;
  }

  .section,
  .page-hero {
    padding: 58px 0;
  }

  .page-hero .container {
    gap: 28px;
  }

  .page-hero-visual {
    width: min(360px, 94%);
    border-radius: 26px;
    padding: 9px;
  }

  .page-hero-visual img {
    border-radius: 18px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid,
  .gallery-grid,
  .form,
  .stats,
  .admin-social-grid {
    grid-template-columns: 1fr;
  }

  .time-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gallery-item.tall img {
    min-height: 320px;
  }

  .card {
    padding: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js-reveal {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .btn:hover,
  .card:hover,
  .card:hover img,
  .page-hero-visual,
  .page-hero-visual::before,
  .page-hero-visual::after,
  .about-image:hover,
  .banner:hover img,
  .map-box:hover img,
  .gallery-item:hover img,
  .gallery-lightbox-panel,
  .social-icon:hover svg {
    transform: none;
  }
}
