/* ============================================================
   DEAN CREEK FARM — Shared Stylesheet
   ============================================================ */

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --green:           #287306;
  --green-hover:     #1e5a04;
  --green-active:    #164303;
  --navy:            #00325A;
  --cream:           #f9f7f4;
  --white:           #ffffff;
  --black:           #000000;
  --border:          #e8e2d9;
  --navy-btn-active: #e0ddd8;

  --font-primary:    'Copperplate', 'Copperplate Gothic Bold', 'Copperplate Gothic Light', serif;
  --font-secondary:  'Inter', sans-serif;

  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--black);
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}

body.loaded {
  opacity: 1;
}

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

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: bold;
  color: var(--green);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: normal;
  color: var(--black);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

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

.nav-links a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown — absolutely positioned inside the fixed nav */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
}

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

.nav-mobile a {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
  text-decoration: none;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--green);
}

@media (max-width: 768px) {
  .nav            { padding: 18px 24px; }
  .nav-links      { display: none; }
  .nav-hamburger  { display: flex; }
  .nav-mobile a   { padding: 18px 24px; }
}

/* ===========================
   PAGE CONTENT OFFSET
   =========================== */
.page-content {
  padding-top: var(--nav-height);
}

/* ===========================
   HERO — Two Column
   =========================== */
.hero {
  background: var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
}

.hero-text {
  padding: 96px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-photo {
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-rule {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin-bottom: 22px;
}

.hero-eyebrow {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.hero-heading {
  font-family: var(--font-primary);
  font-size: 64px;
  font-weight: bold;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-sub {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.7;
  margin-bottom: 44px;
}

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

/* ===========================
   BAND
   =========================== */
.band {
  background: var(--navy);
  padding: 22px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.band-left {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.6;
}

.band-right {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.9;
}

/* ===========================
   SECTION CONTAINER
   =========================== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ===========================
   L2 / L3 CONTENT HIERARCHY
   =========================== */
.section-rule {
  width: 30px;
  height: 1px;
  background: var(--green);
  margin-bottom: 22px;
}

.l2-heading {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 20px;
}

.l2-body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: bold;
  color: var(--black);
  line-height: 1.75;
  max-width: 760px;
}

.l2-separator {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 52px 0;
}

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

.l3-heading {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--green);
  margin-bottom: 12px;
}

.l3-body {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
  line-height: 1.8;
}

/* ===========================
   OUR TREES SECTION
   =========================== */
.our-trees {
  background: var(--cream);
  padding: 96px 0;
}

.our-trees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.our-trees-details {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ===========================
   GALLERY
   =========================== */
.gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--border);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease-in-out;
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--green);
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.15s;
  z-index: 2;
}

.gallery-arrow:hover {
  opacity: 1;
}

.gallery-arrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.gallery-dot.active {
  background: rgba(255, 255, 255, 1);
}

/* ===========================
   WHY BUY FROM US
   =========================== */
.why-strip {
  background: var(--cream);
  padding: 72px 60px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cream-divider {
  background: var(--cream);
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cream-band {
  background: var(--cream);
  padding: 22px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cream-band-left {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
}

.cream-band-right {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.9;
}

.why-strip-label {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: bold;
  color: var(--green);
}

.why-section {
  background: var(--cream);
  padding: 36px 60px 96px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 52px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-rule {
  width: 30px;
  height: 1px;
  background: var(--green);
  margin-bottom: 22px;
}

.why-heading {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--green);
  margin-bottom: 12px;
}

.why-body {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
  line-height: 1.8;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
  background: var(--navy);
  padding: 80px 60px;
}

.contact-rule {
  width: 30px;
  height: 1px;
  background: rgba(249, 247, 244, 0.25);
  margin-bottom: 28px;
}

.contact-heading {
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-body {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.6;
  margin-bottom: 36px;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-hours {
  border-top: 1px solid rgba(249, 247, 244, 0.15);
  padding-top: 24px;
  margin-top: 36px;
}

.contact-hours-item {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.6;
  margin-bottom: 8px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--black);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  color: var(--white);
}

.footer-slogan {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  color: var(--green);
}

/* ===========================
   BUTTONS — ON CREAM
   =========================== */
.btn-cream {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green);
  background: transparent;
  border: 1.5px solid var(--green);
  padding: 12px 28px;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, color 0.15s, box-shadow 0.1s, transform 0.1s;
}

.btn-cream:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

.btn-cream:active {
  background: var(--green-active);
  border-color: var(--green-active);
  color: var(--white);
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(2px);
}

/* ===========================
   BUTTONS — ON NAVY
   =========================== */
.btn-navy {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1.5px solid var(--cream);
  padding: 12px 28px;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, color 0.15s, box-shadow 0.1s, transform 0.1s;
}

.btn-navy:hover {
  background: var(--cream);
  color: var(--navy);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.15);
  transform: translateY(1px);
}

.btn-navy:active {
  background: var(--navy-btn-active);
  border-color: var(--navy-btn-active);
  color: var(--navy);
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}

/* ===========================
   RULES & DIVIDERS
   =========================== */
.rule-hero {
  width: 40px;
  height: 2px;
  background: var(--green);
}

.rule-section {
  width: 30px;
  height: 1px;
  background: var(--green);
}

.rule-navy {
  width: 30px;
  height: 1px;
  background: rgba(249, 247, 244, 0.25);
}

.rule-separator {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ===========================
   FULL-WIDTH PHOTO
   =========================== */
.farm-photo {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.farm-photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/* ===========================
   PHOTO STRIP (3-up)
   =========================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  line-height: 0;
  background: var(--black);
}

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

/* ===========================
   PICKUP PAGE HERO
   =========================== */
.pickup-hero {
  background: var(--cream);
}

.pickup-hero .hero-inner {
  height: 560px;
  min-height: unset;
}

.pickup-hero .hero-text {
  overflow: hidden;
}

/* Navy context overrides for cream-styled elements */
.navy-content-section {
  background: var(--navy);
  padding: 0 0 80px;
}

.navy-content-section .l2-heading {
  color: var(--white);
}

.navy-content-section .section-rule {
  background: rgba(249, 247, 244, 0.25);
}

.navy-content-section .l2-separator {
  background: rgba(249, 247, 244, 0.15);
  border: none;
}

.navy-content-section .line-list-item {
  color: var(--cream);
  border-color: rgba(249, 247, 244, 0.2);
}

/* ===========================
   PICKUP MAP
   =========================== */
.pickup-map-image {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 0 60px;
}

.pickup-map-image img {
  width: 100%;
  height: auto;
  display: block;
}

.map-caption {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: normal;
  color: var(--black);
  opacity: 0.6;
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* ===========================
   LINE LIST (no bullets)
   =========================== */
.line-list {
  margin-top: 28px;
}

.line-list-item {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.65;
}

.line-list-item:first-child {
  border-top: 1px solid var(--border);
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-page-hero {
  background: var(--cream);
  padding: 96px 0 80px;
}

.contact-form-section {
  background: var(--cream);
  padding: 0 0 96px;
}

.contact-form {
  max-width: 680px;
  margin-top: 40px;
}

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

.form-label {
  display: block;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: normal;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 13px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

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

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

.form-submit {
  margin-top: 8px;
}

.form-success {
  display: none;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
  padding: 28px 0;
}

/* Team section — cream background */
.team-section {
  background: var(--cream);
  padding: 0 0 96px;
}

.team-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  max-width: 860px;
}

.team-card-headshot {
  width: 100px;
  height: 100px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}

.team-card-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-name {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--green);
  margin-bottom: 10px;
}

.team-card-detail {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.5;
}

.team-card-description {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  color: var(--black);
  opacity: 0.65;
  line-height: 1.75;
  margin-top: 14px;
}

/* Business hours — cream, below team cards */
.team-hours {
  max-width: 860px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 52px;
}

.team-hours-item {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.45;
  margin-bottom: 10px;
}

/* ===========================
   404 PAGE
   =========================== */
.error-hero {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 36px;
  min-height: calc(100vh - var(--nav-height) - 58px);
}

.error-content {
  max-width: 560px;
  margin: 0 auto;
}

.error-content .l3-heading {
  margin-bottom: 20px;
}

.error-content .l2-heading {
  margin-bottom: 20px;
}

.error-content .l2-body {
  margin-bottom: 44px;
}

/* ===========================
   BROWSE PAGE
   =========================== */
.browse-hero {
  background: var(--cream);
  padding: 96px 0 80px;
}

.browse-section {
  background: var(--cream);
  padding: 0 0 96px;
}

.product-loading,
.product-error {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
  opacity: 0.4;
  padding: 48px 0;
}

/* Variety block — one per tree variety */
.variety-block + .variety-block {
  margin-top: 80px;
}

/* Variety header */
.product-name {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 12px;
}

.product-rule {
  width: 30px;
  height: 1px;
  background: var(--green);
  margin-bottom: 16px;
}

.product-sci-name {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  font-style: italic;
  color: var(--green);
  margin-bottom: 14px;
}

.product-description {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 760px;
}

.variety-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* Size cards — 1x4 horizontal grid */
.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.size-card {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--cream);
  overflow: hidden;
}

.size-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--border);
  overflow: hidden;
}

.size-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.size-card-body {
  padding: 20px;
}

.size-card-size {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--green);
  margin-bottom: 8px;
}

.size-card-price {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
  margin-bottom: 6px;
}

.size-card-price.call-for-pricing {
  color: var(--green);
}

.size-card-quantity {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: normal;
  color: var(--black);
  opacity: 0.5;
  margin-bottom: 0;
}

.size-card-notes {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: normal;
  color: var(--black);
  opacity: 0.55;
  line-height: 1.6;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .size-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   PULL QUOTE
   =========================== */
.pull-quote {
  background: var(--cream);
  padding: 96px 60px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pull-quote-rule {
  width: 30px;
  height: 1px;
  background: var(--green);
  margin: 0 auto;
}

.pull-quote-text {
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: bold;
  color: var(--navy);
  line-height: 1.2;
  max-width: 820px;
  margin: 32px auto;
}

/* ===========================
   ABOUT HISTORY SECTION
   =========================== */
.about-history {
  background: var(--cream);
  padding: 96px 0;
}

.history-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 44px;
}

.history-actions {
  margin-bottom: 48px;
}

.closing-line {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: normal;
  color: var(--black);
}

/* ===========================
   BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--green);
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-in-out;
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top svg {
  width: 15px;
  height: 15px;
}

/* ===========================
   RESPONSIVE — 768px
   =========================== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    padding: 60px 24px 52px;
    order: 2;
  }

  .hero-photo {
    min-height: 300px;
    order: 1;
  }

  .hero-heading {
    font-size: 40px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .band {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 18px 24px;
  }

  .section-inner {
    padding: 0 24px;
  }

  .our-trees {
    padding: 64px 0;
  }

  .our-trees-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px;
  }

  .our-trees-details {
    padding: 0 24px;
  }

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

  .why-strip {
    padding: 52px 24px 0;
  }

  .why-section {
    padding: 60px 24px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .pickup-map-image {
    padding: 0 24px;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .photo-strip img {
    height: 260px;
  }

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

  .team-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pull-quote {
    padding: 64px 24px;
  }

  .pull-quote-text {
    font-size: 26px;
  }

  .about-history {
    padding: 64px 0;
  }

  .contact {
    padding: 60px 24px;
  }

  .contact-heading {
    font-size: 30px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 24px;
  }
}
