/*
Theme Name: Elite Repair
Theme URI: https://example.com
Author: TechHouse Agency
Description: Custom theme for Elite Repair (general contractor, Greater Philadelphia). No page builders. Placeholder business built by TechHouse Agency.
Version: 1.0
Text Domain: igors-company
*/

:root {
  --ink: #1B1B1E; --ink-soft: #6B6B6F; --gold: #D4A24C; --gold-dark: #B98931;
  --cream: #FAF7F0; --white: #FFFFFF; --line: #E8E2D3;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--cream); color: var(--ink); }
h1, h2, h3 { font-family: 'Inter', sans-serif; font-weight: 800; margin: 0; letter-spacing: -0.3px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.pill { display: inline-flex; align-items: center; border: 1.5px solid var(--gold); color: var(--gold); font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 8px 18px; border-radius: 30px; }
.pill.on-light { color: var(--gold-dark); border-color: var(--gold-dark); }

/* ============ NAV ============ */
.nav { background: var(--ink); padding: 18px 40px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.nav-logo { color: #fff; font-size: 18px; font-weight: 800; }
.nav-logo .accent { color: var(--gold); }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #B6B4AE; font-size: 13.5px; font-weight: 600; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--gold); color: var(--ink); padding: 11px 22px; border-radius: 30px; font-size: 13.5px; font-weight: 800; }
.nav-cta:hover { background: var(--gold-dark); }
.nav-mobile-hide { display: flex; align-items: center; gap: 30px; }

/* ============ BREADCRUMB (auto-output by header.php on non-front pages) ============ */
.breadcrumb { background: var(--ink); padding: 0 40px 16px; color: #8B898F; font-size: 12.5px; }
.breadcrumb a { color: #8B898F; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.current { color: #fff; font-weight: 600; }

/* ============ HOMEPAGE HERO ============ */
.hero {
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background-color: var(--ink);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,20,22,0.72), rgba(20,20,22,0.82));
  z-index: 1;
}
.hero-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-text { padding: 46px 0 70px; }
.hero .pill { margin-bottom: 26px; }
.hero h1 { color: #fff; font-size: 50px; line-height: 1.12; margin: 0 0 20px; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { color: #C7C4BC; font-size: 16.5px; max-width: 460px; margin: 0 0 30px; line-height: 1.65; font-weight: 400; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ HERO QUOTE CARD — overlaps hero + section below it ============ */
.quote-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  padding: 30px 32px 26px;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
}
.quote-card-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #FBEFD9; color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin: 0 auto 10px;
}
.quote-card h3 { text-align: center; font-size: 21px; margin-bottom: 6px; }
.quote-card-rule { width: 48px; height: 3px; background: var(--gold); margin: 0 auto 18px; border-radius: 2px; }
.quote-row { margin-bottom: 12px; }
.quote-label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.quote-input, .quote-select {
  width: 100%; padding: 8px 10px; border: none; border-bottom: 1.5px solid var(--line);
  border-radius: 0; font-size: 14px; font-family: inherit; color: var(--ink); background: transparent;
}
.quote-input:focus, .quote-select:focus { outline: none; border-color: var(--gold); }
.quote-submit {
  background: var(--gold); color: var(--ink); border: none; width: 100%;
  padding: 13px 26px; border-radius: 30px; font-size: 14.5px; font-weight: 800;
  cursor: pointer; font-family: inherit; margin-top: 6px;
}
.quote-submit:hover { background: var(--gold-dark); }
.btn-primary { display: inline-block; background: var(--gold); color: var(--ink); padding: 15px 30px; border-radius: 30px; font-weight: 800; font-size: 14.5px; border: none; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; padding: 15px 30px; border-radius: 30px; font-weight: 800; font-size: 14.5px; }
.btn-ghost:hover { border-color: #fff; }

/* ============ SUBPAGE HERO ============ */
.page-hero { background: var(--ink); padding: 30px 40px 70px; text-align: center; }
.page-hero .pill { margin-bottom: 22px; }
.page-hero h1 { color: #fff; font-size: 46px; line-height: 1.15; max-width: 640px; margin: 0 auto 18px; }
.page-hero .accent { color: var(--gold); }
.page-hero-sub { color: #C7C4BC; font-size: 16px; max-width: 520px; margin: 0 auto 30px; line-height: 1.6; font-weight: 400; }

/* ============ STAT BAR ============ */
/* Stat bar removed — the quote card now provides the hero-overlap effect.
   If real stats become available later, this pattern can return as its
   own section further down the page rather than competing with the
   quote card for the same visual space. */

/* ============ SECTION SHELLS ============ */
.section { padding: 96px 40px 80px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 46px; }
.section-head .pill { margin-bottom: 18px; }
.section-head h2 { font-size: 36px; color: var(--ink); }
.section-head p { color: var(--ink-soft); font-size: 15.5px; margin-top: 12px; line-height: 1.6; font-weight: 400; }

/* ============ SERVICES GRID (homepage) ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { text-align: left; }
.service-icon { width: 56px; height: 56px; border-radius: 50%; background: #FBEFD9; color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: -28px; position: relative; z-index: 2; left: 20px; border: 4px solid var(--cream); }
.service-card.no-photo .service-icon { margin-bottom: 14px; }
.service-card.no-photo .service-body { padding-top: 6px; }
.service-preview { aspect-ratio: 4/3; border-radius: 16px; background: linear-gradient(135deg, #E8E2D3, #D8CFB8); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 700; text-align: center; }
.service-body { padding: 38px 6px 6px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.service-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; font-weight: 400; }

/* ============ WHY US ============ */
.why-section { background: var(--ink); }
.why-section .section-head h2 { color: #fff; }
.why-section .section-head p { color: #ADABA5; }
.why-grid, .values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card, .value-card { background: #242427; border-radius: 14px; padding: 28px 22px; text-align: center; }
.why-icon, .value-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(212,162,76,0.15); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 18px; }
.why-card h3, .value-card h3 { color: #fff; font-size: 16.5px; margin-bottom: 8px; }
.why-card p, .value-card p { color: #A9A7A1; font-size: 13px; line-height: 1.6; margin: 0; font-weight: 400; }
.values-section { background: var(--ink); }
.values-section .section-head h2 { color: #fff; }

/* ============ PROCESS ============ */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { background: var(--white); border-radius: 14px; padding: 30px 24px; text-align: center; box-shadow: 0 8px 22px rgba(0,0,0,0.05); }
.process-num { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 0; font-weight: 400; }

/* ============ WORK GALLERY ============ */
.filter-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip { font-size: 12.5px; font-weight: 700; padding: 8px 18px; border-radius: 30px; border: 1.5px solid var(--line); color: var(--ink-soft); background: var(--white); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,0.05); }
.work-preview, .photo-card { aspect-ratio: 4/3; background: linear-gradient(135deg, #E8E2D3, #D8CFB8); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 700; text-align: center; }
.photo-card { border-radius: 14px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-info { padding: 20px 22px; }
.work-tag { font-size: 10.5px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gold-dark); font-weight: 800; margin-bottom: 6px; display: block; }
.work-info h3 { font-size: 17px; color: var(--ink); }

/* ============ SERVICE PAGE: WHAT'S INCLUDED / RELATED ============ */
.included-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.included-card { background: var(--white); border-radius: 14px; padding: 24px 26px; box-shadow: 0 8px 22px rgba(0,0,0,0.05); display: flex; gap: 16px; align-items: flex-start; }
.included-check { width: 32px; height: 32px; border-radius: 50%; background: #FBEFD9; color: var(--gold-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; }
.included-card h3 { font-size: 16px; margin-bottom: 6px; }
.included-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; font-weight: 400; }
.related-section { background: var(--ink); }
.related-section .section-head h2 { color: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: #242427; border-radius: 14px; padding: 26px 24px; }
.related-card h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.related-card p { color: #A9A7A1; font-size: 13px; line-height: 1.6; margin: 0 0 14px; font-weight: 400; }
.related-link { color: var(--gold); font-size: 13px; font-weight: 700; }
.related-link:hover { color: var(--gold-dark); }

/* ============ CONTACT ============ */
.contact-shell { background: var(--cream); border-radius: 20px; display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; }
.contact-info { background: var(--ink); padding: 46px 40px; color: #fff; }
.contact-info h3 { font-size: 26px; margin-bottom: 14px; }
.contact-info p { color: #B6B4AE; font-size: 14.5px; line-height: 1.7; margin-bottom: 28px; font-weight: 400; }
.contact-line { display: flex; flex-direction: column; gap: 3px; margin-bottom: 18px; font-size: 14.5px; }
.contact-line .label { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.contact-form { padding: 46px 40px; }
.form-row { margin-bottom: 18px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; color: var(--ink); background: var(--white); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit { background: var(--gold); color: var(--ink); border: none; padding: 14px 28px; border-radius: 30px; font-size: 14.5px; font-weight: 800; width: 100%; cursor: pointer; font-family: inherit; }
.form-submit:hover { background: var(--gold-dark); }

/* ============ SERVICE AREA ============ */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.area-chip { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; font-weight: 700; font-size: 14.5px; text-align: center; }

/* ============ CTA BAND ============ */
.cta-band { background: var(--white); padding: 60px 40px; text-align: center; }
.cta-band h2 { font-size: 28px; margin-bottom: 12px; }
.cta-band p { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; font-weight: 400; }

/* ============ ABOUT STORY ============ */
.story-section { max-width: 760px; margin: 0 auto; text-align: center; }
.story-section p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 20px; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); padding: 44px 40px 26px; text-align: center; }
.footer-logo { color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.footer-logo .accent { color: var(--gold); }
.footer p { color: #8B898F; font-size: 12.5px; margin: 4px 0; font-weight: 400; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-mobile-hide { display: none; }
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 32px; }
  .services-grid, .why-grid, .values-grid, .work-grid, .process-row, .included-grid, .photo-grid, .related-grid, .area-grid { grid-template-columns: 1fr; }
  .stat-bar { flex-direction: column; align-items: center; transform: none; margin-bottom: 0; padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding: 30px 0 20px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .quote-card { margin-bottom: 20px; }
  .contact-shell { grid-template-columns: 1fr; border-radius: 14px; }
  .form-row.split { grid-template-columns: 1fr; }
  .section { padding: 56px 20px; }
  .hero { padding: 64px 22px 90px; }
  .page-hero { padding: 24px 20px 56px; }
  .service-icon { left: 0; }
}