/* ================================
   CARROLL PLUMBING DEMO — demo.css
   Extends theme.css for demo pages
   ================================ */

/* Demo pages inherit --bg, --fg, --primary, --accent, --border from theme.css */

/* =====================
   CALL BUTTON (sticky floating)
   ===================== */
.call-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(212,98,42,0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.call-btn:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(212,98,42,0.5); }
.call-btn svg { width: 16px; height: 16px; }

/* =====================
   DEMO NAVBAR
   ===================== */
.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.demo-nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.demo-nav__logo small {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.demo-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.demo-nav__links a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.demo-nav__links a:hover { background: var(--bg-alt); color: var(--fg); }
.demo-nav__links a.active { color: var(--primary); font-weight: 600; }
.demo-nav__phone {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  transition: background 0.15s;
}
.demo-nav__phone:hover { background: var(--primary); color: white; }
.demo-nav__phone svg { width: 14px; height: 14px; }

/* =====================
   DEMO FOOTER
   ===================== */
.demo-footer {
  background: var(--primary);
  color: rgba(250,248,244,0.7);
  padding: 48px 40px 32px;
}
.demo-footer__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.demo-footer__brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #FAF8F4;
  margin-bottom: 6px;
}
.demo-footer__brand p { font-size: 13px; line-height: 1.6; }
.demo-footer__col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.4);
  margin-bottom: 14px;
}
.demo-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.demo-footer__col a { font-size: 14px; color: rgba(250,248,244,0.7); text-decoration: none; }
.demo-footer__col a:hover { color: #FAF8F4; }
.demo-footer__bottom {
  max-width: 900px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(250,248,244,0.15);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(250,248,244,0.4);
}

/* =====================
   PAGE HERO (shared)
   ===================== */
.page-hero {
  background: var(--bg-alt);
  padding: 56px 40px 48px;
  border-bottom: 1px solid var(--border);
}
.page-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--primary);
  margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: var(--fg-muted); max-width: 560px; line-height: 1.7; }

/* =====================
   CONTENT WRAPPER
   ===================== */
.demo-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 40px;
}

/* =====================
   HOME PAGE
   ===================== */
.home-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 40px 72px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.home-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.home-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm, #D9C5A0);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-hero__eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-warm, #D9C5A0);
}
.home-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  color: #FAF8F4;
  margin-bottom: 20px;
  line-height: 1.15;
}
.home-hero p {
  font-size: 17px;
  color: rgba(250,248,244,0.75);
  margin-bottom: 32px;
  line-height: 1.7;
}
.home-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(212,98,42,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,98,42,0.45); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250,248,244,0.1);
  color: rgba(250,248,244,0.9);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 1.5px solid rgba(250,248,244,0.25);
  transition: background 0.15s;
}
.btn-secondary:hover { background: rgba(250,248,244,0.18); }
.home-hero__image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.home-hero__image img {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.home-hero__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(250,248,244,0.95);
  border-radius: 8px;
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}
.home-hero__badge strong { display: block; font-size: 13px; color: var(--primary); }
.home-hero__badge span { font-size: 11px; color: var(--fg-muted); }

/* Quick stats bar */
.stats-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
}
.stats-bar__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat__label { font-size: 13px; color: var(--fg-muted); }

/* Services overview */
.services-overview {
  padding: 72px 40px;
  background: var(--bg);
}
.services-overview__header { text-align: center; margin-bottom: 48px; }
.services-overview h2 { font-size: clamp(26px, 3vw, 38px); color: var(--primary); margin-bottom: 12px; }
.services-overview > p { font-size: 16px; color: var(--fg-muted); max-width: 500px; margin: 0 auto; }
.services-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(27,77,62,0.08); transform: translateY(-2px); }
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.service-card p { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }

/* Trust signals */
.trust-section { padding: 56px 40px; background: var(--bg-alt); }
.trust-section__inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trust-section h2 { font-size: clamp(24px, 3vw, 36px); color: var(--primary); margin-bottom: 20px; }
.trust-section p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 24px; }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg); }
.trust-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-section__map {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.trust-section__map iframe { width: 100%; display: block; }

/* =====================
   SERVICES PAGE
   ===================== */
.services-full { padding: 56px 40px; background: var(--bg); }
.services-full__header { margin-bottom: 48px; }
.services-full__header h2 { font-size: clamp(24px, 3vw, 36px); color: var(--primary); margin-bottom: 12px; }
.services-full__header p { font-size: 16px; color: var(--fg-muted); }
.services-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.service-row {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  background: white;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: start;
  transition: border-color 0.2s;
}
.service-row:hover { border-color: var(--primary); }
.service-row__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.service-row h3 { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.service-row p { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }
.service-row__price { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary); white-space: nowrap; }

/* CTA band */
.cta-band {
  background: var(--primary);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 34px); color: #FAF8F4; margin-bottom: 12px; }
.cta-band p { font-size: 16px; color: rgba(250,248,244,0.7); margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--accent); }

/* =====================
   ABOUT PAGE
   ===================== */
.about-section { padding: 56px 40px; background: var(--bg); }
.about-section__inner { max-width: 860px; margin: 0 auto; }
.about-section h2 { font-size: clamp(24px, 3vw, 36px); color: var(--primary); margin-bottom: 24px; }
.about-section p { font-size: 15px; color: var(--fg-muted); line-height: 1.8; margin-bottom: 20px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.about-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  background: white;
}
.about-card h3 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 12px; }
.about-card p { font-size: 13px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 0; }
.why-section { padding: 56px 40px; background: var(--bg-alt); }
.why-section__inner { max-width: 860px; margin: 0 auto; }
.why-section h2 { font-size: clamp(24px, 3vw, 36px); color: var(--primary); margin-bottom: 36px; text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item { display: flex; gap: 16px; }
.why-item__icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; flex-shrink: 0;
}
.why-item h4 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.why-item p { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }

/* =====================
   CONTACT PAGE
   ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(22px, 3vw, 32px); color: var(--primary); margin-bottom: 16px; }
.contact-info > p { font-size: 15px; color: var(--fg-muted); margin-bottom: 32px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-detail__icon {
  width: 40px; height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.contact-detail h4 { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 2px; }
.contact-detail p { font-size: 13px; color: var(--fg-muted); }
.contact-form { border: 1.5px solid var(--border); border-radius: 12px; padding: 32px; background: white; }
.contact-form h3 { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--fg); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--primary-dark); }
.map-embed {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
}
.map-embed iframe { width: 100%; display: block; }

/* =====================
   REVIEWS PAGE
   ===================== */
.reviews-header { padding: 56px 40px 40px; text-align: center; }
.reviews-header h2 { font-size: clamp(26px, 3vw, 40px); color: var(--primary); margin-bottom: 12px; }
.reviews-header p { font-size: 15px; color: var(--fg-muted); }
.reviews-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 28px 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.reviews-summary__score {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
}
.reviews-summary__meta { text-align: left; }
.reviews-summary__stars { font-size: 24px; margin-bottom: 4px; }
.reviews-summary__count { font-size: 13px; color: var(--fg-muted); }
.reviews-list { max-width: 720px; margin: 0 auto; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.review-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  background: white;
}
.review-card__stars { color: #F4A236; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.review-card__text { font-size: 15px; color: var(--fg); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.review-card__name { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; color: var(--fg); }
.review-card__meta { font-size: 12px; color: var(--fg-muted); }
.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.google-badge span { font-size: 14px; color: var(--fg-muted); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .demo-nav { padding: 16px 20px; }
  .demo-nav__links { display: none; }
  .demo-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .home-hero__inner { grid-template-columns: 1fr; }
  .home-hero__image { display: none; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .trust-section__inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 40px 1fr; }
  .service-row__price { display: none; }
  .demo-content { padding: 40px 20px; }
  .page-hero { padding: 40px 20px 36px; }
}
@media (max-width: 640px) {
  .stats-bar { padding: 20px; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat__number { font-size: 22px; }
  .services-overview, .trust-section, .about-section, .why-section, .services-full { padding: 40px 20px; }
  .reviews-header { padding: 40px 20px 28px; }
  .reviews-list { padding: 24px 20px; }
  .cta-band { padding: 40px 20px; }
  .demo-footer { padding: 40px 20px 24px; }
  .demo-footer__bottom { flex-direction: column; gap: 8px; }
  .call-btn { bottom: 16px; right: 16px; padding: 10px 16px; font-size: 13px; }
}