/* ===========================================================================
   FlowerQuality — site styles
   Rebuilt from the original Squarespace site. Font: Poppins.
   Palette sampled from the live site + brand logo.
   =========================================================================== */

:root {
  --white:      #ffffff;
  --off-white:  #f7f7f7;   /* light section background (Squarespace lightAccent) */
  --charcoal:   #38383b;   /* dark section / strong text (darkAccent)            */
  --taupe:      #a8a6a1;   /* neutral accent (Squarespace accent)                */
  --ink:        #26262a;   /* body text                                          */
  --muted:      #6f6f73;   /* secondary text                                     */
  --green:      #6dab07;   /* brand green  (FLOWER)                              */
  --purple:     #7a51a1;   /* brand purple (QUALITY)                             */
  --lavender:   #b7a6d6;   /* hand-drawn floral art                              */
  --line:       #e7e6e4;   /* hairline borders                                   */

  --container: 1160px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.2; color: var(--charcoal); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--light { background: var(--off-white); }
.section--dark  { background: var(--charcoal); color: #ececee; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: clamp(36px, 5vw, 60px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--taupe); font-weight: 600; margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.section--dark .lead { color: #c9c9cc; }
.measure { max-width: 720px; }
.center .measure { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; gap: 20px;
}
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--charcoal); font-weight: 500; font-size: .98rem; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--charcoal);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  min-height: 68vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 0; background: var(--taupe) center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,40,44,.42), rgba(40,40,44,.55));
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; letter-spacing: .01em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero p { color: rgba(255,255,255,.94); font-size: 1.2rem; max-width: 720px; margin: 1.2rem auto 0; }
.hero .stack-headings h1 { margin: 0 0 .35em; }
.hero .stack-headings h1:last-of-type { margin-bottom: 0; }
.hero .pretitle { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1rem; }

/* compact page header for interior pages */
.page-head { text-align: center; padding: clamp(60px, 9vw, 110px) 0 clamp(30px, 4vw, 48px); }
.page-head .statement { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; color: var(--charcoal); max-width: 900px; margin: .2em auto 0; line-height: 1.25; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 680px; margin: .4rem auto 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: 0; font-family: var(--font);
  font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 34px; border-radius: var(--radius); background: var(--charcoal); color: #fff;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--charcoal); }
.btn--light:hover { background: var(--green); color: #fff; }
.btn--outline { background: transparent; border: 2px solid currentColor; color: #fff; padding: 13px 32px; }
.btn--outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }

/* ---------- media rows (text + image) ---------- */
.media {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.media + .media { margin-top: clamp(48px, 7vw, 88px); }
.media--reverse .media__text { order: 2; }
.media__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.media__text h2 { margin-bottom: .5em; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: 0 4px 18px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { color: var(--purple); }
.card__num { font-size: .85rem; font-weight: 700; letter-spacing: .15em; color: var(--taupe); display: block; margin-bottom: .5rem; }

/* ---------- galleries ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); transition: transform .3s ease; }
.gallery a { overflow: hidden; border-radius: var(--radius); display: block; }
.gallery a:hover img { transform: scale(1.05); }

/* ---------- floral divider ---------- */
.divider { text-align: center; padding: clamp(24px, 4vw, 48px) 0 0; }
.divider img { width: min(760px, 90%); margin: 0 auto; opacity: .9; }

/* full-bleed image hero (text baked into the image, e.g. "La Belleza") */
.hero-full { line-height: 0; background: var(--off-white); }
.hero-full img { width: 100%; height: auto; display: block; }

/* section with the hand-drawn floral art as a background */
.floral-section {
  position: relative; text-align: center;
  background: #fff url('/assets/img/floral-bg.jpg') center/cover no-repeat;
}
.floral-section::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.68); }
.floral-section .container { position: relative; z-index: 1; }

/* full-width photo band */
.photo-band img { width: 100%; height: clamp(280px, 42vw, 560px); object-fit: cover; display: block; }

/* services list — each item has a photo, title, description */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc__body { padding: 26px 26px 30px; }
.svc__body h3 { color: var(--purple); margin-bottom: .5rem; }

/* ---------- marquee (home values) ---------- */
.marquee { overflow: hidden; background: var(--off-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.marquee__track { display: inline-flex; white-space: nowrap; will-change: transform; animation: marquee 42s linear infinite; }
.marquee__track span { font-weight: 500; color: var(--charcoal); font-size: 1.05rem; padding: 0 8px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- partners ---------- */
.partners img { width: min(920px, 100%); margin: 0 auto; }

/* ---------- forms ---------- */
.form { max-width: 560px; }
.form.center-form { margin: 0 auto; }
.field { margin-bottom: 18px; text-align: left; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid #cfceca; border-radius: var(--radius); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(109,171,7,.15); }
.form-row { display: flex; gap: 10px; }
.form-row input { flex: 1; }
.hp { position: absolute; left: -5000px; } /* honeypot */

/* newsletter block (footer) */
.newsletter { text-align: center; }
.newsletter h2 { color: #fff; }
.newsletter p { color: #c9c9cc; max-width: 520px; margin: 0 auto 1.4rem; }
.newsletter .form-row { max-width: 480px; margin: 0 auto; }
.newsletter input { border-color: transparent; }

/* ---------- contact details ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; text-align: center; }
.contact-grid .eyebrow { display: block; }
.contact-grid a { font-size: 1.15rem; color: var(--charcoal); font-weight: 500; }
.contact-grid a:hover { color: var(--green); }

/* ---------- events list ---------- */
.events { display: grid; gap: 22px; }
.event {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.event:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.event__date { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.event__month { display: block; text-transform: uppercase; letter-spacing: .1em; color: var(--green); font-weight: 700; font-size: .85rem; }
.event__day { display: block; font-size: 2.3rem; font-weight: 700; color: var(--charcoal); line-height: 1; }
.event__range { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.event__title { font-weight: 600; color: var(--charcoal); font-size: 1.1rem; }
.event__more { white-space: nowrap; font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }

/* single event/article */
.article { max-width: 760px; margin: 0 auto; }
.article .back { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.article .meta { color: var(--muted); font-size: .95rem; margin: .3rem 0 2rem; }
.article h1 { text-transform: none; }
.article .tags { color: var(--purple); font-weight: 500; }
.event-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 24px; font-size: .9rem; }
.event-nav a { display: block; }
.event-nav .lbl { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: #c9c9cc; }
.site-footer .newsletter { padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 4vw, 44px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-bottom { padding: 30px 0 40px; text-align: center; font-size: .92rem; }
.footer-bottom .contact-line { color: #e6e6e8; letter-spacing: .02em; }
.footer-bottom .contact-line a { color: #e6e6e8; }
.footer-bottom .contact-line a:hover { color: var(--green); }
.footer-brand img { height: 30px; width: auto; margin: 0 auto 18px; opacity: .95; }
.footer-credit { margin-top: 14px; font-size: .8rem; color: #8a8a8e; }
.footer-credit a { color: #a9a9ad; }

/* ---------- utilities ---------- */
.stack > * + * { margin-top: 1.1em; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.hidden { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 82px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .3s ease; padding: 8px 0;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 15px 24px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .media { grid-template-columns: 1fr; }
  .media--reverse .media__text { order: 0; }
  .event { grid-template-columns: 84px 1fr; }
  .event__more { grid-column: 2; justify-self: start; }
  .hero { min-height: 60vh; }
}
