:root {
  --blue: #409692;
  --blue-bright: #55aaa5;
  --ink: #0b2a4a;
  --muted: #596678;
  --line: #d6e3e2;
  --cloud: #f1f6f5;
  --white: #ffffff;
  --shell: min(1180px, calc(100% - 48px));
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 10px; transition: top .2s ease; }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: transform .28s ease, background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(241, 246, 245, .97); border-bottom-color: rgba(7, 20, 37, .06); box-shadow: 0 4px 20px rgba(11, 42, 74, .05); }
.site-header.is-hidden { transform: translateY(-110%); pointer-events: none; }
.nav-open .site-header { transform: none; pointer-events: auto; }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  width: 116px;
  height: auto;
}
.site-header .brand-logo {
  width: 128px;
  filter: saturate(.65) brightness(1.12);
}
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .86rem; font-weight: 750; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--blue); transition: right .25s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { right: 0; }
.nav-cta { padding: 13px 18px; color: #fff; background: var(--ink); border-radius: 999px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 780px; padding-top: 82px; overflow: hidden; background: #eef5f4; }
.hero-media { position: absolute; inset: 82px 0 0; background-image: linear-gradient(90deg, rgba(238, 245, 244, .98) 0%, rgba(238, 245, 244, .96) 27%, rgba(238, 245, 244, .3) 50%, rgba(238, 245, 244, 0) 100%), url("assets/hero-services.png"); background-position: center; background-size: cover; filter: hue-rotate(-35deg) saturate(.82); }
.hero-grid { position: relative; min-height: 698px; display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 60px; }
.hero-copy { max-width: 720px; padding: 100px 0 90px; }
.eyebrow, .kicker { margin: 0 0 26px; color: var(--blue); font-size: .74rem; line-height: 1; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 3px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 26px; font-size: clamp(3.6rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.072em; font-weight: 850; }
h1 em { color: var(--blue); font-style: normal; }
.hero-intro { max-width: 600px; margin-bottom: 38px; color: #354356; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 56px; padding: 0 24px; border-radius: 999px; font-size: .88rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 16px 40px rgba(64, 150, 146, .25); }
.button:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(64, 150, 146, .34); }
.text-link { font-size: .88rem; font-weight: 800; }
.text-link span { color: var(--blue); margin-left: 4px; }
.hero-note { align-self: end; margin-bottom: 56px; padding: 22px; color: #fff; background: rgba(7, 20, 37, .88); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; backdrop-filter: blur(12px); }
.hero-note-number { color: #7ad0ca; font-size: 2.2rem; line-height: 1; font-weight: 900; }
.hero-note p { margin: 12px 0 18px; line-height: 1.4; font-weight: 700; }
.hero-note-list { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-note-list span { padding: 6px 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .66rem; }

.proof-strip { color: #fff; background: var(--ink); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid p { position: relative; margin: 0; padding: 28px 34px 28px 0; display: grid; gap: 5px; }
.proof-grid p:not(:first-child) { padding-left: 34px; border-left: 1px solid rgba(255,255,255,.15); }
.proof-grid strong { font-size: .9rem; }
.proof-grid span { color: #96a5b9; font-size: .76rem; }

.section { padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: .62fr 1.55fr 1fr; align-items: start; gap: 50px; margin-bottom: 65px; }
.section-heading h2, .apparel-copy h2, .contact-copy h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.06em; }
.section-heading > p:last-child { color: var(--muted); font-size: .98rem; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 460px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgba(7,20,37,.1); }
.service-top { display: flex; align-items: center; justify-content: space-between; color: var(--blue); font-size: .76rem; font-weight: 800; }
.service-top i { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.4rem; font-style: normal; }
.service-card h3 { margin: 52px 0 18px; font-size: 2rem; letter-spacing: -.04em; }
.service-card > p { color: var(--muted); line-height: 1.65; }
.service-card ul { list-style: none; padding: 0; margin: 20px 0 30px; }
.service-card li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 720; }
.service-card li::before { content: "+"; color: var(--blue); margin-right: 8px; }
.service-card > a { margin-top: auto; display: flex; justify-content: space-between; font-size: .82rem; font-weight: 850; }
.service-card-blue { color: #fff; background: var(--blue); border-color: var(--blue); }
.service-card-blue .service-top, .service-card-blue > p { color: #dce9ff; }
.service-card-blue li { border-color: rgba(255,255,255,.22); }
.service-card-blue li::before { color: #fff; }
.service-card-dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.service-card-dark .service-top { color: #76afff; }
.service-card-dark > p { color: #aab6c7; }
.service-card-dark li { border-color: rgba(255,255,255,.14); }

.apparel { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.apparel::before { content: ""; position: absolute; width: 520px; height: 520px; top: -250px; right: -170px; border: 130px solid rgba(64,150,146,.3); border-radius: 50%; }
.apparel-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.kicker-light { color: #7ad0ca; }
.apparel-copy h2 { margin-bottom: 24px; }
.apparel-lead { color: #afbac9; line-height: 1.7; }
.material-bar { display: grid; grid-template-columns: 1.15fr 1fr 1fr; margin: 42px 0 34px; border-block: 1px solid rgba(255,255,255,.16); }
.material-bar div { position: relative; padding: 22px 20px 22px 0; display: grid; gap: 4px; }
.material-bar div:not(:first-child) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.16); }
.material-bar strong { font-size: 1.35rem; }
.material-bar span { color: #8f9db0; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.feature-list p { margin: 0; display: flex; gap: 11px; align-items: center; }
.feature-list span { color: #7ad0ca; font-size: .67rem; }
.feature-list strong { font-size: .77rem; }
.product-stage { min-height: 670px; position: relative; }
.product-stage::before { content: ""; position: absolute; inset: 45px 0 25px 80px; background: linear-gradient(145deg, #4ba49f, #174f66); border-radius: 40% 40% 36% 48%; transform: rotate(-5deg); }
.product-card { position: absolute; overflow: hidden; width: 300px; padding: 10px 10px 0; color: var(--ink); background: #fff; border-radius: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.product-card img { width: 100%; border-radius: 10px; aspect-ratio: 454 / 692; object-fit: cover; object-position: top; }
.product-card > div { padding: 16px 8px 18px; display: grid; gap: 3px; }
.product-card span { color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.product-card strong { font-size: 1rem; }
.product-card-student { left: 15px; top: 75px; transform: rotate(-6deg); }
.product-card-adult { right: 5px; top: 10px; transform: rotate(7deg); }

.contact { color: #fff; background: var(--blue); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-copy > p:last-child { max-width: 440px; margin-top: 28px; color: #e0f2f1; line-height: 1.7; }
.contact-actions { border-top: 1px solid rgba(255,255,255,.3); }
.contact-actions a { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 16px; min-height: 92px; border-bottom: 1px solid rgba(255,255,255,.3); transition: padding-left .2s ease; }
.contact-actions a:hover { padding-left: 10px; }
.contact-actions span { color: #dbefed; font-size: .72rem; }
.contact-actions strong { font-size: 1.08rem; }
.contact-actions i { font-size: 1.4rem; font-style: normal; }

/* Keep the chat shortcut outside transformed scroll-reveal sections. */
.whatsapp-link {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #25d366, #16b95a);
  box-shadow: 0 6px 18px rgba(11, 42, 74, .18), 0 0 22px rgba(37, 211, 102, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-link svg { position: relative; width: 30px; height: 30px; }
.whatsapp-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .45);
  animation: whatsapp-glow 3s ease-out infinite;
}
@keyframes whatsapp-glow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  75%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
.whatsapp-link:hover { transform: translateY(-3px); box-shadow: 0 9px 24px rgba(11, 42, 74, .2), 0 0 28px rgba(37, 211, 102, .5); }
.whatsapp-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.site-footer { padding: 50px 0; color: #fff; background: #071d33; }
.footer-grid { display: grid; grid-template-columns: .8fr 1.5fr 1fr; align-items: end; gap: 40px; }
.brand-footer { width: fit-content;}
.brand-footer .brand-logo { width: 130px; filter: brightness(0) invert(1);}
.site-footer p { margin: 0; font-size: .78rem; line-height: 1.7; }
.site-footer p span { color: #748298; }
.footer-end { text-align: right; letter-spacing: .08em; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 36px, 760px); }
  .hero { min-height: 900px; }
  .hero-media { background-image: linear-gradient(180deg, rgba(238,245,244,.98) 0%, rgba(238,245,244,.92) 45%, rgba(238,245,244,.08) 75%), url("assets/hero-services.png"); background-position: 62% center; }
  .hero-grid { min-height: 818px; grid-template-columns: 1fr; align-content: space-between; gap: 0; }
  .hero-copy { padding: 92px 0 20px; }
  .hero-note { width: 230px; justify-self: end; }
  .section-heading { grid-template-columns: 1fr 2fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 400px; }
  .apparel-grid { grid-template-columns: 1fr; }
  .product-stage { max-width: 660px; width: 100%; justify-self: center; }
  .contact-grid { gap: 60px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); }
  .nav-wrap { height: 72px; }
  .site-header .brand-logo { width: 120px; }
  .whatsapp-link { width: 56px; height: 56px; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .site-nav { position: fixed; inset: 0; display: grid; align-content: center; justify-items: center; gap: 30px; font-size: 1.45rem; background: #fff; opacity: 0; pointer-events: none; transform: translateY(-16px); transition: opacity .2s ease, transform .2s ease; }
  .nav-open .site-nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav-open .nav-toggle > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle > span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 820px; padding-top: 72px; }
  .hero-media { inset: 72px 0 0; background-position: 68% center; }
  .hero-grid { min-height: 748px; }
  .hero-copy { padding-top: 82px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-note { display: none; }
  .proof-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .proof-grid p, .proof-grid p:not(:first-child) { padding: 17px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .section { padding: 92px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .section-heading > p:last-child { grid-column: auto; margin-top: 20px; }
  .service-card { min-height: 430px; }
  .apparel-grid { gap: 50px; }
  .feature-list { grid-template-columns: 1fr; }
  .product-stage { min-height: 540px; }
  .product-stage::before { inset: 35px 0 20px 20px; }
  .product-card { width: min(62vw, 260px); }
  .product-card-student { left: 0; top: 80px; }
  .product-card-adult { right: 0; top: 10px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .contact-actions a { grid-template-columns: 65px 1fr auto; }
  .contact-actions strong { font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-end { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .whatsapp-link::before { animation: none; }
}
