/* Vars */
:root {
  --bg: #EEF4F9;
  --surface: #FFFFFF;
  --text: #0B1B2B;
  --muted: #3F5468;
  --accent: #005E9C;
  --accent-text: #FFFFFF;
  --plate-bg: #0B1B2B;
  --plate-text: #EEF4F9;
  --line: #C7D6E2;
  --font: 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius-btn: 10px;
  --radius-card: 10px;
  --pad-x: clamp(16px, 4vw, 40px);
  --shadow-soft: 0 1px 2px rgb(0 0 0 / .06), 0 12px 32px rgb(0 0 0 / .08);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / .08), 0 20px 44px rgb(0 0 0 / .14);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(160deg, var(--bg) 0%, #DCE8F2 55%, #CFE0ED 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image: repeating-conic-gradient(rgb(11 27 43 / .05) 0% 25%, transparent 0% 50%);
  background-size: 5px 5px;
  pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; object-fit: cover; border: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 0.6vw + 1rem, 1.5rem); font-weight: 700; }
p { max-width: 68ch; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.shell { max-width: 1200px; margin-inline: auto; padding-inline: var(--pad-x); }
.shell-narrow { max-width: 760px; }
.band { padding-block: clamp(64px, 9vw, 128px); }
.band > .shell > h2 { margin: 0 0 16px; }
.band > .shell > p { margin: 0 0 40px; color: var(--muted); }
.accent { color: var(--accent); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--plate-bg);
  color: var(--plate-text);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 16px;
  pointer-events: none;
}
.head-capsule {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  max-width: 1040px;
  padding-block: 10px;
  background: rgb(255 255 255 / .92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.brand-mark {
  justify-self: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.menu-btn {
  justify-self: start;
  min-height: 44px;
  padding: 0 18px;
  font: 600 1rem var(--font);
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  cursor: pointer;
}
.menu-btn:hover { background: #E2ECF4; }
.menu-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.menu-btn:active { box-shadow: none; }
.btn-head { justify-self: end; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font: 600 1rem var(--font);
  color: var(--accent-text);
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-btn);
  background-image: linear-gradient(135deg, #0071BA 0%, var(--accent) 60%, #004A7C 100%);
  background-size: 200% 100%;
  background-position: 0 100%;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: background-position .3s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #FFB100; outline-offset: 3px; }
.btn:active { box-shadow: none; transform: translateY(0); background-position: 100% 0; }
.btn-ghost {
  color: var(--accent);
  background-image: none;
  background-color: transparent;
  border: 1px solid var(--accent);
  box-shadow: none;
}
.btn-ghost:hover { background-color: #E2ECF4; }
.btn-ghost:active { background-color: #D2E2EE; }

/* Menu overlay */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  background: var(--plate-bg);
  color: var(--plate-text);
  overflow-y: auto;
  padding-block: clamp(48px, 8vh, 96px) 48px;
}
.menu-panel.menu-open { display: block; }
.menu-inner { display: grid; gap: 40px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.menu-link {
  display: inline-block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--plate-text);
  text-decoration: none;
  padding-block: 6px;
  position: relative;
}
.menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  background: var(--plate-text);
  transition: width .3s ease;
}
.menu-link:hover::after,
.menu-link[aria-current="page"]::after { width: 100%; }
.menu-aside { border-top: 1px solid rgb(238 244 249 / .25); padding-top: 24px; }
.menu-note { margin: 0 0 8px; color: #B9CBD9; }
.menu-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu-aside a { color: var(--plate-text); }
.menu-aside span { color: #B9CBD9; margin-right: 6px; }

/* Hero */
.hero { padding-top: clamp(32px, 6vw, 72px); }
.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.hero-title { margin: 0 0 20px; }
.hero-title .accent { display: block; font-size: clamp(2.1rem, 3.8vw + 0.5rem, 3.9rem); }
.hero-sub { margin: 20px 0 32px; max-width: 46ch; line-height: 1.65; color: var(--muted); font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.3rem); }
.hero-photo img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 3 / 4; max-height: 88vh; object-fit: cover; }

/* Cards */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 24px);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 2.5vw, 32px);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tile h3 { margin: 0 0 12px; }
.tile p { margin: 0; max-width: 34ch; color: var(--muted); }
.tile-dark { background: var(--plate-bg); border-color: var(--plate-bg); color: var(--plate-text); }
.tile-dark p { color: #C6D6E3; }
.tile-dark a { color: #9CCBEC; }

/* Prices */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.price-card { display: flex; flex-direction: column; gap: 12px; }
.price-value { font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.price-mid {
  border-color: var(--accent);
  background: #E7F1F9;
  box-shadow: var(--shadow-lift);
}
.price-mid:hover { transform: translateY(-6px); }

/* Plate */
.plate {
  background: var(--plate-bg);
  color: var(--plate-text);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow-lift);
}
.plate h2 { margin: 0 0 16px; }
.plate p { max-width: 560px; color: #C6D6E3; }
.plate a { color: #9CCBEC; }

/* Form */
.form-plate { max-width: 760px; }
.lead-form { display: grid; gap: 20px; margin-top: 24px; }
.form-field { display: grid; gap: 6px; }
.form-label { font-weight: 600; font-size: 1rem; color: var(--plate-text); }
.form-input,
.form-input-area {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font: 400 1rem var(--font);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
}
.form-input:focus-visible { outline: 3px solid #FFB100; outline-offset: 2px; }
.form-input-area { resize: vertical; }
.field-error { color: #FFC8C2; font-size: 0.9rem; }
.field-error .form-input { border-color: #FFC8C2; }
.form-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.form-check input { min-height: 20px; width: 20px; margin-top: 3px; accent-color: #9CCBEC; }
.form-check label { font-size: 0.95rem; color: #C6D6E3; }
.form-check a { color: #9CCBEC; }
.form-note { margin: 0; font-size: 0.9rem; color: #9FB4C6; }
.form-btn { justify-self: start; }
.lead-form.is-sending .form-btn { opacity: .6; pointer-events: none; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 24px; }
.steps-list h3 { margin: 0 0 6px; }
.steps-list p { margin: 0; color: var(--muted); }
.steps-photo img { width: 100%; aspect-ratio: 4 / 3; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 760px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.faq-list details:hover { transform: translateY(-2px); }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding-block: 18px;
  list-style-position: outside;
}
.faq-list summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq-list p { margin: 0 0 20px; color: var(--muted); }

/* Wide photo */
.wide-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: clamp(16px, 3vw, 24px); }

/* Float bar */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 20px var(--pad-x) 24px;
  background: rgb(255 255 255 / .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgb(0 0 0 / .08);
  display: none;
}
.float-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad-x); }
.float-text { margin: 0; font-size: 0.95rem; font-weight: 600; }
.float-bar .btn { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }

/* Footer */
.site-foot {
  background: var(--plate-bg);
  color: var(--plate-text);
  padding-top: clamp(48px, 6vw, 72px);
  margin-top: clamp(32px, 5vw, 64px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.foot-title { margin: 0 0 12px; font-weight: 700; font-size: 1.05rem; }
.foot-text { margin: 0; color: #C6D6E3; font-size: 0.95rem; }
.site-foot address { font-style: normal; }
.site-foot address p { margin: 0 0 8px; color: #C6D6E3; font-size: 0.95rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot ul span { color: #9FB4C6; margin-right: 6px; font-size: 0.9rem; }
.site-foot a { color: #9CCBEC; }
.foot-links { display: grid; }
.foot-link { font-size: 0.95rem; }
.foot-bottom { border-top: 1px solid rgb(238 244 249 / .2); padding-block: 20px; }
.foot-copy { margin: 0; font-size: 0.9rem; color: #9FB4C6; }

/* Inner pages */
.page-head { padding-top: clamp(24px, 4vw, 48px); }
.page-head h1 { margin: 0 0 20px; }
.page-head p { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 1vw + 1.1rem, 2rem); margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface); }
.prose th { background: #E2ECF4; }
.contact-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-soft); max-width: 760px; }
.contact-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-block span { color: var(--muted); margin-right: 8px; }
.page-center { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.page-center h1 { margin: 0 0 16px; }
.page-center p { margin: 0 auto 28px; color: var(--muted); }

/* Reveal */
.reveal { opacity: 1; }
html.is-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.is-ready .reveal.is-shown { opacity: 1; transform: none; }

/* Breakpoints */
@media (max-width: 1279px) {
  .band > .shell { padding-inline: var(--pad-x); }
}
@media (min-width: 640px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .float-bar { display: block; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 3fr 2fr; }
  .prose, .page-head p { margin-left: 0; }
}
@media (max-width: 767px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(32px, 9vw, 40px); max-width: 12ch; text-wrap: balance; }
  .hero-title .accent { font-size: clamp(28px, 8vw, 36px); }
  .hero-photo img { max-height: 70vh; margin-inline: auto; }
  .btn-head { padding: 0 16px; font-size: 0.9rem; }
}
@media (min-width: 1024px) {
  .price-grid { grid-template-columns: 1fr 1.2fr 1fr; }
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .menu-inner { grid-template-columns: 3fr 2fr; align-items: start; }
}
@media (max-width: 479px) {
  .menu-btn-label { display: none; }
  .menu-btn::before { content: "Menu"; }
  .head-capsule { grid-template-columns: auto 1fr auto; }
  .float-text { display: none; }
  .float-inner { justify-content: center; }
  .float-bar .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.is-ready .reveal { opacity: 1; transform: none; }
}

/* Mobile touch and rhythm */
@media (max-width: 767px) {
  .hero .btn,
  .plate .btn,
  .form-btn { min-height: 48px; padding: 14px 24px; display: inline-flex; }
  .plate .btn,
  .form-btn { width: 100%; max-width: 320px; }
  .band { padding-block: clamp(56px, 9vw, 88px); }
}
@media (min-width: 768px) {
  .band { padding-block: clamp(64px, 7vw, 112px); }
}
