/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-50:  #f0f9f1;
  --green-100: #d8f0db;
  --green-200: #b1e1b9;
  --green-300: #7fc98c;
  --green-400: #4fae5f;
  --green-500: #2d9b40;
  --green-600: #1f7a32;
  --green-700: #185f28;
  --green-800: #134920;
  --green-900: #0e3818;
  --white: #ffffff;
  --off-white: #fafdfa;
  --gray-100: #f5f7f6;
  --gray-200: #e8ece9;
  --gray-400: #a3aaa5;
  --gray-600: #5a6361;
  --gray-800: #2a302d;

  --primary: var(--green-600);
  --primary-dark: var(--green-700);
  --primary-light: var(--green-400);
  --accent: var(--green-500);

  --shadow-sm: 0 2px 8px rgba(31, 122, 50, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 122, 50, 0.12);
  --shadow-lg: 0 20px 50px rgba(31, 122, 50, 0.18);
  --shadow-xl: 0 30px 80px rgba(31, 122, 50, 0.22);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Prompt', sans-serif;
  font-weight: 400;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.text-gradient {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: white;
  color: var(--green-700);
  border: 2px solid var(--green-500);
}

.btn-outline:hover {
  background: var(--green-500);
  color: white;
  transform: translateY(-3px);
}

.btn-white {
  background: white;
  color: var(--green-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-line {
  background: #06C755;
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-line:hover {
  background: #05a847;
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition);
  padding: 16px 0;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--gray-200);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-700);
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition);
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-10deg) scale(1.1);
}

.nav-logo-text em {
  font-style: normal;
  color: var(--green-500);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 50px;
  position: relative;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  border-radius: 3px;
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 50%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--green-700);
  border-radius: 3px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(45, 155, 64, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(127, 201, 140, 0.1), transparent 50%),
    linear-gradient(180deg, var(--off-white), var(--white));
  overflow: hidden;
}

/* Living garden scene container */
.hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ===== SUN ===== */
.sun {
  position: absolute;
  width: 90px;
  height: 90px;
  top: 0;
  left: 0;
  animation: sunArc 80s linear infinite;
  will-change: transform, opacity;
}

.sun-core {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4cc, #ffd54f 50%, #ffa726);
  box-shadow:
    0 0 40px rgba(255, 213, 79, 0.6),
    0 0 80px rgba(255, 167, 38, 0.4);
  animation: sunPulse 4s ease-in-out infinite;
}

.sun-rays {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg, rgba(255, 213, 79, 0.25) 10deg, transparent 20deg,
      transparent 40deg, rgba(255, 213, 79, 0.25) 50deg, transparent 60deg,
      transparent 80deg, rgba(255, 213, 79, 0.25) 90deg, transparent 100deg,
      transparent 120deg, rgba(255, 213, 79, 0.25) 130deg, transparent 140deg,
      transparent 160deg, rgba(255, 213, 79, 0.25) 170deg, transparent 180deg,
      transparent 200deg, rgba(255, 213, 79, 0.25) 210deg, transparent 220deg,
      transparent 240deg, rgba(255, 213, 79, 0.25) 250deg, transparent 260deg,
      transparent 280deg, rgba(255, 213, 79, 0.25) 290deg, transparent 300deg,
      transparent 320deg, rgba(255, 213, 79, 0.25) 330deg, transparent 340deg
    );
  animation: sunRotate 25s linear infinite;
  opacity: 0.6;
}

@keyframes sunArc {
  0%   { transform: translate(5vw, 75vh); opacity: 0; }
  8%   { opacity: 1; }
  25%  { transform: translate(25vw, 12vh); }
  50%  { transform: translate(50vw, 5vh); }
  75%  { transform: translate(75vw, 12vh); }
  92%  { opacity: 1; }
  100% { transform: translate(95vw, 75vh); opacity: 0; }
}

@keyframes sunRotate {
  to { transform: rotate(360deg); }
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ===== CLOUDS ===== */
.cloud {
  position: absolute;
  background: white;
  border-radius: 100px;
  opacity: 0.7;
  filter: blur(0.5px);
  box-shadow:
    25px -8px 0 -2px white,
    50px 0 0 -4px white,
    -22px 0 0 -3px white;
  will-change: transform;
}

.cloud-1 {
  width: 80px; height: 22px;
  top: 15%;
  animation: drift1 70s linear infinite;
}
.cloud-2 {
  width: 100px; height: 26px;
  top: 25%;
  opacity: 0.55;
  animation: drift2 95s linear infinite;
  animation-delay: -20s;
}
.cloud-3 {
  width: 65px; height: 18px;
  top: 8%;
  opacity: 0.6;
  animation: drift1 85s linear infinite;
  animation-delay: -45s;
}
.cloud-4 {
  width: 110px; height: 28px;
  top: 35%;
  opacity: 0.5;
  animation: drift2 110s linear infinite;
  animation-delay: -60s;
}

@keyframes drift1 {
  from { transform: translateX(-180px); }
  to   { transform: translateX(110vw); }
}
@keyframes drift2 {
  from { transform: translateX(110vw); }
  to   { transform: translateX(-200px); }
}

/* ===== DISTANT HILLS ===== */
.hills {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 18vh;
  min-height: 120px;
  pointer-events: none;
}

/* ===== GRASS ===== */
.grass-row {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
}

.blade {
  display: block;
  width: 8px;
  height: var(--h, 40px);
  background: linear-gradient(to top, var(--green-700) 0%, var(--green-500) 50%, var(--green-400) 100%);
  border-radius: 50% 50% 4px 4px / 80% 80% 4px 4px;
  transform-origin: bottom center;
  animation: sway 3.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0.85;
}

.blade:nth-child(odd) {
  animation-duration: 4.5s;
}

@keyframes sway {
  0%, 100% { transform: rotate(-8deg) scaleY(1); }
  50%      { transform: rotate(8deg) scaleY(0.97); }
}

.leaf {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--green-300), var(--green-500));
  opacity: 0.12;
  border-radius: 0 100% 0 100%;
  animation: float 12s ease-in-out infinite;
}

.leaf-1 { top: 10%; left: 8%; animation-delay: 0s; }
.leaf-2 { top: 30%; right: 12%; width: 120px; height: 120px; animation-delay: -3s; }
.leaf-3 { bottom: 20%; left: 15%; width: 60px; height: 60px; animation-delay: -6s; }
.leaf-4 { top: 60%; right: 5%; width: 100px; height: 100px; animation-delay: -9s; }
.leaf-5 { bottom: 10%; right: 30%; width: 70px; height: 70px; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(15deg); }
  50% { transform: translateY(-15px) rotate(-10deg); }
  75% { transform: translateY(-40px) rotate(20deg); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  color: var(--green-700);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--green-200);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--gray-800);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Hero features - 3 selling points */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.hero-feature:hover {
  transform: translateX(6px);
  border-color: var(--green-300);
  box-shadow: var(--shadow-sm);
}

.hero-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-feature-title {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-800);
  line-height: 1.2;
}

.hero-feature-sub {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-100), var(--green-300));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: morphCircle 8s ease-in-out infinite;
}

@keyframes morphCircle {
  0%, 100% { border-radius: 50%; }
  33% { border-radius: 60% 40% 50% 50%; }
  66% { border-radius: 40% 60% 60% 40%; }
}

.hero-circle::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: inherit;
  border: 2px dashed var(--green-300);
  opacity: 0.5;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero-logo {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(31, 122, 50, 0.2));
  animation: pulse 3s ease-in-out infinite;
}

.hero-circle.no-logo::after {
  content: '\f06c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 8rem;
  color: var(--green-700);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.floating-card {
  position: absolute;
  background: white;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--green-700);
  animation: floatCard 5s ease-in-out infinite;
}

.floating-card i {
  color: var(--green-500);
  font-size: 1.2rem;
}

.card-1 {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}
.card-2 {
  top: 45%;
  right: -5%;
  animation-delay: -1.5s;
}
.card-3 {
  bottom: 10%;
  left: 10%;
  animation-delay: -3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--green-600);
  font-size: 1.5rem;
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTION HEADERS ===== */
section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-700);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* ===== SERVICES ===== */
.services {
  background: linear-gradient(180deg, var(--white), var(--off-white));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-100), var(--green-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--green-700);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.1);
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: white;
}

.service-card h3 {
  font-family: 'Kanit', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--gray-800);
}

.service-card > p {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-list {
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.service-list i {
  color: var(--green-500);
  font-size: 0.85rem;
}

/* ===== WHY US ===== */
.why-us {
  background: var(--off-white);
}

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

.why-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all var(--transition);
}

.why-card:hover .why-icon {
  transform: rotate(360deg);
}

.why-card h4 {
  font-family: 'Kanit', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* ===== GALLERY ===== */
.gallery {
  background: white;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  background: white;
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--green-400);
  color: var(--green-700);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

/* Slideshow mode: 4 auto-scrolling boxes */
.gallery-grid.slideshow-mode {
  display: block;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 8px 0;
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scrollGallery 60s linear infinite;
  will-change: transform;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-grid.slideshow-mode .gallery-item {
  flex: 0 0 calc((100vw - 80px) / 4 - 14px);
  max-width: 360px;
  min-width: 240px;
}

@keyframes scrollGallery {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, var(--green-100), var(--green-300));
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 56, 24, 0.85));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  color: white;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-overlay i {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transform: scale(0.5);
  transition: transform var(--transition);
}

.gallery-overlay span {
  font-weight: 600;
  font-size: 1rem;
  transform: translateY(10px);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Fallback when image fails to load */
.gallery-item.img-missing img {
  display: none;
}

.gallery-item.img-missing::before {
  content: 'รูปภาพ\Aยังไม่ถูกอัพโหลด';
  white-space: pre;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--green-700);
  font-weight: 500;
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
}

.gallery-item.img-missing::after {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.6rem;
  color: var(--green-600);
  opacity: 0.5;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(14, 56, 24, 0.95);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 60px 20px;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: lightboxIn 0.4s ease;
}

@keyframes lightboxIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  transform: scale(1.1);
}

.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

/* ===== REVIEWS (3-column scrolling) ===== */
.reviews {
  background: linear-gradient(180deg, var(--white), var(--green-50));
}

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

.review-column {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
}

.review-column:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Source header */
.review-source {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--off-white);
  position: relative;
}

.source-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-logo svg {
  width: 100%;
  height: 100%;
}

.source-info {
  flex: 1;
  min-width: 0;
}

.source-name {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-800);
  line-height: 1.1;
}

.source-rating {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 4px;
}

.source-rating i {
  color: #fbbf24;
  margin-right: 4px;
}

.review-source.facebook .source-rating i { color: #1877F2; }

.source-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

.source-link:hover {
  background: var(--green-500);
  color: white;
  border-color: var(--green-500);
  transform: scale(1.08);
}

/* Scrolling reviews track */
.review-scroll-track {
  height: 480px;
  overflow: hidden;
  position: relative;
  padding: 16px;
  /* Fade out top/bottom edges */
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.review-scroll-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: scrollReviews 60s linear infinite;
  will-change: transform;
}

.review-scroll-track:hover .review-scroll-content,
.review-scroll-content:hover {
  animation-play-state: paused;
}

@keyframes scrollReviews {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Individual review card (mini) */
.review-mini {
  background: var(--off-white);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  flex-shrink: 0;
}

.review-mini:hover {
  background: white;
  border-color: var(--green-300);
  transform: translateX(4px);
}

.mini-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
  font-size: 0.85rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.mini-stars i {
  font-size: 0.85rem;
}

.review-source.facebook ~ .review-scroll-track .mini-stars,
.review-column:nth-child(3) .mini-stars { color: #1877F2; }

.mini-stars span {
  color: var(--gray-700);
  margin-left: 4px;
  font-weight: 700;
}

.review-mini p {
  color: var(--gray-800);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.mini-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}

.mini-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Source-specific avatar colors */
.review-column:nth-child(2) .mini-avatar {
  background: linear-gradient(135deg, #4285F4, #34A853);
}

.review-column:nth-child(3) .mini-avatar {
  background: linear-gradient(135deg, #1877F2, #0a5fc0);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background:
    linear-gradient(135deg, var(--green-600), var(--green-800)),
    radial-gradient(circle at top right, var(--green-400), transparent);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 60%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 32px;
}

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

/* ===== CONTACT ===== */
.contact {
  background: var(--off-white);
}

/* LINE QR banner */
.line-qr-banner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #06C755 0%, #05a847 100%);
  color: white;
  padding: 36px;
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.line-qr-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  border-radius: 50%;
}

.line-qr-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
}

.line-qr-text {
  position: relative;
  z-index: 1;
}

.line-qr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.line-qr-text h3 {
  font-family: 'Kanit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.line-qr-text p {
  opacity: 0.95;
  margin-bottom: 20px;
  font-size: 1rem;
}

.line-qr-text .btn-line {
  background: white;
  color: #06C755;
  font-weight: 700;
}

.line-qr-text .btn-line:hover {
  background: var(--green-50);
  transform: translateY(-3px);
}

.line-qr-img-wrap {
  position: relative;
  z-index: 1;
  background: white;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  justify-self: center;
  transition: transform var(--transition);
}

.line-qr-img-wrap:hover {
  transform: scale(1.04);
}

.line-qr-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
}

.line-qr-img-wrap.qr-missing {
  background: white;
  width: 230px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  text-align: center;
  font-size: 0.85rem;
  padding: 20px;
}

.line-qr-img-wrap.qr-missing::before {
  content: 'บันทึก QR Code\Aเป็น line-qr.png\Aในโฟลเดอร์';
  white-space: pre;
}

.line-qr-img-wrap.qr-missing .line-qr-img {
  display: none;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.contact-item:not(.area):hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-icon.line { background: #06C755; }
.contact-icon.fb { background: #1877F2; }
.contact-icon.email { background: linear-gradient(135deg, #ea4335, #d33b2c); }

.contact-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.contact-value {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1.05rem;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-family: 'Kanit', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--gray-800);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.form-group label span {
  color: var(--green-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--off-white);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: white;
  box-shadow: 0 0 0 4px rgba(45, 155, 64, 0.1);
}

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

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Date input — make icon green for visibility */
.form-group input[type="date"] {
  font-family: inherit;
  cursor: pointer;
  color: var(--gray-800);
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.7;
  filter: invert(35%) sepia(72%) saturate(450%) hue-rotate(95deg);
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* File upload — hide native input, show custom button */
.file-upload {
  position: relative;
}
.file-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.file-upload-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px !important;
  background: rgba(45, 155, 64, 0.06);
  border: 2px dashed rgba(45, 155, 64, 0.4) !important;
  border-radius: 12px;
  color: var(--green-700) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 !important;
}
.file-upload-btn:hover {
  background: rgba(45, 155, 64, 0.12);
  border-color: var(--green-600) !important;
  transform: translateY(-1px);
}
.file-upload-btn i {
  font-size: 1.1rem;
}
.file-upload-btn.has-files {
  background: rgba(45, 155, 64, 0.18);
  border-style: solid !important;
  color: var(--green-800) !important;
}
.file-upload input[type="file"]:focus + .file-upload-btn {
  box-shadow: 0 0 0 4px rgba(45, 155, 64, 0.15);
}

.form-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 14px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand h3 {
  font-family: 'Kanit', sans-serif;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Kanit', sans-serif;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col i {
  color: var(--green-400);
  width: 18px;
}

.footer-col a {
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--green-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== FAB & BACK TO TOP ===== */
.fab-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  position: relative;
}

.fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: ripple 2s infinite;
}

.fab-phone {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
}

.fab-phone::before {
  background: var(--green-500);
}

.fab-line {
  background: #06C755;
}

.fab-line::before {
  background: #06C755;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.fab:hover {
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: var(--green-700);
  border: 2px solid var(--green-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-500);
  color: white;
  border-color: var(--green-500);
}

/* ===== CONTINUOUS FALLING LEAVES (ambient) ===== */
.falling-leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5; /* Above content, below navbar (1000) and lightbox (9999) */
}

.falling-leaf {
  position: absolute;
  top: -40px;
  width: 20px;
  height: 20px;
  opacity: 0;
  will-change: transform, opacity;
  animation: leafDrift linear forwards;
}

.falling-leaf svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 3px rgba(31, 122, 50, 0.2));
  animation: leafSpin 3s linear infinite;
}

@keyframes leafDrift {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { opacity: 0; transform: translate(var(--driftX, 80px), 110vh) rotate(720deg); }
}

@keyframes leafSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ===== TWINKLING STARS (CTA banner) ===== */
.stars-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: twinkle 3s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0.7;
}

.star::before,
.star::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: white;
  border-radius: 50%;
}

.star::before {
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.star::after {
  width: 1px;
  height: 12px;
  transform: translate(-50%, -50%);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50%      { opacity: 1; transform: scale(1.2); }
}

/* ===== MOUSE LEAF TRAIL ===== */
.cursor-leaf {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 28px;
  height: 28px;
  opacity: 0;
  will-change: transform, opacity;
  animation: leafFall 1.6s cubic-bezier(0.2, 0.6, 0.4, 1) forwards;
}

.cursor-leaf svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(31, 122, 50, 0.3));
}

@keyframes leafFall {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(0deg);
  }
  15% {
    opacity: 0.9;
    transform: translate(-50%, -30%) scale(1) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift, 30px)), calc(-50% + 80px)) scale(0.6) rotate(360deg);
  }
}

/* Pause leaf trail on touch devices to save battery */
@media (hover: none) {
  .cursor-leaf { display: none; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child reveals in grids */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.5s; }
.why-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.gallery-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.gallery-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.gallery-grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.reviews-columns .reveal:nth-child(2) { transition-delay: 0.15s; }
.reviews-columns .reveal:nth-child(3) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { order: 2; }
  .hero-visual { order: 1; height: 360px; }
  .hero-circle { width: 280px; height: 280px; }
  .hero-buttons { justify-content: center; }
  .hero-features { margin-left: auto; margin-right: auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }

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

  .line-qr-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }

  .reviews-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .review-scroll-track {
    height: 380px;
  }

  .line-qr-img-wrap {
    justify-self: center;
  }

  .line-qr-img {
    width: 180px;
    height: 180px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: white;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 70px);
    padding: 32px 24px;
    gap: 4px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right var(--transition);
    align-items: stretch;
  }

  .nav-menu.active { right: 0; }

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 14px;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle { display: flex; }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col li { justify-content: center; }

  .hero-feature { padding: 12px 14px; }
  .hero-feature-icon { width: 40px; height: 40px; font-size: 1rem; }
  .hero-feature-title { font-size: 1rem; }

  .floating-card { font-size: 0.85rem; padding: 10px 16px; }

  .contact-form { padding: 28px 20px; }

  .fab { width: 50px; height: 50px; font-size: 1.2rem; }
  .back-to-top { width: 42px; height: 42px; }
}

@media (max-width: 768px) {
  /* Simplify scene on mobile for performance */
  .sun { width: 60px; height: 60px; }
  .cloud-3, .cloud-4 { display: none; }
  .blade { width: 6px; }
  .grass-row { justify-content: space-around; }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .gallery-filter { gap: 6px; }
  .filter-btn { padding: 8px 14px; font-size: 0.85rem; }
  /* Slideshow: ~2.2 boxes visible on tablet */
  .gallery-grid.slideshow-mode .gallery-item {
    flex: 0 0 calc((100vw - 60px) / 2.2);
    max-width: 320px;
    min-width: 220px;
  }
  .gallery-track { gap: 12px; animation-duration: 45s; }
  @keyframes scrollGallery {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 6px)); }
  }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .container { padding: 0 16px; }
  .floating-card { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-overlay { padding: 12px; }
  .gallery-overlay i { width: 30px; height: 30px; font-size: 0.8rem; }
  /* Slideshow: ~1.6 boxes visible on phone */
  .gallery-grid.slideshow-mode .gallery-item {
    flex: 0 0 calc(100vw - 90px);
    max-width: 300px;
    min-width: 200px;
  }
  .gallery-track { gap: 10px; animation-duration: 40s; }
  @keyframes scrollGallery {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 5px)); }
  }
}
