/* ============================================================
   LuVi GEP — Shared Stylesheet
   Swap the CSS variables below to match your final brand values
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  /* Brand colours — derived from LuVi GEP logo */
  --clr-accent:       #18BF8A;   /* emerald green (primary) */
  --clr-accent-dark:  #119E72;   /* hover / pressed state  */
  --clr-accent-light: #E6F9F2;   /* tint backgrounds       */
  --clr-teal:         #20C4D4;   /* secondary accent       */
  --clr-teal-light:   #E4F7F9;

  /* Ink */
  --clr-ink:          #1C2330;
  --clr-ink-muted:    #5B6478;
  --clr-ink-subtle:   #9AA0AE;

  /* Surfaces */
  --clr-bg:           #F5F6F1;
  --clr-surface:      #FFFFFF;
  --clr-surface-alt:  #EDEEE9;
  --clr-border:       #DDE0D8;

  /* Dark sections */
  --clr-dark:         #1C2330;
  --clr-dark-alt:     #232D3F;
  --clr-dark-card:    #2A3547;

  /* Semantic */
  --clr-success:      #10B981;
  --clr-error:        #EF4444;

  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  3.75rem;

  /* Spacing (4 px grid) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-pill: 9999px;

  /* Elevation */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-accent: 0 4px 16px rgba(24,191,138,0.32);

  /* Motion */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 200ms;

  /* Layout */
  --container: 1200px;
  --gutter:    clamp(1rem, 4vw, 1.5rem);
  --nav-h:     88px;
  --nav-h-scrolled: 72px;
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--clr-ink);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Focus ring */
:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--clr-ink);
}

h1 { font-size: clamp(2.2rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }

p { color: var(--clr-ink-muted); max-width: 68ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

/* ----------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-24));
}

.section-alt  { background: var(--clr-surface-alt); }
.section-dark { background: var(--clr-dark); }
.section-white { background: var(--clr-surface); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}

.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p   { margin-inline: auto; }

/* Dark section text overrides */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark p   { color: rgba(255,255,255,0.72); }
.section-dark .eyebrow { color: var(--clr-accent); }

/* ----------------------------------------------------------
   5. NAVIGATION
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 1px 16px rgba(0,0,0,0.055);
  transition: height 0.25s cubic-bezier(0.4,0,0.2,1);
}
.site-header.scrolled {
  height: var(--nav-h-scrolled);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; margin-left: -6px; }

.logo-img {
  width: 238px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: width 0.25s cubic-bezier(0.4,0,0.2,1);
}
.scrolled .logo-img { width: 207px; }

/* Checkbox toggle (hidden) */
.nav-toggle { display: none; }

/* Burger button */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-left: auto;
  padding: var(--sp-2);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--clr-ink);
  border-radius: var(--radius-pill);
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-ink-muted);
  padding: var(--sp-2) 10px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--clr-ink); background: var(--clr-surface-alt); }
.nav-link.active { color: var(--clr-accent); }

.nav-cta { margin-left: auto; white-space: nowrap; }

/* Mobile nav */
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .logo-img { width: 189px; }
  .footer-logo-img { width: 231px; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--clr-surface);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
  }

  .nav-toggle:checked ~ .nav-menu { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-base);
    border-radius: var(--radius-md);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--sp-4);
    width: 100%;
    text-align: center;
  }
}

/* ----------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.65em 1.4em;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease),
              color var(--duration) var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 0.8em 1.8em; font-size: var(--text-md); }
.btn-sm { padding: 0.5em 1em;   font-size: var(--text-sm); }

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}
.btn-primary:hover {
  background: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}
.btn-outline:hover {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}

.btn-dark {
  background: var(--clr-dark);
  color: #fff;
  border-color: var(--clr-dark);
}
.btn-dark:hover { background: var(--clr-dark-alt); box-shadow: var(--shadow-md); }

/* ----------------------------------------------------------
   7. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  background: var(--clr-dark);
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24)) clamp(var(--sp-12), 8vw, var(--sp-20));
  position: relative;
  overflow: hidden;
}

/* Subtle dot pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Accent glow blob */
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(24,191,138,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: stretch;
}

.hero-content { display: flex; flex-direction: column; gap: var(--sp-6); }

.hero-title {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title span { color: var(--clr-accent); }

.hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-trust span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
}

.hero-trust span::before {
  content: '\2713\00a0';
  color: var(--clr-accent);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  align-self: stretch;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: var(--sp-5);
  left: var(--sp-5);
  background: rgba(28,35,48,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.hero-badge strong { color: #fff; font-family: var(--font-heading); font-size: var(--text-lg); }
.hero-badge span   { color: rgba(255,255,255,0.6); font-size: var(--text-xs); }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/9; }
}

/* ----------------------------------------------------------
   8. SERVICE CARDS
   ---------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--clr-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
}
.service-card-icon svg { width: 26px; height: 26px; stroke: currentColor; }

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-1);
}

.service-card p {
  font-size: var(--text-sm);
  flex: 1;
  max-width: 100%;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-accent);
  margin-top: var(--sp-2);
  transition: gap var(--duration) var(--ease);
}
.service-card-link:hover { gap: var(--sp-3); }
.service-card-link svg { width: 16px; height: 16px; stroke: currentColor; }

/* Primary card variant */
.service-card.primary {
  background: var(--clr-dark);
  border-color: var(--clr-dark-card);
}
.service-card.primary h3 { color: #fff; }
.service-card.primary p  { color: rgba(255,255,255,0.65); }
.service-card.primary .service-card-icon {
  background: rgba(24,191,138,0.15);
  color: var(--clr-accent);
}
.service-card.primary .service-card-link { color: var(--clr-accent); }

/* ----------------------------------------------------------
   9. PROCESS TIMELINE
   ---------------------------------------------------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--clr-accent), var(--clr-teal));
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}

.timeline-num {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--clr-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}

.timeline-step h4 { font-size: var(--text-lg); margin-bottom: var(--sp-1); }
.timeline-step p  { font-size: var(--text-sm); max-width: 100%; }

@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}

@media (max-width: 480px) {
  .logo-img { width: 161px; }
  .footer-logo-img { width: 203px; }
  .timeline { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   10. STATS ROW
   ---------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.stat-item {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  border-radius: var(--radius-lg);
  background: var(--clr-dark-card);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ----------------------------------------------------------
   11. FEATURE LIST (WHY US)
   ---------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-8) var(--sp-6);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--clr-accent);
}
.feature-icon svg { width: 44px; height: 44px; stroke: currentColor; stroke-width: 1.5; }

.feature-item h4 { font-size: var(--text-lg); }
.feature-item p  { font-size: var(--text-sm); max-width: 100%; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   12. CTA BANNER
   ---------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-teal) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(var(--sp-10), 6vw, var(--sp-16)) var(--sp-12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}
.cta-banner h2 { color: #fff; }
.cta-banner p  { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

.btn-white {
  background: #fff;
  color: var(--clr-accent-dark);
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover {
  background: #f0faf7;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ----------------------------------------------------------
   13. PAGE HERO (inner pages)
   ---------------------------------------------------------- */
.page-hero {
  background: var(--clr-dark);
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-20));
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.page-hero-content { display: flex; flex-direction: column; gap: var(--sp-5); }
.page-hero-title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}
.page-hero-subtitle {
  color: rgba(255,255,255,0.70);
  font-size: var(--text-md);
  max-width: 52ch;
}
.page-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 800px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-img { aspect-ratio: 16/9; }
}

/* ----------------------------------------------------------
   14. FAQ ACCORDION (CSS-only details/summary)
   ---------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 820px; margin-inline: auto; }

.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}
.faq-item[open] { border-color: var(--clr-accent); }

.faq-question {
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--clr-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235B6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}
.faq-item[open] .faq-question::after { transform: rotate(180deg); }
.faq-item[open] .faq-question        { color: var(--clr-accent); }

.faq-answer {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--clr-ink-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   15. COMPARISON TABLE
   ---------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--clr-surface);
  font-size: var(--text-sm);
}
.comparison-table th,
.comparison-table td {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
}
.comparison-table thead th {
  background: var(--clr-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.comparison-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.comparison-table thead th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td     { background: var(--clr-accent-light); }
.comparison-table .col-feature { font-weight: 600; color: var(--clr-ink); }
.comparison-table .check { color: var(--clr-accent);  font-weight: 700; }
.comparison-table .cross { color: var(--clr-error);   font-weight: 700; }
.comparison-table .highlight-col { background: var(--clr-accent-light); }

/* ----------------------------------------------------------
   16. TESTIMONIALS
   ---------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.testimonial-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.testimonial-stars {
  display: flex;
  gap: var(--sp-1);
  color: #F59E0B;
}
.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--clr-ink-muted);
  flex: 1;
  max-width: 100%;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-md);
  flex-shrink: 0;
}
.testimonial-author-name { font-weight: 600; font-size: var(--text-sm); color: var(--clr-ink); }
.testimonial-author-role { font-size: var(--text-xs); color: var(--clr-ink-subtle); }

/* ----------------------------------------------------------
   17. CONTACT FORM
   ---------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--sp-8); }

.contact-info h2 { margin-bottom: var(--sp-2); }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 22px; height: 22px; stroke: currentColor; }
.contact-detail-label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clr-ink-subtle); margin-bottom: var(--sp-1); }
.contact-detail-value { font-size: var(--text-md); font-weight: 600; color: var(--clr-ink); }
.contact-detail-value a:hover { color: var(--clr-accent); }

.contact-form {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-10) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-ink);
}
.form-label .req { color: var(--clr-accent); margin-left: 2px; }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.7em 1em;
  font-size: var(--text-base);
  color: var(--clr-ink);
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(24,191,138,0.15);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--clr-ink-subtle); }

.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-submit { width: 100%; margin-top: var(--sp-2); }

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form   { padding: var(--sp-6); }
}

/* ----------------------------------------------------------
   18. BRAND PARTNERS STRIP
   ---------------------------------------------------------- */
.partners-strip {
  padding-block: var(--sp-8);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-8);
}
.partner-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-ink-subtle);
  letter-spacing: -0.01em;
  transition: color var(--duration) var(--ease);
}
.partner-name:hover { color: var(--clr-ink); }
.partners-label {
  font-size: var(--text-sm);
  color: var(--clr-ink-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ----------------------------------------------------------
   19. IMAGE + TEXT (two-column content blocks)
   ---------------------------------------------------------- */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }

.split-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }

.split-content { display: flex; flex-direction: column; gap: var(--sp-5); }
.split-content h2 { margin-bottom: var(--sp-2); }
.split-content .btn { align-self: flex-start; margin-top: var(--sp-2); }

.check-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-base);
  color: var(--clr-ink-muted);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2318BF8A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .split-block,
  .split-block.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ----------------------------------------------------------
   20. ICON-SPEC GRID (cameras/technical)
   ---------------------------------------------------------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
}
.spec-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.spec-card svg { width: 28px; height: 28px; stroke: var(--clr-accent); stroke-width: 1.5; }
.spec-card h4  { font-size: var(--text-base); }
.spec-card p   { font-size: var(--text-sm); max-width: 100%; }

/* ----------------------------------------------------------
   21a. FOR-WHOM GRID
   ---------------------------------------------------------- */
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-5);
}

.for-whom-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.for-whom-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.for-whom-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.for-whom-icon svg { width: 24px; height: 24px; stroke: var(--clr-accent); stroke-width: 1.5; }

.for-whom-card h3 { font-size: var(--text-md); color: var(--clr-ink); }
.for-whom-card p  { font-size: var(--text-sm); max-width: 100%; }

/* ----------------------------------------------------------
   21b. GALLERY GRID
   ---------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--sp-4);
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item-wide {
  aspect-ratio: 16/7;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--clr-surface);
  border: 1px dashed var(--clr-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: var(--clr-ink-subtle);
  font-size: var(--text-sm);
  min-height: 180px;
}
.gallery-placeholder svg { opacity: 0.35; }
.gallery-placeholder span { opacity: 0.5; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: span 1; aspect-ratio: 4/3; }
  .for-whom-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   21. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--clr-dark);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-8);
}

.footer-brand { display: flex; flex-direction: column; gap: var(--sp-5); }

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
}

.footer-logo-img {
  width: 266px;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  max-width: 36ch;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.footer-contact-row a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--duration) var(--ease);
}
.footer-contact-row a:hover { color: var(--clr-accent); }

.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}
.footer-social a:hover { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }
.footer-social svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--duration) var(--ease);
}
.footer-links a:hover { color: var(--clr-accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-copy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ----------------------------------------------------------
   22. SKIP LINK (accessibility)
   ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-6);
  background: var(--clr-accent);
  color: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  transition: top var(--duration) var(--ease);
}
.skip-link:focus { top: 0; }

/* ----------------------------------------------------------
   23. UTILITY CLASSES
   ---------------------------------------------------------- */
.text-center { text-align: center; }
.text-accent  { color: var(--clr-accent); }
.text-muted   { color: var(--clr-ink-muted); }

.mt-2  { margin-top: var(--sp-2); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }

.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }

.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }

.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;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin-block: var(--sp-8);
}

/* Tag chip */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-1) var(--sp-3);
  background: var(--clr-accent-light);
  color: var(--clr-accent-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.tag-teal {
  background: var(--clr-teal-light);
  color: #0a8b97;
}

/* ----------------------------------------------------------
   24. PRINT
   ---------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-burger { display: none; }
  body { background: #fff; color: #000; }
  a { color: inherit; }
}



/* ============================================================
   25. MOBILE OPTIMALIZÁCIA — LuVi GEP
   Tento blok je pridaný na koniec pôvodného CSS.
   Platí iba pre mobil/tablet a nemení desktop verziu.
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --nav-h: 76px;
    --nav-h-scrolled: 68px;
    --gutter: 1rem;
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .container {
    padding-inline: 1rem;
  }

  .section {
    padding-block: 3rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
    text-align: left;
  }

  .section-header h2,
  .split-content h2,
  .cta-banner h2 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    line-height: 1.12;
  }

  .section-header p,
  .split-content p,
  .hero-subtitle,
  .page-hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  /* Header / menu */
  .site-header {
    height: var(--nav-h);
  }

  .logo-img {
    width: 156px;
  }

  .scrolled .logo-img {
    width: 148px;
  }

  .nav-container {
    gap: 0.75rem;
  }

  .nav-menu {
    top: var(--nav-h);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-link {
    padding: 0.8rem 1rem;
  }

  .nav-cta,
  .nav-cta .btn {
    width: 100%;
  }

  /* Tlačidlá na mobile nesmú utekať mimo obrazovku */
  .btn,
  .btn-lg,
  .btn-sm {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  /* Domov — úvod zjednodušený pre mobil */
  .hero {
    padding-block: 3.25rem 3rem;
  }

  .hero-inner {
    display: block;
  }

  .hero-content {
    gap: 1.1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.05;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-visual {
    display: none !important;
  }

  .hero-trust {
    gap: 0.55rem;
    padding-top: 1rem;
  }

  .hero-trust span {
    display: block;
    width: 100%;
    font-size: 0.88rem;
  }

  /* Podstránky — hero bez zbytočne veľkej fotky */
  .page-hero {
    padding-block: 3rem;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-hero-title {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
  }

  .page-hero-img {
    aspect-ratio: 16 / 9;
    max-height: 220px;
  }

  /* Služby — kompaktnejšie karty */
  .services-grid,
  .features-grid,
  .spec-grid,
  .for-whom-grid,
  .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .service-card,
  .feature-item,
  .spec-card,
  .for-whom-card,
  .testimonial-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .service-card {
    gap: 0.85rem;
  }

  .service-card-icon {
    width: 44px;
    height: 44px;
  }

  .service-card h3 {
    font-size: 1.15rem;
  }

  .service-card p,
  .feature-item p,
  .spec-card p,
  .for-whom-card p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Dlhé vysvetľovacie bloky na mobile skrátime */
  .split-block,
  .split-block.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    direction: ltr;
  }

  .split-content {
    gap: 1rem;
  }

  .split-visual {
    aspect-ratio: 16 / 10;
    max-height: 240px;
  }

  .check-list {
    gap: 0.6rem;
  }

  .check-list li {
    font-size: 0.94rem;
  }

  /* Proces / čísla — na mobile zbytočne predlžujú stránku */
  .section:has(.timeline),
  .section:has(.stats-grid),
  .section:has(.partners-strip) {
    display: none !important;
  }

  .timeline,
  .stats-grid,
  .partners-strip {
    display: none !important;
  }

  /* Galéria a realizácie — pár fotiek, nie nekonečný scroll */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  .gallery-item,
  .gallery-item-wide {
    grid-column: span 1 !important;
    aspect-ratio: 4 / 3;
  }

  .gallery-grid .gallery-item:nth-child(n+5) {
    display: none !important;
  }

  /* Všeobecné karty/zoznamy projektov, ak ich stránka používa */
  .portfolio-grid,
  .projects-grid,
  .realizations-grid,
  .realizacie-grid,
  .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .portfolio-grid > *:nth-child(n+5),
  .projects-grid > *:nth-child(n+5),
  .realizations-grid > *:nth-child(n+5),
  .realizacie-grid > *:nth-child(n+5) {
    display: none !important;
  }

  /* FAQ — kompaktnejšie */
  .faq-list {
    gap: 0.75rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.3;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.94rem;
  }

  /* CTA — menšie a použiteľné na mobile */
  .cta-banner {
    padding: 2rem 1rem;
    border-radius: 18px;
    gap: 1rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  /* Kontakt / formulár */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact-info {
    gap: 1.25rem;
  }

  .contact-detail {
    gap: 0.85rem;
  }

  .contact-detail-icon {
    width: 38px;
    height: 38px;
  }

  .contact-detail-value {
    font-size: 1rem;
    word-break: break-word;
  }

  .contact-form {
    padding: 1.25rem;
    border-radius: 18px;
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px; /* iPhone nebude zoomovať inputy */
  }

  /* Footer */
  .site-footer {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
  }

  .footer-logo-img {
    width: 190px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.85rem, 10vw, 2.25rem);
  }

  .page-hero-title {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }

  .logo-img {
    width: 148px;
  }

  .footer-logo-img {
    width: 176px;
  }

  .section {
    padding-block: 2.6rem;
  }

  .service-card,
  .feature-item,
  .spec-card,
  .for-whom-card,
  .testimonial-card,
  .contact-form {
    padding: 1rem;
  }
}

/* ============================================================
   26. MOBILE FIX v2 — header/menu + elektro hero fotka
   Platí iba pre mobil. Desktop zostáva bez zmeny.
   ============================================================ */

@media (max-width: 768px) {
  /* Horná lišta ostane stále viditeľná na mobile */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    height: var(--nav-h) !important;
  }

  body {
    padding-top: var(--nav-h) !important;
  }

  .nav-container {
    min-height: var(--nav-h);
  }

  .nav-burger {
    width: 46px;
    height: 46px;
    padding: 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .nav-burger span {
    width: 24px;
    height: 2.5px;
  }

  /* Mobilné menu — väčšie klikateľné riadky, bez prekrývania textov */
  .nav-menu {
    position: fixed !important;
    top: var(--nav-h) !important;
    left: 0.85rem !important;
    right: 0.85rem !important;
    width: auto !important;
    max-height: calc(100vh - var(--nav-h) - 1rem) !important;
    overflow-y: auto !important;
    padding: 1rem !important;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid var(--clr-border) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.16) !important;
    z-index: 10000 !important;
  }

  .nav-links {
    gap: 0.25rem !important;
  }

  .nav-links li {
    display: block !important;
    width: 100% !important;
  }

  .nav-link {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0.78rem 1rem !important;
    font-size: 1.02rem !important;
    line-height: 1.25 !important;
    border-radius: 12px !important;
    white-space: normal !important;
  }

  .nav-link.active,
  .nav-link:hover {
    background: var(--clr-accent-light) !important;
    color: var(--clr-accent-dark) !important;
  }

  .nav-cta {
    margin-top: 0.9rem !important;
  }

  .nav-cta.btn,
  .nav-cta .btn,
  a.nav-cta {
    display: flex !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* Elektroinštalácie — na mobile skryjeme hero fotku, aby neboli dve veľké fotky hneď pod sebou */
  .page-hero[aria-label*="Elektro"] .page-hero-img,
  .page-hero[aria-label*="elektro"] .page-hero-img,
  body:has(a.nav-link.active[href="elektroinstalacie.html"]) .page-hero .page-hero-img {
    display: none !important;
  }

  /* Elektro hero po skrytí fotky trochu skrátime */
  .page-hero[aria-label*="Elektro"],
  .page-hero[aria-label*="elektro"] {
    padding-block: 2.5rem 2.25rem !important;
  }

  .page-hero[aria-label*="Elektro"] .page-hero-inner,
  .page-hero[aria-label*="elektro"] .page-hero-inner {
    gap: 0 !important;
  }
}
