/* Ethereal Agro – Full 3D depth across all sections
   Modern organic design, mobile-first, conversion-focused */

:root {
  /* Nature palette */
  --green-900: #1a3c2a;
  --green-800: #234d36;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-400: #74c69d;
  --green-200: #b7e4c7;
  --green-100: #d8f3dc;
  --green-50:  #f0faf2;

  --earth-900: #2c2118;
  --earth-700: #5c4a3a;
  --earth-200: #e8dfd4;
  --earth-50:  #faf7f2;

  --cream: #fdfbf7;
  --white: #ffffff;
  --text: #1e2a24;
  --text-muted: #4a5c54;

  /* Typography */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  /* Spacing & layout */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(26, 60, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 60, 42, 0.1);
  --shadow-lg: 0 16px 40px rgba(26, 60, 42, 0.12);

  --max-width: 1120px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  perspective: 1400px;
  overflow-x: hidden;
}

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

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-900);
}

/* ========== HEADER – 3D glass bar ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.85rem 1.5rem;
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
  box-shadow:
    0 4px 20px rgba(26, 60, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transform-style: preserve-3d;
  transform: translateZ(60px);
}

.site-header img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
  transform: translateZ(20px);
  box-shadow:
    0 6px 16px rgba(45, 106, 79, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.4) inset;
}

.site-header img:hover {
  transform: translateZ(40px) scale(1.1) rotateY(-12deg) rotateX(4deg);
  box-shadow:
    0 14px 32px rgba(45, 106, 79, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.5) inset;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-900);
  letter-spacing: -0.02em;
  margin-right: auto;
  transition: transform 0.3s ease, color 0.2s, text-shadow 0.3s;
  transform: translateZ(15px);
  text-shadow: 0 2px 8px rgba(45, 106, 79, 0.1);
}

.brand:hover {
  color: var(--green-700);
  transform: translateZ(25px) scale(1.03);
  text-shadow: 0 4px 14px rgba(45, 106, 79, 0.18);
}

nav {
  display: flex;
  gap: 0.25rem;
  transform: translateZ(10px);
}

nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  transition: background 0.25s, color 0.25s, transform 0.3s ease, box-shadow 0.3s;
  transform: translateZ(0);
}

nav a:hover {
  background: var(--green-50);
  color: var(--green-800);
  transform: translateY(-3px) translateZ(18px);
  box-shadow: 0 6px 14px rgba(45, 106, 79, 0.12);
}

/* ========== HERO – full 3D stage with background image ========== */
.hero {
  position: relative;
  padding: var(--space-2xl) 1.5rem var(--space-xl);
  text-align: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1200px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      165deg,
      rgba(26, 60, 42, 0.72) 0%,
      rgba(45, 106, 79, 0.55) 40%,
      rgba(26, 60, 42, 0.75) 100%
    ),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.1);
}

/* Soft floating orbs on top of image */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  transform-style: preserve-3d;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(116, 198, 157, 0.6) 0%, transparent 70%);
  top: -80px;
  right: 5%;
  animation: float-orb-a 10s ease-in-out infinite;
}

.hero::after {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(183, 228, 199, 0.5) 0%, transparent 70%);
  bottom: 30px;
  left: 3%;
  animation: float-orb-b 12s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

@keyframes float-orb-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -30px, 60px) scale(1.08); }
}

@keyframes float-orb-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-15px, 20px, 40px) scale(1.05); }
}

.hero h1,
.hero .lead,
.hero .button {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 16ch;
  margin: 0 auto var(--space-md);
  text-shadow:
    0 4px 28px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateZ(50px);
  transition: transform 0.45s ease;
}

.hero:hover h1 {
  transform: translateZ(70px) scale(1.01);
}

.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  transform: translateZ(30px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* 3D solid button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  background: linear-gradient(180deg, var(--green-600) 0%, var(--green-700) 55%, var(--green-800) 100%);
  padding: 1rem 2rem;
  border-radius: 999px;
  border: none;
  position: relative;
  box-shadow:
    0 5px 0 var(--green-900),
    0 10px 24px rgba(45, 106, 79, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.22s ease,
              background 0.22s;
  transform: translateZ(40px);
  transform-style: preserve-3d;
}

.button:hover {
  background: linear-gradient(180deg, var(--green-500) 0%, var(--green-600) 55%, var(--green-700) 100%);
  color: var(--white);
  transform: translateY(-5px) translateZ(55px);
  box-shadow:
    0 8px 0 var(--green-900),
    0 18px 36px rgba(45, 106, 79, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button:active {
  transform: translateY(3px) translateZ(15px);
  box-shadow:
    0 1px 0 var(--green-900),
    0 4px 12px rgba(45, 106, 79, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-light {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
  color: var(--green-800);
  border: 2px solid var(--green-200);
  box-shadow:
    0 5px 0 rgba(45, 106, 79, 0.14),
    0 10px 22px rgba(26, 60, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.button-light:hover {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-100) 100%);
  color: var(--green-900);
  border-color: var(--green-400);
  transform: translateY(-5px) translateZ(45px);
  box-shadow:
    0 8px 0 rgba(45, 106, 79, 0.18),
    0 18px 36px rgba(26, 60, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.button-light:active {
  transform: translateY(3px) translateZ(8px);
  box-shadow:
    0 1px 0 rgba(45, 106, 79, 0.1),
    0 4px 10px rgba(26, 60, 42, 0.1);
}

/* Field furrows */
.furrows {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 26px,
      rgba(45, 106, 79, 0.07) 26px,
      rgba(45, 106, 79, 0.07) 28px
    );
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(5px);
}

/* ========== SHARED SECTION STYLES ========== */
section {
  padding: var(--space-xl) 1.5rem;
  transform-style: preserve-3d;
}

section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--green-900);
  text-align: center;
  margin-bottom: var(--space-lg);
  text-shadow:
    0 3px 16px rgba(45, 106, 79, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateZ(25px);
  transition: transform 0.4s ease;
}

section:hover h2 {
  transform: translateZ(40px);
}

/* ========== PRODUCTS – 3D cards ========== */
.services {
  background: var(--white);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  perspective: 1100px;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(82, 183, 136, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: var(--max-width);
  margin: 0 auto var(--space-lg);
  perspective: 1300px;
  position: relative;
  z-index: 1;
}

.service-list li {
  background: linear-gradient(160deg, var(--green-50) 0%, var(--white) 55%);
  border: 1px solid rgba(45, 106, 79, 0.12);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(0) rotateX(0deg) rotateY(0deg);
  transition:
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s ease,
    border-color 0.3s ease,
    background 0.3s ease;
  box-shadow:
    0 6px 18px rgba(26, 60, 42, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 -1px 0 rgba(45, 106, 79, 0.04) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Product image */
.product-img {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: translateZ(12px);
  background: var(--green-100);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  display: block;
}

.service-list li:hover .product-img img {
  transform: scale(1.1);
}

.product-body {
  padding: 1.3rem 1.4rem 1.5rem;
  position: relative;
  z-index: 2;
  transform: translateZ(22px);
}

/* Surface highlight for 3D feel */
.service-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 40%,
    rgba(45, 106, 79, 0.03) 100%
  );
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.3s;
  transform: translateZ(2px);
  z-index: 1;
}

/* Soft bottom edge */
.service-list li::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-400), transparent);
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: 2px;
  transform: translateZ(3px);
  z-index: 3;
}

.service-list li:hover {
  transform: translateY(-12px) translateZ(50px) rotateX(6deg) rotateY(-4deg);
  box-shadow:
    0 24px 48px rgba(26, 60, 42, 0.16),
    0 10px 20px rgba(45, 106, 79, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  border-color: var(--green-400);
  background: var(--white);
}

.service-list li:hover::before {
  opacity: 1;
}

.service-list li:hover::after {
  opacity: 0.7;
}

.service-list h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--green-800);
  margin-bottom: 0.4rem;
  position: relative;
  transform: translateZ(28px);
  transition: transform 0.4s ease, color 0.25s;
}

.service-list li:hover h3 {
  transform: translateZ(45px);
  color: var(--green-700);
}

.service-list p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  position: relative;
  transform: translateZ(16px);
  transition: transform 0.4s ease;
}

.service-list li:hover p {
  transform: translateZ(28px);
}

.products-note {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 28rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  transform: translateZ(10px);
}

/* ========== ABOUT – floating glass panel ========== */
.about {
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-50) 100%);
  perspective: 1000px;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 198, 157, 0.25), transparent 70%);
  filter: blur(40px);
  top: 10%;
  right: -5%;
  animation: float-orb-b 14s ease-in-out infinite;
  pointer-events: none;
}

.about-text {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 106, 79, 0.1);
  box-shadow:
    0 16px 40px rgba(26, 60, 42, 0.08),
    0 4px 12px rgba(45, 106, 79, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  transform: translateZ(30px) rotateX(1deg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  position: relative;
  z-index: 1;
}

.about-text:hover {
  transform: translateZ(50px) rotateX(0deg) scale(1.01);
  box-shadow:
    0 24px 56px rgba(26, 60, 42, 0.12),
    0 8px 20px rgba(45, 106, 79, 0.08),
    0 1px 0 rgba(255, 255, 255, 1) inset;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 1.08rem;
  transform: translateZ(10px);
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ========== CONTACT – deep 3D cards ========== */
.contact {
  background: linear-gradient(165deg, var(--green-900) 0%, #143022 100%);
  color: var(--green-100);
  text-align: center;
  padding: var(--space-2xl) 1.5rem;
  perspective: 1100px;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.18), transparent 65%);
  filter: blur(50px);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: float-orb-a 13s ease-in-out infinite;
}

.contact h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateZ(40px);
}

.contact-details {
  display: grid;
  gap: 1.5rem;
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  text-align: left;
  perspective: 900px;
  position: relative;
  z-index: 1;
}

.contact-details > div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s ease,
              background 0.3s,
              border-color 0.3s;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-details > div:hover {
  transform: translateY(-8px) translateZ(35px) rotateX(4deg);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(116, 198, 157, 0.35);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-details dt {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green-400);
  margin-bottom: 0.35rem;
  transform: translateZ(20px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(116, 198, 157, 0.15);
  color: var(--green-400);
  flex-shrink: 0;
  transform: translateZ(8px);
}

.contact-icon svg {
  width: 16px;
  height: 16px;
}

.contact-details dd {
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.5;
  transform: translateZ(12px);
}

.contact-details a {
  color: var(--white);
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
}

.contact-details a:hover {
  color: var(--green-400);
  text-shadow: 0 0 12px rgba(116, 198, 157, 0.4);
}

.contact .button-light {
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* ========== FOOTER – subtle 3D bar ========== */
.site-footer {
  background: linear-gradient(180deg, var(--earth-900) 0%, #1a140f 100%);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 1.75rem 1.5rem;
  font-size: 0.9rem;
  box-shadow:
    0 -6px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateZ(20px);
  position: relative;
}

.site-footer p {
  transform: translateZ(8px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ========== FLOATING CALL BUTTON ========== */
.fab-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, var(--green-600) 0%, var(--green-700) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.25rem 0.9rem 1.05rem;
  border-radius: 999px;
  box-shadow:
    0 6px 0 var(--green-900),
    0 12px 28px rgba(45, 106, 79, 0.45),
    0 0 0 0 rgba(82, 183, 136, 0.4);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              background 0.2s;
  animation: fab-pulse 2.8s ease-in-out infinite;
  text-decoration: none;
}

.fab-call:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--green-500) 0%, var(--green-600) 100%);
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 8px 0 var(--green-900),
    0 18px 36px rgba(45, 106, 79, 0.5),
    0 0 0 8px rgba(82, 183, 136, 0.15);
  animation: none;
}

.fab-call:active {
  transform: translateY(2px) scale(0.98);
  box-shadow:
    0 2px 0 var(--green-900),
    0 6px 16px rgba(45, 106, 79, 0.35);
}

.fab-call svg {
  flex-shrink: 0;
}

.fab-label {
  white-space: nowrap;
}

@keyframes fab-pulse {
  0%, 100% {
    box-shadow:
      0 6px 0 var(--green-900),
      0 12px 28px rgba(45, 106, 79, 0.45),
      0 0 0 0 rgba(82, 183, 136, 0.35);
  }
  50% {
    box-shadow:
      0 6px 0 var(--green-900),
      0 12px 28px rgba(45, 106, 79, 0.45),
      0 0 0 12px rgba(82, 183, 136, 0);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .site-header img {
    width: 40px;
    height: 40px;
  }

  .site-header img:hover {
    transform: scale(1.08) translateZ(20px);
  }

  .brand {
    font-size: 1.15rem;
  }

  nav {
    width: 100%;
    justify-content: center;
    order: 3;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(45, 106, 79, 0.08);
  }

  nav a {
    flex: 1;
    text-align: center;
    padding: 0.55rem 0.4rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: var(--space-xl) 1.15rem var(--space-lg);
    min-height: 420px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero::before {
    width: 200px;
    height: 200px;
  }

  .hero::after {
    width: 150px;
    height: 150px;
  }

  .fab-call {
    bottom: 1.1rem;
    right: 1.1rem;
    padding: 0.85rem 1.15rem 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .product-img {
    height: 160px;
  }

  /* Softer 3D on mobile for performance & touch */
  .service-list li:hover {
    transform: translateY(-8px) translateZ(30px) rotateX(3deg);
  }

  .contact-details > div:hover {
    transform: translateY(-5px) translateZ(20px);
  }

  .about-text {
    padding: 1.4rem 1.2rem;
  }

  .about-text:hover {
    transform: translateZ(35px);
  }

  section {
    padding: var(--space-lg) 1.15rem;
  }
}

@media (min-width: 768px) {
  .site-header {
    padding: 0.9rem 2.5rem;
  }

  .hero,
  .services,
  .about,
  .contact {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .site-header {
    padding-left: calc((100% - var(--max-width)) / 2 + 1.5rem);
    padding-right: calc((100% - var(--max-width)) / 2 + 1.5rem);
  }

  .hero h1 {
    max-width: none;
  }
}

/* Focus styles */
a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .hero {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .about::before,
  .contact::before,
  .fab-call {
    animation: none;
  }

  .hero-bg {
    transition: none;
  }

  .service-list li,
  .button,
  .contact-details > div,
  .site-header img,
  nav a,
  .about-text,
  .brand,
  section h2 {
    transition: none;
  }

  .service-list li:hover,
  .button:hover,
  .contact-details > div:hover,
  .about-text:hover,
  .site-header img:hover,
  nav a:hover {
    transform: none;
  }
}
