/* ==========================================================
   Angels Auto Care & Repair
   Colors live here. Change them once, the whole site updates.
   ========================================================== */
:root {
  --bg: #F7F5F2;          /* page background (warm off-white) */
  --surface: #FFFFFF;     /* cards */
  --stone: #EFEBE5;       /* soft gray panels */
  --line: #E2DCD3;        /* borders */
  --text: #24211E;        /* charcoal text */
  --muted: #6E665D;       /* secondary text */
  --accent: #D19A3A;      /* amber buttons */
  --accent-dark: #BC8629; /* amber hover */
  --accent-soft: #F5E9D4; /* icon backgrounds */
  --radius: 14px;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--text); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-ghost-light { border-color: rgba(247,245,242,.4); color: var(--bg); }
.btn-ghost-light:hover { border-color: var(--bg); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 242, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 68px; width: auto; }
.footer-logo { width: 220px; height: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { color: var(--text); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .2s;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-white { background: var(--surface); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }

.text-link {
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s;
}
.text-link:hover { color: var(--accent-dark); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero .lead { margin: 22px 0 34px; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { width: 100%; max-width: 560px; justify-self: end; }

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p { color: var(--muted); font-size: .96rem; margin-top: 6px; }

.icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  flex: none;
}
.icon svg,
.info-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checks { list-style: none; margin-top: 18px; display: grid; gap: 8px; font-size: .95rem; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks li::before {
  content: "";
  margin-top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid .lead,
.about .lead { margin-top: 18px; }
.about-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about-points li {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  font-size: 1.1rem;
  color: var(--muted);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { border-top: 2px solid var(--accent); padding-top: 18px; }
.stat-num {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-label { color: var(--muted); font-size: .95rem; }

/* ---------- Reviews ---------- */
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; fill: var(--accent); }
.review blockquote { font-size: 1.05rem; line-height: 1.55; }
.review-name { margin-top: 20px; font-weight: 700; font-size: .95rem; }
.review-name span { display: block; font-weight: 500; color: var(--muted); }

/* ---------- Call to action band ---------- */
.cta {
  background: var(--text);
  color: var(--bg);
  border-radius: 20px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta p { color: #BFB6AA; margin-top: 10px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner page header ---------- */
.page-hero { padding: 72px 0 48px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.1rem); }
.page-hero .lead { margin-top: 16px; }
.page-note {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: .95rem;
  max-width: 36em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}
.form-card { padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-card .btn { margin-top: 24px; width: 100%; }
.form-note { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }
.form-success { text-align: center; padding: 40px 8px; }
.form-success .icon { margin: 0 auto 20px; }
.form-success p { margin-top: 8px; }

.info-card { padding: 32px; }
.info-card h2 { font-size: 1.4rem; margin-bottom: 8px; }
.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
}
.info-icon svg { width: 22px; height: 22px; }
.info-label { font-size: .85rem; color: var(--muted); display: block; }
.info-value { font-weight: 700; overflow-wrap: anywhere; }
a.info-value:hover { color: var(--accent-dark); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 32px;
}
.footer-grid p { color: var(--muted); margin-top: 14px; max-width: 22em; font-size: .95rem; }
.footer-col h3 { font-size: .9rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.footer-col a:hover { color: var(--text); }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  transition: border-color .2s, background-color .2s;
}
.social-btn:hover { border-color: var(--text); }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 245, 242, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .hero-art { justify-self: center; }
  .about-grid { gap: 40px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .header-inner { height: 72px; }
  .logo-img { height: 54px; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 16px; padding: 14px; font-size: 1rem; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .page-hero { padding: 48px 0 32px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }

  .grid-3 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px; }
  .card.service {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .card.service .icon { margin: 0; grid-row: span 3; }
  .card.service p { margin-top: 2px; }
  .card.service .checks { margin-top: 12px; }

  .hero-actions .btn,
  .cta-actions .btn { flex: 1; }
  .stats { gap: 12px; }
  .stat-label { font-size: .85rem; }
  .cta { padding: 36px 24px; border-radius: 16px; }
  .cta-actions { width: 100%; }

  .form-card, .info-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Section that sits right under a page header */
.section.flush { padding-top: 0; }
.form-success .lead { margin-inline: auto; }
