/* Philly Team Auto Glass — Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0f1923;
  --blue:   #1a6bbd;
  --blue-lt:#2b80d9;
  --sky:    #e8f2fb;
  --sky-lt: #f4f8fd;
  --white:  #ffffff;
  --gray:   #64748b;
  --gray-lt:#e2e8f0;
  --text:   #0f172a;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(15,25,35,.10);
  --shadow-md: 0 4px 32px rgba(15,25,35,.14);
  --max: 1080px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

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

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-lt); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { font-size: 1.4rem; }
.logo-name { font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.2; }
.logo-sub { font-size: .65rem; color: var(--gray); letter-spacing: .06em; text-transform: uppercase; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--navy); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; padding: 10px 22px; border-radius: var(--radius); font-size: .875rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s; border: 2px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-lt); border-color: var(--blue-lt); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--sky); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-white-solid { background: #fff; color: var(--navy); }
.btn-white-solid:hover { background: var(--sky-lt); }
.btn-lg { padding: 13px 28px; font-size: .95rem; }
.btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #1a2e48 60%, var(--blue) 100%); color: #fff; padding: 90px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(26,107,189,.25) 0%, transparent 60%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 600; padding: 5px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.2rem,5vw,3.4rem); line-height: 1.15; color: #fff; margin-bottom: 18px; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); }
.proof-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); font-size: .85rem; }
.proof-item span { color: #4ade80; font-weight: 700; }

/* TRUST BAR */
.trust-bar { background: var(--navy); padding: 20px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; align-items: center; padding: 0 32px; gap: 2px; }
.trust-item strong { color: #fff; font-size: 1.1rem; }
.trust-item span { color: rgba(255,255,255,.55); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--sky-lt); }
.section-dark { background: var(--navy); color: #fff; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header.light h2 { color: #fff; }
.section-sub { color: var(--gray); max-width: 580px; margin: 12px auto 0; font-size: .95rem; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.eyebrow.light { color: #60a5fa; }
h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.7rem,4vw,2.5rem); color: var(--navy); line-height: 1.2; margin-bottom: 10px; }
.section-dark h2 { color: #fff; }

/* TWO-COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.col-text p { color: var(--gray); margin-bottom: 16px; line-height: 1.75; }
.col-text .btn { margin-top: 8px; }
.visual-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 20px; }
.vc-row { display: flex; gap: 16px; align-items: flex-start; }
.vc-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.vc-row strong { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 2px; }
.vc-row p { color: var(--gray); font-size: .85rem; margin: 0; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--gray-lt); transition: all .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.05rem; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: .875rem; line-height: 1.7; }

/* STEPS */
.steps { display: flex; align-items: flex-start; gap: 0; justify-content: center; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; max-width: 260px; text-align: center; padding: 0 16px; }
.step-num { width: 48px; height: 48px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; margin: 0 auto 16px; }
.step h3 { font-size: 1rem; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: .875rem; line-height: 1.65; }
.step-arrow { font-size: 1.8rem; color: var(--gray-lt); padding-top: 12px; flex-shrink: 0; align-self: flex-start; margin-top: 36px; }

/* ADAS */
.adas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.adas-col h4 { color: rgba(255,255,255,.9); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { color: rgba(255,255,255,.78); font-size: .9rem; display: flex; align-items: flex-start; gap: 10px; }
.check-list li::before { content: '✓'; color: #4ade80; font-weight: 700; flex-shrink: 0; }
.adas-cta-text { text-align: center; color: rgba(255,255,255,.65); font-size: .9rem; }
.adas-cta-text a { color: #60a5fa; }

/* FAQ */
.faq-wrap { max-width: 700px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--gray-lt); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--blue); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 16px; color: var(--gray); font-size: .9rem; line-height: 1.7; }

/* QUOTE FORM */
.quote-form { max-width: 640px; margin: 0 auto; background: #fff; padding: 36px; border-radius: 12px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; margin-bottom: 16px; }
label { font-size: .8rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; }
input, select, textarea { padding: 11px 14px; border: 1.5px solid var(--gray-lt); border-radius: 6px; font-family: inherit; font-size: .9rem; color: var(--text); background: var(--sky-lt); transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
textarea { resize: vertical; min-height: 80px; }

/* FOOTER */
footer { background: var(--navy); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-actions { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--gray-lt); }
  .nav-actions.open { display: flex; }
  .hamburger { display: block; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { gap: 0; }
  .trust-divider { display: none; }
  .trust-item { padding: 10px 20px; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .adas-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .hero-btns { flex-direction: column; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero { padding: 60px 0; }
}
