/* ══════════════════════════════════════════════
   GEA DAIRY CENTER — styles.css
   ══════════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --blue:        #1400ff;
  --blue-dk:     #0d00cc;
  --blue-deep:   #060040;
  --blue-mid:    #1a2b8f;
  --green:       #00e64d;
  --green-dk:    #00b83d;
  --white:       #ffffff;
  --gray-bg:     #f4f5f9;
  --gray-line:   #e2e4ed;
  --text:        #0f1022;
  --text-muted:  #5c607d;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 10px rgba(0,0,0,.08);
  --shadow:      0 6px 30px rgba(0,0,0,.12);
  --shadow-lg:   0 16px 60px rgba(0,0,0,.18);
  --transition:  .22s ease;
  --font:        'Inter', system-ui, Arial, sans-serif;
  --font-head:   'Inter', system-ui, Arial, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11'; /* Inter optical variants */
}

/* Headings — Inter at heavy weights with tight tracking mimics GEA Head */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'salt';
  letter-spacing: -.02em;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ── Screen-reader only ── */
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--text);
  font-weight: 700; font-size: .9rem;
  padding: 13px 28px; border-radius: 50px; border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-green:hover { background: var(--green-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,230,77,.3); }
.btn-green:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  color: var(--white); font-weight: 600; font-size: .9rem;
  padding: 13px 28px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.4);
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.7); }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 600; font-size: .95rem;
  padding: 14px 28px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  font-weight: 700; font-size: .85rem;
  padding: 10px 22px; border-radius: 50px; border: none;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { background: var(--blue-dk); box-shadow: 0 4px 16px rgba(20,0,255,.3); }

.btn-outline-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--blue);
  font-weight: 700; font-size: .9rem;
  padding: 12px 24px; border-radius: 50px;
  border: 2px solid var(--blue);
  transition: background var(--transition), color var(--transition);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

/* ══════════════════════════════════════════════
   SCROLL PROGRESS
   ══════════════════════════════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 9999; transition: width .1s linear;
}

/* ══════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--blue-deep); color: rgba(255,255,255,.85);
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; font-size: .88rem;
  transform: translateY(100%);
  transition: transform .4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner a { color: var(--green); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btns button {
  padding: 8px 20px; border-radius: 50px; font-size: .82rem;
  font-weight: 600; border: none; cursor: pointer; transition: opacity .2s;
}
.cookie-btns button:first-child { background: rgba(255,255,255,.12); color: var(--white); }
.cookie-btns button:first-child:hover { opacity: .8; }
.btn-accept { background: var(--green) !important; color: var(--text) !important; }
.btn-accept:hover { background: var(--green-dk) !important; }

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 78px; transition: height var(--transition);
}

/* Transparent state (on hero) */
.header .logo-blue { opacity: 0; position: absolute; transition: opacity var(--transition); }
.header .logo-white { opacity: 1; transition: opacity var(--transition); }
.header .logo-blue, .header .logo-white { height: 38px; }

.header .main-nav a { color: rgba(255,255,255,.9); }
.header .header-actions .icon-btn { color: rgba(255,255,255,.9); }
.header .lang-btn { color: rgba(255,255,255,.9); }
.header .hamburger span { background: rgba(255,255,255,.9); }

/* Scrolled state */
.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header.scrolled .header-inner { height: 66px; }
.header.scrolled .logo-blue  { opacity: 1; position: static; }
.header.scrolled .logo-white { opacity: 0; position: absolute; pointer-events: none; }
.header.scrolled .main-nav a { color: var(--text-muted); }
.header.scrolled .icon-btn { color: var(--text-muted); }
.header.scrolled .lang-btn { color: var(--text-muted); }
.header.scrolled .hamburger span { background: var(--text); }
.header.scrolled .main-nav a:hover { color: var(--blue); }

/* Logo wrapper */
.logo { display: flex; align-items: center; flex-shrink: 0; position: relative; }

/* Nav links */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: flex; align-items: center; gap: 4px;
  font-size: .88rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(20,0,255,.06); color: var(--blue) !important; }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 24px;
  min-width: 480px; display: none;
  grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--gray-line);
  animation: fadeDown .2s ease;
}
.has-drop:hover .dropdown { display: grid; }
.drop-col { padding: 0 16px; border-right: 1px solid var(--gray-line); }
.drop-col:last-child { border-right: none; }
.drop-col strong { display: block; font-size: .72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.drop-col a { display: block; font-size: .85rem; color: var(--text-muted); padding: 5px 0; transition: color var(--transition); }
.drop-col a:hover { color: var(--blue); }

@keyframes fadeDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn {
  background: none; border: none; padding: 8px;
  border-radius: 50%; transition: background var(--transition);
  display: flex; align-items: center;
}
.icon-btn:hover { background: rgba(20,0,255,.08); }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: opacity .2s;
}
.lang-btn:hover { opacity: .75; }

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

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 32px 24px; background: var(--white);
  border-top: 1px solid var(--gray-line);
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
}
.mobile-menu.open { max-height: 400px; }
.mobile-menu a {
  font-size: 1rem; font-weight: 600; color: var(--text-muted);
  padding: 12px 8px; border-bottom: 1px solid var(--gray-line);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--blue); }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 600px; max-height: 900px;
  overflow: hidden; margin-top: 0;
}
.hero-track {
  display: flex; height: 100%;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.hero-slide {
  position: relative; flex: none; width: 100%; height: 100%;
  display: flex; align-items: center;
}
.slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 8s ease; will-change: transform;
}
.hero-slide:hover .slide-bg { transform: scale(1.04); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,0,64,.85) 0%, rgba(20,0,255,.55) 55%, rgba(6,0,64,.2) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  color: var(--white); max-width: 620px;
  padding-top: 78px; /* header height */
}
.hero-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 900;
  line-height: 1.02; text-transform: uppercase;
  margin-bottom: 20px; letter-spacing: -.03em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'salt';
}
.hero-sub {
  font-size: clamp(.9rem, 1.4vw, 1.1rem); line-height: 1.65;
  color: rgba(255,255,255,.82); margin-bottom: 36px; max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.slide-badge {
  position: absolute; top: 32px; right: 32px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: 1px;
  padding: 8px 18px; border-radius: 50px;
  z-index: 3; margin-top: 78px;
}

/* Hero controls */
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3); color: var(--white);
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.hero-nav:hover { background: rgba(255,255,255,.3); }
.hero-nav.prev { left: 28px; }
.hero-nav.next { right: 28px; }

.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: 10px;
}
.hero-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.hero-dots .dot.active { background: var(--green); transform: scale(1.3); }

.hero-timer {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--green); z-index: 4;
  transition: width .1s linear;
}

/* ══════════════════════════════════════════════
   STATS BAND
   ══════════════════════════════════════════════ */
.stats-band {
  background: var(--blue-deep); padding: 56px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat {
  text-align: center; padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block; font-size: 3rem; font-weight: 900;
  color: var(--green); line-height: 1; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .84rem; color: rgba(255,255,255,.65); line-height: 1.5; }

/* ══════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 56px; }
.eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 16px; letter-spacing: -.025em;
}
.section-desc {
  font-size: .96rem; color: var(--text-muted);
  max-width: 580px; margin: 0 auto; line-height: 1.7;
}

/* ══════════════════════════════════════════════
   PRODUCTS SECTION
   ══════════════════════════════════════════════ */
.products-section { padding: 100px 0; background: var(--white); }

/* Tabs */
.tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 48px;
}
.tab {
  padding: 10px 22px; border-radius: 50px;
  border: 1.5px solid var(--gray-line);
  font-size: .84rem; font-weight: 600; color: var(--text-muted);
  background: var(--white);
  transition: all var(--transition);
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Cards grid */
.cards-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), opacity .3s;
  background: var(--white);
  border: 1px solid var(--gray-line);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(20,0,255,.12); }
.card.hidden { display: none; }
.card-img {
  aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--gray-bg);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--green); color: var(--text);
  font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
}
.card-tag.blue { background: var(--blue); color: var(--white); }
.card-body { padding: 26px 22px 22px; }
.card-cat {
  font-size: .72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.card-body h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.card-body p { font-size: .86rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .84rem; font-weight: 700; color: var(--blue);
  background: none; border: none;
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* ══════════════════════════════════════════════
   FEATURE SECTION
   ══════════════════════════════════════════════ */
.feature-section { padding: 100px 0; background: var(--gray-bg); }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.feature-img {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.feature-stat-bubble {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--white); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center;
}
.feature-stat-bubble strong { font-size: 1.6rem; font-weight: 900; color: var(--green); line-height: 1; }
.feature-stat-bubble span { font-size: .75rem; color: var(--text-muted); margin-top: 4px; text-align: center; }
.feature-content .eyebrow { display: block; margin-bottom: 12px; }
.feature-content h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 20px; letter-spacing: -.025em;
}
.feature-content > p {
  font-size: .95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px;
}
.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9rem; line-height: 1.5;
}
.chk {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.chk::after {
  content: ''; display: block; width: 10px; height: 6px;
  border-left: 2.5px solid var(--text); border-bottom: 2.5px solid var(--text);
  transform: translateY(-1px) rotate(-45deg);
}
.feature-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════ */
.testimonials-section { padding: 100px 0; background: var(--blue-deep); }
.testimonials-section .eyebrow { color: var(--green); }
.testimonials-section h2 { color: var(--white); }

.testi-wrapper {
  position: relative; display: flex; align-items: center; gap: 20px;
  overflow: hidden; margin-bottom: 24px;
}
.testi-track {
  flex: 1; overflow: hidden;
}
.testi-slide {
  display: none; animation: fadeIn .4s ease;
}
.testi-slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.stars { color: var(--green); font-size: 1.1rem; margin-bottom: 20px; letter-spacing: 2px; }
blockquote {
  font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600;
  color: var(--white); line-height: 1.65;
  margin-bottom: 28px; position: relative;
  padding-left: 28px;
}
blockquote::before {
  content: '"'; position: absolute; left: 0; top: -4px;
  font-size: 3.5rem; color: var(--green); line-height: 1;
  opacity: .7;
}
.testi-author {
  display: flex; align-items: center; gap: 16px;
}
.testi-author img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--green);
}
.testi-author strong { display: block; color: var(--white); font-size: .95rem; }
.testi-author span { color: rgba(255,255,255,.6); font-size: .82rem; }

.testi-nav {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); z-index: 1;
}
.testi-nav:hover { background: rgba(255,255,255,.2); }

.testi-dots { display: flex; gap: 10px; justify-content: center; }
.testi-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.testi-dots .dot.active { background: var(--green); transform: scale(1.4); }

/* ══════════════════════════════════════════════
   WHY SECTION
   ══════════════════════════════════════════════ */
.why-section { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.why-card {
  padding: 32px 24px; border-radius: var(--radius);
  border: 1.5px solid var(--gray-line);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.why-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(20,0,255,.1);
  transform: translateY(-4px);
}
.why-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(20,0,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 20px;
  transition: background var(--transition);
}
.why-card:hover .why-icon { background: rgba(20,0,255,.13); }
.why-card h3 { font-size: .98rem; font-weight: 800; margin-bottom: 10px; }
.why-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.faq-section { padding: 100px 0; background: var(--gray-bg); }
.faq-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.faq-inner .section-header { text-align: left; margin-bottom: 0; }
.faq-inner .section-header h2 { max-width: 280px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--gray-line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; background: none; border: none;
  font-size: .95rem; font-weight: 700; text-align: left; color: var(--text);
  cursor: pointer; transition: color var(--transition);
}
.faq-q:hover { color: var(--blue); }
.faq-q[aria-expanded="true"] { color: var(--blue); }
.faq-icon { flex-shrink: 0; transition: transform .3s ease; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-a.open { max-height: 400px; padding-bottom: 20px; }
.faq-a p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════ */
.cta-banner {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #1400ff 60%, #0080c8 100%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  flex-wrap: wrap;
}
.cta-text { color: var(--white); max-width: 540px; }
.cta-text h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 900; margin-bottom: 12px; letter-spacing: -.03em; }
.cta-text p { font-size: .95rem; color: rgba(255,255,255,.8); line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer { background: var(--blue-deep); color: rgba(255,255,255,.75); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand > p {
  font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.55);
  max-width: 290px; margin-bottom: 24px;
}
.social-links { display: flex; gap: 10px; margin-bottom: 28px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.social-links a:hover { border-color: var(--green); background: rgba(0,230,77,.1); color: var(--green); }

/* Newsletter */
.newsletter { }
.newsletter p { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.newsletter form { display: flex; gap: 0; }
.newsletter input {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2);
  border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--white); font-size: .84rem; outline: none;
  transition: border-color var(--transition);
}
.newsletter input::placeholder { color: rgba(255,255,255,.35); }
.newsletter input:focus { border-color: var(--green); }
.newsletter button {
  padding: 10px 16px; background: var(--green); color: var(--text);
  border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex; align-items: center; cursor: pointer;
  transition: background var(--transition);
}
.newsletter button:hover { background: var(--green-dk); }
.nl-msg { display: block; font-size: .78rem; margin-top: 6px; color: var(--green); min-height: 18px; }

/* Footer columns */
.footer-col h4 {
  font-size: .75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: .84rem; color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.35); gap: 16px; flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   FLOATING CTA
   ══════════════════════════════════════════════ */
.floating-cta {
  position: fixed; bottom: 32px; right: 100px; z-index: 700;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta button {
  display: flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  font-weight: 700; font-size: .84rem;
  padding: 12px 22px; border-radius: 50px; border: none;
  box-shadow: 0 4px 24px rgba(20,0,255,.4);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.floating-cta button:hover { background: var(--blue-dk); transform: translateY(-2px); }

/* ══════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 700;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gray-line);
  color: var(--text); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), color var(--transition);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ══════════════════════════════════════════════
   SEARCH OVERLAY
   ══════════════════════════════════════════════ */
.overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6,0,64,.9); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; align-items: center;
  padding-top: 140px; gap: 32px;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.overlay:not([hidden]) { opacity: 1; pointer-events: auto; }
.overlay[hidden] { display: flex; } /* keep flex but hidden via opacity */
.search-box {
  display: flex; align-items: center; gap: 16px;
  width: 100%; max-width: 640px; padding: 0 32px;
}
.search-box svg { color: rgba(255,255,255,.5); flex-shrink: 0; }
.search-box input {
  flex: 1; background: none; border: none; border-bottom: 2px solid rgba(255,255,255,.3);
  color: var(--white); font-size: 1.4rem; padding: 8px 0; outline: none;
  transition: border-color var(--transition);
}
.search-box input:focus { border-color: var(--green); }
.search-box input::placeholder { color: rgba(255,255,255,.4); }
#close-search {
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 1.8rem; line-height: 1; padding: 4px 8px;
  transition: color var(--transition);
}
#close-search:hover { color: var(--white); }
.search-suggestions { text-align: center; color: rgba(255,255,255,.5); font-size: .84rem; }
.search-suggestions p { margin-bottom: 12px; }
.suggest-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75); font-size: .82rem; cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.chip:hover { background: rgba(255,255,255,.14); border-color: var(--green); color: var(--white); }

/* ══════════════════════════════════════════════
   CONTACT MODAL
   ══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(6,0,64,.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.modal-overlay:not([hidden]) { opacity: 1; pointer-events: auto; }
.modal-overlay[hidden] { display: flex; }

.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 560px; max-height: 92vh;
  overflow-y: auto; position: relative;
  padding: 40px;
  transform: translateY(16px) scale(.98);
  transition: transform .3s;
}
.modal-overlay:not([hidden]) .modal-box { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-bg); border: none; color: var(--text-muted);
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--gray-line); color: var(--text); }

.modal-header { margin-bottom: 28px; }
.modal-header img { height: 32px; margin-bottom: 16px; }
.modal-header h2 { font-size: 1.4rem; font-weight: 900; margin-bottom: 6px; }
.modal-header p { font-size: .88rem; color: var(--text-muted); }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label {
  font-size: .82rem; font-weight: 600; color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-sm); font-size: .9rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,0,255,.1);
}
.form-group input.invalid, .form-group select.invalid, .form-group textarea.invalid {
  border-color: #e53e3e;
}
.form-group input.valid { border-color: var(--green); }
.ferr { font-size: .76rem; color: #e53e3e; min-height: 16px; }
.form-check .check-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .84rem; cursor: pointer;
}
.form-check .check-label input { margin-top: 2px; accent-color: var(--blue); }
.form-check .check-label a { color: var(--blue); text-decoration: underline; }

.btn-submit {
  width: 100%; padding: 14px;
  background: var(--blue); color: var(--white);
  font-size: .95rem; font-weight: 700; border: none; border-radius: 50px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}
.btn-submit:hover { background: var(--blue-dk); box-shadow: 0 4px 16px rgba(20,0,255,.3); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; }
.btn-spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: var(--white); border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success view */
.success-view { text-align: center; padding: 20px 0; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green); color: var(--text);
  font-size: 2rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-view h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; }
.success-view p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 8px; }
.success-sub { font-size: .84rem !important; color: rgba(92,96,125,.7) !important; }

/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════
   MAP SECTION
   ══════════════════════════════════════════════ */
.map-section { background: var(--blue-deep); }

.map-section-header { padding: 72px 0 48px; }

.map-header-inner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 48px;
  flex-wrap: wrap;
}
.map-header-text { max-width: 480px; }
.map-header-text .eyebrow { display: block; margin-bottom: 12px; color: var(--green); }
.map-header-text h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 800;
  color: var(--white); line-height: 1.2; margin-bottom: 14px; letter-spacing: -.025em;
}
.map-header-text p { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; }

/* Agency chips */
.agency-chips { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.agency-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65); font-size: .88rem; font-weight: 600;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  text-align: left;
}
.agency-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(0,230,77,.4);
  color: var(--white);
}
.agency-chip.active {
  background: rgba(0,230,77,.12);
  border-color: var(--green);
  color: var(--white);
}
.chip-dot {
  flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background var(--transition);
}
.agency-chip.active .chip-dot,
.agency-chip:hover .chip-dot { background: var(--green); }

.chip-pulse {
  position: absolute; left: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); opacity: 0;
  transform: scale(1);
}
.agency-chip.active .chip-pulse {
  animation: chip-ring 2s ease-out infinite;
  opacity: 1;
}
@keyframes chip-ring {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(2.8); opacity: 0;  }
}

/* Map container */
#gea-map {
  width: 100%; height: 520px;
  /* Leaflet dark map already matches our palette — add subtle border */
  border-top: 2px solid rgba(0,230,77,.15);
}

/* Override Leaflet attribution to match brand */
.leaflet-control-attribution {
  background: rgba(6,0,64,.85) !important;
  color: rgba(255,255,255,.4) !important;
  font-size: .7rem !important;
  padding: 3px 8px !important;
  border-radius: 4px 0 0 0 !important;
}
.leaflet-control-attribution a { color: rgba(255,255,255,.5) !important; }

/* Custom GEA marker */
.gea-marker {
  background: none !important;
  border: none !important;
}
.pin-wrap {
  width: 48px; height: 48px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.pin-halo {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,230,77,.2);
  animation: halo-pulse 2.4s ease-out infinite;
}
.pin-halo-2 {
  animation-delay: .8s;
}
@keyframes halo-pulse {
  0%   { transform: scale(.5); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.pin-body {
  position: relative; z-index: 2;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(0,230,77,.3), 0 4px 16px rgba(0,0,0,.5);
  transition: transform var(--transition);
}
.gea-marker:hover .pin-body { transform: scale(1.2); }

/* Tooltip */
.leaflet-tooltip.gea-tooltip {
  background: var(--blue) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  color: var(--white) !important;
  font-family: var(--font) !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.4) !important;
  white-space: nowrap !important;
  letter-spacing: .3px !important;
  pointer-events: none;
}
/* Tooltip arrow */
.leaflet-tooltip.gea-tooltip.leaflet-tooltip-top::before {
  border-top-color: var(--blue) !important;
}
.leaflet-tooltip.gea-tooltip.leaflet-tooltip-bottom::before {
  border-bottom-color: var(--blue) !important;
}

/* Active chip glow on marker (handled via JS class) */
.gea-marker.pin-active .pin-body {
  background: var(--white);
  box-shadow: 0 0 0 4px var(--green), 0 4px 20px rgba(0,230,77,.5);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { gap: 48px; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-inner .section-header { text-align: center; }
  .faq-inner .section-header h2 { max-width: none; }
}

@media (max-width: 860px) {
  .map-header-inner { flex-direction: column; }
  .agency-chips { flex-direction: row; flex-wrap: wrap; }
  .agency-chip { flex: 1; min-width: 140px; justify-content: center; }
  #gea-map { height: 400px; }
}

@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .slide-content { max-width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-nav { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .floating-cta { right: 32px; bottom: 88px; }
  .modal-box { padding: 28px 20px; }
  .footer-legal { gap: 12px; flex-wrap: wrap; }
}
