:root {
  --color-background: #eef4fb;
  --color-foreground: #ffffff;
  --color-heading: #17324a;
  --color-text: #425b6c;
  --color-muted: #7b8ea0;
  --color-accent: #489ad6;
  --color-border: rgba(76, 118, 152, 0.16);
  --shadow-soft: 0 28px 60px rgba(25, 71, 109, 0.16);
  --shadow-card: 0 20px 46px rgba(30, 72, 105, 0.12);
  --font-heading: "Quicksand", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "DM Sans", "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --container-width: min(1080px, 90vw);
  --transition: 0.3s ease;
  --wc-blue: rgba(129, 199, 249, 0.28);
  --wc-lilac: rgba(173, 193, 247, 0.24);
  --wc-sand: rgba(246, 232, 206, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 25%, rgba(129, 198, 247, 0.22), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(161, 206, 251, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(240, 247, 253, 1), rgba(226, 237, 245, 0.92)),
    var(--color-background);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1400px 700px at 15% 20%, var(--wc-blue), transparent 70%),
    radial-gradient(1200px 600px at 80% 0%, rgba(156, 214, 255, 0.22), transparent 70%),
    radial-gradient(900px 600px at 30% 85%, rgba(205, 230, 255, 0.18), transparent 70%);
  opacity: 0.75;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.16) 0,
      rgba(255, 255, 255, 0.16) 1.2px,
      transparent 1.2px,
      transparent 6px
    ),
    repeating-radial-gradient(
      circle at 80% 40%,
      rgba(72, 154, 214, 0.08) 0,
      rgba(72, 154, 214, 0.08) 1px,
      transparent 1px,
      transparent 8px
    );
  mix-blend-mode: lighten;
  opacity: 0.18;
  z-index: -1;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

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

.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;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

ul {
  padding-left: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #6eb9e4, #9dd8f1);
  color: #0e2a41;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 20px 40px rgba(31, 99, 150, 0.2);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px rgba(31, 99, 150, 0.24);
}

.button--ghost {
  background: transparent;
  color: var(--color-heading);
  border: 1px solid rgba(91, 138, 176, 0.35);
  box-shadow: none;
}

.button--small {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge--light {
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-muted);
  border: 1px solid rgba(111, 150, 180, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem clamp(1.5rem, 4vw, 4rem);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(90, 134, 167, 0.14);
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
}

.navbar__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  box-shadow: 0 10px 22px rgba(23, 50, 74, 0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}

.navbar__brand:hover .navbar__logo,
.navbar__brand:focus-visible .navbar__logo {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 16px 30px rgba(23, 50, 74, 0.22);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar__links a {
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--color-muted);
  transition: color var(--transition), transform var(--transition);
  position: relative;
  padding: 0.3rem 0;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px 0;
  height: 8px;
  border-radius: 999px;
  background: rgba(116, 180, 233, 0.45);
  opacity: 0;
  transform: translateY(6px) scaleX(0.2);
  transition: transform var(--transition), opacity var(--transition);
  pointer-events: none;
}

.navbar__links a:hover,
.navbar__links a:focus-visible {
  color: var(--color-heading);
  transform: translateY(-2px) scale(1.05);
}

.navbar__links a:hover::after,
.navbar__links a:focus-visible::after {
  opacity: 1;
  transform: translateY(0) scaleX(1);
}

.navbar__links a:active {
  transform: translateY(-1px) scale(1.1);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  margin: 5px 0;
  transition: var(--transition);
}

.site-header {
  position: relative;
  overflow: hidden;
}

.hero {
  position: relative;
  padding: min(9rem, 12vh) 0 6rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -12% -10% -8%;
  background:
    radial-gradient(800px 520px at 20% 35%, var(--wc-blue), transparent 72%),
    radial-gradient(680px 480px at 85% 25%, var(--wc-lilac), transparent 75%),
    radial-gradient(520px 380px at 60% 80%, var(--wc-sand), transparent 70%);
  opacity: 0.55;
  filter: blur(12px);
  mix-blend-mode: lighten;
  pointer-events: none;
  z-index: -1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(129, 199, 249, 0.24), transparent 55%),
    radial-gradient(circle at 75% 18%, rgba(162, 215, 255, 0.24), transparent 60%),
    linear-gradient(180deg, rgba(233, 243, 250, 0.94), rgba(224, 236, 245, 0.92));
  mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 0.7), transparent 72%);
  z-index: -1;
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
}

.hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  align-items: center;
  gap: 2.4rem;
}

.hero__text {
  display: grid;
  gap: 1.8rem;
}

.hero__title {
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__subtitle {
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__description {
  max-width: 520px;
}

.hero__portrait {
  width: clamp(200px, 28vw, 280px);
  height: clamp(200px, 28vw, 280px);
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 22px 44px rgba(19, 56, 88, 0.18);
  align-self: flex-start;
  transform: translate(64px, 126px) scale(1.32);
}

.section {
  padding: 3rem 0 5.2rem;
  position: relative;
  scroll-margin-top: 112px;
  min-height: calc(100vh - 112px);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 420px at 12% 18%, rgba(129, 199, 249, 0.22), transparent 70%),
    radial-gradient(620px 460px at 88% 12%, rgba(173, 193, 247, 0.22), transparent 70%),
    radial-gradient(560px 480px at 40% 90%, rgba(255, 240, 222, 0.18), transparent 72%);
  opacity: 0.45;
  filter: blur(18px);
  z-index: -1;
}

.section--reel {
  background: rgba(255, 255, 255, 0.88);
}

.section--animation {
  background: rgba(233, 242, 251, 0.7);
}

.section--services {
  background: rgba(255, 255, 255, 0.92);
  padding-top: 4.6rem;
  padding-bottom: 6.8rem;
}

.section--contact {
  padding-top: 5.4rem;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.2rem;
  display: grid;
  gap: 1rem;
}

.section__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.section__tagline {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  color: var(--color-muted);
}

.section-nav {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0.25rem 0 1.8rem;
}

.section-nav a {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-muted);
  position: relative;
  padding: 0.2rem 0;
  transition: color var(--transition), transform var(--transition);
}

.section-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(116, 180, 233, 0.4);
  opacity: 0;
  transform: translateY(4px) scaleX(0.2);
  transition: opacity var(--transition), transform var(--transition);
}

.section-nav a:hover,
.section-nav a:focus-visible {
  color: var(--color-heading);
  transform: translateY(-2px);
}

.section-nav a:hover::after,
.section-nav a:focus-visible::after {
  opacity: 1;
  transform: translateY(0) scaleX(1);
}

.video-gallery__title {
  margin-top: 1rem;
  margin-bottom: 1.8rem;
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.demo-reel-frame {
  margin-top: 2.4rem;
  margin-bottom: 3.4rem;
  display: flex;
  justify-content: center;
}

.demo-reel-frame video {
  width: min(760px, 88%);
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  border: 1px solid rgba(90, 134, 167, 0.25);
  box-shadow: var(--shadow-card);
  background: rgba(255, 255, 255, 0.85);
}

.video-gallery {
  margin-top: 2.8rem;
  margin-bottom: 3.4rem;
  display: grid;
  gap: 3.4rem;
}

.video-card {
  background: var(--color-foreground);
  border-radius: 24px;
  border: 1px solid rgba(90, 134, 167, 0.2);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: stretch;
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover,
.video-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(25, 71, 109, 0.18);
}

.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, rgba(109, 181, 234, 0.4), rgba(162, 214, 251, 0.45));
  min-height: 220px;
}

.video-card__frame video,
.video-card__frame iframe,
.video-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

.video-card__frame--link a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

.youtube-pill {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.video-card__content {
  padding: 1.8rem;
  display: grid;
  gap: 0.9rem;
}

.video-card__content h3 {
  font-size: 1.4rem;
}

.video-card__content p {
  color: var(--color-muted);
}

.video-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0.2rem 0 0;
}

.video-features li {
  padding: 0.45rem 0.9rem;
  border-radius: 14px;
  background: rgba(111, 178, 232, 0.16);
  color: var(--color-heading);
  font-weight: 500;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.case-card {
  background: var(--color-foreground);
  border-radius: 26px;
  border: 1px solid rgba(90, 134, 167, 0.2);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: 180px auto;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.case-card:hover,
.case-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(25, 71, 109, 0.18);
}

.case-card__media {
  position: relative;
  background: linear-gradient(120deg, rgba(109, 181, 234, 0.65), rgba(173, 215, 251, 0.58));
  display: flex;
  justify-content: flex-end;
  padding: 1.2rem;
  overflow: hidden;
}

.case-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 55%);
  transform: scale(0.8);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.case-card:hover .case-card__media::before,
.case-card:focus-within .case-card__media::before {
  opacity: 1;
  transform: scale(1);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chip--accent {
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-heading);
  border: 1px solid rgba(107, 161, 202, 0.4);
}

.case-card__content {
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.case-card__link {
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition), color var(--transition);
}

.case-card__link::after {
  content: "→";
  transition: transform var(--transition);
}

.case-card__link:hover::after,
.case-card__link:focus-visible::after {
  transform: translateX(4px);
}

.case-card__link:hover,
.case-card__link:focus-visible {
  gap: 0.55rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4.6rem;
}

.service-card {
  background: var(--color-foreground);
  border-radius: 22px;
  border: 1px solid rgba(90, 134, 167, 0.18);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 30px 58px rgba(25, 71, 109, 0.16);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto 18px;
  height: 4px;
  border-radius: 999px;
  background: rgba(116, 180, 233, 0.35);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.service-card:hover::after,
.service-card:focus-within::after {
  opacity: 1;
  transform: translateY(-4px);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.timeline {
  margin-top: 4.8rem;
  display: grid;
  gap: 1.4rem;
  border-left: 2px solid rgba(107, 161, 202, 0.35);
  padding-left: 1.8rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  border-left: 2px dashed rgba(107, 161, 202, 0.2);
}

.timeline__step {
  display: grid;
  grid-template-columns: 50px auto;
  gap: 1.2rem;
  align-items: start;
}

.timeline__step span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 181, 234, 0.2);
  color: var(--color-heading);
  font-weight: 600;
}

.timeline__step h4 {
  margin-bottom: 0.3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: stretch;
}

.contact-card,
.contact-form {
  background: var(--color-foreground);
  border: 1px solid rgba(90, 134, 167, 0.2);
  border-radius: 26px;
  padding: 2.6rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1.6rem;
  align-content: flex-start;
  height: 100%;
}

.contact-item {
  font-weight: 500;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.6rem;
}

.contact-list span {
  font-weight: 600;
  color: var(--color-heading);
  margin-right: 0.4rem;
}

.contact-list__social {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(98, 150, 192, 0.3);
  box-shadow: 0 16px 28px rgba(25, 71, 109, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(72, 154, 214, 0.5);
  box-shadow: 0 22px 38px rgba(25, 71, 109, 0.18);
}

.resume-block {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.resume-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(98, 150, 192, 0.3);
  box-shadow: 0 16px 28px rgba(25, 71, 109, 0.14);
  transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.resume-icon-link:hover,
.resume-icon-link:focus-visible {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(72, 154, 214, 0.5);
  box-shadow: 0 22px 38px rgba(25, 71, 109, 0.18);
}

.resume-icon {
  width: 36px;
  height: 36px;
}

.contact-form {
  gap: 1.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.form-grid label {
  display: grid;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--color-heading);
}

.form-grid__full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(117, 151, 178, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-heading);
  transition: border var(--transition), box-shadow var(--transition);
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(72, 154, 214, 0.55);
  box-shadow: 0 0 0 3px rgba(72, 154, 214, 0.18);
}

.hidden {
  display: none;
}

.footer {
  padding: 2.8rem 0;
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(90, 134, 167, 0.14);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer__top {
  font-weight: 600;
}

[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="100"] {
  transition-delay: 0.1s;
}

[data-animate-delay="120"] {
  transition-delay: 0.12s;
}

[data-animate-delay="200"] {
  transition-delay: 0.2s;
}

[data-animate-delay="300"] {
  transition-delay: 0.3s;
}

@media (max-width: 1080px) {
  .hero__intro {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.8fr);
  }

  .hero__portrait {
    transform: translate(40px, 96px) scale(1.25);
  }
}

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

  .hero__intro {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero__text {
    text-align: center;
  }

  .hero__portrait {
    transform: none;
    width: clamp(200px, 45vw, 240px);
    height: clamp(200px, 45vw, 240px);
    justify-self: center;
  }

  .section-nav {
    justify-content: center;
  }

  .video-card {
    grid-template-columns: 1fr;
  }

  .video-card__frame {
    aspect-ratio: auto;
    min-height: 220px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    border-left: none;
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline__step {
    grid-template-columns: auto;
  }

  .footer__content {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 840px) {
  .navbar {
    position: relative;
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__links {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    width: min(280px, 80vw);
    padding: 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(90, 134, 167, 0.2);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 22px 38px rgba(25, 71, 109, 0.16);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .navbar__links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .section-nav {
    gap: 1.4rem;
  }

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

  .form-grid__full {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 6rem 0 4rem;
  }

  .video-gallery__title {
    margin-top: 2rem;
  }

  .video-card__content {
    padding: 1.4rem;
  }

  .contact-card,
  .contact-form {
    padding: 2rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}
