:root {
  --bg: #edf4fb;
  --bg-soft: #f6fafe;
  --paper: rgba(246, 251, 255, 0.88);
  --surface: #f8fbff;
  --surface-strong: #e3edf8;
  --ink: #1b2740;
  --muted: #66758c;
  --line: rgba(56, 82, 118, 0.12);
  --accent: #84a7d6;
  --accent-deep: #5c7aa4;
  --forest: #2d5a4b;
  --shadow: 0 22px 60px rgba(31, 34, 40, 0.11);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --display: "Fraunces", serif;
  --body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(132, 167, 214, 0.08), transparent 26%),
    radial-gradient(circle at right 15%, rgba(191, 209, 231, 0.1), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #fbfdff 100%);
  color: var(--ink);
  font: 15px/1.65 var(--body);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

main {
  overflow: clip;
}

.skip-link {
  position: fixed;
  top: -56px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 14px;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
}

.site-header.scrolled .nav-shell {
  background: rgba(245, 250, 255, 0.96);
  border-color: rgba(27, 39, 64, 0.08);
  box-shadow: 0 10px 30px rgba(27, 39, 64, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 12px 18px 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(246, 251, 255, 0.74);
  backdrop-filter: blur(18px);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(56, 82, 118, 0.16);
  border-radius: 999px;
  background: rgba(238, 246, 255, 0.75);
}

.lang-button {
  min-width: 36px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.lang-button.active {
  background: #ffffff;
  color: var(--ink);
}

.site-nav a,
.nav-phone,
.footer-social a {
  position: relative;
}

.site-nav a::after,
.nav-phone::after,
.footer-social a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.nav-phone:hover::after,
.footer-social a:hover::after {
  left: 0;
  right: auto;
  width: 100%;
}

.nav-phone {
  font-weight: 700;
  color: var(--accent-deep);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -114px;
  padding: 170px 0 88px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 28, 44, 0.88), rgba(15, 28, 44, 0.52)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=90") center/cover;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(247, 241, 232, 0) 0%, rgba(247, 241, 232, 1) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(255, 236, 215, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.hero-card-main h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 8.8ch;
  color: #fffaf4;
  font-size: clamp(2.6rem, 4.8vw, 4.55rem);
  line-height: 0.98;
}

.hero h1 em,
.section-heading h2 em,
.contact-copy h2 em {
  color: #d8e8ff;
  font-style: normal;
}

.lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(239, 245, 255, 0.84);
  font-size: 16px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #9eb9df 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(132, 167, 214, 0.28);
}

.button-secondary {
  border-color: rgba(229, 240, 255, 0.44);
  background: rgba(240, 247, 255, 0.09);
  color: #f5f9ff;
}

.contact-actions .button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin-top: 38px;
}

.hero-metrics article,
.hero-card,
.feature-card,
.service-card,
.director-card,
.license-card,
.contact-panel,
.process-list article,
.map-card,
.signal-track {
  backdrop-filter: blur(10px);
}

.hero-metrics article {
  padding: 18px;
  border: 1px solid rgba(226, 237, 249, 0.2);
  border-radius: var(--radius-md);
  background: rgba(236, 244, 253, 0.12);
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(237, 245, 255, 0.72);
  font-size: 12px;
}

.hero-panel {
  display: block;
  align-self: end;
  max-width: 460px;
  margin-left: auto;
  padding-top: 28px;
}

.hero-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card-main {
  position: relative;
  padding: 34px 30px;
  padding-right: 136px;
  background: rgba(243, 248, 253, 0.93);
}

.hero-card-main p,
.license-card p,
.section-note,
.about-story p,
.service-card p,
.process-list p,
.contact-copy p,
.contact-details p,
.contact-details a,
.feature-card p,
.trust-copy blockquote {
  color: var(--muted);
}

.hero-card-main > p,
.license-label,
.service-index,
.feature-card small,
.contact-details small,
.director-card small {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-card-main h2 {
  max-width: 10ch;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 1.08;
}

.hero-card-main ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-card-main li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
}

.hero-card-main li + li {
  margin-top: 12px;
}

.hero-card-main li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card-meta {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 39, 64, 0.08);
}

.hero-card-meta span {
  display: inline-block;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-card-meta strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.hero-stamp {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(222, 236, 252, 0.45);
  border-radius: 50%;
  background: rgba(92, 122, 164, 0.08);
  color: var(--accent-deep);
  text-align: center;
}

.hero-stamp span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-stamp strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 24px;
}

@media (min-width: 1440px) {
  .container {
    width: min(1280px, calc(100% - 72px));
  }

  .hero {
    padding-top: 182px;
    padding-bottom: 96px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 4.3vw, 4.8rem);
  }
}

@media (max-width: 1260px) {
  .hero {
    padding-top: 156px;
    padding-bottom: 72px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 4.3vw, 3.9rem);
  }

  .hero-panel {
    max-width: 400px;
  }

  .hero-card-main {
    padding-right: 122px;
  }

  .hero-stamp {
    width: 88px;
    height: 88px;
    top: 18px;
    right: 18px;
  }
}

.signal-bar {
  position: relative;
  z-index: 1;
  margin-top: -6px;
  padding-bottom: 26px;
  background: #f5f6f8;
}

.signal-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(27, 39, 64, 0.08);
  border-radius: 999px;
  background: rgba(243, 248, 253, 0.88);
  box-shadow: 0 18px 40px rgba(27, 39, 64, 0.06);
}

.signal-track span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding: 104px 0;
  background: #f5f6f8;
}

.section-heading h2,
.contact-copy h2 {
  max-width: 13ch;
  font-size: clamp(1.9rem, 3.8vw, 3.35rem);
  line-height: 1.06;
}

.section-heading.compact h2 {
  max-width: 14ch;
}

.about-section .eyebrow,
.services-section .eyebrow,
.process-section .eyebrow,
.trust-section .eyebrow,
.contact-section .eyebrow {
  color: var(--accent-deep);
}

.about-layout,
.process-layout,
.contact-layout {
  display: grid;
  gap: 36px;
}

.about-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.about-story {
  display: grid;
  gap: 18px;
  max-width: 620px;
  padding-top: 8px;
}

.about-story p,
.section-note,
.contact-copy p,
.trust-copy blockquote,
.license-card p {
  margin: 0;
  font-size: 15px;
}

.about-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.feature-card,
.service-card,
.director-card,
.license-card,
.contact-panel,
.process-list article {
  border: 1px solid rgba(27, 39, 64, 0.08);
  background: rgba(242, 248, 253, 0.84);
  box-shadow: 0 16px 40px rgba(26, 34, 46, 0.05);
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.feature-card-large {
  padding: 34px;
  background: linear-gradient(135deg, rgba(236, 244, 252, 0.98), rgba(228, 238, 249, 0.98));
}

.feature-card-large h3,
.feature-card-large p,
.feature-card-large small {
  color: var(--ink);
}

.feature-card h3,
.service-card h3,
.process-list h3,
.trust-copy h2,
.license-card h3,
.contact-details a,
.contact-details p,
.contact-details small,
.contact-copy h2 {
  margin: 0;
}

.feature-card h3,
.service-card h3,
.process-list h3,
.license-card h3,
.director-card h3 {
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p,
.service-card p,
.process-list p,
.license-card p {
  margin: 14px 0 0;
}

.section-heading.split,
.trust-layout,
.footer-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-note {
  max-width: 460px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.service-card {
  min-height: 248px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.service-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(236, 244, 252, 0.98), rgba(226, 238, 251, 0.98));
}

.process-layout {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-list article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background: rgba(132, 167, 214, 0.16);
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: 24px;
}

.trust-layout {
  align-items: stretch;
}

.trust-copy,
.license-card {
  flex: 1;
}

.trust-copy {
  max-width: 640px;
}

.director-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 999px;
}

.director-badge {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0ebf8 0%, #cddff5 100%);
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: 20px;
}

.director-photo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(132, 167, 214, 0.4);
  box-shadow: 0 10px 22px rgba(27, 39, 64, 0.14);
  flex: 0 0 72px;
}

.director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-card a,
.contact-details a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

.trust-copy blockquote {
  max-width: 560px;
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 2px solid rgba(132, 167, 214, 0.4);
}

.director-profile {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(27, 39, 64, 0.08);
  border-radius: 20px;
  background: rgba(242, 248, 253, 0.84);
}

.director-profile-title {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.director-profile-title + .director-profile-list,
.director-profile-title + .director-profile-text {
  margin-top: 10px;
}

.director-profile-title:not(:first-child) {
  margin-top: 18px;
}

.director-profile-list {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

.director-profile-list li + li {
  margin-top: 8px;
}

.director-profile-text {
  margin: 0;
  color: var(--muted);
}

.license-card {
  max-width: 430px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.license-state {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(224, 235, 248, 0.7);
}

.license-state strong {
  font-size: 16px;
}

.license-state span {
  color: var(--muted);
}

.contact-layout {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.testimonials-layout {
  display: grid;
  gap: 30px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.testimonial-card {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(27, 39, 64, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(242, 248, 253, 0.84);
  box-shadow: 0 16px 40px rgba(26, 34, 46, 0.05);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 20px;
  color: rgba(92, 122, 164, 0.22);
  font-family: var(--display);
  font-size: 72px;
  line-height: 1;
}

.testimonial-text {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.testimonial-author {
  margin: 18px 0 0;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-xl);
}

.contact-details,
.map-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(241, 247, 253, 0.94);
}

.payment-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(27, 39, 64, 0.08);
  border-radius: 24px;
  background: rgba(241, 247, 253, 0.94);
  box-shadow: 0 16px 40px rgba(26, 34, 46, 0.05);
}

.payment-card-head {
  display: grid;
  gap: 8px;
}

.payment-label {
  display: inline-block;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.payment-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.payment-card p,
.payment-note {
  margin: 0;
  color: var(--muted);
}

.payment-field {
  display: grid;
  gap: 8px;
}

.payment-field span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.payment-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(56, 82, 118, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

.payment-field input:focus {
  outline: 2px solid rgba(132, 167, 214, 0.24);
  outline-offset: 2px;
}

.payment-note {
  font-size: 12px;
}

.payment-submit {
  width: fit-content;
}

.contact-details {
  display: grid;
  gap: 22px;
  padding: 26px;
}

.contact-details small {
  display: block;
  margin-bottom: 8px;
}

.contact-details a,
.contact-details p {
  color: var(--ink);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.site-footer {
  padding: 0 0 40px;
  background: #f5f6f8;
}

.footer-shell {
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.footer-brand {
  flex-shrink: 0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .hero-layout,
  .about-layout,
  .process-layout,
  .contact-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-heading.split,
  .trust-layout,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-layout,
  .about-layout,
  .process-layout,
  .contact-layout {
    gap: 32px;
  }

  .about-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card-large,
  .service-card.featured {
    grid-column: auto;
  }

  .license-card,
  .trust-copy,
  .section-note {
    max-width: none;
  }

  .hero-copy,
  .lead,
  .hero-metrics,
  .hero-panel {
    max-width: none;
  }

  .hero-panel {
    margin-left: 0;
    padding-top: 4px;
  }

  .hero-card-main {
    padding-right: 114px;
  }

}

@media (max-width: 860px) {
  .site-header {
    padding: 12px 0;
  }

  .nav-shell {
    min-height: 68px;
    padding: 10px 14px 10px 18px;
    gap: 14px;
  }

  .menu-button {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid rgba(56, 82, 118, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(233, 242, 252, 0.94));
    box-shadow: 0 8px 20px rgba(39, 61, 92, 0.14);
    color: var(--ink);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  }

  .lang-switch {
    margin-left: auto;
  }

  .lang-button {
    min-width: 34px;
    height: 28px;
    font-size: 10px;
  }

  .menu-button i {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
    transform-origin: center;
  }

  .menu-button[aria-expanded="true"] {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(39, 61, 92, 0.12);
    background: rgba(236, 245, 255, 0.98);
  }

  .menu-button[aria-expanded="true"] i:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] i:nth-child(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] i:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: 0;
    padding: 0 16px;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border: 1px solid rgba(56, 82, 118, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(250, 253, 255, 0.99), rgba(239, 248, 255, 0.97));
    box-shadow: 0 24px 40px rgba(27, 39, 64, 0.16);
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: max-height 240ms ease, opacity 180ms ease, transform 180ms ease, visibility 180ms ease, padding 180ms ease;
  }

  .site-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    font-weight: 700;
  }

  .site-nav a:active {
    background: rgba(222, 236, 252, 0.65);
  }

  .site-nav.open {
    max-height: 320px;
    padding: 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-phone {
    display: none;
  }

  .hero {
    margin-top: -92px;
    padding-top: 142px;
    padding-bottom: 56px;
  }

  .hero-metrics,
  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-stamp {
    display: none;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .process-list span {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 134px;
    padding-bottom: 40px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-layout {
    gap: 24px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .hero-metrics {
    margin-top: 22px;
    gap: 10px;
  }

  .hero-metrics article {
    padding: 14px;
  }

  .lead,
  .about-story p,
  .section-note,
  .contact-copy p,
  .trust-copy blockquote,
  .testimonial-text,
  .license-card p {
    font-size: 14px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(1.85rem, 10vw, 2.7rem);
  }

  .hero-card-main,
  .feature-card,
  .service-card,
  .testimonial-card,
  .director-profile,
  .license-card,
  .contact-panel,
  .process-list article {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-card-main {
    padding-top: 22px;
    padding-bottom: 22px;
    padding-right: 18px;
  }

  .hero-card-main ul {
    margin-top: 16px;
  }

  .feature-card,
  .service-card,
  .testimonial-card,
  .director-profile,
  .license-card,
  .process-list article {
    padding-top: 18px;
    padding-bottom: 18px;
    border-radius: 18px;
  }

  .service-card {
    min-height: auto;
  }

  .services-grid,
  .about-grid,
  .process-list,
  .testimonials-grid {
    gap: 14px;
  }

  .contact-panel {
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
  }

  .payment-card {
    padding: 18px;
    gap: 14px;
    border-radius: 20px;
  }

  .payment-card h3 {
    font-size: 18px;
  }

  .payment-field input {
    min-height: 46px;
    padding: 0 14px;
  }

  .payment-submit {
    width: 100%;
  }

  .contact-details {
    padding: 18px;
    gap: 14px;
  }

  .map-card iframe {
    min-height: 250px;
  }

  .hero-card-main h2 {
    max-width: none;
  }

  .hero-stamp {
    position: static;
    margin-top: 12px;
    margin-left: auto;
    width: 74px;
    height: 74px;
  }

  .hero-stamp strong {
    font-size: 17px;
  }

  .director-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    border-radius: 20px;
    padding: 14px;
    gap: 12px;
  }

  .director-badge,
  .director-photo-wrap {
    width: 58px;
    height: 58px;
  }

  .director-badge {
    font-size: 17px;
  }

  .site-footer p {
    max-width: 30ch;
  }
}

@media (max-width: 420px) {
  .nav-shell {
    min-height: 64px;
    padding: 10px 12px 10px 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .lang-switch {
    gap: 4px;
    padding: 3px;
  }

  .lang-button {
    min-width: 30px;
    height: 26px;
    letter-spacing: 0.04em;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-card-main,
  .feature-card,
  .service-card,
  .testimonial-card,
  .director-profile,
  .license-card,
  .contact-panel,
  .process-list article {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-card-main {
    padding-right: 14px;
  }

  .hero-actions,
  .contact-actions {
    gap: 8px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 10vw, 2.4rem);
  }

  .hero-stamp {
    width: 66px;
    height: 66px;
    margin-top: 10px;
  }

  .hero-stamp strong {
    font-size: 15px;
  }

  .hero-metrics strong {
    font-size: 14px;
  }

  .hero-metrics span {
    font-size: 11px;
  }
}