/* ============================================================
   Locksmith San Jose — Steel Theme
   Fonts: Sora (headings) + Source Serif 4 (body) — self-hosted
   ============================================================ */

@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-SemiBold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/SourceSerif4-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/SourceSerif4-SemiBold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}

:root {
  --bg:            #0a0c12;
  --bg-card:       #1a1d28;
  --bg-section:    #10131e;
  --bg-alt:        #14172280;
  --primary:       #4a90d9;
  --primary-dark:  #2c6fad;
  --primary-light: #7ab3e8;
  --accent:        #e8c84a;
  --text:          #e8eaf0;
  --text-muted:    #9098b0;
  --text-dim:      #6b7280;
  --border:        #252840;
  --border-light:  #374151;
  --white:         #ffffff;
  --radius:        8px;
  --radius-lg:     14px;
  --radius-xl:     20px;
  --shadow:        0 4px 24px rgba(0,0,0,0.45);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.6);
  --font-head:     'Sora', system-ui, sans-serif;
  --font-body:     'Source Serif 4', Georgia, serif;
  --ease:          cubic-bezier(0.4,0,0.2,1);
  --max-w:         1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--text); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }
li { line-height: 1.6; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 80px 0; }
.section--light { background: var(--bg-section); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: #090b10; }
.section-label { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 0.6rem; }
.section-headline { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.section-subhead { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; }
.section-intro { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; padding: 13px 26px; border-radius: var(--radius); border: none; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; text-decoration: none; line-height: 1; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: var(--text); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10,12,18,0.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.site-header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-header__logo-img { height: 36px; width: auto; }
.site-header__logo-text { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.site-nav { display: flex; align-items: center; gap: 0.2rem; }
.site-nav a { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--text-muted); padding: 8px 12px; border-radius: 6px; text-decoration: none; transition: color 0.2s, background 0.2s; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); background: rgba(255,255,255,0.05); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }

.page-hero { position: relative; min-height: clamp(420px, 52vh, 620px); display: flex; align-items: center; overflow: hidden; background: var(--bg); }
.page-hero--tall { min-height: clamp(480px, 60vh, 700px); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10,12,18,0.92) 0%, rgba(10,12,18,0.72) 50%, rgba(10,12,18,0.40) 100%); z-index: 1; }
.page-hero__content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 60px 1.5rem; width: 100%; }
.page-hero__eyebrow { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 1rem; }
.page-hero__content h1 { color: var(--white); max-width: 760px; margin-bottom: 1.2rem; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.page-hero__content p { color: rgba(255,255,255,0.82); max-width: 600px; font-size: 1.08rem; margin-bottom: 2rem; }
.page-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.page-hero__trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.page-hero__trust-item { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.75); }

.trust-strip { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-strip__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.trust-chip { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.trust-chip svg { color: var(--primary); flex-shrink: 0; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.svc-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.svc-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.svc-card__media { aspect-ratio: 3/2; overflow: hidden; background: var(--bg-section); position: relative; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); display: block; }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.svc-card__body h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.svc-card__body p { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.svc-card__link { margin-top: 1rem; font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.feature-row__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__content .section-label { margin-bottom: 0.5rem; }
.feature-row__content h2 { margin-bottom: 1rem; }
.feature-row__content p { color: var(--text-muted); margin-bottom: 1.5rem; }
.feature-list { margin: 1.2rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.feature-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 0.55em; flex-shrink: 0; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; }
.step-card__num { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.step-card p { color: var(--text-muted); font-size: 0.92rem; }

.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.mini-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.mini-card__icon { color: var(--primary); margin-bottom: 0.8rem; }
.mini-card h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.mini-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.faq-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 840px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { font-family: var(--font-head); font-size: 1rem; font-weight: 600; padding: 1.2rem 1.5rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 1.5rem 1.2rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; }
.review-card__stars { color: var(--primary); font-size: 1.1rem; margin-bottom: 0.8rem; }
.review-card__text { color: var(--text-muted); font-size: 0.95rem; font-style: italic; margin-bottom: 1.2rem; line-height: 1.7; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.9rem; flex-shrink: 0; }
.review-card__name { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.review-card__meta { font-size: 0.8rem; color: var(--text-dim); }

.cta-band { background: var(--primary); padding: 80px 0; text-align: center; }
.cta-band h2 { color: #000; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(0,0,0,0.7); max-width: 560px; margin: 0 auto 2rem; }
.cta-band .btn { background: #000; color: var(--primary); }
.cta-band .btn:hover { background: rgba(0,0,0,0.85); }

.site-footer { background: #070810; border-top: 1px solid var(--border); padding: 60px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.site-footer__brand-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 0.7rem; }
.site-footer__tagline { color: var(--primary); font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.8rem; }
.site-footer__desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }
.site-footer__col h5 { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__col a { color: var(--text-muted); font-size: 0.88rem; }
.site-footer__col a:hover { color: var(--primary); }
.site-footer__bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.site-footer__copy { color: var(--text-dim); font-size: 0.82rem; }
.site-footer__credit { font-size: 0.82rem; color: var(--text-dim); }
.site-footer p, .site-footer li, .site-footer a, .site-footer span { color: var(--text-muted); }
.site-footer__brand-name, .site-footer h5 { color: var(--text); }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.fade-up.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

@media (max-width: 768px) {
  .site-nav { display: none; position: fixed; inset: 68px 0 0; background: var(--bg); flex-direction: column; padding: 2rem 1.5rem; gap: 0.5rem; z-index: 99; }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 1.1rem; padding: 14px 16px; border-radius: var(--radius); width: 100%; }
  .nav-toggle { display: flex; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row--reverse { direction: ltr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__brand { grid-column: 1/-1; }
}
@media (max-width: 480px) {
  .page-hero__actions { flex-direction: column; }
  .page-hero__trust { gap: 1rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .trust-strip__inner { gap: 1rem; }
}
