:root {
  --navy-950: #06162c;
  --navy-900: #071a33;
  --navy-800: #0e2a4d;
  --navy-700: #123761;
  --gold: #d6b25e;
  --gold-dark: #b99440;
  --white: #ffffff;
  --ink: #121826;
  --muted: #667085;
  --soft: #f4f6fa;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(6, 22, 44, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 22, 44, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 178, 94, 0.55);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(214, 178, 94, 0.08);
}

.brand-text {
  font-size: 18px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.nav-menu a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 11px 16px;
  border-radius: 8px;
  color: var(--navy-950) !important;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  min-height: 700px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(6, 22, 44, 0.96), rgba(7, 26, 51, 0.88)),
    radial-gradient(circle at 80% 18%, rgba(214, 178, 94, 0.28), transparent 34%),
    var(--navy-900);
  color: var(--white);
  padding: 96px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: var(--navy-950);
  background: var(--gold);
}

.btn-primary:hover {
  background: #e2c16f;
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
}

.hero-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.hero-card-top span {
  color: var(--gold);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.9;
}

.hero-card-top p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

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

.hero-card li {
  position: relative;
  padding: 12px 0 12px 28px;
  color: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.section-light,
.section-dark {
  padding: 94px 0;
}

.section-light {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background: var(--navy-900);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefits article {
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(6, 22, 44, 0.08);
}

.benefits h2 {
  font-size: 22px;
}

.benefits p,
.specialist-text p,
.consultation p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.service-card {
  min-height: 104px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--navy-800);
  cursor: pointer;
  transition: min-height 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-card h3 {
  margin-bottom: 0;
  color: var(--white);
}

.service-card p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  opacity: 0;
  transition: max-height 0.25s ease, margin-top 0.25s ease, opacity 0.25s ease;
}

.service-card:hover,
.service-card:focus,
.service-card.is-open {
  min-height: 190px;
  transform: translateY(-4px);
  border-color: rgba(214, 178, 94, 0.55);
  background: var(--navy-700);
  outline: none;
}

.service-card:hover p,
.service-card:focus p,
.service-card.is-open p {
  max-height: 160px;
  margin-top: 14px;
  opacity: 1;
}

.service-card-wide {
  grid-column: span 3;
}

.specialist-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: center;
}

.specialist-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(6, 22, 44, 0.08);
}

.specialist-photo {
  width: 170px;
  height: 220px;
  display: block;
  border-radius: 8px;
  background: var(--navy-900);
  object-fit: cover;
  object-position: center top;
}

.specialist-card h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.consultation-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(6, 22, 44, 0.08);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form label span {
  color: var(--muted);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7deea;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 178, 94, 0.16);
}

.checkbox-label {
  grid-template-columns: 18px 1fr !important;
  align-items: start;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--navy-800);
  font-weight: 700;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
}

.contacts-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-list h3 {
  color: var(--gold);
}

.contact-list a {
  color: var(--white);
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-link {
  margin-left: 16px;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-link:hover {
  color: var(--gold);
}

.mobile-contact-bar {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 24px;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 44, 0.72);
}

.modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-dialog h2 {
  padding-right: 44px;
  font-size: 32px;
}

.modal-dialog h3 {
  margin-top: 24px;
}

.modal-dialog p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-900);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero-grid,
  .specialist-grid,
  .consultation-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card-wide {
    grid-column: span 2;
  }

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

@media (max-width: 760px) {
  body {
    padding-bottom: 74px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 16px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--navy-950);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 15px 14px;
    border-radius: 8px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 42px;
    background:
      linear-gradient(160deg, rgba(6, 22, 44, 0.98), rgba(7, 26, 51, 0.92)),
      radial-gradient(circle at 88% 8%, rgba(214, 178, 94, 0.22), transparent 32%),
      var(--navy-900);
  }

  .hero-grid {
    gap: 28px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.04;
  }

  h2 {
    font-size: 31px;
    line-height: 1.12;
  }

  .eyebrow {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .hero-text {
    margin-bottom: 24px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-card-top {
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 16px;
  }

  .hero-card-top span {
    font-size: 46px;
  }

  .hero-card li {
    padding: 10px 0 10px 24px;
    font-size: 15px;
  }

  .hero-card li::before {
    top: 18px;
  }

  .section-light,
  .section-dark {
    padding: 54px 0;
  }

  .benefits article,
  .contact-form,
  .contact-list article,
  .process-grid article {
    padding: 22px;
  }

  .benefits h2 {
    font-size: 20px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .benefits-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:hover,
  .service-card:focus {
    min-height: 96px;
    padding: 20px;
    transform: none;
  }

  .service-card:hover p,
  .service-card:focus p {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
  }

  .service-card.is-open {
    min-height: 0;
  }

  .service-card.is-open p {
    max-height: 180px;
    margin-top: 14px;
    opacity: 1;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .specialist-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .specialist-photo {
    width: 100%;
    height: 330px;
    object-position: center 18%;
  }

  .specialist-card h2 {
    font-size: 30px;
  }

  .specialist-text {
    padding-top: 4px;
  }

  .process-grid article {
    min-height: auto;
  }

  .process-grid span {
    margin-bottom: 20px;
  }

  .consultation-grid,
  .contacts-grid,
  .specialist-grid {
    gap: 28px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .contacts-grid h2,
  .consultation-grid h2 {
    margin-bottom: 12px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-link {
    display: block;
    margin: 10px 0 0;
    padding: 0;
    text-align: left;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(6, 22, 44, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(16px);
  }

  .mobile-contact-bar a {
    display: grid;
    min-height: 46px;
    place-items: center;
    border-radius: 8px;
    color: var(--navy-950);
    background: var(--gold);
    font-weight: 800;
  }

  .mobile-contact-bar a:first-child {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--line);
  }

  .modal {
    padding: 14px;
  }

  .modal-dialog {
    max-height: calc(100vh - 28px);
    padding: 24px;
  }

  .modal-dialog h2 {
    font-size: 27px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-card,
  .benefits article,
  .service-card,
  .specialist-card,
  .contact-form,
  .contact-list article {
    border-radius: 8px;
  }

  .specialist-photo {
    height: 290px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-grid {
    font-size: 14px;
  }
}
