/* ==========================================================================
   FlashAid — style.css
   Crisp light SaaS: white space, Space Grotesk display, Inter body,
   FlashAid red as sharp accent. Subtle motion, techy detail.
   ========================================================================== */

/* ---- Fonts ---- */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---- Tokens ---- */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #0c1220;
  --muted: #5b6472;
  --faint: #97a0ad;
  --line: #e8ebf0;
  --red: #e94746;
  --red-deep: #d12f2e;
  --red-soft: #ffefee;
  --red-grad: linear-gradient(135deg, #ff5653 0%, #d12f2e 100%);
  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 18, 32, 0.05), 0 4px 12px rgba(12, 18, 32, 0.05);
  --shadow-md: 0 2px 4px rgba(12, 18, 32, 0.05), 0 12px 32px rgba(12, 18, 32, 0.10);
  --shadow-red: 0 8px 24px rgba(233, 71, 70, 0.32);
  --page: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
::selection { background: var(--red-soft); }

/* ---- Type ---- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p  { max-width: 64ch; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red-grad); border-radius: 2px; }

.grad-text { background: var(--red-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Layout ---- */
.container { max-width: var(--page); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { margin-top: 0.9rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-inline: auto; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 30px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.site-nav > a, .nav-drop > button {
  padding: 0.45rem 0.85rem; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
  display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap;
}
.site-nav > a:hover, .nav-drop > button:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav > a.btn-red, .site-nav > a.btn-red:hover { color: #fff; background: var(--red-grad); }
.site-nav > a[aria-current="page"] { color: var(--red); }

.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 0.4rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { display: block; padding: 0.6rem 0.85rem; border-radius: 10px; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.nav-drop-menu a:hover { background: var(--bg-soft); }
.nav-drop-menu a span { display: block; font-size: 0.78rem; font-weight: 400; color: var(--faint); }

.header-cta { margin-left: 0.5rem; }

.nav-toggle { display: none; margin-left: auto; padding: 0.5rem; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display); font-size: 0.95rem; font-weight: 600;
  padding: 0.75rem 1.5rem; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-red { background: var(--red-grad); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(233, 71, 70, 0.42); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12, 18, 32, 0.3); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.88rem; }

/* ---- Hero ---- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(233, 71, 70, 0.07), transparent 70%),
    radial-gradient(40% 40% at 5% 90%, rgba(233, 71, 70, 0.05), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(12, 18, 32, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(55% 60% at 70% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(55% 60% at 70% 30%, black, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.95rem 0.4rem 0.5rem; font-size: 0.85rem; font-weight: 500; color: var(--muted);
  box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--red-soft); display: grid; place-items: center; }
.hero-pill .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse-dot 1.8s ease-out infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(233,71,70,0.45);} 70% { box-shadow: 0 0 0 9px rgba(233,71,70,0);} 100% { box-shadow: 0 0 0 0 rgba(233,71,70,0);} }

.hero h1 { max-width: 13ch; }
.hero .lede { margin-top: 1.2rem; max-width: 44ch; }
.hero-actions { display: flex; align-items: center; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }
.store-badges { display: flex; gap: 0.75rem; margin-top: 1.6rem; }
.store-badges img { height: 46px; width: auto; border-radius: 10px; transition: transform 0.15s ease; }
.store-badges a:hover img { transform: translateY(-2px); }

/* Phone showcase panel */
.hero-showcase { position: relative; }
.hero-panel {
  position: relative; border-radius: var(--radius-lg);
  background: var(--red-grad); overflow: hidden;
  aspect-ratio: 0.98; display: flex; align-items: stretch; justify-content: center;
  box-shadow: 0 24px 60px rgba(209, 47, 46, 0.35);
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.35;
}
.hero-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.float-chip {
  position: absolute; z-index: 2;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 0.65rem 0.95rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 600; font-family: var(--display);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.72rem; color: var(--muted); }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.float-chip .ic svg { width: 18px; height: 18px; }
.chip-tl { top: 8%; left: -6%; }
.chip-br { bottom: 10%; right: -5%; animation-delay: -2.7s; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ---- Press strip ---- */
.press { padding-block: 2.2rem; border-block: 1px solid var(--line); }
.press-inner { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; justify-content: center; }
.press-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.press a { display: flex; }
.press img { height: 30px; width: auto; filter: grayscale(1) opacity(0.55); transition: filter 0.2s ease, transform 0.2s ease; }
.press a:hover img { filter: none; transform: translateY(-2px); }

/* ---- Cards & grids ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin: 1rem 0 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center;
}
.card .ic svg { width: 23px; height: 23px; }

/* ---- Steps (how it works) ---- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.25rem 1.4rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .num {
  counter-increment: step;
  font-family: var(--display); font-weight: 700; font-size: 0.85rem;
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--red-grad); color: #fff; margin-bottom: 1rem;
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.88rem; color: var(--muted); }

/* ---- Stats ---- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1rem; }
.stat-card .num { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.2rem); letter-spacing: -0.03em; background: var(--red-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card .label { margin-top: 0.4rem; font-size: 0.9rem; color: var(--muted); }

/* ---- Reviews marquee ---- */
.marquee { overflow: hidden; position: relative; --gap: 1.25rem; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-soft), transparent); }
.marquee-track { display: flex; gap: var(--gap); width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

.review {
  width: 350px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.review .stars { color: #f5a623; letter-spacing: 2px; font-size: 0.9rem; }
.review p { font-size: 0.92rem; color: var(--muted); margin-top: 0.7rem; }
.review .who { margin-top: 0.9rem; font-family: var(--display); font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; gap: 0.6rem; }
.review .who .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--red-grad); color: #fff; display: grid; place-items: center; font-size: 0.85rem; }

/* ---- Feature split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .panel {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, #141a26 0%, #2a3040 100%);
  display: flex; align-items: center; justify-content: center; padding: 8%;
}
.split .panel.red { background: var(--red-grad); }
.split .panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.25;
}
.check-list { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--muted); }
.check-list li strong { color: var(--ink); font-weight: 600; }
.check-list .tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; margin-top: 2px;
  background: var(--red-soft); color: var(--red); display: grid; place-items: center;
}
.check-list .tick svg { width: 13px; height: 13px; }

/* ---- Pricing ---- */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); max-width: 860px; margin-inline: auto; }
.price-card { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); }
.price-card.featured { border-color: var(--red); box-shadow: 0 20px 48px rgba(233, 71, 70, 0.14); }
.price-card .plan-tag { position: absolute; top: -13px; right: 24px; background: var(--red-grad); color: #fff; font-family: var(--display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 0.3rem 0.85rem; }
.price-card .price { font-family: var(--display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; margin-top: 0.6rem; }
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.price-card .btn { width: 100%; margin-top: 1.5rem; }

/* ---- Tables (pricing detail) ---- */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.info-card h3 { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.info-card .dash-list { margin-top: 0.75rem; }
.dash-list { list-style: none; display: grid; gap: 0.55rem; color: var(--muted); font-size: 0.95rem; }
.dash-list li { padding-left: 1.3rem; position: relative; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; border-radius: 2px; background: var(--red); }

/* ---- FAQ ---- */
.faq-group { max-width: 780px; margin-inline: auto; }
.faq-group h2 { font-size: 1.35rem; margin: 2.5rem 0 1rem; display: flex; align-items: center; gap: 0.6rem; }
.faq-group h2 .n { color: var(--red); font-weight: 700; }
details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 0.65rem; overflow: hidden;
  transition: box-shadow 0.2s ease;
}
details.faq[open] { box-shadow: var(--shadow-sm); }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.3rem; font-family: var(--display); font-weight: 600; font-size: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; flex-shrink: 0; width: 9px; height: 9px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
details.faq[open] summary::after { transform: rotate(225deg); }
details.faq .a { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: 0.95rem; }

/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card .body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card time { font-size: 0.8rem; color: var(--faint); }
.post-card h3 { font-size: 1.15rem; }
.post-card .tags { margin-top: auto; display: flex; gap: 0.45rem; flex-wrap: wrap; padding-top: 0.75rem; }
.tag { font-size: 0.74rem; font-weight: 600; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 0.22rem 0.7rem; }

.prose { max-width: 720px; margin-inline: auto; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.75rem; }
.prose h2 { font-size: 1.45rem; margin: 2.2rem 0 0.8rem; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 0.6rem; }
.prose p, .prose ul, .prose ol { color: var(--muted); margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--red); font-weight: 500; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose .meta { font-size: 0.85rem; color: var(--faint); margin-bottom: 2rem; }

/* ---- CTA band ---- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--red-grad); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.3; }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { margin: 0.9rem auto 0; color: rgba(255,255,255,0.85); }
.cta-band .actions { margin-top: 1.8rem; display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; }
.cta-band .btn-white { background: #fff; color: var(--red-deep); }
.cta-band .btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.cta-band .btn-outline { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ---- Forms ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; font-family: var(--display); }
.field input, .field textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0.8rem 1rem; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(233, 71, 70, 0.12); }
.form-note { font-size: 0.82rem; color: var(--faint); }
.form-status { font-size: 0.9rem; font-weight: 600; }
.form-status.ok { color: #14883e; }
.form-status.err { color: var(--red-deep); }

.contact-side .item { display: flex; gap: 0.9rem; padding-block: 1rem; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-side .item .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.contact-side .item .ic svg { width: 20px; height: 20px; }
.contact-side .item strong { font-family: var(--display); display: block; font-size: 0.95rem; }
.contact-side .item a:hover, .contact-side .item .reveal-phone:hover { color: var(--red); }
.contact-side .item span { color: var(--muted); font-size: 0.92rem; }

/* ---- Footer ---- */
.site-footer { background: #0d1322; color: #aab2c0; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: clamp(3rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); margin-bottom: 3rem; }
.site-footer .logo img { height: 30px; filter: brightness(0) invert(1); }
.site-footer p { font-size: 0.9rem; max-width: 34ch; margin-top: 1rem; }
.footer-col h4 { font-family: var(--display); color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #cfd5e0; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.footer-social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: #7c8494; }
.footer-legal a { color: #aab2c0; }
.footer-legal a:hover { color: #fff; }
.footer-999 { margin-top: 0.6rem; font-size: 0.82rem; color: #7c8494; }

/* ---- Modal ---- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(10, 14, 24, 0.55);
  backdrop-filter: blur(4px); display: grid; place-items: center; padding: 1.25rem;
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { background: #fff; border-radius: var(--radius-lg); max-width: 470px; width: 100%; padding: clamp(1.75rem, 4vw, 2.5rem); position: relative; transform: translateY(10px); transition: transform 0.25s ease; max-height: 90vh; overflow: auto; }
.modal-backdrop.open .modal { transform: translateY(0); }
.modal .close { position: absolute; top: 1rem; right: 1rem; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); }
.modal .close:hover { color: var(--ink); }
.modal h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.modal p { color: var(--muted); font-size: 0.93rem; }
.modal .option { display: flex; gap: 0.9rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem; margin-top: 1rem; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.modal .option:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.modal .option .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.modal .option .ic svg { width: 20px; height: 20px; }
.modal .option strong { font-family: var(--display); display: block; }
.modal .option span { font-size: 0.85rem; color: var(--muted); }
.modal .note-999 { margin-top: 1rem; font-size: 0.8rem; color: var(--faint); text-align: center; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .float-chip { animation: none; }
}

/* ---- Page hero (inner pages) ---- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 22ch; }
.page-hero .lede { margin-top: 1rem; }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-showcase { max-width: 480px; margin-inline: auto; width: 100%; }
  .chip-tl { left: 2%; } .chip-br { right: 2%; }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 99;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0.15rem;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 2rem; overflow: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav > a, .nav-drop > button { padding: 0.85rem 0.75rem; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 0.75rem; display: none; }
  .nav-drop.open .nav-drop-menu { display: block; }
  .header-cta { margin: 0.75rem 0 0; width: 100%; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .review { width: 290px; }
}
