/* ============================================================
   Canterbury Flower Co — style.css
   All colors/fonts driven by CSS variables set by config.js
   ============================================================ */

/* ---------- CSS Variable Defaults (overridden by config.js) */
:root {
  --bg-primary:    #C75F92;
  --bg-secondary:  #ede5d8;
  --bg-dark:       #1a1a18;
  --brand:         #3a5a3a;
  --brand-light:   #aa507c;
  --brand-faint:   #eef2ee;
  --accent:        #c9956e;
  --accent-light:  #f0e6de;
  --text-dark:     #1a1a18;
  --text-muted:    #7a7266;
  --text-light:    #f7f2eb;
  --border:        #ddd5c8;
  --white:         #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --nav-h:      130px;
  --max-w:      1280px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:          0.3s var(--ease);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 28px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 56px rgba(0,0,0,0.14);
}

/* ─── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin-top: 20px;}
ulpricing{ list-style: none; align-items:center; }
button { cursor: pointer; border: none; background: none; font-family: inherit; padding: 0; }
input, select, textarea { font-family: var(--font-body); }

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}
em { font-style: italic; color: var(--brand); }

/* ─── Utility ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}
@media (max-width: 768px) { .container { padding-inline: 20px; } }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--t);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: var(--text-light);
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}
.btn-outline:hover {
  background: var(--text-light);
  color: var(--brand);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline-dark:hover {
  background: var(--brand);
  color: var(--text-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 48px; font-size: 0.88rem; }

/* ─── Section labels ───────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before,
.eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow.left { justify-content: flex-start; }
.eyebrow.left::before { display: none; }

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-align: center;
  margin-bottom: 48px;
}
.section-title.left { text-align: left; }


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(247,242,235,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(247,242,235,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; transition: opacity .2s; flex-shrink: 0; }
.logo:hover { opacity: .7; }
.logo-img { height: 130px; width: auto; object-fit: contain; }
.logo-icon { font-size: 1.5rem; color: var(--brand); line-height: 1; }
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--text-dark);
}

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 0.78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--brand); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 16px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: var(--t);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px;
  box-shadow: var(--shadow-md);
  animation: slideDown .25s var(--ease);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  padding: 13px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.mobile-nav .nav-link:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 16px; width: 100%; }


/* ============================================================
   HERO — Full-screen image with overlay text
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  --hero-img: url('http://www.coreyszepan.com/test/assets/hero.jpg');
}

.bloomhero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  --hero-img: url('http://www.coreyszepan.com/test/assets/bloom-bar.jpg');
}

/* Full-bleed background image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease) forwards;
}

/* Gradient overlay so text is always readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(26,26,24,0.72) 0%,
      rgba(26,26,24,0.45) 50%,
      rgba(26,26,24,0.10) 100%);
}

/* Optional decorative grain */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 50px 48px;
  animation: heroFadeUp 1.1s var(--ease) .2s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247,242,235,.75);
  margin-bottom: 28px;
}
.hero-badge::before { content: ''; display: block; width: 36px; height: 1px; background: var(--accent); }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--text-light);
  max-width: 800px;
  margin-bottom: 28px;
}
.hero-headline em { color: var(--accent); font-style: italic; }

.hero-subline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(247,242,235,.72);
  max-width: 450px;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247,242,235,.45);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(247,242,235,.5), transparent);
  animation: scrollPulse 2s ease infinite;
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  padding: 150px 0;
  overflow-x: hidden;
}
.gallery-section > .container {
  max-width: var(--max-w);
  width: 100%;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
  transition: var(--t);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--brand);
  color: var(--text-light);
  border-color: var(--brand);
}

/* ── Gallery grid ──────────────────────────────────────────────
   Cards use aspect-ratio (with min-height fallback) so they
   always have an explicit height on every mobile browser.
   This fixes the "invisible cards" bug on mobile Safari /
   Android where grid-auto-rows + position:absolute children
   collapse the card to zero height.
   ─────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
 
.gallery-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-secondary);
  aspect-ratio: 3 / 4;
  min-height: 220px;
}
.gallery-card.tall {
  grid-row: span 2;
  aspect-ratio: 3 / 8;
  min-height: 440px;
}
.gallery-card.wide {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
  min-height: 220px;
}
 
.card-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s var(--ease);
}
.gallery-card:hover .card-img-wrap img { transform: scale(1.07); }

/* Overlay — partially visible on touch, full on hover */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0.45;
  transition: opacity .3s;
}
.gallery-card:hover .card-overlay { opacity: 1; }
@media (hover: none) { .card-overlay { opacity: 1; } }
 
.card-overlay span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-light);
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ── Responsive breakpoints ────────────────────────────────── */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
 
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-section { padding: 64px 0; }
  .gallery-card.tall {
    grid-row: span 1;
    aspect-ratio: 3 / 4;
    min-height: 200px;
  }
  .gallery-card.wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 10px; }
  .gallery-section { padding: 48px 0; }
  .gallery-card,
  .gallery-card.tall,
  .gallery-card.wide {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(16,16,14,.96);
  display: none;
  place-items: center;
}
.lightbox.open { display: grid; animation: fadeIn .25s ease; }
.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  max-width: 92vw;
  max-height: 92vh;
}
.lightbox-inner img {
  max-width: 88vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
#lightboxCaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(247,242,235,.6);
}
.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(247,242,235,.7);
  font-size: 2rem;
  padding: 16px 20px;
  transition: color .2s;
  z-index: 10;
}
.lb-btn:hover { color: var(--text-light); }
#lightboxPrev { left: 16px; }
#lightboxNext { right: 16px; }
#lightboxClose {
  position: fixed;
  top: 20px; right: 28px;
  font-size: 1.4rem;
  color: rgba(247,242,235,.7);
  transition: color .2s;
}
#lightboxClose:hover { color: var(--text-light); }


/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--brand);
  padding: 80px 48px;
}
.cta-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 8px;
}
.cta-text p { color: rgba(247,242,235,.6); font-size: .95rem; }


/* ============================================================
   PAGE HERO (Bloom Bar page)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  background: url('http://www.coreyszepan.com/test/assets/bloom-bar.jpg') center/cover no-repeat;
}
.page-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,.85) 0%, rgba(26,26,24,.3) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 60px 48px 72px;
  animation: heroFadeUp 1s var(--ease) .1s both;
}
.page-hero-content .hero-badge { margin-bottom: 16px; }
.page-hero-content .hero-headline { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero-content .hero-subline { max-width: 480px; margin-bottom: 0; }

/* ── Bloom bar hero text — mirrors homepage hero styling ─────
   Uses dedicated bloom-hero-* classes so main.js can populate
   them from config.js without overwriting index.html text.    */
.bloom-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--text-light);
  max-width: 620px;
  margin-bottom: 24px;
}
.bloom-hero-headline em {
  color: var(--accent);
  font-style: italic;
}
.bloom-hero-subline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(247,242,235,.72);
  max-width: 480px;
  margin-bottom: 0;
  font-weight: 300;
}

.page-hero-content .bloom-hero-badge { margin-bottom: 16px; }
.page-hero-content .bloom-hero-headline { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero-content .bloom-hero-subline { max-width: 480px; margin-bottom: 0; }


/* ============================================================
   WHAT IS BLOOM BAR
   ============================================================ */
.about-section { padding: 100px 48px; }
.about-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .eyebrow { justify-content: flex-start; }
.about-text .eyebrow::before { display: none; }
.about-text h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin: 16px 0 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 28px; font-size: .95rem; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li { font-size: .92rem; padding-left: 24px; position: relative; }
.feature-list li::before { content: '✿'; position: absolute; left: 0; color: var(--accent); }

.about-img {
  position: relative;
  height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-accent {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .4;
}


/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
  background: var(--bg-secondary);
  padding: 96px 48px;
}
.pricing-grid {
  max-width: 1060px;
  margin-inline: auto;
  /*display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;*/
  align-items: start;
  margin-top: 56px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  position: relative;
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
  text-align: center;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--text-light);
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-8px); }

.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.price-tier {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: #C75F92;
}
.price-from {
  font-size: 1rem;
  /* opacity: 0; */
  margin-bottom: 6px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}
.price-guests {
  font-size: .8rem;
  opacity: .5;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.price-card.featured .price-guests { border-bottom-color: rgba(255,255,255,.15); }
.price-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.price-features li { font-size: .86rem; padding-left: 18px; position: relative; opacity: .85; }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.price-card.featured .price-features li::before { color: rgba(247,242,235,.8); }


/* ============================================================
   BOOKING FORM
   ============================================================ */
.form-section {
  padding: 100px 48px;
}
.form-layout {
  max-width: 1080px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}
.form-sidebar .eyebrow { justify-content: flex-start; }
.form-sidebar .eyebrow::before { display: none; }
.form-sidebar h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 16px 0 20px; }
.form-sidebar p { color: var(--text-muted); font-size: .92rem; margin-bottom: 28px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--brand);
  margin-bottom: 10px;
}
.contact-item svg { flex-shrink: 0; }
.contact-item a { color: inherit; }
.contact-item a:hover { text-decoration: underline; }

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.booking-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: flex; gap: 20px; }
.form-row > * { flex: 1; min-width: 0; }
.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}
.req { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-dark);
  font-size: .95rem;
  font-weight: 300;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7266' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(58,90,58,.12);
  background: var(--white);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,149,110,.12);
}
.field-err { font-size: .72rem; color: var(--accent); min-height: 14px; }

/* Checkbox */
.check-row { flex-direction: row; align-items: flex-start; gap: 12px; }
.check-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .85rem; color: var(--text-muted); }
.check-label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* Submit row */
.submit-row { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.form-footnote { font-size: .72rem; color: var(--text-muted); }
.spin-icon { animation: spinAnim .8s linear infinite; }

/* Success */
.form-success {
  text-align: center;
  padding: 40px 24px;
}
.form-success[hidden] { display: none; }
.success-bloom { font-size: 3.5rem; color: var(--brand); margin-bottom: 18px; animation: popIn .5s var(--ease); }
.form-success h3 { font-family: var(--font-display); font-size: 2.2rem; color: var(--brand); margin-bottom: 12px; }
.form-success p { color: var(--text-muted); margin-bottom: 28px; }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 72px 48px 0;
}
.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid #ffffff;
}
.footer-brand .footerlogo-icon { font-size: 1.8rem; color: var(--accent); display: block; margin-bottom: 8px; }
.footer-brand .logo-wordmark { font-size: 1.45rem; color: var(--text-light); }
.footer-tagline { color: #ffffff; font-size: .84rem; margin-top: 10px; line-height: 1.6; max-width: 220px; }

.footerlogo { display: flex; align-items: center; gap: 10px; transition: opacity .2s; flex-shrink: 0; }
.footerlogo:hover { opacity: .7; }
.footerlogo-img { height: 130px; width: auto; object-fit: contain; }
.footerlogo-icon { font-size: 1.5rem; color: var(--brand); line-height: 1; }
.footerlogo-wordmark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--text-dark);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .88rem;
  color: #ffffff;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--text-light); }
.footer-col ul li a[href^="mailto"],
.footer-col ul li a[href^="tel"] { word-break: break-all; }

/* Social */
.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--t);
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  background: #ffffff;
}

.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .72rem;
  color: #ffffff;
  flex-wrap: wrap;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.15); }
}
@keyframes popIn {
  0%   { transform: scale(.4); opacity: 0; }
  75%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes spinAnim { to { transform: rotate(360deg); } }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .price-card.featured { transform: scale(1); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { height: 340px; }
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 130px; }
  .header-inner { padding-inline: 20px; }
  .main-nav { display: none; }
  .burger { display: flex; }

  .hero-content { padding: 60px 20px; }
  .page-hero-content { padding: 40px 20px 60px; }

  .about-section, .form-section { padding: 72px 20px; }
  .pricing-section { padding: 72px 20px; }
  .cta-strip { padding: 64px 20px; }
  .cta-inner { flex-direction: column; text-align: center; }

  .form-card { padding: 28px 20px; }
  .form-row { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .site-footer { padding: 56px 24px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
/* ── Gallery loading / empty / error states ──────────────── */
.gallery-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: .9rem;
}
.gallery-empty,
.gallery-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.gallery-error { color: var(--accent); }
 

