/* =====================================================
   FLORIDA LIFT CHAIR SHOWROOMS
   Mobile-first. Matches mockup layouts.
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #003087;
  --blue-dk:    #002060;
  --blue-mid:   #0047b3;
  --orange:     #F47920;
  --dark:       #1c1c1c;
  --teal:       #2a4a2a;
  --white:      #ffffff;
  --offwhite:   #f5f5f3;
  --graylt:     #e8e8e8;
  --gray:       #666;
  --max:        1200px;
  --sans:       'Inter', system-ui, sans-serif;
  --serif:      'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--dark);
  background: var(--white);
  padding-bottom: 68px; /* room for sticky mobile bar */
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

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

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ---- header-top: 2-col on mobile, 3-col on desktop ---- */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 6px;
}

/* Logo */
.logo-link { display: block; text-decoration: none; flex-shrink: 0; }

.logo-line1 {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-wrap: wrap;
}

.logo-florida {
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--blue);
  font-style: italic;
  letter-spacing: 0.01em;
}

.logo-lift {
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--blue);
  font-style: italic;
  letter-spacing: 0.01em;
}

.logo-l {
  color: var(--orange);
  display: inline-block;
  transform: rotate(-10deg) translateY(-2px);
}

.logo-line2 {
  font-size: clamp(1.3rem, 5.5vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  border-bottom: 2px solid var(--dark);
  padding-bottom: 2px;
  margin-top: 1px;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--gray);
  margin-top: 2px;
}

/* Center: hidden on mobile, shown on desktop */
.header-center {
  display: none;
  text-align: center;
  flex-shrink: 0;
}

/* Right: phone + delivery */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.call-block { text-align: right; text-decoration: none; }

.call-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
  line-height: 1;
}

.call-number {
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--blue);
  line-height: 1.1;
}

.call-sub {
  font-size: 0.6rem;
  font-style: italic;
  color: var(--orange);
  line-height: 1.3;
  text-align: right;
}

/* Delivery badge: hidden by default on mobile (shown in mobile-sub-bar) */
.delivery-badge { display: none; }

/* ---- Mobile sub-bar (compact Delivery + Shop at Home) ---- */
.mobile-sub-bar {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--graylt);
  margin: 0 -14px; /* bleed to edge */
  font-size: 0.72rem;
}

.msb-delivery {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eef3ff;
  border: 2px solid var(--blue);
  padding: 6px 10px;
  font-weight: 700;
  color: var(--blue);
  flex: 1;
  line-height: 1.3;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.msb-delivery span { font-size: 1.3rem; }

.msb-home {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 0.7rem;
  color: var(--dark);
  line-height: 1.4;
  border-top: 1px solid var(--graylt);
  background: #fafafa;
}

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announce-bar {
  background: var(--blue-dk);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 14px;
  text-align: center;
  line-height: 1.5;
}

.announce-call {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}

/* =====================================================
   GUIDANCE TEXT
   ===================================================== */
.guidance-bar {
  background: var(--white);
  padding: 8px 0;
  border-bottom: 1px solid var(--graylt);
}

.guidance-text {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--blue-mid);
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

/* =====================================================
   SERVICES ROW (Sales / Rentals / Repairs)
   ===================================================== */
.services-row {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--graylt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.service-item {
  text-align: center;
  padding: 8px 4px;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3ff;
}

.service-icon img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.service-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.service-desc {
  font-size: 0.7rem;
  color: var(--dark);
  line-height: 1.4;
}

/* =====================================================
   PROMO ROW (50% Off + Brands)
   ===================================================== */
.promo-row {
  background: var(--offwhite);
  padding: 14px 0;
  border-bottom: 2px solid var(--graylt);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.promo-discount {
  padding: 10px;
  text-align: center;
}

.chairs-accent-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 6px;
  margin-top: 10px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.discount-pct {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--blue-dk);
}

.discount-sub {
  font-size: 0.72rem;
  color: var(--dark);
  line-height: 1.4;
  margin-top: 2px;
}

.promo-brands {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-pride {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  text-align: right;
}

.brand-pride em { font-style: italic; font-weight: 600; }

.brand-orange { font-size: 1rem; }

.brand-golden {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.trusted-badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--dark);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  text-align: center;
}

/* =====================================================
   CONTENT + IMAGE
   ===================================================== */
.content-row {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 2px solid var(--graylt);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.content-headline {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--blue-dk);
  line-height: 1.15;
  margin-bottom: 8px;
}

.content-specialist {
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.content-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.size-box {
  display: block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.5;
  text-decoration: none;
}

.size-box:hover { background: var(--blue-dk); }

.content-sub {
  font-size: 0.72rem;
  color: var(--gray);
}

.content-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 4px;
}

/* =====================================================
   LOCATIONS
   ===================================================== */
.locations {
  background: var(--white);
  padding: 14px 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.location-card {
  border: 1px solid var(--graylt);
  border-radius: 4px;
  overflow: hidden;
}

.location-header {
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 7px 12px;
  text-align: center;
}

/* Mobile: 3-col grid inside each card */
.location-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0;
  padding: 10px 8px;
  font-size: 0.72rem;
  line-height: 1.4;
}

.location-address-col {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  padding-right: 8px;
  border-right: 1px solid var(--graylt);
}

.loc-pin { font-size: 0.8rem; flex-shrink: 0; margin-top: 2px; }

.loc-note { font-size: 0.65rem; color: var(--gray); }

.location-hours-col {
  padding: 0 8px;
  border-right: 1px solid var(--graylt);
}

.location-phone-col {
  padding: 0 0 0 8px;
}

.hours-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.loc-phone-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  margin-top: 6px;
  text-decoration: none;
}

.loc-phone-link:hover { color: var(--orange); }

/* =====================================================
   FAMILY OWNED BAR
   ===================================================== */
.family-bar {
  background: var(--white);
  border-top: 2px solid var(--graylt);
  border-bottom: 2px solid var(--graylt);
  padding: 14px 0;
}

.family-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  text-align: center;
}

.family-icon { font-size: 1.8rem; flex-shrink: 0; }

.family-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.02em;
  line-height: 1.3;
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.btn-call-cta {
  display: inline-flex;
  align-items: center;
  background: var(--blue-dk);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-call-cta:hover { background: var(--blue); }

/* =====================================================
   BOTTOM BAR
   ===================================================== */
.bottom-bar {
  background: var(--blue-dk);
  padding: 9px 0;
}

.bottom-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
}

.bottom-sep { display: none; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #1a2a1a;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-tagline { font-size: 0.78rem; color: rgba(255,255,255,.7); line-height: 1.5; }

.footer-main-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 1px;
}

.footer-main-link:hover { color: var(--white); }

.footer-copy { font-size: 0.65rem; color: rgba(255,255,255,.3); }

/* =====================================================
   MOBILE STICKY CTA
   ===================================================== */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  padding: 8px 14px;
  background: rgba(0,32,96,.97);
  box-shadow: 0 -2px 10px rgba(0,0,0,.3);
}

.btn-sticky {
  display: block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  padding: 11px;
  border-radius: 5px;
  text-decoration: none;
}

/* =====================================================
   TABLET 640px+
   ===================================================== */
@media (min-width: 640px) {

  body { padding-bottom: 0; font-size: 15px; }

  .mobile-sticky-cta { display: none; }
  .mobile-sub-bar { display: none; }

  /* Header: show center + delivery badge */
  .header-center {
    display: block;
    border-left: 1px solid var(--graylt);
    border-right: 1px solid var(--graylt);
    padding: 0 20px;
  }

  .header-top { padding: 12px 0 10px; }

  .delivery-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--blue);
    border-radius: 5px;
    padding: 6px 12px;
    background: #eef3ff;
  }

  .delivery-icon { font-size: 1.6rem; }

  .delivery-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.3;
    text-transform: uppercase;
  }

  .delivery-text span { font-size: 0.65rem; }

  .stars-row  { font-size: 1rem; color: var(--blue); letter-spacing: 4px; margin-bottom: 3px; }
  .stars-row-bottom { font-size: 1rem; color: var(--blue); letter-spacing: 8px; margin-top: 3px; }
  .serving-title { font-size: 1.2rem; font-weight: 900; color: var(--dark); letter-spacing: 0.05em; }
  .serving-year  { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--dark); font-weight: 600; }

  /* Announce bar */
  .announce-bar { font-size: 0.88rem; }

  /* Services: already 3-col, slightly more padding */
  .services-grid { gap: 16px; }
  .service-item { padding: 12px 8px; }
  .service-icon { width: 72px; height: 72px; }
  .service-icon img { width: 72px; height: 72px; }
  .service-title { font-size: 0.88rem; }
  .service-desc { font-size: 0.78rem; }

  /* Promo */
  .promo-grid { gap: 20px; padding: 0 20px; }
  .discount-pct { font-size: 1.3rem; }

  /* Content: 2-col */
  .content-grid {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
  .content-image img { height: 280px; }

  /* Locations: side by side */
  .locations-grid { grid-template-columns: 1fr 1fr; }

  /* Bottom bar: horizontal */
  .bottom-grid {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
  .bottom-sep { display: inline; margin: 0 14px; opacity: 0.4; }
  .bottom-grid { font-size: 0.72rem; }

  /* Family bar */
  .family-inner { flex-wrap: nowrap; justify-content: center; gap: 20px; }
  .family-text { text-align: left; }
}

/* =====================================================
   DESKTOP 900px+
   ===================================================== */
@media (min-width: 900px) {

  /* Lock header to 3-col */
  .header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
  }

  .logo-link { display: block; }
  .header-right { align-items: flex-end; }
  .call-block { text-align: right; }

  .call-number { font-size: 1.9rem; }
  .call-sub { font-size: 0.65rem; }

  /* Content */
  .content-grid { grid-template-columns: 280px 1fr; }
  .content-image img { height: 340px; }
  .content-headline { font-size: 1.4rem; }

  /* Location font */
  .location-header { font-size: 0.82rem; padding: 8px 14px; }
  .location-body { font-size: 0.78rem; padding: 12px 10px; }
  .loc-note { font-size: 0.7rem; }
  .hours-label { font-size: 0.68rem; }

  /* Family bar */
  .family-text { font-size: 0.95rem; }
  .btn-call-cta { font-size: 0.88rem; padding: 10px 20px; }
}

/* =====================================================
   LARGE DESKTOP 1100px+
   ===================================================== */
@media (min-width: 1100px) {

  .header-center { padding: 0 30px; }

  .call-number { font-size: 2.1rem; }

  .serving-title { font-size: 1.4rem; }
  .serving-year  { font-size: 1.6rem; }

  .content-grid { grid-template-columns: 300px 1fr; }
  .content-image img { height: 360px; }

  .logo-florida, .logo-lift { font-size: 2rem; }
  .logo-line2 { font-size: 2.7rem; }
}
