:root {
  --ink: #102f4a;
  --muted: #5f7487;
  --bg: #f7fafe;
  --paper: #ffffff;
  --soft: #edf5fc;
  --soft-2: #dcecf8;
  --primary: #1f5f9f;
  --primary-dark: #153f6f;
  --accent: #4d8ed1;
  --sand: #f2f5f8;
  --line: rgba(16, 47, 74, 0.12);
  --shadow: 0 22px 60px rgba(22, 67, 112, 0.12);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 88px 0; }
.soft-bg { background: linear-gradient(180deg, var(--soft), rgba(234,245,245,.45)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(229, 210, 205, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
.brand-text { font-size: 1.08rem; }
.main-nav { display: flex; justify-content: center; gap: clamp(12px, 1.8vw, 26px); font-size: .95rem; }
.main-nav a { color: var(--muted); padding: 10px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav .active { color: var(--primary-dark); border-bottom-color: var(--accent); }
.header-phone { font-weight: 800; color: var(--primary-dark); white-space: nowrap; }

.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 10%, rgba(77, 142, 209, .24), transparent 34%),
    linear-gradient(135deg, #fbfdff 0%, #eef6fd 58%, #e1effb 100%);
  min-height: 720px;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(22, 67, 112, .22);
  border: 1px solid rgba(16, 47, 74, .12);
  z-index: 8;
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 52px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.eyebrow.light { color: rgba(255,255,255,.82); }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1 { font-size: clamp(2.55rem, 6vw, 5.2rem); letter-spacing: -.055em; max-width: 860px; }
h2 { font-size: clamp(2rem, 3vw, 3.25rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 760px; margin: 28px 0 0; }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button-row.compact { margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 22px; border-radius: 999px;
  font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22,67,112,.13); }
.btn.primary { background: var(--primary); color: #fff; }
.btn.secondary { background: #fff; color: var(--primary-dark); border-color: var(--line); }
.btn.ghost { color: var(--primary-dark); border-color: rgba(31,95,159,.28); }
.btn.white { background: #fff; color: var(--primary-dark); }
.btn.white-outline { color: #fff; border-color: rgba(255,255,255,.48); }

.hero-card {
  position: relative;
  min-height: 460px;
  border-radius: 42px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(220,236,248,.76));
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
}
.hero-card::before {
  content: ""; position: absolute; inset: auto -90px -120px auto; width: 330px; height: 330px;
  background: radial-gradient(circle, rgba(77,142,209,.32), transparent 68%); border-radius: 50%;
}
.hero-photo-card {
  padding: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.hero-note {
  position: absolute; left: 28px; right: 28px; bottom: 28px; padding: 20px;
  border-radius: 24px; background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.9);
}
.hero-note strong, .hero-note span { display: block; }
.hero-note span { color: var(--muted); margin-top: 6px; }

.featured { background: linear-gradient(135deg, var(--primary-dark), var(--primary) 58%, #347abf); color: #fff; }
.featured p, .featured li { color: rgba(255,255,255,.84); }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding: 18px 18px 18px 48px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; }
.check-list li::before { content: "✓"; position: absolute; left: 20px; top: 17px; font-weight: 900; color: #fff; }

.section-heading { max-width: 720px; margin-bottom: 34px; }
.row-heading { max-width: none; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.cards { display: grid; gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card, .expert-card, .quiet-box, .service-band article {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 12px 42px rgba(22,67,112,.07);
}
.card-number { color: var(--accent); font-weight: 900; font-size: .86rem; letter-spacing: .1em; }
.card h3 { margin-top: 12px; }
.card a, .text-link { display: inline-flex; margin-top: 14px; color: var(--primary-dark); font-weight: 850; }
.card a::after, .text-link::after { content: "→"; margin-left: 8px; }

.split-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr); gap: 54px; align-items: center; }
.expert-cards { display: grid; gap: 18px; }
.expert-card.accent { background: linear-gradient(135deg, #fff, var(--soft)); border-color: rgba(77,142,209,.35); }
.video-card {
  padding: 0;
  overflow: hidden;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.service-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card .date { margin: 0 0 12px; color: var(--primary); font-weight: 850; }
.lower-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.cta { background: linear-gradient(135deg, #153f6f, #1f5f9f); color: #fff; }
.cta p { color: rgba(255,255,255,.82); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.cta-contact { display: grid; gap: 12px; justify-items: end; font-weight: 900; font-size: 1.08rem; }
.contact-social-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: .95rem;
  font-weight: 800;
  color: rgba(255,255,255,.82);
}

.contact-social-links a:hover {
  color: #fff;
}

.site-footer { padding: 28px 20px; background: #0f2f50; color: rgba(255,255,255,.86); text-align: center; }
.footer-line { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-weight: 800; }
.footer-line.small { margin-top: 10px; font-weight: 500; font-size: .92rem; color: rgba(255,255,255,.66); }
.footer-line a:hover { color: #fff; }
.footer-line a[target="_blank"] {
  color: rgba(255,255,255,.86);
}

.footer-line a[target="_blank"]:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { grid-column: 1 / -1; order: 3; overflow-x: auto; justify-content: flex-start; padding-bottom: 2px; }
  .hero { min-height: auto; }
  .hero-grid, .featured-grid, .split-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-card { min-height: 360px; }
  .cards.three, .cards.two, .service-band, .lower-grid { grid-template-columns: 1fr; }
  .row-heading { display: block; }
  .cta-contact { justify-items: start; }
  .contact-social-links {
  justify-content: flex-start;
}
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section-pad { padding: 58px 0; }
  .site-header { padding: 12px 16px; gap: 10px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-text { font-size: 1rem; }
  .main-nav { gap: 18px; font-size: .9rem; }
  h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  h2 { font-size: clamp(1.75rem, 8vw, 2.45rem); }
  .button-row { display: grid; }
  .btn { width: 100%; }
  .hero-card { border-radius: 30px; padding: 20px; }
  .card, .expert-card, .quiet-box, .service-band article { padding: 24px; border-radius: 22px; }
  .hero::after {
  width: 40px;
  height: 40px;
  bottom: -20px;
  font-size: 1.15rem;
}
}

@media (max-width: 640px) {
  .main-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-photo-card {
    min-height: 0;
    padding: 0;
  }

  .hero-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .hero-photo-card {
    display: block;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border: 0;
  }

  .hero-photo-card::before {
    display: none;
  }

  .hero-note {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 14px;
    border-radius: 22px;
  }
}