/* =========================================================
   Easy Green Garden Services — design tokens & base styles
   ========================================================= */

:root {
  /* colour system — drawn from the logo's lime leaf mark and
     dark charcoal glow background */
  --charcoal: #11190F;
  --charcoal-soft: #17221A;
  --forest: #1D3324;
  --forest-mid: #2C5136;
  --moss: #4C7A47;
  --lime: #8FCB3E;
  --lime-deep: #6FA82E;
  --lime-glow: #B7E36A;
  --cream: #F6F4EC;
  --paper: #FBFAF6;
  --ink: #16201A;
  --ink-soft: #445146;
  --line: rgba(17, 25, 15, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 800;
}

p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

.btn svg { width: 18px; height: 18px; flex: none; transition: transform 220ms var(--ease); }

.btn-primary {
  background: var(--lime);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--lime-glow); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-light);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

.btn-dark {
  background: var(--charcoal);
  color: var(--paper);
}
.btn-dark:hover { background: var(--forest-mid); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--ink-soft);
}
.btn-outline-dark:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--paper); }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: padding 260ms var(--ease), background 260ms var(--ease), box-shadow 260ms var(--ease);
}

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

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(17, 25, 15, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 52px;
  width: auto;
  border-radius: 3px;
  transition: height 260ms var(--ease);
}
.site-header.is-scrolled .brand-logo { height: 42px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  color: var(--paper);
  font-weight: 600;
  font-size: 0.96rem;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--lime);
  transition: right 240ms var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--lime-glow); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: none;
  color: var(--paper);
  font-weight: 700;
  font-size: 0.95rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--paper);
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 199;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 32px var(--gutter);
  transform: translateY(-100%);
  transition: transform 360ms var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}
.mobile-nav .mobile-cta { margin-top: 20px; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn-primary.desktop-only { display: none; }
}
@media (min-width: 981px) {
  .header-phone { display: inline-flex; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--charcoal);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-settle 1600ms var(--ease) forwards;
}
@keyframes hero-settle {
  to { transform: scale(1); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,25,15,0.35) 0%, rgba(17,25,15,0.15) 30%, rgba(15,22,13,0.55) 68%, rgba(12,18,10,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) 76px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime-glow);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 18px;
  opacity: 0;
  animation: hero-rise 720ms var(--ease) 200ms forwards;
}
.hero-eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--lime);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 15ch;
  opacity: 0;
  animation: hero-rise 800ms var(--ease) 320ms forwards;
}
.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.1rem;
  color: rgba(246,244,236,0.86);
  opacity: 0;
  animation: hero-rise 800ms var(--ease) 460ms forwards;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: hero-rise 800ms var(--ease) 600ms forwards;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(246,244,236,0.7);
  font-size: 0.82rem;
  font-weight: 600;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: rgba(246,244,236,0.5);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0; right: 0; height: 100%;
  background: var(--lime);
  animation: cue-drop 1900ms ease-in-out infinite;
}
@keyframes cue-drop {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* =========================================================
   Section rhythm helpers
   ========================================================= */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-dark { background: var(--charcoal); color: var(--paper); }
.section-forest { background: var(--forest); color: var(--paper); }
.section-cream { background: var(--cream); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--lime-deep);
  margin-bottom: 14px;
}
.section-dark .section-kicker,
.section-forest .section-kicker { color: var(--lime-glow); }
.section-kicker::before {
  content: "";
  width: 26px; height: 1.5px;
  background: currentColor;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
.section-head p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
}
.section-dark .section-head p,
.section-forest .section-head p { color: rgba(246,244,236,0.78); }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Intro / trust section
   ========================================================= */

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.intro-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  max-width: 14ch;
}
.intro-copy p {
  margin-top: 20px;
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 52ch;
}
.intro-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
}
.intro-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
}
.intro-list svg {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  color: var(--lime-deep);
}
.intro-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.intro-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.intro-media-tag {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(17,25,15,0.82);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { order: -1; aspect-ratio: 16/10; }
}

/* =========================================================
   Services — editorial list, not cards
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.services-media {
  position: sticky;
  top: 110px;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.services-media img { width: 100%; height: 100%; object-fit: cover; }
.services-media-tag {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(17,25,15,0.82);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}
.services-media-wrap { position: relative; }

.services-list {
  border-top: 1px solid var(--line-light);
}
.section-dark .services-list,
.section-forest .services-list { border-top-color: var(--line-light); }

.service-row {
  border-bottom: 1px solid var(--line-light);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
  transition: background 260ms var(--ease);
}
.service-row:hover { background: rgba(255,255,255,0.03); }
.service-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lime-glow);
}
.service-icon svg { width: 26px; height: 26px; }
.service-name {
  grid-column: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}
.service-row:hover .service-name { color: var(--lime-glow); transform: translateX(4px); }
.service-desc {
  grid-column: 2;
  margin-top: 6px;
  color: rgba(246,244,236,0.78);
  font-size: 0.96rem;
  max-width: 52ch;
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-media { position: static; aspect-ratio: 16/9; margin-bottom: 8px; }
}

/* =========================================================
   Recent work strip (homepage)
   ========================================================= */

.work-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.work-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.work-strip a {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  background: var(--cream);
}
.work-strip img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 480ms var(--ease);
}
.work-strip a:hover img { transform: scale(1.06); }
.work-strip a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(17,25,15,0.55), transparent 55%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}
.work-strip a:hover::after { opacity: 1; }

@media (max-width: 980px) { .work-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .work-strip { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Reviews carousel
   ========================================================= */

.reviews-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.review-track-viewport { overflow: hidden; }
.review-track {
  display: flex;
  transition: transform 560ms var(--ease);
}
.review-slide {
  flex: 0 0 100%;
  padding: 8px 8px 0;
}
.review-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  padding: 40px clamp(24px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--lime-deep);
  margin-bottom: 18px;
}
.review-stars svg { width: 18px; height: 18px; }
.review-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}
.review-meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.review-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--cream);
  color: var(--ink);
}
.review-platform svg { width: 14px; height: 14px; }

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
}
.review-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-light);
  background: transparent;
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.review-arrow:hover { background: var(--lime); color: var(--charcoal); border-color: var(--lime); transform: scale(1.05); }
.review-arrow svg { width: 18px; height: 18px; }
.review-dots { display: flex; gap: 8px; }
.review-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-light);
  border: none;
  padding: 0;
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}
.review-dot.is-active { background: var(--lime); transform: scale(1.3); }

.review-note {
  text-align: center;
  margin-top: 26px;
  font-size: 0.85rem;
  color: rgba(246,244,236,0.55);
}

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  padding: clamp(70px, 10vw, 120px) 0;
}
.cta-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,22,13,0.86) 12%, rgba(20,32,20,0.5) 55%, rgba(15,22,13,0.82) 100%);
  z-index: 1;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-inner {
  max-width: 640px;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}
.cta-band p {
  margin-top: 18px;
  font-size: 1.08rem;
  color: rgba(246,244,236,0.85);
  max-width: 52ch;
}
.cta-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cta-phone {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--lime-glow);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--charcoal);
  color: rgba(246,244,236,0.8);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-img { height: 54px; width: auto; border-radius: 3px; }
.footer-brand p {
  font-size: 0.95rem;
  max-width: 34ch;
  color: rgba(246,244,236,0.62);
}
.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--paper);
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links a { font-size: 0.94rem; transition: color 200ms var(--ease); }
.footer-links a:hover { color: var(--lime-glow); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; word-break: break-word; overflow-wrap: anywhere; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--lime-glow); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(246,244,236,0.5);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   WhatsApp floating button
   ========================================================= */

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 220;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(0,0,0,0.4); }
.whatsapp-fab svg { width: 30px; height: 30px; color: #fff; }
.whatsapp-fab .wa-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-ping 2600ms ease-out infinite;
}
@keyframes wa-ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* =========================================================
   Page hero (Gallery / Contact)
   ========================================================= */

.page-hero {
  padding: clamp(150px, 20vw, 210px) 0 clamp(56px, 8vw, 88px);
  background: var(--charcoal);
  color: var(--paper);
}
.page-hero-eyebrow {
  color: var(--lime-glow);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 10px;
}
.page-hero-eyebrow::before { content:""; width: 26px; height: 1.5px; background: var(--lime); }
.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 18ch;
}
.page-hero p {
  margin-top: 18px;
  max-width: 56ch;
  font-size: 1.05rem;
  color: rgba(246,244,236,0.8);
}

/* =========================================================
   Gallery page
   ========================================================= */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 8px;
}
.filter-btn {
  padding: 10px 18px;
  border-radius: 3px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: all 220ms var(--ease);
}
.filter-btn:hover { border-color: var(--lime-deep); color: var(--ink); }
.filter-btn.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }

.masonry {
  column-count: 3;
  column-gap: 16px;
  padding: 24px 0 8px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream);
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 500ms var(--ease);
  opacity: 0;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.masonry-item img.is-loaded { opacity: 1; }
.masonry-item:hover img { transform: scale(1.045); }
.masonry-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(0deg, rgba(17,25,15,0.86), transparent);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.masonry-item:hover .masonry-caption { opacity: 1; transform: translateY(0); }
.masonry-item.is-hidden { display: none; }

@media (max-width: 980px) { .masonry { column-count: 2; } }
@media (max-width: 560px) { .masonry { column-count: 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(11,16,10,0.96);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-figure {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 2px;
  transform: scale(0.97);
  opacity: 0;
  transition: transform 280ms var(--ease), opacity 280ms var(--ease);
}
.lightbox.is-open .lightbox-figure img { transform: scale(1); opacity: 1; }
.lightbox-caption { color: rgba(246,244,236,0.78); font-size: 0.92rem; text-align: center; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-light);
  color: var(--paper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--lime); color: var(--charcoal); }
.lightbox-close { top: 22px; right: 22px; width: 46px; height: 46px; }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-close { top: 14px; right: 14px; }
}

/* =========================================================
   Before / After slider component
   ========================================================= */

.ba-section .section-head { margin-bottom: 30px; }
.ba-carousel { position: relative; }
.ba-slide { display: none; }
.ba-slide.is-active { display: block; }

.ba-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 30px 70px rgba(0,0,0,0.14);
}
.ba-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  width: 50%;
}
.ba-label {
  position: absolute;
  top: 18px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 3px;
  color: var(--paper);
  background: rgba(17,25,15,0.72);
  backdrop-filter: blur(4px);
}
.ba-label-before { left: 18px; }
.ba-label-after { right: 18px; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: var(--paper);
}
.ba-handle-grip {
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  cursor: ew-resize;
}
.ba-handle-grip svg { width: 14px; height: 14px; color: var(--charcoal); }
.ba-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.ba-caption h3 { font-family: var(--font-display); font-size: 1.2rem; }
.ba-caption p { color: var(--ink-soft); font-size: 0.94rem; }

.ba-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.ba-thumb {
  border: 1.5px solid var(--line);
  background: transparent;
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 200ms var(--ease);
}
.ba-thumb.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }
.ba-thumb:hover { border-color: var(--charcoal); }

/* =========================================================
   Contact page
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact-info-card {
  background: var(--charcoal);
  color: var(--paper);
  border-radius: 4px;
  padding: clamp(30px, 4vw, 44px);
}
.contact-info-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.contact-info-card > p { color: rgba(246,244,236,0.76); margin-bottom: 26px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}
.contact-method:first-of-type { border-top: none; }
.contact-method svg { width: 22px; height: 22px; color: var(--lime-glow); flex: none; margin-top: 3px; }
.contact-method a, .contact-method span { font-weight: 700; font-size: 1.05rem; word-break: break-word; overflow-wrap: anywhere; }
.contact-method small { display: block; margin-top: 3px; color: rgba(246,244,236,0.62); font-weight: 400; font-size: 0.86rem; }
.contact-badges {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.contact-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(246,244,236,0.82);
}
.contact-badge svg { width: 16px; height: 16px; color: var(--lime-glow); }

.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 200ms var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--lime-deep);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; }
.radio-option {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 600;
}
.form-submit {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { color: var(--lime-deep); }
.form-status.error { color: #c0392b; }

@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}
