/* ===== Architekci Jutra — Premium Landing ===== */
/* Mobile-first */

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

:root {
  --beige: #F6F4F1;
  --graphite: #2C2C2C;
  --gold: #C89B3C;
  --gold-dark: #a67f2e;
  --sage: #AEB7A0;
  --violet: #C9B5DD;
  --gray: #D8D4CF;
  --white: #ffffff;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-sub: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(44, 44, 44, 0.06);
  --shadow-hover: 0 12px 40px rgba(44, 44, 44, 0.1);
  --header-h: 72px;
  --pad: 1.25rem;
  --section-y: 4.5rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--beige);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Background */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 44, 44, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 44, 44, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.geo-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  will-change: transform;
}

.geo-shape--1 {
  width: 280px;
  height: 280px;
  top: 8%;
  right: -80px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
}

.geo-shape--2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -60px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
}

.geo-shape--3 {
  width: 120px;
  height: 120px;
  top: 45%;
  left: 40%;
  border: 1px solid var(--gold);
  background: transparent;
  opacity: 0.2;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--graphite);
  color: var(--beige);
  border-radius: var(--radius);
  font-weight: 600;
}

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

/* Typography */
.eyebrow {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-head__title {
  font-family: var(--font-head);
  font-size: clamp(1.625rem, 5vw, 2.375rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.section-head__desc {
  color: rgba(44, 44, 44, 0.72);
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-sub);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200, 155, 60, 0.35);
}

.btn--gold:hover {
  background: var(--gold-dark);
  box-shadow: 0 8px 28px rgba(200, 155, 60, 0.45);
}

.btn--outline {
  background: transparent;
  border-color: rgba(44, 44, 44, 0.2);
  color: var(--graphite);
}

.btn--outline:hover {
  border-color: var(--graphite);
  background: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--graphite);
}

.btn--light:hover {
  box-shadow: var(--shadow-hover);
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(246, 244, 241, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(44, 44, 44, 0.06);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  z-index: 210;
}

.logo__mark {
  width: 36px;
  height: 36px;
  color: var(--graphite);
}

.logo__mark svg {
  width: 100%;
  height: 100%;
}

.logo em {
  font-style: normal;
  color: var(--gold);
}

/* Nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--graphite);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 320px);
  height: 100dvh;
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  background: var(--beige);
  border-left: 1px solid var(--gray);
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 205;
  overflow-y: auto;
}

.nav.is-open {
  transform: translateX(0);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.nav__list a {
  display: block;
  padding: 0.875rem 1rem;
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.nav__list a:hover {
  background: var(--white);
}

.nav .btn {
  width: 100%;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 44, 44, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 204;
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 var(--section-y);
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(44, 44, 44, 0.75);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray);
  font-size: 0.8125rem;
  color: rgba(44, 44, 44, 0.65);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.dot--violet { background: var(--violet); }
.dot--sage { background: var(--sage); }

/* Hero illustration */
.hero-illustration {
  position: relative;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-illustration__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 60% 40%, rgba(201, 181, 221, 0.25), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-illustration__svg {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.hero-illustration__badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--beige);
  border: 1px solid var(--gray);
  border-radius: 100px;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.ai-glow {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(200, 155, 60, 0.5);
  animation: aiPulse 3s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.illust-float {
  animation: float 6s ease-in-out infinite;
}

.illust-float--slow { animation-duration: 8s; }
.illust-float--delay { animation-delay: 1s; }
.illust-float--robot { animation-duration: 5s; animation-delay: 0.5s; }

.ai-ring {
  animation: aiPulse 2s ease-in-out infinite;
}

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

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.55);
}

/* Pillars */
.pillars {
  display: grid;
  gap: 1.25rem;
}

.pillar {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar__icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.pillar__icon--ai {
  filter: drop-shadow(0 0 8px rgba(201, 181, 221, 0.6));
}

.pillar h3 {
  font-family: var(--font-sub);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.9375rem;
  color: rgba(44, 44, 44, 0.7);
}

/* Benefits */
.benefits {
  display: grid;
  gap: 1rem;
}

.benefit {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.benefit:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.benefit span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.benefit h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.benefit p {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.68);
}

/* Program timeline */
.program-timeline {
  display: grid;
  gap: 1rem;
  position: relative;
}

.program-timeline::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--violet), var(--sage));
  opacity: 0.4;
  display: none;
}

.program-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}

.program-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.program-card__num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}

.program-card h3 {
  font-family: var(--font-sub);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.program-card p {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.68);
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 560px;
  margin-inline: auto;
}

.step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 1.125rem;
  bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.875rem;
  opacity: 0.6;
}

.step__marker {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--graphite);
  color: var(--beige);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
}

.step__body h3 {
  font-family: var(--font-sub);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step__body p {
  font-size: 0.9375rem;
  color: rgba(44, 44, 44, 0.7);
}

/* Gallery masonry */
.gallery {
  columns: 1;
  column-gap: 1rem;
}

.gallery__item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray);
  background: var(--white);
}

.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease);
}

.gallery__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.6s var(--ease);
}

.gallery__placeholder span {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gallery__placeholder p {
  font-family: var(--font-sub);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(44, 44, 44, 0.6);
}

.gallery__placeholder--sage { background: linear-gradient(135deg, rgba(174, 183, 160, 0.35), rgba(246, 244, 241, 0.8)); }
.gallery__placeholder--gold { background: linear-gradient(135deg, rgba(200, 155, 60, 0.2), rgba(246, 244, 241, 0.8)); }
.gallery__placeholder--violet { background: linear-gradient(135deg, rgba(201, 181, 221, 0.4), rgba(246, 244, 241, 0.8)); }
.gallery__placeholder--gray { background: linear-gradient(135deg, var(--gray), var(--beige)); }
.gallery__placeholder--ai { background: linear-gradient(135deg, rgba(201, 181, 221, 0.3), rgba(200, 155, 60, 0.15)); }

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(44, 44, 44, 0.65), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__overlay span {
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: transform var(--transition);
}

.gallery__item:hover img,
.gallery__item:hover .gallery__placeholder {
  transform: scale(1.04);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__item:hover .gallery__overlay span {
  transform: translateY(0);
}

/* Reviews */
.reviews {
  display: grid;
  gap: 1.25rem;
}

.review {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}

.review:hover {
  box-shadow: var(--shadow-hover);
}

.review__stars {
  color: var(--gold);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
}

.review p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: rgba(44, 44, 44, 0.85);
}

.review footer {
  font-size: 0.8125rem;
  color: rgba(44, 44, 44, 0.55);
}

/* Pricing */
.pricing {
  display: grid;
  gap: 1.25rem;
}

.price-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.price-card--featured {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(200, 155, 60, 0.15);
}

.price-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.875rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
}

.price-card h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.price-card__price {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.price-card__price strong {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--graphite);
}

.price-card__desc {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.68);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray);
}

.price-card ul {
  flex: 1;
  margin-bottom: 1.5rem;
}

.price-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.75);
  margin-bottom: 0.5rem;
}

.price-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Schools */
.schools {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.schools__lead {
  font-size: 1rem;
  color: rgba(44, 44, 44, 0.72);
  margin-bottom: 1.5rem;
}

.schools__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.schools__list span {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 155, 60, 0.15);
  color: var(--gold-dark);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.schools-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.schools-card__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray);
}

.schools-card__row:last-child {
  border-bottom: none;
}

.schools-card__row span {
  font-size: 1.25rem;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  background: var(--graphite);
  color: var(--beige);
  text-align: center;
}

.cta-banner__inner {
  max-width: 640px;
}

.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4.5vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

.cta-banner p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 1.75rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0 2rem;
  background: var(--white);
  border-top: 1px solid var(--gray);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand p {
  font-size: 0.9375rem;
  color: rgba(44, 44, 44, 0.65);
  margin: 0.75rem 0 1.25rem;
  max-width: 28ch;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.footer__contact a {
  font-size: 0.9375rem;
  color: var(--gold-dark);
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--gold);
}

.footer__contact address {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.6);
  margin-top: 0.25rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray);
  border-radius: 50%;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition);
}

.footer__social a:hover {
  border-color: var(--gold);
  background: rgba(200, 155, 60, 0.08);
}

.footer__map iframe {
  width: 100%;
  height: 220px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
}

.footer__form h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--beige);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  min-height: 48px;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15);
}

.form-msg {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.25rem;
}

.form-msg.success { color: #3d7a4a; }
.form-msg.error { color: #b54545; }

.footer__copy {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(44, 44, 44, 0.5);
  padding-top: 2rem;
  border-top: 1px solid var(--gray);
}

.logo--footer {
  color: var(--graphite);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Tablet 640px+ ===== */
@media (min-width: 640px) {
  :root {
    --pad: 1.5rem;
    --section-y: 5.5rem;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

  .gallery {
    columns: 2;
  }

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

  .pricing {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .price-card--featured {
    transform: scale(1.02);
  }

  .price-card--featured:hover {
    transform: scale(1.02) translateY(-4px);
  }
}

/* ===== Desktop 768px+ ===== */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    transform: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow: visible;
  }

  .nav__list {
    flex-direction: row;
    margin-bottom: 0;
    gap: 0.125rem;
  }

  .nav__list a {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .nav .btn {
    width: auto;
  }

  .hero__grid {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .hero__content {
    flex: 1;
  }

  .hero__visual {
    flex: 0 0 46%;
  }

  .program-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .program-timeline::before {
    display: none;
  }

  .schools {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .schools__content {
    flex: 1;
  }

  .schools__visual {
    flex: 0 0 320px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__form {
    grid-column: 1 / -1;
  }
}

/* ===== Large 1024px+ ===== */
@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    columns: 3;
  }

  .gallery__item--tall {
    margin-bottom: 1rem;
  }

  .gallery__item--wide {
    column-span: all;
  }

  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr 1.2fr;
  }

  .footer__form {
    grid-column: auto;
  }

  .footer__map iframe {
    height: 100%;
    min-height: 280px;
  }

  .steps {
    max-width: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .step {
    flex-direction: column;
    text-align: center;
    padding-bottom: 0;
  }

  .step:not(:last-child)::after {
    content: "→";
    left: auto;
    right: -0.75rem;
    top: 1rem;
    bottom: auto;
  }

  .step__marker {
    margin-inline: auto;
  }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: none !important;
  }
}
