/*
Theme Name: Sierra Pink Automotive
Theme URI: https://sierrapinkautomotive.com
Author: Sierra Pink Automotive
Description: A simple one-page theme for Sierra Pink Automotive, a Reno repair shop. Everything lives on one home page: services, about, and contact. No menus, no blog, no form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: sierra-pink-automotive
*/

:root {
  --bg: #ffe6f0;
  --text: #241017;
  --text-soft: #4a2a38;
  --accent: #c4126a;
  --accent-dark: #7a1048;
  --navy: #1f2a44;
  --logo-pink: #f05888;
  --white: #ffffff;
  --shadow-sm: 0 8px 22px rgba(31, 42, 68, 0.10);
  --shadow-md: 0 10px 30px rgba(31, 42, 68, 0.12);
  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
  /* Turns off letter joining so "fl" in "Fleet" renders as two clear letters. */
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }

.spa-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.spa-btn {
  display: inline-block;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-align: center;
}
.spa-btn:hover { filter: brightness(1.08); }
.spa-btn--pink { background: var(--accent); color: var(--white); }
.spa-btn--white { background: var(--white); color: var(--navy); }
.spa-btn--navy { background: var(--navy); color: var(--white); }
.spa-btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.spa-btn--outline-navy { background: var(--white); color: var(--navy); border-color: var(--navy); }
.spa-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.spa-btn-row--center { justify-content: center; }

/* ---------- Top info bar ---------- */
.spa-topbar { background: var(--navy); color: var(--white); font-size: 14px; }
.spa-topbar .spa-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.spa-topbar a { font-weight: 600; }

/* ---------- Nav ---------- */
.spa-nav {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(31, 42, 68, 0.10);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-bar .spa-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .spa-nav { top: 46px; } }
.spa-nav .spa-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.spa-brand { display: flex; align-items: center; gap: 12px; }
.spa-brand img { width: 60px; height: 60px; object-fit: contain; border-radius: 50%; display: block; }
.spa-brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  color: var(--navy);
}
.spa-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  font-weight: 600;
  color: var(--navy);
}
.spa-links a:hover { color: var(--accent); }
.spa-links a.spa-btn { padding: 12px 22px; font-size: 16px; color: var(--white); }
.spa-links a.spa-btn:hover { color: var(--white); }

/* Anchor targets sit below the sticky nav. */
#services, #about, #contact { scroll-margin-top: 90px; }

/* ---------- Hero ---------- */
.spa-hero { background: var(--navy); color: var(--white); position: relative; }
.spa-hero .spa-wrap {
  padding-top: 72px;
  padding-bottom: 150px;
  text-align: center;
}
.spa-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.spa-hero h1 span { color: var(--logo-pink); }
.spa-hero .spa-sub {
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.4;
  margin: 24px auto 0;
  max-width: 760px;
  color: #f1f3f8;
}
.spa-hero .spa-btn-row { margin-top: 36px; justify-content: center; }
.spa-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 80px;
  display: block;
}

/* ---------- Team photo ---------- */
.spa-photo { margin-top: -96px; position: relative; }
.spa-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(31, 42, 68, 0.28);
  border: 6px solid var(--white);
}

/* ---------- Trust box ---------- */
.spa-trust { margin-top: 56px; }
.spa-trust-box {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.spa-trust-box > img { height: 260px; width: auto; display: block; }
.spa-trust-mid { flex: 1 1 340px; min-width: 0; }
.spa-trust-mid h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  color: var(--navy);
}
.spa-trust-mid p { font-size: 17px; line-height: 1.55; color: var(--text-soft); margin-top: 14px; }
.spa-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.spa-tag {
  background: var(--bg);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 999px;
}
.spa-tag--ase {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--bg);
  padding: 6px 18px 6px 8px;
}
.spa-tag--ase img { width: 44px; height: 44px; display: block; }
.spa-green {
  flex: 0 0 auto;
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.spa-green img { width: 200px; height: 200px; display: block; }
.spa-green strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--navy);
}
.spa-green span { font-size: 16px; line-height: 1.45; color: var(--text-soft); }

/* ---------- Section headings ---------- */
.spa-section { margin-top: 88px; }
.spa-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.spa-section h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  color: var(--navy);
  margin-top: 8px;
}
.spa-lead { font-size: 18px; line-height: 1.5; color: var(--text-soft); margin-top: 14px; max-width: 680px; }

/* ---------- Service cards (two columns on desktop, so 14 cards end even) ---------- */
.spa-services-top { margin-top: 24px; }
.spa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 24px;
  margin-top: 32px;
}
.spa-card {
  background: var(--white);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spa-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  color: var(--navy);
}
.spa-card p { font-size: 17px; line-height: 1.5; color: var(--text-soft); }
.spa-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.spa-card li { font-size: 16px; line-height: 1.4; padding-left: 22px; position: relative; }
.spa-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.spa-services-bottom { margin-top: 32px; }

/* ---------- About ---------- */
.spa-about {
  background: var(--navy);
  color: var(--white);
  border-radius: 32px;
  padding: 48px 40px;
}
.spa-about-inner { max-width: 760px; }
.spa-about .spa-eyebrow { color: var(--logo-pink); }
.spa-about h2 { color: var(--white); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.spa-about p { font-size: 18px; line-height: 1.6; color: #f1f3f8; margin-top: 16px; }

/* ---------- Contact ---------- */
.spa-contact { padding-bottom: 88px; }
.spa-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  margin-top: 32px;
}
.spa-info {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.spa-info h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--navy); }
.spa-info p { font-size: 18px; line-height: 1.7; margin-top: 12px; }
.spa-info p a { font-weight: 600; color: var(--accent); overflow-wrap: anywhere; }
.spa-info .spa-note { font-size: 15px; line-height: 1.5; color: var(--text-soft); }

/* ---------- Footer ---------- */
.spa-footer { background: var(--navy); color: #f1f3f8; font-size: 15px; }
.spa-footer .spa-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .spa-wrap { padding: 0 16px; }
  .spa-hero .spa-wrap { padding-top: 48px; padding-bottom: 120px; }
  .spa-photo { margin-top: -80px; }
  .spa-photo img { border-width: 4px; border-radius: 20px; }
  .spa-trust-box { padding: 24px 20px; }
  .spa-trust-box > img { height: 220px; }
  .spa-trust-mid h2 { font-size: 24px; }
  .spa-section { margin-top: 64px; }
  .spa-card { padding: 24px; border-radius: 22px; }
  .spa-about { padding: 32px 24px; border-radius: 24px; }
  .spa-btn { width: 100%; }
  .spa-links a.spa-btn { width: auto; }
  .spa-nav .spa-wrap { justify-content: center; }
  .spa-links { justify-content: center; }
}
