/* ==========================================================================
   Biry Motors – styles
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B0E13;
  --ink-2: #11151C;
  --ink-3: #181D26;
  --ink-line: rgba(255, 255, 255, .09);
  --paper: #F4F2EE;
  --paper-2: #FFFFFF;
  --paper-line: #E2DFD8;
  --text: #151A22;
  --text-muted: #5B6472;
  --text-light: #EDEFF3;
  --text-light-muted: #9BA4B3;
  --accent: #F26A21;
  --accent-hi: #FF9A4D;
  --accent-deep: #E2481C;
  --accent-grad: linear-gradient(135deg, var(--accent-hi), var(--accent-deep));
  --ok: #3DD68C;
  --err: #FF6B5B;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 14, 19, .06), 0 12px 32px -12px rgba(11, 14, 19, .18);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.sprite { display: none; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .6em 1.05em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent-grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 106, 33, .7); }
.btn-accent:hover { box-shadow: 0 14px 30px -10px rgba(242, 106, 33, .85); }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: var(--text-light); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .07); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--text-light);
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(11, 14, 19, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--ink-line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: .14em; }
.brand-name b { font-weight: 500; color: var(--accent-hi); }
.brand-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-light-muted); margin-top: 3px; }

.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; font-size: .94rem; font-weight: 500; color: var(--text-light-muted);
  padding: .5em .85em; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--text-light); background: rgba(255, 255, 255, .06); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ink-line); }
.lang button {
  border: 0; background: transparent; color: var(--text-light-muted); cursor: pointer;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; padding: .38em .8em; border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--text-light); color: var(--ink); }
.lang button { display: grid; place-items: center; padding: 6px 9px; line-height: 0; }
.lang img { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); opacity: .5; transition: opacity .2s; }
.lang button:hover img, .lang button[aria-pressed="true"] img { opacity: 1; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .14); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--ink-line); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text-light); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text-light); background: var(--ink);
  padding: calc(var(--header-h) + clamp(48px, 9vw, 110px)) 0 clamp(64px, 9vw, 120px);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(242, 106, 33, .22), transparent 70%),
    radial-gradient(45% 50% at 10% 100%, rgba(80, 110, 160, .16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2zM28 64.7V97' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent-grad); border-radius: 2px; }
.eyebrow-light { color: var(--accent-hi); }

.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: 24px; }
.accent-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-light-muted); max-width: 36em; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.stats { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(24px, 4vw, 48px); border-top: 1px solid var(--ink-line); }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.2; }
.stats span { font-size: .86rem; color: var(--text-light-muted); }

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.status {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  padding: .4em .85em; border-radius: 999px; background: rgba(255, 255, 255, .06); margin-bottom: 18px; min-height: 2em;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-light-muted); }
.status.is-open { color: var(--ok); background: rgba(61, 214, 140, .1); }
.status.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 214, 140, .18); animation: pulse 2s infinite; }
.status.is-closed { color: #FFB38A; background: rgba(242, 106, 33, .12); }
.status.is-closed .dot { background: var(--accent); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 214, 140, 0); } }

.card-title { font-size: 1.15rem; margin-bottom: 14px; }
.hours { margin: 0; display: grid; gap: 2px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 10px; font-size: .95rem; }
.hours dt { color: var(--text-light-muted); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours div.is-today { background: rgba(242, 106, 33, .12); }
.hours div.is-today dt { color: var(--text-light); }
.card-sep { height: 1px; background: var(--ink-line); margin: 18px 0 8px; }
.card-line { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; text-decoration: none; color: var(--text-light); font-size: .95rem; line-height: 1.45; }
.card-line .ic { color: var(--accent-hi); margin-top: 2px; }
.card-line:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-light { background: var(--paper); color: var(--text); }
.section-dark { background: var(--ink-2); color: var(--text-light); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 18px; }
.section-intro { font-size: 1.08rem; color: var(--text-muted); margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service {
  position: relative; background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--radius-lg);
  padding: 30px 28px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.service::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--ink); color: var(--accent-hi);
}
.service-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service p { color: var(--text-muted); margin: 0; font-size: .97rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
.about-visual {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(242, 106, 33, .35), transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2zM28 64.7V97' fill='none' stroke='%23ffffff' stroke-opacity='.07'/%3E%3C/svg%3E"),
    var(--ink);
  border: 1px solid var(--ink-line);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 4vw, 40px);
}
.about-visual::before {
  content: ""; position: absolute; right: -18%; bottom: -12%; width: 85%; aspect-ratio: 1;
  background: url("../img/logo-mark.svg") center / contain no-repeat; opacity: .08; transform: rotate(-12deg);
}
.about-badge { position: relative; display: flex; flex-direction: column; }
.about-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 11vw, 8.5rem); line-height: .9; letter-spacing: -.05em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; }
.about-num-label { font-size: 1.05rem; color: var(--text-light); margin-top: 12px; line-height: 1.4; }
.about-sign { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ink-line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.monogram { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-grad); color: var(--ink); font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; }
.about-sign strong { display: block; font-size: 1rem; }
.about-sign small { color: var(--text-light-muted); font-size: .85rem; }

.about-copy p { color: var(--text-light-muted); }
.lead-sm { font-size: 1.15rem; color: var(--text-light) !important; }
.values { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.values li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--text-light-muted); line-height: 1.5; }
.values li > .ic { margin-top: 2px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(242, 106, 33, .16); color: var(--accent-hi); stroke-width: 3; }
.values strong { display: block; color: var(--text-light); font-size: 1rem; }

/* ---------- Access ---------- */
.access-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.map-wrap { position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--paper-line); background: #E9E6DF; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.map-art {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 47%, #fff 47%, #fff 50%, transparent 50%),
    linear-gradient(25deg, transparent 58%, #fff 58%, #fff 60%, transparent 60%),
    linear-gradient(160deg, transparent 30%, #DCD8CF 30%, #DCD8CF 31%, transparent 31%),
    linear-gradient(70deg, transparent 70%, #DCD8CF 70%, #DCD8CF 71%, transparent 71%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(0, 0, 0, .035) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(0, 0, 0, .035) 46px 47px),
    radial-gradient(40% 35% at 20% 25%, #D7E3CF, transparent 70%),
    radial-gradient(30% 30% at 85% 75%, #CFDDE6, transparent 70%),
    #ECE9E2;
}
.map-pin { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -100%); width: 54px; height: 54px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--accent-grad); display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(226, 72, 28, .7); }
.map-pin svg { width: 24px; height: 24px; rotate: 45deg; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.map-pin::after { content: ""; position: absolute; inset: -10px; border-radius: inherit; border: 2px solid rgba(242, 106, 33, .35); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.map-consent { position: relative; margin: 18px; padding: 20px 22px; background: rgba(255, 255, 255, .94); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 440px; }
.map-consent p { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; }
.map-consent .map-title { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 1.05rem; margin-bottom: 6px; }

.access-info { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 26px; }
.info-block { display: flex; gap: 16px; }
.info-block > div { flex: 1; min-width: 0; }
.ic-accent { width: 24px; height: 24px; color: var(--accent-deep); margin-top: 2px; }
.info-block h3 { font-size: 1.05rem; margin-bottom: 8px; }
.info-block p { margin: 0; color: var(--text-muted); }
.hours-light div { padding: 7px 10px; margin: 0 -10px; }
.hours-light dt { color: var(--text-muted); }
.hours-light div.is-today { background: rgba(242, 106, 33, .1); }
.hours-light div.is-today dt { color: var(--text); }
.directions { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--paper-line); }
.directions-label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.directions-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { text-decoration: none; font-size: .88rem; font-weight: 600; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--paper-line); background: var(--paper); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Contact ---------- */
.contact-section { position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 640px; height: 640px; left: -220px; bottom: -320px; background: radial-gradient(circle, rgba(242, 106, 33, .18), transparent 65%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-copy > p { color: var(--text-light-muted); max-width: 30em; margin-bottom: 32px; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; border-top: 1px solid var(--ink-line); }
.contact-line:last-child { border-bottom: 1px solid var(--ink-line); }
.contact-line small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light-muted); }
.contact-line > span:last-child { font-weight: 600; overflow-wrap: anywhere; }
.contact-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(242, 106, 33, .14); color: var(--accent-hi); transition: background-color .2s, color .2s; }
.contact-line:hover .contact-ic { background: var(--accent); color: #fff; }

.form { background: var(--paper-2); color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-size: .86rem; font-weight: 600; }
.field label em { color: var(--accent-deep); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em .95em; border-radius: 12px; border: 1.5px solid var(--paper-line); background: var(--paper);
  transition: border-color .2s, background-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%235B6472' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(242, 106, 33, .14); }
.field .is-invalid { border-color: var(--err); background: #FFF6F5; }
.captcha { padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1.5px dashed var(--paper-line); }
.captcha b { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent-deep); white-space: nowrap; }
.captcha-row { display: flex; gap: 8px; max-width: 220px; }
.captcha input { background: #fff; }
.captcha-refresh { flex: none; width: 46px; border-radius: 12px; border: 1.5px solid var(--paper-line); background: #fff; cursor: pointer; font-size: 1.2rem; color: var(--text-muted); }
.captcha-refresh:hover { color: var(--accent-deep); border-color: var(--accent); }
.form-note { font-size: .82rem; color: var(--text-muted); }
.form-note a { color: var(--text); }
.form-status { margin: 14px 0 0; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form-status.is-ok { color: #138A55; }
.form-status.is-error { color: #C93A27; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-light-muted); padding: 64px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { color: var(--text-light); font-family: var(--font-display); letter-spacing: .14em; }
.site-footer h3 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent-hi); }
.no-cookie { display: flex; gap: 8px; align-items: center; font-size: .82rem; margin-top: 14px; }
.no-cookie-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* ---------- Legal page ---------- */
.legal-hero { padding: calc(var(--header-h) + 64px) 0 56px; background: var(--ink); color: var(--text-light); }
.legal-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.legal-hero p { color: var(--text-light-muted); margin: 16px 0 0; }
.legal { background: var(--paper); padding: 64px 0 96px; }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 1.7rem; margin: 48px 0 16px; padding-top: 8px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.12rem; margin: 28px 0 8px; }
.legal-body p, .legal-body li { color: #3A424F; }
.legal-body ul { padding-left: 1.2em; }
.legal-body .card { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 20px 24px; margin: 16px 0; }
.legal-body .card p { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .header-call span { display: none; }
  .header-call { padding: 0; width: 44px; height: 44px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(11, 14, 19, .97); border-bottom: 1px solid var(--ink-line);
    padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ink-line); font-size: 1.05rem; color: var(--text-light); }
  .nav a:last-child { border-bottom: 0; }

  .hero-grid, .about-grid, .access-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: auto; min-height: 340px; gap: 40px; }
  .map-wrap { min-height: 380px; }
}

@media (max-width: 600px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.02rem; letter-spacing: .1em; }
  .brand img { width: 36px; height: 36px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stats strong { font-size: 1.3rem; }
  .stats span { font-size: .78rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-consent { margin: 12px; padding: 16px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: .92rem; }
  .lang button { padding: .38em .6em; }
}

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

/* ==========================================================================
   Coming soon page (temporary home page)
   ========================================================================== */
.page-soon { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--text-light); background: var(--ink); overflow-x: hidden; }
.page-soon .site-header { position: absolute; }
.soon-bg {
  position: fixed; inset: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(50% 55% at 75% 45%, rgba(242, 106, 33, .22), transparent 70%),
    radial-gradient(45% 50% at 5% 100%, rgba(80, 110, 160, .16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2zM28 64.7V97' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3C/svg%3E");
}
.streak { position: absolute; left: 0; height: 2px; width: 38vw; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 154, 77, .55), transparent); opacity: 0; animation: streak 5.5s linear infinite; }
.streak.s1 { top: 22%; animation-delay: .6s; }
.streak.s2 { top: 48%; width: 26vw; animation-delay: 2.4s; animation-duration: 4.5s; }
.streak.s3 { top: 71%; animation-delay: 3.6s; }
.streak.s4 { top: 86%; width: 20vw; animation-delay: 1.5s; animation-duration: 6.5s; }
@keyframes streak { 0% { transform: translateX(110vw); opacity: 0; } 10% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateX(-60vw); opacity: 0; } }

.soon { position: relative; flex: 1; display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 48px; }
.soon-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.soon-badge { display: inline-flex; align-items: center; gap: 10px; padding: .45em 1em; border-radius: 999px; background: rgba(242, 106, 33, .12); border: 1px solid rgba(242, 106, 33, .3); color: var(--accent-hi); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.soon-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(242, 106, 33, .6); animation: soonPulse 1.8s infinite; }
@keyframes soonPulse { 70% { box-shadow: 0 0 0 9px rgba(242, 106, 33, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 106, 33, 0); } }
.soon h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: 24px; }
.soon .lead { margin-bottom: 32px; }
.soon-contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.soon-chip { display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.3em; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); transition: border-color .2s, background-color .2s, transform .2s; }
.soon-chip:first-child { background: var(--accent-grad); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 106, 33, .7); }
.soon-chip:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .4); }
.soon-chip .ic { color: inherit; }
.soon-info { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--ink-line); display: grid; gap: 10px; color: var(--text-light-muted); font-size: .95rem; }
.soon-info li { display: flex; gap: 12px; align-items: flex-start; }
.soon-info .ic { color: var(--accent-hi); margin-top: 3px; }
.soon-info a { text-decoration: none; }
.soon-info a:hover { color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; }

/* Animated gauge: the needle revs up, then idles */
.soon-visual { display: flex; justify-content: center; }
.gauge { width: min(100%, 420px); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(242, 106, 33, .18)); }
.g-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 14; stroke-linecap: round; }
.g-fill { fill: none; stroke: url(#gg); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; animation: gFill 2.4s cubic-bezier(.3, .7, .2, 1) .4s forwards, gFillIdle 2.6s ease-in-out 2.8s infinite; }
.g-ticks { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 7; stroke-dasharray: .5 3.07; }
.g-needle { transform-box: view-box; transform-origin: 160px 160px; transform: rotate(-135deg); animation: gNeedle 2.4s cubic-bezier(.3, .7, .2, 1) .4s forwards, gNeedleIdle 2.6s ease-in-out 2.8s infinite; }
@keyframes gFill { to { stroke-dashoffset: 14; } }
@keyframes gFillIdle { 0%, 100% { stroke-dashoffset: 14; } 50% { stroke-dashoffset: 20; } }
@keyframes gNeedle { 0% { transform: rotate(-135deg); } 70% { transform: rotate(112deg); } 100% { transform: rotate(97deg); } }
@keyframes gNeedleIdle { 0%, 100% { transform: rotate(97deg); } 50% { transform: rotate(81deg); } }

.soon-footer { position: relative; color: var(--text-light-muted); padding: 0 0 24px; font-size: .84rem; }
.soon-footer .footer-bottom { border-top: 1px solid var(--ink-line); }
.soon-footer a { text-decoration: none; color: var(--text-light); }
.soon-footer a:hover { color: var(--accent-hi); }
.soon-footer .no-cookie { margin-top: 0; }

@media (max-width: 900px) {
  .soon-grid { grid-template-columns: 1fr; }
  .soon-visual { order: -1; }
  .gauge { width: min(70vw, 300px); }
}
@media (max-width: 600px) {
  .soon-chip { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .g-fill { stroke-dashoffset: 14; }
  .g-needle { transform: rotate(97deg); }
  .streak { display: none; }
}
