/* Iran Niroo — site styles.
   Tokens and components follow the Iran Niroo design system
   (https://claude.ai/artifact/UXnh4uUAoMAd8CzZ3pHCkM). RTL first. */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn%5Bwght%5D.woff2") format("woff2-variations"),
       url("../fonts/vazirmatn/Vazirmatn%5Bwght%5D.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Brand (fixed in both themes) */
  --orange: #ff5700;
  --orange-light: #ffaa84;
  --charcoal: #262626;
  --black: #050505;
  --cream: #f3efeb;
  --white: #ffffff;

  /* Semantic — light */
  --surface: #ffffff;
  --surface-alt: #f3efeb;
  --surface-raised: #ffffff;
  --surface-inverse: #262626;
  --line: #e7e1da;
  --line-strong: #8a827a;
  --ink: #262626;
  --ink-muted: #6b655f;
  --on-inverse: #ffffff;
  --on-inverse-muted: #bdb6af;
  --brand: #ff5700;
  --brand-hover: #e84f00;
  --on-brand: #050505;
  --brand-ink: #b83d00;
  --brand-soft: #ffede3;
  --focus: #b83d00;
  --link: var(--brand-ink);

  --shadow-sm: 0 1px 2px #2626260d;
  --shadow-lg: 0 12px 32px -8px #26262629, 0 4px 8px #2626260f;
  --focus-ring: 0 0 0 2px var(--surface), 0 0 0 4px var(--focus);

  /* Type */
  --font-sans: Vazirmatn, Tahoma, system-ui, sans-serif;

  /* Space (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-20: 80px;
  --space-28: 112px;

  /* Radius — from the logo tile (27% corners) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;
  --control-height: 48px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface: #121212;
    --surface-alt: #1a1a1a;
    --surface-raised: #1f1f1f;
    --surface-inverse: #050505;
    --line: #2e2e2e;
    --line-strong: #78726b;
    --ink: #f3efeb;
    --ink-muted: #a8a198;
    --on-inverse: #f3efeb;
    --on-inverse-muted: #a39c95;
    --brand-hover: #ff6b1f;
    --brand-ink: #ff6b1f;
    --brand-soft: #3a1a08;
    --focus: #ff6b1f;
    --shadow-sm: 0 1px 2px #00000080;
    --shadow-lg: 0 12px 32px -8px #000000cc;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #121212;
  --surface-alt: #1a1a1a;
  --surface-raised: #1f1f1f;
  --surface-inverse: #050505;
  --line: #2e2e2e;
  --line-strong: #78726b;
  --ink: #f3efeb;
  --ink-muted: #a8a198;
  --on-inverse: #f3efeb;
  --on-inverse-muted: #a39c95;
  --brand-hover: #ff6b1f;
  --brand-ink: #ff6b1f;
  --brand-soft: #3a1a08;
  --focus: #ff6b1f;
  --shadow-sm: 0 1px 2px #00000080;
  --shadow-lg: 0 12px 32px -8px #000000cc;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + var(--space-4)); -webkit-text-size-adjust: 100%; }
/* Added by site.js after load, so opening a #link jumps straight there instead of animating */
html.smooth-scroll { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 28px;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3, h4, p { margin: 0; }
.in-num { direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; 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; top: -100px; right: var(--space-4); z-index: 100; background: var(--brand); color: var(--on-brand); padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: var(--space-2); outline: none; box-shadow: var(--focus-ring); }

.in-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-8); }
.section { padding: var(--space-28) 0; }
.section-alt { background: var(--surface-alt); }
.block + .block { margin-top: var(--space-12); }
@media (max-width: 767px) {
  .in-container { padding: 0 var(--space-4); }
  .section { padding: var(--space-20) 0; }
}

/* ---------- Icon ---------- */
.in-icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Button ---------- */
.in-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-height); padding: 0 var(--space-6);
  border-radius: var(--radius-md); border: 1.5px solid transparent;
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.in-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.in-btn-primary { background: var(--brand); color: var(--on-brand); }
.in-btn-primary:hover { background: var(--brand-hover); }
.in-btn-secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--line-strong); }
.in-btn-secondary:hover { border-color: var(--ink); }
.in-btn-ghost { background: transparent; color: var(--brand-ink); padding: 0 var(--space-3); }
.in-btn-ghost:hover { background: var(--brand-soft); }
.in-btn-inverse { background: var(--white); color: var(--black); }
.in-btn-inverse:hover { background: var(--cream); }
.in-btn-sm { height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.in-btn-lg { height: 56px; padding: 0 var(--space-8); font-size: 17px; }

.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); border: 1.5px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .15s ease;
}
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* ---------- Logo (inline SVG; wordmark follows currentColor) ---------- */
.in-logo { display: inline-flex; flex: none; align-items: center; line-height: 0; border-radius: var(--radius-sm); color: var(--ink); }
.in-logo:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.in-logo-svg { display: block; height: 32px; width: auto; aspect-ratio: 728 / 145; overflow: visible; }

/* Theme toggle: show the icon for the theme you would switch to */
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* ---------- Section heading ---------- */
.in-sh { max-width: 720px; margin-bottom: var(--space-8); }
.in-sh-center { margin-left: auto; margin-right: auto; text-align: center; }
.in-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 20px; font-weight: 700; color: var(--brand-ink); margin: 0 0 var(--space-2); }
.in-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 27%; background: var(--brand); }
.in-sh h2 { font-size: 28px; line-height: 44px; font-weight: 700; color: var(--ink); }
.in-sh p { margin-top: var(--space-2); font-size: 18px; line-height: 32px; color: var(--ink-muted); }

/* ---------- Header ---------- */
.in-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.in-header.is-scrolled { border-bottom-color: var(--line); }
.in-header-inner { height: var(--header-height); display: flex; align-items: center; gap: var(--space-8); }
.in-nav { display: flex; justify-content: center; gap: var(--space-1); margin: 0; padding: 0; list-style: none; flex: 1; }
.in-nav a { display: block; position: relative; white-space: nowrap; padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); font-size: 14px; line-height: 24px; font-weight: 500; color: var(--ink-muted); text-decoration: none; transition: color .15s ease; }
.in-nav a:hover { color: var(--ink); }
.in-nav a:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.in-nav a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.in-nav a[aria-current="true"]::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 27%; background: var(--brand); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-actions .icon-btn { border-color: transparent; border-radius: var(--radius-full); color: var(--ink-muted); }
.header-actions .icon-btn:hover { color: var(--ink); background: var(--surface-alt); }
.header-phone { display: inline-flex; align-items: center; gap: var(--space-2); height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.header-phone .in-icon { width: 16px; height: 16px; color: var(--brand); }
.header-phone:hover { border-color: var(--ink); }
.header-phone:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.header-order { border-radius: var(--radius-full); white-space: nowrap; }
.header-order .in-icon { width: 16px; height: 16px; }
.menu-toggle { display: none; }

/* Mobile menu: full-screen sheet under the header */
.mobile-menu {
  display: none; position: fixed; inset: var(--header-height) 0 0; z-index: 49;
  background: var(--surface); overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open { display: block; animation: mm-in .25s ease-out; }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; padding-top: var(--space-6); padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom)); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: var(--space-4);
  padding: var(--space-4) 0; border-bottom: 1px solid var(--line);
  font-size: 26px; line-height: 40px; font-weight: 700; color: var(--ink); text-decoration: none;
}
.mobile-menu li a:active { color: var(--brand); }
.mobile-menu li a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.mm-num { font-size: 13px; line-height: 1; font-weight: 600; color: var(--brand); min-width: 20px; }
.mobile-menu-actions { margin-top: auto; padding-top: var(--space-8); display: grid; gap: var(--space-3); }
.mobile-menu-actions .in-btn { width: 100%; height: 56px; border-radius: var(--radius-full); font-size: 16px; }
.mobile-menu.is-open li { animation: mm-item .35s ease-out both; }
.mobile-menu.is-open li:nth-child(2) { animation-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) { animation-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) { animation-delay: .12s; }
.mobile-menu.is-open li:nth-child(5) { animation-delay: .16s; }
@keyframes mm-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm-item { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu.is-open, .mobile-menu.is-open li { animation: none; } }

/* Five menu links need ~975px; below 1024px use the menu sheet instead */
@media (max-width: 1023px) {
  .in-nav, .header-phone, .header-order { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .in-logo-svg { height: 28px; }
}
@media (min-width: 1024px) { .mobile-menu.is-open { display: none; } }
/* Nav + phone + order button need ~1130px; until then the phone shows only in the hero */
@media (min-width: 1024px) and (max-width: 1199px) { .header-phone { display: none; } }
@media (max-width: 1023px) {
  :root { --header-height: 64px; }
  .menu-open, .menu-open body { overflow: hidden; }
  /* backdrop-filter would trap the fixed menu inside the header box */
  .menu-open .in-header { background: var(--surface); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.in-hero {
  position: relative; overflow: hidden;
  padding: var(--space-20) 0 var(--space-28);
  min-height: min(760px, calc(100svh - var(--header-height)));
  display: flex; align-items: center;
}
/* Faint dot grid that fades toward the edges */
.in-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--line) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 20%, transparent 75%);
}
.in-hero-grid { position: relative; width: 100%; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-12); align-items: center; }

.in-hero h1 { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.3; text-wrap: balance; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.in-hero h1 em { font-style: normal; color: var(--brand); }
.in-hero-sub { margin-top: var(--space-6); font-size: 18px; line-height: 32px; color: var(--ink-muted); max-width: 30em; }
.in-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-8); }
.in-hero-actions .in-btn { border-radius: var(--radius-full); }


/* The charging "i" */
.hero-visual { justify-self: center; width: 100%; max-width: 380px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.hv-frame { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.hv-ticks line { stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; opacity: .5; }
.hv-track { fill: var(--surface-alt); }
.hv-fill { transform-box: fill-box; transform-origin: 50% 100%; animation: hv-charge 1.8s cubic-bezier(.65, 0, .35, 1) .3s both; }
.hv-dot { fill: var(--surface-alt); }
.hv-dot-on { fill: var(--brand); animation: hv-fade .5s ease-out 2s both; }
.hv-glow { animation: hv-fade .8s ease-out 2s both; }
.hv-glow-pulse { animation: hv-pulse 3.2s ease-in-out 2.8s infinite; }
@keyframes hv-charge { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .hv-fill, .hv-dot-on, .hv-glow, .hv-glow-pulse { animation: none; }
}

@media (max-width: 899px) {
  .in-hero { min-height: 0; padding: var(--space-8) 0 var(--space-12); }
  .in-hero::before { -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 18%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 80% 40% at 50% 18%, #000 10%, transparent 70%); }
  .in-hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-visual { order: -1; max-width: 160px; justify-self: center; }
}
@media (max-width: 599px) {
  .hero-visual { max-width: 120px; }
  .in-hero h1 { font-size: clamp(28px, 9.4vw, 40px); }
  .in-hero-sub { margin-top: var(--space-3); font-size: 16px; line-height: 28px; }
  .in-hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-3); margin-top: var(--space-6); }
  .in-hero-actions .in-btn { width: 100%; height: 52px; justify-content: center; }
}

/* ---------- Cards (shared) ---------- */
.in-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.in-card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.in-tile { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.in-tile .in-icon { width: 24px; height: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
@media (max-width: 899px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* About */
.about-text { max-width: 820px; display: grid; gap: var(--space-4); }
.about-text p { font-size: 18px; line-height: 34px; color: var(--ink); }
.about-text p + p { color: var(--ink-muted); font-size: 16px; line-height: 30px; }

/* Feature card */
.in-feature { padding: var(--space-6); }
.in-feature h3 { margin: var(--space-4) 0 var(--space-1); font-size: 20px; line-height: 32px; font-weight: 700; }
.in-feature p { font-size: 16px; line-height: 28px; color: var(--ink-muted); }

/* Brand card */
.in-brand { padding: var(--space-6) var(--space-4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); text-align: center; min-height: 180px; }
.in-brand-logo { height: 80px; width: 100%; max-width: 160px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: var(--radius-md); padding: var(--space-2); }
.in-brand-logo img { max-height: 64px; max-width: 100%; object-fit: contain; }
/* A logo that links to the brand's site fills the logo box, so sizing stays the same */
.in-brand-logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: var(--radius-sm); }
.in-brand-logo a:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.in-brand-name { font-size: 16px; line-height: 28px; font-weight: 700; color: var(--ink); }
/* Main brands (Hyundai, INVT) get their own larger row */
.brand-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.in-brand-main { min-height: 260px; padding: var(--space-8) var(--space-6); gap: var(--space-6); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.in-brand-main .in-brand-logo { height: 140px; max-width: 440px; padding: var(--space-2); }
.in-brand-main .in-brand-logo img { max-height: 116px; }
.in-brand-main .in-brand-name { font-size: 20px; line-height: 32px; }
.brand-group-label { margin: var(--space-12) 0 var(--space-4); font-size: 14px; line-height: 24px; font-weight: 700; color: var(--ink-muted); }
.brand-others { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.brand-others .in-brand { min-height: 150px; padding-inline: var(--space-3); }
.brand-others .in-brand-logo { height: 64px; }
.brand-others .in-brand-logo img { max-height: 52px; }
.brand-others .in-brand-name { font-size: 15px; line-height: 26px; }
/* Five in a row only when every name fits on one line (~1200px); below that 3 + 2 centered */
@media (max-width: 1199px) {
  .brand-others { grid-template-columns: repeat(6, 1fr); }
  .brand-others > * { grid-column: span 2; }
  .brand-others > :nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 899px) {
  .brand-others { grid-template-columns: repeat(2, 1fr); }
  .brand-others > *, .brand-others > :nth-child(4) { grid-column: auto; }
  .brand-others > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .in-brand { min-height: 0; padding: var(--space-4) var(--space-3); gap: var(--space-3); }
  .in-brand-logo { height: 64px; }
  .in-brand-logo img { max-height: 48px; }
  .in-brand-name { font-size: 14px; line-height: 24px; }
}

/* Product category card */
.in-product { padding: var(--space-6); }
.in-product-head { display: flex; align-items: center; gap: var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.in-product-head h3 { font-size: 20px; line-height: 32px; font-weight: 700; flex: 1; }
.in-product ul { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.in-product-intro { margin-top: var(--space-4); font-size: 15px; line-height: 28px; color: var(--ink-muted); }
.in-product li { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-2) 0; font-size: 16px; line-height: 28px; color: var(--ink); }
.in-product li .in-icon { width: 18px; height: 18px; margin-top: 5px; color: var(--brand-ink); }
.in-product li b { display: block; font-weight: 700; }
.in-product li span { display: block; font-size: 14px; line-height: 24px; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; display: grid; gap: var(--space-3); }
.faq-item { box-shadow: none; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-6); font-size: 17px; line-height: 28px; font-weight: 700; cursor: pointer; list-style: none; border-radius: var(--radius-lg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.faq-item summary .in-icon { width: 18px; height: 18px; color: var(--ink-muted); transform: rotate(-90deg); transition: transform .2s ease; }
.faq-item[open] summary .in-icon { transform: rotate(90deg); }
.faq-item p { padding: 0 var(--space-6) var(--space-6); font-size: 16px; line-height: 30px; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .faq-item summary .in-icon { transition: none; } }

/* ---------- CTA band ---------- */
.in-cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--orange); color: var(--black); padding: var(--space-12); display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.in-cta h2 { font-size: 28px; line-height: 44px; font-weight: 800; color: var(--black); max-width: 600px; }
.in-cta p { margin-top: var(--space-2); font-size: 16px; line-height: 28px; color: var(--black); }
.in-cta-deco { position: absolute; left: 32%; bottom: -72px; width: 160px; height: 160px; border-radius: 27%; background: var(--orange-light); opacity: .55; pointer-events: none; }
.in-cta > :not(.in-cta-deco) { position: relative; }
.in-cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.in-btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.in-btn-outline:hover { background: #0505050f; }
.in-cta .in-btn-outline:focus-visible,
.in-cta .in-btn-inverse:focus-visible { box-shadow: 0 0 0 2px var(--orange), 0 0 0 4px var(--black); }
@media (max-width: 767px) {
  .in-cta { padding: var(--space-8) var(--space-6); }
  .in-cta h2 { font-size: 24px; line-height: 38px; }
  .in-cta-actions, .in-cta-actions .in-btn { width: 100%; }
}

/* ---------- Contact ---------- */
.in-contact { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.in-contact h3 { font-size: 20px; line-height: 32px; font-weight: 700; }
.in-contact p { font-size: 16px; line-height: 28px; color: var(--ink-muted); flex: 1; }
.in-contact .in-btn { align-self: flex-start; }
.grid-contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 1099px) { .grid-contact { grid-template-columns: repeat(2, 1fr); } }

.visit { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-6); margin-top: var(--space-6); }
.visit-info { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.visit-info h3 { font-size: 20px; line-height: 32px; font-weight: 700; }
.visit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.visit-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.visit-list .in-icon { margin-top: 4px; color: var(--brand-ink); }
.visit-list dt, .visit-list .k { font-size: 14px; line-height: 24px; color: var(--ink-muted); }
.visit-list .v { font-size: 16px; line-height: 28px; color: var(--ink); }
.visit-list a { color: var(--ink); text-decoration: none; }
.visit-list a:hover { color: var(--brand-ink); }
.visit-list .visit-map-link { display: inline-block; margin-top: var(--space-1); font-size: 14px; line-height: 24px; font-weight: 600; color: var(--brand-ink); }
.visit-list .visit-map-link:hover { text-decoration: underline; color: var(--brand-ink); }
.visit-list a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.map { position: relative; min-height: 340px; overflow: hidden; padding: 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Click-to-load placeholder: a light street grid until the real map is requested */
.map-facade {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-6); text-align: center; text-decoration: none; color: var(--ink);
  background-color: var(--surface-alt);
  background-image:
    linear-gradient(35deg, transparent 47%, var(--line) 47%, var(--line) 53%, transparent 53%),
    linear-gradient(var(--line) 2px, transparent 2px),
    linear-gradient(90deg, var(--line) 2px, transparent 2px);
  background-size: 260px 260px, 56px 56px, 56px 56px;
  background-position: center;
}
.map-facade-pin { background: var(--brand); color: var(--on-brand); margin-bottom: var(--space-1); box-shadow: var(--shadow-lg); }
.map-facade-title { font-size: 17px; line-height: 28px; font-weight: 700; }
.map-facade-addr { font-size: 14px; line-height: 24px; color: var(--ink-muted); }
.map-facade-btn { margin-top: var(--space-2); border-radius: var(--radius-full); }
.map-facade:hover .map-facade-btn { border-color: var(--ink); }
.map-facade:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--focus); border-radius: inherit; }
:root[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); } }
@media (max-width: 899px) { .visit { grid-template-columns: 1fr; } .map { min-height: 280px; } }

/* ---------- Footer ---------- */
.in-footer { background: var(--surface-inverse); color: var(--on-inverse); padding: var(--space-20) 0 var(--space-8); }
.in-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--space-12); }
.in-footer .in-logo { color: var(--white); }
.in-footer .in-logo-svg { height: 36px; }
.in-footer h2 { margin: 0 0 var(--space-4); font-size: 16px; line-height: 28px; font-weight: 700; color: var(--on-inverse); }
.in-footer p, .in-footer li { font-size: 14px; line-height: 24px; color: var(--on-inverse-muted); }
.in-footer p { margin-top: var(--space-4); max-width: 360px; }
.in-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.in-footer a { color: var(--on-inverse-muted); text-decoration: none; }
.in-footer a:hover { color: var(--on-inverse); }
.in-footer a:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--orange); border-radius: 4px; }
.in-footer .in-footer-social { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.in-footer-social a { display: inline-flex; align-items: center; gap: var(--space-2); }
.in-footer-social .in-icon { width: 18px; height: 18px; color: var(--orange); }
.in-footer-row { display: flex; gap: var(--space-2); align-items: flex-start; }
.in-footer-row .in-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--orange); }
.in-footer-bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid #ffffff1f; font-size: 13px; line-height: 20px; color: var(--on-inverse-muted); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
@media (max-width: 767px) { .in-footer-grid { grid-template-columns: 1fr; gap: var(--space-8); } }

/* ---------- Phone refinements ---------- */
@media (max-width: 599px) {
  .section { padding: var(--space-12) 0 var(--space-12); }
  .block + .block { margin-top: var(--space-8); }
  .in-sh { margin-bottom: var(--space-6); }
  .in-sh h2 { font-size: 24px; line-height: 38px; }
  .in-sh p { font-size: 16px; line-height: 28px; }
  .grid-2 { gap: var(--space-3); }
  .in-card-hover:hover { transform: none; box-shadow: var(--shadow-sm); }

  /* About */
  .about-text { gap: var(--space-3); }
  .about-text p { font-size: 16px; line-height: 30px; }
  .about-text p + p { font-size: 15px; line-height: 28px; }

  /* Icon beside text instead of stacked */
  .in-feature { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-4); align-items: start; padding: var(--space-4); }
  .in-feature .in-tile { grid-row: span 2; width: 44px; height: 44px; }
  .in-feature h3 { margin: 0; font-size: 16px; line-height: 26px; }
  .in-feature p { font-size: 14px; line-height: 24px; }

  /* Brands */
  .in-brand { padding: var(--space-3); gap: var(--space-2); }
  .in-brand-logo { height: 56px; max-width: none; }
  .in-brand-logo img { max-height: 40px; }
  .in-brand-name { font-size: 13px; line-height: 22px; font-weight: 600; }
  .brand-featured { gap: var(--space-3); }
  .in-brand-main { min-height: 0; padding: var(--space-6) var(--space-3); gap: var(--space-3); }
  .in-brand-main .in-brand-logo { height: 88px; padding: var(--space-1); }
  .in-brand-main .in-brand-logo img { max-height: 72px; }
  .in-brand-main .in-brand-name { font-size: 16px; line-height: 26px; font-weight: 700; }
  .brand-group-label { margin: var(--space-6) 0 var(--space-3); font-size: 13px; }
  .brand-others { gap: var(--space-3); }
  .brand-others .in-brand { min-height: 0; }

  /* Product lists in two columns */
  .in-product { padding: var(--space-4); }
  .in-product-head { padding-bottom: var(--space-3); }
  .in-product-head .in-tile { width: 40px; height: 40px; }
  .in-product-head h3 { font-size: 17px; line-height: 28px; }
  .in-product-intro { font-size: 14px; line-height: 26px; }
  .in-product li { font-size: 15px; line-height: 26px; gap: var(--space-2); }
  .in-product li .in-icon { width: 16px; height: 16px; }
  .in-product li span { font-size: 13px; line-height: 22px; }

  /* FAQ */
  .faq-item summary { padding: var(--space-3) var(--space-4); font-size: 15px; line-height: 26px; }
  .faq-item p { padding: 0 var(--space-4) var(--space-4); font-size: 14px; line-height: 26px; }
  .grid-contact { grid-template-columns: 1fr; gap: var(--space-3); }

  /* CTA band */
  .in-cta { padding: var(--space-6) var(--space-4); border-radius: var(--radius-lg); gap: var(--space-6); }
  .in-cta h2 { font-size: 22px; line-height: 34px; }
  .in-cta-actions .in-btn { height: 52px; border-radius: var(--radius-full); }
  .in-cta-deco { left: -48px; top: -64px; bottom: auto; width: 140px; height: 140px; }

  /* Contact: icon + text on one row, full-width action below */
  .in-contact { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-4); row-gap: 0; padding: var(--space-4); }
  .in-contact .in-tile { grid-row: span 2; width: 44px; height: 44px; }
  .in-contact h3 { font-size: 16px; line-height: 26px; }
  .in-contact p { font-size: 14px; line-height: 24px; }
  .in-contact .in-btn { grid-column: 1 / -1; width: 100%; margin-top: var(--space-4); border-radius: var(--radius-full); }
  .visit { gap: var(--space-3); margin-top: var(--space-3); }
  .visit-info { padding: var(--space-4); }
  .visit-info h3 { font-size: 17px; }
  .map { min-height: 240px; }

  /* Footer */
  .in-footer { padding: var(--space-12) 0 calc(var(--space-6) + env(safe-area-inset-bottom)); }
  .in-footer-grid { gap: var(--space-8); }
  .in-footer-grid > div:nth-child(2) ul { grid-template-columns: 1fr 1fr; }
  .in-footer-bottom { margin-top: var(--space-8); flex-direction: column; align-items: flex-start; gap: var(--space-2); }
}

/* ---------- Scroll reveal (only when JS runs; respects reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.reveal-now { transition: none; }
@media (prefers-reduced-motion: reduce) {
  html.smooth-scroll { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .in-card, .in-btn { transition: none; }
  .in-card-hover:hover { transform: none; }
}
