/* ============================================
   Palmetto Christmas Co. | Main Stylesheet
   Mobile-First | Charleston, SC Christmas Tree Delivery & Removal
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap&font-display=swap');

/* === CSS Variables === */
:root {
  /* Warm gold accent color (was mint green) */
  --green:        #C6A15B;
  --green-dark:   #A9863F;
  --green-light:  #efe4c9;
  --green-xlight: #faf5e8;

  /* Deep evergreen primary brand color (was blue) */
  --blue:         #123524;
  --blue-dark:    #0B2418;
  --blue-light:   #1c5138;

  /* Burgundy secondary accent, used sparingly */
  --burgundy:      #7A1F2B;
  --burgundy-dark: #5c1520;

  --white:        #FFFDF8;
  --off-white:    #F8F4EA;
  --light-gray:   #EFE9DC;
  --gray:         #9C9587;
  --text-dark:    #242421;
  --text-mid:     #3C3A34;
  --text-light:   #6E6A5E;

  --font-head:  'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body:  'Open Sans', sans-serif;

  --section-pad: 5rem 1.25rem;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(18,53,36,.09);
  --shadow-lg:   0 10px 40px rgba(18,53,36,.16);
  --transition:  all .3s ease;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; }

/* === Typography === */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1, h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }

/* === Layout Helpers === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; color: var(--text-dark); }
.section-header p  { max-width: 580px; margin: 0 auto; }

.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .9rem 1.85rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary   { background: var(--blue);  color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(18,53,36,.3); }

.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-secondary:hover { background: var(--green-light); border-color: var(--green-light); transform: translateY(-2px); }

.btn-green     { background: var(--green); color: var(--blue-dark); border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(198,161,91,.5); }

.btn-outline   { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 1.05rem 2.2rem; font-size: .97rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .82rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--blue);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
  transition: var(--transition);
}

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem; height: 68px;
  max-width: 1280px; margin: 0 auto;
}

.nav-logo { display: flex; align-items: center; gap: .7rem; }
.nav-logo img { height: 42px; width: auto; }
.nav-logo-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--white); line-height: 1.15;
}
.nav-logo-text small {
  display: block; font-size: .66rem; font-weight: 500;
  letter-spacing: .09em; color: var(--green); text-transform: uppercase;
}

.nav-links { display: none; align-items: center; gap: .15rem; }
.nav-links a {
  color: rgba(255,255,255,.82); font-family: var(--font-head);
  font-weight: 600; font-size: .88rem;
  padding: .5rem .9rem; border-radius: 6px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.12); }

.nav-cta { display: none; align-items: center; gap: .7rem; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .5rem;
  border-radius: 6px; transition: var(--transition);
}
.hamburger span { display: block; width: 23px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-menu {
  display: none; background: var(--blue-dark);
  padding: .5rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu.open { display: block; }
.mobile-menu nav a {
  display: block; color: rgba(255,255,255,.82);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: var(--transition);
}
.mobile-menu nav a:hover { color: var(--green); padding-left: .5rem; }
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-cta-row {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem;
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-cta-row .btn { padding: .7rem .5rem; font-size: .78rem; gap: .3rem; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta   { display: flex; }
  .hamburger { display: none; }
}

/* === Hero (full-bleed background, set via Admin -> Homepage Background) === */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--burgundy-dark) 100%);
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay { display: none; }
.hero-bg-placeholder {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem;
  color: rgba(255,255,255,.14); text-align: center;
}
.hero-bg-placeholder svg { width: 90px; height: 90px; opacity: .6; }
.hero-inner {
  position: relative; z-index: 3;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 8rem 1.5rem 5rem;
  text-align: center;
}
.hero-text {
  max-width: 640px; margin: 0 auto;
  background: rgba(8,26,17,.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(198,161,91,.18);
  border: 1px solid rgba(198,161,91,.4);
  color: var(--green);
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white); margin-bottom: 1.2rem; letter-spacing: -.02em;
  text-shadow:
    -1.5px -1.5px 0 rgba(0,0,0,.55), 1.5px -1.5px 0 rgba(0,0,0,.55),
    -1.5px 1.5px 0 rgba(0,0,0,.55), 1.5px 1.5px 0 rgba(0,0,0,.55),
    0 3px 16px rgba(0,0,0,.45);
  -webkit-text-stroke: .5px rgba(0,0,0,.3);
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.92);
  margin-bottom: 1.5rem; font-weight: 300; line-height: 1.7;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-hassle-line {
  font-family: var(--font-serif); font-style: italic; color: rgba(255,255,255,.85);
  font-size: 1rem; margin: 0 auto 2rem; max-width: 520px; line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.25rem; justify-content: center; }
.hero-cta-note { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: .5rem; }
.hero-cta-note a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; }
.trust-pill {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.78);
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
}
.trust-pill svg { color: var(--green); flex-shrink: 0; }

@media (min-width: 900px) { .hero-inner { padding: 9rem 3.5rem 6rem; } }
@media (min-width: 1100px) { .hero-inner { padding: 10rem 5rem 6rem; } }

/* === About Snapshot === */
.about-snapshot { padding: var(--section-pad); background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.about-photo-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--light-gray);
  box-shadow: var(--shadow-lg);
}
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem; color: var(--gray); font-family: var(--font-head); font-size: .9rem;
}
.photo-placeholder svg { width: 56px; height: 56px; opacity: .35; }

.about-badge-wrap { position: absolute; bottom: 1rem; left: 1rem; }
.about-badge-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  padding: .4rem .9rem; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.about-text { text-align: center; }
.about-text .badge { margin-bottom: .5rem; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { margin-bottom: 1rem; }

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 1.75rem 0;
}
.stat-box {
  text-align: center; padding: 1.25rem .75rem;
  background: var(--white); border-radius: var(--radius-sm);
  border: 1.5px solid rgba(198,161,91,.5);
  box-shadow: var(--shadow);
}
.stat-box .num {
  display: block; font-family: var(--font-head);
  font-weight: 900; font-size: 1.9rem; color: var(--blue); line-height: 1;
}
.stat-box .lbl {
  font-size: .7rem; color: var(--gray); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

/* === White Glove Benefits === */
.white-glove { padding: var(--section-pad); background: var(--off-white); }
.white-glove-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  max-width: 980px; margin: 0 auto;
}
.white-glove-item { text-align: center; padding: 0 1rem; }
.white-glove-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 1.5px solid rgba(198,161,91,.5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem; box-shadow: var(--shadow);
  color: var(--green-dark);
}
.white-glove-icon svg { width: 24px; height: 24px; }
.white-glove-item h3 { margin-bottom: .5rem; color: var(--blue); font-size: 1.05rem; }
.white-glove-item p { font-size: .88rem; }
@media (min-width: 640px) { .white-glove-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .white-glove-grid { grid-template-columns: repeat(4, 1fr); } }

/* === Immersive Lifestyle Section === */
.lifestyle-section {
  position: relative; min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; background: var(--blue-dark);
}
.lifestyle-section img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.lifestyle-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(11,36,24,.55) 0%, rgba(11,36,24,.72) 100%);
}
.lifestyle-content {
  position: relative; z-index: 3; max-width: 640px; padding: 2rem 1.5rem;
}
.lifestyle-content p {
  font-family: var(--font-serif); font-style: italic;
  color: var(--white); font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  line-height: 1.5;
}
/* === Services Snapshot === */
.services-snapshot { padding: var(--section-pad); background: var(--white); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.service-card {
  background: var(--off-white);
  border: 1.5px solid rgba(198,161,91,.3);
  border-radius: var(--radius); padding: 1.75rem;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: .7rem;
  text-align: center;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.service-card .service-icon { margin: 0 auto; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.service-card h3 { font-size: 1.05rem; color: var(--text-dark); }
.service-card p  { font-size: .88rem; color: var(--text-mid); flex: 1; }
.service-price {
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  color: var(--green-dark); padding-top: .4rem; border-top: 1px solid rgba(198,161,91,.3);
}
.service-price small { display: block; font-weight: 500; font-size: .72rem; color: var(--text-light); margin-top: .1rem; }

.section-cta { text-align: center; margin-top: 2.5rem; }
.section-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

/* === Pricing Tables (Services Page) === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
.pricing-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  border: 1.5px solid rgba(198,161,91,.3);
  display: flex; flex-direction: column;
}
.pricing-card.featured { position: relative; border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
.pricing-card.featured .badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  margin: 0; white-space: nowrap; z-index: 2;
}
.pricing-card h3 { color: var(--blue); margin-bottom: .3rem; min-height: 3.3rem; }
.pricing-card .pricing-sub { font-size: .85rem; color: var(--text-light); margin-bottom: 1.25rem; min-height: 1.3rem; }
.price-table { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem .85rem; border-radius: var(--radius-sm);
  background: var(--off-white); font-family: var(--font-head); font-size: .88rem;
}
.price-row .height { color: var(--text-dark); font-weight: 600; }
.price-row .amount { color: var(--blue); font-weight: 800; }
.pricing-card.featured .price-row { background: var(--green-xlight); }
.pricing-card.featured .price-row .amount { color: var(--green-dark); }
.price-row.bundle-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem;
}
.price-row.bundle-row .amount { text-align: left; }
.price-row.bundle-row .savings {
  color: var(--burgundy); font-weight: 700; font-size: .76rem;
  white-space: nowrap; text-align: right;
}
.pricing-includes { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.5rem; font-size: .85rem; color: var(--text-mid); }
.pricing-includes span { color: var(--green-dark); font-weight: 700; margin-right: .4rem; }
.pricing-card .btn { margin-top: auto; }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* === Booking Modal Price Summary === */
.price-summary {
  background: var(--off-white); border: 1.5px solid rgba(198,161,91,.4);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: -.5rem 0 1.25rem;
}
.price-summary h4 {
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  color: var(--blue); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .65rem;
}
.price-summary .price-row { background: transparent; padding: .3rem 0; font-size: .87rem; }
.price-summary .price-row.savings .amount { color: var(--burgundy); }
.price-summary .price-total {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1.5px solid rgba(198,161,91,.4); margin-top: .4rem; padding-top: .6rem;
  font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.05rem;
}
.price-summary .price-note { font-size: .72rem; color: var(--text-light); margin-top: .5rem; }

@media (min-width: 600px)  { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

/* === Service Areas === */
.service-areas { padding: var(--section-pad); background: var(--blue); }
.service-areas .section-header h2 { color: var(--white); }
.service-areas .section-header p  { color: rgba(255,255,255,.72); }
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.areas-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; }
.area-chip {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); padding: .6rem .9rem; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  transition: var(--transition);
}
.area-chip svg { color: var(--green); flex-shrink: 0; width: 14px; height: 14px; }
.area-chip:hover { background: rgba(198,161,91,.18); border-color: var(--green); color: var(--green); }
@media (min-width: 600px) { .areas-list { grid-template-columns: repeat(3,1fr); } }

/* === Gallery Preview === */
.gallery-preview { padding: var(--section-pad); background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; }
.gallery-item {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 1; background: var(--light-gray); position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; color: var(--gray); font-size: .78rem;
  font-family: var(--font-head); font-weight: 600;
}
.gallery-placeholder svg { width: 30px; height: 30px; opacity: .38; }
@media (min-width: 600px)  { .gallery-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4,1fr); } }

/* === Testimonials === */
.testimonials { padding: var(--section-pad); background: var(--white); }
.testimonials-empty {
  text-align: center; padding: 3.5rem 1.5rem;
  background: var(--light-gray); border-radius: var(--radius);
  border: 2px dashed var(--gray);
}
.testimonials-empty svg { width: 48px; height: 48px; color: var(--gray); margin: 0 auto 1rem; opacity: .45; }
.testimonials-empty p { font-family: var(--font-head); font-size: 1.1rem; color: var(--gray); margin-bottom: 1.5rem; }

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.testimonial-card {
  background: var(--off-white); border-radius: var(--radius);
  padding: 1.75rem; border: 1.5px solid rgba(198,161,91,.3);
  box-shadow: var(--shadow); text-align: center;
}
.stars { display: flex; gap: .2rem; margin-bottom: .75rem; color: #FBBF24; font-size: 1rem; justify-content: center; }
.testimonial-card p { font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-family: var(--font-head); font-weight: 700; font-size: .88rem; }
.testimonial-loc    { font-size: .78rem; color: var(--gray); }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }

/* === Payments === */
.payment-methods { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.pay-badge {
  display: flex; align-items: center; gap: .6rem;
  background: var(--white); border: 1.5px solid rgba(18,53,36,.14);
  border-radius: 50px; padding: .65rem 1.35rem;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); color: var(--text-dark);
}
.pay-badge span { font-size: 1.3rem; }

/* === CTA Banner === */
.cta-banner { background: var(--blue); padding: 5rem 1.25rem; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.72); max-width: 480px; margin: 0 auto 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* === Footer === */
.site-footer { background: #111827; color: rgba(255,255,255,.65); padding: 4rem 1.25rem 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  max-width: 1200px; margin: 0 auto;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand .nav-logo-text { color: var(--white); margin-bottom: .75rem; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .875rem; line-height: 1.6; }

.footer-col h4 {
  color: var(--white); font-family: var(--font-head);
  font-size: .78rem; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--green); padding-left: .35rem; }

.f-contact-item {
  display: flex; align-items: center; gap: .55rem;
  color: rgba(255,255,255,.55); font-size: .88rem; margin-bottom: .55rem;
}
.f-contact-item svg { color: var(--green); flex-shrink: 0; }
.f-contact-item a { color: rgba(255,255,255,.7); transition: var(--transition); }
.f-contact-item a:hover { color: var(--green); }

.social-row { display: flex; gap: .65rem; margin-top: 1rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .95rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--green); color: var(--blue-dark); }

.footer-bottom {
  text-align: center; padding-top: 2rem;
  max-width: 1200px; margin: 0 auto;
  font-size: .78rem; color: rgba(255,255,255,.3);
}
.footer-legal-links { margin-top: .4rem; }
.footer-legal-links a { color: rgba(255,255,255,.4); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-links a:hover { color: var(--green); }
@media (min-width: 600px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

/* === Legal Content (Privacy Policy) === */
.legal-content { padding: var(--section-pad); background: var(--white); }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-updated { font-size: .82rem; color: var(--text-light); font-weight: 600; margin-bottom: 2rem; }
.legal-body h2 {
  font-family: var(--font-head); font-size: 1.15rem; color: var(--blue);
  margin: 2.25rem 0 .85rem;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { margin-bottom: 1rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-body ul li { margin-bottom: .4rem; color: var(--text-mid); }
.legal-contact-block {
  background: var(--off-white); border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem; line-height: 1.9;
}

/* === Modals === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.58); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; max-width: 540px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: var(--transition);
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.modal-head h2 { font-size: 1.35rem; color: var(--blue); }
.modal-close {
  background: none; border: none; padding: .3rem;
  color: var(--gray); border-radius: 6px; transition: var(--transition);
  flex-shrink: 0;
}
.modal-close:hover { color: var(--text-dark); background: var(--light-gray); }
.modal-close svg { width: 20px; height: 20px; }

/* === Forms === */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-family: var(--font-head);
  font-weight: 600; font-size: .83rem;
  color: var(--text-dark); margin-bottom: .38rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .78rem 1rem;
  border: 1.5px solid #D1D5DB; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem;
  color: var(--text-dark); background: var(--white);
  transition: var(--transition); -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18,53,36,.11);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-submit { width: 100%; margin-top: .5rem; font-size: 1rem; padding: 1rem; }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success svg { width: 56px; height: 56px; color: var(--green-dark); margin: 0 auto 1rem; }
.form-success h3 { color: var(--blue); margin-bottom: .5rem; }

/* === Page Hero === */
.page-hero {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  padding: 5rem 1.25rem 3.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(198,161,91,.15) 0%, transparent 55%);
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; position: relative; z-index: 1; }
.page-hero p  { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }

/* === Services Full Page === */
.services-full { padding: var(--section-pad); background: var(--off-white); }
.services-full-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service-full-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1rem;
  border: 1.5px solid transparent; transition: var(--transition);
}
.service-full-card:hover { border-color: var(--green); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-full-card .service-icon { width: 62px; height: 62px; border-radius: 14px; font-size: 1.6rem; }
.service-full-card h3 { font-size: 1.2rem; }
.service-full-card p  { font-size: .9rem; flex: 1; }
.card-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (min-width: 768px)  { .services-full-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .services-full-grid { grid-template-columns: repeat(3,1fr); } }

/* === About Page === */
.about-team { padding: var(--section-pad); background: var(--off-white); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 4rem; }
.team-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-align: center;
}
.team-card .team-photo {
  aspect-ratio: 3/4; background: var(--light-gray);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem; color: var(--gray);
}
.team-card .team-photo svg { width: 52px; height: 52px; opacity: .35; }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .member-info { padding: 1.25rem; }
.team-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.team-card .role { font-size: .82rem; color: var(--blue); font-weight: 700; font-family: var(--font-head); }

@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(3,1fr); } }

.about-story { padding: var(--section-pad); background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.story-text h2 { margin-bottom: 1rem; color: var(--blue); }
.story-text p  { margin-bottom: 1rem; }
.values-list { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.75rem; }
.value-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.25rem; background: var(--off-white);
  border-radius: var(--radius-sm); border: 1px solid rgba(198,161,91,.3);
}
.value-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.value-item h4 { margin-bottom: .25rem; color: var(--blue); font-size: .95rem; }
.value-item p  { font-size: .85rem; margin: 0; }
@media (min-width: 768px) { .story-grid { grid-template-columns: 1fr 1fr; } }

/* === Contact Page === */
.contact-section { padding: var(--section-pad); background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
  display: flex; align-items: flex-start; gap: 1rem;
}
.c-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--green-light); display: flex; align-items: center;
  justify-content: center; color: var(--blue); flex-shrink: 0;
}
.c-icon svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: .78rem; color: var(--text-light); font-weight: 600; font-family: var(--font-head); margin-bottom: .2rem; }
.contact-card a { color: var(--blue); font-weight: 700; font-size: 1.1rem; transition: var(--transition); }
.contact-card a:hover { color: var(--blue-dark); text-decoration: underline; }
.contact-card p { font-size: .85rem; color: var(--text-mid); margin: 0; }

.contact-form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.contact-form-card h3 { color: var(--blue); margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.5fr; } }

/* === Gallery Page === */
.gallery-section { padding: var(--section-pad); background: var(--off-white); }
.gallery-full-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.gallery-full-item {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4/3; background: var(--light-gray);
  position: relative; cursor: pointer;
}
.gallery-full-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-full-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(18,53,36,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
  color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.gallery-overlay svg { margin-right: .4rem; }
.gallery-full-item:hover .gallery-overlay { opacity: 1; }
@media (min-width: 600px)  { .gallery-full-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .gallery-full-grid { grid-template-columns: repeat(4,1fr); } }

/* === Lightbox === */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; visibility: hidden; transition: var(--transition);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.1); border: none;
  color: var(--white); border-radius: 50%;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* === Floating CTA (mobile) === */
.floating-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 800; display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--white); border-top: 1px solid var(--light-gray);
  box-shadow: 0 -4px 20px rgba(0,0,0,.12); padding: .75rem 1rem;
  gap: .65rem;
}
.floating-cta .btn { flex: 1; justify-content: center; font-size: .82rem; padding: .8rem .9rem; }
.floating-cta-spacer { height: 76px; } /* prevent content hiding behind floating cta */
@media (min-width: 768px) {
  .floating-cta { display: none; }
  .floating-cta-spacer { display: none; }
}

/* === Scroll Animations === */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-anim].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-anim-delay="1"] { transition-delay: .1s; }
[data-anim-delay="2"] { transition-delay: .2s; }
[data-anim-delay="3"] { transition-delay: .3s; }
[data-anim-delay="4"] { transition-delay: .4s; }
[data-anim-delay="5"] { transition-delay: .5s; }
[data-anim-delay="6"] { transition-delay: .6s; }

/* === Misc === */
.divider { border: none; border-top: 1px solid var(--light-gray); margin: 0; }
.text-green { color: var(--green-dark); }
.text-blue  { color: var(--blue); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

/* === Scroll Progress Bar (#19) === */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 2000;
  height: 3px; width: 100%;
  background: linear-gradient(to right, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .1s linear;
  pointer-events: none;
}

/* === Back-to-top Button (#20) === */
#back-to-top {
  position: fixed; bottom: 100px; right: 1.25rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(18,53,36,.35);
  cursor: pointer; transition: var(--transition);
  opacity: 0; visibility: hidden; transform: translateY(12px);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }
#back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 767px) { #back-to-top { bottom: 90px; } }

/* === How It Works (#10) === */
/* === FAQ Section === */
.faq-section { padding: var(--section-pad); background: var(--off-white); }
.faq-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.faq-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem 2rem; box-shadow: var(--shadow);
  border: 1.5px solid rgba(198,161,91,.3);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; background: none; border: none; padding: 0; margin: 0;
  font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; color: var(--blue); text-align: left; cursor: pointer;
}
.faq-icon {
  flex-shrink: 0; width: 20px; height: 20px; color: var(--green);
  transition: transform .25s ease;
}
.faq-card.open .faq-icon { transform: rotate(45deg); }
.faq-answer-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-card.open .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p { font-size: .9rem; color: var(--text-mid); margin: 0; padding-top: .85rem; text-align: center; }
@media (min-width: 768px)  { .faq-grid { grid-template-columns: repeat(2, 1fr); } }

/* === Why Local Beats Franchise (#13) === */
.why-local { padding: var(--section-pad); background: var(--blue); }
.why-local .section-header { margin-bottom: 2.5rem; }
.why-local-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  max-width: 900px; margin: 0 auto;
}
.why-col {
  border-radius: var(--radius); padding: 2rem;
}
.why-col-bad {
  background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.1);
}
.why-col-good {
  background: rgba(198,161,91,.15); border: 1.5px solid var(--green);
}
.why-col-header {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 800;
  color: var(--white); margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
  text-align: center;
}
.why-list {
  display: flex; flex-direction: column; gap: .75rem;
  max-width: 380px; margin: 0 auto;
}
.why-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.5;
  text-align: left;
}
.why-x, .why-check { flex-shrink: 0; width: 1.1em; text-align: center; }
@media (min-width: 768px) { .why-local-grid { grid-template-columns: 1fr 1fr; } }

/* === Price Badge (services.html) (#16) === */
.price-badge {
  display: inline-flex; align-items: center;
  background: var(--green-light); color: var(--blue-dark);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  padding: .35rem .9rem; border-radius: 50px; margin: .5rem 0 1rem;
  border: 1px solid rgba(124,191,154,.4);
}

/* === Urgency Note (contact.html) (#17) === */
.response-note {
  background: var(--green-xlight); border: 1px solid rgba(198,161,91,.35);
  border-radius: var(--radius-sm); padding: .75rem 1rem;
  font-size: .85rem; color: var(--text-mid); font-weight: 600;
  margin-bottom: 1rem;
}

/* === Skip-to-content link (#23) === */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px;
  overflow: hidden; z-index: 9999;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; width: auto; height: auto;
  overflow: visible; padding: .75rem 1.5rem;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  text-decoration: none; z-index: 9999;
}

/* === Better Focus Styles (#24) === */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* === SMS Button Style (#15) === */
.btn-sms {
  background: var(--green-dark); color: var(--white); border-color: var(--green-dark);
}
.btn-sms:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); }

/* === Skeleton Loading (#22) === */
@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--light-gray) 25%, #e8eaed 50%, var(--light-gray) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius-sm);
}
