@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --ink: #10101a;
  --ink-2: #181726;
  --ink-3: #242238;
  --cream: #f5f3e5;
  --muted: #bbb8c9;
  --coral: #ff4f30;
  --coral-2: #ff745d;
  --gold: #ffdd00;
  --line: rgba(245, 243, 229, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 86% 3%, rgba(255, 79, 48, 0.18), transparent 34rem),
    radial-gradient(circle at 0 28%, rgba(255, 221, 0, 0.07), transparent 28rem),
    var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.7;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1rem; border-radius: 10px; background: var(--gold); color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 16, 26, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(var(--content), calc(100% - 32px)); min-height: 78px; margin: auto;
  display: flex; align-items: center; gap: 12px;
}
.brand { flex: 0 0 auto; }
.brand img { width: 154px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.desktop-nav a {
  color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 700;
  padding: .58rem .5rem; border-radius: 10px;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: white; background: rgba(255,255,255,.06); }
.nav-actions { display: flex; gap: 10px; }
.language-switcher { display: flex; width: fit-content; gap: 7px; margin-top: 1rem; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); }
.language-switcher a { display: grid; place-items: center; width: 40px; height: 34px; border-radius: 8px; text-decoration: none; font-size: 1.3rem; line-height: 1; filter: saturate(.78); }
.language-switcher a:hover, .language-switcher a[aria-current="true"] { background: rgba(255,255,255,.1); filter: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 46px; padding: .72rem 1.12rem; border: 1px solid transparent; border-radius: 12px;
  color: white; background: linear-gradient(135deg, var(--coral-2), var(--coral));
  box-shadow: 0 10px 24px rgba(255,79,48,.22); text-decoration: none; font-weight: 800;
  cursor: pointer; transition: transform .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.button.secondary { background: rgba(255,255,255,.06); border-color: var(--line); box-shadow: none; }
.button.gold { background: var(--gold); color: #1d1b13; box-shadow: 0 12px 30px rgba(255,221,0,.2); }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 12px; color: white; background: rgba(255,255,255,.06); font-size: 1.35rem;
}
.mobile-nav { display: none; }

.hero {
  position: relative; overflow: hidden; min-height: 590px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,16,26,.98) 0%, rgba(16,16,26,.9) 39%, rgba(16,16,26,.2) 73%),
              linear-gradient(0deg, var(--ink), transparent 35%);
  z-index: 1;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .74; }
.hero-shell {
  position: relative; z-index: 2; width: min(var(--content), calc(100% - 32px)); margin: auto;
  min-height: 590px; display: flex; align-items: center;
}
.hero-copy { max-width: 680px; padding: 72px 0 86px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem;
  color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.hero h1 {
  max-width: 760px; margin: 0 0 1.2rem; font: 700 clamp(2.7rem, 6vw, 5.6rem)/.98 "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
}
.hero h1 span { color: var(--coral-2); }
.hero-lead { max-width: 630px; margin: 0 0 1.6rem; color: #d8d5df; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 1rem 0 0; color: #aaa7b8; font-size: .78rem; }
.service-hero, .service-hero .hero-shell { min-height: 420px; }
.service-hero .hero-copy { padding-block: 64px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.65rem; }
.stat {
  padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(24,23,38,.7); backdrop-filter: blur(8px); font-size: .8rem; color: #d9d6df;
}
.stat strong { display: block; color: white; font-size: .98rem; }

.page-shell { width: min(var(--content), calc(100% - 32px)); margin: auto; padding: 66px 0 90px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 60px; }
.quick-card {
  position: relative; min-height: 265px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px;
  text-decoration: none; background: var(--ink-2); box-shadow: var(--shadow);
}
.quick-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,16,26,.96), transparent 70%); }
.quick-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.quick-card:hover img { transform: scale(1.04); }
.quick-card span { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; font: 700 1.15rem "Space Grotesk", sans-serif; }
.quick-card small { display: block; margin-top: .2rem; color: var(--gold); font: 700 .74rem "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .08em; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 42px; align-items: start; }
.article-content { min-width: 0; }
.article-content > h1 { margin-top: 0; }
.article-content h1, .article-content h2, .article-content h3 {
  color: white; font-family: "Space Grotesk", sans-serif; line-height: 1.15; letter-spacing: -.025em;
  scroll-margin-top: 105px;
}
.article-content h1 { font-size: clamp(2.15rem, 4vw, 3.6rem); margin-bottom: 1.3rem; }
.article-content h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.article-content h2::before { content: ""; display: block; width: 42px; height: 4px; margin-bottom: .8rem; border-radius: 4px; background: var(--coral); }
.article-content h3 { margin: 2.1rem 0 .7rem; font-size: 1.25rem; }
.article-content p, .article-content li { color: #cbc8d3; }
.article-content strong { color: white; }
.article-content a { color: var(--coral-2); text-underline-offset: 3px; }
.article-content ul, .article-content ol { padding-left: 1.25rem; }
.article-content li { margin: .5rem 0; padding-left: .25rem; }
.article-content li::marker { color: var(--coral-2); font-weight: 800; }
.article-content table {
  width: 100%; margin: 1.75rem 0; border-collapse: separate; border-spacing: 0;
  overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2);
}
.article-content th, .article-content td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-content th { background: var(--ink-3); color: var(--gold); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.article-content tr:last-child td { border-bottom: 0; }
.article-content tr:nth-child(even) td { background: rgba(255,255,255,.018); }
.article-figure { margin: 2rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ink-2); }
.article-figure img { width: 100%; height: auto; }

.toc {
  position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(145deg, rgba(36,34,56,.86), rgba(24,23,38,.88));
}
.toc strong { display: block; margin-bottom: .7rem; font: 700 1rem "Space Grotesk", sans-serif; }
.toc ol { max-height: calc(100vh - 190px); overflow: auto; margin: 0; padding: 0; list-style: none; }
.toc li + li { margin-top: .35rem; }
.toc a { display: block; color: #aaa7b8; text-decoration: none; font-size: .78rem; line-height: 1.4; }
.toc a:hover { color: var(--coral-2); }

.trust-bar { border-block: 1px solid var(--line); background: var(--ink-2); }
.trust-shell { width: min(var(--content), calc(100% - 32px)); margin: auto; padding: 20px 0; display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .55rem; color: #c7c4ce; font-size: .8rem; font-weight: 700; }
.trust-item i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); background: var(--gold); font-style: normal; }

.site-footer { border-top: 1px solid var(--line); background: #0b0b12; }
.footer-shell { width: min(var(--content), calc(100% - 32px)); margin: auto; padding: 54px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 170px; margin-bottom: 1rem; }
.footer-brand p { max-width: 460px; color: #9693a4; font-size: .86rem; }
.footer-links strong { display: block; margin-bottom: .8rem; font-family: "Space Grotesk", sans-serif; }
.footer-links a { display: block; margin: .42rem 0; color: #9693a4; text-decoration: none; font-size: .86rem; }
.footer-links a:hover { color: var(--coral-2); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: #777485; font-size: .75rem; }
.age { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: .7rem; border: 2px solid var(--coral); border-radius: 50%; color: white; font-weight: 800; }

.promo-modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(5,5,10,.78); backdrop-filter: blur(10px); }
.promo-modal.is-open { display: grid; }
.modal-card { position: relative; width: min(820px, 100%); overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; background: var(--ink-2); box-shadow: 0 36px 110px #000; }
.modal-card img { width: 100%; height: 100%; object-fit: cover; }
.modal-copy { display: flex; flex-direction: column; justify-content: center; padding: 38px; }
.modal-copy h2 { margin: 0 0 .75rem; font: 700 2rem/1.05 "Space Grotesk", sans-serif; }
.modal-copy p { color: var(--muted); }
.modal-close { position: absolute; z-index: 1; right: 12px; top: 12px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: white; background: rgba(16,16,26,.8); font-size: 1.25rem; cursor: pointer; }

@media (max-width: 980px) {
  .desktop-nav, .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { position: fixed; inset: 78px 0 auto; padding: 18px 16px 24px; background: rgba(16,16,26,.98); border-bottom: 1px solid var(--line); }
  .mobile-nav.is-open { display: grid; gap: 5px; }
  .mobile-nav a { padding: .85rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 700; }
  .mobile-nav a:hover { background: rgba(255,255,255,.06); }
  .mobile-nav .button { margin-top: 8px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}

@media (max-width: 1120px) {
  .desktop-nav, .nav-actions { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 680px) {
  .nav-shell { min-height: 68px; }
  .brand img { width: 148px; }
  .mobile-nav { inset-block-start: 68px; }
  .hero, .hero-shell { min-height: 650px; }
  .service-hero, .service-hero .hero-shell { min-height: 480px; }
  .hero::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(16,16,26,.84) 65%, rgba(16,16,26,.45)); }
  .hero-media { object-position: 58% center; opacity: .5; }
  .hero-copy { align-self: end; padding: 110px 0 58px; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .hero-cta .button { flex: 1 1 150px; }
  .page-shell { padding-top: 42px; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 45px; }
  .quick-card { min-height: 190px; }
  .quick-card span { left: 14px; bottom: 14px; font-size: .95rem; }
  .article-content { font-size: .95rem; }
  .article-content table { display: block; overflow-x: auto; white-space: normal; }
  .article-content th, .article-content td { min-width: 145px; padding: .75rem; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-card > img { height: 220px; }
  .modal-copy { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
