/* =============================================
   TREE OF LIFE HEALTHCARE — STYLESHEET
   =============================================
   Color palette inspired by tree/nature logo:
   --green-deep:   #1B4332  (dark forest)
   --green-mid:    #2D6A4F  (primary)
   --green-light:  #40916C  (accent)
   --green-soft:   #52B788  (highlights)
   --green-pale:   #95D5B2  (tints)
   --green-wash:   #D8F3DC  (backgrounds)
   --cream:        #F9FAF7  (off-white bg)
   --warm-white:   #FFFFFF
   ============================================= */

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

:root {
  --green-deep:   #1B4332;
  --green-mid:    #2D6A4F;
  --green-light:  #40916C;
  --green-soft:   #52B788;
  --green-pale:   #95D5B2;
  --green-wash:   #D8F3DC;
  --cream:        #F6FAF7;
  --white:        #FFFFFF;
  --text-dark:    #1A2B22;
  --text-mid:     #3D5246;
  --text-light:   #6B8578;
  --shadow-sm:    0 2px 12px rgba(45,106,79,0.08);
  --shadow-md:    0 6px 30px rgba(45,106,79,0.12);
  --shadow-lg:    0 16px 60px rgba(45,106,79,0.16);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    28px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; color: var(--green-soft); }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

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

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  background: var(--green-wash);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-heading {
  margin-bottom: 18px;
  color: var(--green-deep);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,106,79,0.3);
}
.btn-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 6px 28px rgba(45,106,79,0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

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

/* Logo */
.nav-logo { display: flex; align-items: center; }

.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Navbar logo image */
.logo-img {
  height: 100px;
  width: auto;
  display: block;
  /* Brighten on dark hero so olive/brown tree reads clearly */
  filter: brightness(1.3) drop-shadow(0 2px 10px rgba(0,0,0,0.3));
  transition: filter var(--transition);
}

/* When scrolled onto white background: outline the white text in dark green
   so it stays legible on the light navbar */
.navbar.scrolled .logo-img {
  filter:
    drop-shadow( 1px  0px 0 #1B4332)
    drop-shadow(-1px  0px 0 #1B4332)
    drop-shadow( 0px  1px 0 #1B4332)
    drop-shadow( 0px -1px 0 #1B4332)
    drop-shadow( 1px  1px 0 #1B4332)
    drop-shadow(-1px -1px 0 #1B4332)
    brightness(1.0);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-pale);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }

.navbar.scrolled .nav-links a { color: var(--text-mid); }
.navbar.scrolled .nav-links a::after { background: var(--green-light); }
.navbar.scrolled .nav-links a:hover { color: var(--green-deep); }

.nav-cta {
  background: var(--green-mid) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--green-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45,106,79,0.35);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--green-deep); }

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

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-deep) 0%, #245741 40%, var(--green-mid) 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Organic background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(82,183,136,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(149,213,178,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Leaf accent decorations */
.leaf-accent {
  position: absolute;
  border-radius: 0 80% 0 80%;
  opacity: 0.07;
  pointer-events: none;
}
.leaf-top-left {
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: var(--green-pale);
  transform: rotate(-30deg);
}
.leaf-bottom-right {
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: var(--green-soft);
  transform: rotate(45deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-pale);
  background: rgba(149,213,178,0.15);
  border: 1px solid rgba(149,213,178,0.3);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-pale);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.75;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.hero-trust span::before { margin-right: 6px; }

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 60px; }

/* =============================================
   HERO SPLIT LAYOUT (text left + photos right)
   ============================================= */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-photos {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  height: 520px;
  position: relative;
}

.hero-photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  position: relative;
}

.hero-photo-main img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg);
}

.hero-photo-secondary {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-photo-secondary img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-md);
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-md);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { display: flex; justify-content: center; }

/* ---- About photo card ---- */
.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.about-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Logo badge overlaid at the bottom of the photo */
.about-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(27,67,50,0.95) 0%, rgba(27,67,50,0.7) 70%, transparent 100%);
  padding: 32px 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.5)
    drop-shadow( 1px  0px 0 rgba(255,255,255,0.6))
    drop-shadow(-1px  0px 0 rgba(255,255,255,0.6));
}

.about-photo-badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-photo-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}
.about-photo-badge span {
  font-size: 0.78rem;
  color: var(--green-pale);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.about-text .section-label { margin-bottom: 14px; }
.about-text .section-heading { margin-bottom: 20px; }
.about-text p { font-size: 1.05rem; margin-bottom: 16px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid rgba(45,106,79,0.08);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-wash);
  color: var(--green-mid);
  flex-shrink: 0;
}
.value-icon svg {
  width: 18px;
  height: 18px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45,106,79,0.07);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--green-soft), var(--green-pale));
  transform: scaleY(0);
  transform-origin: top;
  transition: var(--transition);
  border-radius: 4px 0 0 4px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45,106,79,0.15);
}
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  color: var(--green-deep);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0;
}

/* =============================================
   WHY US SECTION
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45,106,79,0.08);
  transition: var(--transition);
}

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

.why-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(45,106,79,0.3);
}

.why-card h3 {
  color: var(--green-deep);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.65;
}

/* =============================================
   SERVICE AREA SECTION
   ============================================= */
.service-area-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-area-text .section-label { margin-bottom: 14px; }
.service-area-text .section-heading { margin-bottom: 20px; }
.service-area-text p { font-size: 1.05rem; margin-bottom: 16px; }
.service-area-text .btn { margin-top: 8px; }

.service-area-visual { display: flex; justify-content: center; }

.area-map-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45,106,79,0.1);
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.map-pin-icon svg {
  width: 70px;
  height: 88px;
  margin: 0 auto 20px;
}

.area-map-card h4 {
  color: var(--green-deep);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green-wash);
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-mid);
  font-weight: 500;
}

.area-list li::before {
  content: '🍃';
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

/* Contact info column */
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep);
  font-size: 1.4rem;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-mid);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--green-deep);
  transition: var(--transition);
}
a.contact-value:hover { color: var(--green-light); }

.contact-hours {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 12px;
  border-left: 4px solid var(--green-soft);
}
.contact-hours h4 { color: var(--green-deep); margin-bottom: 8px; }
.contact-hours p  { font-size: 0.92rem; color: var(--text-light); margin: 0; }

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45,106,79,0.08);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.required { color: var(--green-light); }

input,
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(45,106,79,0.18);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.12);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light);
  opacity: 0.8;
}

textarea { min-height: 130px; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--green-wash);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
  border: 1px solid rgba(45,106,79,0.2);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 0;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Footer brand */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  display: block;
  /* Boost brightness so the transparent logo reads well on dark bg */
  filter: brightness(1.6) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 280px;
}

/* Footer nav columns */
.footer-links h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-pale);
  margin-bottom: 20px;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact {
  display: flex;
  flex-direction: column;
}
.footer-contact h4 { margin-bottom: 20px; }
.footer-contact a,
.footer-contact span {
  display: block;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--white); }

/* Footer bottom bar */
.footer-bottom {
  padding: 22px 0;
  background: rgba(0,0,0,0.2);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.designer-credit {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5) !important;
}

.designer-credit a {
  color: var(--green-pale);
  font-weight: 600;
  transition: var(--transition);
}
.designer-credit a:hover { color: var(--white); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(45,106,79,0.4);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--green-deep);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(45,106,79,0.5);
}
.back-to-top svg { width: 22px; height: 22px; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in       { transform: translateY(30px); }
.fade-in-left  { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: none;
}

/* Staggered cards */
.service-card:nth-child(2)  { transition-delay: 0.05s; }
.service-card:nth-child(3)  { transition-delay: 0.10s; }
.service-card:nth-child(4)  { transition-delay: 0.15s; }
.service-card:nth-child(5)  { transition-delay: 0.20s; }
.service-card:nth-child(6)  { transition-delay: 0.25s; }
.service-card:nth-child(7)  { transition-delay: 0.30s; }
.service-card:nth-child(8)  { transition-delay: 0.35s; }
.why-card:nth-child(2)      { transition-delay: 0.08s; }
.why-card:nth-child(3)      { transition-delay: 0.16s; }
.why-card:nth-child(4)      { transition-delay: 0.24s; }

/* =============================================
   MOBILE STICKY CALL BAR
   ============================================= */
.mobile-call-bar {
  display: none; /* shown only on mobile via media query */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: var(--white);
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  text-decoration: none;
  box-shadow: 0 -4px 24px rgba(27,67,50,0.35);
  /* Slide up on load */
  transform: translateY(100%);
  animation: slideUpBar 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

@keyframes slideUpBar {
  to { transform: translateY(0); }
}

/* Phone icon circle */
.mobile-call-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
  position: relative;
}
.mobile-call-icon svg {
  width: 22px;
  height: 22px;
}

/* Ripple pulse ring around icon */
.mobile-call-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  animation: ringPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes ringPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

/* Text stack */
.mobile-call-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mobile-call-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  line-height: 1;
}
.mobile-call-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* =============================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================= */
@media (max-width: 900px) {
  .section { padding: 72px 0; }

  /* Collapse hero to single column — hide photo stack */
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-photos { display: none; }

  .about-grid,
  .service-area-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual,
  .service-area-visual {
    order: -1;
  }

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

  .footer-brand { grid-column: 1 / -1; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================= */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }

  /* Nav */
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(45,106,79,0.1);
  }

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

  .nav-links a {
    color: var(--text-mid) !important;
    padding: 14px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(45,106,79,0.06);
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    margin: 16px 24px;
    text-align: center;
    border-radius: 50px !important;
    background: var(--green-mid) !important;
    color: var(--white) !important;
  }

  /* Hero */
  .hero { min-height: auto; padding: 110px 0 70px; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 10px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 22px; }

  /* Services / Why */
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  /* Show the sticky call bar on mobile */
  .mobile-call-bar {
    display: flex;
  }

  /* Lift back-to-top button above the call bar */
  .back-to-top {
    bottom: 90px;
    right: 20px;
  }

  /* Add bottom padding to footer so the bar doesn't cover content */
  .footer-bottom {
    padding-bottom: 84px;
  }

  .about-values { grid-template-columns: 1fr; }
}
