@charset "UTF-8";

:root {
  --off-white: #faf7f0;
  --white: #ffffff;
  --navy: #243258;
  --green: #1c9e80;
  --yellow: #fdc30d;
  --red: #f13445;
  --blue: #3e79ba;
  --light-blue: #8bcaca;
  --ink: #171717;
  --muted: #656565;
  --line: #d8d4ce;
  --panel: #f0ece7;
  --radius: 18px;
  --radius-lg: 32px;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

body.home-page {
  background: var(--light-blue);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p {
  margin: 0 0 1rem;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.center {
  margin-top: 42px;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(36 50 88 / 8%);
  background: rgb(250 247 240 / 96%);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-logo img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 12px;
}

.site-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgb(36 50 88 / 18%);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 21px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
}

h1,
h2 {
  font-family: "Grandstander", sans-serif;
}

h3,
h4,
h5,
h6 {
  font-family: "Grandstander", sans-serif;
  font-weight: 500;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  text-transform: uppercase;
}

.page-section,
.page-intro {
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 6vw, 88px);
  isolation: isolate;
}

.page-section > .container,
.page-intro > .container,
.contact-strip > .container {
  position: relative;
  z-index: 1;
}

.decor-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.decor {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  transform-origin: center center;
  user-select: none;
}

.decor--rails {
  width: clamp(320px, 32vw, 520px);
  height: auto;
  opacity: 0.56;
  -webkit-mask-image: radial-gradient(ellipse 100% 92% at 100% 64%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 92% at 100% 64%, #000 58%, transparent 100%);
}

.decor--sun {
  width: clamp(210px, 20vw, 320px);
  height: auto;
  opacity: 0.88;
}

.decor--blob {
  width: clamp(290px, 32vw, 520px);
  aspect-ratio: 1.18;
  border-radius: 58% 42% 65% 35% / 45% 60% 40% 55%;
  background: rgb(139  202 202 / 18%);
}

.decor--blob::before,
.decor--blob::after {
  position: absolute;
  border: 2px solid rgb(36 50 88 / 56%);
  border-radius: inherit;
  content: "";
}

.decor--blob::before {
  inset: 11% -8% -7% 12%;
  transform: rotate(8deg);
}

.decor--blob::after {
  inset: 18% -13% -13% 19%;
  border-color: rgb(28 158 128 / 48%);
  transform: rotate(13deg);
}

.decor--dots {
  width: clamp(150px, 16vw, 250px);
  height: 86px;
  border-top: 4px dotted var(--yellow);
  border-radius: 50%;
  opacity: 0.9;
}

.decor--sparkle {
  color: #ff6d5f;
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.decor--pin {
  width: clamp(44px, 4.5vw, 64px);
  color: var(--green);
}

.decor--pin svg {
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.page-section {
  background-color: var(--light-blue);
}

.decor-layout--home-hero .decor--blob { top: -22%; left: -17%; transform: rotate(16deg); }
.decor-layout--home-hero .decor--dots { top: 13%; left: -2%; transform: rotate(-10deg); }
.decor-layout--home-hero .decor--sun { top: 3%; left: -3%; }
.decor-layout--home-hero .decor--rails { right: -7%; bottom: -17%; }

.decor-layout--home-video .decor--sparkle { top: 9%; left: 7%; }
.decor-layout--home-video .decor--blob { right: -18%; bottom: -28%; transform: rotate(-12deg); }
.decor-layout--home-video .decor--dots { right: -1%; bottom: 10%; transform: rotate(18deg); }

.decor-layout--home-pillars .decor--sun { top: 3%; left: -7%; }
.decor-layout--home-pillars .decor--dots { top: 16%; left: 4%; transform: rotate(11deg); }
.decor-layout--home-pillars .decor--rails { right: -8%; bottom: -18%; }

.decor-layout--home-segments .decor--blob { top: 7%; left: -18%; transform: rotate(-8deg); }
.decor-layout--home-segments .decor--dots { right: -1%; bottom: 11%; transform: rotate(14deg); }

.decor-layout--home-team .decor--blob { top: 14%; right: -17%; transform: rotate(18deg); }

.decor-layout--home-structure .decor--sun { left: -8%; bottom: 3%; }
.decor-layout--home-structure .decor--blob { left: -19%; bottom: -28%; transform: rotate(12deg); }
.decor-layout--home-enrollment .decor--rails { top: 10%; left: -12%; transform: scaleX(-1) rotate(-6deg); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 100%); }
.decor-layout--home-enrollment .decor--sparkle { top: 28%; right: 29%; color: #eeb500; }
.decor-layout--home-enrollment .decor--blob { right: -18%; bottom: -34%; transform: rotate(-16deg); }

.decor-layout--home-location .decor--pin { top: 25%; left: 4%; }
.decor-layout--home-location .decor--blob { left: -18%; bottom: -29%; transform: rotate(12deg); }
.decor-layout--home-location .decor--dots { left: 0; bottom: 4%; transform: rotate(12deg); }

.decor-layout--home-contact .decor--sun { top: 5%; right: -2%; opacity: 0.32; transform: scaleX(-1); }

.decor-layout--inner-intro .decor--blob { top: -30%; left: -16%; transform: rotate(17deg); }
.decor-layout--inner-intro .decor--sun { top: 7%; right: -4%; }
.decor-layout--inner-editorial .decor--sparkle { top: 9%; left: 7%; }
.decor-layout--inner-editorial .decor--blob { right: -18%; bottom: -29%; transform: rotate(-12deg); }
.decor-layout--inner-editorial .decor--rails { right: -9%; bottom: -18%; }
.decor-layout--inner-editorial .decor--sun { left: -8%; bottom: 5%; }

.decor-layout--inner-cards .decor--sun { top: 4%; left: -8%; }
.decor-layout--inner-cards .decor--rails { right: -8%; bottom: -18%; }
.decor-layout--inner-cards .decor--dots { top: 15%; left: 4%; transform: rotate(11deg); }
.decor-layout--inner-cards .decor--blob { left: -18%; bottom: -27%; transform: rotate(10deg); }

.decor-layout--inner-gallery .decor--blob { left: -18%; bottom: -27%; transform: rotate(10deg); }
.decor-layout--inner-gallery .decor--dots { right: -1%; bottom: 8%; transform: rotate(12deg); }
.decor-layout--inner-gallery .decor--sparkle { top: 8%; left: 5%; }

.page-section--white,
.page-intro {
  background: var(--white);
}

.page-intro {
  text-align: center;
}

.page-intro h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  text-transform: uppercase;
}

.page-intro > .container > p {
  max-width: 900px;
  margin: 0 auto 54px;
  font-size: 1.08rem;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-bottom: clamp(40px, 4.5vw, 58px);
  color: #c9c6c0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-divider::before,
.section-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.section-heading {
  max-width: 960px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2 {
  text-transform: uppercase;
}

.section-heading p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(44px, 8vw, 98px);
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
}

.split--video {
  grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1.34fr);
}

.split--kitchen {
  grid-template-columns: 1fr 1fr;
}

.split p,
.prose p,
.director p {
  font-size: 1.05rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button--dark {
  background: #383838;
  color: var(--white);
}

.button--outline {
  border-color: var(--green);
  background: transparent;
  color: var(--green);
}

.page-section:not(.page-section--white) .button--outline {
  background: var(--green);
  color: var(--white);
}

.button--outline-dark {
  border-color: #3e3e3e;
  background: transparent;
  color: #303030;
  text-transform: uppercase;
}

.button--green {
  background: #42bd8c;
  color: var(--white);
}

.button__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.button--whatsapp {
  gap: 9px;
}

.whatsapp-float {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 60px;
  height: 60px;
  border: 2px solid rgb(255 255 255 / 92%);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 24px rgb(23 61 48 / 28%);
  place-items: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  box-shadow: 0 11px 28px rgb(23 61 48 / 34%);
  transform: translateY(-3px) scale(1.03);
}

.text-link {
  font-weight: 800;
  text-decoration: underline;
  text-transform: uppercase;
}

.media-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #f8f6f3;
  background-image: linear-gradient(45deg, #e9e6e2 25%, transparent 25%), linear-gradient(-45deg, #e9e6e2 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e9e6e2 75%), linear-gradient(-45deg, transparent 75%, #e9e6e2 75%);
  background-position: 0 0, 0 22px, 22px -22px, -22px 0;
  background-size: 44px 44px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e7e4df;
}

.site-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-photo--facade {
  /* Crop the white border embedded in the original photo. */
  transform: scale(1.03);
}

.site-photo--top {
  object-position: center 20%;
}

.site-photo--upper {
  object-position: center 35%;
}

.site-photo--middle {
  object-position: center 45%;
}

.site-photo--proposal-hero {
  object-position: center 68%;
}

.site-photo--team-hero {
  object-position: center 60%;
}

.site-photo--structure-hero {
  object-position: center 50%;
}

.site-photo--kitchen-home {
  object-position: center 58%;
}

.site-photo--tatiana-manager {
  object-position: center 58%;
}

.media-placeholder--landscape {
  aspect-ratio: 16 / 9;
}

.media-placeholder--portrait {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
}

.institutional-video {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  background: #000;
}

.institutional-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.institutional-video__play {
  position: absolute;
  inset: 55% 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  cursor: pointer;
}

.institutional-video__play[hidden] {
  display: none;
}

.institutional-video__play-icon {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  padding-left: 5px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 4px 20px rgb(0 0 0 / 25%);
  font-size: 1.8rem;
}

.institutional-video__play-label {
  padding: 7px 14px;
  border-radius: 24px;
  background: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.institutional-video__play:hover .institutional-video__play-icon {
  background: var(--green);
}

.institutional-video__play:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: -5px;
}

.institutional-video__play:disabled {
  cursor: progress;
}

.media-placeholder--banner {
  width: min(100%, 1040px);
  min-height: 180px;
  margin-inline: auto;
}

.media-placeholder--team-hero {
  min-height: clamp(360px, 48vw, 600px);
}

.media-placeholder--team-collage {
  min-height: 0;
  aspect-ratio: 16 / 5;
}

.media-placeholder--structure-hero {
  min-height: 0;
  aspect-ratio: 720 / 386;
}

.media-placeholder--map {
  min-height: 320px;
}

.map-embed {
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.media-placeholder--manager {
  min-height: 520px;
  aspect-ratio: 3 / 5;
}

.media-placeholder--square,
.media-placeholder--value,
.media-placeholder--person {
  aspect-ratio: 1;
}

.media-placeholder--experience {
  aspect-ratio: 4 / 3;
  background: transparent;
}

.media-placeholder--feature {
  aspect-ratio: 4 / 3;
}

.media-placeholder--detail {
  min-height: 300px;
}

.media-placeholder--method {
  width: 220px;
  aspect-ratio: 1;
}

.media-placeholder--innovation,
.media-placeholder--director,
.media-placeholder--kitchen {
  aspect-ratio: 4 / 5;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #42caa4;
  color: var(--white);
  font-size: 1.35rem;
  text-indent: 4px;
  transform: translate(-50%, -50%);
}

.pillars-grid {
  display: grid;
  gap: 22px;
  margin: 54px 0;
  grid-template-columns: repeat(4, 1fr);
}

.pillar {
  text-align: center;
}

.pillar__icon,
.segment-card__icon {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  place-items: center;
}

.pillar__icon img,
.segment-card__icon img {
  width: 76px;
  height: 76px;
}

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

.pillar__icon--blue {
  color: var(--blue);
}

.pillar__icon--green,
.segment-card__icon {
  color: var(--green);
}

.pillar__icon--yellow {
  color: #eba900;
}

blockquote {
  max-width: 1000px;
  margin: 52px auto;
  color: #373737;
  font-style: italic;
  text-align: center;
}

.segment-grid {
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  margin: 52px auto 38px;
  grid-template-columns: repeat(3, 1fr);
}

.segment-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  text-align: center;
}

.segment-card p,
.feature-grid p,
.mini-team p,
.team-grid p,
.experience-grid p {
  margin: 0;
}

.manager-preview {
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: minmax(240px, 0.72fr) 1fr minmax(260px, 0.8fr);
}

.mini-team {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

.mini-team h3 {
  margin-top: 12px;
}

.mini-team .text-link {
  grid-column: 1 / -1;
}

.feature-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.feature-grid h3 {
  margin-top: 15px;
}

.tour-preview {
  margin-top: 44px;
  text-align: center;
}

.tour-preview .media-placeholder,
.tour-preview .media-frame {
  margin: 34px auto;
}

.tour-embed iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
}

#tour {
  scroll-margin-top: 100px;
}

.contact-strip {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 40px), var(--container));
  margin: clamp(38px, 5vw, 64px) auto;
  padding-block: 52px;
  border-radius: var(--radius-lg);
  background: var(--green);
  color: var(--white);
  isolation: isolate;
}

.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-strip h2 {
  margin: 4px 0 8px;
  color: var(--white);
}

.contact-strip p {
  margin: 0;
}

.contact-strip__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-strip .button {
  flex: 0 0 auto;
  background: var(--navy);
}

.prose {
  max-width: 1040px;
}

.prose > h2 {
  margin-bottom: 48px;
  text-align: center;
  text-transform: uppercase;
}

.prose > p {
  margin-bottom: 24px;
}

.statement {
  margin-top: 68px;
  text-align: center;
}

.statement h2 {
  margin-bottom: 10px;
  text-transform: uppercase;
}

.value-grid {
  display: grid;
  max-width: 900px;
  gap: 46px 64px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.value-grid h3 {
  margin-top: 14px;
}

.segment-details {
  display: grid;
  max-width: 900px;
  gap: 70px;
}

.detail-card {
  display: grid;
  align-items: center;
  gap: 42px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--light-blue);
  grid-template-columns: minmax(220px, 0.58fr) 1.42fr;
}

.detail-card h2 {
  margin-bottom: 2px;
  text-transform: uppercase;
}

.detail-card__age {
  margin-bottom: 20px;
}

.detail-card ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.extracurricular {
  display: grid;
  max-width: 1040px;
  align-items: center;
  gap: 36px;
  grid-template-columns: 1.18fr 0.82fr;
}

.extracurricular__intro h2 {
  white-space: nowrap;
}

.extracurricular__activities {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.extracurricular__activities li {
  display: grid;
  align-items: center;
  gap: 8px;
  grid-template-columns: 30px 1fr;
}

.extracurricular__activities p {
  margin: 0;
}

.extracurricular__cta {
  width: min(calc(100% - 40px), 1040px);
  margin: 36px auto 0;
  text-align: left;
}

.extracurricular__icon,
.extracurricular__icon img {
  width: 30px;
  height: 30px;
}

.method-list {
  display: grid;
  max-width: 900px;
  gap: 28px;
  margin: 0 auto;
}

.method-list article {
  display: grid;
  align-items: center;
  gap: 34px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--light-blue);
  grid-template-columns: 220px 1fr;
}

.closing-copy {
  margin: 72px auto 0;
  text-align: center;
}

.experience-grid {
  display: grid;
  gap: 42px 56px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.experience-grid p {
  margin-top: 12px;
}

.innovation {
  display: grid;
  align-items: center;
  gap: 52px;
  grid-template-columns: 1fr 1.15fr 1fr;
  text-align: center;
}

.innovation ul {
  margin: 16px 0 0;
  padding: 0;
  list-style-position: inside;
}

.director {
  display: grid;
  align-items: start;
  gap: 56px;
  grid-template-columns: minmax(320px, 0.82fr) 1.18fr;
}

.director__photo {
  aspect-ratio: 3 / 5;
}

.director__quote {
  color: var(--blue);
}

.team-grid {
  display: grid;
  max-width: 1000px;
  gap: 48px 70px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}

.team-grid h3 {
  margin-top: 13px;
}

.gallery-grid {
  display: grid;
  height: 720px;
  max-width: 1000px;
  gap: 14px;
  margin: 0 auto 46px;
  grid-template-columns: 1.1fr 1.6fr 0.9fr;
  grid-template-rows: 1fr 1fr 0.92fr;
}

.gallery-grid__a {
  grid-column: 1;
  grid-row: 1;
}

.gallery-grid__b {
  grid-column: 1;
  grid-row: 2;
}

.gallery-grid__c {
  grid-column: 2;
  grid-row: 1 / 3;
}

.gallery-grid__d {
  grid-column: 3;
  grid-row: 1;
}

.gallery-grid__e {
  grid-column: 3;
  grid-row: 2;
}

.gallery-grid__f {
  grid-column: 1 / 4;
  grid-row: 3;
}

.gallery-extra {
  display: grid;
  max-width: 1000px;
  gap: 14px;
  margin: 0 auto 18px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-extra[hidden] {
  display: none;
}

.gallery-extra .media-frame {
  aspect-ratio: 4 / 3;
}

.gallery-toggle {
  cursor: pointer;
  font-family: inherit;
}

.gallery-photo {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}

.gallery-photo:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: -5px;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 3vw, 32px);
  border: 0;
  background: rgb(16 23 43 / 97%);
  color: var(--white);
}

.gallery-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
}

.gallery-lightbox::backdrop {
  background: var(--navy);
}

.gallery-lightbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
}

.gallery-lightbox button {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  color: var(--white);
  font: inherit;
  cursor: pointer;
}

.gallery-lightbox button:hover {
  background: rgb(255 255 255 / 22%);
}

.gallery-lightbox button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.gallery-lightbox button span {
  font-size: 1.5rem;
  line-height: 1;
}

.gallery-lightbox__figure {
  display: grid;
  min-height: 0;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
}

.gallery-lightbox__image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  touch-action: pan-y pinch-zoom;
}

.gallery-lightbox__caption {
  text-align: center;
  font-size: 0.95rem;
}

.gallery-lightbox__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.gallery-lightbox__counter {
  min-width: 65px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.site-footer {
  padding: 36px 0 28px;
  background: var(--white);
}

.site-footer__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  gap: 34px;
  padding: 42px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  grid-template-columns: 0.85fr 1.1fr 0.8fr 0.85fr;
}

.site-footer__panel > *:not(.site-footer__decoration) {
  position: relative;
  z-index: 1;
}

.site-footer__decoration {
  position: absolute;
  right: -26px;
  bottom: -4px;
  width: 250px;
  height: 110px;
  opacity: 0.62;
  pointer-events: none;
  user-select: none;
}

.footer-dots {
  position: absolute;
  right: -10px;
  bottom: 12px;
  width: 220px;
  height: 70px;
  border-top: 4px dotted var(--yellow);
  border-radius: 50%;
  transform: rotate(8deg);
}

.footer-sparkle {
  position: absolute;
  top: 5px;
  right: 22px;
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 34px;
}

.site-footer__brand img {
  width: 154px;
}

.site-footer__tagline {
  margin-bottom: 22px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.site-footer__nav {
  display: grid;
  gap: 3px;
}

.site-footer__address {
  font-style: normal;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-links img {
  width: 46px;
  height: 46px;
}

.social-links a:hover,
.social-links a:focus-visible {
  opacity: 0.82;
  transform: translateY(-2px);
}

.site-footer__copyright {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 13px;
    font-size: 0.7rem;
  }

  .manager-preview {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .mini-team {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .site-footer__panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .team-grid {
    max-width: 640px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decor--rails {
    width: 310px;
    opacity: 0.32;
  }

  .decor--sun {
    width: 190px;
    opacity: 0.58;
  }

  .decor--blob {
    width: 310px;
    opacity: 0.78;
  }

  .site-header__inner {
    min-height: 80px;
  }

  .site-header {
    background-color: #faf7f0;
    backdrop-filter: none;
  }

  .site-logo img {
    width: 76px;
    height: 76px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    z-index: 55;
    top: 80px;
    right: 0;
    bottom: auto;
    left: 0;
    visibility: hidden;
    overflow-y: auto;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    gap: 0;
    padding: 30px 24px;
    background-color: #faf7f0;
    box-shadow: 0 18px 32px rgb(36 50 88 / 10%);
    font-size: 0.95rem;
    opacity: 0;
    overscroll-behavior: contain;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav a {
    padding: 17px 8px;
    border-bottom: 1px solid rgb(36 50 88 / 10%);
  }

  .site-nav .button {
    margin-top: 18px;
  }

  .menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .menu-open .site-header {
    background-color: #faf7f0;
  }

  .menu-open .menu-toggle span {
    opacity: 0;
  }

  .menu-open .menu-toggle::before {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .split,
  .split--video,
  .split--kitchen,
  .director,
  .detail-card,
  .extracurricular,
  .innovation {
    grid-template-columns: 1fr;
  }

  .extracurricular {
    gap: 34px;
  }

  .extracurricular__intro h2 {
    white-space: normal;
  }

  .extracurricular__activities {
    margin-top: 0;
  }

  .media-placeholder--portrait {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

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

  .manager-preview {
    grid-template-columns: 1fr;
  }

  .media-placeholder--manager,
  .media-placeholder--director,
  .media-placeholder--innovation,
  .media-placeholder--kitchen {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .innovation {
    text-align: left;
  }

  .innovation > div:nth-child(2) {
    order: -1;
  }

  .contact-strip__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .decor--rails {
    width: 240px;
    opacity: 0.22;
  }

  .decor--sun {
    width: 150px;
    opacity: 0.4;
  }

  .decor--blob {
    width: 230px;
    opacity: 0.6;
  }

  .decor--dots {
    width: 130px;
    border-top-width: 3px;
    opacity: 0.6;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .page-section,
  .page-intro {
    padding-block: 56px;
  }

  .section-divider {
    gap: 16px;
    margin-bottom: 44px;
  }

  .segment-grid,
  .feature-grid,
  .value-grid,
  .experience-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .segment-card {
    min-height: 230px;
  }

  .method-list article {
    grid-template-columns: 1fr;
  }

  .media-placeholder--method {
    width: 100%;
  }

  .gallery-grid {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .gallery-grid > div {
    min-height: 220px;
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid__c,
  .gallery-grid__f {
    grid-column: 1 / -1 !important;
  }

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

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float img {
    width: 31px;
    height: 31px;
  }

  .site-footer__panel {
    padding: 34px 26px;
    grid-template-columns: 1fr;
  }
}

/* Entradas sutis ativadas somente quando o JavaScript estiver disponível. */
html.motion-ready [data-reveal] {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.motion-ready [data-reveal="left"] {
  transform: translate3d(-24px, 0, 0);
}

html.motion-ready [data-reveal="right"] {
  transform: translate3d(24px, 0, 0);
}

html.motion-ready [data-reveal="scale"] {
  transform: translate3d(0, 12px, 0) scale(0.975);
}

html.motion-ready [data-reveal="fade"] {
  filter: none;
  transform: none;
}

html.motion-ready [data-reveal].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  html.motion-ready [data-reveal] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
