/* Interactive Learning — site styles (2026) */
:root {
  --blue: #1a8cff;
  --green: #8bc53f;
  --orange: #f5a623;
  --violet: #7b5cff;
  --ink: #0f1c2e;
  --ink-soft: #3a4a5c;
  --muted: #5c6b7a;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: rgba(15, 28, 46, 0.08);
  --shadow: 0 20px 50px rgba(15, 28, 46, 0.08);
  --radius: 1.25rem;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --nav-h: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(26, 140, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 5%, rgba(139, 197, 63, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 30% at 80% 100%, rgba(245, 166, 35, 0.08), transparent 45%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

html.is-ready body {
  opacity: 1;
}

html.is-lang-switching main,
html.is-lang-switching .site-footer {
  opacity: 0.35;
  transition: opacity 0.2s var(--ease);
}

main,
.site-footer {
  transition: opacity 0.28s var(--ease);
}

/* —— Scroll progress —— */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
  pointer-events: none;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 251, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(15, 28, 46, 0.06);
  border: 1px solid var(--line);
}

.lang-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, transform 0.25s var(--ease);
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.04);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
}

.brand-mark {
  height: 2.35rem;
  width: 2.35rem;
  object-fit: contain;
}

.brand-full {
  display: none;
  height: 2.5rem;
  width: auto;
  max-width: min(62vw, 14rem);
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s, transform 0.25s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(26, 140, 255, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 1.15rem;
}

.nav .nav-cta:hover {
  background: #1a2a40;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

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

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(26, 140, 255, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

.btn-primary:hover {
  background: #0070e0;
  box-shadow: 0 16px 36px rgba(26, 140, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #1a2a40;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 36, 0.28) 0%, rgba(8, 20, 36, 0.48) 45%, rgba(8, 20, 36, 0.86) 100%),
    linear-gradient(90deg, rgba(8, 20, 36, 0.5) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 12vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 1rem;
  max-width: 12ch;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75));
  overflow: visible;
}

.hero-brand span {
  display: block;
  background: linear-gradient(
    105deg,
    #7fd4f5 0%,
    #ffe66d 28%,
    #ffc15e 45%,
    #d4a0ff 68%,
    #b8e986 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.35rem;
  line-height: 1.5;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.35rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.7s forwards;
}

.hero-contact li {
  list-style: none;
}

.hero-contact a,
.hero-contact-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s var(--ease);
}

.hero-contact a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.hero-contact a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.hero-contact svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-contact-hours {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.9s forwards;
}

.hero-scroll span {
  display: inline-block;
  animation: bob 2.2s ease-in-out 1.8s infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Sections —— */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  margin-bottom: 0.65rem;
  max-width: 20ch;
}

.section-desc {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.section-head {
  margin-bottom: 1.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), filter 0.75s var(--ease);
  filter: blur(4px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-left {
  transform: translateX(-2rem);
}

.reveal-right {
  transform: translateX(2rem);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: none;
}

/* —— Services —— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  margin-top: 1.75rem;
}

.service-item {
  padding-top: 1.1rem;
  border-top: 2px solid var(--line);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-item:hover {
  border-top-color: var(--blue);
  transform: translateY(-4px);
}

.service-item:nth-child(2):hover {
  border-top-color: var(--green);
}

.service-item:nth-child(3):hover {
  border-top-color: var(--orange);
}

.service-item:nth-child(4):hover {
  border-top-color: var(--violet);
}

.service-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  transition: color 0.3s;
}

.service-item:hover h3 {
  color: var(--blue);
}

.service-item:nth-child(2):hover h3 {
  color: #6aa01f;
}

.service-item:nth-child(3):hover h3 {
  color: #d4890a;
}

.service-item:nth-child(4):hover h3 {
  color: var(--violet);
}

.service-item p {
  color: var(--muted);
}

.service-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.7rem;
  border-radius: 0.6rem;
  display: grid;
  place-items: center;
  background: rgba(26, 140, 255, 0.1);
  transition: transform 0.4s var(--ease), background 0.3s;
}

.service-item:hover .service-icon {
  transform: scale(1.12) rotate(-4deg);
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.service-item:nth-child(2) .service-icon {
  background: rgba(139, 197, 63, 0.15);
}

.service-item:nth-child(2) .service-icon svg {
  stroke: #6aa01f;
}

.service-item:nth-child(3) .service-icon {
  background: rgba(245, 166, 35, 0.15);
}

.service-item:nth-child(3) .service-icon svg {
  stroke: #d4890a;
}

.service-item:nth-child(4) .service-icon {
  background: rgba(123, 92, 255, 0.12);
}

.service-item:nth-child(4) .service-icon svg {
  stroke: var(--violet);
}

/* —— About —— */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7) 20%, rgba(255, 255, 255, 0.7) 80%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 20rem;
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.about-visual:hover img {
  transform: scale(1.05);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(8, 20, 36, 0.45));
  z-index: 1;
  pointer-events: none;
}

.about-copy .section-desc {
  margin-bottom: 1rem;
}

.about-points {
  display: grid;
  gap: 0.35rem;
}

.about-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.about-points li:hover {
  transform: translateX(6px);
}

.about-points li:last-child {
  border-bottom: none;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin-top: 0.45rem;
  background: var(--blue);
  transition: transform 0.35s var(--ease);
}

.about-points li:hover .dot {
  transform: scale(1.35);
}

.about-points li:nth-child(2) .dot {
  background: var(--green);
}

.about-points li:nth-child(3) .dot {
  background: var(--orange);
}

.about-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.about-points span {
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Partners —— */
.partners-intro {
  margin-bottom: 1.5rem;
}

.partners-list {
  display: grid;
  gap: 0;
}

.partner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.partner:hover {
  background: rgba(255, 255, 255, 0.65);
}

.partner:last-child {
  border-bottom: 1px solid var(--line);
}

.partner-logo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.partner:hover .partner-logo {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 140, 255, 0.25);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: none;
  transition: transform 0.45s var(--ease);
}

.partner:hover .partner-logo img {
  transform: scale(1.04);
}

.partner h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.partner .meta {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.partner p {
  color: var(--muted);
  max-width: 42rem;
}

/* —— Contact —— */
.contact-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--white);
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.contact-shell:hover {
  box-shadow: 0 28px 60px rgba(15, 28, 46, 0.12);
}

.contact-form-wrap {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-aside {
  background:
    linear-gradient(160deg, #0f1c2e 0%, #15324a 55%, #0b4d6e 100%);
  color: var(--white);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-aside h3 {
  font-size: 1.5rem;
}

.contact-aside p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  transition: transform 0.3s var(--ease);
}

.info-row:hover {
  transform: translateX(4px);
}

.info-row strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.info-row a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.info-row a:hover {
  text-decoration-color: var(--white);
}

.info-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.35s var(--ease);
}

.info-row:hover .info-icon {
  background: rgba(139, 197, 63, 0.25);
  transform: scale(1.08);
}

.info-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 140, 255, 0.2);
  background: var(--white);
  transform: translateY(-1px);
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.form-actions {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.4em;
}

.form-status.is-ok {
  color: #3d8b1a;
}

.form-status.is-err {
  color: #c0392b;
}

.form-status.is-wait {
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  padding: 1.5rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  height: 1.85rem;
  width: 1.85rem;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-block;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    z-index: 90;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
  }

  .nav .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }

  .about-grid,
  .contact-shell,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-visual,
  .about-visual img {
    min-height: 14rem;
  }

  .partner {
    grid-template-columns: 140px 1fr;
    gap: 1rem;
  }

  .partner-logo {
    max-width: none;
  }

  .hero-content {
    padding: 2.75rem 0 3.5rem;
  }

  .brand {
    background: transparent;
    padding: 0;
    border-radius: 0;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    margin-right: 0.65rem;
    height: 2.4rem;
    overflow: hidden;
  }

  .brand-mark,
  .brand-text {
    display: none !important;
  }

  .brand-full {
    display: block !important;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .header-actions {
    flex-shrink: 0;
  }

  .header-inner {
    gap: 0.5rem;
    width: min(1120px, calc(100% - 1.25rem));
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

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

  body,
  html.is-ready body {
    opacity: 1;
    transition: none;
  }

  .hero-media img,
  .hero-brand,
  .hero-lead,
  .hero-actions,
  .hero-scroll,
  .hero-scroll span,
  .reveal,
  .service-item,
  .partner-logo,
  .about-visual img,
  .scroll-progress {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none !important;
    filter: none !important;
  }
}
