/* Custom Distinct Design for San Carlos Appliance Repair Pros */
:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --dark: #1e3a8a;
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--bg-page); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .brand, .sec-title, .phone-cta, .hero-badge, .card-title, .hero-floating-badge, .top-bar { font-family: var(--font-heading); }
a { color: inherit; text-decoration: none; }

/* TOP BAR */
.top-bar { background: var(--dark); color: #e2e8f0; font-size: 0.82rem; padding: 8px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: var(--accent-light); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* NAVBAR */
.navbar { background: #ffffff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; color: var(--text-heading); }
.brand-badge { background: var(--primary-light); color: var(--primary); font-size: 0.72rem; padding: 3px 8px; border-radius: 4px; font-weight: 800; border: 1px solid var(--primary-border); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 0.92rem; font-weight: 700; color: var(--text-heading); transition: color 0.2s; }
.nav-link:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.phone-cta { background: var(--primary); color: #ffffff; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 800; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; box-shadow: var(--shadow-sm); }
.phone-cta:hover { background: var(--primary-hover); transform: translateY(-1px); }

/* BREADCRUMBS */
.breadcrumbs { background: var(--bg-subtle); border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb-wrap { max-width: 1280px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb-wrap a { color: var(--primary); font-weight: 600; }

/* HERO */
.hero { background: linear-gradient(180deg, var(--bg-subtle) 0%, #ffffff 100%); padding: 48px 24px 40px; border-bottom: 1px solid var(--border); }
.hero-wrap { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-content { display: flex; flex-direction: column; gap: 16px; }
.hero-badge { align-self: flex-start; background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-border); padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; line-height: 1.15; color: var(--text-heading); letter-spacing: -0.02em; }
.hero h1 span { color: var(--primary); }
.hero-p { font-size: 1.05rem; line-height: 1.65; color: var(--text-body); max-width: 640px; }

/* SYMPTOMS PILL STRIP */
.symptom-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.symptom-pill { background: #ffffff; border: 1px solid var(--border); padding: 6px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; color: var(--text-heading); display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-sm); }
.symptom-pill.highlight { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }

/* HERO IMAGE CARD - GENEROUS HEIGHT */
.hero-media { position: relative; }
.hero-image-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #f1f5f9; }
.hero-img { width: 100%; height: 480px; object-fit: cover; object-position: center; display: block; }
.hero-floating-badge { position: absolute; bottom: 16px; left: 16px; right: 16px; background: rgba(15, 23, 42, 0.90); backdrop-filter: blur(8px); color: #ffffff; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,0.15); }

/* MAIN HQ NAP CARD */
.hq-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); margin-top: 10px; }
.hq-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.hq-title { font-size: 0.95rem; font-weight: 800; color: var(--text-heading); display: flex; align-items: center; gap: 8px; }
.hq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 0.88rem; }
.hq-col-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.hq-address { font-weight: 600; color: var(--text-heading); line-height: 1.45; }

/* SECTIONS COMMON */
.section { padding: 64px 24px; }
.section-subtle { background: var(--bg-subtle); }
.section-wrap { max-width: 1280px; margin: 0 auto; }
.sec-header { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); margin-bottom: 8px; }
.sec-title { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 900; color: var(--text-heading); letter-spacing: -0.02em; margin-bottom: 12px; }
.sec-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.65; }

/* METRICS GRID */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.metric-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.metric-val { font-size: 2.2rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 8px; font-family: var(--font-heading); }
.metric-label { font-size: 0.95rem; font-weight: 800; color: var(--text-heading); margin-bottom: 6px; }
.metric-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; }

/* QUOTES GRID */
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.quote-card { background: #ffffff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); }
.quote-text { font-size: 0.9rem; font-style: italic; color: var(--text-heading); line-height: 1.5; margin-bottom: 10px; }
.quote-badge { font-size: 0.75rem; font-weight: 800; color: var(--primary); background: var(--primary-light); padding: 3px 8px; border-radius: 4px; display: inline-block; }

/* DEEP SERVICES CARDS & IMAGES - PROPER HEIGHT */
.deep-services-list { display: flex; flex-direction: column; gap: 36px; }
.deep-service-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.deep-service-img-wrap { position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 320px; margin-bottom: 22px; background: #f1f5f9; }
.deep-service-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.35s ease; }
.deep-service-card:hover .deep-service-img { transform: scale(1.03); }
.deep-service-img-pill { position: absolute; bottom: 14px; left: 14px; background: rgba(15, 23, 42, 0.88); backdrop-filter: blur(4px); color: #ffffff; font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; display: flex; align-items: center; gap: 8px; }

.deep-service-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.deep-service-title { font-size: 1.45rem; font-weight: 900; color: var(--text-heading); font-family: var(--font-heading); }
.deep-service-badge { font-size: 0.78rem; font-weight: 800; background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 20px; }
.deep-service-summary { font-size: 0.98rem; color: var(--text-body); line-height: 1.7; margin-bottom: 22px; }
.deep-symptoms-list { list-style: none; margin-bottom: 20px; font-size: 0.88rem; color: var(--text-body); }
.deep-symptoms-list li { padding: 6px 0; border-bottom: 1px dashed #f1f5f9; display: flex; gap: 8px; align-items: flex-start; }
.deep-symptoms-list li span { line-height: 1.5; }
.deep-box { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 16px; }
.deep-box-title { font-size: 0.9rem; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.deep-box p { font-size: 0.88rem; color: var(--text-body); line-height: 1.6; }
.deep-alert { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px; color: #991b1b; font-size: 0.88rem; line-height: 1.55; display: flex; gap: 10px; align-items: flex-start; }
.deep-quote { background: #f8fafc; border-left: 3px solid var(--accent); padding: 14px 18px; font-style: italic; font-size: 0.88rem; color: var(--text-heading); border-radius: 0 6px 6px 0; }

/* PHOTO GALLERY SHOWCASE - PROPER HEIGHT */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 28px; }
.gallery-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.25s ease; display: flex; flex-direction: column; }
.gallery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.gallery-img-box { position: relative; height: 300px; overflow: hidden; background: #f1f5f9; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.35s ease; }
.gallery-card:hover .gallery-img { transform: scale(1.05); }
.gallery-badge { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #ffffff; font-size: 0.74rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.gallery-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.gallery-title { font-size: 1.1rem; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; font-family: var(--font-heading); }
.gallery-desc { font-size: 0.88rem; color: var(--text-body); line-height: 1.55; }

/* FLEET BANNER - PROPER HEIGHT */
.fleet-banner-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 36px; }
.fleet-banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.fleet-banner-img-box { position: relative; height: 380px; overflow: hidden; background: #f1f5f9; }
.fleet-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fleet-banner-pill { position: absolute; bottom: 16px; left: 16px; background: rgba(15, 23, 42, 0.88); color: #ffffff; font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; display: flex; align-items: center; gap: 8px; }
.fleet-banner-content { padding: 32px 32px 32px 0; }

/* COMMERCIAL MEDIA - PROPER HEIGHT */
.commercial-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); max-width: 980px; margin: 0 auto; font-size: 1rem; line-height: 1.7; color: var(--text-body); }
.commercial-media-wrap { border-radius: var(--radius-sm); overflow: hidden; margin-top: 24px; height: 340px; background: #f1f5f9; }
.commercial-media-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* BRAND MATRIX */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.brand-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; }
.brand-name { font-size: 1.15rem; font-weight: 900; color: var(--text-heading); margin-bottom: 8px; font-family: var(--font-heading); }
.brand-quirks { font-size: 0.88rem; color: var(--text-body); margin-bottom: 10px; line-height: 1.55; }
.brand-notes { font-size: 0.78rem; font-weight: 700; color: var(--primary); }

/* PRICING GUARANTEES */
.pricing-prose { font-size: 1.02rem; line-height: 1.7; color: var(--text-body); max-width: 960px; margin: 0 auto 32px; text-align: center; }
.pricing-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.pricing-pillar-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow-sm); }
.pricing-pillar-title { font-size: 1.05rem; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pricing-pillar-desc { font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; }

/* SLA STEPS */
.sla-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.sla-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); position: relative; }
.sla-num { font-size: 1.8rem; font-weight: 900; color: var(--primary); opacity: 0.35; margin-bottom: 4px; font-family: var(--font-heading); }
.sla-title { font-size: 1.05rem; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; }
.sla-desc { font-size: 0.88rem; color: var(--text-body); line-height: 1.55; }

/* VOC CASES */
.voc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.voc-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; }
.voc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.voc-item-title { font-size: 0.95rem; font-weight: 800; color: var(--text-heading); }
.voc-res-badge { font-size: 0.72rem; font-weight: 800; background: #ecfdf5; color: #047857; padding: 2px 8px; border-radius: 4px; }
.voc-quote { font-size: 0.88rem; font-style: italic; color: var(--text-heading); margin-bottom: 12px; }
.voc-triage { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; font-size: 0.8rem; color: var(--text-body); line-height: 1.5; margin-bottom: 12px; }

/* LOCATIONS DIRECTORY */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.loc-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.9rem; color: var(--text-heading); transition: all 0.2s; }
.loc-card:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-1px); }
.loc-badge { font-size: 0.72rem; background: var(--bg-subtle); padding: 2px 8px; border-radius: 4px; color: var(--text-muted); font-weight: 600; }

/* FAQS */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.faq-q { font-size: 1.05rem; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; }
.faq-a { font-size: 0.92rem; color: var(--text-body); line-height: 1.6; }

/* CONTACT FORM & STYLES */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; margin-top: 32px; }
.contact-info-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font-body); color: var(--text-heading); background: #ffffff; transition: border-color 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); }
.form-submit-btn { width: 100%; background: var(--primary); color: #ffffff; border: none; padding: 16px 24px; border-radius: var(--radius-sm); font-size: 1.05rem; font-weight: 800; font-family: var(--font-heading); cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.form-submit-btn:hover { background: var(--primary-hover); }

/* ABOUT STORY CARDS */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 32px; }
.about-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.about-card-title { font-size: 1.2rem; font-weight: 800; color: var(--text-heading); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }

/* FOOTER */
.footer { background: var(--dark); color: #cbd5e1; padding: 48px 24px 24px; font-size: 0.85rem; }
.footer-wrap { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; border-bottom: 1px solid #334155; padding-bottom: 32px; margin-bottom: 24px; }
.footer a:hover { color: #ffffff; }

@media (max-width: 960px) {
  .hero-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; }
  .symptom-strip { justify-content: center; }
  .hero-img { height: 340px; }
  .hq-grid { grid-template-columns: 1fr; }
  .deep-service-card { padding: 20px; }
  .deep-service-img-wrap { height: 240px; }
  .pricing-pillars { grid-template-columns: 1fr; }
  .sla-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .fleet-banner-grid { grid-template-columns: 1fr; }
  .fleet-banner-content { padding: 24px; }
  .fleet-banner-img-box { height: 240px; }
}
