:root {
  --blue-950: #06304d;
  --blue-900: #074d78;
  --blue-800: #086494;
  --blue-100: #e8f4f8;
  --yellow: #ffd21f;
  --yellow-soft: #fff4b8;
  --ink: #13334a;
  --muted: #607486;
  --cream: #fffdf6;
  --line: #dbe6ec;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 48, 77, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

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

.topbar {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

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

.topbar-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar a:hover {
  color: var(--yellow);
}

.evaluation-link {
  color: var(--yellow);
  font-weight: 800;
}

.whatsapp-top {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #06304d;
  font-size: 0.9rem;
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 246, 0.94);
  border-bottom: 1px solid rgba(7, 77, 120, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand img {
  width: 112px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 650;
  color: #315269;
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding-block: 12px;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "⌄";
  margin-left: 6px;
  color: var(--blue-800);
}

.nav-dropdown > div {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  width: 235px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.nav-dropdown > div a {
  padding: 11px 12px;
  border-radius: 10px;
}

.nav-dropdown > div a:hover {
  background: var(--blue-100);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--yellow);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--yellow);
  color: var(--blue-950);
  box-shadow: 0 10px 28px rgba(255, 210, 31, 0.24);
}

.button-primary:hover {
  background: #ffdc4d;
  box-shadow: 0 14px 32px rgba(255, 210, 31, 0.32);
}

.button-ghost {
  border-color: rgba(7, 77, 120, 0.2);
  color: var(--blue-900);
  background: rgba(255, 255, 255, 0.54);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.34);
  color: white;
}

.mobile-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 750;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 220px;
  display: grid;
  background: white;
  padding: 12px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 12px;
  border-radius: 10px;
  font-weight: 650;
}

.mobile-menu nav strong {
  padding: 10px 12px 4px;
  color: var(--blue-800);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu nav a:hover {
  background: var(--blue-100);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 88px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 210, 31, 0.24), transparent 24%),
    linear-gradient(135deg, #fffdf6 0%, #edf8fa 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -220px;
  bottom: -200px;
  border: 76px solid rgba(7, 77, 120, 0.05);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: 74px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-800);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  color: var(--blue-950);
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 42px 0 0;
}

.hero-facts div {
  padding-left: 15px;
  border-left: 2px solid var(--yellow);
}

.hero-facts dt {
  color: var(--blue-950);
  font-size: 1.08rem;
  font-weight: 850;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  padding: 18px 18px 44px 0;
}

.hero-carousel {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.15;
  border-radius: 42px 42px 130px 42px;
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 650ms ease, transform 6s ease;
}

.hero-image-wrap img.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 48%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(6, 48, 77, 0.72);
  color: white;
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
}

.carousel-arrow.previous {
  left: 14px;
}

.carousel-arrow.next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(6, 48, 77, 0.58);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.carousel-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: var(--yellow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -18px;
  top: -12px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero-note {
  position: absolute;
  left: -42px;
  bottom: 0;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 55px rgba(6, 48, 77, 0.2);
}

.note-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--yellow-soft);
  color: var(--blue-900);
  font-size: 1.2rem;
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  margin-bottom: 4px;
  color: var(--blue-950);
}

.hero-note div span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.trust-strip {
  background: var(--blue-900);
  color: white;
}

.trust-grid {
  min-height: 82px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
  font-weight: 650;
}

.trust-grid span {
  display: flex;
  align-items: center;
  gap: 11px;
}

.trust-grid b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-950);
  background: var(--yellow);
}

.section {
  padding: 112px 0;
}

.section-heading h2,
.learning-copy h2,
.care-copy h2,
.legacy-copy h2,
.contact-card h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}

.split-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.segment-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: 0 16px 45px rgba(6, 48, 77, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(6, 48, 77, 0.13);
}

.card-image {
  overflow: hidden;
  aspect-ratio: 1.42 / 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.segment-card:hover .card-image img {
  transform: scale(1.035);
}

.card-body {
  padding: 28px;
}

.card-label {
  margin: 0 0 11px;
  color: var(--blue-800) !important;
  font-size: 0.73rem !important;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-body h3 {
  margin: 0;
  color: var(--blue-950);
  font-size: 1.55rem;
}

.card-body p {
  margin: 13px 0 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.card-body a,
.text-link,
.legacy-copy a {
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 800;
}

.materials {
  background: var(--blue-100);
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 86px;
}

.materials-copy h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.materials-intro {
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.intelligence-partnership {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(7, 77, 120, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.partnership-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--blue-950);
  font-size: 1.05rem;
  font-weight: 900;
}

.intelligence-partnership p {
  margin: 0 0 5px;
  color: var(--blue-800);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intelligence-partnership h3 {
  margin: 0 0 9px;
  color: var(--blue-950);
  font-size: 1.16rem;
}

.intelligence-partnership div > span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.56;
}

.intelligence-partnership a {
  display: inline-flex;
  gap: 7px;
  margin-top: 16px;
  color: var(--blue-900);
  font-size: 0.84rem;
  font-weight: 850;
}

.materials-visual {
  position: relative;
  padding: 0 28px 48px 0;
}

.materials-visual img {
  width: 100%;
  aspect-ratio: 0.94 / 1;
  object-fit: cover;
  border-radius: 40px 120px 40px 40px;
  box-shadow: var(--shadow);
}

.materials-visual > div {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 330px;
  padding: 19px 21px;
  border-radius: 18px;
  background: var(--blue-950);
  color: white;
  box-shadow: 0 18px 55px rgba(6, 48, 77, 0.24);
}

.materials-visual strong,
.materials-visual span {
  display: block;
}

.materials-visual strong {
  margin-bottom: 5px;
  color: var(--yellow);
}

.materials-visual span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.5;
}

.learning {
  background: var(--blue-100);
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  align-items: center;
  gap: 84px;
}

.learning-photo {
  position: relative;
}

.learning-photo img {
  width: 100%;
  aspect-ratio: 0.92 / 1;
  object-fit: cover;
  border-radius: 38px 120px 38px 38px;
  box-shadow: var(--shadow);
}

.photo-caption {
  position: absolute;
  left: 28px;
  right: 68px;
  bottom: 24px;
  padding: 17px 20px;
  border-radius: 16px;
  background: rgba(6, 48, 77, 0.88);
  color: white;
  font-size: 0.86rem;
  font-weight: 650;
  backdrop-filter: blur(10px);
}

.learning-copy .intro,
.care-copy > p {
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.feature-list {
  display: grid;
}

.feature-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(7, 77, 120, 0.14);
}

.feature-list article > span {
  color: var(--blue-800);
  font-size: 0.78rem;
  font-weight: 850;
}

.feature-list h3 {
  margin: 0 0 5px;
  color: var(--blue-950);
  font-size: 1.02rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.care {
  background: white;
}

.care-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 86px;
}

.care-subtitle {
  margin: 26px 0 15px;
  color: var(--blue-950);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #315269;
  font-size: 0.91rem;
  line-height: 1.48;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-800);
  font-weight: 900;
}

.care-photo {
  position: relative;
}

.care-photo::before {
  content: "";
  position: absolute;
  inset: -18px 22px 18px -18px;
  border: 2px solid var(--yellow);
  border-radius: 36px;
}

.care-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  border-radius: 32px;
}

.experiences {
  background: #f5f9fa;
}

.centered-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.centered-heading > p:last-child {
  margin: 20px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.experience-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: 28px;
  background: var(--blue-900);
}

.experience-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 400ms ease;
}

.experience-card:hover img {
  transform: scale(1.045);
}

.experience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 31, 49, 0.93), rgba(4, 31, 49, 0.02) 70%);
}

.experience-overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  color: white;
}

.experience-overlay p {
  margin: 0 0 9px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experience-overlay h3 {
  margin: 0 0 9px;
  font-size: 1.6rem;
}

.experience-overlay span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}

.legacy {
  overflow: hidden;
  background: var(--blue-950);
  color: white;
}

.legacy-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.56fr 1fr 1fr;
  align-items: center;
  gap: 54px;
}

.legacy-number {
  color: var(--yellow);
  font-size: clamp(4.5rem, 8vw, 8.8rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.eyebrow.light {
  color: var(--yellow);
}

.legacy-copy h2 {
  color: white;
}

.legacy-copy > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.legacy-copy > p:last-of-type {
  margin-bottom: 28px;
}

.legacy-copy a {
  color: var(--yellow);
}

.history-collage {
  position: relative;
  height: 560px;
  align-self: stretch;
}

.history-collage img {
  position: absolute;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.history-collage img:nth-child(1) {
  width: 62%;
  height: 42%;
  left: 0;
  top: 9%;
  transform: rotate(-3deg);
}

.history-collage img:nth-child(2) {
  width: 76%;
  height: 45%;
  right: -4%;
  top: 26%;
  transform: rotate(2deg);
}

.history-collage img:nth-child(3) {
  width: 58%;
  height: 37%;
  left: 8%;
  bottom: 3%;
  transform: rotate(-1deg);
}

.contact-section {
  padding: 92px 0;
  background: var(--yellow);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 70px;
}

.contact-card .eyebrow {
  color: var(--blue-900);
}

.contact-card h2 {
  max-width: 700px;
}

.contact-card p:last-child {
  max-width: 640px;
  color: #36556b;
  line-height: 1.65;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: grid;
  gap: 4px;
  padding: 17px 20px;
  border: 1px solid rgba(6, 48, 77, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.32);
  transition: background 160ms ease, transform 160ms ease;
}

.contact-links a:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.56);
}

.contact-links span {
  color: var(--blue-800);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-links strong {
  color: var(--blue-950);
  font-size: 0.94rem;
}

.contact-actions .button-primary {
  background: var(--blue-950);
  color: white;
  box-shadow: 0 12px 28px rgba(6, 48, 77, 0.22);
}

.contact-actions .button-light {
  border-color: rgba(6, 48, 77, 0.22);
  color: var(--blue-950);
}

.footer {
  padding: 72px 0 28px;
  background: #041f31;
  color: rgba(255, 255, 255, 0.7);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.75fr;
  gap: 46px;
}

.footer-brand img {
  width: 116px;
  margin-bottom: 18px;
}

.footer h3 {
  margin: 3px 0 16px;
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.76rem;
}

.legal-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.legal-notice p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.65;
}

.legal-notice > a {
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
}

.cookie-notice {
  position: fixed;
  z-index: 60;
  left: 24px;
  right: 24px;
  bottom: 20px;
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(6, 48, 77, 0.97);
  color: white;
  box-shadow: 0 20px 60px rgba(4, 31, 49, 0.3);
  backdrop-filter: blur(14px);
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.cookie-notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.5;
}

.cookie-notice a {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-notice button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-950);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .materials-grid,
  .learning-grid,
  .care-grid {
    gap: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .segment-grid,
  .experience-grid {
    gap: 16px;
  }

  .legacy-grid {
    grid-template-columns: 0.3fr 1fr 0.8fr;
    gap: 32px;
  }

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

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

  .topbar-inner {
    min-height: 34px;
    font-size: 0.7rem;
  }

  .topbar-inner > span {
    display: none;
  }

  .topbar-links {
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 92px;
  }

  .hero {
    padding: 58px 0 70px;
  }

  .hero-grid,
  .materials-grid,
  .learning-grid,
  .care-grid,
  .split-heading,
  .contact-card,
  .legacy-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-facts {
    gap: 10px;
  }

  .hero-facts dt {
    font-size: 0.92rem;
  }

  .hero-facts dd {
    font-size: 0.7rem;
  }

  .hero-visual {
    padding: 0 0 34px;
  }

  .hero-image-wrap {
    aspect-ratio: 1 / 0.95;
    border-radius: 30px 30px 90px 30px;
  }

  .hero-note {
    left: 14px;
    right: 14px;
    max-width: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 24px;
  }

  .section {
    padding: 82px 0;
  }

  .split-heading {
    gap: 18px;
    margin-bottom: 34px;
  }

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

  .segment-card {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
  }

  .card-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .card-body {
    padding: 24px;
  }

  .learning-grid,
  .materials-grid,
  .care-grid {
    gap: 44px;
  }

  .learning-photo img {
    aspect-ratio: 1 / 0.9;
  }

  .materials-visual img {
    aspect-ratio: 1 / 0.9;
  }

  .care-copy {
    order: 1;
  }

  .care-photo {
    order: 2;
  }

  .experience-card {
    min-height: 400px;
  }

  .legacy-grid {
    padding-block: 76px;
  }

  .legacy-number {
    writing-mode: initial;
    transform: none;
    line-height: 0.8;
  }

  .history-collage {
    height: 420px;
  }

  .contact-card {
    gap: 34px;
  }
}

@media (max-width: 520px) {
  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .segment-card {
    display: block;
  }

  .card-image {
    aspect-ratio: 1.42 / 1;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .legal-notice,
  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 14px;
  }

  .cookie-notice button {
    width: 100%;
  }
}

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

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