/* Miami Coffee Bar — single-page funnel
   Palette pulled from the brand logo (see images/logo.svg), warmed up with
   a terracotta accent + illustrated details for more energy. */

:root {
  --ink: #1e1712;
  --taupe: #6b5e55;
  --gold: #c5a059;
  --gold-light: #e3c988;
  --terracotta: #c1622f;
  --terracotta-light: #e2884f;
  --cream: #faf6f0;
  --peach: #fbe8d6;
  --white: #ffffff;
  --border: rgba(107, 94, 85, 0.18);
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Cinzel', 'Times New Roman', Georgia, serif;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; }

.brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--ink);
}

.header-cta {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(193, 98, 47, 0.35);
}

/* ---------- Decorative bits ---------- */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

.dot-field {
  position: absolute;
  width: 120px;
  height: 90px;
  background-image: radial-gradient(var(--gold) 2px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.section-wave {
  display: block;
  width: 100%;
  line-height: 0;
}

.section-wave svg { display: block; width: 100%; height: auto; }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(193, 98, 47, 0.12), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(197, 160, 89, 0.18), transparent 50%),
    var(--peach);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
  z-index: 1;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.72rem;
  color: var(--terracotta);
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid rgba(193, 98, 47, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.22;
}

.hero h1 .accent {
  background: linear-gradient(100deg, var(--terracotta) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .subhead {
  max-width: 480px;
  font-size: 1.08rem;
  color: var(--taupe);
}

.hero .proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--taupe);
}

.hero .proof strong { color: var(--ink); }

.cta-row {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(193, 98, 47, 0.28);
}

.btn-primary:hover { box-shadow: 0 12px 26px rgba(193, 98, 47, 0.38); }

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover { background: var(--ink); color: var(--white); }

/* Hero photo collage */
.hero-visual {
  position: relative;
  height: 420px;
  z-index: 1;
}

.hero-visual .blob-main {
  width: 340px;
  height: 340px;
  top: 10px;
  right: 20px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 72%);
  opacity: 0.8;
}

.photo-main, .photo-accent {
  position: absolute;
  border-radius: 14px;
  border: 6px solid var(--white);
  box-shadow: 0 18px 40px rgba(30, 23, 18, 0.18);
  object-fit: cover;
}

.photo-main {
  width: 78%;
  aspect-ratio: 4/5;
  top: 0;
  right: 0;
  transform: rotate(3deg);
  z-index: 2;
}

.photo-accent {
  width: 52%;
  aspect-ratio: 4/3;
  bottom: 0;
  left: 0;
  transform: rotate(-4deg);
  z-index: 3;
}

.hero-badge {
  position: absolute;
  bottom: 18px;
  right: 6px;
  z-index: 4;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 10px 24px rgba(30, 23, 18, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 6px;
  transform: rotate(-3deg);
}

.hero-badge svg { width: 16px; height: 16px; }

/* Section shared */
section { padding: 76px 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

.section-head .eyebrow {
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.section-head p { color: var(--taupe); }

.section-alt { background: var(--cream); }

/* Card grids */
.grid {
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 10px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(30, 23, 18, 0.1);
}

.grid-2 .card:nth-child(2), .grid-3 .card:nth-child(2) { border-top-color: var(--terracotta); }
.grid-3 .card:nth-child(3) { border-top-color: var(--gold); }

.card .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  color: var(--white);
}

.card .icon-badge svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p { color: var(--taupe); font-size: 0.95rem; margin: 0; }

.card-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  counter-reset: step;
  position: relative;
  z-index: 1;
}

.step { text-align: center; }

.step .step-num {
  counter-increment: step;
  width: 46px;
  height: 46px;
  line-height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  margin: 0 auto 16px;
  box-shadow: 0 8px 18px rgba(193, 98, 47, 0.3);
}

.step .step-num::before { content: counter(step); }

.step h3 { font-size: 1.05rem; }

.step p { color: var(--taupe); font-size: 0.92rem; }

/* Quote / lead form section */
.quote-section {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.quote-section .section-head h2 { color: var(--white); }
.quote-section .section-head p { color: rgba(255,255,255,0.7); }
.quote-section .section-head .eyebrow { color: var(--gold-light); }

.quote-embed-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 14px;
  padding: 8px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Footer */
footer.site-footer {
  background: var(--cream);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--terracotta), var(--gold)) 1;
  padding: 48px 0 28px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--taupe);
}

footer.site-footer .footer-brand {
  font-family: 'Cinzel', serif;
  color: var(--ink);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

footer.site-footer .cross-link {
  margin: 14px 0;
}

footer.site-footer .cross-link a {
  color: var(--terracotta);
  text-decoration: underline;
  font-weight: 600;
}

footer.site-footer .footer-meta {
  margin-top: 20px;
  font-size: 0.78rem;
  opacity: 0.75;
}

footer.site-footer .footer-meta a { text-decoration: underline; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 40px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero .subhead { max-width: 100%; }
  .cta-row { justify-content: center; }
  .hero-visual { width: 100%; height: 320px; max-width: 380px; margin: 0 auto; }
}
