/* ==========================================================================
   Sevalal Green Garden — site styles
   Phone (<768): native app · Tablet (768–1023): iPad app · Desktop (≥1024): website
   ========================================================================== */

/* ---------------------------------------------------------------- Header -- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding-top: var(--safe-top);
  color: var(--text-on-dark);
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease);
}
.no-js .site-header { position: absolute; }
.site-header[data-scrolled] {
  background: rgba(246, 243, 234, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: var(--appbar-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
  user-select: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 6px 14px -8px rgba(0, 0, 0, 0.55);
  transition: box-shadow var(--t-med) var(--ease);
}
.site-header[data-scrolled] .brand-mark { box-shadow: 0 0 0 1px var(--line), 0 4px 10px -6px rgba(20, 35, 28, 0.35); }
.brand-mark-lg { width: 64px; height: 64px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name em { font-style: italic; color: var(--leaf-500); }
.site-header[data-scrolled] .brand-name em { color: var(--forest-600); }
.brand-sub {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.66;
  white-space: nowrap;
}

.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-wa,
.header-cta { display: none; }
.header-call {
  background: var(--leaf-500);
  color: var(--forest-950);
  box-shadow: 0 6px 16px -8px rgba(141, 178, 85, 0.9);
}
.site-header[data-scrolled] .header-call { background: var(--forest-700); color: var(--text-on-dark); box-shadow: none; }

/* header buttons adapt to dark hero vs. scrolled cream */
.header-wa { color: var(--text-on-dark); border: 1.5px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
.header-wa:hover { background: rgba(255, 255, 255, 0.14); }
.site-header[data-scrolled] .header-wa { color: var(--forest-800); border-color: var(--line); background: var(--white); }
.site-header[data-scrolled] .header-wa:hover { border-color: var(--forest-700); }
.site-header:not([data-scrolled]) .header-cta { background: var(--leaf-500); color: var(--forest-950); box-shadow: none; }
.site-header:not([data-scrolled]) .header-cta:hover { background: var(--leaf-400); }

/* ------------------------------------------------------------------ Hero -- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest-900);
  color: var(--text-on-dark);
  padding: calc(var(--appbar-h) + var(--safe-top) + 28px) 0 112px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(141, 178, 85, 0.22), transparent 70%),
    radial-gradient(55% 60% at 0% 100%, rgba(59, 122, 92, 0.55), transparent 70%),
    linear-gradient(180deg, var(--forest-900), var(--forest-950));
}
.hero-leaf {
  position: absolute;
  z-index: -1;
  width: 520px;
  right: -180px;
  top: -60px;
  fill: none;
  stroke: rgba(165, 198, 116, 0.08);
  stroke-width: 1.2;
  transform: rotate(18deg);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: hero-in 900ms var(--ease) both; }
.hero .hero-title.reveal { animation-delay: 80ms; }
.hero .hero-lede.reveal { animation-delay: 160ms; }
.hero .hero-ctas.reveal { animation-delay: 240ms; }
.hero .hero-alt.reveal { animation-delay: 300ms; }
.hero .hero-media.reveal { animation-name: hero-media-in; animation-delay: 120ms; }
@keyframes hero-media-in { from { transform: translateY(24px); } to { transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-2);
}
.hero-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leaf-500);
  box-shadow: 0 0 0 4px rgba(141, 178, 85, 0.22);
}
.hero-title {
  margin-top: 20px;
  font-size: var(--fs-display-l);
  color: var(--text-on-dark);
  text-wrap: balance;
}
.hero-title em { color: var(--leaf-400); }
.hero-lede {
  margin-top: 20px;
  max-width: 36rem;
  font-size: var(--fs-17);
  line-height: 1.65;
  color: var(--text-on-dark-2);
}
.hero-ctas { display: grid; gap: 12px; margin-top: 28px; }
.hero-ctas .btn { --btn-h: 54px; font-size: var(--fs-16); }
.hero-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 20px;
  font-size: var(--fs-13);
  color: var(--text-on-dark-2);
}
.hero-alt a {
  color: var(--text-on-dark);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
}
.hero-alt a:hover { border-color: var(--leaf-400); }
.hero-alt .sep { opacity: 0.5; }

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 360px;
}
.hm {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--forest-800);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
}
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-a { grid-row: span 2; }
.hm-b img { object-position: 60% 40%; }
.glass-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(12, 31, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 700;
  white-space: nowrap;
  max-width: calc(100% - 24px);
}
.glass-chip .i { color: var(--leaf-400); }

/* --------------------------------------------------------------- Pillars -- */
.pillars { position: relative; z-index: 2; margin-top: -64px; }
.pillars-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  min-width: 0;
}
.pillar:nth-child(odd) { border-right: 1px solid var(--line); }
.pillar:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.pillar-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--leaf-100);
  color: var(--forest-700);
}
.pillar strong { display: block; font-size: var(--fs-15); font-weight: 700; line-height: 1.25; }
.pillar small { display: block; font-size: var(--fs-12); color: var(--text-2); line-height: 1.35; margin-top: 2px; }

/* --------------------------------------------------------------- Section -- */
.section { padding-block: var(--section-y); }
.section-head { display: grid; gap: 14px; margin-bottom: 32px; }
.section-head .lede { margin-top: 2px; }
.sub-head {
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 40px 0 14px;
}

/* -------------------------------------------------------------- Services -- */
.services { padding-top: calc(var(--section-y) * 0.8); }

.feature-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.feature-rail::-webkit-scrollbar { display: none; }
.fcard { scroll-snap-align: start; min-width: 0; }
.fcard-btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(20, 35, 28, 0.04);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.fcard-btn:active { transform: scale(0.985); }
.fcard-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-200);
}
.fcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.fcard-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(251, 250, 245, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: var(--fs-12);
  font-weight: 700;
  color: var(--forest-800);
}
.fcard-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.fcard-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--forest-900);
}
.fcard-text { font-size: var(--fs-15); line-height: 1.55; color: var(--text-2); flex: 1; }
.fcard .link-arrow { margin-top: 6px; font-size: var(--fs-13); }

/* grouped list (phone) */
.svc-list {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(20, 35, 28, 0.04);
  overflow: hidden;
}
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 16px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 68px;
  padding: 12px 16px;
  text-align: left;
  transition: background-color var(--t-fast) var(--ease);
}
.svc-row:active { background: var(--cream-100); }
.svc-list li + li .svc-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 74px;
  right: 0;
  height: 1px;
  background: var(--line);
}
.svc-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--leaf-100);
  color: var(--forest-700);
}
.svc-text { display: flex; flex-direction: column; min-width: 0; }
.svc-title { font-size: var(--fs-15); font-weight: 700; line-height: 1.3; }
.svc-sub {
  font-size: var(--fs-13);
  color: var(--text-2);
  line-height: 1.4;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-chev { color: var(--stone-500); }

/* ------------------------------------------------------------------ Work -- */
.work { background: var(--cream-50); }
.segmented {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  margin-bottom: 20px;
  border-radius: var(--r-pill);
  background: var(--cream-200);
  overflow-x: auto;
  scrollbar-width: none;
}
.segmented::-webkit-scrollbar { display: none; }
.seg {
  flex: none;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.seg[aria-selected="true"] { background: var(--white); color: var(--forest-800); box-shadow: var(--shadow-1); }

.gallery { columns: 2; column-gap: 10px; }
.g-item { break-inside: avoid; margin-bottom: 10px; }
.g-item[hidden] { display: none; }
.g-item.is-entering { animation: g-in 420ms var(--ease) both; }
@keyframes g-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.g-btn {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-200);
}
.g-btn img { width: 100%; transition: transform 900ms var(--ease); }
.g-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 28px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(8, 20, 14, 0.72));
  color: #fff;
  text-align: left;
}
.g-title { font-size: var(--fs-12); font-weight: 700; line-height: 1.3; }
.g-cap .i { flex: none; opacity: 0.85; }

/* ------------------------------------------------------------------ Pots -- */
.pots-panel {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 28px 20px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(141, 178, 85, 0.18), transparent 70%),
    var(--forest-800);
  color: var(--text-on-dark);
  overflow: hidden;
}
.pots-copy { display: grid; gap: 14px; align-content: center; }
.pots-copy .h2 { color: var(--text-on-dark); }
.pots-copy .h2 em { color: var(--leaf-400); }
.pots-lede { color: var(--text-on-dark-2); font-size: var(--fs-16); line-height: 1.65; max-width: 34rem; }
.checklist { display: grid; gap: 12px; margin-top: 6px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-15); line-height: 1.45; color: var(--text-on-dark); }
.checklist .i { color: var(--leaf-400); margin-top: 1px; }
.pots-ctas { display: grid; gap: 10px; margin-top: 10px; }
.pots-media {
  order: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 320px;
}
.pm { overflow: hidden; border-radius: var(--r-md); background: var(--forest-700); }
.pm img { width: 100%; height: 100%; object-fit: cover; }
.pm-a { grid-row: span 2; }
.pm-b img { object-position: 30% 60%; }

/* --------------------------------------------------------------- Process -- */
.steps { display: grid; gap: 12px; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  row-gap: 6px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(20, 35, 28, 0.04);
}
.step-num {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--leaf-100);
  color: var(--forest-700);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}
.step-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.25; color: var(--forest-900); }
.step p { font-size: var(--fs-15); line-height: 1.6; color: var(--text-2); }
.step-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--forest-600);
}

/* --------------------------------------------------------------- Contact -- */
.contact { background: var(--cream-50); }
.contact-grid { display: grid; gap: 16px; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.contact-info .section-head { margin-bottom: 8px; }
.card {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(20, 35, 28, 0.05);
}
.contact-card { padding: 8px 0 4px; }
.card-label {
  padding: 14px 20px 6px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.phone-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 16px 8px 20px;
  border-top: 1px solid var(--line);
}
.phone-row:first-child { border-top: 0; }
.phone-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--leaf-100);
  color: var(--forest-700);
}
.phone-num { font-size: var(--fs-17); font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 0; }
.phone-num:hover { color: var(--forest-600); }
.phone-actions { display: flex; gap: 8px; }
.mini-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--forest-700);
  color: var(--text-on-dark);
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.mini-btn:hover { background: var(--forest-800); }
.mini-btn:active { transform: scale(0.94); }
.mini-wa { background: var(--whatsapp); }
.mini-wa:hover { background: #1a9449; }
.email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 16px 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--cream-100);
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--forest-800);
  overflow-wrap: anywhere;
  transition: background-color var(--t-fast) var(--ease);
}
.email-row:hover { background: var(--cream-200); }
.email-row .i { color: var(--forest-600); }

.map-card { display: grid; gap: 14px; padding: 18px; }
.map-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.map-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--forest-900); }
.map-title .i { color: var(--forest-600); }
.map-sub { font-size: var(--fs-13); color: var(--text-2); }
.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-200);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.form-card { padding: 24px 20px; }
.form-head { display: grid; gap: 6px; margin-bottom: 20px; }
.form-head .h3 { color: var(--forest-900); }
.form-head p { font-size: var(--fs-15); color: var(--text-2); line-height: 1.55; }
.enquiry { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 16px; }
.field label { font-size: var(--fs-13); font-weight: 700; color: var(--text); }
.req { color: var(--clay-500); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  font-size: var(--fs-16);
  line-height: 1.4;
  color: var(--text);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder,
.field textarea::placeholder { color: #9AA39D; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #D2CDBD; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(141, 178, 85, 0.22);
}
.field.has-error input,
.field.has-error select { border-color: var(--danger); background: #FDF6F4; }
.field-error { display: none; align-items: center; gap: 6px; font-size: var(--fs-13); font-weight: 600; color: var(--danger); }
.field.has-error .field-error { display: flex; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 44px; cursor: pointer; }
.select-wrap .i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(90deg); pointer-events: none; color: var(--text-2); }
.btn-submit { --btn-h: 54px; margin-top: 4px; font-size: var(--fs-16); }
.btn-submit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.form-alt { text-align: center; font-size: var(--fs-13); color: var(--text-2); }
.text-btn {
  font-weight: 700;
  color: var(--forest-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 32px;
}
.form-success {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--leaf-100);
  border: 1px solid rgba(47, 125, 79, 0.18);
  animation: g-in 360ms var(--ease) both;
}
.form-success[hidden] { display: none; }
.success-icon { color: var(--success); flex: none; }
.success-title { font-weight: 800; color: var(--forest-900); }
.success-text { font-size: var(--fs-15); color: var(--forest-800); line-height: 1.5; margin-top: 2px; }
.success-text a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- Footer -- */
.site-footer {
  background: var(--forest-950);
  color: var(--text-on-dark-2);
  padding: 48px 0 calc(var(--tabbar-h) + var(--safe-bottom) + 32px);
}
.footer-grid { display: grid; gap: 28px; }
.brand-light { color: var(--text-on-dark); margin-right: 0; }
.brand-light .brand-name em { color: var(--leaf-400); }
.footer-brand p { margin-top: 16px; max-width: 34rem; font-size: var(--fs-15); line-height: 1.65; }
.footer-label {
  margin-bottom: 12px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-400);
}
.footer-col ul { display: grid; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-on-dark); font-size: var(--fs-15); overflow-wrap: anywhere; transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--leaf-400); }
.footer-links,
.footer-cta { display: none; }
.footer-cta p { font-size: var(--fs-15); line-height: 1.6; margin-bottom: 16px; }
.footer-cta .btn { color: var(--forest-950); }
.footer-cta .btn:hover { color: var(--forest-950); }
.footer-map { margin-top: 10px; gap: 8px; font-size: var(--fs-13) !important; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-13);
}
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: var(--fs-15); color: var(--text-on-dark-2); }
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--text-on-dark-2);
  transition: color var(--t-fast) var(--ease);
}
.footer-credit strong { font-weight: 700; color: var(--text-on-dark); transition: color var(--t-fast) var(--ease); }
.footer-credit .i { opacity: 0.7; }
.footer-credit a:hover,
.footer-credit a:hover strong { color: var(--leaf-400); }
.footer-credit a:focus-visible { outline: 2px solid var(--leaf-400); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------ WhatsApp FAB -- */
.fab-wa {
  position: fixed;
  right: 16px;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 14px);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(16, 120, 60, 0.6), 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease), background-color var(--t-fast) var(--ease);
}
.fab-wa .i { width: 26px; height: 26px; }
.fab-wa:hover { background: #1a9449; }
.fab-wa:active { transform: scale(0.94); }
.fab-label { display: none; font-weight: 700; font-size: var(--fs-15); }
.fab-wa[data-hidden] { transform: translateY(16px) scale(0.9); opacity: 0; pointer-events: none; }

/* ----------------------------------------------------------- Tab bar ------ */
.tabbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 58;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(251, 250, 245, 0.9);
  backdrop-filter: saturate(170%) blur(20px);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  border-top: 1px solid var(--line);
  user-select: none;
  -webkit-user-select: none;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--stone-600);
  transition: color var(--t-fast) var(--ease);
}
.tab-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 30px;
  border-radius: var(--r-pill);
  transition: background-color var(--t-med) var(--ease), transform var(--t-fast) var(--ease);
}
.tab:active .tab-ic { transform: scale(0.92); }
.tab-label { font-size: var(--fs-11); font-weight: 700; letter-spacing: 0.01em; }
.tab[aria-current="true"] { color: var(--forest-800); }
.tab[aria-current="true"] .tab-ic { background: var(--leaf-100); }
.tab[aria-current="true"] .i { stroke-width: 2; }

/* --------------------------------------------------------- Service sheet -- */
dialog { padding: 0; border: 0; color: var(--text); }
.sheet {
  width: 100%;
  max-width: 100%;
  max-height: 92dvh;
  margin: auto 0 0;
  background: transparent;
  overflow: visible;
}
.sheet::backdrop { background: rgba(8, 20, 14, 0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet[open]::backdrop { animation: fade-in var(--t-med) var(--ease) both; }
.sheet.is-closing::backdrop { animation: fade-out var(--t-med) var(--ease) both; }
.sheet-panel {
  position: relative;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding-bottom: calc(var(--safe-bottom) + 16px);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.35);
}
.sheet[open] .sheet-panel { animation: sheet-up 380ms var(--ease) both; }
.sheet.is-closing .sheet-panel { animation: sheet-down 260ms var(--ease-in-out) both; }
.sheet-grabber {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 40px; height: 5px;
  margin-left: -20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(251, 250, 245, 0.92);
  color: var(--forest-900);
  box-shadow: var(--shadow-2);
}
.sheet-close:hover { background: var(--white); }
.sheet-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-200); }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body { display: grid; gap: 14px; padding: 22px 20px 4px; }
.sheet-media[hidden] + .sheet-body { padding-top: 34px; }
.sheet-head { display: flex; gap: 14px; align-items: center; padding-right: 48px; }
.sheet-media:not([hidden]) + .sheet-body .sheet-head { padding-right: 0; }
.sheet-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--leaf-100);
  color: var(--forest-700);
}
.sheet-tag { font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest-600); }
.sheet-head .h3 { color: var(--forest-900); margin-top: 2px; }
.sheet-desc { font-size: var(--fs-16); line-height: 1.65; color: var(--text-2); }
.sheet-label { font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-top: 4px; }
.sheet-list { display: grid; gap: 10px; }
.sheet-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-15); line-height: 1.45; }
.sheet-list .i { color: var(--forest-600); margin-top: 1px; }
.sheet-ctas { display: grid; gap: 10px; margin-top: 8px; padding-bottom: 8px; }
.sheet-ctas .btn { --btn-h: 52px; }

@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { from { transform: none; } to { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes pop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px) scale(0.98); } }

/* -------------------------------------------------------------- Lightbox -- */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  background: rgba(6, 16, 11, 0.97);
  color: #fff;
  overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in var(--t-med) var(--ease) both; }
.lightbox.is-closing { animation: fade-out 200ms var(--ease) both; }
.lightbox::backdrop { background: rgba(6, 16, 11, 0.9); }
.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 8px) 12px 8px 20px;
}
.lb-count { font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.lb-close { color: #fff; background: rgba(255, 255, 255, 0.1); }
.lb-close:hover { background: rgba(255, 255, 255, 0.18); }
.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 12px;
  touch-action: pan-y;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-sm);
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.lb-img.is-swapping { opacity: 0; transform: scale(0.98); }
.lb-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  width: 52px; height: 52px;
  margin-top: -26px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-caption { padding: 14px 20px calc(var(--safe-bottom) + 20px); text-align: center; }
.lb-title { font-family: var(--font-display); font-size: 1.3rem; }
.lb-text { margin-top: 2px; font-size: var(--fs-15); color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   Phone tweaks (<768) — native app
   ========================================================================== */
@media (max-width: 767.98px) {
  body { padding-bottom: 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark-lg { width: 60px; height: 60px; }
  .brand-name { font-size: 1.08rem; }
  .section-head .h2 { font-size: 2rem; }
  .hero { padding-bottom: 96px; }
  .hero-title { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .hero-lede { font-size: var(--fs-16); }
  .services .section-head .lede,
  .work .section-head .lede { font-size: var(--fs-15); }
  .fcard-btn:hover { transform: none; }

  .email-row { font-size: var(--fs-14, 0.875rem); }

  /* full-width native segmented control */
  .segmented { width: 100%; }
  .seg { flex: 1 1 auto; padding: 0 10px; }

  /* photo grid like a native gallery: no captions on tiles */
  .g-cap { display: none; }
}

@media (max-width: 1099.98px) {
  /* contact rows: number + actions only where the column is narrow */
  .phone-row { grid-template-columns: 1fr auto; padding-left: 20px; }
  .phone-icon { display: none; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
  .pillar { padding: 16px 12px; gap: 10px; }
  .pillar-icon { width: 36px; height: 36px; }
}

/* ==========================================================================
   Tablet (≥768) — iPad-style app
   ========================================================================== */
@media (min-width: 768px) {
  :root { --appbar-h: 72px; }
  .header-call { display: none; }
  .header-wa,
  .header-cta { display: inline-flex; }

  .hero { padding: calc(var(--appbar-h) + 48px) 0 136px; }
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .hero-media { height: 440px; gap: 14px; }
  .hm { border-radius: var(--r-xl); }
  .glass-chip { left: 16px; bottom: 16px; font-size: var(--fs-13); }

  .pillars { margin-top: -72px; }
  .pillars-card { grid-template-columns: repeat(4, 1fr); }
  .pillar { flex-direction: column; align-items: flex-start; padding: 22px 20px; gap: 12px; border: 0 !important; }
  .pillar + .pillar { border-left: 1px solid var(--line) !important; }

  .section-head { margin-bottom: 44px; }
  .services .section-head,
  .process .section-head { justify-items: center; text-align: center; }
  .services .section-head .lede,
  .process .section-head .lede { text-align: center; }

  .feature-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-columns: auto;
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .sub-head { margin-top: 56px; text-align: center; }
  .svc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: none;
    box-shadow: none;
    border: 0;
    overflow: visible;
  }
  .svc-list li + li .svc-row::before { display: none; }
  .svc-row {
    height: 100%;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-1);
    border: 1px solid rgba(20, 35, 28, 0.04);
    padding: 16px 18px;
  }
  .svc-sub { white-space: normal; }
  .svc-list li:last-child:nth-child(odd) { grid-column: span 2; }

  .gallery { columns: 3; column-gap: 14px; }
  .g-item { margin-bottom: 14px; }
  .g-btn { border-radius: var(--r-lg); }
  .g-cap { padding: 40px 16px 14px; }
  .g-title { font-size: var(--fs-13); }

  .pots-panel { padding: 40px; border-radius: var(--r-2xl); }
  .pots-ctas { display: flex; flex-wrap: wrap; }
  .pots-media { height: 420px; gap: 14px; }
  .pm { border-radius: var(--r-lg); }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .step { grid-template-columns: 1fr; padding: 28px; row-gap: 10px; }
  .step-num {
    grid-row: auto;
    width: auto; height: auto;
    place-items: start;
    background: none;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--leaf-500);
  }
  .step-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }

  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: start; }
  .form-card { padding: 32px 28px; position: sticky; top: calc(var(--appbar-h) + 24px); }

  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-links { display: block; }

  /* floating iPad-style tab bar */
  .tabbar {
    left: 50%;
    right: auto;
    bottom: calc(var(--safe-bottom) + 16px);
    width: min(520px, calc(100% - 48px));
    height: 64px;
    padding: 6px;
    transform: translateX(-50%);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-3);
    background: rgba(251, 250, 245, 0.88);
  }
  .tab { border-radius: var(--r-pill); }
  .tab-ic { height: 28px; }
  .fab-wa { right: 24px; bottom: calc(var(--safe-bottom) + 24px); }
  .site-footer { padding-bottom: calc(var(--safe-bottom) + 112px); }

  .sheet {
    width: min(560px, calc(100vw - 48px));
    max-height: min(86dvh, 820px);
    margin: auto;
  }
  .sheet-panel { border-radius: var(--r-xl); max-height: min(86dvh, 820px); padding-bottom: 20px; box-shadow: var(--shadow-3); }
  .sheet[open] .sheet-panel { animation: pop-in 320ms var(--ease) both; }
  .sheet.is-closing .sheet-panel { animation: pop-out 200ms var(--ease-in-out) both; }
  .sheet-grabber { display: none; }
  .sheet-body { padding: 26px 28px 6px; }
  .sheet-media[hidden] + .sheet-body { padding-top: 30px; }
  .sheet-ctas { grid-template-columns: 1fr 1fr; }

  .lb-nav { display: grid; }
  .lb-stage { padding: 0 92px; }
}

/* ==========================================================================
   Desktop (≥1024) — premium website
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --appbar-h: 80px; }
  html { scroll-padding-top: 100px; }
  .header-inner { gap: 28px; }
  .brand-mark { width: 54px; height: 54px; }
  .brand-mark-lg { width: 72px; height: 72px; }
  .brand-name { font-size: 1.3rem; }
  .desktop-nav { display: flex; align-items: center; gap: 4px; }
  .desktop-nav a {
    position: relative;
    flex: none;
    white-space: nowrap;
    padding: 10px 10px;
    border-radius: var(--r-pill);
    font-size: var(--fs-15);
    font-weight: 600;
    opacity: 0.86;
    transition: opacity var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  }
  .desktop-nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
  .site-header[data-scrolled] .desktop-nav a:hover { background: rgba(31, 77, 58, 0.06); }
  .desktop-nav a[aria-current="true"] { opacity: 1; }
  .desktop-nav a[aria-current="true"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 5px; height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--leaf-500);
  }
  .header-wa { display: none; }

  .tabbar { display: none; }
  .fab-wa {
    right: 28px;
    bottom: 28px;
    width: auto;
    height: 56px;
    padding: 0 22px 0 18px;
    border-radius: var(--r-pill);
  }
  .fab-label { display: inline; }
  .site-footer { padding-bottom: 40px; }

  .hero { padding: calc(var(--appbar-h) + 64px) 0 160px; min-height: min(100vh, 980px); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 64px; }
  .hero-title { font-size: clamp(3.6rem, 1.9rem + 3.9vw, 6rem); }
  .hero-media { height: min(600px, 62vh); min-height: 500px; gap: 16px; }
  .hm { border-radius: var(--r-2xl); }
  .hero-leaf { width: 760px; right: -220px; top: -120px; }

  .pillars { margin-top: -88px; }
  .pillar { flex-direction: row; align-items: center; padding: 28px 28px; gap: 16px; }
  .pillar-icon { width: 48px; height: 48px; border-radius: 14px; }
  .pillar strong { font-size: var(--fs-17); }
  .pillar small { font-size: var(--fs-13); }

  .section-head { margin-bottom: 56px; }
  .section-head-split { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 48px; }
  .section-head-split .lede { justify-self: end; }
  .feature-rail { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .fcard-media { aspect-ratio: 5 / 4; }
  .fcard-body { padding: 20px 20px 22px; }
  .fcard-title { font-size: 1.35rem; }
  .svc-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .svc-list li:last-child:nth-child(odd) { grid-column: auto; }
  .svc-row { padding: 18px 20px; grid-template-columns: 48px 1fr 16px; }
  .svc-icon { width: 48px; height: 48px; }

  .gallery { column-gap: 20px; }
  .g-item { margin-bottom: 20px; }
  .g-btn { border-radius: var(--r-xl); }
  .g-title { font-size: var(--fs-15); font-family: var(--font-display); font-weight: 500; }

  .pots-panel { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px; align-items: center; }
  .pots-media { order: 0; height: 520px; gap: 16px; }
  .pm { border-radius: var(--r-xl); }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  .contact-grid { grid-template-columns: 0.92fr 1.08fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 44px 44px 40px; top: calc(var(--appbar-h) + 32px); }

  .site-footer { padding-top: 72px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 0.8fr 1fr; gap: 40px; }
  .footer-cta { display: block; }

  .lb-stage { padding: 0 110px; }
  .lb-img { max-height: calc(100dvh - 180px); }
}

@media (min-width: 1200px) {
  .gallery { columns: 4; }
}

@media (min-width: 1280px) {
  .header-wa { display: inline-flex; }
  .desktop-nav a { padding: 10px 14px; }
}

/* ------------------------------------------------- Hover (pointer devices) -- */
@media (hover: hover) and (pointer: fine) {
  .fcard-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
  .fcard-btn:hover .fcard-media img { transform: scale(1.05); }
  .fcard-btn:hover .link-arrow .i { transform: translateX(4px); }
  .svc-row:hover { background: var(--cream-50); }
  .g-btn:hover img { transform: scale(1.04); }
  .g-cap { opacity: 0; transform: translateY(6px); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
  .g-btn:hover .g-cap,
  .g-btn:focus-visible .g-cap { opacity: 1; transform: none; }
  .step { transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
  .step:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
}
