/* ============================================= */
/* === SHIMMER AND SHINE - COLOR PALETTE V1 === */
/* ============================================= */

:root {
  /* -- Primary Colors -- */
  --clr-sage: #d2e2d8;
  --clr-forest: #385b3f;

  /* -- Accent Colors -- */
  --clr-gold: #e5b45b;
  --clr-terracotta: #c75454;
  --clr-slate: #69869a;

  /* -- Neutral Colors -- */
  --clr-white: #f8f8f6;
  --clr-gray: #eef0f0;
  --clr-text: #333333;

  /* -- Shadows and Radii -- */
  --shadow-1: 0 2px 6px rgba(0,0,0,.06);
  --shadow-2: 0 6px 24px rgba(0,0,0,.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* -- Sizing and rhythm -- */
  --container: 1140px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;

  /* -- Font & Sizing -- */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* ============================================= */
/* ===            GLOBAL RESETS              === */
/* ============================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--clr-white);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 64px; /* room for mobile sticky bar */
}

img { max-width: 100%; display: block; height: auto; }

button, input, select, textarea { font-family: inherit; font-size: 100%; }

:focus-visible {
  outline: 3px solid var(--clr-slate);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================= */
/* ===        TYPOGRAPHY & CONTENT         === */
/* ============================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--clr-forest);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-4);
}

h1 { font-size: clamp(1.8rem, 2.4rem, 3rem); }
h2 { font-size: clamp(1.4rem, 1.8rem, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.25rem, 1.4rem); }

p { margin: 0 0 var(--space-5); font-size: 1rem; }

.muted { color: #6b7280; }
.small { font-size: .9rem; color: #6b7280; }
.lead { font-size: clamp(1.1rem, 1.25rem, 1.5rem); font-weight: 600; color: var(--clr-forest); }

/* Links */
a { color: var(--clr-slate); text-decoration: none; transition: color .2s ease-in-out; }
a:hover { color: var(--clr-terracotta); text-decoration: underline; }

/* Utilities */
.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--space-5); }
.flex { display: flex; }
.between { justify-content: space-between; }
.center-y { align-items: center; }
.center { text-align: center; }
.grid { display: grid; gap: var(--space-5); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards.two { grid-template-columns: repeat(2,1fr); } }

.bg-sage { background-color: var(--clr-sage); }
.text-center { text-align: center; }

/* ============================================= */
/* ===          BUTTONS & CTAs             === */
/* ============================================= */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; cursor: pointer; white-space: nowrap; border-radius: var(--radius-sm); border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; font-weight: 700; }

.btn-primary { padding: .75rem 1.75rem; font-size: 1rem; background-color: var(--clr-gold); color: var(--clr-forest); box-shadow: var(--shadow-1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

.btn-outline { padding: .6rem 1.2rem; font-size: .95rem; background: transparent; color: var(--clr-forest); border-color: var(--clr-forest); }
.btn-outline:hover { background: rgba(56,91,63,.08); }

.btn-ghost { padding: .6rem 1.2rem; font-size: .95rem; background: transparent; color: var(--clr-forest); }
.btn-ghost:hover { background: rgba(56,91,63,.08); }

.btn-small { padding: .5rem 1rem; font-size: .9rem; }
.btn-large { padding: .9rem 2rem; font-size: 1.05rem; }

/* Sticky mobile CTA bar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 6px; padding: 8px env(safe-area-inset-right) calc(8px + env(safe-area-inset-bottom)) env(safe-area-inset-left); background: rgba(248,248,246,.95); border-top: 1px solid var(--clr-gray); backdrop-filter: blur(10px); z-index: 999; }
.mobile-cta .btn { width: 100%; }
@media (min-width: 960px) { .mobile-cta { display: none; } body { padding-bottom: 0; } }

/* ============================================= */
/* ===             HEADER & NAV              === */
/* ============================================= */
/* === HEADER & NAV (clean) === */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-gray);
}
.header-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; }
.logo { display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--clr-forest); text-decoration:none; }
.logo img { width:24px; height:24px; display:block; }

.nav-toggle {
  display:none; background:transparent; border:1px solid var(--clr-gray);
  border-radius:8px; padding:6px 10px; color:var(--clr-forest);
}

/* desktop menu */
.nav-menu {
  margin:0; padding:0; list-style:none;
  display:flex; gap:18px; align-items:center;
}
.nav-menu li { list-style:none; margin:0; padding:0; }
.nav-menu a { color:var(--clr-forest); font-weight:600; text-decoration:none; padding:.5rem .75rem; border-radius:8px; }
.nav-menu a:hover { background:#f1f5f2; }
.nav-cta a { padding:8px 12px; }

/* mobile menu */
@media (max-width: 900px) {
  .nav-toggle { display:inline-block; }
  .nav { position:relative; }
  .nav-menu {
    position:absolute; right:0; top:calc(100% + 8px);
    display:none; flex-direction:column; align-items:stretch; gap:8px;
    min-width:220px; padding:10px; border:1px solid var(--clr-gray); border-radius:10px;
    background:#fff; box-shadow:var(--shadow-2); z-index:1100;
  }
  .nav-menu.open { display:flex; }
  .nav-menu a { padding:8px 10px; }
}
.review-list, .quick-links, .contact, .area, .why-us { list-style:none; padding-left:0; margin:0; }
/* NAV ALIGNMENT FIXES */
.site-header .header-row { min-height: 56px; padding: 8px 0; }

/* keep brand on one line and tighten baseline */
.site-header .logo { white-space: nowrap; }
.site-header .logo span { line-height: 1; display: inline-block; }

/* center the hamburger glyph in a square hit target */
#nav-toggle.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;              /* remove extra vertical padding */
  line-height: 1;          /* kill font baseline drift */
  font-size: 22px;         /* consistent visual weight */
  vertical-align: middle;
}

/* make sure the menu container does not push the header height */
.site-header .nav { display: block; }
/* Perfectly centered hamburger */
.nav-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; padding:0; border:1px solid var(--clr-gray);
  border-radius:8px; background:transparent; line-height:1; vertical-align:middle;
}
.nav-toggle .burger,
.nav-toggle .burger::before,
.nav-toggle .burger::after{
  content:""; display:block; position:absolute;
  width:22px; height:2px; background:var(--clr-forest); border-radius:2px;
  left:50%; transform:translateX(-50%);
}
.nav-toggle .burger{ position:relative; top:0; }
.nav-toggle .burger::before{ position:absolute; top:-7px; }
.nav-toggle .burger::after{ position:absolute; top:7px; }

/* Ensure the row centers everything */
.header-row{ display:flex; align-items:center; justify-content:space-between; min-height:56px; padding:8px 0; }
.logo span{ line-height:1; display:inline-block; }



/* ============================================= */
/* ===                 HERO                 === */
/* ============================================= */

.hero { background: linear-gradient(180deg, #ffffff 0%, #f3f7f4 100%); padding: var(--space-8) 0; }
.hero-grid { display: grid; gap: var(--space-6); align-items: center; }
.hero-copy .sub { color: #475569; max-width: 48ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-6) 0 var(--space-5); }
.trust-badges { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); color: #475569; }
.hero-media img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-2); object-fit: cover; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}

/* ============================================= */
/* ===         SERVICES SNAPSHOT             === */
/* ============================================= */

.services-snapshot { padding: var(--space-9) 0; background: var(--clr-white); }
.card { border: 1px solid var(--clr-gray); border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.card-media img { aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: var(--space-5); }
.card h3 { margin-bottom: var(--space-3); }

/* ============================================= */
/* ===              GALLERY CAROUSEL         === */
/* ============================================= */

.gallery { padding: var(--space-9) 0; background: #fafcfb; }
.section-head { margin-bottom: var(--space-5); }
.carousel { position: relative; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-1); background: #fff; }
.carousel-track { display: flex; transition: transform .4s ease; will-change: transform; }
.carousel-slide { min-width: 100%; opacity: .65; transition: opacity .3s ease; }
.carousel-slide.is-current { opacity: 1; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 1px solid var(--clr-gray); border-radius: 999px; width: 40px; height: 40px; display: grid; place-items: center; box-shadow: var(--shadow-1); cursor: pointer; }
.carousel-btn:hover { background: #fff; box-shadow: var(--shadow-2); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.more-photos { margin-top: var(--space-6); }
/* Portfolio grid - fix for mobile */
.grid.six,
.gallery-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* phones */
  gap: 12px;
}

@media (min-width: 640px) {
  .grid.six,
  .gallery-grid,
  .work-grid {
    grid-template-columns: repeat(3, 1fr);         /* small tablets */
  }
}

@media (min-width: 900px) {
  .grid.six,
  .gallery-grid,
  .work-grid {
    grid-template-columns: repeat(4, 1fr);         /* large tablets */
  }
}

@media (min-width: 1200px) {
  .grid.six,
  .gallery-grid,
  .work-grid {
    grid-template-columns: repeat(6, 1fr);         /* desktops */
  }
}
/* Uniform photo tiles */
.photo-card, .work-card, .gallery-grid li, .work-grid li {
  position: relative;
  aspect-ratio: 4 / 3;          /* change to 1 / 1 if you want squares */
  overflow: hidden;
  border-radius: 12px;
  background: var(--clr-gray);
}

.photo-card img, .work-card img, .gallery-grid img, .work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* fills without distortion */
  display: block;
}


/* ============================================= */
/* ===                PROCESS                === */
/* ============================================= */

.process { padding: var(--space-9) 0; background: var(--clr-white); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); }
.steps li { background: #fff; border: 1px solid var(--clr-gray); border-radius: var(--radius-md); padding: var(--space-5); box-shadow: var(--shadow-1); }
.steps h3 { margin-bottom: var(--space-2); color: var(--clr-forest); }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(4), .steps li:nth-child(5) { grid-column: span 3; }
}

/* ============================================= */
/* ===                REVIEWS                 === */
/* ============================================= */

.reviews { padding: var(--space-9) 0; background: #f6faf7; }
.review-list { display: grid; gap: var(--space-5); }
.review { margin: 0; padding: var(--space-5); background: #fff; border: 1px solid var(--clr-gray); border-radius: var(--radius-md); box-shadow: var(--shadow-1); opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.review.is-active { opacity: 1; transform: translateY(0); }
.review blockquote { margin: 0 0 var(--space-3); color: #111827; }
.stars { color: #fbbf24; letter-spacing: 2px; margin-right: 6px; }

/* ============================================= */
/* ===              ABOUT + AREA              === */
/* ============================================= */

.about { padding: var(--space-9) 0; background: var(--clr-white); }
.about-grid { display: grid; gap: var(--space-6); }
.why-us { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-2); }
.area { list-style: none; padding: 0; display: grid; gap: var(--space-2); }

@media (min-width: 860px) { .about-grid { grid-template-columns: 1.2fr 1fr; } }

/* ============================================= */
/* ===               CTA STRIP                === */
/* ============================================= */

.cta-strip { padding: var(--space-8) 0; background: var(--clr-sage); border-top: 1px solid var(--clr-gray); border-bottom: 1px solid var(--clr-gray); }

/* ============================================= */
/* ===                 FORM                   === */
/* ============================================= */

.quote { padding: var(--space-9) 0; background: #ffffff; }
.form-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
.form-field { display: grid; gap: .4rem; }
.form-field label { font-weight: 600; color: var(--clr-forest); }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; padding: .8rem .9rem; border: 1px solid var(--clr-gray); border-radius: var(--radius-sm); background: #fff; color: var(--clr-text); box-shadow: inset 0 1px 0 rgba(0,0,0,.02); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--clr-slate); outline: none; box-shadow: 0 0 0 3px rgba(105,134,154,.15); }

.form-span-2 { grid-column: span 1; }

.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-4); }
.form-note { color: #475569; }
.privacy { margin-top: var(--space-3); color: #6b7280; }

.invalid input:invalid,
.invalid select:invalid,
.invalid textarea:invalid {
  border-color: var(--clr-terracotta);
  box-shadow: 0 0 0 3px rgba(199,84,84,.15);
}

@media (min-width: 860px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-span-2 { grid-column: span 2; }
}

/* ============================================= */
/* ===                 FOOTER                 === */
/* ============================================= */

.site-footer { background: #0f2116; color: #dbe7e0; padding: var(--space-9) 0 var(--space-6); }
.footer-grid { display: grid; gap: var(--space-6); }
.footer-logo { color: #e8f3ed; }
.contact, .quick-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.contact a, .quick-links a { color: #dbe7e0; }
.contact a:hover, .quick-links a:hover { color: #ffffff; }
.legal { margin-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--space-4); text-align: center; color: #c5d6cd; }

@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

/* ============================================= */
/* ===               POPUP: SMS               === */
/* ============================================= */

.sms-popup { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.28); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 1000; }
.sms-popup.open { opacity: 1; pointer-events: auto; }
.sms-card { width: min(92vw, 420px); background: #fff; border: 1px solid var(--clr-gray); border-radius: var(--radius-md); box-shadow: var(--shadow-2); padding: var(--space-6); position: relative; }
.sms-card .close { position: absolute; top: 10px; right: 10px; border: none; background: transparent; font-size: 1.3rem; cursor: pointer; color: #1f2937; }
.sms-card p { margin-bottom: var(--space-4); color: #1f2937; }

/* ============================================= */
/* ===        SECTION SPACING HELPERS        === */
/* ============================================= */

section + section { border-top: 1px solid #edf2ef; }

/* Optional subtle dividers and backgrounds */
.hero + .services-snapshot { border-top: none; }
.gallery { border-top: 1px solid #edf2ef; border-bottom: 1px solid #edf2ef; }
/* ===== Our Work grid fix (mobile → desktop) ===== */
#gallery-grid{
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* phones */
}

/* Small tablets */
@media (min-width: 640px){
  #gallery-grid{ grid-template-columns: repeat(3, 1fr) !important; }
}
/* Large tablets */
@media (min-width: 900px){
  #gallery-grid{ grid-template-columns: repeat(4, 1fr) !important; }
}
/* Desktops */
@media (min-width: 1200px){
  #gallery-grid{ grid-template-columns: repeat(6, 1fr) !important; }
}

/* Uniform photo tiles inside the grid */
#gallery-grid .card-media{
  position: relative;
  aspect-ratio: 4 / 3;        /* use 1 / 1 for squares if you prefer */
  overflow: hidden;
  border-radius: 12px;
  background: var(--clr-gray);
}
#gallery-grid .card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fills without distortion */
  display: block;
}
/* === Our Work grid: 1 per row on phones === */
#gallery-grid{
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 1fr !important;          /* phones: one per row */
}

/* Small tablets */
@media (min-width: 640px){
  #gallery-grid{ grid-template-columns: repeat(2, 1fr) !important; }
}
/* Large tablets */
@media (min-width: 900px){
  #gallery-grid{ grid-template-columns: repeat(3, 1fr) !important; }
}
/* Desktops */
@media (min-width: 1200px){
  #gallery-grid{ grid-template-columns: repeat(6, 1fr) !important; }
}

/* Uniform photos */
#gallery-grid .card-media{
  position: relative;
  aspect-ratio: 3 / 2;     /* a bit taller than 4:3 so images feel larger */
  overflow: hidden;
  border-radius: 12px;
  background: var(--clr-gray);
}
#gallery-grid .card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ============================================= */
/* === Soft boxes - unified across the site  === */
/* ============================================= */

:root{
  --soft-bg: #e9f0ec;         /* close to your sage */
  --soft-brd: #d7e3dc;
  --soft-pad: 14px 16px;
  --soft-radius: 12px;
  --soft-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* Apply same panel look to these existing blocks */
.trust-badges,              /* home hero bullets */
.why-us,                    /* about list */
.review,                    /* each review figure */
.steps li,                  /* each process step */
.note-panel,                /* optional utility class you can add anywhere */
.soft-box {                 /* manual opt-in when you want it */
  background: var(--soft-bg);
  border: 1px solid var(--soft-brd);
  border-radius: var(--soft-radius);
  padding: var(--soft-pad);
  box-shadow: var(--soft-shadow);
}

/* tidy spacing inside common lists */
.trust-badges,
.why-us { list-style: none; padding-left: 0; margin: 0; }
.trust-badges li,
.why-us li { margin: 4px 0; }

/* stack spacing when multiple boxes are adjacent */
.review + .review,
.steps li + .steps li,       /* some editors do not like this, so next line helps */
.steps li + li,
.soft-box + .soft-box,
.note-panel + .note-panel { margin-top: 12px; }

/* wider screens: a bit more padding */
@media (min-width: 900px){
  .review,
  .steps li,
  .soft-box,
  .note-panel { padding: 16px 18px; }
}
