:root {
  --primary: #07519a;
  --primary-dark: #0d1117;
  --accent: #2f75c8;
  --background: #f4f7fa;
  --surface: #ffffff;
  --soft: #e8f0f8;
  --text: #10151b;
  --muted: #5c6670;
  --border: rgba(7, 81, 154, 0.14);
  --shadow: 0 24px 60px rgba(13, 17, 23, 0.12);
  --radius: 20px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote { margin: 0; }

ul,
ol { padding: 0; }

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

button,
a,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

section[id] { scroll-margin-top: 86px; }

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

.section { padding: 108px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--primary-dark); color: #fff; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-dark);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow--light { color: #7eb3eb; }

.section-heading { max-width: 680px; margin-bottom: 52px; }
.section-heading h2 {
  max-width: 660px;
  color: var(--primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.13;
}
.section-heading__subtitle {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}
.section--dark .section-heading h2 { color: #fff; }
.section--dark .section-heading__subtitle { color: rgba(255, 255, 255, 0.68); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }
.button--primary { color: #fff; background: var(--primary); box-shadow: 0 10px 24px rgba(7, 81, 154, 0.2); }
.button--primary:hover { background: var(--primary-dark); }
.button--accent { color: var(--primary-dark); background: #7eb3eb; }
.button--accent:hover { background: #fff; }
.button--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.42); }
.button--ghost:hover { background: rgba(255, 255, 255, 0.1); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}
.site-header__inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo {
  display: block;
  width: 248px;
  height: 76px;
  border-radius: 6px;
  object-fit: contain;
  object-position: left center;
}
.brand__logo--footer {
  width: 260px;
  height: 80px;
  padding: 0;
  border-radius: 8px;
  background: #fff;
}
.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50% 50% 50% 12px;
  color: #fff;
  background: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.brand__copy { display: grid; line-height: 1.25; }
.brand__copy strong { color: var(--primary-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.03rem; }
.brand__copy span { color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links > a:not(.button) { color: var(--muted); font-size: 0.92rem; font-weight: 650; }
.nav__links > a:not(.button):hover { color: var(--primary); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle__line { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--primary-dark); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle--open .nav-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle--open .nav-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(47, 117, 200, 0.24), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(255, 255, 255, 0.07), transparent 28%),
    var(--primary-dark);
}
.hero::after {
  position: absolute;
  right: -90px;
  bottom: -230px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.65rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.hero__subtitle { max-width: 650px; margin-top: 28px; color: rgba(255, 255, 255, 0.78); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 42px; list-style: none; }
.hero__highlights li { display: flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.hero__highlights li::before { color: #7eb3eb; content: "✓"; font-weight: 900; }

.hero-panel {
  position: relative;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(8px);
}
.hero-panel::before { position: absolute; top: 0; left: 38px; width: 70px; height: 3px; background: #7eb3eb; content: ""; }
.hero-panel__label { color: #7eb3eb; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-panel h2 { margin-top: 15px; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 500; line-height: 1.25; }
.hero-panel ol { display: grid; gap: 0; margin-top: 28px; list-style: none; }
.hero-panel li { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-panel li span { color: #7eb3eb; font-size: 0.78rem; }
.hero-panel li strong { font-size: 0.94rem; font-weight: 650; }

.profile { display: grid; grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr); align-items: start; gap: clamp(50px, 8vw, 100px); }
.profile-card { position: sticky; top: 116px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.profile-card__portrait { display: grid; height: 300px; place-items: center; background: linear-gradient(145deg, var(--primary), var(--primary-dark)); }
.profile-card__portrait span { display: grid; width: 135px; height: 135px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; color: #7eb3eb; font-family: Georgia, "Times New Roman", serif; font-size: 2.7rem; box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.05); }
.profile-card__identity { padding: 28px 30px 23px; border-bottom: 1px solid var(--border); }
.profile-card__identity h3 { color: var(--primary-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.profile-card__identity p { margin-top: 3px; color: var(--muted); }
.profile-card__identity span { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 99px; color: var(--primary); background: var(--soft); font-size: 0.76rem; font-weight: 800; }
.profile-card dl { padding: 10px 30px 20px; }
.profile-card dl div { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.profile-card dl div:last-child { border-bottom: 0; }
.profile-card dt { color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.profile-card dd { color: var(--primary-dark); font-size: 0.9rem; font-weight: 700; }
.profile__content .section-heading { margin-bottom: 24px; }
.profile__lead { margin-bottom: 20px; color: var(--primary-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.5; }
.profile__content > p:not(.eyebrow) + p { margin-top: 14px; }
.profile__content > p:not(.profile__lead) { color: var(--muted); }
.profile__highlights { display: grid; gap: 1px; margin-top: 38px; border: 1px solid var(--border); border-radius: 14px; background: var(--border); overflow: hidden; }
.profile__highlights article { padding: 20px 22px; background: var(--surface); }
.profile__highlights h3 { color: var(--primary-dark); font-size: 1rem; }
.profile__highlights p { margin-top: 4px; color: var(--muted); font-size: 0.91rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { position: relative; min-height: 100%; padding: 34px 30px 30px; border: 1px solid transparent; border-radius: var(--radius); background: var(--surface); box-shadow: 0 9px 30px rgba(13, 17, 23, 0.055); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(47, 117, 200, 0.42); box-shadow: var(--shadow); }
.service-card__number { display: block; margin-bottom: 25px; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 0.88rem; font-weight: 700; }
.service-card h3 { color: var(--primary-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.42rem; }
.service-card > p { margin-top: 12px; color: var(--muted); font-size: 0.94rem; }
.service-card ul { display: grid; gap: 8px; margin-top: 22px; list-style: none; }
.service-card li { display: flex; gap: 9px; color: var(--text); font-size: 0.87rem; }
.service-card li::before { color: var(--accent); content: "—"; }

.statistics { padding: 44px 0; color: #fff; background: var(--primary); }
.statistics__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.statistic { padding: 14px 30px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.statistic:last-child { border-right: 0; }
.statistic strong { display: block; color: #7eb3eb; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; line-height: 1.1; }
.statistic span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.75); font-size: 0.84rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 28px 28px 25px 0; }
.step:not(:last-child) { border-right: 1px solid var(--border); }
.step:not(:first-child) { padding-left: 28px; }
.step__number { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.step h3 { margin-top: 25px; color: var(--primary-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.step p { margin-top: 9px; color: var(--muted); font-size: 0.92rem; }

.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.testimonial { position: relative; padding: 38px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); }
.testimonial::before { color: #7eb3eb; content: "“"; font-family: Georgia, "Times New Roman", serif; font-size: 4.5rem; line-height: 0.65; }
.testimonial blockquote p { margin-top: 18px; color: rgba(255, 255, 255, 0.9); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; line-height: 1.55; }
.testimonial figcaption { display: grid; margin-top: 26px; }
.testimonial figcaption strong { color: #7eb3eb; }
.testimonial figcaption span { color: rgba(255, 255, 255, 0.56); font-size: 0.82rem; }

.faq-layout { display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(50px, 9vw, 120px); }
.faq-layout .section-heading { position: sticky; top: 116px; margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; color: var(--primary-dark); cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__plus { color: var(--accent); font-family: system-ui, sans-serif; font-size: 1.5rem; font-weight: 300; transition: transform 0.2s ease; }
.faq-item[open] .faq-item__plus { transform: rotate(45deg); }
.faq-item > p { max-width: 680px; padding: 0 35px 24px 0; color: var(--muted); font-size: 0.94rem; }

.contact { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); gap: clamp(50px, 8vw, 100px); }
.contact__intro .section-heading { margin-bottom: 38px; }
.contact-details { display: grid; gap: 22px; list-style: none; }
.contact-details li { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 15px; }
.contact-details__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: var(--primary); background: var(--surface); }
.contact-details__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.contact-details strong { display: block; color: var(--primary-dark); font-size: 0.87rem; }
.contact-details a,
.contact-details div > span { display: block; margin-top: 1px; color: var(--muted); font-size: 0.9rem; }
.contact-details a:hover { color: var(--primary); text-decoration: underline; }

.contact-form { display: grid; align-self: start; gap: 20px; padding: clamp(26px, 5vw, 44px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--primary-dark); font-size: 0.82rem; font-weight: 750; }
.field input,
.field select,
.field textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid var(--border); border-radius: 9px; color: var(--text); background: var(--background); outline: 0; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field textarea { min-height: 135px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8a989e; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(7, 81, 154, 0.12); }
.contact-form .button { justify-self: start; border: 0; }
.contact-form__note { color: var(--muted); font-size: 0.78rem; }
.contact-form__status { min-height: 1.4em; color: var(--primary); font-size: 0.84rem; font-weight: 650; }

.footer { padding: 68px 0 28px; color: rgba(255, 255, 255, 0.72); background: #080c12; }
.footer__main { display: flex; align-items: flex-start; justify-content: space-between; gap: 50px; padding-bottom: 45px; }
.footer__identity { display: flex; max-width: 600px; gap: 16px; }
.brand__mark--footer { flex: none; color: var(--primary-dark); background: #7eb3eb; }
.footer h2 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.footer__identity p { max-width: 480px; margin-top: 6px; font-size: 0.88rem; }
.footer__contact { text-align: right; }
.footer__contact p { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__contact a { display: inline-block; margin-top: 6px; color: #7eb3eb; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.footer__bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.77rem; }
.footer__disclaimer { max-width: 720px; margin-top: 6px; color: rgba(255, 255, 255, 0.44); }
.footer__bottom nav { display: flex; flex: none; gap: 18px; }
.footer a:hover { color: #fff; }

.app-status {
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  padding: 32px;
  text-align: center;
}
.app-status__mark { display: grid; width: 66px; height: 66px; place-items: center; margin-bottom: 20px; border-radius: 50% 50% 50% 16px; color: #fff; background: var(--primary); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; }
.app-status h1 { color: var(--primary-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; }
.app-status p { max-width: 620px; margin-top: 8px; color: var(--muted); }
.app-status code { margin-top: 16px; padding: 8px 12px; border-radius: 7px; color: var(--primary-dark); background: var(--soft); }
.noscript { padding: 16px; color: #fff; text-align: center; background: #8a2d2d; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 96px; right: 0; left: 0; display: none; padding: 12px 20px 22px; border-bottom: 1px solid var(--border); background: var(--background); box-shadow: 0 18px 30px rgba(13, 17, 23, 0.09); }
  .nav--open { display: block; }
  .nav__links { width: min(100%, var(--container)); margin: 0 auto; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__links > a:not(.button) { padding: 10px 5px; }
  .nav__links .button { margin-top: 8px; }
  .hero__grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-panel { max-width: 620px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .step,
  .step:not(:first-child) { padding: 25px; border: 1px solid var(--border); border-radius: 14px; }
  .faq-layout,
  .contact { grid-template-columns: 1fr; }
  .faq-layout .section-heading { position: static; }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .brand__copy span { display: none; }
  .hero__grid { min-height: auto; padding-top: 78px; padding-bottom: 78px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .hero-panel { padding: 30px 24px; }
  .profile { grid-template-columns: 1fr; }
  .profile-card { position: static; max-width: 480px; }
  .profile-card__portrait { height: 240px; }
  .service-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
  .statistics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 0; }
  .statistic:nth-child(2) { border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
  .footer__main,
  .footer__bottom { flex-direction: column; }
  .footer__contact { text-align: left; }
}

@media (max-width: 460px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header__inner { min-height: 84px; }
  .nav { top: 84px; }
  .brand__logo { width: 210px; height: 65px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__copy strong { max-width: 185px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero__actions .button { width: 100%; }
  .hero__highlights { display: grid; }
  .profile-card dl div { grid-template-columns: 1fr; gap: 2px; }
  .statistics__grid { grid-template-columns: 1fr; }
  .statistic,
  .statistic:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .statistic:last-child { border-bottom: 0; }
  .testimonial { padding: 30px 24px; }
  .contact-form { padding: 24px 19px; }
  .footer__identity { flex-direction: column; }
  .footer__bottom nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
