/* ==========================================================================
   A&A INNOVATION LABS PRIVATE LIMITED (aainnovlabs.com)
   Official Bilingual Website - Theme & Design System
   ========================================================================== */

:root {
  /* Agricultural Brand Palette */
  --green-950: #062817;
  --green-900: #0a3d24;
  --green-800: #0d5c3a; /* Primary Kisan Agri Green */
  --green-700: #12794c;
  --green-600: #169b62;
  --green-500: #22c55e;
  --green-100: #e8f7ee;
  --green-50:  #f2faf5;

  /* Harvest Gold / Maize Yellow */
  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #f59e0b; /* Vibrant Harvest Gold */
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;
  --gold-50:  #fffbeb;

  /* DPIIT & Trust Navy */
  --navy-900: #0f172a;
  --navy-800: #1e3a8a; /* Official Govt Blue */
  --navy-700: #1d4ed8;
  --navy-100: #dbeafe;
  --navy-50:  #eff6ff;

  /* Neutrals & Sunlight Ergonomics */
  --bg-main:    #fbfbf8;
  --bg-surface: #ffffff;
  --bg-subtle:  #f4f6f0;
  --bg-card:    #ffffff;
  --border-light: #e2e8df;
  --border-focus: #12794c;
  
  /* Text & Ink */
  --ink-900: #111e15; /* High contrast for sunlight */
  --ink-700: #2c3e32;
  --ink-500: #526658;
  --ink-400: #7c9083;
  --white:   #ffffff;

  /* WhatsApp Green */
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 61, 36, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 61, 36, 0.10);
  --shadow-lg: 0 10px 25px rgba(10, 61, 36, 0.12);
  --shadow-xl: 0 20px 35px rgba(10, 61, 36, 0.16);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Font Families */
  --font-hindi: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-hindi);
  background-color: var(--bg-main);
  color: var(--ink-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* English mode font override */
html[lang="en"] body {
  font-family: var(--font-sans);
}

/* Bilingual content switching */
html[lang="hi"] .lang-en {
  display: none !important;
}
html[lang="en"] .lang-hi {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--ink-900);
  line-height: 1.25;
  font-weight: 700;
}

.text-gold { color: var(--gold-600); }
.text-green { color: var(--green-800); }
.text-navy { color: var(--navy-800); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge--dpiit {
  background: var(--navy-50);
  color: var(--navy-800);
  border: 1px solid var(--navy-100);
}

.badge--green {
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--green-100);
}

.badge--gold {
  background: var(--gold-50);
  color: var(--gold-700);
  border: 1px solid var(--gold-100);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  text-align: center;
  min-height: 48px; /* Touch target */
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--green-800);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13, 92, 58, 0.25);
}
.btn--primary:hover {
  background-color: var(--green-900);
  box-shadow: 0 6px 16px rgba(13, 92, 58, 0.35);
  color: var(--white);
}

.btn--gold {
  background-color: var(--gold-500);
  color: var(--ink-900);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.btn--gold:hover {
  background-color: var(--gold-600);
  color: var(--white);
}

.btn--outline {
  border: 2px solid var(--green-800);
  color: var(--green-800);
  background: transparent;
}
.btn--outline:hover {
  background: var(--green-50);
  color: var(--green-900);
}

.btn--whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn--whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: var(--white);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.875rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Header & Top Announcement Bar
   ========================================================================== */

.top-bar {
  background: var(--navy-900);
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 58, 138, 0.6);
  padding: 2px 8px;
  border-radius: 4px;
  color: #93c5fd;
  font-weight: 600;
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.lang-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px;
  border-radius: var(--radius-pill);
}

.lang-btn {
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.lang-btn.is-active {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo__mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 1.4rem;
  box-shadow: 0 3px 8px rgba(10, 61, 36, 0.2);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
}

.site-logo__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-logo__sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dealer-tag {
  display: none;
  border-left: 2px solid var(--border-light);
  padding-left: 12px;
  font-size: 0.75rem;
  color: var(--ink-700);
  line-height: 1.3;
}
.dealer-tag strong {
  color: var(--green-800);
}

@media (min-width: 992px) {
  .dealer-tag {
    display: block;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--green-800);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--ink-900);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  padding: 24px 20px;
  z-index: 99;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--border-light);
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(180deg, #f2faf5 0%, var(--bg-main) 100%);
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.hero__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-100);
  margin-bottom: 20px;
}

.hero__trust-badge .dot {
  width: 10px;
  height: 10px;
  background-color: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--green-950);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-700);
  margin-bottom: 28px;
  max-width: 600px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}

.hero-pill__icon {
  font-size: 1.15rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero Media Card */
.hero-media-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.hero-media-card__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-media-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(6, 40, 23, 0.95) 0%, rgba(6, 40, 23, 0.6) 70%, transparent 100%);
  padding: 24px 20px 20px;
  color: var(--white);
}

.hero-media-card__title {
  color: var(--gold-400);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.hero-media-card__desc {
  font-size: 0.875rem;
  color: #e2e8f0;
}

/* ==========================================================================
   Trust & DPIIT Verification Bar
   ========================================================================== */

.trust-strip {
  background: #ffffff;
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.trust-item__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.trust-item__text small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-500);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.trust-item__text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-900);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section {
  padding: 64px 0;
}

.section--alt {
  background-color: var(--bg-subtle);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--green-950);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--ink-700);
}

/* ==========================================================================
   Pillar 1: Maize Trading & Procurement
   ========================================================================== */

.maize-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .maize-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .feature-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
  border: 1px solid var(--gold-100);
}

.feature-card__title {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--ink-900);
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--ink-700);
  line-height: 1.5;
}

/* Institutional Buyer Box */
.institutional-box {
  background: linear-gradient(135deg, var(--navy-900), #162a45);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-lg);
}

.institutional-box__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 16px;
}

.institutional-box h3 {
  color: var(--gold-400);
  font-size: 1.4rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.spec-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: var(--radius-md);
}

.spec-badge small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.spec-badge strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  margin-top: 4px;
}

/* ==========================================================================
   Pillar 2 & 3: Farm Implements Catalog (Fieldking & Lasermatik)
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-700);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--green-50);
  border-color: var(--green-600);
}

.filter-btn.is-active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
  box-shadow: 0 4px 10px rgba(13, 92, 58, 0.25);
}

.implements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .implements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .implements-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-600);
}

.product-card__media {
  position: relative;
  height: 220px;
  background: #f1f5f9;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.product-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.product-card__title {
  font-size: 1.2rem;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card__desc {
  font-size: 0.875rem;
  color: var(--ink-700);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-card__specs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-subtle);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 0.8125rem;
}

.spec-cell small {
  display: block;
  color: var(--ink-500);
}
.spec-cell strong {
  display: block;
  color: var(--ink-900);
}

.product-card__subsidy-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-800);
  background: var(--green-50);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   Subsidy & EMI Calculator Section
   ========================================================================== */

.subsidy-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 36px 28px;
}

.subsidy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .subsidy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  display: flex;
  gap: 16px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--ink-700);
}

/* Calculator Widget */
.calc-widget {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.calc-control {
  margin-bottom: 18px;
}

.calc-control label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  outline: none;
  accent-color: var(--green-800);
}

.calc-result {
  background: var(--white);
  border: 2px solid var(--green-600);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-top: 20px;
}

.calc-result small {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-500);
}

.calc-result strong {
  font-size: 1.6rem;
  color: var(--green-800);
  display: block;
  margin: 4px 0;
}

/* ==========================================================================
   Trust, Verification & Certificate Section
   ========================================================================== */

.cert-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-smooth);
}

.cert-card:hover {
  border-color: var(--navy-800);
  box-shadow: var(--shadow-md);
}

.cert-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cert-card__seal {
  width: 52px;
  height: 52px;
  background: var(--navy-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1px solid var(--navy-100);
}

.cert-card__title {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.cert-card__meta-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.cert-card__meta-table td {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
}

.cert-card__meta-table td:first-child {
  color: var(--ink-500);
  width: 40%;
}

.cert-card__meta-table td:last-child {
  font-weight: 600;
  color: var(--ink-900);
  text-align: right;
}

/* ==========================================================================
   Location, Map & Route Guide
   ========================================================================== */

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .location-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  height: 420px;
  background: #e2e8f0;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.route-guide-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.route-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.route-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.route-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Contact & Inquiry Form */
.inquiry-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
}

.form-tab-btn {
  flex: 1;
  padding: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  transition: all var(--transition-fast);
}

.form-tab-btn.is-active {
  background: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--ink-900);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition-fast);
  background: var(--white);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--green-950);
  color: #cbd5e1;
  padding: 60px 0 110px; /* padding for mobile sticky bar */
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer__brand h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer__brand p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer__col h4 {
  color: var(--gold-400);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold-400);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* ==========================================================================
   Sticky Mobile Action Bar (Mobile First)
   ========================================================================== */

.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--white);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--border-light);
  padding: 8px 12px;
  gap: 8px;
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  min-height: 46px;
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
  .site-footer {
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 40, 23, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.is-active {
  display: flex;
}

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  position: relative;
  box-shadow: var(--shadow-xl);
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ink-900);
}

.modal-close:hover {
  background: #e2e8f0;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 300;
  background: var(--green-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  animation: slideIn 0.3s ease;
}

.toast-notice.show {
  display: flex;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
