/* ============================================================
   FarmGPS — Main Stylesheet  v4
   File: css/style.css
   ============================================================ */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --green-900: #1a4a1a;
  --green-800: #1f5c1f;
  --green-700: #2D7A2D;
  --green-600: #3a923a;
  --green-500: #4CAF50;
  --green-400: #66BB6A;
  --green-300: #A5D6A7;
  --green-100: #E8F5E9;
  --green-50:  #F1F8F1;

  --white:     #ffffff;
  --gray-50:   #F9FAFB;
  --gray-100:  #F3F4F6;
  --gray-200:  #E5E7EB;
  --gray-300:  #D1D5DB;
  --gray-400:  #9CA3AF;
  --gray-500:  #6B7280;
  --gray-600:  #4B5563;
  --gray-700:  #374151;
  --gray-800:  #1F2937;
  --gray-900:  #111827;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --section-padding: clamp(52px, 8vw, 92px);
  --container-max:   1200px;
  --container-pad:   clamp(16px, 5vw, 40px);

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-green: 0 8px 32px rgba(45,122,45,0.28);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html { overflow-x: hidden; }

img       { max-width: 100%; display: block; height: auto; }
svg       { max-width: 100%; }
a         { color: inherit; text-decoration: none; }
blockquote { margin: 0; }

/* Universal overflow protection — prevents any element from forcing horizontal scroll */
section, header, footer, main, nav { max-width: 100%; }

.container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  box-sizing: border-box;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-900);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
  border: 1px solid var(--green-300);
  margin-bottom: 16px;
}

.section-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.75;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 26px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.91rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(45,122,45,0.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.75);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-700);
}
.btn-outline-dark:hover {
  background: var(--green-700);
  color: var(--white);
}

.btn-sm    { font-size: 0.83rem; padding: 8px 17px; }
.btn-block { width: 100%; justify-content: center; padding: 14px; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* Header container is wider than the rest of the site to make room for
   the full 9-item nav on standard laptops (1366×768 etc.). */
#header > .container {
  max-width: 1340px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  /* mix-blend-mode removes black background on white surface */
  mix-blend-mode: multiply;
}

.logo-text   { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name   {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.02em;
}
.logo-tagline {
  font-size: 0.60rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  list-style: none;
}
.nav-links a {
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green-700);
  background: var(--green-50);
}

/* Brand quicklinks in nav (Hi-Target, FJ Dynamics) */
.nav-links a.nav-brand,
.mobile-nav a.nav-brand {
  color: var(--green-700);
  font-weight: 700;
}
.nav-links a.nav-brand::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--green-500);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.nav-links a.nav-brand.active,
.mobile-nav a.nav-brand.active {
  background: var(--green-100);
  color: var(--green-800);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: 4px 11px;
  border-radius: 50px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--gray-500);
  transition: var(--transition);
  font-family: var(--font-body);
}
.lang-btn.active { background: var(--white); color: var(--green-700); box-shadow: var(--shadow-sm); }
.lang-btn:hover:not(.active) { color: var(--gray-700); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 10px var(--container-pad) 18px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mobile-nav.open {
  display: block;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.mobile-nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.93rem;
  transition: var(--transition);
}
.mobile-nav a:hover { background: var(--green-50); color: var(--green-700); }
.mobile-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

/* ============================================================
   HERO — Photo background slideshow, fully responsive
   ============================================================ */
#hero {
  position: relative;
  height: 100vh;             /* explicit height for absolute children */
  height: 100svh;            /* svh for mobile browsers (URL bar) */
  min-height: 600px;         /* never collapse below this */
  padding-top: 68px;
  overflow: hidden;
}

/* Slides container — fills hero, slides are absolutely positioned inside */
.hero-slides {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  z-index: 1;
}
.hero-slide.is-active {
  display: flex;
  z-index: 2;
  animation: hero-slide-fade 0.7s ease-out;
}
@keyframes hero-slide-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Background photo layer (per slide) */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Slight upscale + blur masks aliasing on lower-res source images.
     Dark gradient overlay (.hero-bg-pattern) covers ~70% of image. */
  transform: scale(1);
  will-change: transform;
}

/* Subtle Ken Burns zoom on the active slide — also helps lower-res images
   look sharper since the eye doesn't lock on individual pixels. */
.hero-slide.is-active .hero-bg-img {
  animation: hero-bg-zoom 14s ease-out forwards;
}
@keyframes hero-bg-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Dark gradient overlay — erős bal oldalon (szöveg), átlátszó jobb oldalon (traktor látszik) */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(8, 26, 8, 0.92) 0%,
    rgba(12, 38, 12, 0.78) 35%,
    rgba(15, 44, 15, 0.45) 58%,
    rgba(10, 30, 10, 0.15) 78%,
    rgba(5, 18, 5, 0.08) 100%
  );
}
.hero-bg-pattern::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(0,0,0,0.38), transparent);
}

/* Subtle grid */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.5) 75%, transparent 100%);
}

/* Inner grid layout */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 680px;
  padding-top: clamp(48px, 8vh, 80px);
  padding-bottom: clamp(72px, 12vh, 110px);
}

/* --- Badge --- */
.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 50px;
  padding: 5px 14px 5px 5px;
  margin-bottom: 22px;
  width: fit-content;
}
.hero-badge-dot {
  width: 20px; height: 20px;
  background: var(--green-500);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.hero-badge-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green-400);
  opacity: 0;
  animation: pulse-ring 2.6s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { opacity: 0.7; transform: scale(0.85); }
  100% { opacity: 0;   transform: scale(1.5); }
}
.hero-badge-text {
  font-size: 0.70rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Title --- */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title span        { display: block; }
.hero-title-accent      { color: var(--green-300); }

/* --- Subtitle --- */
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.78;
  max-width: 460px;
  margin-bottom: 34px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

/* --- CTA --- */
.hero-cta-group {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* --- Stats --- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat       { display: flex; flex-direction: column; }
.hero-stat-num   {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-stat-label {
  font-size: 0.70rem;
  color: rgba(255,255,255,0.60);
  margin-top: 3px;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.2);
  align-self: center;
}

/* --- Visual card (right) --- */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.hero-visual-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(76,175,80,0.28) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-visual-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.24);
}
.hero-feature-list  { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero-feature-item  {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.92);
  font-size: 0.90rem;
  font-weight: 500;
}
.hero-feature-icon  {
  width: 34px; height: 34px;
  background: rgba(76,175,80,0.18);
  border: 1px solid rgba(76,175,80,0.30);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-300);
}
.hero-divider { height: 1px; background: rgba(255,255,255,0.10); margin: 16px 0; }

/* Partner logók a hero alatt */
.hero-partners {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.hero-partners-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.hero-partners-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-brand-logo {
  height: 22px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.82;
  filter: brightness(1.2);
  transition: opacity 0.22s;
}
.hero-brand-logo:hover { opacity: 1; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.42);
  z-index: 4;
  animation: scroll-bounce 2.2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* Hero slideshow navigation arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.20);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
  padding: 0;
}
.hero-nav:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.42);
}
.hero-nav:active { transform: translateY(-50%) scale(0.94); }
.hero-nav-prev { left: clamp(12px, 2.5vw, 28px); }
.hero-nav-next { right: clamp(12px, 2.5vw, 28px); }

/* Hero slideshow dot indicators */
.hero-dots {
  position: absolute;
  bottom: clamp(64px, 9vh, 92px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 6;
}
.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.30);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.55); }
.hero-dot.is-active {
  background: var(--green-400);
  width: 48px;
}

/* Hero quick-features list — used on brand slides (2 & 3) */
.hero-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 30px;
}
.hero-feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}
.hero-feat-chip::before {
  content: '';
  width: 14px; height: 14px;
  background: var(--green-500);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hero responsive nav/dots */
@media (max-width: 768px) {
  .hero-nav { width: 38px; height: 38px; }
  .hero-nav-prev { left: 8px; }
  .hero-nav-next { right: 8px; }
  .hero-dots { bottom: 58px; gap: 7px; }
  .hero-dot { width: 24px; }
  .hero-dot.is-active { width: 36px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { padding: var(--section-padding) 0; background: var(--white); }

/* Cím középen felül */
.about-header {
  text-align: center;
  margin-bottom: 44px;
}
.about-header .section-badge { margin-bottom: 12px; }
.about-header .section-title { max-width: 700px; margin: 0 auto; }

/* Kétoszlopos: bal fotó (kisebb), jobb szöveg */
.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Bal: fotó + stat + mini badge-ek */
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  aspect-ratio: 3/4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-image-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; }
.about-image-placeholder svg { opacity: 0.30; }

/* 20+ kártya */
.about-accent-card {
  background: var(--green-700);
  color: white;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-green);
  text-align: center;
}
.about-accent-card .acc-num   { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.about-accent-card .acc-label { font-size: 0.68rem; opacity: 0.82; margin-top: 3px; }

/* Mini badge-ek a fotó alatt */
.about-mini-badges {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.about-mini-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-800);
  transition: var(--transition);
}
.about-mini-badge:hover { background: var(--green-100); border-color: var(--green-300); }
.about-mini-badge svg { color: var(--green-700); flex-shrink: 0; }

/* Jobb: szöveg */
.about-content { display: flex; flex-direction: column; gap: 0; }
.about-text p { color: var(--gray-600); line-height: 1.80; margin-bottom: 13px; font-size: 0.95rem; }
.about-text p:last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 220px 1fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-visual {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }
  .about-image-frame {
    width: 140px;
    aspect-ratio: 3/4;
    flex-shrink: 0;
  }
  .about-accent-card { flex: 1; min-width: 100px; }
  .about-mini-badges { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; }
  .about-mini-badge  { flex: 1 1 calc(50% - 4px); }
}


/* ============================================================
   SERVICES
   ============================================================ */
#services { padding: var(--section-padding) 0; background: var(--gray-50); }
.services-header { text-align: center; margin-bottom: 48px; }
.services-header .section-subtitle { margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--green-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s, color 0.3s;
  color: var(--green-700);
}
.service-card:hover .service-icon { background: var(--green-700); color: var(--white); }
.service-card h3 { font-size: 0.99rem; margin-bottom: 8px; color: var(--gray-900); }
.service-card p  { font-size: 0.86rem; color: var(--gray-500); line-height: 1.70; }

/* ============================================================
   PRODUCTS
   ============================================================ */
#products { padding: var(--section-padding) 0; background: var(--white); }
.products-header { text-align: center; margin-bottom: 52px; }
.products-header .section-subtitle { margin: 0 auto; }

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.product-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: var(--white);
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--green-300); transform: translateY(-4px); }

.product-card-header {
  padding: 0 0 20px;
  background: var(--green-50);
  border-bottom: 1px solid var(--green-100);
  position: relative;
}

/* Product card image — full width banner at top */
.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  border-radius: 0;
  margin-bottom: 18px;
  background: var(--gray-100);
}

/* Title row and description below image */
.product-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 24px;
}

.product-card-title-row h3 {
  font-size: 1.15rem;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.2;
}

.product-inline-logo {
  height: 26px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  filter: contrast(1.08) saturate(1.05);
}
.product-inline-logo--fj { height: 22px; max-width: 76px; }

.product-card-header p {
  font-size: 0.86rem;
  color: var(--gray-500);
  line-height: 1.66;
  padding: 0 24px;
}

.product-card-body { padding: 22px 26px 26px; }

.product-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.product-features li { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--gray-700); font-weight: 500; }
.feat-check {
  width: 19px; height: 19px;
  background: var(--green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.product-card-actions { display: flex; gap: 10px; }
.product-card-actions .btn-primary { flex: 1; }

/* ============================================================
   WHY US
   ============================================================ */
#why {
  padding: var(--section-padding) 0;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 100%);
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(76,175,80,0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.why-header { text-align: center; margin-bottom: 52px; position: relative; z-index: 2; }
.why-header .section-badge    { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--green-300); }
.why-header .section-badge::before { background: var(--green-400); }
.why-header .section-title    { color: var(--white); }
.why-header .section-subtitle { color: rgba(255,255,255,0.60); margin: 0 auto; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 2; }

.why-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); transform: translateY(-4px); }
.why-card-icon {
  width: 46px; height: 46px;
  background: rgba(76,175,80,0.16);
  border: 1px solid rgba(76,175,80,0.30);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--green-300);
}
.why-card h3 { font-size: 0.96rem; color: var(--white); margin-bottom: 8px; }
.why-card p  { font-size: 0.84rem; color: rgba(255,255,255,0.58); line-height: 1.70; }

/* ============================================================
   REFERENCES
   ============================================================ */
#references { padding: var(--section-padding) 0; background: var(--gray-50); }
.references-header { text-align: center; margin-bottom: 48px; }
.references-header .section-subtitle { margin: 0 auto; }

.references-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ref-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.ref-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-200); transform: translateY(-3px); }
.ref-stars  { font-size: 0.80rem; letter-spacing: 3px; color: #F59E0B; margin-bottom: 13px; line-height: 1; }
.ref-quote  { display: none; }
.ref-text   { font-size: 0.89rem; color: var(--gray-600); line-height: 1.76; flex: 1; margin-bottom: 20px; font-style: italic; quotes: none; }
.ref-author { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.ref-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--green-400), var(--green-700)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.ref-name   { font-weight: 700; font-size: 0.86rem; color: var(--gray-800); line-height: 1.2; }
.ref-role   { font-size: 0.74rem; color: var(--gray-400); margin-top: 2px; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { padding: var(--section-padding) 0; background: var(--white); }

.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info .section-subtitle { margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-100);
  transition: var(--transition);
}
.contact-detail-item:hover { background: var(--green-100); border-color: var(--green-300); }
.contact-detail-icon {
  width: 38px; height: 38px;
  background: var(--green-700);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.contact-detail-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--green-700); margin-bottom: 3px; }
.contact-detail-value { font-size: 0.90rem; color: var(--gray-800); font-weight: 500; line-height: 1.5; }
a.contact-detail-value:hover { color: var(--green-700); }

/* Opening hours table */
.hours-table { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 0.87rem; }
.hours-table .day    { color: var(--gray-700); font-weight: 500; white-space: nowrap; }
.hours-table .time   { color: var(--gray-500); }
.hours-table .closed { color: var(--gray-400); font-style: italic; }

/* Form */
.contact-form-wrap { background: var(--gray-50); border-radius: var(--radius-xl); padding: 32px; border: 1px solid var(--gray-200); }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.89rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(76,175,80,0.11); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-privacy { font-size: 0.72rem; color: var(--gray-400); margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; text-align: center; }
.form-privacy svg { flex-shrink: 0; opacity: 0.55; }
.form-success { display: none; background: var(--green-100); border: 1px solid var(--green-300); border-radius: var(--radius-md); padding: 14px 16px; color: var(--green-800); font-weight: 600; font-size: 0.87rem; margin-top: 10px; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--gray-900); color: var(--gray-400); padding: 48px 0 24px; }

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }

/* Footer logo: screen blend for dark bg */
#footer .logo img { mix-blend-mode: screen; }
.footer-brand .logo-name    { color: var(--green-400); font-size: 1.1rem; }
.footer-brand .logo-tagline { color: var(--gray-500); }
.footer-tagline { font-size: 0.81rem; line-height: 1.62; margin-top: 12px; color: var(--gray-500); }

/* Partner logos in footer */
.footer-partners { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.footer-partners-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-600); }
.footer-partner-logos  { display: flex; align-items: center; gap: 18px; }

/* mix-blend-mode:screen removes black bg on dark footer */
.footer-partner-logo {
  height: 17px;
  width: auto;
  max-width: 78px;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.68;
  filter: brightness(1.15);
  transition: opacity 0.22s;
}
.footer-partner-logo:hover { opacity: 1; }
.footer-partner-logo.fj-logo { height: 14px; max-width: 68px; }

/* Footer social icons */
.footer-social { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer-social-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.footer-social-icons { display: flex; gap: 10px; align-items: center; }
.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.footer-social-icon svg { width: 17px; height: 17px; }
.footer-social-icon:hover {
  transform: translateY(-2px);
  color: var(--white);
}
.footer-social-icon.fb:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer-col h4 { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--gray-200); margin-bottom: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.82rem; color: var(--gray-500); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--green-400); }

.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; }
.footer-bottom p { font-size: 0.76rem; color: var(--gray-600); }

/* ============================================================
   PRODUCT FEATURES SHOWCASE
   ============================================================ */
#product-features {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  overflow: hidden;
}

.pf-header {
  text-align: center;
  margin-bottom: 52px;
}

/* Two-column grid */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Column */
.pf-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 32px;
}

.pf-col:first-child {
  border-right: 1px solid var(--gray-200);
  padding-left: 0;
}

.pf-col:last-child {
  padding-right: 0;
}

/* Brand label */
.pf-brand-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--green-500);
}

.pf-brand-label span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.pf-brand-logo {
  height: 22px;
  width: auto;
  max-width: 82px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.pf-brand-logo--fj { height: 18px; }

/* Individual feature item */
.pf-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Image wrapper */
.pf-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pf-img-wrap:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pf-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.pf-img-wrap:hover .pf-img { transform: scale(1.04); }

/* Fallback */
.pf-img-wrap.pf-img-missing {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}
.pf-img-wrap.pf-img-missing::after {
  content: '📷 Kép hamarosan';
  font-size: 0.82rem;
  color: var(--gray-400);
}

.pf-item-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
}

.pf-item-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.74;
  text-align: center;
}

/* Coming soon */
.pf-coming-soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 200px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-200);
  padding: 32px 24px;
  text-align: center;
}
.pf-coming-icon {
  width: 56px; height: 56px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
}
.pf-coming-soon p { font-size: 0.88rem; color: var(--gray-400); line-height: 1.65; max-width: 280px; }

/* ============================================================
   SLIDE-IN ANIMATIONS
   ============================================================ */
.slide-in-left,
.slide-in-right {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-in-left  { transform: translateX(-52px); }
.slide-in-right { transform: translateX(52px); }

.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays for items within column */
.pf-col .slide-in-left:nth-child(1),
.pf-col .slide-in-right:nth-child(1)  { transition-delay: 0s; }
.pf-col .slide-in-left:nth-child(2),
.pf-col .slide-in-right:nth-child(2)  { transition-delay: 0.10s; }
.pf-col .slide-in-left:nth-child(3),
.pf-col .slide-in-right:nth-child(3)  { transition-delay: 0.20s; }
.pf-col .slide-in-left:nth-child(4),
.pf-col .slide-in-right:nth-child(4)  { transition-delay: 0.30s; }
.pf-col .slide-in-left:nth-child(5),
.pf-col .slide-in-right:nth-child(5)  { transition-delay: 0.40s; }

/* Responsive */
@media (max-width: 1024px) {
  .pf-col { padding: 0 20px; }
}

@media (max-width: 768px) {
  .pf-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pf-col { padding: 0; gap: 28px; }
  .pf-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 48px;
  }
  /* On mobile, both animate from bottom */
  .slide-in-left,
  .slide-in-right {
    transform: translateY(32px);
  }
  .slide-in-left.visible,
  .slide-in-right.visible {
    transform: translateY(0);
  }
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.08s; }
.fade-up-delay-2 { transition-delay: 0.16s; }
.fade-up-delay-3 { transition-delay: 0.24s; }
.fade-up-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   NAV COLLAPSE — JS-driven (added when header content overflows)
   ============================================================ */
body.nav-collapsed .nav-links           { display: none; }
body.nav-collapsed .header-actions .btn { display: none; }
body.nav-collapsed .hamburger           { display: flex; }

/* ============================================================
   RESPONSIVE — Wide Tablet ≤1100px (CSS fallback if JS disabled)
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links              { display: none; }
  .header-actions .btn    { display: none; }
  .hamburger              { display: flex; }
}

/* ============================================================
   RESPONSIVE — Tablet ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content           { max-width: 100%; }
  .hero-subtitle          { max-width: 100%; }

  .services-grid          { grid-template-columns: repeat(2, 1fr); }
  .why-grid               { grid-template-columns: repeat(2, 1fr); }
  .references-grid        { grid-template-columns: repeat(2, 1fr); }
  .contact-inner          { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner           { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile ≤768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: clamp(36px, 8vw, 60px);
    --container-pad: 16px;
  }

  /* Header */
  .nav-links              { display: none; }
  .header-actions .btn    { display: none; }
  .hamburger              { display: flex; }
  .header-inner           { height: 58px; }
  .logo img               { height: 34px; }
  .logo-name              { font-size: 1rem; }
  .logo-tagline           { display: none; }
  .mobile-nav             { top: 58px; }

  /* Hero */
  #hero {
    height: 100vh;
    height: 100svh;
    min-height: 540px;
    padding-top: 58px;
  }

  .hero-inner {
    padding-top: 24px;
    padding-bottom: 72px;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
    margin-bottom: 14px;
    word-break: break-word;
    hyphens: auto;
  }

  .hero-subtitle {
    font-size: 0.90rem;
    line-height: 1.68;
    max-width: 100%;
    margin-bottom: 26px;
  }

  .hero-badge-wrap        { margin-bottom: 16px; }
  .hero-badge-text        { font-size: 0.62rem; }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  .hero-stats             { gap: 14px; flex-wrap: wrap; }
  .hero-stat-divider      { display: none; }
  .hero-stat-num          { font-size: 1.3rem; }
  .hero-stat-label        { font-size: 0.67rem; }

  /* Hero slideshow — slides 2-3 chips, smaller on mobile */
  .hero-feats             { gap: 8px; margin-bottom: 22px; }
  .hero-feat-chip         { font-size: 0.72rem; padding: 6px 12px 6px 8px; }
  .hero-feat-chip::before { width: 12px; height: 12px; background-size: 8px; }

  /* Darker overlay */
  .hero-bg-pattern {
    background: linear-gradient(
      to bottom,
      rgba(6, 20, 6, 0.92) 0%,
      rgba(8, 26, 8, 0.82) 50%,
      rgba(6, 20, 6, 0.68) 100%
    );
  }

  /* Sections */
  .services-grid          { grid-template-columns: 1fr; }
  .products-grid          { grid-template-columns: 1fr; }
  .why-grid               { grid-template-columns: 1fr; }
  .references-grid        { grid-template-columns: 1fr; }
  .form-row               { grid-template-columns: 1fr; }
  .contact-form-wrap      { padding: 20px 16px; }
  .footer-inner           { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom          { flex-direction: column; text-align: center; }

  /* Product card */
  .product-card-img       { height: 180px; }
  .product-card-title-row { padding: 0 16px; }
  .product-card-header p  { padding: 0 16px; }
  .product-card-body      { padding: 18px 16px 22px; }
  .product-card-actions   { flex-direction: column; }
  .product-card-actions .btn { width: 100%; }

  /* Section titles */
  .section-title          { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* ============================================================
   RESPONSIVE — Small ≤480px
   ============================================================ */
@media (max-width: 480px) {
  :root { --container-pad: 14px; }

  .hero-title             { font-size: clamp(1.55rem, 7vw, 2rem); }
  .hero-badge-wrap        { max-width: 100%; }
  .hero-badge-text        { font-size: 0.58rem; letter-spacing: 0.03em; }

  .service-card           { padding: 22px 18px; }
  .why-card               { padding: 20px 16px; }
  .ref-card               { padding: 22px 18px; }
}

/* ============================================================
   RESPONSIVE — Extra small ≤360px
   ============================================================ */
@media (max-width: 360px) {
  :root { --container-pad: 12px; }

  .hero-title             { font-size: 1.45rem; }
  .hero-subtitle          { font-size: 0.85rem; }
  .btn                    { font-size: 0.86rem; padding: 11px 16px; }
  .logo-name              { font-size: 0.95rem; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 13px var(--container-pad);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.22);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 0.80rem; line-height: 1.56; }
.cookie-text a { color: var(--green-400); text-decoration: underline; }
.cookie-actions { display: flex; gap: 9px; flex-shrink: 0; }
.cookie-accept, .cookie-reject {
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: var(--transition);
}
.cookie-accept       { background: var(--green-600); color: white; }
.cookie-accept:hover { background: var(--green-500); }
.cookie-reject       { background: var(--gray-700); color: var(--gray-300); }
.cookie-reject:hover { background: var(--gray-600); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   FLOATING CONTACT BUTTONS — Call (right) & WhatsApp (left)
   ============================================================ */
.float-btn {
  position: fixed;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
  cursor: pointer;
}
.float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0,0,0,0.32), 0 4px 12px rgba(0,0,0,0.2);
}
.float-btn:active { transform: scale(0.97); }

.float-btn svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.float-call {
  right: 22px;
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
}

.float-whatsapp {
  left: 22px;
  background: #25D366;
}
.float-whatsapp:hover { background: #1ebe5a; }

/* Pulse ring animation — gently draws attention */
.float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0.5;
  z-index: 0;
  animation: float-pulse 2.4s ease-out infinite;
}
.float-whatsapp::before { background: #25D366; }
@keyframes float-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Tooltip on desktop hover */
.float-btn::after {
  content: attr(data-label);
  position: absolute;
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow-md);
}
.float-call::after    { right: calc(100% + 12px); top: 50%; transform: translateY(-50%); }
.float-whatsapp::after { left:  calc(100% + 12px); top: 50%; transform: translateY(-50%); }
.float-btn:hover::after { opacity: 1; }

@media (max-width: 600px) {
  .float-btn { width: 52px; height: 52px; bottom: 16px; }
  .float-btn svg { width: 24px; height: 24px; }
  .float-call    { right: 14px; }
  .float-whatsapp { left: 14px; }
  .float-btn::after { display: none; } /* no hover tooltips on touch */
}

/* ============================================================
   BRAND PRODUCT PAGES — Hi-Target & FJ Dynamics dedicated pages
   ============================================================ */

/* --- Brand page wrapper --- */
.brand-page main {
  padding-top: 68px;
}
@media (max-width: 768px) {
  .brand-page main { padding-top: 58px; }
}

/* --- Brand Hero --- */
.brand-hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 60%, var(--green-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.brand-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 85% 15%, rgba(76,175,80,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 85%, rgba(255,255,255,0.05) 0%, transparent 45%);
  pointer-events: none;
}
.brand-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.brand-hero-content { max-width: 680px; }
.brand-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 20px;
}
.brand-hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green-400);
  border-radius: 50%;
}
.brand-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.brand-hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}
.brand-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.brand-hero-meta-item { display: flex; flex-direction: column; }
.brand-hero-meta-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.brand-hero-meta-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.62);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand-hero-logo-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
}
.brand-hero-logo-card img {
  max-width: 200px;
  max-height: 80px;
  object-fit: contain;
}

/* --- Brand About --- */
.brand-about {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.brand-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.brand-about-content .section-badge { margin-bottom: 16px; }
.brand-about-content h2 { margin-bottom: 18px; }
.brand-about-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.96rem;
}
.brand-about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.brand-about-highlight {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.brand-about-highlight-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 4px;
}
.brand-about-highlight-label {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 600;
}
.brand-about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  box-shadow: var(--shadow-lg);
}
.brand-about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Models section --- */
.brand-models {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}
.brand-models-header {
  text-align: center;
  margin-bottom: 56px;
}
.brand-models-header .section-subtitle { margin: 0 auto; }

.brand-models-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.brand-model-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 0;
}
.brand-model-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
}
.brand-model-card.brand-model-card-flipped {
  grid-template-columns: 1fr minmax(280px, 380px);
}
.brand-model-image {
  position: relative;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
}
.brand-model-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-model-card.brand-model-card-flipped .brand-model-image { order: 2; }
.brand-model-card.brand-model-card-flipped .brand-model-content { order: 1; }
.brand-model-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--green-700);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.brand-model-badge.badge-premium { background: linear-gradient(135deg, #B8860B, #D4A017); }
.brand-model-badge.badge-pro { background: var(--gray-800); }

.brand-model-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.brand-model-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.brand-model-subtitle {
  font-size: 0.88rem;
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 14px;
}
.brand-model-desc {
  font-size: 0.94rem;
  color: var(--gray-600);
  line-height: 1.72;
  margin-bottom: 20px;
}

/* --- Spec table (within model card) --- */
.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 22px;
}
.spec-cell {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  border: 1px solid var(--gray-100);
}
.spec-cell-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.spec-cell-value {
  font-size: 0.88rem;
  color: var(--gray-800);
  font-weight: 600;
}

.brand-model-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 22px;
}
.brand-model-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.brand-model-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  background: var(--green-500);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.brand-model-cta {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --- Comparison table --- */
.brand-comparison {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.brand-comparison-header {
  text-align: center;
  margin-bottom: 44px;
}
.brand-comparison-header .section-subtitle { margin: 0 auto; }

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--white);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem;
}
.comparison-table thead th {
  background: var(--green-700);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  border-bottom: none;
}
.comparison-table thead th:first-child {
  text-align: left;
  background: var(--green-800);
}
.comparison-table tbody th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-800);
  font-family: var(--font-body);
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 1;
}
.comparison-table tbody td {
  text-align: center;
  color: var(--gray-700);
}
.comparison-table tbody tr:hover th,
.comparison-table tbody tr:hover td { background: var(--green-50); }
.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-check { color: var(--green-600); font-weight: 700; font-size: 1.1rem; }
.comparison-dash { color: var(--gray-300); }

/* --- Applications grid --- */
.brand-applications {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}
.brand-applications-header {
  text-align: center;
  margin-bottom: 48px;
}
.brand-applications-header .section-subtitle { margin: 0 auto; }
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.application-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.application-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.application-card-img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  background: var(--gray-100);
}
.application-card-body { padding: 18px 20px 22px; }
.application-card-body h3 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.application-card-body p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- FAQ accordion (using <details>/<summary>) --- */
.brand-faq {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.brand-faq-header {
  text-align: center;
  margin-bottom: 44px;
}
.brand-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color 0.25s, background 0.25s;
}
.faq-item[open] {
  background: var(--green-50);
  border-color: var(--green-300);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 22px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D7A2D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--green-700); }
.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* --- Brand CTA section --- */
.brand-cta {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  position: relative;
  overflow: hidden;
}
.brand-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.brand-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.brand-cta h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.brand-cta p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.brand-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Brand page responsive --- */
@media (max-width: 1024px) {
  .brand-hero-inner { grid-template-columns: 1fr; }
  .brand-hero-logo-card {
    justify-self: start;
    padding: 28px 36px;
    min-width: auto;
    max-width: 320px;
    width: 100%;
  }
  .brand-about-inner { grid-template-columns: 1fr; gap: 36px; }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-model-card,
  .brand-model-card.brand-model-card-flipped {
    grid-template-columns: 1fr;
  }
  .brand-model-card.brand-model-card-flipped .brand-model-image { order: 0; }
  .brand-model-card.brand-model-card-flipped .brand-model-content { order: 0; }
  .brand-model-image { min-height: 220px; }
}

@media (max-width: 768px) {
  .brand-page main { padding-top: 58px; }
  .brand-hero { padding: 48px 0 36px; }
  .brand-hero-content h1 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
  .brand-hero-tagline { font-size: 0.94rem; }
  .brand-hero-meta { gap: 18px; }
  .brand-hero-meta-num { font-size: 1.3rem; }
  .brand-about-highlights { grid-template-columns: 1fr; }
  .brand-model-content { padding: 24px 20px; }
  .brand-model-name { font-size: 1.3rem; }
  .spec-table { grid-template-columns: 1fr; }
  .brand-model-features { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 0.92rem; padding: 14px 18px; gap: 10px; }
  .faq-answer { padding: 0 18px 16px; font-size: 0.88rem; }
  .brand-hero-logo-card { padding: 20px 24px; max-width: 240px; }
  .brand-hero-logo-card img { max-height: 56px; }
  .brand-cta h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .brand-cta p { font-size: 0.92rem; }
}

@media (max-width: 480px) {
  .brand-hero { padding: 32px 0 28px; }
  .brand-hero-eyebrow { font-size: 0.62rem; padding: 5px 11px; }
  .brand-hero-meta { gap: 14px; }
  .brand-hero-logo-card { padding: 18px 22px; max-width: 100%; }
  .brand-model-content { padding: 20px 16px; }
  .brand-model-cta { flex-direction: column; }
  .brand-model-cta .btn { width: 100%; justify-content: center; }
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .brand-cta-actions .btn { width: 100%; }
}

