@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --bg: #f5f7fa;
  --ink: #111f2c;
  --muted: #657382;
  --blue: #17334f;
  --blue-2: #0c2946;
  --teal: #36a18f;
  --teal-2: #54c5ad;
  --line: rgba(23, 51, 79, 0.12);
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(17, 31, 44, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 7vw, 96px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(12, 41, 70, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.brand span { font-family: "Instrument Serif", serif; font-size: 22px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}
.main-nav a { opacity: 0.92; }
.nav-cta {
  padding: 13px 25px;
  background: var(--teal);
  border-radius: 999px;
  color: #fff;
}
.nav-cta, .btn {
  transform: translateY(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}
.nav-cta:hover, .btn.primary:hover {
  transform: translateY(-3px);
  background: #40b39f;
  box-shadow: 0 18px 34px rgba(12, 82, 72, 0.36), 0 8px 0 rgba(11, 82, 69, 0.22);
}
.btn.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 18px 34px rgba(8, 37, 65, 0.24);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg { object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 37, 65, 0.86), rgba(10, 53, 82, 0.54) 44%, rgba(8, 37, 65, 0.12)),
    linear-gradient(0deg, rgba(245, 247, 250, 0.92), rgba(245, 247, 250, 0) 20%, rgba(0,0,0,0) 65%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 48px));
  margin-left: clamp(24px, 13vw, 190px);
  padding-top: 80px;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.eyebrow {
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.13);
  border-radius: 999px;
}
.eyebrow span, .hero-stats span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-2);
}
h1, h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}
h1 {
  max-width: 900px;
  font-size: clamp(58px, 7vw, 96px);
}
h1 em {
  display: block;
  font-style: italic;
}
h2 {
  color: var(--blue);
  font-size: clamp(46px, 6vw, 72px);
}
h3 { margin: 0; color: var(--blue); font-size: 24px; }
.hero-text {
  margin: 28px 0 36px;
  max-width: 600px;
  color: rgba(255,255,255,0.78);
  font-size: 20px;
}
.hero-actions, .hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
}
.btn.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 16px 32px rgba(54, 161, 143, 0.26);
}
.btn.ghost {
  border: 1px solid rgba(255,255,255,0.32);
  color: #fff;
  min-width: 218px;
}
.hero-stats {
  margin-top: 88px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}
.hero-stats i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.hero-stats span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.8);
}

.section { padding: 128px 0; }
.center { text-align: center; }
.narrow { max-width: 820px; }
.section-kicker { color: var(--teal); margin-bottom: 16px; }
.lead, .center > p, .story-copy p, .about p, .ready p, .contact p, .rent p {
  color: var(--muted);
  font-size: 18px;
}
.story-grid, .about-grid, .location-grid, .contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.story-copy p { margin: 0 0 22px; }
.signature { color: var(--blue) !important; font-weight: 700; }
.story-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 44px;
}
.story-stats div, .feature-grid article, .address-card, form, .rent-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.story-stats div { padding: 22px 24px; }
.story-stats small {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}
.story-stats strong {
  display: block;
  margin: 8px 0;
  color: var(--blue);
  font-family: "Instrument Serif", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}
.story-stats span { color: var(--muted); }

.wide-slider {
  height: 550px;
  overflow: hidden;
  position: relative;
}
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}
.slides img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-section { background: #fff; }
.reveal-up {
  opacity: 0;
  transform: translateY(54px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up .photo-grid > *, .reveal-up .about-grid > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-up.in-view .photo-grid > *, .reveal-up.in-view .about-grid > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up.in-view .photo-grid > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-up.in-view .photo-grid > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-up.in-view .photo-grid > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-up.in-view .photo-grid > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-up.in-view .photo-grid > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-up.in-view .photo-grid > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-up.in-view .photo-grid > *:nth-child(8) { transition-delay: 0.42s; }
.reveal-up.in-view .about-grid > *:nth-child(2) { transition-delay: 0.14s; }
.photo-grid, .moment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.photo-grid button, .moment-grid figure {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: #000;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.photo-grid img, .photo-grid video, .moment-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.photo-grid span, .moment-grid figcaption {
  position: absolute;
  inset: auto 16px 16px;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.photo-grid button::after, .moment-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,37,65,0.62), rgba(8,37,65,0.03));
}
.photo-grid span, .moment-grid figcaption { z-index: 1; }
.photo-grid button:hover img, .moment-grid figure:hover img { transform: scale(1.05); }

.pain-cta, .map-cta {
  padding: 96px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), #1e6e80 65%, var(--teal));
}
.pain-cta p, .map-cta p { margin: 0 0 10px; color: rgba(255,255,255,0.75); font-size: 20px; }
.pain-cta h2 {
  max-width: 920px;
  margin-bottom: 30px;
  color: #fff;
}
.pain-cta.dark { background: linear-gradient(135deg, #09243d, #123c5e 56%, #36a18f); }

.animated-word {
  display: inline-block;
  color: transparent;
  background: linear-gradient(110deg, #17334f, #36a18f, #74c8dd, #17334f);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: word-shimmer 4.6s ease-in-out infinite;
}
@keyframes word-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.carousel-shell {
  position: relative;
  margin-top: 42px;
}
.testimonial-strip, .team-strip {
  display: flex;
  gap: 22px;
  overflow: hidden;
  padding: 8px 2px 24px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.testimonial-strip img {
  flex: 0 0 268px;
  height: 322px;
  width: 268px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 31, 44, 0.12);
  scroll-snap-align: start;
}
.carousel-arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 51, 79, 0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--blue);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(17, 31, 44, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carousel-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(17, 31, 44, 0.2);
}
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.feature-grid article { padding: 30px; }
.feature-grid p { color: var(--muted); }
.feature-grid span { color: var(--teal); font-weight: 700; font-size: 14px; }

.moments { background: #fff; }
.moments .lead { max-width: 780px; }
.portrait {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
blockquote {
  margin: 30px 0 10px;
  padding-left: 22px;
  border-left: 4px solid var(--teal);
  color: var(--blue);
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  line-height: 1.15;
}
.map-cta h3 {
  color: #fff;
  font-family: "Instrument Serif", serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
}
.team-strip img {
  flex: 0 0 540px;
  width: 540px;
  height: 420px;
  object-fit: cover;
  border-radius: 30px;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
}

.services { background: linear-gradient(180deg, var(--bg), #fff 45%, var(--bg)); }
.service-groups h3 {
  margin: 70px 0 24px;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 38px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-grid.two { grid-template-columns: repeat(2, 1fr); }
.service-grid.single { grid-template-columns: minmax(280px, 380px); }
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17, 31, 44, 0.08);
}
.service-card img, .service-card > div {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.service-card .service-image-logo {
  position: relative;
  display: block;
  height: 240px;
  overflow: hidden;
  background: #e6f3f2;
}
.service-card .service-image-logo > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card .service-image-logo .program-logo {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(6, 58, 75, 0.24);
  background: rgba(255, 255, 255, 0.86);
}
.service-card > div {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dce9ef, #f7fafb);
  color: #7a8794;
  font-weight: 800;
}
.service-card .service-image-logo {
  display: block;
  background: #e6f3f2;
}
.service-card h4 {
  margin: 24px 24px 10px;
  color: var(--blue);
  font-size: 22px;
}
.service-card p {
  margin: 0 24px 22px;
  color: var(--muted);
  flex: 1;
}
.service-card span {
  margin: 0 24px 24px;
  color: var(--teal);
  font-weight: 800;
}
.ready small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
}
.location { background: #fff; }
.map-frame {
  height: 430px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.address-card { padding: 38px; align-self: end; }
.address-card p { color: var(--muted); line-height: 1.8; }
.contact-grid form {
  padding: 34px;
  display: grid;
  gap: 18px;
}
label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
}
input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
}
.rent { padding-top: 0; }
.rent-box {
  padding: clamp(44px, 7vw, 76px);
  text-align: center;
  background: linear-gradient(135deg, #fff, #eaf6f4);
}
.rent-box p {
  max-width: 780px;
  margin: 24px auto 32px;
}
.site-footer {
  padding: 56px 0;
  background: #0b2238;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.site-footer h3 {
  color: #fff;
  font-family: "Instrument Serif", serif;
  font-size: 42px;
  font-weight: 400;
}
.site-footer p { color: rgba(255,255,255,0.68); margin: 8px 0 0; }
.socials { display: flex; gap: 18px; flex-wrap: wrap; }
.socials a { color: rgba(255,255,255,0.82); font-weight: 700; }
.footer-grid > p { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
.floating-whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 40;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #20d66b;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(32, 214, 107, 0.35);
}

@media (max-width: 980px) {
  .site-header { height: 72px; padding: 0 20px; }
  .menu-toggle {
    display: inline-flex;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
  }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: rgba(12, 41, 70, 0.96);
    border-radius: 22px;
  }
  .main-nav.open { display: flex; }
  .hero-content { margin-left: 24px; padding-right: 24px; }
  .hero-stats { margin-top: 56px; }
  .story-grid, .about-grid, .location-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .story-stats, .feature-grid, .photo-grid, .moment-grid, .service-grid, .service-grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .service-grid.single { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 86px 0; }
  .hero { min-height: 760px; }
  h1 { font-size: 56px; }
  h2 { font-size: 44px; }
  .hero-text, .lead, .center > p, .story-copy p, .about p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .btn { width: 100%; }
  .story-stats, .feature-grid, .photo-grid, .moment-grid, .service-grid, .service-grid.two {
    grid-template-columns: 1fr;
  }
  .wide-slider { height: 340px; }
  .testimonial-strip img { flex-basis: 280px; }
  .team-strip img { flex-basis: 310px; height: 300px; }
  .carousel-arrow.prev { left: -10px; }
  .carousel-arrow.next { right: -10px; }
  .portrait { min-height: 420px; }
  .floating-whatsapp { width: 54px; height: 54px; right: 18px; bottom: 18px; }
}
