/* Approved Re-Vanna visual direction, 22.09.2026 */
:root {
  --ink: #111918;
  --ink-2: #3f4a47;
  --muted: #5f6b66;
  --canvas: #f4f7f5;
  --surface: #ffffff;
  --line: #dfe6e2;
  --accent: #3157ff;
  --accent-hover: #203bd0;
  --accent-soft: #e6ebff;
  --lime: #c7f36b;
  --mint: #dff7ef;
  --danger: #a62f27;
  --shadow: 0 24px 70px rgba(25, 43, 38, .11);
  --radius-card: 22px;
  --radius-control: 12px;
  --radius-button: 13px;
  --header-height: 82px;
}

body { background: var(--canvas); color: var(--ink); }
:focus-visible { outline-color: var(--accent); }

.prototype-note {
  padding: 9px 16px;
  background: var(--ink);
  color: white;
  letter-spacing: .02em;
}

.site-header {
  border-bottom-color: rgba(223, 230, 226, .92);
  background: rgba(244, 247, 245, .9);
  backdrop-filter: blur(20px) saturate(150%);
}
.header-inner { gap: 32px; }
.brand-mark { font-size: 27px; font-weight: 820; letter-spacing: -.055em; }
.brand-mark i { color: var(--accent); }
.brand-caption { color: var(--muted); font-size: 9px; font-weight: 750; }

.desktop-nav {
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}
.nav-link, .nav-trigger {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] {
  background: var(--surface);
  color: var(--accent-hover);
}
.phone { color: var(--muted); font-size: 14px; font-weight: 650; }

.mega-menu {
  width: min(calc(100vw - 64px), 1040px);
  padding: 30px;
  border-color: var(--line);
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow);
}
.mega-all, .mega-list a:hover { color: var(--accent-hover); }
.mega-title { color: var(--muted); }

.menu-toggle { border-color: var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(25,43,38,.08); }

.btn {
  min-height: 50px;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); box-shadow: 0 10px 30px rgba(49,87,255,.24); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 14px 34px rgba(49,87,255,.3); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.74); }
.btn-secondary:hover { border-color: #c8d0cc; background: white; color: var(--accent-hover); }
.btn-small { min-height: 46px; padding: 10px 16px; }
.text-link, .card-link { color: var(--accent-hover); }

.section { padding-block: 110px; }
.section-compact { padding-block: 78px; }
.surface-section { background: var(--surface); }
.dark-section { background: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--accent-hover);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .09em;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(199,243,107,.28);
}
.dark-section .eyebrow { color: white; }

h1, h2, h3 { font-weight: 670; letter-spacing: -.055em; }
h1 { max-width: 12ch; font-size: clamp(3.4rem, 5.7vw, 5.55rem); line-height: .97; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; }
h3 { letter-spacing: -.04em; }
.lede { color: var(--ink-2); }
.section-heading { margin-bottom: 46px; }
.section-heading p { color: var(--muted); }

.hero { padding-block: 76px 98px; }
.hero-grid { grid-template-columns: minmax(0,.9fr) minmax(480px,1.1fr); gap: 70px; }
.hero-actions { margin-top: 34px; }
.hero-note { gap: 11px; margin-top: 30px; }
.hero-note span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: var(--ink-soft);
  font-size: 13px;
}
.hero-note span::before { display: none; }
.hero-media { isolation: isolate; }
.hero-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -42px;
  top: -42px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--lime);
  opacity: .78;
}
.hero-image {
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  box-shadow: var(--shadow);
  filter: saturate(.88) contrast(1.02);
}
.hero-image.hero-illustration {
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #f5f1ec;
  filter: none;
}
.floating-card {
  left: auto;
  right: -24px;
  bottom: 30px;
  min-width: 230px;
  width: auto;
  padding: 18px 20px;
  border-color: rgba(255,255,255,.8);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 55px rgba(18,33,29,.18);
  backdrop-filter: blur(18px);
}
.floating-card strong { font-size: 25px; }
.floating-card span { color: var(--muted); }

.breadcrumbs { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-hover); }

.stat-grid {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 50px rgba(25,43,38,.06);
  backdrop-filter: blur(12px);
}
.stat { border-color: var(--line); }
.stat strong { color: var(--ink); font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 720; }

.card-grid { gap: 16px; }
.service-card, .content-card {
  padding: 28px;
  border-color: var(--line);
  border-radius: var(--radius-card);
  background: var(--canvas);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.surface-section .service-card, .surface-section .content-card { background: var(--canvas); }
.service-card:hover, .content-card:hover {
  transform: translateY(-4px);
  border-color: #b9c4bf;
  box-shadow: 0 20px 48px rgba(25,43,38,.08);
}
.card-kicker { color: var(--accent-hover); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.service-card p, .content-card p { color: var(--muted); }
.card-price { font-weight: 760; }

.price-table, .comparison-table {
  border-color: var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(25,43,38,.06);
}
.price-table th, .comparison-table th { background: var(--ink); color: white; }
.price-table th, .price-table td, .comparison-table th, .comparison-table td { border-color: var(--line); }
.price-table tbody tr:hover, .comparison-table tbody tr:hover { background: #f6f8ff; }
.price-table td:last-child { color: var(--accent-hover); }

/* Text comparisons wrap independently of numeric price columns. */
.comparison-table { table-layout: fixed; }
.comparison-table th, .comparison-table td { overflow-wrap: anywhere; }
.footer-phone { display: inline-block; margin-top: 18px; font-size: 18px; font-weight: 700; }
.mobile-main-links > .mobile-phone { color: var(--accent-hover); }
.page-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.article-body .page-contact-actions .btn-primary { color: white; }
.article-body .page-contact-actions .btn-secondary { color: var(--ink); }

.callout { border-left-color: var(--accent); border-radius: 0 16px 16px 0; background: var(--accent-soft); }
.step { border-top-color: var(--line); }
.step::before { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.before-after { border-radius: 30px; box-shadow: var(--shadow); }
.compare-label { border-radius: 999px; background: rgba(17,25,24,.74); backdrop-filter: blur(12px); }

.faq-list summary::after { color: var(--accent); }

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: var(--accent);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--lime);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { color: #e4e8ff; }
.cta-band .btn-primary { background: white; color: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f7f8ff; }

.article-toc { padding-left: 18px; border-left: 3px solid var(--accent); }
.article-body img { border-radius: 24px; box-shadow: 0 16px 48px rgba(25,43,38,.08); }

.zone-visual {
  border-color: var(--line);
  background:
    radial-gradient(circle at center, rgba(49,87,255,.11) 0 18%, transparent 18% 35%, rgba(49,87,255,.08) 35% 36%, transparent 36% 55%, rgba(49,87,255,.11) 55% 56%, transparent 56%),
    var(--surface);
  box-shadow: var(--shadow);
}
.zone-center { background: var(--accent); }
.zone-tag { border-color: var(--line); border-radius: 999px; box-shadow: 0 8px 24px rgba(25,43,38,.08); }
.geography-photo img { border-radius: 30px; box-shadow: var(--shadow); filter: saturate(.9); }

.form-card { border-color: var(--line); border-radius: 24px; box-shadow: 0 18px 60px rgba(25,43,38,.08); }
.field input, .field textarea { border-color: #cbd5d0; border-radius: 12px; }
.form-status { border-radius: 12px; background: var(--mint); }

.site-footer { background: var(--ink); }
.modal { border-radius: 24px; }
.modal-close { border-radius: 12px; }
.swatch { border-color: var(--line); border-radius: 18px; }

@media (min-width: 1081px) {
  .hero { min-height: calc(100vh - 120px); min-height: calc(100svh - 120px); box-sizing: border-box; }
}

@media (min-width: 1081px) and (max-height: 840px) {
  .hero { padding-block: 42px 58px; }
  .hero-grid { gap: 52px; }
  .hero h1 { font-size: clamp(3rem, 4.8vw, 4.5rem); }
  .hero-actions { margin-top: 24px; }
  .hero-note { margin-top: 20px; }
  .hero-image { max-height: 440px; }
}

@media (max-width: 1080px) {
  .mobile-panel { background: rgba(244,247,245,.98); }
  .hero-grid, .zone-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-media { width: min(100%,780px); margin-left: 0; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .section { padding-block: 78px; }
  .hero { padding-block: 58px 80px; }
  .hero-grid { gap: 48px; }
  h1 { font-size: clamp(3rem,14vw,4.5rem); }
  .hero-actions { display: grid; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .hero-note { gap: 8px; }
  .hero-image { border-radius: 22px; }
  .hero-media::before { right: -18px; top: -22px; width: 84px; height: 84px; }
  .floating-card { right: 12px; bottom: 12px; min-width: 0; }
  .stat-grid { border-radius: 18px; }
  .price-table, .comparison-table { border-radius: 18px; }
  .price-table td, .comparison-table td,
  .comparison-table td:not(:first-child) {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    width: 100%;
    gap: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .price-table td::before, .comparison-table td::before { min-width: 0; }
  .page-contact-actions { display: grid; }
  .page-contact-actions .btn { width: 100%; }
  .cta-band { border-radius: 24px; padding-bottom: 120px; }
  .geography-photo img { border-radius: 22px; }
}
