/* ============================================
   BUFORD CELL PHONE REPAIR — style.css
   ============================================ */

:root {
  --blue: #1a56db;
  --blue-dark: #1344b8;
  --blue-light: #e8f0fe;
  --dark: #0f172a;
  --dark2: #1e293b;
  --text: #1e293b;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --green: #16a34a;
  --wa: #25d366;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 { font-family: 'Outfit', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { line-height: 1.7; }

.accent { color: var(--blue); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- BUTTONS ---- */
.btn-main {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-main:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--dark);
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  border: 2px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff;
  padding: 13px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  transition: opacity 0.2s;
}
.btn-wa:hover { opacity: 0.9; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
#navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--dark);
}
.nav-logo strong { color: var(--blue); }
.logo-icon { font-size: 22px; }

.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); }
.nav-call {
  background: var(--blue) !important; color: #fff !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 600 !important;
}
.nav-call:hover { background: var(--blue-dark) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  padding: 120px 1.5rem 80px;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #f8faff 100%);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; min-height: 90vh;
  max-width: 1140px; margin: 0 auto;
  position: relative;
}
.hero-bg-pattern {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #f8faff 100%);
}
.hero-content { flex: 1; max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  border-radius: 99px; padding: 7px 16px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--blue);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.8)} }

.hero h1 { margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero-sub { font-size: 17px; color: var(--muted); margin-bottom: 2rem; max-width: 500px; font-weight: 400; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-trust {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 16px 20px;
  box-shadow: var(--shadow); width: fit-content;
}
.trust-item { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.trust-num { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--dark); }
.trust-label { font-size: 11px; color: var(--muted); margin-top: 2px; text-align: center; }
.trust-div { width: 1px; height: 36px; background: var(--border); }

.hero-phones { flex: 0 0 420px; display: flex; align-items: center; justify-content: center; }
.hero-phone-wrap { position: relative; }
.hero-phone-img { max-height: 480px; width: auto; filter: drop-shadow(0 20px 60px rgba(26,86,219,0.15)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* fallback phone mock */
.hero-phone-fallback { display: flex; justify-content: center; }
.phone-mock {
  width: 180px; height: 360px;
  background: var(--dark); border-radius: 36px;
  padding: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.pm-screen { background: #1a56db22; border-radius: 28px; height: 100%; padding: 40px 16px 16px; position: relative; overflow: hidden; }
.pm-notch { width: 60px; height: 20px; background: var(--dark); border-radius: 10px; margin: 0 auto 20px; }
.pm-bar { height: 12px; background: rgba(255,255,255,0.15); border-radius: 6px; margin-bottom: 10px; }
.pm-bar.short { width: 60%; }
.pm-crack {
  position: absolute; top: 20px; left: 30px;
  width: 120px; height: 200px;
  background: linear-gradient(135deg, transparent 49%, rgba(255,255,255,0.25) 50%, transparent 51%);
}

/* ---- SECTION HEADS ---- */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head.light h2, .section-head.light .section-sub { color: var(--white); }
.section-head.light .section-label { color: rgba(255,255,255,0.7); }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.5rem;
}
.section-sub { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0.5rem auto 0; }

section { padding: 80px 0; }

/* ---- DEVICE SELECT ---- */
.device-select { background: var(--light); }
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}
.device-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; transition: all 0.2s; cursor: pointer;
  position: relative; overflow: hidden;
}
.device-card:hover {
  border-color: var(--blue); box-shadow: 0 8px 32px rgba(26,86,219,0.12);
  transform: translateY(-4px);
}
.device-card:hover .device-arrow { color: var(--blue); }
.device-img-wrap { height: 110px; display: flex; align-items: center; justify-content: center; }
.device-img-wrap img { max-height: 110px; width: auto; object-fit: contain; transition: transform 0.2s; }
.device-card:hover .device-img-wrap img { transform: scale(1.05); }
.device-emoji { font-size: 3.5rem; }
.device-name { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--dark); }
.device-arrow { font-size: 14px; color: var(--muted); transition: color 0.2s; }

/* ---- WHY US ---- */
.why-us { background: var(--white); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--light); border-radius: var(--radius);
  padding: 1.75rem; border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.why-card h3 { margin-bottom: 0.5rem; }
.why-card p { color: var(--muted); font-size: 14px; }

/* ---- SERVICES DETAIL ---- */
.services-detail { background: var(--light); }
.services-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 2rem; justify-content: center;
}
.stab {
  padding: 10px 22px; border-radius: 99px;
  border: 2px solid var(--border); background: var(--white);
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; color: var(--muted);
}
.stab:hover, .stab.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.stab-content { display: none; }
.stab-content.active { display: block; }

.repair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.repair-item {
  background: var(--white); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
  border: 1px solid var(--border); transition: box-shadow 0.2s;
}
.repair-item:hover { box-shadow: var(--shadow); }
.ri-icon { font-size: 1.75rem; flex-shrink: 0; }
.repair-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.repair-item p { font-size: 13px; color: var(--muted); }

/* ---- PRICING ---- */
.pricing { background: var(--dark); }
.pricing .section-label { color: rgba(255,255,255,0.6); }
.pricing h2, .pricing .section-sub { color: var(--white); }
.pricing .section-sub { color: rgba(255,255,255,0.6); }

.price-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 2rem;
}
.ptab {
  padding: 10px 22px; border-radius: 99px;
  border: 2px solid rgba(255,255,255,0.15); background: transparent;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; color: rgba(255,255,255,0.6);
}
.ptab:hover, .ptab.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.ptab-content { display: none; }
.ptab-content.active { display: block; }

.price-table-wrap { overflow-x: auto; border-radius: var(--radius); margin-bottom: 1.5rem; }
.price-table {
  width: 100%; border-collapse: collapse;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius); overflow: hidden;
}
.price-table thead tr { background: var(--blue); }
.price-table th {
  padding: 14px 20px; text-align: left;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  color: #fff; white-space: nowrap;
}
.price-table td {
  padding: 13px 20px; font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}
.price-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.03); }
.price-table tbody tr:hover { background: rgba(26,86,219,0.1); }
.price-table .free-row td { color: #4ade80; font-weight: 600; }
.price-note { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 8px; }

.pricing-cta { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.pricing-cta p { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }

/* ---- QUOTE CTA ---- */
.quote-cta { background: var(--blue-light); }
.qcta-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.qcta-text h2 { color: var(--dark); margin-bottom: 1rem; }
.qcta-text p { color: var(--muted); margin-bottom: 1.5rem; }
.qcta-list li { padding: 6px 0; font-size: 15px; color: var(--text); }
.qcta-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.qcta-device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qcta-device {
  background: var(--white); border-radius: var(--radius);
  padding: 1.25rem 0.75rem; text-align: center;
  border: 2px solid var(--border); transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.qcta-device:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.qcta-device img { max-height: 70px; width: auto; margin: 0 auto; }
.qcta-device span { font-size: 12px; font-weight: 600; color: var(--dark); }

/* ---- LOCATION ---- */
.location { background: var(--white); }
.location-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: start; }
.loc-card {
  background: var(--light); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
}
.loc-card h3 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--dark); }
.loc-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.loc-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.loc-row strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.loc-row p { font-size: 15px; color: var(--text); line-height: 1.6; }
.loc-row a { color: var(--blue); font-size: 15px; }
.loc-row a:hover { text-decoration: underline; }
.loc-link { font-size: 13px; color: var(--blue); font-weight: 600; margin-top: 4px; display: block; }
.loc-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.5rem; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* ---- FOOTER ---- */
footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 0.75rem; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 1rem; }
.fsocial {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center;
  justify-content: center; font-size: 18px; transition: background 0.2s;
}
.fsocial:hover { background: var(--blue); }
.footer-links { display: flex; flex-direction: column; }
.footer-links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding: 1.5rem 0; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ---- FLOATING BUTTONS ---- */
.float-wrap {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  display: flex; flex-direction: column; gap: 10px; z-index: 888;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s; text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.wa-btn { background: var(--wa); }
.call-btn { background: var(--blue); }

/* ---- QUOTE PAGE ---- */
.quote-page { padding: 100px 0 80px; background: var(--light); min-height: 100vh; }
.quote-page .container { max-width: 860px; }

.qp-header { text-align: center; margin-bottom: 2.5rem; }
.qp-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.qp-header p { color: var(--muted); }

.quote-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 2.5rem; flex-wrap: nowrap; overflow-x: auto;
}
.qs-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 90px;
}
.qs-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--border); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; font-family: 'Outfit', sans-serif;
  transition: all 0.3s;
}
.qs-item.active .qs-num, .qs-item.done .qs-num { background: var(--blue); color: #fff; }
.qs-label { font-size: 11px; color: var(--muted); text-align: center; }
.qs-item.active .qs-label { color: var(--blue); font-weight: 600; }
.qs-line { flex: 1; height: 2px; background: var(--border); min-width: 30px; transition: background 0.3s; }
.qs-line.done { background: var(--blue); }

.quote-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Step Titles */
.step-title { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-sub { font-size: 14px; color: var(--muted); margin-bottom: 1.75rem; }

/* Model Cards */
.model-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px; margin-bottom: 1.5rem;
}
.model-card {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 0.75rem; text-align: center;
  cursor: pointer; transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.model-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(26,86,219,0.1); }
.model-card.selected { border-color: var(--blue); background: var(--blue-light); }
.model-card img { max-height: 80px; width: auto; margin: 0 auto; transition: transform 0.2s; }
.model-card:hover img, .model-card.selected img { transform: scale(1.05); }
.model-card-emoji { font-size: 2.5rem; }
.model-name { font-size: 12px; font-weight: 600; color: var(--dark); line-height: 1.3; }
.model-brand { font-size: 11px; color: var(--muted); }

/* Repair Cards */
.repair-choice-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px; margin-bottom: 1.5rem;
}
.repair-choice {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1rem; text-align: center;
  cursor: pointer; transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.repair-choice:hover { border-color: var(--blue); }
.repair-choice.selected { border-color: var(--blue); background: var(--blue-light); }
.repair-choice-icon { font-size: 2rem; }
.repair-choice-name { font-size: 13px; font-weight: 600; }
.repair-choice-price { font-size: 12px; color: var(--blue); font-weight: 600; }

/* Form fields */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group label span { color: #ef4444; }
.form-input {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s; background: var(--white); color: var(--text);
}
.form-input:focus { outline: none; border-color: var(--blue); }
.form-input::placeholder { color: #94a3b8; }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.quote-summary {
  background: var(--light); border-radius: var(--radius);
  padding: 1.25rem; margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.qs-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.qs-row:last-child { border: none; font-weight: 600; }
.qs-row span:first-child { color: var(--muted); }

.step-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 1.5rem; }
.btn-back {
  background: transparent; border: 2px solid var(--border);
  color: var(--muted); padding: 12px 24px;
  border-radius: 10px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-back:hover { border-color: var(--muted); color: var(--text); }
.btn-next {
  background: var(--blue); color: #fff;
  border: none; padding: 12px 28px;
  border-radius: 10px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: 'Outfit', sans-serif;
  transition: background 0.2s; flex: 1;
}
.btn-next:hover { background: var(--blue-dark); }

.success-card {
  text-align: center; padding: 3rem 1rem; display: none;
}
.success-card.show { display: block; }
.success-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: #dcfce7; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1.5rem;
  font-size: 2.5rem;
}
.success-card h2 { color: var(--dark); margin-bottom: 0.75rem; }
.success-card p { color: var(--muted); margin-bottom: 0.5rem; }
.hidden { display: none !important; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 100px 1.25rem 60px; min-height: auto; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-phones { display: none; }
  .trust-item { padding: 0 12px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem; gap: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border: none; }
  .device-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .qcta-inner { grid-template-columns: 1fr; }
  .qcta-device-grid { grid-template-columns: repeat(4, 1fr); }
  .location-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .repair-choice-grid { grid-template-columns: repeat(3, 1fr); }
  section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .repair-choice-grid { grid-template-columns: repeat(2, 1fr); }
  .qcta-device-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .hero-trust { gap: 0; }
  .trust-item { padding: 0 8px; }
}
