/* ============================================================
   KSTL – Karnavati Seed Testing Laboratory
   Main Stylesheet
   ============================================================ */

:root {
  --green-dark:  #1a3a2a;
  --green-mid:   #2d6a4f;
  --green-accent:#52b788;
  --green-light: #b7e4c7;
  --cream:       #f8f5ee;
  --cream-dark:  #ede9df;
  --gold:        #c9a84c;
  --gold-light:  #f0d495;
  --text-dark:   #1a1a1a;
  --text-mid:    #3d3d3d;
  --text-light:  #6b7280;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.18);
  --radius:      12px;
  --radius-lg:   20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --nav-h:       72px;
  --trans:        0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

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

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* ── SECTION SHARED ── */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(82,183,136,0.1);
  border-radius: 50px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--green-mid); }
.section-desc { color: var(--text-light); max-width: 540px; margin: 0 auto; font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 48px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: rgba(248,245,238,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,106,79,0.1);
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(26,58,42,0.97);
  border-color: transparent;
}
.navbar.scrolled .nav-logo .logo-mark,
.navbar.scrolled .nav-logo .logo-text,
.navbar.scrolled .nav-links a { color: var(--white); }
.navbar.scrolled .nav-links a.nav-cta { background: var(--green-accent); color: var(--green-dark); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1300px, 94vw);
  margin: 0 auto;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}
.logo-text { font-size: 0.78rem; font-weight: 400; color: var(--text-light); max-width: 160px; line-height: 1.3; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--trans);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-mid); background: rgba(45,106,79,0.08); }
.nav-links a.nav-cta {
  background: var(--green-mid);
  color: var(--white);
  border-radius: 50px;
  padding: 8px 20px;
}
.nav-links a.nav-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: var(--trans); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f2318 60%, #1a3a2a 100%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,25,15,0.92) 50%, rgba(10,25,15,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 60px 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--green-accent);
  border-radius: 50px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 700px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em { color: var(--green-accent); font-style: italic; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
}
.badge-icon { font-size: 1rem; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s infinite;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--green-dark);
  padding: 40px 0;
}
.stats-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 60px;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--green-accent);
  font-weight: 700;
}
.stat span { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-top: 4px; }
.stat-div { width: 1px; height: 48px; background: rgba(255,255,255,0.12); }

/* ============================================================
   SERVICES OVERVIEW
   ============================================================ */
.services-overview { background: var(--cream); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(45,106,79,0.1);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-accent);
}
.service-card--highlight {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.service-card--highlight h3 { color: var(--white); }
.service-card--highlight p { color: rgba(255,255,255,0.7); }
.service-card--highlight .card-link { color: var(--green-accent); }

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(82,183,136,0.12);
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.service-card--highlight .service-icon { background: rgba(82,183,136,0.2); }
.icon-fallback { font-size: 1.6rem; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-dark);
  font-weight: 700;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
  flex-grow: 1;
}
.card-link {
  color: var(--green-mid);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: auto;
}

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery-strip { background: var(--cream-dark); padding-bottom: 80px; }

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 12px;
  margin: 0 auto;
  width: min(1200px, 96vw);
}
.gal-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--green-dark);
}
.gal-item--tall { grid-row: span 2; }
.gal-item--wide { grid-column: span 2; }
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gal-item:hover img { transform: scale(1.05); }
.gal-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,25,15,0.85) 0%, transparent 100%);
  padding: 24px 20px 16px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: var(--trans);
}
.gal-item:hover .gal-overlay { opacity: 1; }

.gal-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
}
.gal-placeholder::after {
  content: 'Photo Placeholder\A Add image to\A assets/images/gallery/';
  white-space: pre;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  line-height: 1.8;
}

/* ============================================================
   WHY KSTL
   ============================================================ */
.why-kstl { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-intro {
  color: var(--text-light);
  font-size: 1.05rem;
  margin: 20px 0 32px;
  line-height: 1.7;
}
.why-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(82,183,136,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.why-item strong { display: block; color: var(--green-dark); font-weight: 600; margin-bottom: 4px; }
.why-item p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

.why-visual {
  position: relative;
  height: 560px;
}
.why-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: absolute;
  background: var(--green-dark);
}
.why-img-wrap:first-child {
  width: 80%;
  height: 70%;
  top: 0; left: 0;
}
.why-img-wrap--sm {
  width: 55%;
  height: 45%;
  bottom: 0; right: 0;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.why-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder::after {
  content: 'Image placeholder\A assets/images/about/';
  white-space: pre;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section { background: var(--cream); }
.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--green-dark);
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--green-dark), #0f2318);
}
.video-wrapper video:not([src=""]) + .video-placeholder { display: none; }
.play-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  padding-left: 4px;
}
.video-placeholder p {
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.8;
}
.video-placeholder code {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-section { background: var(--green-dark); }
.process-section .section-tag { color: var(--green-accent); background: rgba(82,183,136,0.15); }
.process-section .section-title { color: var(--white); }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
  padding: 0 20px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(82,183,136,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.65; }
.step-arrow {
  color: rgba(255,255,255,0.2);
  font-size: 1.8rem;
  padding-top: 20px;
  align-self: flex-start;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  padding: 80px 0;
}
.cta-content { text-align: center; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0d1f15;
  padding: 72px 0 0;
  color: rgba(255,255,255,0.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .logo-mark { color: var(--green-accent); }
.footer-brand .logo-text { color: rgba(255,255,255,0.5); }
.footer-brand > p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 12px; }
.footer-addr { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--trans);
}
.footer-col ul li a:hover { color: var(--green-accent); padding-left: 4px; }
.footer-contact li { font-size: 0.88rem; display: flex; align-items: center; gap: 8px; }
.footer-contact a { color: rgba(255,255,255,0.5); }
.footer-contact a:hover { color: var(--green-accent); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f2318 100%);
  padding: calc(var(--nav-h) + 60px) 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.08) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-inner .section-tag { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   PRICING TABLE (used on pricing + services pages)
   ============================================================ */
.pricing-section { background: var(--cream); }
.test-category { margin-bottom: 64px; }
.test-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green-light);
}
.test-category-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-dark);
}
.category-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: rgba(45,106,79,0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.test-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.test-table thead tr {
  background: var(--green-dark);
  color: var(--white);
}
.test-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.test-table td { padding: 14px 20px; border-bottom: 1px solid rgba(45,106,79,0.08); }
.test-table tbody tr:hover { background: rgba(82,183,136,0.05); }
.test-id { font-family: monospace; font-size: 0.8rem; color: var(--text-light); }
.test-name { font-weight: 600; color: var(--green-dark); }
.tat-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}
.price { font-weight: 700; color: var(--green-mid); }
.price-gst { font-weight: 600; color: var(--green-dark); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { background: var(--cream); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo {
  height: 220px;
  background: var(--green-dark);
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-photo-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
}
.team-photo-placeholder::before { content: '👤'; font-size: 3rem; opacity: 0.4; }
.team-info { padding: 24px; }
.team-info h4 { color: var(--green-dark); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 6px; }
.team-info p { color: var(--text-light); font-size: 0.85rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.contact-info p { color: var(--text-light); line-height: 1.7; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(82,183,136,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-detail strong { display: block; color: var(--green-dark); margin-bottom: 4px; }
.contact-detail p { margin: 0; font-size: 0.9rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(45,106,79,0.15);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--trans);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(82,183,136,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; padding: 15px; font-size: 1rem; border-radius: 10px; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-page-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-dark);
  position: relative;
  cursor: pointer;
}
.gallery-page-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-page-item:hover img { transform: scale(1.06); }
.gallery-page-item .gal-overlay { opacity: 0; transition: var(--trans); }
.gallery-page-item:hover .gal-overlay { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1.8rem;
  padding: 16px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--trans);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 48px; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
  .gal-item--wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--white) !important; padding: 12px 16px; }
  .nav-toggle { display: flex; }

  .stats-strip .container { gap: 32px; }
  .stat { padding: 0 24px; }
  .stat-div { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gal-item--tall { grid-row: span 1; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .hero-scroll { display: none; }
  .contact-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; gap: 8px; }
}
