/* =========================
   VARIABLES
========================= */
:root{
  --bg-main: rgba(180, 207, 169, 0.626);
  --bg-light: #95caa6e2;
  --bg-card: rgba(160, 210, 193, 0.779);
  --text-main: #2b2b2b;
  --muted: #6b6b6b;
  --accent: #2f6f5e;
  --accent-soft: #b1dabee2;
}

/* =========================
   RESET
========================= */
*{
  box-sizing: border-box;
}

html,body{
  margin:0;
  padding:0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
}

/* =========================
   GLOBAL UTILS
========================= */
a{
  color: inherit;
  text-decoration: none;
}

.btn{
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f6f5e, #5fa68d);
  color: #fff;
  font-weight: 700;
  display: inline-block;
}

.btn.secondary{
  background: transparent;
  border: 1px solid rgba(0,0,0,0.25);
  color: var(--text-main);
}

/* =========================
   HOME BACKGROUND
========================= */
.page-home::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("../images/redwood-roots.jpg") center/cover no-repeat;
}

.page-home::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at center, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
  pointer-events:none;
}

/* =========================
   SCROLL SNAP HOME
========================= */
.home-snap{
  min-height: 100vh;          /* ← CHANGE */
  overflow-y: visible;        /* ← CHANGE */
  scroll-snap-type: y mandatory;
  position: relative;
  z-index: 2;
}

/* =========================
   NAV PANELS
========================= */
.nav-panel{
  min-height:100vh;
  scroll-snap-align:start;
  display:grid;
  place-items:center;
  padding:2.5rem 1.5rem;
}

.nav-panel.neutral{
  background: rgba(180, 207, 169, 0.70);
  backdrop-filter: blur(8px);
  border-radius:28px;
  border:1px solid rgba(0,0,0,0.06);
  margin:18px 14px;
  box-shadow: 0 18px 52px rgba(0,0,0,0.16);
}

.nav-panel.neutral:hover{
  background: rgba(180, 207, 169, 0.82);
  transform: translateY(-2px);
}


/* =========================
   INTRO (TRANSPARENT)
========================= */
.nav-panel.transparent{
  background: transparent;
  border:none;
  box-shadow:none;
  margin:0;
}

.hero-logo{
  width:min(360px,70vw);
  filter: drop-shadow(0 12px 36px rgba(0,0,0,0.55));
}

.brand-title{
  font-size:clamp(2rem,6vw,2.8rem);
  margin:.5rem 0;
  color:#fff;
  text-shadow:0 6px 28px rgba(0,0,0,0.55);
}

.sub.light{
  color: rgba(195, 255, 235, 0.90);
  text-shadow:0 6px 28px rgba(0,0,0,0.55);
}
/* Smaller intro logo size (prevents massive logo) */
.hero-logo-intro{
  display:block;
  width: min(220px, 70vw);
  height: auto;
  filter: none; /* the veil already adds depth */
}
/* Intro slide: calmer spacing */
.nav-panel.transparent{
  padding: 3.5rem 1.5rem; /* a touch more breathing room */
}

/* =========================
   PANEL CONTENT
========================= */
.panel-inner{
  width:min(900px,92vw);
}

.eyebrow{
  font-size:.75rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800;
}

.panel-hint{
  margin-top:14px;
  font-weight:800;
  color:var(--accent);
}

/* =========================
   SCROLL INDICATOR
========================= */
.scroll-cue{
  width:34px;
  height:56px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.6);
  display:grid;
  place-items:center;

  margin-top: 4px;   /* controls distance from subtitle */
}

.scroll-dot{
  width:6px;
  height:6px;
  background:#fff;
  border-radius:999px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot{
  0%{transform:translateY(-10px);opacity:0}
  40%{opacity:1}
  70%{transform:translateY(12px)}
  100%{opacity:0}
}

/* =========================
   FEATURED IMAGE
========================= */
.featured-media{
  margin-top:1rem;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.1);
}

.featured-media img{
  width:100%;
  display:block;
}

/* =========================
   INNER PAGES
========================= */
.page-inner main{
  max-width:1000px;
  margin:0 auto;
  padding:4rem 1.5rem;
}

.page-inner h1{
  margin-top:0;
}
/* Home page: let the fixed background show through */
.page-home{ 
  background: transparent !important;
}
/* Slide 1 stays transparent (prevents card styling) */
.nav-panel.transparent{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  transform: none !important;
}

/* Logo size: controlled (prevents massive logo) */
.hero-logo-img{
  display:block;
  width: min(300px, 70vw);
  height: auto;
}

/* CAP logo size ONLY on slide 1 (prevents “massive logo”) */
.nav-panel.transparent .hero-logo{
  width: min(300px, 70vw) !important;
  height: auto !important;
  display: block !important;
}
/* FORCE center alignment on intro slide */
.panel-inner.center{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  text-align:center !important;
  gap: 14px;
}
/* HERO VEIL — real fade (no box fill) */
.nav-panel.transparent .hero-veil{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 22px 26px;
  border-radius: 32px;

  /* IMPORTANT: remove the box look */
  background: transparent;
  border: none;
  box-shadow: none;

  /* keeps the blur layer contained */
  overflow: visible;

  /* forces consistent rendering on Windows browsers */
  transform: translateZ(0);
}

/* This is the fade — it extends beyond the edges */
.nav-panel.transparent .hero-veil::before{
  content:"";
  position:absolute;
  inset:-120%;              /* HUGE so edges dissolve outward */
  pointer-events:none;

  background: radial-gradient(
    ellipse at center,
    rgba(189, 248, 228, 0.779) 0%,
    rgba(240,236,230,0.42) 22%,
    rgba(240,236,230,0.18) 42%,
    rgba(240,236,230,0.00) 66%
  );

  filter: blur(48px);       /* this is what softens corners */
  opacity: 0.95;
}

/* keep logo above the fade */
.nav-panel.transparent .hero-veil > *{
  position: relative;
  z-index: 1;
}
/* ===== Premium layout: Services ===== */
/* ===== Pricing text fix ===== */
.price{
  font-weight: 700;
  margin: 6px 0 12px;
}
.price span{
  font-weight: 400;
  opacity: 0.7;
}
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 18px;
}
/* MAIN PACKAGES ONLY — 2-up, centered */
.section > .content > .pricing-grid:first-of-type{
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  justify-content: center;
}
/* ADD-ONS ONLY — balanced 2x2 layout */
.section > .content > .pricing-grid:not(:first-of-type){
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card{
  border-radius: 22px;
  padding: 22px 20px;
  background: rgba(255,255,255,0.40);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 52px rgba(0,0,0,0.10);
  backdrop-filter: blur(10px);
}

.pricing-stripe{
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32,90,70,0.85), rgba(32,90,70,0.25), rgba(32,90,70,0));
  margin-bottom: 10px;
}

.pricing-price{
  font-weight: 700;
  margin: 6px 0 12px;
}

.pricing-price span{
  font-weight: 400;
  opacity: 0.7;
}

.how-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 16px;
}

.how-card{
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 52px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

@media (max-width: 980px){
  .pricing-grid, .how-grid{ grid-template-columns: 1fr; }
}
.cta-center {
  display: flex;
  justify-content: center;
  margin: 3rem 0 1rem;
}
.page-inner .hero .content {
  text-align: center;
}
.page-inner h2,
.page-inner .sub {
  text-align: center;
}
.hero .btn {
  margin-bottom: 2rem;
  padding: 0.6rem 1.2rem;
}
/* ===== Neutral pages: consistent hero alignment + spacing ===== */
.page-inner .hero{
  padding-top: 2.25rem;
  padding-bottom: 1.25rem;
}

.page-inner .hero .content{
  text-align: center;
}

.page-inner .hero .btn{
  display: inline-flex;
  margin: 0 auto 1.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
}

/* Keep section headings centered on neutral pages */
.page-inner h2,
.page-inner .sub{
  text-align: center;
}

/* Optional: ensure divider spacing looks premium */
.page-inner .divider{
  margin: 2.25rem 0;
}
/* ===== FAQ Accordion (functional) ===== */
.faq details{
  border-radius: 18px;
  margin: 12px 0;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 52px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq summary{
  cursor: pointer;
  padding: 16px 18px;
  list-style: none; /* removes default triangle in some browsers */
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  position: relative;
  z-index: 2; /* ensures it's clickable */
}

.faq summary::-webkit-details-marker{
  display:none;
}

.faq summary::after{
  content: "＋";
  font-weight: 700;
  opacity: 0.7;
}

.faq details[open] summary::after{
  content: "—";
}

.faq details p{
  padding: 0 18px 16px;
  margin: 0;
  opacity: 0.85;
  line-height: 1.55;
}
@media (max-width: 768px){
  .nav-panel{
    min-height: 50vh;        /* still tall, just not obnoxious */
    padding: 2rem 1.25rem;
  }

  .nav-panel.neutral{
    margin: 14px 10px;
  }
}
@media (max-width: 768px){
  .nav-panel:first-child{
    min-height: 75vh;
  }
}
/* =========================
   FLOATING ORB SYSTEM (HOME SCROLL)
   TRUE mist orbs (no layered slabs)
========================= */

.orb{
  position: relative;
  width: min(590px, 90vw);

  /* make it circular */
  aspect-ratio: 1 / 1;
  border-radius: 50%;

  display: grid;
  place-items: center;
  text-align: center;

  padding: 3rem 2.4rem;

  /* subtle readable surface, NOT a box */
  background: radial-gradient(
    circle at center,
    rgba(245, 248, 246, 0.72) 0%,
    rgba(245, 248, 246, 0.38) 45%,
    rgba(245, 248, 246, 0.12) 65%,
    rgba(245, 248, 246, 0.00) 78%
  );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* soft glow (mist) */
  box-shadow:
    0 0 80px rgba(180, 235, 210, 0.25),
    0 0 150px rgba(130, 190, 165, 0.18);

  /* IMPORTANT: dissolves edge so it never looks like a “circle sticker” */
  -webkit-mask-image: radial-gradient(circle at center,
    rgba(0,0,0,1) 90%,
    rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(circle at center,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0) 100%);
}

/* drift alignment (desktop) */
.float-left{   margin-right: auto; margin-left: 6vw; }
.float-center{ margin-left: auto;  margin-right: auto; }
.float-right{  margin-left: auto;  margin-right: 6vw; }


/* =========================
   HOME: REMOVE GREEN PAGE PAINT + PANEL SLABS
   (Forest becomes the true base layer)
========================= */

/* Your global rule paints everything green:
   html,body { background: var(--bg-main); }
   So we override it ONLY on the home page */
body.page-home{
  background: transparent !important;
}

/* If your browser still shows green around edges,
   it’s the html element. This is safe. */
html{
  background: transparent !important;
}

/* Kill the big green "neutral panel" slabs on HOME only.
   Keep intro slide as-is. */
.page-home .nav-panel.neutral{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
/* =========================
   HOME: NO BLUR / NO BACKDROP FILTER (pure orbs)
========================= */

/* Disable ALL backdrop filters on the homepage to remove wobbly/glitchy blur */
.page-home *,
.page-home *::before,
.page-home *::after{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Also disable any filter blur/drop-shadow that might look like distortion */
.page-home .nav-panel,
.page-home .nav-panel.neutral{
  filter: none !important;
}
/* =========================
   ORB CTA LINK (arrow fix)
========================= */

/* mobile: slightly larger so it doesn’t disappear */
@media (max-width: 768px){
  .orb .orb-cta{
    font-size: 1rem;
    margin-top: 16px;
  }
}
.orb .orb-cta{
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;

  font-weight: 800;
  font-size: 1.35rem;        /* TEXT SIZE */
  letter-spacing: 0.02em;

  color: rgba(20,40,30,0.9);

  position: relative;
  z-index: 3;
}

.orb .orb-cta::after{
  content: "→";
  font-size: 3.1rem;         /* ARROW SIZE */
  line-height: 1;
  transition: transform 0.25s ease;
}

a:hover .orb .orb-cta::after{
  transform: translateX(6px);
}
@media (max-width: 768px){

  /* Make the intro logo BIGGER */
  .nav-panel.transparent .hero-logo,
  .nav-panel.transparent img,
  .hero-logo-img{
    width: min(720px, 120vw) !important;
    max-width: 120vw !important;
    height: auto !important;
  }

  /* Make orbs bigger */
  .orb{
    width: 98vw !important;
    padding: 47px 26px !important;
  }

  /* More mist = less “circle edge” */
  .orb::before{
    inset: -190% !important;
    filter: blur(84px) !important;
    opacity: 0.95 !important;
  }

  .orb::after{
    inset: -140% !important;
    filter: blur(110px) !important;
    opacity: 0.75 !important;
  }

  /* Make orb title readable */
  .orb h1{
    font-size: clamp(2.1rem, 7vw, 2.7rem) !important;
  }

  /* Make arrow bigger */
  .panel-hint{
    font-size: 1.6rem !important;
  }
}
@media (max-width: 768px){
  .orb{
    width: 100vw !important;
    max-width: 100vw !important;
    aspect-ratio: auto !important;
    padding: 5.5rem 2.4rem !important;
  }

  .orb h1{
    font-size: clamp(2.4rem, 9vw, 3.2rem) !important;
  }

  .panel-hint,
  .orb-cta{
    font-size: 1.8rem !important;
  }

  /* intro logo — noticeably bigger */
  .nav-panel.transparent .hero-logo,
  .hero-logo-img,
  .hero-logo-intro{
    width: 88vw !important;
    max-width: 88vw !important;
  }
}
/* =========================
   HERO LOGO — COMMAND THE PAGE
========================= */

/* Kill ALL previous logo sizing logic */
.hero-logo,
.hero-logo-img,
.hero-logo-intro,
.nav-panel.transparent .hero-logo,
.nav-panel.transparent img{
  width: 55vw !important;      /* DESKTOP DEFAULT */
  max-width: 640px !important;
  height: auto !important;
}

/* Mobile: make it BIG and intentional */
@media (max-width: 768px){
  .hero-logo,
  .hero-logo-img,
  .hero-logo-intro,
  .nav-panel.transparent .hero-logo,
  .nav-panel.transparent img{
    width: 88vw !important;    /* THIS is the magic */
    max-width: 88vw !important;
  }
}
/* =========================
   INTRO SLIDE — TIGHTEN VERTICAL SPACING
========================= */

/* Reduce overall padding on the intro panel */
.nav-panel.transparent{
  padding-top: 2.25rem !important;
  padding-bottom: 2rem !important;
}

/* Tighten spacing between logo + text */
.nav-panel.transparent .panel-inner.center{
  gap: 10px !important;
}

/* Slightly pull subtitle upward */
.nav-panel.transparent .sub{
  margin-top: 0.25rem !important;
}
html, body{
  overflow-x: hidden !important;
}
.page-home, .home-snap{
  overflow-x: hidden !important;
}
/* =========================
   INTRO SLIDE: KEEP SUBTITLE + SCROLL CUE ABOVE FOLD
========================= */

/* Reduce vertical padding on the intro slide so everything fits */
.nav-panel.transparent{
  padding: 1.25rem 1rem !important;
  min-height: 100vh;
}

/* Make the intro stack tighter */
.nav-panel.transparent .panel-inner.center{
  gap: 8px !important;
}

/* Make sure the fade/veil isn't adding huge extra height */
.nav-panel.transparent .hero-veil{
  padding: 12px 16px !important;
}

/* Logo: big, but not "push everything off screen" */
.nav-panel.transparent .hero-logo,
.nav-panel.transparent .hero-logo-img,
.nav-panel.transparent img{
  width: min(480px, 86vw) !important;
  height: auto !important;
}

/* Subtitle: visible and closer */
.nav-panel.transparent .sub.light{
  margin-top: -80px !important;     /* PULL UP */
  margin-bottom: 2px !important;   /* TIGHTEN */
  font-size: 1.05rem !important;
  display: block !important;
}

/* Scroll cue: always visible and centered */
.nav-panel.transparent .scroll-cue{
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  opacity: 0.95;
}
/* =========================
   MOBILE HOTFIX: 1 slide per screen + sane orb size
   Paste at very bottom of style.css
========================= */
@media (max-width: 768px){

  /* 1) Make each panel take the full screen again (prevents 2 panels showing) */
  .home-snap{
    height: 100svh;
    height: 100dvh;
  }

  .nav-panel{
    min-height: 100svh !important;
    min-height: 100dvh !important;
    padding: 1.6rem 1.15rem !important;
  }

  /* 2) Orb: shrink + keep circular “mist” feel */
  .orb{
    width: min(420px, 78vw) !important; /* <-- key: not 96-100vw */
    aspect-ratio: 1 / 1 !important;
    padding: 2.2rem 1.8rem !important;
  }

  /* 3) Text inside orbs: reduce from “massive headline” */
  .orb h1{
    font-size: clamp(1.7rem, 7vw, 2.35rem) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
  }

  /* 4) Arrow/CTA spacing */
  .orb .orb-cta{
    margin-top: 14px !important;
  }
  .orb .orb-cta::after{
    font-size: 2.4rem !important;
  }
}
.template-preview{
  margin: 0.75rem 0 0.9rem;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.35);
}

.template-preview img{
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  opacity: 0.92;
}

/* Optional: subtle hover polish */
.template-card:hover .template-preview img{
  opacity: 1;
}
/* =========================
   LOGO SIZING — FINAL LOCK
========================= */

/* Home intro logo */
.page-home .hero-logo,
.page-home .hero-logo-img{
  width: min(640px, 55vw);
  height: auto;
}

/* Inner pages */
.page-inner .hero-logo,
.page-inner .hero-logo-img{
  width: 260px;
  height: auto;
}

/* Mobile */
@media (max-width: 768px){
  .page-home .hero-logo,
  .page-home .hero-logo-img{
    width: 88vw;
  }
}
/* =========================
   HOME INTRO — LOCKED
   Logo intentionally fills screen.
   Do not resize logo.
   Adjust spacing ONLY on subtitle or scroll cue.
========================= */

.page-home .nav-panel.transparent{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem !important;
}

/* tighten the vertical stack */
.page-home .nav-panel.transparent .panel-inner.center{
  gap: 6px !important;
}

/* reduce veil padding so it doesn’t add height */
.page-home .nav-panel.transparent .hero-veil{
  padding: 8px 12px !important;
}

/* keep scroll cue visible */
.page-home .nav-panel.transparent .scroll-cue{
  margin-top: 6px !important;
}
/* =========================
   CONTACT FORM
========================= */

.contact-form{
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label{
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form textarea{
  resize: vertical;
}

.contact-form button{
  margin-top: 12px;
  align-self: center;
}
/* =========================
   MOBILE FIX — ADD-ONS GRID
   Stack add-ons vertically
========================= */
@media (max-width: 768px){

  .pricing-grid{
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

}
.featured-media {
  width: 100%;
  max-width: 360px;        /* controls overall size */
  margin: 1rem auto 0;  /* centers + spacing */
  overflow: hidden;
  border-radius: 14px;    /* soft, premium edge */
}

.featured-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
