/* ==========================================================================
   Bravovest — Flower Delivery & Event Decoration
   ========================================================================== */

:root {
  --emerald-900: #123B30;
  --emerald-700: #1E5245;
  --emerald-500: #2E7D64;
  --emerald-100: #E3EFE9;
  --blush-500: #E79AA0;
  --blush-300: #F3C9CD;
  --blush-100: #FBEEEF;
  --terracotta: #C97B5A;
  --cream: #FFF8F0;
  --ivory: #FFFCF8;
  --ink: #26261F;
  --ink-soft: #55564C;
  --line: #E7E1D6;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(18, 59, 48, 0.08);
  --shadow-md: 0 12px 32px rgba(18, 59, 48, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--emerald-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--emerald-700); text-decoration: none; }
a:hover { color: var(--terracotta); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--emerald-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--emerald-700); color: #fff; }
.btn-primary:hover { background: var(--emerald-900); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-secondary { background: transparent; border-color: var(--emerald-700); color: var(--emerald-700); }
.btn-secondary:hover { background: var(--emerald-700); color: #fff; }
.btn-light { background: #fff; color: var(--emerald-900); }
.btn-light:hover { background: var(--blush-100); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 248, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--emerald-900);
}
.brand-mark { border-radius: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--emerald-900); margin: 0 auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.site-nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--emerald-700); border-bottom-color: var(--blush-500); }
.nav-cta { white-space: nowrap; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 18px 24px 24px;
    gap: 18px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 14px; }
  .nav-cta { text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--emerald-100) 0%, var(--cream) 55%, var(--blush-100) 100%);
  padding: 72px 0 90px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-block;
  background: var(--emerald-700);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero p.lead { font-size: 1.15rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-stats { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--emerald-900); }
.hero-stats div span { font-size: 0.85rem; color: var(--ink-soft); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
}

/* ---------- Page header (non-home) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-header h1 { color: #fff; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--emerald-100); }
.section-cream { background: var(--cream); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow {
  display: block;
  color: var(--terracotta);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-price { font-weight: 800; color: var(--emerald-700); font-family: var(--font-display); font-size: 1.1rem; }

.icon-card { text-align: center; padding: 30px 22px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.icon-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--emerald-100);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}

@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--terracotta);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 14px;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.testimonial .stars { color: var(--terracotta); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .author { font-weight: 700; color: var(--emerald-900); margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--emerald-900);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 55ch; margin: 0 auto 28px; }

/* ---------- Occasions anchors ---------- */
.occasion-block { padding: 56px 0; border-bottom: 1px solid var(--line); }
.occasion-block:last-child { border-bottom: none; }
.occasion-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.occasion-grid.reverse .occasion-image { order: 2; }
.occasion-image { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.occasion-image img { aspect-ratio: 5/4; object-fit: cover; width: 100%; height: 100%; }
@media (max-width: 800px) {
  .occasion-grid, .occasion-grid.reverse { grid-template-columns: 1fr; }
  .occasion-grid.reverse .occasion-image { order: -1; }
}

/* ---------- Delivery areas ---------- */
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.region-card { background: #fff; border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); }
.region-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--emerald-700); }
.region-card ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.92rem; }
.region-card li { padding: 3px 0; }
@media (max-width: 980px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .region-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border-radius: var(--radius-sm); margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--emerald-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--terracotta); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 20px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-md); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; color: var(--emerald-900); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--ivory);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--emerald-500); border-color: var(--emerald-500); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 600; }
.alert-success { background: var(--emerald-100); color: var(--emerald-900); border: 1px solid var(--emerald-500); }
.alert-error { background: var(--blush-100); color: #8a2f2f; border: 1px solid var(--blush-500); }

/* ---------- Contact info cards ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
@media (max-width: 800px) { .contact-info-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.legal-content h2 { margin-top: 2em; }
.legal-content ul { color: var(--ink-soft); padding-left: 1.4em; }
.legal-content li { margin-bottom: 0.4em; }
.legal-updated { color: var(--ink-soft); font-style: italic; margin-bottom: 2em; }
.legal-toc { background: var(--emerald-100); border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 2.5em; }
.legal-toc h2 { margin-top: 0; font-size: 1.05rem; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 24px; }
.legal-toc li { margin-bottom: 0.3em; break-inside: avoid; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }

/* ---------- Breadcrumb-ish map / misc ---------- */
.map-note { background: var(--emerald-100); border-radius: var(--radius-md); padding: 28px; text-align: center; margin-top: 40px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 110px 0; }
.error-page .error-code { font-family: var(--font-display); font-size: 6rem; color: var(--blush-500); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-900); color: rgba(255,255,255,0.85); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-legal-name { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer-col h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-col a:hover { color: var(--blush-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; margin-top: 16px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-bottom-inner a { color: rgba(255,255,255,0.6); }

@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
