:root {
  --green: #287c3d;
  --bright-green: #168c4b;
  --blue: #087e9d;
  --purple: #8338a8;
  --ink: #1d2921;
  --surface: #ffffff;
  --page: #f5f8f3;
  --muted: #5d6b61;
  --radius-card: 26px;
  --shadow-card: 0 12px 32px rgba(27, 55, 35, .08), 0 2px 6px rgba(27, 55, 35, .04);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  isolation: isolate;
  color: var(--ink);
  background: var(--page);
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  font-weight: 400;
}

a { color: inherit; }

main { position: relative; }

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: #fff;
}

.skip-link:focus { top: 12px; }

.site-header {
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 18px rgba(24, 53, 33, .08);
  backdrop-filter: blur(14px);
}

.wordmark {
  margin-right: auto;
  display: flex;
  align-items: baseline;
  gap: .16em;
  width: min(320px, 30vw);
  flex: 0 0 min(320px, 30vw);
  color: #111;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(20px, 3.2vw, 27px);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  justify-items: center;
  gap: 3px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #111;
  font: inherit;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 9px 13px;
  transition: background .2s ease;
}

.menu-toggle:hover { background: #eef5ed; }
.menu-lines { width: 30px; display: grid; gap: 5px; }
.menu-lines i { display: block; height: 2px; background: #111; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-7px) rotate(-45deg); }

.site-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--green);
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.site-menu a:hover { background: #f1f7f0; }

.intro {
  height: clamp(130px, 20vh, 180px);
  position: relative;
  display: grid;
  place-items: center;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(226, 244, 223, .74), transparent 58%),
    linear-gradient(180deg, rgba(246, 250, 243, .76), rgba(245, 248, 243, .54));
}

.brand-lockup { display: contents; }
.brand-mark {
  width: min(165px, 30vw);
  height: clamp(108px, 14vh, 145px);
  object-fit: contain;
}

.feature {
  width: min(1180px, calc(100% - 48px), 95vh);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #36b82a;
  box-shadow: 0 20px 46px rgba(29, 77, 39, .16);
}

.feature-image { display: block; }
.feature img { width: 100%; height: auto; display: block; }
.feature-cta-wrap { display: grid; place-items: center; padding: 12px 24px 0; }
.feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--bright-green);
  color: white;
  font-size: clamp(16px, 2vw, 22px);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(9, 67, 33, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(9, 67, 33, .3); }
.section-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.workshops { padding-top: 74px; }
.section-title {
  width: fit-content;
  margin: 0 auto 38px;
  color: #177d79;
  text-align: center;
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: -.8px;
  font-family: "Comfortaa", sans-serif;
  font-weight: 400;
}

.workshop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.workshop-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 30px 26px 32px;
  border: 1px solid rgba(33, 72, 43, .08);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}

.workshop-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(27, 55, 35, .13); }
.workshop-card:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.workshop-icon { display: inline-flex; width: 100px; height: 100px; flex: 0 0 100px; align-items: center; justify-content: center; border-radius: 30px; background: #e7f5e8; }
.workshop-card:nth-child(2) .workshop-icon { background: #fff3d8; }
.workshop-card:nth-child(3) .workshop-icon { background: #f5eafa; }
.workshop-icon img { width: 86px; height: 86px; object-fit: contain; }
.workshop-card h2 { display: grid; min-height: 78px; width: 100%; place-items: center; margin: 17px 0 12px; font-size: clamp(22px, 2.25vw, 28px); line-height: 1.35; font-weight: 400; }
.workshop-card p { max-width: 36ch; margin: 0 auto; color: var(--muted); font-size: 17px; line-height: 1.65; }
.green { color: #287c3d; }
.orange { color: #b16a00; }
.purple { color: #8338a8; }

.preschool {
  min-height: 240px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin-top: 54px;
  margin-bottom: 54px;
  padding: 34px 44px;
  border: 1px solid #eddef5;
  border-radius: var(--radius-card);
  background: linear-gradient(125deg, #f8effc 0%, #fff 100%);
  box-shadow: var(--shadow-card);
}

.preschool-icon { width: 124px; height: 124px; object-fit: contain; }
.preschool h2 { margin: 0; color: #713298; font-size: clamp(23px, 3vw, 32px); line-height: 1.3; font-weight: 400; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 14px 25px; color: #fff; font: inherit; font-size: 17px; font-weight: 400; text-align: center; text-decoration: none; cursor: pointer; transition: box-shadow .2s ease, transform .2s ease, background .2s ease; box-shadow: 0 5px 12px rgba(25, 45, 28, .14); }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 18px rgba(25, 45, 28, .2); }
.button-purple { min-width: 210px; background: #8338a8; }
.button-green { background: #168c4b; }
.button-blue { min-width: 210px; background: #087e9d; font-size: 19px; }

.schools {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 70px;
  padding: 48px 58px;
  border: 1px solid #dcece2;
  border-radius: var(--radius-card);
  background: linear-gradient(125deg, #edf7ee, #fff 70%);
  box-shadow: var(--shadow-card);
}

.schools-copy { width: 100%; max-width: 470px; text-align: left; }
.schools-copy h2 { margin: 0 0 18px; color: #287c3d; font-size: 34px; font-weight: 400; }
.schools-copy p { margin: 0 0 28px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.schools > img { display: block; width: min(100%, 300px); height: auto; object-fit: contain; border-radius: 22px; box-shadow: 0 14px 30px rgba(29, 52, 33, .16); }
.contact-cta { min-height: 112px; display: grid; place-items: center; }

.contact-page { max-width: 640px; padding-top: 46px; padding-bottom: 72px; }
.contact-form { display: grid; gap: 8px; padding: 30px 32px 32px; border: 1px solid #dcece2; border-radius: var(--radius-card); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-card); font-family: "Noto Sans", Arial, sans-serif; font-weight: 400; font-synthesis: none; }
.contact-form label { margin-top: 10px; color: var(--ink); font-size: 17px; }
.contact-form label span { color: #e83a43; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #b8d3c7; border-radius: 12px; padding: 10px 14px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(158, 219, 125, .45); border-color: #9edb7d; }
.contact-form .button { justify-self: start; margin-top: 18px; cursor: pointer; }
.contact-trap { position: absolute; left: -9999px; }
.contact-notice { margin: 0 0 22px; padding: 14px 18px; border-radius: 12px; font-size: 17px; }
.contact-ok { background: #e6f5e6; color: #1f6a32; }
.contact-error { background: #fdecec; color: #a12a2a; }
.contact-success { display: grid; justify-items: center; padding: 38px 30px 42px; border: 1px solid #dcece2; border-radius: var(--radius-card); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-card); text-align: center; }
.contact-success h2 { margin: 0; color: #287c3d; font-size: clamp(24px, 4vw, 32px); font-weight: 400; }
.contact-success p { max-width: 40ch; margin: 14px 0 24px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.contact-success-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.contact-success-actions .button { font-size: 16px; }
.contact-secondary-action { color: var(--green); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }

.gallery-page { padding-top: 46px; padding-bottom: 74px; }
.gallery-intro { max-width: 720px; margin: -12px auto 34px; color: var(--muted); font-family: "Comfortaa", sans-serif; font-size: 19px; line-height: 1.6; text-align: center; }
.gallery-page > .section-title { font-family: "Comfortaa", sans-serif; }
.media-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.media-gallery a, .media-video { display: block; overflow: hidden; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.media-gallery a { transition: transform .2s ease, box-shadow .2s ease; }
.media-gallery a:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(27, 55, 35, .14); }
.media-gallery a img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-videos { margin-top: 62px; }
.gallery-subtitle { margin: 0 0 24px; color: #177d79; font-family: "Comfortaa", sans-serif; font-size: clamp(24px, 3vw, 32px); font-weight: 400; text-align: center; }
.media-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto 20px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.about-hero { padding: 46px 0 34px; text-align: center; }
.about-hero .section-title { margin-bottom: 32px; }
.about-intro { position: relative; max-width: 860px; margin: auto; padding: 20px 28px 20px 32px; border-left: 4px solid #35a853; border-radius: 0 20px 20px 0; background: linear-gradient(90deg, rgba(53, 168, 83, .1), rgba(255, 255, 255, .94)); }
.about-intro::before { content: ""; position: absolute; top: 20px; left: -9px; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: #35a853; transform: rotate(-45deg); box-shadow: 0 0 0 5px var(--page); }
.about-intro p { margin: 0; color: #35473b; font-size: 21px; font-weight: 500; line-height: 1.65; text-align: justify; }
.about-intro strong { color: #217b3e; font-weight: 800; }
.about-intro p + p { margin-top: 12px; }
.about-team { padding: 0 0 54px; }
.about-section-title { margin: 0 0 30px; color: #177d79; font-family: "Comfortaa", sans-serif; font-size: clamp(28px, 4vw, 38px); font-weight: 400; text-align: center; }
.about-team .about-section-title { margin-bottom: 48px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.team-card { overflow: visible; border: 1px solid rgba(33, 72, 43, .08); border-top: 5px solid #b83a3a; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.team-card:nth-child(2) { border-top-color: #21834d; }
.team-card:nth-child(3) { border-top-color: #4b6fae; }
.team-card:nth-child(4) { border-top-color: #d1a342; }
.team-portrait { position: relative; height: 220px; border-radius: var(--radius-card) var(--radius-card) 0 0; background: linear-gradient(145deg, #fff0ee, #fffaf9); z-index: 3; }
.team-card:nth-child(2) .team-portrait { background: linear-gradient(145deg, #edf8ef, #f8fcf8); }
.team-card:nth-child(3) .team-portrait { background: linear-gradient(145deg, #eef3fb, #fafcff); }
.team-card:nth-child(4) .team-portrait { background: linear-gradient(145deg, #fff9e8, #fffdf6); }
.team-portrait img { position: absolute; top: -40px; left: 0; z-index: 2; display: block; width: 100%; height: 300px; padding: 0; object-fit: contain; object-position: center top; filter: drop-shadow(0 10px 8px rgba(20, 50, 30, .12)); transform: scale(1.04); transform-origin: center top; }
.team-card:nth-child(2) .team-portrait img { padding-inline: 7%; }
.team-card-body { position: relative; z-index: 1; padding: 35px 22px 28px; border-radius: 0 0 var(--radius-card) var(--radius-card); background: var(--surface); }
.team-card h3 { margin: 0 0 12px; color: var(--green); font-family: "Comfortaa", sans-serif; font-size: 22px; font-weight: 400; line-height: 1.3; }
.team-card:nth-child(1) h3 { color: #a52f31; }
.team-card:nth-child(2) h3 { color: #1d7445; }
.team-card:nth-child(3) h3 { color: #3e609c; }
.team-card:nth-child(4) h3 { color: #a77a1c; }
.team-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; text-align: justify; }
.about-space { padding: 0 0 74px; }
.about-space-heading { margin-bottom: 30px; }
.about-space-heading .about-section-title { margin-bottom: 0; }
.space-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.space-gallery a { display: block; border-radius: 20px; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.space-gallery a:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(27, 55, 35, .14); }
.space-gallery img { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 20px; }
.image-lightbox { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 40px; background: rgba(5, 23, 18, .86); cursor: zoom-out; }
.image-lightbox[hidden] { display: none; }
.image-lightbox img { max-width: min(94vw, 1200px); max-height: 90vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 22px 70px rgba(0, 0, 0, .45); cursor: default; }
.image-lightbox-close { position: absolute; top: 18px; right: 24px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font: 32px/1 Arial, sans-serif; cursor: pointer; }
.image-lightbox-prev, .image-lightbox-next { position: absolute; top: 50%; width: 52px; height: 72px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .16); color: #fff; font: 56px/1 Arial, sans-serif; cursor: pointer; transform: translateY(-50%); }
.image-lightbox-prev { left: 22px; }
.image-lightbox-next { right: 22px; }
.image-lightbox-prev:hover, .image-lightbox-next:hover, .image-lightbox-close:hover { background: rgba(255, 255, 255, .28); }

.site-footer { position: relative; z-index: 1; background: #123d45; color: #f5fbf7; }
.footer-grid { width: min(1280px, calc(100% - 48px)); margin: auto; padding: 48px 0 42px; display: grid; grid-template-columns: 1.1fr 1fr .8fr 1.15fr; align-items: start; gap: 36px; }
.footer-block { min-width: 0; }
.footer-block h2 { margin: 0 0 22px; font-size: 21px; font-weight: 700; }
.footer-block h2::after { content: ""; display: block; width: 42px; height: 3px; margin-top: 6px; border-radius: 99px; background: #9edb7d; }
.footer-block address { font-size: 16px; line-height: 1.55; font-style: normal; }
.footer-block a { color: inherit; text-decoration: none; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact-item { display: flex; align-items: center; gap: 11px; }
.footer-contact-item svg, .social-links svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-item[href] span { overflow-wrap: anywhere; }
.footer-contact-item[href]:hover, .social-links a:hover { color: #b8e99e; }
.newsletter-form { display: grid; gap: 15px; }
.newsletter-form label { color: #d7eee4; font-size: 17px; font-weight: 400; }
.newsletter-form label span { color: #e83a43; }
.newsletter-form input { width: 100%; height: 48px; border: 1px solid #b8d3c7; border-radius: 12px; padding: 8px 14px; background: #f8fcf8; color: var(--ink); font: inherit; }
.newsletter-form input:focus { outline: 3px solid rgba(158, 219, 125, .45); border-color: #9edb7d; }
.newsletter-form .button { justify-self: start; padding: 9px 24px; border-radius: 22px; font-size: 17px; }
.form-message { margin: 0; font-size: 15px; }
.social-links { display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.social-links a { display: flex; align-items: center; gap: 11px; }
.social-links svg { flex-basis: 36px; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #e1306c; color: #fff; }
.social-links a:first-child svg { background: #3b5998; fill: currentColor; stroke: none; }
.footer-contact-item[href]:hover, .social-links a:hover, .map-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.map-link { display: inline-flex; margin-top: 10px; font-size: 14px; }
.footer-map { display: block; width: 100%; height: 150px; border: 0; border-radius: 12px; background: #e7eee9; }
.footer-map-block { min-width: 0; }
.footer-bottom { padding: 18px 5%; background: #0c3036; text-align: center; font-size: 14px; }

.back-to-top {
  position: fixed;
  z-index: 15;
  right: 24px;
  bottom: 24px;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: #287c3d;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(24, 57, 34, .3);
  transition: transform .2s ease, background .2s ease;
}

.back-to-top svg { display: block; width: 24px; height: 24px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:hover { background: #1f6a32; transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 3px solid #9edb7d; outline-offset: 3px; }

.back-to-top.is-visible { display: block; }

@media (max-width: 1040px) {
  .menu-toggle { display: grid; }
  .site-menu {
    position: absolute;
    top: 60px;
    right: 20px;
    display: none;
    width: min(360px, calc(100vw - 40px));
    padding: 0 12px 8px;
    border: 1px solid #e6eee6;
    border-radius: 0 0 22px 22px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }
  .site-menu.is-open { display: grid; }
  .site-menu a {
    padding: 10px 12px;
    border-bottom: 1px solid #eef2ed;
    font-size: 18px;
    line-height: 1.3;
  }
}

@media (min-width: 721px) {
  .team-portrait img { top: -70px; }
}

@media (max-width: 720px) {
  .site-header { height: 54px; padding-inline: 14px; }
  .site-menu { top: 54px; }
  .wordmark { width: min(260px, calc(100vw - 90px)); flex-basis: min(260px, calc(100vw - 90px)); }
  .intro { height: clamp(145px, 24vh, 190px); }
  .brand-mark { width: min(140px, 32vw); height: clamp(90px, 12vh, 112px); }
  .feature { width: min(calc(100% - 28px), 95vh); border-radius: 24px; }
  .feature-cta-wrap { padding: 14px 14px 0; }
  .feature-cta { padding: 12px 17px; font-size: 15px; }
  .workshops { padding-top: 54px; }
  .contact-page { padding-top: 30px; }
  .section-title { margin-bottom: 28px; }
  .workshop-grid { grid-template-columns: 1fr; gap: 16px; }
  .workshop-card { padding: 24px 22px 26px; border-radius: 22px; }
  .workshop-card h2 { min-height: 54px; margin: 12px 0; }
  .workshop-card p { max-width: 430px; margin-inline: auto; font-size: 16.5px; }
  .preschool { grid-template-columns: 1fr; justify-items: center; gap: 14px; min-height: 0; margin-block: 34px; padding: 28px 20px; text-align: center; }
  .preschool-icon { width: 104px; height: 104px; }
  .preschool h2 { font-size: 24px; }
  .button-purple { min-width: 0; }
  .schools { grid-template-columns: 1fr; gap: 28px; padding: 32px 22px; }
  .schools-copy { text-align: center; }
  .schools-copy h2 { font-size: 30px; }
  .schools-copy p { font-size: 17px; }
  .schools > img { width: min(80%, 300px); }
  .contact-cta { min-height: 108px; }
  .about-hero { padding-top: 30px; }
  .gallery-page { padding-top: 30px; padding-bottom: 50px; }
  .gallery-intro { margin-top: -14px; font-size: 18px; }
  .media-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gallery-videos { margin-top: 48px; }
  .about-intro { padding: 18px 12px 18px 22px; }
  .about-intro p { font-size: 18px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .team-portrait { height: 150px; }
  .team-portrait img { top: -30px; height: 210px; transform: scale(1.03); }
  .team-card-body { padding: 25px 18px 20px; }
  .team-card h3 { font-size: 19px; }
  .team-card p { font-size: 15px; }
  .about-team { padding-bottom: 48px; }
  .space-gallery { grid-template-columns: 1fr; gap: 16px; }
  .space-gallery img { height: 150px; border-radius: 15px; }
  .about-space { padding-bottom: 50px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; padding-block: 42px 34px; }
}

@media (max-height: 600px) and (min-width: 721px) {
  .feature { width: min(1180px, calc(100% - 48px), 90vh); }
}

@media (max-width: 520px) {
  .contact-form { padding: 24px 20px 26px; }
  .media-gallery { grid-template-columns: 1fr; }
  .image-lightbox-prev, .image-lightbox-next { width: 42px; height: 58px; font-size: 44px; }
  .image-lightbox-prev { left: 10px; }
  .image-lightbox-next { right: 10px; }
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-portrait { height: 210px; }
  .team-portrait img { top: -30px; height: 250px; transform: scale(1.03); }
  .team-card-body { padding: 25px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-map { height: 190px; }
}

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