/* ========================================================
   Fluffy Dreams — Automated Cotton Candy Kiosk
   Property & leasing outreach site
   ======================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f4f0;
  --surface: #ffffff;
  --surface-2: #f6f4f0;
  --line: #e2ddd3;
  --line-strong: #c9c2b3;

  --ink: #14161f;
  --text: #14161f;
  --text-dim: #52545d;
  --text-faint: #86868f;

  --accent: #9c2b49;
  --accent-dark: #7a2039;
  --accent-soft: #f5e2e6;
  --gold: #93783f;
  --gold-soft: #efe7d5;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(20,22,31,0.05);
  --shadow-md: 0 8px 24px -8px rgba(20,22,31,0.14), 0 1px 2px rgba(20,22,31,0.05);
  --shadow-lg: 0 24px 48px -16px rgba(20,22,31,0.18), 0 2px 4px rgba(20,22,31,0.06);

  --container: 1140px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p { color: var(--text-dim); margin: 0 0 1em; max-width: 60ch; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface-2); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand .logo-mark { height: 30px; width: auto; flex-shrink: 0; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  padding: 6px 12px;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 65px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 10px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { text-align: center; padding: 14px; }
  .nav-toggle { display: block; }
}

@media (max-width: 480px) {
  .nav { padding: 14px 16px; gap: 8px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand .logo-mark { height: 24px; width: auto; }
  .nav-actions .btn { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Hero (asymmetric two-column) ---------- */
.hero {
  padding: 88px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 22px;
}
.hero-sub {
  max-width: 46ch;
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.text-link:hover { color: var(--ink); }
.text-link::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s;
}
.text-link:hover::after { transform: translateX(3px); }

/* Blueprint / footprint diagram */
.blueprint {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.blueprint svg { width: 100%; height: auto; }
.blueprint-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  color: var(--text-faint);
}
.blueprint-caption strong { color: var(--ink); font-weight: 600; }

/* ---------- Stats strip ---------- */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 36px;
  padding-bottom: 36px;
}
@media (max-width: 760px) { .stats-strip .container { grid-template-columns: repeat(2, 1fr); } }
.stat-block { border-left: 2px solid var(--accent); padding-left: 16px; }
.stat-block .num {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  display: block;
}
.stat-block .label { font-size: 13px; color: var(--text-faint); margin-top: 2px; }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
.section-head { max-width: 600px; margin: 0 0 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.eyebrow-label {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .index {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }

/* Why Us — minimal, no cards */
.why-us-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 900px) { .why-us-minimal { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why-us-minimal { grid-template-columns: 1fr; gap: 36px; } }
.why-us-col {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.why-us-tag {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.why-us-col h3 { font-size: 18.5px; margin-bottom: 10px; line-height: 1.3; }
.why-us-col p { margin: 0; font-size: 15px; color: var(--text-dim); }

/* ---------- Steps (process, numbered because it IS sequential) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: none; }
@media (max-width: 900px) {
  .step:nth-child(2n) { border-right: none; }
}
.step .step-num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 28px;
  color: var(--line-strong);
  font-weight: 600;
  margin-bottom: 10px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 0; }
.cta-band-text { max-width: 480px; }

/* ---------- Spec sheet ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 16px 0; font-size: 15px; }
.spec-table td:first-child { color: var(--text-faint); width: 44%; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.spec-table td:last-child { color: var(--ink); font-weight: 500; }
.spec-wrap { overflow-x: auto; }

/* ---------- Partnership model cards ---------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .model-grid { grid-template-columns: 1fr; } }
.model-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.model-card.featured { border-color: var(--ink); box-shadow: var(--shadow-md); }
.model-card h3 { font-size: 20px; margin-bottom: 4px; }
.model-card .model-tag { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.model-card ul { list-style: none; padding: 0; margin: 20px 0 0; }
.model-card li { padding: 9px 0; font-size: 14.5px; color: var(--text-dim); border-top: 1px solid var(--line); }
.model-card li:first-child { border-top: none; }

/* ---------- Timeline ---------- */
.timeline { max-width: 700px; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:first-child { border-top: none; }
.timeline-item .year { font-size: 13px; color: var(--text-faint); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 3px; }
.timeline-item h4 { margin-bottom: 6px; font-size: 16.5px; }
.timeline-item p { font-size: 14.5px; margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { }
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  color: var(--accent);
  font-weight: 600;
}
.team-card h4 { margin-bottom: 2px; font-size: 16px; }
.team-card .role { color: var(--text-faint); font-size: 13.5px; }

/* ---------- Testimonials ---------- */
.testimonial {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}
.testimonial p { font-family: 'Newsreader', Georgia, serif; font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.5; }
.testimonial cite { font-style: normal; font-size: 13.5px; color: var(--text-faint); display: block; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease;
  font-size: 18px;
  color: var(--text-faint);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 24px; }
.faq-answer p { margin: 0; font-size: 15px; }

/* ---------- Contact / Proposal form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  transition: border-color 0.2s;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  display: none;
}
.form-status.visible { display: block; }
.form-status.form-status-error {
  background: #fdecec;
  border-color: #e8b4b4;
  color: #8a2e2e;
}

.contact-info-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-info-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 600; }
.contact-info-row p { margin: 0; font-size: 15px; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 260px; }
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-dim); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-faint);
}
.social-links { display: flex; gap: 16px; }
.social-links a { font-size: 13px; color: var(--text-dim); }
.social-links a:hover { color: var(--ink); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.badge-note {
  display: inline-block;
  margin-top: 32px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 13px;
}
