/* ============================================================
   SIRELIS — Design System
   Inspired by LDC (Louis Dreyfus Company) visual language
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  --green-dark:   #1a3a2a;
  --green-mid:    #2e6b4a;
  --green-accent: #3d8a5e;
  --green-light:  #e8f4ee;
  --green-pale:   #f4faf6;
  --white:        #ffffff;
  --text-dark:    #1c1c1c;
  --text-mid:     #4a4a4a;
  --text-light:   #717171;
  --border:       #e0e0e0;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);
  --radius:       4px;
  --radius-lg:    8px;
  --max-width:    1280px;
  --nav-height:   80px;
  --transition:   0.25s ease;
}

/* ----------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 300; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-mid); line-height: 1.75; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* ----------------------------------------------------------
   Layout Utilities
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 120px 0; }
.section--dark { background: var(--green-dark); color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--light { background: var(--green-pale); }
.section--green { background: var(--green-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white p { color: rgba(255,255,255,0.8) !important; }

.section-header { margin-bottom: 56px; }
.section-header.text-center .section-intro { max-width: 640px; margin: 16px auto 0; }
.section-intro { font-size: 1.05rem; color: var(--text-mid); margin-top: 16px; }

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-mid); }

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

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

.btn-ghost {
  color: var(--green-accent);
  padding-left: 0;
  padding-right: 0;
  font-weight: 500;
}
.btn-ghost::after { content: ' →'; }
.btn-ghost:hover { color: var(--green-dark); }

/* ----------------------------------------------------------
   Header & Navigation
   ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 0;
}

.nav-logo { flex-shrink: 0; margin-right: 48px; }
.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  flex: 1;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 18px;
  height: 100%;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active, .nav-link--active-parent { color: var(--green-mid); }

.nav-link svg {
  width: 12px; height: 12px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Mega-menu */
.mega-menu {
  position: absolute;
  top: var(--nav-height);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 16px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform 0.2s ease;
  transform: translateX(-50%) translateY(-8px);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.875rem;
  color: var(--text-mid);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.mega-menu a:hover {
  color: var(--green-dark);
  background: var(--green-pale);
  border-left-color: var(--green-accent);
}
.mega-menu .divider {
  height: 1px;
  background: var(--border);
  margin: 8px 24px;
}
.mega-menu .view-all {
  font-weight: 600;
  color: var(--green-mid);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--transition);
}
.lang-btn:hover { border-color: var(--green-mid); color: var(--green-dark); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 100;
}
.lang-switcher.open .lang-dropdown { opacity: 1; pointer-events: auto; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: background var(--transition);
  cursor: default;
}
.lang-option:hover { background: var(--green-pale); }
.lang-option.active { color: var(--green-dark); font-weight: 600; }
.lang-option .soon {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--green-light);
  padding: 2px 6px;
  border-radius: 20px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.mobile-nav a:hover { color: var(--green-mid); }
.mobile-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  padding: 20px 0 8px;
}

/* ----------------------------------------------------------
   Hero Sections
   ---------------------------------------------------------- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero--sm {
  height: 420px;
  min-height: 320px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 46, 33, 0.82) 0%,
    rgba(20, 46, 33, 0.55) 60%,
    rgba(20, 46, 33, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.hero-content h1 { color: var(--white); margin-bottom: 20px; font-weight: 300; }
.hero-content .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* ----------------------------------------------------------
   Stats Bar
   ---------------------------------------------------------- */
.stats-bar {
  background: var(--green-dark);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ----------------------------------------------------------
   Cards
   ---------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }
.card-body .btn-ghost { margin-top: 16px; font-size: 0.85rem; }

/* Product category cards (larger) */
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: block;
}
.cat-card > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card:hover img { transform: scale(1.04); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,46,33,0.85) 0%, rgba(20,46,33,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.cat-card-overlay h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.cat-card-overlay p { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.cat-card-icon {
  width: 44px; height: 44px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 8px;
}

/* News card */
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.news-card-img { width: 100%; height: 200px; object-fit: cover; }
.news-card-body { padding: 24px; }
.news-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 10px;
  display: block;
}
.news-date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.news-card-body h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.news-card-body p { font-size: 0.875rem; }

/* Service card */
.service-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-sm);
  background: var(--green-pale);
}
.service-icon { width: 48px; height: 48px; object-fit: contain; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.service-card p { font-size: 0.875rem; }

/* Value card */
.value-card {
  padding: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: background var(--transition);
}
.value-card:hover { background: rgba(255,255,255,0.1); }
.value-number {
  font-size: 3rem;
  font-weight: 200;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.value-card h3 { color: var(--white); margin-bottom: 12px; }

/* ----------------------------------------------------------
   How We Work Steps
   ---------------------------------------------------------- */
.steps { position: relative; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.step {
  padding: 40px 32px;
  position: relative;
  border-right: 1px solid var(--border);
}
.step:last-child { border-right: none; }
.step:nth-child(3) { border-right: none; }
.step:nth-child(n+4) { border-top: 1px solid var(--border); }

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-accent);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 12px; font-size: 1rem; }
.step p { font-size: 0.875rem; }

/* Business model flow */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 48px 0;
}
.flow-box {
  background: var(--green-dark);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 180px;
}
.flow-box h4 { font-size: 0.9rem; color: var(--white); margin-bottom: 4px; }
.flow-box p { font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.flow-arrow {
  font-size: 1.8rem;
  color: var(--green-accent);
  padding: 0 12px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Markets / Flag Grid
   ---------------------------------------------------------- */
.flag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 72px;
}
.flag-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.flag-item span { font-size: 0.7rem; font-weight: 500; color: var(--text-light); text-align: center; line-height: 1.3; }

/* ----------------------------------------------------------
   Certifications Strip
   ---------------------------------------------------------- */
.cert-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.cert-item:hover { opacity: 1; }
.cert-item img { height: 64px; width: auto; object-fit: contain; }
.cert-item span { font-size: 0.75rem; font-weight: 600; color: var(--text-mid); text-align: center; letter-spacing: 0.04em; }

/* ----------------------------------------------------------
   CTA Banner
   ---------------------------------------------------------- */
.cta-banner {
  background: var(--green-dark);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 36px; }
.cta-banner .btn-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------
   Alternating Image/Text Sections
   ---------------------------------------------------------- */
.split-section { padding: 80px 0; }
.split-section .grid-2 { gap: 80px; }
.split-section img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.split-content { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.split-content h2 { margin-bottom: 8px; }
.split-content p { font-size: 1rem; }
.split-content .features { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.split-feature { display: flex; align-items: flex-start; gap: 12px; }
.split-feature-dot {
  width: 8px; height: 8px;
  background: var(--green-accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Product Filter Tabs
   ---------------------------------------------------------- */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  color: var(--text-mid);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.filter-tab:hover, .filter-tab.active {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
}

/* ----------------------------------------------------------
   Product Grid
   ---------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--green-pale);
}

.product-card-img.padded {
  padding: 24px;
  object-fit: contain;
}

.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.product-card-body p { font-size: 0.825rem; color: var(--text-light); }
.product-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.tag-fresh { background: #d4edda; color: #155724; }
.tag-frozen { background: #cce5ff; color: #004085; }
.tag-dried { background: #fff3cd; color: #856404; }

/* ----------------------------------------------------------
   Product Detail Page
   ---------------------------------------------------------- */
.product-detail { padding: 80px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-detail img { width: 100%; border-radius: var(--radius-lg); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.spec-table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.spec-table td:first-child { font-weight: 600; color: var(--text-dark); width: 40%; }
.spec-table td:last-child { color: var(--text-mid); }

.product-list { display: flex; flex-direction: column; gap: 24px; }
.product-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: center;
  transition: all var(--transition);
}
.product-item:hover { border-color: var(--green-mid); background: var(--green-pale); }
.product-item img { width: 100%; height: 90px; object-fit: cover; border-radius: var(--radius); }
.product-item h4 { margin-bottom: 6px; }
.product-item p { font-size: 0.85rem; }

/* ----------------------------------------------------------
   Value Chain Page
   ---------------------------------------------------------- */
.value-chain { padding: 80px 0; }

.chain-steps { position: relative; }

.chain-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.chain-step:last-child { border-bottom: none; }

.chain-step-num {
  font-size: 3rem;
  font-weight: 200;
  color: var(--green-light);
  line-height: 1;
  padding-top: 4px;
  text-align: center;
}

.chain-step-body h3 { margin-bottom: 12px; }
.chain-step-body p { font-size: 0.925rem; }

/* ----------------------------------------------------------
   Contact Form
   ---------------------------------------------------------- */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green-mid); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block h4 { margin-bottom: 8px; font-size: 0.9rem; color: var(--green-dark); }
.contact-block p, .contact-block a { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.contact-block a:hover { color: var(--green-mid); }
.contact-block .btn { color: var(--white); }
.contact-block .btn:hover { color: var(--white); }

.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.social-link:hover { border-color: var(--green-mid); background: var(--green-pale); }
.social-link img { width: 20px; height: 20px; object-fit: contain; }

/* ----------------------------------------------------------
   News Page
   ---------------------------------------------------------- */
.news-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}
.news-featured-img { aspect-ratio: 4/3; overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-featured-body h2 { font-size: 1.6rem; margin-bottom: 16px; }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo { height: 32px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 220px; }

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-book-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px; padding: 0;
  background: none; border: none; border-radius: 0;
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.82rem; font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-book-btn:hover { color: var(--white) !important; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-social a { color: rgba(255,255,255,0.65); }
.footer-social a:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); color: #fff; }

/* ----------------------------------------------------------
   Breadcrumb
   ---------------------------------------------------------- */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-top: var(--nav-height);
}
.breadcrumb-list {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
}
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--green-mid); }
.breadcrumb-sep { opacity: 0.5; }
.breadcrumb-current { color: var(--text-dark); font-weight: 500; }

/* No breadcrumb margin needed on pages with hero */
.has-hero .breadcrumb { margin-top: 0; }

/* ----------------------------------------------------------
   Scroll Reveal Animation
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.12); }
}

@media (max-width: 900px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .news-featured { grid-template-columns: 1fr; }
  .news-featured-body { padding: 32px; }

  .contact-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }

  .flow-diagram { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  :root { --nav-height: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }

  .hero { height: 75vh; min-height: 480px; }
  .hero--sm { height: 320px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .cert-strip { gap: 24px; }

  .split-section img { height: 280px; }

  .nav-logo img { height: 28px; }
}

@media (max-width: 420px) {
  .products-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
