/* ============================================================
   ELEKTROINŠTALÁCIE POPRAD — DESIGN SYSTEM
   Restrained, editorial, trust-first. One accent color. Real
   photos only, no illustrations, no gradients on UI chrome.
   ============================================================ */

/* --- TOKENS --- */
:root {
  --accent: #A6291F;
  --accent-dark: #7E1F17;
  --accent-vivid: #E85B4D; /* accent as text/icon color on dark surfaces (footer, dark-mode), always this value regardless of theme */
  --accent-tint: #F5E8E6;
  --accent-rgb: 166, 41, 31;

  --ink: #1B1815;
  --ink-soft: #5B554E;
  --ink-faint: #6E675C;

  --paper: #FAF8F5;
  --surface: #FFFFFF;
  --line: #E6E1D8;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(27,24,21,0.05), 0 2px 8px rgba(27,24,21,0.04);
  --shadow-md: 0 8px 24px rgba(27,24,21,0.08);

  --focus-ring: 0 0 0 3px rgba(var(--accent-rgb), 0.35);
  --header-h: clamp(64px, 8vh, 76px);
  --container: 1180px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
  --ink: #F3F0EA;
  --ink-soft: #B9B2A5;
  --ink-faint: #A19A8B;
  --paper: #14120F;
  --surface: #1C1916;
  --line: #322D27;
  --accent-tint: rgba(var(--accent-rgb), 0.16);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.4);
}

/* --- RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  padding-top: var(--header-h);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* --- ACCESSIBILITY --- */
.skip-link {
  position: absolute; top: -50px; left: 16px;
  background: var(--accent); color: #fff !important;
  padding: 12px 20px; border-radius: var(--radius-sm); z-index: 5000;
  text-decoration: none; font-weight: 700; transition: top 0.25s ease;
}
.skip-link:focus { top: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: none; box-shadow: var(--focus-ring); border-radius: 4px;
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- ICONS --- */
.icon { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-fill { fill: currentColor; stroke: none; }

.icon-badge {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent-dark); flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.dark-mode .icon-badge { color: var(--accent-vivid); }
.icon-badge .icon { width: 1.4rem; height: 1.4rem; }
.icon-badge.round { border-radius: 50%; }
.icon-badge.lg { width: 58px; height: 58px; }
.icon-badge.lg .icon { width: 1.7rem; height: 1.7rem; }

/* --- HEADER / NAV --- */
.main-header {
  position: fixed; top: 0; width: 100%; z-index: 2000;
  background: var(--paper); border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.main-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(27,24,21,0.05); }
.nav-container {
  max-width: var(--container); margin: 0 auto; padding: 0 24px; height: var(--header-h);
  display: flex; align-items: center; justify-content: flex-start; gap: 24px;
}
.logo img { height: 34px; width: auto; transition: filter 0.3s ease; }
body.dark-mode #logo-img { filter: brightness(0) invert(1); }

.header-actions { display: flex; align-items: center; gap: 12px; z-index: 2100; margin-left: auto; }
.dark-mode-toggle { background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); border-radius: 50%; transition: transform 0.3s; }
.dark-mode-toggle .icon { width: 1.25rem; height: 1.25rem; }
.dark-mode-toggle:hover { transform: rotate(-12deg); }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 22px; height: 2px; background: var(--ink); transition: 0.3s; border-radius: 2px; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#main-nav ul { display: flex; gap: 8px; align-items: center; }
#main-nav ul li a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.92rem;
  padding: 9px 14px; border-radius: var(--radius-sm); transition: 0.2s;
}
#main-nav ul li a:hover { color: var(--ink); background: var(--accent-tint); }
#main-nav ul li a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-tint); }
body.dark-mode #main-nav ul li a[aria-current="page"] { color: var(--accent-vivid); }
#main-nav ul li a.nav-cta { color: #fff !important; background: var(--accent); margin-left: 6px; }
#main-nav ul li a.nav-cta:hover { background: var(--accent-dark); }

@media (max-width: 900px) {
  .menu-btn { display: flex; }
  #main-nav {
    position: fixed; top: var(--header-h); right: -100%; width: min(320px, 84vw); height: calc(100vh - var(--header-h));
    background: var(--surface); border-left: 1px solid var(--line); padding: 28px 24px; transition: right 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }
  #main-nav.active { right: 0; }
  #main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  #main-nav ul li a { display: block; padding: 13px 14px; }
  #main-nav ul li a.nav-cta { text-align: center; margin-left: 0; margin-top: 8px; }
}

#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); width: 0%; z-index: 2500; transition: width 0.1s; }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 0.95rem; padding: 14px 26px; border-radius: var(--radius-sm); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: var(--transition); }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); background: var(--surface); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* --- EYEBROW / TAG --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent-tint); color: var(--accent-dark);
  padding: 7px 15px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
}
body.dark-mode .eyebrow { color: var(--accent-vivid); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* --- SECTION HEADERS --- */
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 14px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }
.accent-text { color: var(--accent-dark); }
body.dark-mode .accent-text { color: var(--accent-vivid); }

/* --- HERO (full-bleed photo background with a fixed contrast scrim) --- */
.hero { position: relative; padding: 120px 0 110px; overflow: hidden; color: #fff; isolation: isolate; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Fixed, generous dark scrim — contrast never depends on the photo's own tones. */
  background:
    linear-gradient(100deg, rgba(12,10,9,0.93) 0%, rgba(12,10,9,0.86) 32%, rgba(12,10,9,0.68) 58%, rgba(12,10,9,0.42) 100%),
    rgba(12,10,9,0.25);
}
.hero-inner { max-width: 640px; }
.hero-copy .eyebrow { background: rgba(255,255,255,0.12); color: #fff; }
.hero-copy .eyebrow .dot { background: var(--accent-vivid); }
.hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 18px 0 20px; color: #fff; }
.hero-copy h1 .accent-text { color: var(--accent-vivid); }
.hero-copy p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 30px; line-height: 1.65; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero .btn-outline { border-color: rgba(255,255,255,0.45); color: #fff !important; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

.trust-row { display: flex; flex-wrap: wrap; gap: 22px 28px; }
.trust-row .item { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.88); }
.trust-row .item .icon { width: 1.1rem; height: 1.1rem; color: var(--accent-vivid); }

.hero-stat-badge {
  position: absolute; right: 24px; bottom: 28px; z-index: 2;
  background: rgba(20,17,15,0.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 14px 20px; display: flex; align-items: center; gap: 14px;
}
.hero-stat-badge .icon-badge { background: rgba(255,255,255,0.12); color: var(--accent-vivid); }
.hero-stat-badge strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.4rem; color: #fff; }
.hero-stat-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.72); }
@media (max-width: 900px) {
  .hero-stat-badge { right: 16px; bottom: 16px; padding: 11px 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 90px 0 90px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 9vw, 2.3rem); }
  .hero-copy p.lead { font-size: 1.03rem; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .hero-stat-badge { position: static; margin-top: 28px; display: inline-flex; }
}

/* --- STATS STRIP --- */
.stats-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--container); margin: 0 auto; }
.stat-tile { display: flex; align-items: center; gap: 16px; padding: 40px 32px; border-left: 1px solid var(--line); }
.stat-tile:first-child { border-left: none; }
.stat-tile > div { display: flex; flex-direction: column; }
.stat-value { display: block; font-family: 'Manrope', sans-serif; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.stat-label { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 780px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-tile { border-left: none; border-top: 1px solid var(--line); }
  .stat-tile:first-child { border-top: none; }
}

/* --- SERVICE CARDS --- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: var(--transition); display: flex; flex-direction: column;
}
.service-card:hover { border-color: rgba(var(--accent-rgb), 0.35); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card:hover .icon-badge { transform: scale(1.1) rotate(-4deg); }
.service-card h3 { font-size: 1.2rem; margin: 18px 0 10px; }
.service-card .tag { font-weight: 700; color: var(--accent-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 12px; }
body.dark-mode .service-card .tag { color: var(--accent-vivid); }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; flex-grow: 1; }
.service-card .card-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.service-card .card-link .icon { width: 1rem; height: 1rem; transition: transform 0.2s; }
.service-card .card-link:hover .icon { transform: translateX(3px); }

.service-card.with-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }

/* --- SERVICE DETAIL (sluzby.html) --- */
.service-detail { border-bottom: 1px solid var(--line); padding: 72px 0; }
.service-detail:last-of-type { border-bottom: none; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-detail-grid.reverse .service-detail-media { order: 2; }
.service-detail-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.service-detail-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 16px 0 14px; }
.service-detail-copy p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }
.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.check-list .icon { color: var(--accent-dark); width: 1.2rem; height: 1.2rem; margin-top: 1px; }
body.dark-mode .check-list .icon { color: var(--accent-vivid); }
@media (max-width: 860px) {
  .service-detail-grid, .service-detail-grid.reverse { grid-template-columns: 1fr; gap: 24px; }
  .service-detail-media { order: 2; }
  .service-detail-copy { order: 1; }
  .service-detail-media img { aspect-ratio: 16/10; }
  .service-detail { padding: 48px 0; }
}

/* --- WHY US --- */
.why-us { background: var(--surface); border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why-item { background: var(--surface); padding: 36px 32px; transition: var(--transition); }
.why-item:hover { background: var(--accent-tint); }
.why-item:hover .icon-badge { transform: scale(1.1) rotate(-4deg); }
.why-item h3 { font-size: 1.05rem; margin: 16px 0 8px; }
.why-item p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }

/* --- PROCESS STEPS --- */
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; counter-reset: step; }
.process-item { position: relative; padding: 28px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.process-item .step-index { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.85rem; color: var(--accent-dark); margin-bottom: 14px; display: block; }
body.dark-mode .process-item .step-index { color: var(--accent-vivid); }
.process-item h3 { font-size: 1rem; margin-bottom: 8px; }
.process-item p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }

/* --- CONTACT --- */
.contact-section { background: var(--paper); }
.contact-wrapper { display: grid; grid-template-columns: 1.05fr 0.95fr; max-width: var(--container); margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.contact-form-side { background: var(--surface); padding: clamp(30px, 5vw, 52px); min-width: 0; }
.contact-info-side { background: var(--ink); color: #fff; padding: clamp(30px, 5vw, 52px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
body.dark-mode .contact-info-side { background: #0F0D0B; }
.contact-info-side h2 { color: #fff; font-size: 1.6rem; margin: 14px 0 22px; }
.contact-info-side .info-line { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-side .info-line .icon-badge { background: rgba(255,255,255,0.1); color: #fff; flex-shrink: 0; }
.contact-info-side .info-line > div { min-width: 0; }
.contact-info-side .info-line strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.4px; opacity: 0.65; margin-bottom: 3px; }
.contact-info-side .info-line a, .contact-info-side .info-line span.value { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem; overflow-wrap: break-word; word-break: break-word; }
.contact-info-side .info-line a:hover { text-decoration: underline; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-group { margin-bottom: 18px; }
.field-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
input, textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
input:user-invalid, textarea:user-invalid { border-color: #C0392B; }
textarea { resize: vertical; min-height: 110px; }

.form-status { display: none; padding: 13px 15px; margin-bottom: 16px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; border-left: 3px solid; }
.form-status.visible { display: block; }
.form-status.error { background: #FBEAE8; color: #9A2A20; border-color: #C0392B; }
.form-status.success { background: #E8F3EC; color: #1E6B3C; border-color: #2C9A55; }
body.dark-mode .form-status.error { background: rgba(192,57,43,0.14); }
body.dark-mode .form-status.success { background: rgba(44,154,85,0.14); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.consent-group input[type="checkbox"] { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent-group label { font-size: 0.82rem; line-height: 1.45; color: var(--ink-soft); font-weight: 400; cursor: pointer; margin: 0; }
.consent-group label a { color: var(--accent-dark); text-decoration: underline; font-weight: 600; }
body.dark-mode .consent-group label a { color: var(--accent-vivid); }
.form-disclaimer { margin-top: 14px; font-size: 0.75rem; color: var(--ink-faint); text-align: center; line-height: 1.4; }
.form-disclaimer a { color: var(--accent-dark); text-decoration: underline; font-weight: 600; }
body.dark-mode .form-disclaimer a { color: var(--accent-vivid); }

@media (max-width: 900px) { .contact-wrapper { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; transition: var(--transition); }
.faq-item:hover { border-color: rgba(var(--accent-rgb), 0.3); box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: 1rem; font-family: 'Manrope', sans-serif; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.faq-item h3 .icon { color: var(--accent-dark); width: 1.1rem; height: 1.1rem; }
body.dark-mode .faq-item h3 .icon { color: var(--accent-vivid); }
.faq-item p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* --- FOOTER --- */
.main-footer { background: var(--ink); color: #cfc9bf; padding: 64px 0 32px; }
body.dark-mode .main-footer { background: #0F0D0B; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-grid p, .footer-grid address { font-size: 0.88rem; line-height: 1.8; font-style: normal; opacity: 0.85; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a { text-decoration: none; opacity: 0.85; font-size: 0.88rem; transition: opacity 0.2s, color 0.2s; }
.footer-grid ul li a:hover { opacity: 1; color: var(--accent-vivid); }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; opacity: 0.7; }

/* --- ROADMAP / TIMELINE --- */
.roadmap { position: relative; max-width: 720px; margin: 0 auto; }
.roadmap::before {
  content: ''; position: absolute; left: 23px; top: 6px; bottom: 6px; width: 2px;
  background: var(--line);
}
.roadmap-item { position: relative; display: flex; gap: 24px; padding-bottom: 40px; }
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-marker {
  position: relative; z-index: 1; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.95rem;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
body.dark-mode .roadmap-marker { color: var(--accent-vivid); }
.roadmap-item.active .roadmap-marker { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }
.roadmap-content { padding-top: 6px; }
.roadmap-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.roadmap-content p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; max-width: 480px; }

/* --- STAGGERED REVEAL DELAYS --- */
:is(.service-grid, .why-grid, .stats-grid, .faq-list, .how-it-works, .roadmap) > .reveal:nth-child(1) { --delay: 0s; }
:is(.service-grid, .why-grid, .stats-grid, .faq-list, .how-it-works, .roadmap) > .reveal:nth-child(2) { --delay: 0.08s; }
:is(.service-grid, .why-grid, .stats-grid, .faq-list, .how-it-works, .roadmap) > .reveal:nth-child(3) { --delay: 0.16s; }
:is(.service-grid, .why-grid, .stats-grid, .faq-list, .how-it-works, .roadmap) > .reveal:nth-child(4) { --delay: 0.24s; }
:is(.service-grid, .why-grid, .stats-grid, .faq-list, .how-it-works, .roadmap) > .reveal:nth-child(5) { --delay: 0.32s; }

/* --- MOBILE REFINEMENTS --- */
@media (max-width: 640px) {
  .service-card { padding: 24px; }
  .service-card h3 { font-size: 1.1rem; }
  .why-item { padding: 26px 22px; }
  .stat-tile { padding: 26px 22px; gap: 14px; }
  .faq-item { padding: 18px 20px; }
  .roadmap-content h3 { font-size: 1rem; }
  .roadmap-content p { font-size: 0.88rem; }
  .roadmap-marker { width: 40px; height: 40px; font-size: 0.85rem; }
  .roadmap::before { left: 19px; }
  .contact-form-side, .contact-info-side { padding: 26px 22px; }
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
}

/* --- REVEAL ANIMATION --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--delay, 0s); }
.reveal.active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --- MISC UTILITY --- */
.page-hero { padding: 56px 0 24px; text-align: center; }
.page-hero .section-head { margin: 0 auto; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }