/* ============================================
   FOTOVOLTAICKÉ BATÉRIE — style.css
   Exact replica of fotovoltaickebaterie.sk
   Color scheme: Deep Navy Blue / Azure
   ============================================ */

:root {
  --primary: #003B73;
  --primary-dark: #00264D;
  --primary-light: #e0ecf5;
  --secondary: #00264D;
  --accent: #0066CC;
  --highlight: #357df9;
  --dark: #001a33;
  --light: #f2f5f8;
  --text: #1d1e20;
  --text-light: #5a6270;
  --azure: #357df9;
  --azure-light: #e3ebf9;
  --gray-border: #dadce0;
  --gray-dark: #2c3e50;
  --white: #fff;
  --danger: #fc5185;
  --success: #00b090;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 64px;
  --section-padding: 100px 0;
  --container-width: 1140px;
  --container-narrow: 880px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
  --transition-fast: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--primary); }
ul { list-style: none; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* --- Focus / Accessibility --- */
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:focus:not(:focus-visible) { outline: none; }
.skip-link {
  position: fixed; top: -200px; left: 16px; padding: 8px 16px;
  background: var(--primary); color: var(--white); z-index: 10000;
  border-radius: 4px; font-weight: 600; font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; color: var(--white); }

/* --- Page Loader --- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.loader-spinner {
  width: 48px; height: 48px; border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--highlight); border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   ANIMATIONS — fade-in variants + hero load
   ============================================ */

/* Base reveal — fade up */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* Hero load animation — runs on page load */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-content h1 {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.hero-content .hero-sub {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.hero-content .hero-cta {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
/* Hero images use opacity-only fade so transform offsets stay intact */
.hero-image-pair .hero-img-1 {
  animation: heroFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero-image-pair .hero-img-2 {
  animation: heroFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
.hero-bg-img {
  animation: heroFadeIn 1.4s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .hero-content h1, .hero-content .hero-sub, .hero-content .hero-cta,
  .hero-image-pair .hero-img-1, .hero-image-pair .hero-img-2, .hero-bg-img {
    animation: none !important;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 6px; font-family: var(--font-body);
  font-weight: 600; font-size: 15px; cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,59,115,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* --- Pill Badge --- */
.pill-badge {
  display: inline-block; padding: 8px 24px; background: var(--primary);
  color: var(--white); border-radius: 50px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}

/* ============================================
   NAVIGATION — Matching original centered nav
   ============================================ */
nav#nav_1 {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); height: var(--nav-height);
  box-shadow: 0 1px 0 var(--gray-border);
  transition: box-shadow 0.35s ease;
  overflow: hidden;
}
nav#nav_1.scrolled {
  box-shadow: 0 1px 0 var(--gray-border), 0 4px 20px rgba(0,0,0,0.06);
}

.nav-wave {
  position: absolute; top: 0; right: 0; height: 100%; width: 60%;
  pointer-events: none; z-index: 0;
  opacity: 1; transition: opacity 0.35s ease;
}

.nav-container {
  position: relative; z-index: 1;
  max-width: var(--container-width); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}

.logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-img {
  width: 165px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

#nav-links { display: flex; align-items: stretch; gap: 0; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; height: 100%; }
#nav-links li { display: flex; height: 100%; }
#nav-links a {
  display: flex; align-items: center; height: 100%;
  padding: 0 24px; font-size: 16px; font-weight: 600; color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s ease, border-color 0.2s ease; text-decoration: none;
  border-bottom: 3px solid transparent; letter-spacing: 0.01em;
}
#nav-links a:hover { color: var(--azure); border-bottom-color: var(--azure); }
#nav-links a.active { color: var(--azure); font-weight: 600; border-bottom-color: var(--azure); }

.nav-cta { display: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav#nav_1 { overflow: visible; }

  #nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 8px 0; gap: 0; height: auto;
    transform: translateX(100%); transition: transform 0.3s ease;
    z-index: 999; overflow-y: auto;
  }
  #nav-links.open { transform: translateX(0); }

  #nav-links li { display: flex; height: auto; width: 100%; }

  #nav-links a {
    width: 100%; height: auto;
    padding: 15px 24px; font-size: 15px; font-weight: 600;
    border-bottom: none; border-left: 3px solid transparent;
    color: #1a1a1a;
  }
  #nav-links a:hover {
    color: var(--azure); border-bottom-color: transparent;
    border-left-color: var(--azure); background: var(--azure-light);
  }
  #nav-links a.active {
    color: var(--azure); border-bottom-color: transparent;
    border-left-color: var(--azure); background: var(--azure-light);
  }

  /* Divider between items */
  #nav-links li + li { border-top: 1px solid var(--gray-border); }
}

/* ============================================
   HERO — White bg with abstract blue wave lines
   Two columns: text left, product image right
   ============================================ */
.hero-section {
  position: relative; display: flex; align-items: center;
  padding-top: var(--nav-height); overflow: hidden;
  background: var(--white); margin-bottom: 0;
}

.hero-bg-img {
  position: absolute; top: 0; bottom: 0;
  width: 60%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hero-bg-img-right {
  right: 0;
}
.hero-bg-img-left {
  left: 0;
  transform: scaleX(-1); /* mirror horizontally */
}

.hero-container {
  position: relative; z-index: 1;
  max-width: var(--container-width); margin: 0 auto; padding: 32px 24px 32px;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px;
}

.hero-content h1 {
  font-size: clamp(38px, 5.4vw, 58px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 18px; color: var(--text-light); line-height: 1.7;
  margin-bottom: 36px; max-width: 480px;
}
.hero-sub a { color: var(--accent); }
.hero-sub a:hover { color: var(--primary-dark); }
.hero-cta { font-size: 16px; padding: 16px 36px; }

.hero-image-wrap { display: flex; justify-content: center; align-items: center; }
.hero-image-wrap img {
  max-width: 110%; max-height: 600px; object-fit: contain;
  filter: drop-shadow(0 16px 48px rgba(0,59,115,0.15));
}

/* Hero — two-image layout (small power wall + tall stacked batteries) */
.hero-image-pair {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 115%;
  margin-left: -7%;
  position: relative;
  min-height: 480px;
  padding-bottom: 20px;
}

/* Ground shadow — subtle 3D floating effect */
.hero-image-pair::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0,40,90,0.18) 0%, rgba(0,40,90,0.06) 50%, transparent 80%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.hero-image-pair img {
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 32px rgba(0,59,115,0.18));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  align-self: flex-end;
}
.hero-image-pair .hero-img-1 {
  width: 85%;
  height: 600px;
  max-height: 600px;
  margin-right: -55%;
  z-index: 1;
  transform: translateY(0);
}
.hero-image-pair .hero-img-2 {
  width: 85%;
  height: 580px;
  max-height: 580px;
  z-index: 2;
  /* Wall PNG has bottom whitespace — push it down to align bottoms visually */
  transform: translateY(60px);
}
.hero-image-pair:hover .hero-img-1 { transform: translateY(-8px); }
.hero-image-pair:hover .hero-img-2 { transform: translateY(52px); }

@media (max-width: 768px) {
  .hero-wave { width: 100%; opacity: 0.5; }

  /* 2-column grid: heading left, image right — desc + button span full width below */
  .hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: auto auto auto;
    align-items: center;
    padding: 24px 16px 40px;
    gap: 0;
  }

  .hero-content {
    display: contents;
  }

  .hero-content h1 {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(30px, 8.5vw, 42px);
    max-width: 100%;
    margin: 0;
    line-height: 1.05;
    font-weight: 800;
    align-self: center;
  }

  /* Hero image pair on mobile — fits in right column */
  .hero-image-wrap.hero-image-pair {
    position: static;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: auto;
    margin-left: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-image-pair::after {
    display: none;
  }
  .hero-image-pair .hero-img-1,
  .hero-image-pair .hero-img-2 {
    width: 70%;
    height: 240px;
    max-height: 240px;
    transform: none;
    object-fit: contain;
    object-position: center;
  }
  .hero-image-pair .hero-img-1 {
    margin-right: -45%;
  }
  .hero-image-pair .hero-img-2 {
    margin: 0;
  }
  .hero-image-pair:hover .hero-img-1,
  .hero-image-pair:hover .hero-img-2 { transform: none; }

  .hero-sub {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin: 24px 0 28px;
  }

  .hero-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    display: block;
    width: 100%;
    max-width: 340px;
    font-size: 16px;
    padding: 16px 32px;
    text-align: center;
    margin: 0 auto;
    border-radius: 10px;
  }
}

/* ============================================
   FEATURES — Blue background, outline circle icons
   ============================================ */
.features-section {
  padding: 80px 0; background: var(--primary); position: relative; z-index: 2;
  overflow-x: hidden;
}

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px;
}

.feature-card { text-align: center; padding: 20px; }

.feature-icon {
  width: 90px; height: 90px; margin: 0 auto 24px;
  border: 3px solid rgba(255,255,255,0.6); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.feature-icon svg { width: 36px; height: 36px; stroke: var(--white); }

.feature-card h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ============================================
   BRANDS — "Spolupracujeme" section
   ============================================ */
.brands-section {
  padding: var(--section-padding); background: var(--white);
  text-align: center; overflow-x: hidden;
}

.brands-section h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  margin-bottom: 18px; color: var(--primary); font-weight: 700;
  max-width: 760px; margin-left: auto; margin-right: auto;
  line-height: 1.2;
}

.brands-section .section-sub {
  font-size: 15px; color: var(--text-light);
  max-width: 620px; margin: 0 auto 64px;
  line-height: 1.7;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.brand-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-border);
  transition: all var(--transition);
  cursor: pointer; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,59,115,0.12);
  border-color: rgba(0,59,115,0.2);
}

.brand-card-image-wrap {
  width: 100%; height: 200px;
  overflow: hidden;
  background: var(--light);
}
.brand-card-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.brand-card:hover .brand-card-image { transform: scale(1.05); }

.brand-card-body {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
  flex: 1;
}
.brand-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.brand-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  text-align: left;
  letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 540px) {
  .brands-grid { grid-template-columns: 1fr; gap: 20px; max-width: 380px; }
}

/* ============================================
   PRODUCTS — Grid of product cards
   ============================================ */
.products-section {
  padding: 60px 0 var(--section-padding); background: var(--white); text-align: center;
}

.products-section h2 {
  font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; color: var(--primary);
}

.section-sub {
  font-size: 15px; color: var(--text-light); max-width: 560px; margin: 0 auto 56px;
  line-height: 1.6;
}

.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px;
  text-align: left; max-width: var(--container-width); margin: 0 auto;
}

.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  display: flex; gap: 0; transition: all var(--transition);
  padding: 24px;
  align-items: center;
  border: 1px solid var(--gray-border);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
  border-color: rgba(0,59,115,0.2);
}

.product-card-image {
  width: 160px; height: 160px;
  object-fit: contain; flex-shrink: 0;
}

.product-card-body { padding: 0 0 0 24px; flex: 1; display: flex; flex-direction: column; }
.product-card-brand { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.product-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--primary); line-height: 1.3; }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 18px; flex: 1; }

.product-card-footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.product-link {
  padding: 8px 14px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.product-link:hover { background: var(--primary-dark); color: var(--white); }

.product-link-outline {
  padding: 8px 14px; background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.product-link-outline:hover { background: var(--primary); color: var(--white); }

.product-price { font-size: 15px; font-weight: 700; color: var(--primary); }

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; padding: 24px; }
  .product-card-image { width: 100%; height: 200px; }
  .product-card-body { padding: 20px 0 0; }
}

/* ============================================
   ABOUT — Image LEFT, text RIGHT
   ============================================ */
.about-section {
  padding: var(--section-padding); background: var(--white); overflow-x: hidden;
}

.about-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  max-width: var(--container-width); margin: 0 auto;
}

.about-image-wrap img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover;
}

.about-content h2 {
  font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 20px;
  color: var(--primary); font-weight: 700;
}

.about-content p {
  font-size: 15px; color: var(--text-light); line-height: 1.8;
}

@media (max-width: 768px) {
  .about-container { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   TESTIMONIALS — Light background, modern card
   ============================================ */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--light);
  color: var(--text); text-align: center;
  position: relative; overflow: hidden;
}
.testimonials-section .container { position: relative; }

.testimonials-header {
  margin-bottom: 56px;
}
.testimonials-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.testimonials-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--primary);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.testimonials-slider {
  display: flex;
  justify-content: center;
}

/* 3-column grid for multiple testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.testimonials-header p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  max-width: 100%;
  margin: 0;
  padding: 36px 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  box-shadow: 0 8px 28px rgba(0,59,115,0.06);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,59,115,0.12);
  border-color: rgba(0,59,115,0.2);
}

.testimonial-author-info {
  flex: 1;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 700px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
}

.testimonial-quote-svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.18;
  margin-bottom: 8px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 15px;
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 400;
  flex: 1;
}

.testimonial-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-border);
}
.testimonial-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.testimonial-author-location {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .testimonial-card { padding: 36px 28px 28px; }
  .testimonial-quote { font-size: 17px; }
}

/* ============================================
   CONTACT — Header + Info card + Form, full-width map below
   ============================================ */
.contact-section {
  padding: var(--section-padding) 0 100px; background: var(--white); overflow-x: hidden;
}

/* Header */
.contact-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.contact-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 18px;
  color: var(--primary); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.01em;
}
.contact-header p {
  font-size: 16px; color: var(--text-light); line-height: 1.75;
}
.contact-header a { color: var(--accent); text-decoration: underline; }

/* Two-column grid: info + form */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch;
  max-width: var(--container-width); margin: 0 auto;
}

/* Info card */
.contact-info-card {
  background: var(--primary);
  color: var(--white);
  padding: 44px 40px;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  background: radial-gradient(circle at top right, rgba(53,125,249,0.25), transparent 70%);
  pointer-events: none;
}
.contact-info-card h3 {
  font-size: clamp(24px, 2.8vw, 30px); color: var(--white);
  font-weight: 700; margin-bottom: 12px;
  letter-spacing: -0.01em; position: relative;
}
.contact-info-card > p {
  font-size: 15px; color: rgba(255,255,255,0.8);
  line-height: 1.65; margin-bottom: 32px; position: relative;
}

.contact-info-list {
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.contact-info-row {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-info-row strong {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.contact-info-row span,
.contact-info-row a {
  font-size: 16px; color: var(--white); font-weight: 500;
  text-decoration: none; line-height: 1.5;
}
.contact-info-row a:hover { color: var(--azure-light); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white); padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea {
  padding: 12px 14px; border: 1px solid #ced4da; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--text); background: var(--white);
  transition: border-color var(--transition);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(53,125,249,0.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #adb5bd; }

.contact-form .btn-primary { align-self: flex-end; min-width: 120px; }

.form-consent { flex-direction: row; align-items: flex-start; }
.consent-label { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-light); cursor: pointer; }
.consent-label input[type="checkbox"] { margin-top: 3px; accent-color: var(--accent); }
.consent-label a { color: var(--accent); text-decoration: underline; }

.form-success { padding: 10px 14px; background: #def4f0; color: var(--success); border-radius: 6px; font-weight: 600; font-size: 14px; }
.form-error { padding: 10px 14px; background: #ffe8ef; color: var(--danger); border-radius: 6px; font-weight: 600; font-size: 14px; }

/* Full-width Map */
.contact-map-section {
  padding: 80px 0 0; background: var(--white);
  width: 100%;
  margin-top: 40px;
}
.contact-map-embed {
  width: 100%;
}
.contact-map-embed iframe {
  width: 100%; height: 480px; border: 0; display: block;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .contact-info-card { padding: 32px 28px; }
  .contact-form-wrap { padding: 28px; }
  .contact-map-embed iframe { height: 360px; }
}

/* ============================================
   FOOTER — Blue background
   ============================================ */
.footer-section {
  background: var(--primary); color: rgba(255,255,255,0.7); padding: 56px 0 0;
}

.footer-container {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px;
  max-width: var(--container-width); margin: 0 auto;
  padding: 0 24px 36px; border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-logo-link {
  display: inline-block; text-decoration: none; margin-bottom: 16px;
}
.footer-logo-img {
  width: 180px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-social a:hover { color: var(--white); }
.footer-social svg { width: 20px; height: 20px; }

.footer-links h4, .footer-contact h4 {
  color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 14px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); text-decoration: underline; }

.footer-contact p { font-size: 14px; margin-bottom: 8px; color: rgba(255,255,255,0.65); }
.footer-contact svg, .footer-contact i { width: 14px; height: 14px; color: rgba(255,255,255,0.4); }

.footer-bottom { padding: 24px 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.55); flex-wrap: wrap;
  max-width: var(--container-width); margin: 0 auto; padding: 0 24px;
}
.footer-copyright { margin: 0; }
.footer-credits { margin: 0; }
.footer-bottom a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }

@media (max-width: 640px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
}
.footer-legal { display: flex; gap: 12px; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 12px; text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 32px; }
  .footer-bottom-inner { flex-direction: column; }
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed; bottom: 80px; right: 24px; z-index: 997;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 997;
  width: 44px; height: 44px; background: var(--primary); color: var(--white);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,59,115,0.3); transition: all var(--transition);
}
.scroll-top-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================
   COOKIE BANNER — small floating bottom-left card
   ============================================ */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; z-index: 9998;
  background: var(--dark); color: var(--white);
  padding: 14px 16px; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  max-width: 280px;
  font-size: 12px;
}
.cookie-content { display: flex; flex-direction: column; gap: 8px; }
.cookie-content h3 { font-size: 13px; font-weight: 600; margin: 0; color: var(--white); }
.cookie-content p { font-size: 11px; margin: 0; opacity: 0.85; line-height: 1.4; }
.cookie-actions { display: flex; gap: 6px; margin-top: 4px; }
.cookie-btn-accept {
  flex: 1; padding: 7px 12px; border-radius: 6px; border: none; cursor: pointer;
  background: var(--accent); color: var(--white); font-weight: 600; font-size: 11px;
  transition: all var(--transition);
}
.cookie-btn-accept:hover { background: var(--highlight); }
.cookie-btn-decline {
  flex: 1; padding: 7px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer; background: transparent; color: var(--white); font-size: 11px;
}
.cookie-btn-decline:hover { border-color: var(--white); }
.cookie-link { color: rgba(255,255,255,0.6); font-size: 10px; text-decoration: underline; }
@media (max-width: 480px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; max-width: none; }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-section { padding: 60px 0 80px; background: var(--white); }

.product-detail-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  max-width: var(--container-width); margin: 0 auto;
}

.product-detail-gallery {
  position: sticky; top: calc(var(--nav-height) + 24px);
}
.product-detail-gallery .pd-main-img {
  width: 100%; max-width: 100%;
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--gray-border);
}
.pd-gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  max-width: 100%;
}
.pd-gallery-grid img {
  width: 100%; height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--gray-border);
  transition: all var(--transition);
}
.pd-gallery-grid img:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.product-detail-info h1 {
  font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; color: var(--primary); font-weight: 800;
  line-height: 1.2;
}
.product-detail-brand { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.product-detail-price { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.product-detail-desc { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.product-detail-cta { margin-top: 28px; margin-bottom: 28px; }

.pd-section-title {
  font-size: 13px; font-weight: 700; color: var(--primary);
  margin: 24px 0 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding-top: 20px;
  border-top: 1px solid var(--gray-border);
}
.pd-specs { margin-bottom: 0; }
.pd-spec-line {
  font-size: 13px; color: var(--text); line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
}
.pd-spec-line:last-child { border-bottom: 0; }

.pd-parts { margin-bottom: 0; }
.pd-part-line {
  font-size: 13px; color: var(--text); line-height: 1.6;
  padding: 6px 0 6px 18px;
  position: relative;
}
.pd-part-line::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.pd-downloads {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--gray-border);
  display: flex; flex-direction: column; gap: 12px;
}
.pd-download {
  font-size: 13px; color: var(--text);
  padding: 14px 16px;
  background: var(--light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
}
.pd-download strong {
  color: var(--primary); font-size: 12px; font-weight: 700;
  display: block; margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pd-download a {
  color: var(--accent); word-break: break-all; font-size: 13px;
  font-weight: 500;
}
.pd-download a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .product-detail-container { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-gallery { position: static; }
  .pd-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-section { padding: 60px 0 80px; background: var(--white); }
.privacy-content { max-width: 880px; margin: 0 auto; }
.privacy-section h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 32px; color: var(--primary); font-weight: 800; }
.privacy-section h2 { font-size: 20px; margin-top: 36px; margin-bottom: 12px; color: var(--primary); font-weight: 700; }
.privacy-section p { font-size: 15px; color: var(--text-light); line-height: 1.85; margin-bottom: 14px; }
.privacy-section strong { color: var(--text); font-weight: 600; }

/* ============================================
   404
   ============================================ */
.error-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 24px; background: var(--light);
}
.error-page h1 { font-size: 100px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 12px; }
.error-page p { font-size: 18px; color: var(--text-light); margin-bottom: 28px; }

/* ============================================
   ANIMATIONS
   ============================================ */
/* opacity/transform initial state is set by GSAP inline — CSS only handles the fallback (no-GSAP) path */
.gs-reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.gs-reveal.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

/* ============================================
   CTA BANNER — Motorcycle Cross-Promotion
   ============================================ */
.cta-banner-section {
  position: relative; padding: 120px 0; overflow: hidden; text-align: center;
}
.cta-banner-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--primary);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.cta-banner-bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,30,80,0.82) 0%, rgba(0,59,115,0.78) 50%, rgba(0,30,80,0.85) 100%);
}
.cta-banner-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(53,125,249,0.22) 0%, transparent 65%);
}
.cta-banner-container { position: relative; z-index: 1; }
.cta-banner-content { max-width: 680px; margin: 0 auto; }
.cta-banner-content .cta-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--azure);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(53,125,249,0.4);
  border-radius: 999px;
  background: rgba(53,125,249,0.1);
}
.cta-banner-content h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.cta-banner-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner-content .btn-primary {
  background: var(--white);
  color: var(--primary);
  font-size: 16px;
  padding: 18px 44px;
  font-weight: 700;
}
.cta-banner-content .btn-primary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  .cta-banner-section { padding: 80px 0; }
}

/* ============================================
   SUBPAGE — Product listing page
   ============================================ */
.subpage-header {
  padding: 120px 0 50px; text-align: center; background: var(--white);
}
.subpage-header h1 {
  font-size: clamp(34px, 5vw, 54px); color: var(--primary); font-weight: 800;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px; color: var(--text-light); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.breadcrumb a {
  color: var(--text-light); text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current="page"] { color: var(--primary); font-weight: 600; }

/* ============================================
   RESPONSIVE — ≤ 480px (small phones)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Nav */
  .nav-container { padding: 0 16px; }
  .logo-text { font-size: 14px; }

  /* Hero */
  .hero-container { padding: 32px 14px 40px; grid-template-columns: 1fr 38%; }
  .hero-content h1 { font-size: clamp(24px, 7.5vw, 32px); }
  .hero-image-wrap img { max-height: 200px; }
  .hero-sub { font-size: 13px; margin: 18px 0 22px; }
  .hero-cta { max-width: 280px; font-size: 15px; padding: 14px 24px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Brands */
  .brand-card { width: 100%; max-width: 320px; }

  /* Products */
  .product-card-image { width: 100%; height: 180px; }

  /* About */
  .about-image-wrap img { max-height: 240px; object-fit: cover; }

  /* Testimonial */
  .testimonial-card { padding: 24px 20px; }

  /* Contact */
  .contact-form-wrap { padding: 20px 16px; }
  .contact-info-row span { word-break: break-all; }

  /* CTA banner */
  .cta-banner-content h2 { font-size: clamp(20px, 6vw, 28px); }
  .cta-banner-content p { font-size: 14px; }

  /* Footer */
  .footer-logo-text { font-size: 14px; }

  /* Floating buttons */
  .whatsapp-float { right: 12px; bottom: 72px; width: 48px; height: 48px; }
  .scroll-top-btn { right: 12px; bottom: 16px; }
}

/* ============================================
   RESPONSIVE — < 350px (very small phones)
   ============================================ */
@media (max-width: 349px) {
  :root { --nav-height: 56px; }
  .container { padding: 0 10px; }

  /* Nav */
  .logo-text { font-size: 12px; }
  .logo-img { width: 30px; height: 30px; }

  /* Hero */
  .hero-container { padding: 24px 10px 36px; grid-template-columns: 1fr 36%; }
  .hero-content h1 { font-size: 24px; }
  .hero-image-wrap img { max-height: 160px; }
  .hero-sub { font-size: 13px; }
  .hero-cta { padding: 14px 20px; font-size: 14px; max-width: 240px; }

  /* Features */
  .feature-icon { width: 72px; height: 72px; }
  .feature-card h3 { font-size: 18px; }

  /* About */
  .about-content h2 { font-size: 22px; }

  /* Contact */
  .contact-text h2 { font-size: 24px; }
  .contact-info-detailed h3 { font-size: 22px; }
  .contact-map-embed iframe { height: 220px; }

  /* Footer */
  .footer-container { gap: 20px; }
  .footer-bottom-inner { font-size: 11px; }

  /* Floating buttons */
  .whatsapp-float { right: 8px; width: 44px; height: 44px; }
  .scroll-top-btn { right: 8px; width: 38px; height: 38px; }
}

@media print {
  nav, footer, .whatsapp-float, .scroll-top-btn, .cookie-banner { display: none !important; }
  section { break-inside: avoid; }
  * { color: #000 !important; background: #fff !important; }
}
