/* ---------- Variables ---------- */
:root{
  --green-1:#0e7a3a;
  --green-2:#25a04a;
  --green-3:#b7e4c7;
  --ink:#111;
  --muted:#5b6770;
  --white:#fff;
  --radius:18px;
  --shadow:0 10px 28px rgba(0,0,0,.12);

  /* iOS notch safe-area insets */
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  /* mobile header height */
  --header-h: 64px;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:'Poppins', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans";
  color:var(--ink);
  background:#f5fff7;
}
a{ color:var(--green-1); text-decoration-thickness:2px; text-decoration: none; }
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  padding-left:max(16px,var(--safe-left));
  padding-right:max(16px,var(--safe-right));
}

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(120%) blur(6px);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.7));
  border-bottom:1px solid rgba(0,0,0,.06);
}
.nav{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:10px 0;
  min-height:var(--header-h);
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; white-space:nowrap;
}
.brand img{ width:32px; height:32px; object-fit:cover; border-radius:50%;}
.brand span{ font-size:18px; }
.brand .accent{ font-size: 14px; color:var(--green-1); }

.menu{
  display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end;
}
.menu a{ padding:8px 10px; border-radius:999px; font-weight:600; }
.menu a:hover{ background:var(--green-3); }

.hamburger{
  display:none; border:1px solid #e1efe6; background:#fff;
  border-radius:12px; padding:8px 12px; font-weight:800; cursor:pointer;
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(180deg, #cbefff, #e9fff1 55%);
  border-bottom:1px solid #e5f6ea;
}
.hero-grid{
  display:grid; grid-template-columns:1.1fr 1fr;
  gap:28px; align-items:center; padding:46px 20px 24px;
}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  background:var(--white); border:1px solid #e7f3ea;
  padding:6px 10px; border-radius:999px; box-shadow:var(--shadow);
}
.kicker .dot{ width:8px; height:8px; border-radius:50%; background:var(--green-1); }
h1{ font-size:clamp(26px,5vw,48px); line-height:1.05; margin:10px 0 12px; }
.lead{ font-size:clamp(15px,2.2vw,19px); color:var(--muted); max-width:60ch; }
.badges{ display:flex; gap:8px; margin:14px 0 18px; flex-wrap:wrap; }
.badge{
  background:var(--white); color:var(--ink); border:1px solid #e7f3ea;
  padding:6px 10px; border-radius:999px; font-weight:700; box-shadow:var(--shadow);
}
.cta{ display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
.btn{ border:0; cursor:pointer; font-weight:800; border-radius:999px; padding:12px 18px; box-shadow:var(--shadow); display:inline-flex; align-items:center; gap:10px; }
.btn-primary{ background:linear-gradient(135deg, var(--green-1), var(--green-2)); color:#fff; }
.btn-ghost{ background:#ffffffd9; }

/* Hero image */
.hero-media{ position:relative; height:360px; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; background:#eaf7ec; }
.hero-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-media .caption{
  position:absolute; bottom:10px; right:10px;
  background:#ffffffcc; padding:6px 10px; border-radius:999px; font-size:12px; border:1px solid #e0efe6;
}

/* ---------- Sections ---------- */
section{ padding:48px 0; }
.section-title{ font-size:clamp(22px,3.4vw,34px); margin:0 0 12px; }
.section-sub{ color:var(--muted); margin:0 0 22px; }

/* ---------- Services ---------- */
.grid{ display:grid; gap:16px; }
@media (min-width: 800px){ .grid.cols-3{ grid-template-columns:repeat(3,1fr); } }
@media (min-width: 600px){ .grid.cols-2{ grid-template-columns:repeat(2,1fr); } }

.card{
  background:#fff; border:1px solid #e7f3ea; border-radius:var(--radius);
  padding:16px; box-shadow:var(--shadow); transition:.2s transform ease;
}
.card:hover{ transform:translateY(-4px); }
.card .head{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.card .head img{ width:34px; height:34px; }

/* ---------- Gallery ---------- */
.gallery{ display:grid; gap:10px; grid-template-columns:repeat(2, 1fr); }
@media (min-width: 680px){ .gallery{ grid-template-columns:repeat(3, 1fr); } }
@media (min-width: 1040px){ .gallery{ grid-template-columns:repeat(4, 1fr); } }

figure {
  margin: 0;
}

.tile{
  position:relative; border-radius:14px; overflow:hidden;
  border:1px solid #e7f3ea; box-shadow:var(--shadow); cursor:pointer; background:#fff;
}
.tile img{ width:100%; height:180px; object-fit:cover; display:block; }
@media (min-width: 680px){ .tile img{ height:200px; } }
@media (min-width: 1040px){ .tile img{ height:220px; } }
.tile .label{
  position:absolute; left:8px; bottom:8px;
  background:#0008; color:#fff; padding:6px 10px; border-radius:999px; font-size:12px;
}

/* ---------- Lightbox ---------- */
.lightbox{ position:fixed; inset:0; background:rgba(0,0,0,.7); display:none; place-items:center; z-index:100; }
.lightbox.open{ display:grid; }
.lightbox .content{ max-width:min(1100px, 92vw); max-height:82vh; background:#fff; border-radius:16px; overflow:hidden; box-shadow:var(--shadow); }
.lightbox .content img{ width:100%; height:100%; object-fit:contain; background:#000; }
.lightbox .close{ position:absolute; top:18px; right:18px; background:#fff; border:1px solid #eee; border-radius:999px; padding:8px 12px; font-weight:800; cursor:pointer; }

/* ---------- Contact ---------- */
.contact{ display:grid; gap:16px; }
@media (min-width: 900px){ .contact{ grid-template-columns:1.2fr 1fr; } }
.hint{ font-size:14px; color:var(--muted); }

/* ---------- Footer ---------- */
footer{
  padding: 20px;
  margin-top:20px;
  background:linear-gradient(180deg, #e8f5e9 0, #f1f8e9 100%);
  border-top:1px solid #e7f3ea;
}
.foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 0; flex-wrap:wrap; }
.small{ font-size:14px; color:var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(16px); transition:.5s ease; }
.reveal.visible{ opacity:1; transform:none; }

/* ---------- Mobile nav drawer ---------- */
header .nav{ min-height:var(--header-h); }

@media (max-width: 860px){
  .hamburger{ display:inline-flex; justify-self:end; margin-left:auto; z-index:70; }
  /* Drawer hidden by default */
  .menu{
    display:none;
    position:fixed; left:0; right:0;
    top:calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background:#fff;
    padding:14px max(16px, var(--safe-right)) 18px max(16px, var(--safe-left));
    flex-direction:column; gap:12px;
    border-bottom:1px solid #e7f3ea;
    box-shadow:0 14px 30px rgba(0,0,0,.12);
    z-index:60;
  }
  .menu a{ padding:10px 6px; border-radius:10px; font-weight:700; }
  .menu a:active{ background:#f3faf5; }
  /* Shown when toggled */
  .menu.open{ display:flex; }

  /* brand text prevents wrapping that would push button */
  .brand span{ font-size: clamp(16px, 4.2vw, 18px); line-height:1.15; }
  .brand div{display:flex;align-items:center; width: 100%; flex-wrap: wrap; gap: 5px;}


  /* lock page scroll when drawer/lightbox open */
  body.no-scroll{ overflow:hidden; }

  /* hero becomes one column */
  .hero-grid{ grid-template-columns:1fr; padding:28px 16px; }
}

/* Extra-narrow phones */
@media (max-width: 430px){
  header .container{
    padding-left:max(12px,var(--safe-left));
    padding-right:max(12px,var(--safe-right));
  }
  .brand img{ width:24px; height:24px; }
  .brand span{ font-size:16px; }
}


/* Map & Reviews */
.map-grid{
  display:grid; gap:16px; align-items:start;
  grid-template-columns: 1.3fr 1fr;
}
@media (max-width: 900px){
  .map-grid{ grid-template-columns:1fr; }
}
.map-embed{
  border-radius:16px; overflow:hidden;
  border:1px solid #e7f3ea; box-shadow:var(--shadow);
  /* Keep the map proportion nicely; fallback if aspect-ratio unsupported handled by height */
  aspect-ratio: 16 / 9;
}
.map-embed iframe{
  width:100%; height:100%; border:0; display:block;
}
.map-cta.card p{ margin:8px 0; }

.qr-box{
  margin-top:14px; display:flex; align-items:center; gap:12px;
}
.qr-hint{ font-size:12px; color:var(--muted); }