/* =========================================================
   YouTech Corporation — Design Tokens
   Palette sampled directly from the client's real logo:
   deep royal blue (#012391) + strong red (#C80000).
   ========================================================= */
:root {
  --blue: #0B2A8C;
  --blue-dark: #071C5E;
  --blue-darker: #050F3D;
  --red: #C80000;
  --red-dark: #970000;
  --chalk: #F6F7FA;
  --white: #FFFFFF;
  --ink: #10131A;
  --ink-soft: #4A5164;
  --mist: #EDF0FA;
  --line: #DEE2EE;
  --line-dark: rgba(255,255,255,0.16);

  --font-display: 'Anton', sans-serif;
  --font-sub: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--chalk);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-sub); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.eyebrow {
  font-family: var(--font-sub);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16.5px; }
.section-head.on-dark p { color: #C7CEE8; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(200,0,0,.55); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--line-dark); color: var(--chalk); }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--chalk); }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Top utility bar ---------------- */
.topbar {
  background: var(--blue-darker);
  color: #AEB9E0;
  font-size: 13px;
  font-family: var(--font-sub);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { text-decoration: none; color: inherit; }
.topbar .contacts { display: flex; gap: 22px; }
.topbar .contacts span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .social { display: flex; gap: 14px; }
.topbar .social a { opacity: .85; }
.topbar .social a:hover { opacity: 1; color: var(--red); }
@media (max-width: 640px) { .topbar .contacts span:nth-child(2) { display: none; } }

/* ---------------- Header ---------------- */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(5,15,61,.08);
  width: 100%;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 44px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-family: var(--font-sub);
  font-size: 14px; font-weight: 500; opacity: .82;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: all .2s ease;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; border-color: var(--red); }
.nav-links .external-icon { font-size: 10.5px; opacity: .6; }
.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.burger { display: none; background: none; border: none; color: var(--ink); font-size: 26px; }

@media (max-width: 1180px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13.5px; }
}
@media (max-width: 1040px) {
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 28px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .22s ease;
    max-height: calc(100vh - 78px); overflow-y: auto; box-shadow: 0 20px 30px -20px rgba(5,15,61,.15); }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { width: 100%; padding: 14px 0; font-size: 15px; }
  .burger { display: block; }
}
@media (max-width: 480px) {
  .nav-cta .btn-primary { padding: 12px 18px; font-size: 13.5px; }
  .brand img { height: 34px; }
}

/* ---------------- Page hero (About / Dealer Registration inner pages) ---------------- */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 160% at 85% -20%, #12409E 0%, var(--blue) 45%, var(--blue-dark) 100%);
  color: var(--chalk);
  padding: 68px 0 84px;
}
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { color: #FFB4B4; }
.page-hero .eyebrow::before { background: #FFB4B4; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-top: 14px; color: var(--chalk); }
.page-hero p { font-family: var(--font-body); font-size: 17px; color: #C7CEE8; max-width: 560px; margin-top: 16px; }
.page-hero-mesh {
  position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(246,244,239,.5) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(246,244,239,.5) 38px 39px);
  mask-image: radial-gradient(70% 70% at 78% 20%, black, transparent 75%);
}

/* ---------------- Hero (Home) ---------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 85% -10%, #12409E 0%, var(--blue) 42%, var(--blue-dark) 100%);
  color: var(--chalk);
  overflow: hidden;
  padding: 88px 0 0;
}
.hero-mesh {
  position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(246,244,239,.5) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(246,244,239,.5) 38px 39px);
  mask-image: radial-gradient(70% 70% at 78% 30%, black, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-copy .eyebrow { color: #FFB4B4; }
.hero-copy .eyebrow::before { background: #FFB4B4; }
.hero-copy h1 { font-size: clamp(40px, 6vw, 72px); margin-top: 18px; color: var(--chalk); }
.hero-copy h1 .accent { color: var(--red); }
.hero-copy .lede { font-family: var(--font-body); font-size: 18px; color: #C7CEE8; max-width: 480px; margin-top: 22px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 52px; flex-wrap: wrap; }
.hero-trust div { font-family: var(--font-sub); font-size: 12.5px; color: #9AA8D6; display:flex; align-items:center; gap:8px; }
.hero-trust strong { color: var(--chalk); font-weight: 700; }

/* Photo collage hero graphic */
.hero-graphic { position: relative; height: 460px; }
.photo-collage { position: relative; width: 100%; height: 100%; }
.photo-collage .pc-card {
  position: absolute; border-radius: 18px; overflow: hidden; border: 3px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.photo-collage .pc-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-collage .pc-1 { width: 62%; top: 0; right: 0; aspect-ratio: 4/5; z-index: 2; }
.photo-collage .pc-2 { width: 46%; bottom: 10%; left: 0; aspect-ratio: 4/3; z-index: 3; animation: float 5s ease-in-out infinite; }
.photo-collage .pc-3 { width: 40%; top: 8%; left: -4%; aspect-ratio: 1/1; z-index: 1; opacity: .92; }
.photo-collage .pc-badge {
  position: absolute; bottom: 6%; right: 4%; z-index: 4;
  background: var(--red); color: var(--white); border-radius: 14px; padding: 14px 18px;
  font-family: var(--font-display); box-shadow: 0 20px 40px -14px rgba(200,0,0,.6);
}
.photo-collage .pc-badge .lbl { font-family: var(--font-sub); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.photo-collage .pc-badge .val { font-size: 26px; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-14px);} }

.hero-diagonal {
  position: relative; height: 90px; margin-top: 60px;
  background: var(--blue-dark);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-graphic { height: 380px; margin-top: 30px; }
}
@media (max-width: 480px) {
  .hero-graphic { height: 320px; }
}

/* ---------------- Scoreboard stats ---------------- */
.scoreboard { background: var(--blue-darker); color: var(--chalk); padding: 0 0 90px; margin-top: -1px; }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.score-cell { background: var(--blue-dark); padding: 34px 20px; text-align: center; }
.score-cell .num { font-family: var(--font-display); font-size: clamp(34px,5vw,52px); color: var(--white); display: flex; justify-content: center; gap: 2px; }
.score-cell .lbl { margin-top: 10px; font-family: var(--font-sub); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #9AA8D6; }
@media (max-width: 760px) { .score-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- About ---------------- */
.about { background: var(--chalk); }
.about .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about p.body { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.about .quote {
  border-left: 3px solid var(--red); padding-left: 20px; margin: 28px 0;
  font-family: var(--font-sub); font-size: 18px; color: var(--ink); font-weight: 500;
}
.founder-card {
  background: var(--blue); color: var(--chalk); border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.founder-card .photo { width: 100%; aspect-ratio: 1/1; overflow: hidden; }
.founder-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-card .content { padding: 28px 32px 32px; }
.founder-card h3 { font-family: var(--font-sub); font-size: 20px; }
.founder-card .role { color: #FF9E9E; font-family: var(--font-sub); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.founder-card p { margin-top: 16px; color: #C7CEE8; font-size: 14.5px; }
@media (max-width: 900px) { .about .grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------------- Why choose us ---------------- */
.why { background: var(--mist); }
.why .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list .num { font-family: var(--font-display); font-size: 22px; color: var(--red); width: 40px; flex-shrink: 0; }
.why-list h4 { font-size: 16.5px; font-family: var(--font-sub); }
.why-list p { color: var(--ink-soft); font-size: 14.5px; margin-top: 4px; }
.why-visual {
  border-radius: var(--radius); aspect-ratio: 1/1;
  overflow: hidden; position: relative;
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .why .grid { grid-template-columns: 1fr; } .why-visual { order: -1; aspect-ratio: 16/9; } }

/* ---------------- Partner brands ---------------- */
.brands { background: var(--blue-darker); padding: 56px 0; overflow: hidden; }
.brands .section-head { margin-bottom: 30px; }
.marquee { display: flex; gap: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 20px; animation: scroll 30s linear infinite; flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-chip {
  flex-shrink: 0; width: 168px; height: 96px; border-radius: 14px; background: var(--white);
  display: flex; align-items: center; justify-content: center; padding: 14px; box-shadow: 0 12px 24px -14px rgba(0,0,0,.5);
}
.brand-chip img { width: 100%; height: 100%; object-fit: contain; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Team ---------------- */
.team { background: var(--chalk); }
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tcard { text-align: center; }
.tcard .avatar {
  width: 100%; aspect-ratio: 1/1; border-radius: 16px;
  background: linear-gradient(150deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 30px; color: var(--chalk);
  margin-bottom: 14px; position: relative; overflow: hidden;
}
.tcard .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.tcard h4 { font-size: 14.5px; }
.tcard .role { color: var(--red); font-family: var(--font-sub); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
@media (max-width: 1040px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Athlete banner ---------------- */
.athlete { background: linear-gradient(120deg, var(--red), var(--red-dark)); color: var(--white); }
.athlete .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.athlete .eyebrow { color: rgba(255,255,255,.85); }
.athlete .eyebrow::before { background: rgba(255,255,255,.85); }
.athlete h2 { font-size: clamp(24px,3.4vw,32px); margin-top: 10px; max-width: 560px; }
.athlete p { margin-top: 10px; color: rgba(255,255,255,.9); max-width: 520px; }

/* ---------------- Dealer registration ---------------- */
.register { background: var(--blue); color: var(--chalk); position: relative; overflow: hidden; }
.register .wrap { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
.register .section-head p { color: #C7CEE8; }
.register-points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.register-points li { display: flex; gap: 12px; font-size: 14.5px; color: #DCE3F5; }
.register-points li::before { content: '✓'; color: var(--red); font-weight: 700; }

.form-card { background: var(--chalk); color: var(--ink); border-radius: 18px; padding: 36px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-sub); font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label .opt { color: #9AA6A3; font-weight: 400; text-transform: none; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 9px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 14.5px; background: var(--white); transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field-file { border: 1.5px dashed var(--line); border-radius: 9px; padding: 16px; text-align: center; background: var(--white); cursor: pointer; }
.field-file input { display: none; }
.field-file .file-label { font-family: var(--font-sub); font-size: 13.5px; color: var(--ink-soft); }
.field-file .file-name { font-size: 12.5px; color: var(--red); margin-top: 6px; font-weight: 600; }
.form-note { font-size: 12.5px; color: #7C8394; margin-top: -6px; margin-bottom: 18px; }
.form-msg { margin-top: 16px; font-size: 14px; font-family: var(--font-sub); display: none; padding: 12px 14px; border-radius: 9px; }
.form-msg.show { display: block; }
.form-msg.ok { background: #E4F3E8; color: #1E6B3B; }
.form-msg.err { background: #FBE4E4; color: var(--red-dark); }
@media (max-width: 900px) { .register .wrap { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } .form-card { padding: 26px; } }

/* ---------------- Dealer locator page ---------------- */
.locator-search {
  max-width: 640px; margin: 40px auto 0; background: var(--white); border-radius: 20px;
  padding: 10px; display: flex; gap: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.locator-search-input { flex: 1; min-width: 0; position: relative; }
.locator-search-input input {
  width: 100%; border: none; outline: none; padding: 16px 20px; font-size: 16px;
  font-family: var(--font-body); color: var(--ink); border-radius: 12px;
}
.locator-search-input input::placeholder { color: #A6ACC2; }

.city-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--white); border-radius: 14px; box-shadow: 0 24px 48px -16px rgba(5,15,61,.4);
  max-height: 320px; overflow-y: auto; padding: 8px; z-index: 20; text-align: left;
}
.city-dropdown.open { display: block; }
.city-option {
  display: block; width: 100%; text-align: left; background: none; border: none;
  padding: 11px 14px; border-radius: 8px; font-family: var(--font-body); font-size: 14.5px;
  color: var(--ink); cursor: pointer; transition: background .12s ease;
}
.city-option:hover, .city-option.highlighted { background: var(--mist); }
.city-option.hidden { display: none; }
.city-option-empty { padding: 14px; text-align: center; color: var(--ink-soft); font-size: 13.5px; }
#citySearchBtn {
  flex-shrink: 0; background: var(--red); color: var(--white); border: none; border-radius: 12px;
  padding: 16px 30px; font-family: var(--font-sub); font-weight: 700; font-size: 15px;
  transition: background .18s ease, transform .18s ease;
}
#citySearchBtn:hover { background: var(--red-dark); transform: translateY(-1px); }
@media (max-width: 560px) { .locator-search { flex-direction: column; border-radius: 16px; } }

.locator-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.locator-chip {
  background: rgba(255,255,255,.1); border: 1.5px solid var(--line-dark); color: var(--chalk);
  padding: 9px 18px; border-radius: 999px; font-family: var(--font-sub); font-size: 13.5px; font-weight: 600;
  transition: all .18s ease;
}
.locator-chip:hover, .locator-chip.active { background: var(--red); border-color: var(--red); }

.locator-section { background: var(--chalk); }
.locator-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .locator-layout { grid-template-columns: 1fr; } }

/* Schematic network map (accurate Pakistan outline, real boundary data simplified) */
.network-map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--chalk);
  border: 1px solid var(--line);
}
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-line { stroke: #6E86D6; stroke-width: 0.35; opacity: .5; transition: all .25s ease; }
.net-line.active { stroke: var(--red); stroke-width: 0.6; opacity: 1; }

.map-pin {
  position: absolute; transform: translate(-50%, -50%); background: none; border: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; z-index: 2;
  padding: 6px;
}
.map-pin .dot {
  width: 12px; height: 12px; border-radius: 50%; background: #9AB0EA; border: 2px solid var(--blue-darker);
  box-shadow: 0 0 0 3px rgba(255,255,255,.15); transition: all .2s ease;
}
.map-pin.hub .dot { width: 16px; height: 16px; background: var(--red); box-shadow: 0 0 0 5px rgba(200,0,0,.25); }
.map-pin .pin-label {
  font-family: var(--font-sub); font-size: 10.5px; font-weight: 600; color: #C7CEE8;
  white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: all .2s ease; pointer-events: none;
  background: rgba(5,15,61,.9); padding: 3px 8px; border-radius: 6px;
}
.map-pin:hover .pin-label, .map-pin.active .pin-label { opacity: 1; transform: translateY(0); }
.map-pin.hub .pin-label { opacity: 1; color: #FFC9C9; }
.map-pin.active .dot { background: var(--red); box-shadow: 0 0 0 6px rgba(200,0,0,.3); }
.map-pin.active .dot::after { content: ''; }
.map-pin .dot { position: relative; }
.map-pin.active .dot::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--red);
  animation: pinPulse 1.6s ease-out infinite;
}
@keyframes pinPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.map-caption {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-sub); font-size: 10px; color: var(--ink-soft); letter-spacing: .03em;
  background: rgba(255,255,255,.85); padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}

/* Results */
.locator-results { min-height: 480px; }
.results-empty {
  height: 100%; min-height: 480px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 40px; background: var(--white);
  border: 1.5px dashed var(--line); border-radius: var(--radius);
}
.results-empty .re-icon { font-size: 40px; margin-bottom: 16px; }
.results-empty h3 { font-size: 19px; }
.results-empty p { color: var(--ink-soft); font-size: 14.5px; margin-top: 10px; max-width: 360px; }

.results-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.results-head h3 { font-size: 22px; }
.results-count { font-family: var(--font-sub); font-size: 13px; color: var(--ink-soft); margin-left: 12px; }

.dealer-cards { display: flex; flex-direction: column; gap: 14px; }
.dealer-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap;
}
.dealer-card h4 { font-size: 16.5px; }
.dealer-card .d-address { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }
.dealer-card .d-phone { font-family: var(--font-sub); font-size: 13.5px; color: var(--blue); margin-top: 8px; font-weight: 600; }
.dealer-card .d-actions { display: flex; gap: 10px; flex-shrink: 0; }
.dealer-card .d-actions a {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 16px; border: 1.5px solid var(--line); color: var(--ink); transition: all .18s ease;
}
.dealer-card .d-actions a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------------- Product verification page ---------------- */
.verify-hero { text-align: center; }
.verify-hero .eyebrow { justify-content: center; }
.verify-search {
  max-width: 640px; margin: 40px auto 0; background: var(--white); border-radius: 20px;
  padding: 10px; display: flex; gap: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.verify-search input {
  flex: 1; border: none; outline: none; padding: 16px 20px; font-size: 17px;
  font-family: var(--font-sub); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); border-radius: 12px; min-width: 0;
}
.verify-search input::placeholder { color: #A6ACC2; text-transform: none; font-weight: 500; letter-spacing: normal; }
.verify-search button {
  flex-shrink: 0; background: var(--red); color: var(--white); border: none; border-radius: 12px;
  padding: 16px 30px; font-family: var(--font-sub); font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px; transition: background .18s ease, transform .18s ease;
}
.verify-search button:hover { background: var(--red-dark); transform: translateY(-1px); }
.verify-search button:disabled { opacity: .6; cursor: default; transform: none; }
.verify-hint { margin-top: 18px; font-size: 13.5px; color: #B9C2E8; }
@media (max-width: 560px) {
  .verify-search { flex-direction: column; border-radius: 16px; }
  .verify-search input { text-align: center; }
  .verify-search button { justify-content: center; }
}

.verify-result { max-width: 640px; margin: 0 auto; }
.result-card {
  display: none; align-items: flex-start; gap: 18px; padding: 28px 30px; border-radius: 18px;
  margin-top: 28px; text-align: left; animation: resultIn .35s ease;
}
.result-card.show { display: flex; }
@keyframes resultIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.result-card .r-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 26px; font-weight: 700;
}
.result-card .r-title { font-family: var(--font-sub); font-weight: 700; font-size: 19px; }
.result-card .r-text { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }
.result-card .r-code { font-family: var(--font-sub); font-weight: 700; letter-spacing: .04em; }

.result-card.ok { background: #E3F5E8; border: 1.5px solid #A9DDB8; }
.result-card.ok .r-icon { background: #1E9E4A; color: var(--white); }
.result-card.ok .r-title { color: #14562D; }
.result-card.ok .r-text { color: #1E6B3B; }

.result-card.repeat { background: #FFF4E0; border: 1.5px solid #F3D394; }
.result-card.repeat .r-icon { background: #C97B0A; color: var(--white); }
.result-card.repeat .r-title { color: #7A4C06; }
.result-card.repeat .r-text { color: #8A5A0C; }

.result-card.bad { background: #FBE7E7; border: 1.5px solid #F0B3B3; }
.result-card.bad .r-icon { background: var(--red); color: var(--white); }
.result-card.bad .r-title { color: #7A0000; }
.result-card.bad .r-text { color: #970000; }

.verify-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.verify-steps .vstep { text-align: center; }
.verify-steps .vstep .n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-size: 18px; margin: 0 auto 14px;
}
.verify-steps .vstep h4 { font-size: 15.5px; }
.verify-steps .vstep p { color: var(--ink-soft); font-size: 13.5px; margin-top: 6px; }
@media (max-width: 700px) { .verify-steps { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------- Teaser links (home page, linking to dedicated pages) ---------------- */
.teaser-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-family: var(--font-sub); font-weight: 600; font-size: 14.5px; color: var(--red); text-decoration: none;
}
.teaser-link:hover { text-decoration: underline; }

/* ---------------- Photo banner (About page) ---------------- */
.photo-banner { position: relative; height: 320px; overflow: hidden; }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; }
.photo-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,15,61,.94) 0%, rgba(5,15,61,.86) 40%, rgba(5,15,61,.55) 75%, rgba(5,15,61,.4) 100%); }
.photo-banner .wrap { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.photo-banner-copy { position: relative; color: var(--chalk); max-width: 480px; }
.photo-banner-copy h3 { font-family: var(--font-display); font-size: clamp(24px,3vw,34px); text-transform: uppercase; color: var(--chalk); text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.photo-banner-copy p { margin-top: 10px; color: #EAEEFB; font-size: 15px; text-shadow: 0 2px 10px rgba(0,0,0,.55); }

/* ---------------- Mission/Vision cards (About page) ---------------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.mv-card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--white); font-size: 20px; }
.mv-card h3 { font-size: 19px; margin-top: 18px; }
.mv-card p { color: var(--ink-soft); font-size: 14.5px; margin-top: 10px; }
@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
footer { background: var(--blue-darker); color: #9AA8D6; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 16px; display: inline-flex; background: var(--white); padding: 8px 16px; border-radius: 10px; }
.footer-brand .brand img { height: 32px; }
.footer-brand p { font-size: 14px; max-width: 300px; color: #8993C2; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center; text-decoration: none; color: #C7CEE8; font-size: 13px;
  transition: all .2s ease;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
footer h5 { font-family: var(--font-sub); color: var(--chalk); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
footer a { text-decoration: none; color: #9AA8D6; font-size: 14.5px; transition: color .2s ease; }
footer a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 13px; color: #6A75A8; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--red); outline-offset: 2px;
}
