/* ==========================================================================
   Reggioconsulting – main stylesheet
   Swiss corporate · minimal · no framework
   ========================================================================== */

:root {
  --navy-950: #060e1b;
  --navy-900: #0a1628;
  --navy-800: #102039;
  --navy-700: #1a2d4d;
  --navy-600: #2a3f63;
  --accent: #1f66e5;          /* AA on white */
  --accent-hover: #1552c2;
  --accent-bright: #2f7bff;   /* decorative / on dark */
  --accent-soft: #5b9dff;     /* text on dark */
  --accent-tint: #eaf1ff;
  --white: #fff;
  --gray-25: #fafbfc;
  --gray-50: #f5f7fa;
  --gray-100: #eef1f5;
  --gray-200: #e1e6ed;
  --gray-300: #c9d1dc;
  --gray-500: #5b6679;
  --gray-600: #465063;
  --text: #0a1628;
  --text-muted: #5b6679;
  --success: #0f8a5f;
  --success-tint: #e7f6ef;
  --danger: #c2362b;
  --danger-tint: #fdeceb;
  --warning: #a86200;
  --warning-tint: #fff4e0;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .06);
  --shadow: 0 1px 2px rgba(10, 22, 40, .04), 0 8px 24px -8px rgba(10, 22, 40, .12);
  --shadow-lg: 0 24px 60px -20px rgba(10, 22, 40, .35);
  --header-h: 76px;
  --header-h-compact: 62px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-compact) + 16px); }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 1000; padding: 10px 16px;
  background: var(--white); color: var(--text); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
#main:focus { outline: none; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
mark.placeholder { background: #fff2b3; color: #6b4e00; padding: 0 .3em; border-radius: 4px; font-weight: 600; outline: 1px dashed #d4a400; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-light { background: var(--white); }
.section-muted { background: var(--gray-50); }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head-left { margin: 0; text-align: left; }
.section-title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.section-intro { font-size: clamp(1.02rem, .98rem + .2vw, 1.15rem); color: var(--text-muted); }
.section-dark .section-intro { color: #b7c3d6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--accent-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--white); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px; border: 1px solid var(--btn-bd); border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: .96rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: 0 6px 18px -8px rgba(31, 102, 229, .7); }
.btn-primary:hover { --btn-bg: var(--accent-hover); box-shadow: 0 10px 24px -10px rgba(31, 102, 229, .8); }
.btn-secondary { --btn-bg: var(--white); --btn-fg: var(--text); --btn-bd: var(--gray-300); }
.btn-secondary:hover { --btn-bd: var(--text); --btn-fg: var(--text); }
.btn-dark { --btn-bg: var(--navy-900); }
.btn-dark:hover { --btn-bg: var(--navy-700); }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: rgba(255, 255, 255, .5); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .85; }
.btn-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn-spinner { display: inline-block; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: height .25s var(--ease), border-color .25s, box-shadow .25s;
}
/* blur lives on a pseudo element: backdrop-filter on the header itself would become the
   containing block of the fixed mobile menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
}
body.menu-open .site-header::before { background: var(--white); }
.site-header.is-compact { height: var(--header-h-compact); border-bottom-color: var(--gray-200); box-shadow: 0 6px 24px -18px rgba(10, 22, 40, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; flex: none; transition: transform .3s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-mark-bg { fill: var(--navy-900); }
.brand-mark-r { fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark-dot { fill: var(--accent-bright); }
.brand-name { font-size: 1.2rem; }
.brand-name span { color: var(--accent); font-weight: 500; }
.brand-light, .brand-light:hover { color: var(--white); }
.brand-light .brand-mark-bg { fill: var(--accent); }
.brand-light .brand-mark-dot { fill: var(--white); }
.brand-light .brand-name span { color: var(--accent-soft); }

.main-nav { display: none; }
.nav-list { list-style: none; display: flex; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 10px 14px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 8px;
  transition: color .2s, background-color .2s;
}
.nav-list a:hover { background: var(--gray-100); color: var(--text); }
.nav-list a[aria-current="page"] { color: var(--accent); }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; background: var(--gray-100); border-radius: 9px; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 34px; padding: 0 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--text-muted); text-decoration: none; border-radius: 7px; transition: background-color .2s, color .2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active { background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--gray-200); border-radius: 10px; background: var(--white);
}
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars span { position: absolute; left: 0; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; width: 70%; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile menu */
@media (max-width: 1023.98px) {
  .main-nav {
    display: flex; flex-direction: column; position: fixed; inset: var(--header-h-compact) 0 0 0; z-index: 99;
    padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--white); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .site-header:not(.is-compact) .main-nav { top: var(--header-h); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--gray-100); }
  .nav-list a { padding: 18px 4px; font-size: 1.25rem; font-weight: 600; border-radius: 0; }
  .nav-list a:hover { background: none; }
  .nav-list a[aria-current="page"]::after { display: none; }
  .main-nav.is-open .nav-list li { animation: menuIn .4s var(--ease) both; }
  .main-nav.is-open .nav-list li:nth-child(2) { animation-delay: .04s; }
  .main-nav.is-open .nav-list li:nth-child(3) { animation-delay: .08s; }
  .main-nav.is-open .nav-list li:nth-child(4) { animation-delay: .12s; }
  .main-nav.is-open .nav-list li:nth-child(5) { animation-delay: .16s; }
  .nav-mobile-extra { display: block; margin-top: 28px; }
  body.menu-open { overflow: hidden; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 30px; height: 30px; }
  .lang-switch a { min-width: 32px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
}
@media (max-width: 359.98px) {
  .site-header .brand-mark { display: none; }
  .brand-name { font-size: 1rem; }
  .nav-toggle { width: 40px; height: 40px; }
}
/* grid children may shrink below their content width (prevents horizontal scroll) */
.hero-grid > *, .directions-layout > *, .about-grid > *, .faq-layout > *, .contact-grid > *, .cta-band-inner > * { min-width: 0; }
@media (max-width: 479.98px) {
  .btn { white-space: normal; text-align: center; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--gray-50); border-bottom: 1px solid var(--gray-100); font-size: .875rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; }
.breadcrumb li { color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gray-300); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy-950); padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 85% 10%, rgba(47, 123, 255, .22), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(47, 123, 255, .10), transparent 60%),
  linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.1rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 24px; max-width: 14ch; }
.hero-subtitle { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); color: #dbe4f2; font-weight: 500; max-width: 38ch; }
.hero-text { color: #9fb0c8; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-highlights { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #b7c3d6; font-size: .92rem; }
.hero-highlights li { display: inline-flex; align-items: center; gap: 8px; }
.hero-highlights .icon { color: var(--accent-soft); }

.hero-visual { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.hero-svg { width: 100%; height: auto; }
.hv-grid line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.hv-link { fill: none; stroke: rgba(91, 157, 255, .55); stroke-width: 1.5; }
.hv-link-soft { stroke: rgba(91, 157, 255, .22); stroke-dasharray: 4 6; }
.hv-node { fill: var(--navy-900); stroke: var(--accent-soft); stroke-width: 2; }
.hv-node-soft { stroke: rgba(91, 157, 255, .5); }
.hv-node-accent { fill: var(--accent-bright); stroke: #bcd5ff; }
.hv-node-pulse { transform-origin: 330px 210px; animation: pulse 3s var(--ease) infinite; }
.hv-curve { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.2s .3s var(--ease) forwards; }
.hv-bars rect { fill: rgba(255, 255, 255, .12); }
.hv-bars .hv-bar-accent { fill: var(--accent-bright); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

.hv-card {
  position: absolute; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; min-width: 150px;
  padding: 12px 14px; border-radius: 14px; background: rgba(16, 32, 57, .72); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
  font-size: .8rem; color: #dbe4f2; animation: float 7s ease-in-out infinite;
}
.hv-card-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(47, 123, 255, .2); color: var(--accent-soft); grid-row: span 2; }
.hv-card-label { font-weight: 600; }
.hv-card-bar { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hv-card-bar span { display: block; height: 100%; width: 72%; background: var(--accent-bright); border-radius: inherit; }
.hv-card-bar-2 span { width: 58%; }
.hv-dots { display: flex; gap: 4px; }
.hv-dots i { width: 14px; height: 5px; border-radius: 3px; background: var(--accent-bright); }
.hv-dots i:nth-child(n+3) { background: rgba(255, 255, 255, .2); }
.hv-card-1 { top: 6%; right: 2%; }
.hv-card-2 { bottom: 12%; left: 0; animation-delay: -2.5s; }
.hv-card-3 { bottom: 42%; right: -2%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}
@media (max-width: 480px) {
  .hv-card { min-width: 0; font-size: .72rem; padding: 9px 10px; }
  .hv-card-3 { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Cards / grids ---------- */
.icon-box { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); flex: none; }
.icon-box-dark { background: rgba(47, 123, 255, .14); color: var(--accent-soft); }

.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  background: var(--white); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.service-badge { font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.badge-direct { background: var(--success-tint); color: var(--success); }
.badge-request { background: var(--gray-100); color: var(--gray-600); }
.service-name { font-size: 1.25rem; margin-bottom: 8px; }
.service-short { color: var(--text-muted); font-size: .95rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 24px; }
.tag-list li { font-size: .78rem; padding: 4px 10px; border-radius: 6px; background: var(--gray-50); border: 1px solid var(--gray-100); color: var(--gray-600); }
.service-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--gray-100); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.service-price { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.service-actions { display: flex; gap: 8px; }

/* Directions */
.directions-layout { display: grid; gap: 48px; }
.direction-grid { list-style: none; display: grid; gap: 1px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-lg); overflow: hidden; }
.direction-item { display: flex; gap: 16px; padding: 24px; background: var(--navy-900); transition: background-color .3s; }
.direction-item:hover { background: var(--navy-800); }
.direction-title { font-size: 1.05rem; margin-bottom: 4px; }
.direction-text { margin: 0; font-size: .9rem; color: #9fb0c8; }
.directions-layout .section-head .btn { margin-top: 12px; }
@media (min-width: 1024px) {
  .directions-layout { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .directions-layout .section-head { position: sticky; top: calc(var(--header-h-compact) + 32px); }
}

/* Pricing */
.pricing-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.is-featured { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.price-card.is-featured .price-mode, .price-card.is-featured .check-list { color: #c3cedf; }
.price-card.is-featured .check-list .icon { color: var(--accent-soft); }
.price-flag { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; background: var(--accent-bright); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.price-name { font-size: 1.15rem; margin-bottom: 14px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.price-from { font-size: .95rem; color: var(--text-muted); font-weight: 500; }
.price-card.is-featured .price-from { color: #9fb0c8; }
.price-value { font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price-mode { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.price-card .check-list { margin-bottom: 28px; flex: 1; }
.pricing-note { max-width: 760px; margin: 32px auto 0; text-align: center; font-size: .88rem; color: var(--text-muted); }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.check-list .icon { color: var(--accent); margin-top: 2px; }

/* About */
.about-grid { display: grid; gap: 48px; align-items: start; }
.about-copy p { color: var(--gray-600); font-size: 1.05rem; }
.pillars { list-style: none; display: grid; gap: 16px; }
.pillar { display: flex; gap: 20px; padding: 26px; border-radius: var(--radius-lg); background: var(--gray-50); border: 1px solid var(--gray-100); }
.pillar-num { font-size: .85rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; padding-top: 3px; }
.pillar-title { font-size: 1.15rem; margin-bottom: 4px; }
.pillar p { margin: 0; color: var(--text-muted); }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }

/* Why */
.why-grid { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.why-item { padding: 28px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-item .icon-box { margin-bottom: 18px; }
.why-title { font-size: 1.08rem; margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* Steps */
.steps { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); background: var(--white); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--navy-900); color: var(--white); font-weight: 700; }
.step:first-child .step-num { background: var(--accent); }
.step-title { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-muted); font-size: .95rem; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 50px; left: calc(24px + 44px + 12px); right: -12px; height: 1px; background: repeating-linear-gradient(90deg, var(--gray-300) 0 6px, transparent 6px 12px); }
}

/* FAQ */
.faq-layout { display: grid; gap: 40px; }
.faq-layout .section-head .btn { margin-top: 8px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--gray-300); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; border-radius: var(--radius); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { margin: 0; font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.faq-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--gray-50); transition: transform .3s var(--ease), background-color .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent-tint); color: var(--accent); }
.faq-a { padding: 0 22px 20px; color: var(--gray-600); }
.faq-a p { margin: 0; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: .75fr 1.25fr; gap: 64px; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h-compact) + 32px); align-self: start; }
}

/* CTA band */
.cta-band { padding: 0 0 clamp(64px, 9vw, 110px); background: inherit; }
.section-muted + .cta-band { background: var(--gray-50); }
.cta-band-inner {
  display: grid; gap: 24px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 24px; color: var(--white);
  background: radial-gradient(600px 300px at 100% 0, rgba(47, 123, 255, .35), transparent 60%), var(--navy-900);
}
.cta-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
.cta-band-inner p { color: #b7c3d6; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1.3fr auto; } }

/* ---------- Forms ---------- */
.contact-grid { display: grid; gap: 48px; }
.contact-card { margin-top: 32px; padding: 26px; border-radius: var(--radius-lg); background: var(--gray-50); border: 1px solid var(--gray-100); }
.contact-card-title { font-size: 1rem; margin-bottom: 16px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.contact-list .icon { color: var(--accent); margin-top: 2px; }
.contact-list .muted { display: block; font-size: .8rem; }
.contact-form-wrap { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-200); box-shadow: var(--shadow); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }

.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; }
.field .req { color: var(--danger); }
.field .opt { color: var(--text-muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: 10px; background: var(--white);
  font-size: 16px; /* prevents iOS zoom */ line-height: 1.4; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b6679' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 102, 229, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { margin: 6px 0 0; font-size: .82rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.field-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.field-check label { font-weight: 400; font-size: .88rem; color: var(--gray-600); margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 20px; padding: 12px 16px; border-radius: 10px; background: var(--danger-tint); color: var(--danger); font-size: .9rem; font-weight: 500; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--text-muted); margin: 0 0 16px; }
.form-note .icon { color: var(--success); margin-top: 2px; }
.form-success, .modal-success { text-align: center; padding: 24px 8px; }
.form-success:focus, .modal-success:focus { outline: none; }
.success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: var(--success-tint); color: var(--success); }
.success-icon .icon { width: 32px; height: 32px; stroke-width: 2.2; }

/* payment method choice */
.gateway-choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.gateway-choice legend { font-size: .88rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.gateway-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: 10px; cursor: pointer; font-size: .95rem; transition: border-color .2s, background-color .2s; }
.gateway-option:hover { border-color: var(--gray-500); }
.gateway-option input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.gateway-option:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }

/* ---------- Modal ---------- */
.modal {
  width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--white); color: var(--text); box-shadow: 0 40px 80px -20px rgba(6, 14, 27, .5); overflow: hidden;
}
.modal-sm { width: min(520px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(6, 14, 27, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .35s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .3s var(--ease); }
.modal-panel { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(20px, 4vw, 32px); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.modal-head .eyebrow { margin-bottom: 6px; }
.modal-title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin: 0; }
.modal-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin: -8px -8px 0 0; border: 0; border-radius: 10px; background: transparent; color: var(--text-muted); }
.modal-close:hover { background: var(--gray-100); color: var(--text); }
.order-summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; margin-bottom: 20px; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-100); }
.order-summary-label { display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.order-summary-value { font-size: 1.02rem; }
.order-summary-price { text-align: right; }
.order-summary-price .order-summary-value { color: var(--accent); white-space: nowrap; }
.modal .form-grid { margin-bottom: 20px; }
.details-text { color: var(--gray-600); }
.details-sub { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 20px 0 12px; }
.details-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.details-price { font-size: 1.3rem; }
.consent-list { list-style: none; display: grid; gap: 10px; margin: 16px 0; }
.consent-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--gray-50); }
.badge { font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: var(--success-tint); color: var(--success); font-weight: 600; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 599.98px) {
  .modal { width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .modal-panel { max-height: 94dvh; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .modal[open] { animation: sheetIn .35s var(--ease); }
  .order-summary { flex-direction: column; gap: 10px; }
  .order-summary-price { text-align: left; }
}
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Payment result ---------- */
.payment-result { min-height: 60vh; display: flex; align-items: center; }
.result-card { padding: clamp(28px, 5vw, 56px); background: var(--white); border-radius: 24px; border: 1px solid var(--gray-200); box-shadow: var(--shadow); text-align: center; }
.result-title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; }
.result-title:focus { outline: none; }
.result-text { color: var(--gray-600); max-width: 52ch; margin: 0 auto 24px; }
.result-spinner { width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; border: 3px solid var(--gray-200); border-top-color: var(--accent); animation: spin .9s linear infinite; }
.result-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; }
.result-icon .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.result-success .result-icon { background: var(--success-tint); color: var(--success); }
.result-failed .result-icon, .result-cancelled .result-icon { background: var(--danger-tint); color: var(--danger); }
.result-processing .result-icon, .result-review .result-icon, .result-not_found .result-icon { background: var(--warning-tint); color: var(--warning); }
.result-details { display: grid; margin: 0 auto 28px; max-width: 520px; text-align: left; border-top: 1px solid var(--gray-100); }
.result-details div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.result-details dt { color: var(--text-muted); font-size: .9rem; }
.result-details dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
html.js .result-final:not(.is-revealed) { display: none; }
html:not(.js) .result-checking { display: none; }
html.js .result-checking.is-done { display: none; }

/* ---------- Legal ---------- */
.legal-body h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: 8px; }
.legal-body h2 { font-size: 1.3rem; margin: 2.2em 0 .6em; }
.legal-body h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.legal-body p, .legal-body li { color: var(--gray-600); }
.legal-body ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal-body li { margin-bottom: .35em; }
.legal-meta { color: var(--text-muted); font-size: .9rem; }
.legal-note { margin-top: 48px; padding: 14px 16px; border-radius: 10px; background: var(--gray-50); font-size: .85rem; color: var(--text-muted); }
.legal-box { padding: 20px 22px; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-100); margin: 1em 0 1.5em; }
.legal-box p { margin: 0 0 .4em; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound-inner { text-align: center; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0c8; font-size: .92rem; padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
.footer-tagline { margin: 18px 0 14px; max-width: 32ch; color: #b7c3d6; }
.footer-secure { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; }
.footer-secure .icon { color: var(--accent-soft); }
.footer-title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; font-weight: 600; }
.footer-address { line-height: 1.7; margin-bottom: 14px; }
.footer-address strong { color: var(--white); }
.footer-meta { font-size: .82rem; line-height: 1.7; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #b7c3d6; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--accent-soft); }
.footer-contact .muted { color: #71829b; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a, .footer-legal .link-button { color: #9fb0c8; text-decoration: none; }
.footer-legal a:hover, .footer-legal .link-button:hover { color: var(--white); text-decoration: underline; }
.site-footer mark.placeholder { background: rgba(255, 214, 0, .16); color: #ffd84d; outline-color: rgba(255, 214, 0, .45); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1.2fr .8fr 1fr; } }

/* ---------- Reveal animation ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal.no-anim { transition: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .hv-curve { stroke-dashoffset: 0; }
  .btn:hover, .service-card:hover, .price-card:hover, .why-item:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .modal, .cta-band, .hero-visual { display: none !important; }
  .hero { background: none; color: #000; }
  html.js .reveal { opacity: 1; transform: none; }
}
