:root {
  --navy: #061b35;
  --navy-2: #0a315c;
  --blue: #1477c9;
  --sky: #eaf5ff;
  --red: #ef3340;
  --ink: #142235;
  --muted: #5c6d82;
  --white: #ffffff;
  --line: #d9e4ef;
  --shadow: 0 24px 60px rgba(6, 27, 53, .14);
  --header-height: 76px;
  --section-space: clamp(64px, 7vw, 96px);
}

* { 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: #f8fbfe;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 99; background: white; padding: 10px 14px; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 27, 53, .96);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: white; text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 1.3rem; letter-spacing: .05em; }
.brand span { color: #9cccf3; margin-top: 7px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #e9f4ff; text-decoration: none; font-weight: 650; font-size: .93rem; }
.nav a:hover, .nav a[aria-current="page"] { color: white; }
.nav .nav-cta { padding: 11px 17px; background: var(--red); border-radius: 6px; color: white; }
.nav .lang-switch { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.25); color: #9cccf3; font-size: .82rem; letter-spacing: .08em; }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.35); background: transparent; color: white; padding: 9px 12px; border-radius: 6px; font-size: 1rem; }

.hero {
  color: white;
  background:
    linear-gradient(115deg, rgba(6,27,53,.98) 0%, rgba(8,47,89,.95) 58%, rgba(13,94,157,.82) 100%),
    radial-gradient(circle at 88% 16%, rgba(239,51,64,.38), transparent 22%);
  overflow: hidden;
}
.hero-grid { min-height: clamp(560px, calc(100svh - var(--header-height)), 760px); display: grid; grid-template-columns: 1.28fr .72fr; align-items: end; gap: 32px; }
.hero-copy { padding: clamp(68px, 8vh, 92px) 0; align-self: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #9fd1fb; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; font-size: .78rem; }
.eyebrow::before { content: ""; width: 44px; height: 3px; background: var(--red); }
h1 { font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: .98; letter-spacing: -.045em; margin: 22px 0 24px; max-width: 850px; }
.hero h1 span { color: #9fd1fb; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.35rem); color: #dcecff; max-width: 740px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 6px; font-weight: 800; text-decoration: none; border: 1px solid transparent; }
.button-primary { background: var(--red); color: white; }
.button-secondary { border-color: rgba(255,255,255,.45); color: white; }
.button-light { background: white; color: var(--navy); }
.hero-proof { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 24px; color: #bcd9ee; font-size: .9rem; }
.hero-proof strong { display: block; color: white; font-size: 1.25rem; }
.portrait-wrap { align-self: end; position: relative; min-height: 610px; display: flex; align-items: flex-end; justify-content: center; }
.portrait-wrap::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(39,141,213,.22); filter: blur(2px); bottom: 70px; }
.portrait-wrap img { position: relative; z-index: 1; width: min(410px, 100%); max-height: 590px; object-fit: contain; object-position: bottom; background: #fff; border-radius: 220px 220px 0 0; filter: drop-shadow(-20px 20px 30px rgba(0,0,0,.25)); }

.section { padding: var(--section-space) 0; }
.section, .page-hero, .service-detail { scroll-margin-top: calc(var(--header-height) + 16px); }
.section-alt { background: white; }
.section-dark { background: var(--navy); color: white; }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 50px); margin-bottom: clamp(32px, 4vw, 46px); align-items: end; }
.section-heading h2, .page-hero h1 { margin: 10px 0 0; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.05; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: #bed4e8; }
.kicker { color: var(--red); font-weight: 850; text-transform: uppercase; letter-spacing: .11em; font-size: .76rem; }

.problem-grid, .service-grid, .insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: white; border: 1px solid var(--line); padding: 28px; border-radius: 12px; box-shadow: 0 10px 30px rgba(6,27,53,.05); }
.card-number { color: var(--red); font-weight: 900; font-size: .8rem; letter-spacing: .12em; }
.card h3 { font-size: 1.22rem; margin: 12px 0 8px; line-height: 1.25; }
.card p { color: var(--muted); margin: 0; }
.service-card { color: white; min-height: 240px; background: linear-gradient(145deg, #0b3159, #061b35); border: 1px solid rgba(255,255,255,.11); padding: clamp(24px, 2.5vw, 30px); border-radius: 12px; }
.service-card .icon { font-size: 1.6rem; color: #73bdf4; }
.service-card h3 { margin: 20px 0 10px; font-size: 1.25rem; }
.service-card p { color: #bfd5e7; }
.service-link { display: inline-block; margin-top: 18px; color: white; font-weight: 800; text-decoration-color: var(--red); text-underline-offset: 5px; }

.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.method-step { padding: 30px 24px; border-top: 3px solid var(--line); position: relative; }
.method-step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -17px; left: 24px; background: #f8fbfe; color: var(--red); padding: 0 9px; font-weight: 900; }
.method-step h3 { margin: 15px 0 8px; }
.method-step p { color: var(--muted); margin: 0; }

.authority { display: grid; grid-template-columns: .75fr 1.25fr; gap: 58px; align-items: center; }
.authority-photo { background: linear-gradient(150deg, #dceefe, #ffffff); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.authority-photo img { width: 100%; max-height: 560px; object-fit: contain; object-position: bottom; }
.authority-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; margin: 10px 0 22px; }
.authority-copy p { color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.logos span { border: 1px solid var(--line); border-radius: 99px; padding: 8px 13px; font-weight: 800; color: var(--navy-2); background: white; }

.diagnostic { background: linear-gradient(115deg, var(--navy), var(--navy-2)); color: white; border-radius: 16px; padding: 52px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; box-shadow: var(--shadow); }
.diagnostic h2 { margin: 8px 0 16px; font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.05; }
.diagnostic p { color: #c5dced; margin: 0; }
.diagnostic-action { text-align: center; }
.diagnostic-action small { display: block; color: #b8d1e4; margin-top: 10px; }

.page-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: white; padding: clamp(64px, 8vw, 92px) 0 clamp(58px, 7vw, 84px); }
.page-hero p { color: #c9def0; max-width: 760px; font-size: 1.16rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.service-detail { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .5fr 1.5fr; gap: 30px; }
.service-detail h2 { margin: 0; color: var(--navy-2); }
.service-detail h3 { margin-top: 0; }
.service-detail p { color: var(--muted); }
.service-detail ul { color: var(--muted); }

.insight-card { overflow: hidden; padding: 0; }
.insight-top { min-height: 155px; padding: 24px; background: linear-gradient(140deg, #08213d, #106eb1); color: white; display: flex; align-items: flex-end; }
.insight-top span { color: #9fd1fb; font-size: .78rem; text-transform: uppercase; font-weight: 850; letter-spacing: .1em; }
.insight-body { padding: 25px; }
.insight-body h3 { margin-top: 0; }
.insight-body a { color: var(--navy-2); font-weight: 800; text-underline-offset: 4px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.contact-panel { background: var(--navy); color: white; padding: 36px; border-radius: 14px; }
.contact-panel h2 { margin-top: 0; }
.contact-panel p { color: #c4d9eb; }
.contact-form { background: white; padding: 36px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #bfcddb; border-radius: 6px; padding: 13px 14px; font: inherit; background: white; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--muted); font-size: .88rem; }

.footer { background: #041428; color: #b9cde0; padding: clamp(34px, 4vw, 44px) 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer strong { display: block; color: white; font-size: 1.12rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: #dcecff; }

@media (max-width: 900px) {
  :root { --section-space: clamp(58px, 8vw, 76px); }
  .menu-button { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--navy); padding: 22px 20px; flex-direction: column; align-items: stretch; }
  .nav .lang-switch { padding: 10px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .nav.open { display: flex; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 68px 0 24px; }
  .portrait-wrap { min-height: 390px; }
  .portrait-wrap img { max-height: 420px; }
  .section-heading, .authority, .diagnostic, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .section-heading { gap: 18px; margin-bottom: 34px; }
  .problem-grid, .service-grid, .insight-grid { grid-template-columns: 1fr 1fr; }
  .method { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 620px) {
  :root { --section-space: 54px; --header-height: 68px; }
  .container { width: min(100% - 28px, 1160px); }
  .brand span { display: none; }
  .header-inner { min-height: var(--header-height); }
  .nav { top: var(--header-height); }
  .hero-copy { padding: 52px 0 20px; }
  h1 { font-size: 2.65rem; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  .portrait-wrap { min-height: 330px; }
  .portrait-wrap img { max-height: 350px; }
  .section-heading { gap: 14px; margin-bottom: 28px; }
  .section-heading p, .page-hero p { font-size: 1rem; }
  .problem-grid, .service-grid, .insight-grid, .method { grid-template-columns: 1fr; }
  .problem-grid, .service-grid, .insight-grid { gap: 16px; }
  .card, .service-card { padding: 24px 20px; }
  .service-card { min-height: auto; }
  .service-detail { padding: 26px 0; }
  .method-step { padding: 26px 18px; }
  .diagnostic, .contact-form, .contact-panel { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
