/* La Vida Landscapes — site styles */

:root {
  --forest: #2C4A3E;
  --forest-deep: #1F3528;
  --moss: #6B8E5A;
  --moss-soft: #8FA67E;
  --bark: #3D2E1F;
  --bark-deep: #2A1F14;
  --stone: #A89B8C;
  --stone-soft: #C8BFB3;
  --cream: #F5F1E8;
  --cream-warm: #EFE8D6;
  --paper: #FAF7F0;
  --sun: #C9A961;
  --sun-soft: #DEC489;
  --ink: #1A1F1B;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--cream); color: var(--ink); }

.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; }
.font-script { font-family: 'Caveat', cursive; }
.font-mono-eb { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Headlines */
.display { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; letter-spacing: -0.012em; line-height: 1.02; }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* Real-photo treatment — subtle bottom darken for legibility */
.photo-warm { position: relative; }
.photo-warm::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,31,27,0) 50%, rgba(26,31,27,0.35) 100%);
  pointer-events: none;
}

/* Hero services grid — photo-overlay tiles */
.hero-service-tile { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.hero-service-tile img { will-change: transform; transition: transform .9s ease, filter .6s ease; filter: saturate(.92) brightness(.78); position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-service-tile:hover img { transform: scale(1.06); filter: saturate(1) brightness(.88); }
.hero-service-tile-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,31,27,.15) 0%, rgba(26,31,27,.55) 60%, rgba(26,31,27,.85) 100%); }
.hero-service-arrow { color: var(--sun); transition: transform .35s ease, opacity .35s ease; opacity: .7; }
.hero-service-tile:hover .hero-service-arrow { transform: translate(3px, -3px); opacity: 1; }

/* Social — contact "Follow" pills */
.social-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(245,241,232,.22);
  color: var(--cream);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.04em;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.social-pill:hover { background: var(--sun); color: var(--forest); border-color: var(--sun); }

/* Social — footer round icon buttons */
.social-icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(245,241,232,.22);
  color: rgba(245,241,232,.78);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.social-icon-btn:hover { background: var(--sun); border-color: var(--sun); color: var(--forest); transform: translateY(-1px); }

/* Social — top nav small icon buttons */
.nav-social {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.nav-social svg { width: 20px; height: 20px; }
.nav-social:hover { background: var(--sun); color: var(--forest); border-color: var(--sun); transform: translateY(-1px); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 900ms cubic-bezier(.2,.8,.2,1), transform 900ms cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.reduce-motion .reveal, .reduce-motion .reveal.in { opacity: 1; transform: none; transition: none; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }

/* Hairline rules */
.hr-thin { border: none; height: 1px; background: rgba(26,31,27,.12); }
.hr-thin-light { border: none; height: 1px; background: rgba(245,241,232,.18); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 999px;
  transition: all .25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--bark); transform: translateY(-1px); }
.btn-ghost-light { color: var(--cream); border: 1px solid rgba(245,241,232,.45); background: transparent; }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(245,241,232,.08); }
.btn-ghost-dark { color: var(--forest); border: 1px solid rgba(44,74,62,.35); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--forest); background: rgba(44,74,62,.04); }
.btn-arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Tiny link with underline animation */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--forest);
  position: relative;
}
.link-arrow::after {
  content: ''; position: absolute; left: 0; right: 1.6em; bottom: -4px;
  height: 1px; background: currentColor; transform-origin: left;
  transform: scaleX(.4); transition: transform .35s ease;
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow.on-dark { color: var(--cream); }

/* Card */
.card {
  background: var(--cream);
  border: 1px solid rgba(168,155,140,.25);
  border-radius: 4px;
  transition: border-color .25s ease, transform .35s ease, box-shadow .35s ease;
}
.card:hover { border-color: rgba(44,74,62,.5); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(26,31,27,.25); }

/* Marquee */
.marquee { display: flex; animation: marquee 50s linear infinite; gap: 64px; padding-right: 64px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Number ticker */
.stat-num { font-feature-settings: "tnum" 1, "lnum" 1; }

/* Before/after slider */
.ba-wrap { position: relative; overflow: hidden; user-select: none; touch-action: none; }
.ba-wrap img { display: block; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--ba, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba, 50%);
  width: 2px; background: var(--cream);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.ba-knob {
  position: absolute; top: 50%; left: var(--ba, 50%);
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--cream);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  pointer-events: none;
  color: var(--forest);
}
.ba-tag {
  position: absolute; top: 16px;
  font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  background: rgba(26,31,27,.7); color: var(--cream);
  padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Process step number */
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-style: italic;
  color: var(--sun);
  font-size: 14px; letter-spacing: 0.05em;
}

/* Soft fade edge for marquee */
.fade-edges {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}

/* Underline link */
.u-link { position: relative; }
.u-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s ease;
}
.u-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Map markers pulse */
@keyframes pulse-ring {
  0% { transform: scale(.6); opacity: .6; }
  100% { transform: scale(2.2); opacity: 0; }
}
.pulse-ring { transform-origin: center; animation: pulse-ring 2.4s ease-out infinite; }

/* Hero parallax */
.hero-img { will-change: transform; }

/* Section spacing */
.section { padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }
@media (min-width: 1024px) { .section { padding: 160px 0; } }

/* Container */
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container-wide { padding: 0 48px; } }
@media (min-width: 1280px) { .container-wide { padding: 0 64px; } }

/* Vertical rule */
.v-rule { width: 1px; background: rgba(26,31,27,.12); }
.v-rule.on-dark { background: rgba(245,241,232,.18); }

/* Focus rings */
*:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

/* Skip link */
.skip-link { position: fixed; top: -100px; left: 16px; padding: 10px 16px; background: var(--forest); color: var(--cream); border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 16px; }

/* Showcase active dot */
.dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(245,241,232,.3); transition: all .35s ease; border: 0; padding: 0; cursor: pointer; }
.dot.active { background: var(--sun); width: 28px; }
.dot-dark { background: rgba(168,155,140,.4); }
.dot-dark.active { background: var(--forest); }

/* Service-pill (contact form) */
.svc-pill {
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(245,241,232,.25);
  background: transparent;
  color: rgba(245,241,232,.85);
  cursor: pointer;
  transition: all .2s ease;
  font-family: 'Inter', sans-serif;
}
.svc-pill:hover { border-color: var(--sun); color: var(--cream); }
.svc-pill.active { background: var(--sun); color: var(--forest); border-color: var(--sun); }

/* Form input */
.form-input {
  width: 100%; background: transparent;
  padding: 12px 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  border: 0;
  border-bottom: 1px solid rgba(245,241,232,.25);
  color: var(--cream);
  outline: none;
  transition: border-color .25s ease;
}
.form-input:focus { border-bottom-color: var(--sun); }
.form-input::placeholder { color: rgba(245,241,232,.35); font-style: italic; }
textarea.form-input { resize: none; }

/* Floating action */
.floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.4);
}
.floating-cta.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Lightbox-trigger focus state (used on portfolio.html) */
[data-lightbox]:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }

/* Native [hidden] must beat Tailwind display utilities (fixes lightbox-on-load on portfolio) */
[hidden] { display: none !important; }

/* Brand-color utilities — explicit fallback in case Tailwind CDN's config
   doesn't apply (which is intermittent on these pages). Ensures text/bg
   colors work whether Tailwind picks up the config or not. */
.text-cream { color: var(--cream); }
.text-cream\/80 { color: rgba(245, 241, 232, 0.8); }
.text-cream\/85 { color: rgba(245, 241, 232, 0.85); }
.text-cream\/90 { color: rgba(245, 241, 232, 0.9); }
.text-cream\/60 { color: rgba(245, 241, 232, 0.6); }
.text-ink { color: var(--ink); }
.text-forest { color: var(--forest); }
.text-bark { color: var(--bark); }
.text-sun { color: var(--sun); }
.text-sun-soft { color: var(--sun-soft); }
.text-moss { color: var(--moss); }
.text-stone { color: var(--stone); }
.text-stone\/80 { color: rgba(168, 155, 140, 0.8); }
.bg-cream { background-color: var(--cream); }
.bg-cream-warm { background-color: var(--cream-warm); }
.bg-paper { background-color: var(--paper); }
.bg-forest { background-color: var(--forest); }
.bg-forest\/40 { background-color: rgba(44, 74, 62, 0.4); }
.bg-bark { background-color: var(--bark); }
.bg-ink { background-color: var(--ink); }
.bg-ink\/40 { background-color: rgba(26, 31, 27, 0.4); }
.bg-ink\/55 { background-color: rgba(26, 31, 27, 0.55); }
.bg-ink\/65 { background-color: rgba(26, 31, 27, 0.65); }
.bg-ink\/75 { background-color: rgba(26, 31, 27, 0.75); }
.bg-ink\/80 { background-color: rgba(26, 31, 27, 0.8); }
.bg-ink\/85 { background-color: rgba(26, 31, 27, 0.85); }
.bg-stone { background-color: var(--stone); }
.bg-moss { background-color: var(--moss); }
.bg-sun { background-color: var(--sun); }
.border-forest { border-color: var(--forest); }
.border-forest\/30 { border-color: rgba(44, 74, 62, 0.3); }
.border-forest\/40 { border-color: rgba(44, 74, 62, 0.4); }
.border-stone { border-color: var(--stone); }
.border-stone\/20 { border-color: rgba(168, 155, 140, 0.2); }
.border-stone\/30 { border-color: rgba(168, 155, 140, 0.3); }
.hover\:bg-bark:hover { background-color: var(--bark); }
.hover\:bg-forest:hover { background-color: var(--forest); }
.hover\:text-forest:hover { color: var(--forest); }
.hover\:border-forest:hover { border-color: var(--forest); }
.hover\:bg-stone\/15:hover { background-color: rgba(168, 155, 140, 0.15); }
.hover\:bg-stone\/10:hover { background-color: rgba(168, 155, 140, 0.1); }
.focus-visible\:ring-sun:focus-visible { --tw-ring-color: var(--sun); box-shadow: 0 0 0 2px var(--sun); }

/* ============================================================ */
/* Polished site-nav — shared across every page                 */
/* (was inline in index.html; lifted here so all pages match)   */
/* ============================================================ */

#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 500ms ease, border-color 500ms ease, height 400ms ease, backdrop-filter 500ms ease;
}
/* Override container-wide's 1320px cap on the nav so it can use the full
   viewport at desktop widths (otherwise space-between pushes the right group
   past the cap). */
#site-nav .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 92px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 20px;
  transition: height 400ms ease;
}
@media (min-width: 768px) { #site-nav .nav-row { padding: 0 32px; } }
@media (min-width: 1024px) { #site-nav .nav-row { gap: 20px; height: 104px; padding: 0 40px; } }
@media (min-width: 1280px) { #site-nav .nav-row { gap: 28px; height: 124px; padding: 0 56px; } }
@media (min-width: 1536px) { #site-nav .nav-row { gap: 40px; height: 158px; padding: 0 64px; } }
@media (min-width: 1920px) { #site-nav .nav-row { gap: 56px; height: 174px; padding: 0 80px; } }

#site-nav.is-scrolled {
  background: rgba(245,241,232,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(168,155,140,.22);
}
#site-nav.is-scrolled .nav-row { height: 76px; }
@media (min-width: 1024px) { #site-nav.is-scrolled .nav-row { height: 84px; } }
@media (min-width: 1280px) { #site-nav.is-scrolled .nav-row { height: 96px; } }
@media (min-width: 1536px) { #site-nav.is-scrolled .nav-row { height: 122px; } }
@media (min-width: 1920px) { #site-nav.is-scrolled .nav-row { height: 138px; } }

.nav-link, .nav-meta {
  color: var(--cream);
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
  transition: color 350ms ease, text-shadow 350ms ease;
}
#site-nav.is-scrolled .nav-link, #site-nav.is-scrolled .nav-meta { color: var(--ink); text-shadow: none; }
.nav-meta-divider { color: rgba(245,241,232,.6); }
#site-nav.is-scrolled .nav-meta-divider { color: var(--stone); }

.nav-logo-mark {
  background: var(--cream);
  border: 1px solid rgba(245,241,232,.35);
  box-shadow: 0 2px 18px rgba(0,0,0,.35);
  width: 40px; height: 40px;
  transition: width 400ms ease, height 400ms ease, border-color 350ms ease, box-shadow 350ms ease;
}
@media (min-width: 1024px) { .nav-logo-mark { width: 44px; height: 44px; } }
@media (min-width: 1280px) { .nav-logo-mark { width: 52px; height: 52px; } }
@media (min-width: 1536px) { .nav-logo-mark { width: 60px; height: 60px; } }
@media (min-width: 1920px) { .nav-logo-mark { width: 64px; height: 64px; } }
@media (min-width: 2200px) { .nav-logo-mark { width: 72px; height: 72px; } }
#site-nav.is-scrolled .nav-logo-mark { border-color: rgba(168,155,140,.22); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.nav-logo-wordmark {
  color: var(--cream);
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
  font-size: 17px; letter-spacing: -0.005em;
  transition: color 350ms ease, text-shadow 350ms ease;
}
@media (min-width: 1024px) { .nav-logo-wordmark { font-size: 18px; } }
@media (min-width: 1280px) { .nav-logo-wordmark { font-size: 20px; } }
@media (min-width: 1536px) { .nav-logo-wordmark { font-size: 24px; } }
@media (min-width: 1920px) { .nav-logo-wordmark { font-size: 28px; } }
@media (min-width: 2200px) { .nav-logo-wordmark { font-size: 33px; } }
#site-nav.is-scrolled .nav-logo-wordmark { color: var(--ink); text-shadow: none; }

.nav-logo-sub {
  color: rgba(245,241,232,.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  font-size: 11px;
  display: none;
  transition: color 350ms ease, text-shadow 350ms ease;
}
@media (min-width: 2200px) { .nav-logo-sub { display: inline-block; font-size: 13px; } }
#site-nav.is-scrolled .nav-logo-sub { color: var(--stone); text-shadow: none; }

#site-nav .nav-links { font-size: 13px; gap: 14px; }
@media (min-width: 1024px) { #site-nav .nav-links { font-size: 13px; gap: 16px; } }
@media (min-width: 1280px) { #site-nav .nav-links { font-size: 14px; gap: 20px; } }
@media (min-width: 1536px) { #site-nav .nav-links { font-size: 16px; gap: 28px; } }
@media (min-width: 1920px) { #site-nav .nav-links { font-size: 17px; gap: 36px; } }
@media (min-width: 2200px) { #site-nav .nav-links { font-size: 19px; gap: 44px; } }

.nav-cta {
  background: var(--cream); color: var(--forest);
  transition: background 350ms ease, color 350ms ease;
}
.nav-cta-btn { font-size: 12px; padding: 8px 14px; gap: 6px; }
.nav-cta-btn svg { width: 14px; height: 14px; }
@media (min-width: 1024px) { .nav-cta-btn { font-size: 12px; padding: 9px 14px; gap: 6px; } }
@media (min-width: 1280px) { .nav-cta-btn { font-size: 13px; padding: 10px 18px; gap: 8px; } }
@media (min-width: 1536px) { .nav-cta-btn { font-size: 14px; padding: 12px 20px; gap: 10px; } .nav-cta-btn svg { width: 16px; height: 16px; } }
@media (min-width: 1920px) { .nav-cta-btn { font-size: 16px; padding: 14px 24px; gap: 12px; } }
@media (min-width: 2200px) { .nav-cta-btn { font-size: 18px; padding: 18px 30px; gap: 14px; } .nav-cta-btn svg { width: 18px; height: 18px; } }
#site-nav.is-scrolled .nav-cta { background: var(--forest); color: var(--cream); }
#site-nav.is-scrolled .nav-cta:hover { background: var(--bark); }

/* Google rating + phone — only at 2200+ where there's truly room */
.nav-google-pill { display: none; font-size: 16px; }
@media (min-width: 2200px) { .nav-google-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; } }

/* Social icons — at 1536+ */
.nav-socials-group { display: none; }
@media (min-width: 1536px) { .nav-socials-group { display: inline-flex; align-items: center; gap: 6px; } }

/* Smaller social icon button below 2200 */
@media (max-width: 2199px) { .nav-social { width: 34px; height: 34px; } .nav-social svg { width: 16px; height: 16px; } }

.nav-social {
  color: var(--cream);
  border-color: rgba(245,241,232,.55);
  background: rgba(26,31,27,.25);
  backdrop-filter: blur(2px);
}
#site-nav.is-scrolled .nav-social {
  color: var(--ink);
  border-color: rgba(31,53,40,.25);
  background: transparent;
  backdrop-filter: none;
}

/* nav-solid: pages without a dark hero — nav is always solid + sticky, never transparent */
body.nav-solid #site-nav {
  position: sticky;
  background: rgba(245,241,232,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(168,155,140,.22);
}
body.nav-solid #site-nav .nav-row { height: 92px; }
@media (min-width: 1280px) { body.nav-solid #site-nav .nav-row { height: 110px; } }
@media (min-width: 1536px) { body.nav-solid #site-nav .nav-row { height: 138px; } }
body.nav-solid #site-nav .nav-link,
body.nav-solid #site-nav .nav-meta { color: var(--ink); text-shadow: none; }
body.nav-solid #site-nav .nav-meta-divider { color: var(--stone); }
body.nav-solid #site-nav .nav-logo-mark { border-color: rgba(168,155,140,.22); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
body.nav-solid #site-nav .nav-logo-wordmark { color: var(--ink); text-shadow: none; }
body.nav-solid #site-nav .nav-logo-sub { color: var(--stone); text-shadow: none; }
body.nav-solid #site-nav .nav-cta { background: var(--forest); color: var(--cream); }
body.nav-solid #site-nav .nav-cta:hover { background: var(--bark); }
body.nav-solid #site-nav .nav-social { color: var(--ink); border-color: rgba(31,53,40,.25); background: transparent; backdrop-filter: none; }
