/* ============================================
   BK Heights Laundromat — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-cream: #fbf6ec;
  --color-cream-dark: #f2e6c9;
  --color-navy: #1e2430;
  --color-navy-light: #2c3444;
  --color-gold: #e3a73c;
  --color-gold-dark: #c98f2a;
  --color-text: #2b2b2b;
  --color-muted: #6b6b6b;
  --color-white: #ffffff;
  --color-border: #e6dcc4;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, Segoe UI, sans-serif;

  --container-width: 1140px;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(30, 36, 48, 0.08);
  --shadow-md: 0 8px 24px rgba(30, 36, 48, 0.12);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
}

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

.placeholder {
  background: #fff3cd;
  color: #7a5b00;
  padding: 0 4px;
  border-radius: 3px;
  font-style: italic;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover { background: var(--color-gold-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
}

.btn-outline:hover { background: var(--color-navy); color: var(--color-white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
}

.logo span { color: inherit; }

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.phone-link {
  font-weight: 600;
  color: var(--color-gold-dark);
  white-space: nowrap;
}

.main-nav > ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--color-gold);
  color: var(--color-gold-dark);
}

/* ---------- Services dropdown ---------- */
.has-dropdown { position: relative; }

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.dropdown-toggle .caret {
  font-size: 0.65em;
  transition: transform 0.2s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle.active,
.has-dropdown.open .dropdown-toggle {
  border-bottom-color: var(--color-gold);
  color: var(--color-gold-dark);
}

.has-dropdown.open .dropdown-toggle .caret { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  min-width: 240px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  z-index: 200;
}

.has-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-text);
  border-bottom: none;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
  background: var(--color-cream-dark);
  color: var(--color-gold-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  margin: -12px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  display: block;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 24, 32, 0.82) 0%, rgba(20, 24, 32, 0.55) 55%, rgba(20, 24, 32, 0.2) 100%);
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 560px; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--color-white);
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--color-navy);
  padding: 110px 0 56px;
}

.page-hero .hero-content { max-width: 640px; }
.page-hero .hero-eyebrow { color: var(--color-gold); }
.page-hero h1 { font-size: 2.25rem; color: var(--color-white); }
.page-hero p { color: rgba(255, 255, 255, 0.82); }
.page-hero a { color: var(--color-gold); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--color-cream-dark); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head h2 { font-size: 2.1rem; margin-bottom: 12px; }
.section-head p { color: var(--color-muted); }

/* ---------- Stats strip ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gold-dark);
  margin-bottom: 8px;
}

.stat-card p { color: var(--color-muted); font-size: 0.95rem; }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.split h2 { margin-bottom: 18px; font-size: 2rem; }
.split p { color: var(--color-muted); margin-bottom: 16px; }
.split p:last-child { margin-bottom: 0; }

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

.cards-grid.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  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 { height: 190px; width: 100%; object-fit: cover; }

.card-body { padding: 24px; }

.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card-body p { color: var(--color-muted); font-size: 0.94rem; margin-bottom: 14px; }

.card-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Service detail sections (services.html) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail.reverse .service-detail-media { order: 2; }
.service-detail.reverse .service-detail-text { order: 1; }

.service-detail-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.service-detail-text .section-eyebrow { margin-bottom: 10px; }
.service-detail-text h2 { font-size: 1.85rem; margin-bottom: 16px; }
.service-detail-text p { color: var(--color-muted); margin-bottom: 14px; }

.service-detail-text ul { margin: 18px 0; }

.service-detail-text ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--color-text);
}

.service-detail-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold-dark);
  font-weight: 700;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--color-white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stars { color: var(--color-gold); margin-bottom: 14px; font-size: 1.05rem; letter-spacing: 2px; }

.testimonial-card p.quote {
  color: var(--color-text);
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author { font-weight: 600; font-size: 0.9rem; color: var(--color-navy); }
.testimonial-date { color: var(--color-muted); font-size: 0.82rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: 64px 0;
}

.cta-banner h2 { color: var(--color-white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-gold-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--color-muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-info .address { color: var(--color-muted); margin-bottom: 20px; }

.contact-info .info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--color-text);
}

.contact-info .info-row strong { color: var(--color-navy); }

.hours-table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
}

.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem;
}

.hours-table td:last-child { text-align: right; color: var(--color-muted); }

.map-embed {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius);
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.home-map { height: 420px; margin-top: 0; }

@media (max-width: 720px) {
  .home-map { height: 300px; }
}

.contact-form {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* honeypot field */
.hp-field { position: absolute; left: -9999px; }

/* ---------- Floating call button ---------- */
.call-fab {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.call-fab:hover {
  background: var(--color-gold-dark);
  transform: scale(1.08);
}

.call-fab svg { width: 26px; height: 26px; }

@media (max-width: 720px) {
  .call-fab {
    width: 48px;
    height: 48px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: calc(14px + env(safe-area-inset-right, 0px));
  }
  .call-fab svg { width: 21px; height: 21px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-brand .logo { color: var(--color-white); margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-links li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-links a:hover { color: var(--color-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .service-detail,
  .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail .service-detail-media,
  .service-detail.reverse .service-detail-media { order: -1; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-right { gap: 12px; }
  .logo { font-size: 1.15rem; }
  .phone-link { font-size: 0.8rem; }

  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: 16px 24px;
  }

  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a { display: block; padding: 12px 0; }

  .has-dropdown { width: 100%; }
  .dropdown-toggle { width: 100%; justify-content: center; padding: 12px 0; }
  .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: var(--color-cream-dark);
    margin: 0 0 4px;
    padding: 4px 0;
    text-align: center;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .main-nav.open .dropdown-menu li a { padding: 10px 16px; }

  .hero h1 { font-size: 2rem; }
  .page-hero { padding: 96px 0 44px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .hero { min-height: 520px; }
  .stat-card { padding: 24px 16px; }
  .contact-form { padding: 24px; }
}
