/* ============================================================
   Pakaya Fresh Farm — Main Stylesheet
   Green & Brown Dairy Farm Theme
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Greens */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  /* Browns */
  --brown-100: #f5f0eb;
  --brown-200: #e8ddd3;
  --brown-300: #d4c4b0;
  --brown-400: #b89878;
  --brown-500: #8B6914;
  --brown-600: #724c0e;
  --brown-700: #5c3d0c;
  --brown-800: #4a300a;
  --brown-900: #3b2708;

  /* Cream backgrounds */
  --cream: #FFFDF7;
  --cream-dark: #F5F0E8;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Semantic aliases */
  --primary: var(--green-700);
  --primary-dark: var(--green-800);
  --primary-light: var(--green-100);
  --text-primary: var(--brown-700);
  --text-secondary: var(--brown-600);
  --text-muted: var(--brown-400);
  --bg-body: var(--cream);
  --bg-alt: var(--cream-dark);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

input, select, textarea {
  font: inherit;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: #fff;
  color: var(--green-800);
}
.btn-white:hover {
  background: var(--green-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

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

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.navbar__logo img {
  height: 45px;
  width: auto;
  border-radius: 6px;
}

.navbar__logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 4px 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-400);
  transition: width var(--transition-base);
}

.navbar__link:hover,
.navbar__link.active {
  color: #fff;
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

/* Scrolled state */
.navbar.scrolled {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.navbar.scrolled .navbar__logo-text {
  color: var(--text-primary);
}

.navbar.scrolled .navbar__link {
  color: var(--text-secondary);
}

.navbar.scrolled .navbar__link:hover,
.navbar.scrolled .navbar__link.active {
  color: var(--primary);
}

.navbar.scrolled .navbar__link::after {
  background: var(--primary);
}

.navbar.scrolled .navbar__hamburger {
  color: var(--text-primary);
}

.navbar__cta {
  display: none;
}

.navbar__hamburger {
  display: none;
  color: #fff;
  z-index: 10;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: #fff;
}

.mobile-menu__cta {
  margin-top: 24px;
  width: 200px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green-900);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 83, 45, 0.88) 0%,
    rgba(22, 101, 52, 0.75) 50%,
    rgba(21, 128, 61, 0.6) 100%
  );
}

.hero__decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
}

.hero__decor--1 {
  width: 400px;
  height: 400px;
  background: rgba(74, 222, 128, 0.15);
  top: -100px;
  right: -100px;
}

.hero__decor--2 {
  width: 300px;
  height: 300px;
  background: rgba(184, 152, 120, 0.15);
  bottom: -50px;
  left: -50px;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding: 0 24px;
  text-align: center;
  padding-top: var(--nav-height);
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--green-300);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title span {
  color: var(--green-300);
}

.hero__desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator__ring {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator__line {
  width: 3px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ---------- Section Styles ---------- */
.section {
  padding: 96px 0;
}

.section--cream {
  background: var(--cream-dark);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- About Preview ---------- */
.about-preview {
  padding: 96px 0;
}

.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-preview__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.about-preview__title {
  margin-bottom: 20px;
}

.about-preview__text {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-preview__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 12px;
  transition: gap var(--transition-base);
}

.about-preview__link:hover {
  gap: 12px;
}

/* ---------- Image Text Card ---------- */
.img-text-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.img-text-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.img-text-card__content {
  padding: 28px;
}

.img-text-card__title {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.img-text-card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--brown-200);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__title {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- Photo Grid ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.photo-grid__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.photo-grid__item:hover img {
  transform: scale(1.05);
}

.photo-grid__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-grid__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(20, 83, 45, 0.85));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why__item {
  display: flex;
  gap: 16px;
}

.why__item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why__item-icon svg {
  width: 22px;
  height: 22px;
}

.why__item-title {
  font-size: 1rem;
  margin-bottom: 4px;
}

.why__item-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Industries / Who We Serve */
.why__visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why__industries-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brown-200);
}

.why__industries-title {
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.why__industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.why__industry-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.why__industry-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Stats row */
.why__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why__stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brown-200);
}

.why__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.why__stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- CTA Section ---------- */
.cta {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 50%, var(--green-900) 100%);
  overflow: hidden;
}

.cta__decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta__decor--1 {
  width: 300px;
  height: 300px;
  background: rgba(74, 222, 128, 0.12);
  top: -80px;
  right: -60px;
}

.cta__decor--2 {
  width: 250px;
  height: 250px;
  background: rgba(184, 152, 120, 0.12);
  bottom: -60px;
  left: -40px;
}

.cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta__title {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

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

.footer__brand-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}

.footer__heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--green-300);
}

.footer__bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
  overflow: hidden;
}

.page-hero__decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.page-hero__decor--1 {
  width: 300px;
  height: 300px;
  background: rgba(74, 222, 128, 0.15);
  top: -100px;
  right: -50px;
}

.page-hero__decor--2 {
  width: 200px;
  height: 200px;
  background: rgba(184, 152, 120, 0.12);
  bottom: -60px;
  left: -40px;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero__breadcrumb a:hover {
  color: #fff;
}

.page-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero__breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* ---------- About Intro ---------- */
.about-intro {
  padding: 96px 0;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro__text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Image banner */
.img-banner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.img-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(20, 83, 45, 0.3));
}

/* Team photo */
.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ---------- Mission & Vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  border-radius: var(--radius);
  padding: 40px 32px;
}

.mv-card--mission {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
  color: #fff;
}

.mv-card--vision {
  background: var(--green-50);
  border: 2px solid var(--green-200);
}

.mv-card--vision .mv-card__title {
  color: var(--green-800);
}

.mv-card--vision .mv-card__text {
  color: var(--text-secondary);
}

.mv-card__title {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.mv-card__text {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* ---------- Values Grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--brown-200);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card__icon svg {
  width: 26px;
  height: 26px;
}

.value-card__title {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.value-card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- Service Detail ---------- */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--brown-200);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail__grid:nth-child(even) .service-detail__content {
  order: 2;
}

.service-detail__grid:nth-child(even) .service-img {
  order: 1;
}

.service-detail__badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.service-detail__title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-detail__desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.service-detail__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-detail__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.service-detail__feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Service image */
.service-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ---------- Contact Grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brown-200);
}

.contact-form-card__title {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--brown-300);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--cream);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--brown-400);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success__icon svg {
  width: 32px;
  height: 32px;
}

.form-success__title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-success__desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brown-200);
}

.contact-info-card__title {
  font-size: 1.0625rem;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

/* Business hours */
.contact-hours-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brown-200);
}

.contact-hours-card__title {
  font-size: 1.0625rem;
  margin-bottom: 16px;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--brown-200);
  font-size: 0.9375rem;
}

.contact-hours-row:last-child {
  border-bottom: none;
}

.contact-hours-row__label {
  color: var(--text-primary);
  font-weight: 500;
}

.contact-hours-row__value {
  color: var(--text-secondary);
}

/* ---------- Map Embed ---------- */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- Fade-up Animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Project Showcase ---------- */
.project-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-showcase__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 240px;
}

.project-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-showcase__item:hover img {
  transform: scale(1.05);
}

.project-showcase__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(20, 83, 45, 0.85));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero__title { font-size: 2.75rem; }
  .hero__stats { gap: 32px; }

  .about-preview__grid,
  .about-intro__grid,
  .why-grid,
  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail__grid:nth-child(even) .service-detail__content,
  .service-detail__grid:nth-child(even) .service-img {
    order: unset;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-auto-rows: 200px; }
  .project-showcase { grid-template-columns: repeat(2, 1fr); }

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

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

  .why__stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .about-preview, .about-intro { padding: 72px 0; }
  .service-detail { padding: 56px 0; }
  .cta { padding: 72px 0; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero__title { font-size: 2.25rem; }
  .hero__desc { font-size: 1rem; }
  .hero__stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .hero__stat-value { font-size: 1.5rem; }

  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }

  /* Hide desktop nav, show hamburger */
  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  .page-hero { padding: 140px 0 64px; }
  .page-hero__title { font-size: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .why__industries-grid { grid-template-columns: 1fr; }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .photo-grid__item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .project-showcase {
    grid-template-columns: 1fr 1fr;
  }

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

  .why__stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero__title { font-size: 1.75rem; }
  .hero__badge { font-size: 0.75rem; }
  .hero__stats { gap: 16px; }
  .hero__stat-value { font-size: 1.25rem; }
  .hero__stat-label { font-size: 0.75rem; }

  .section { padding: 56px 0; }
  .about-preview, .about-intro { padding: 56px 0; }
  .service-detail { padding: 48px 0; }
  .cta { padding: 56px 0; }
  .cta__title { font-size: 1.75rem; }

  .page-hero { padding: 120px 0 48px; }
  .page-hero__title { font-size: 1.75rem; }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .photo-grid__item--large {
    grid-column: span 1;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .why__stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .why__stat-card { padding: 16px 12px; }
  .why__stat-value { font-size: 1.5rem; }

  .contact-form-card { padding: 24px; }
  .map-embed iframe { height: 300px; }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}
