/* DeeKnowsPhones — brand colors pulled from deeknowsphones.com
   black #000, gold #FDB101, red #D6170F, white */
:root {
  --black: #000;
  --ink: #0d0d0d;
  --panel: #151515;
  --panel-2: #1d1d1d;
  --line: #2a2a2a;
  --gold: #fdb101;
  --gold-dark: #e09c00;
  --red: #d6170f;
  --red-dark: #b0120b;
  --white: #fff;
  --muted: #b9b9b9;
  --cream: #fff8e6;
  --radius: 14px;
  --max: 1180px;
  --display: "Anton", "Oswald", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .5px; line-height: 1.08; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); }
.red { color: var(--red); }
.eyebrow { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.lead { font-size: 1.15rem; color: #e6e6e6; max-width: 640px; }
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #ffc531; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #ec2219; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--black); color: var(--gold); }
.btn-dark:hover { background: #222; }

/* Top promo bar */
.topbar { background: var(--red); color: var(--white); font-size: .9rem; font-weight: 700; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar .promo { white-space: nowrap; font-family: var(--display); font-weight: 400; letter-spacing: 1.5px; font-size: 1.05rem; }
.topbar .hours { opacity: .95; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo .name { font-family: var(--display); color: var(--gold); font-size: 1.9rem; letter-spacing: .5px; }
.logo .tag { align-self: flex-start; margin-top: 4px; background: var(--red); color: var(--white); font-weight: 800; font-size: .62rem; letter-spacing: 2.4px; padding: 3px 7px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { padding: 11px 20px; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--black); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/storefront.jpg") center/cover no-repeat;
  opacity: .32;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 20%, rgba(0,0,0,.75) 55%, rgba(0,0,0,.35)); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 .gold { display: block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.trust { display: grid; grid-template-columns: repeat(4, auto); gap: 22px; justify-content: start; }
.trust div { border-left: 3px solid var(--gold); padding-left: 12px; }
.trust strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--white); line-height: 1.1; letter-spacing: .5px; }
.trust span { font-size: .82rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* Quote card */
.quote-card { background: var(--white); color: var(--black); border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.5); border-top: 6px solid var(--gold); }
.quote-card h2 { font-size: 1.9rem; margin-bottom: .2em; }
.quote-card p.small { font-size: .92rem; color: #444; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #d4d4d4; border-radius: 10px; background: #fafafa; color: var(--black);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-dark); background: #fff; box-shadow: 0 0 0 3px rgba(253,177,1,.25); }
.quote-card .btn { width: 100%; }
.quote-card .fine { font-size: .78rem; color: #666; margin: 10px 0 0; text-align: center; }

/* Device strip */
.devices { background: var(--gold); color: var(--black); }
.devices .wrap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding-top: 22px; padding-bottom: 22px; }
.device { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--black); font-weight: 800; font-size: .9rem; padding: 10px 6px; border-radius: 12px; transition: background .15s; text-align: center; }
.device:hover { background: rgba(0,0,0,.08); }
.device svg { width: 34px; height: 34px; }

/* Services */
.services { background: var(--ink); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(253,177,1,.12); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .price-tag { margin-top: auto; font-weight: 800; color: var(--gold); font-size: .95rem; }
.card.feature { background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%); border-color: var(--red); }
.card.feature p { color: #ffe3e1; }
.card.feature .icon { background: rgba(0,0,0,.2); color: var(--white); }
.card.feature .price-tag { color: var(--white); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--display); font-size: 3.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* Pricing */
.pricing { background: var(--cream); color: var(--black); }
.pricing .eyebrow { color: var(--red); }
.pricing .lead { color: #333; }
.price-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.price-table { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #eee; }
.price-row:last-child { border-bottom: 0; }
.price-row .what strong { display: block; font-size: 1.02rem; }
.price-row .what span { font-size: .86rem; color: #666; }
.price-row .amt { font-family: var(--display); font-size: 1.7rem; color: var(--red); white-space: nowrap; letter-spacing: .5px; }
.price-row .amt small { font-family: var(--body); font-size: .75rem; color: #777; font-weight: 600; letter-spacing: 0; display: block; text-align: right; }
.price-head { background: var(--black); color: var(--gold); font-family: var(--display); font-size: 1.3rem; letter-spacing: 1px; padding: 14px 24px; text-transform: uppercase; }
.price-side { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 30px; }
.price-side h3 { color: var(--gold); }
.price-side ul { list-style: none; padding: 0; margin: 0 0 22px; }
.price-side li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: .97rem; }
.price-side li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.price-note { font-size: .85rem; color: #555; margin-top: 16px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-grid figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--panel); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .85rem; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* Reviews */
.reviews { background: var(--ink); }
.rating-badge { display: inline-flex; align-items: center; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px 10px 12px; margin-bottom: 36px; }
.rating-badge .g { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.rating-badge strong { font-family: var(--display); font-size: 1.8rem; font-weight: 400; }
.rating-badge span { color: var(--muted); font-size: .9rem; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; }
.review blockquote { margin: 0 0 18px; font-size: 1.08rem; line-height: 1.55; }
.review figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.why-photo { position: relative; }
.why-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.why-photo .badge { position: absolute; right: -14px; bottom: 28px; background: var(--red); padding: 18px 22px; border-radius: 12px; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; box-shadow: 0 14px 30px rgba(0,0,0,.4); text-transform: uppercase; }
.why-photo .badge small { display: block; font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: 1px; color: #ffd9d6; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--gold); margin-top: 2px; }

/* Mail-in band */
.band { background: var(--gold); color: var(--black); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.band h2 { margin: 0 0 .2em; }
.band p { margin: 0; font-weight: 500; max-width: 640px; }
.band address { font-style: normal; font-weight: 800; background: var(--black); color: var(--white); padding: 18px 22px; border-radius: 12px; line-height: 1.5; font-size: .95rem; }
.band address span { color: var(--gold); display: block; font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--gold); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Visit */
.visit { background: var(--ink); }
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: stretch; }
.visit-info { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.visit-info h3 { color: var(--gold); margin-top: 6px; }
.visit-info address { font-style: normal; font-size: 1.1rem; margin-bottom: 20px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.today td { color: var(--gold); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; border: 1px solid var(--line); background: var(--panel); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* Page hero (inner pages) */
.page-hero { background: var(--black); border-bottom: 4px solid var(--red); padding: 70px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../images/repair-counter.jpg") center/cover; opacity: .18; }
.page-hero .wrap { position: relative; }

/* Service detail */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail.flip .detail-media { order: 2; }
.detail-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail p { color: #d6d6d6; }
.mini-prices { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 6px 20px; margin: 20px 0; }
.mini-prices div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mini-prices div:last-child { border-bottom: 0; }
.mini-prices b { color: var(--gold); white-space: nowrap; }
.callout { border-left: 4px solid var(--red); background: rgba(214,23,15,.1); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .95rem; color: #f1f1f1; margin: 18px 0; }

/* CTA band */
.cta { background: var(--red); text-align: center; }
.cta .wrap { padding-top: 70px; padding-bottom: 70px; }
.cta p { font-size: 1.15rem; margin-bottom: 28px; }
.cta .row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--black); border-top: 4px solid var(--gold); padding: 56px 0 100px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; color: var(--white); }
.social a:hover { background: var(--gold); color: var(--black); }
.social svg { width: 18px; height: 18px; }
.copyright { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2, auto); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .price-layout, .why, .visit-grid, .detail { grid-template-columns: 1fr; }
  .detail.flip .detail-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-photo .badge { right: 14px; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}
@media (max-width: 860px) {
  .topbar .hours { display: none; }
  .topbar .wrap { justify-content: center; }
  .devices .wrap { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--black); border-top: 2px solid var(--gold); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; color: var(--white); text-decoration: none; font-size: .75rem; font-weight: 700; }
  .mobile-bar a:first-child { background: var(--gold); color: var(--black); }
  .mobile-bar svg { width: 22px; height: 22px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 52px; padding-bottom: 56px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: 1fr 1fr; gap: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 160px; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo .name { font-size: 1.6rem; }
  .price-row { padding: 16px 18px; }
  .price-row .amt { font-size: 1.45rem; }
  .quote-card { padding: 22px; }
}
