/* ===========================================================
   Hero Bike Agency — Shared Stylesheet
   =========================================================== */

:root {
  --red: #e2231a;
  --red-dark: #b81b14;
  --ink: #1a1a1a;
  --ink-soft: #444;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-dark: #14161a;
  --line: #e6e8ec;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --maxw: 1180px;
  --t: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 78px 0; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h2.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 8px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head p { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--t);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; }
.brand .mark {
  width: 38px; height: 38px;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  border-radius: 9px;
  font-style: italic;
  transform: skewX(-8deg);
}
.brand b { color: var(--red); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: var(--t);
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--red); }
.nav-cta { margin-left: 8px; }
.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 0%, #2a2d34 0%, var(--bg-dark) 60%);
  color: #fff;
  padding: 96px 0 110px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%; bottom: -30%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(226,35,26,.35), transparent 60%);
  filter: blur(10px);
}
.hero .container { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.hero h1 span { color: var(--red); }
.hero p { font-size: 1.15rem; color: #c9ccd3; margin: 18px 0 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 38px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stats .num { font-size: 2rem; font-weight: 900; color: #fff; }
.hero-stats .lbl { color: #9aa0ab; font-size: 0.9rem; }

/* page banner (inner pages) */
.page-banner {
  background: radial-gradient(120% 120% at 80% 0%, #2a2d34 0%, var(--bg-dark) 70%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.page-banner h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-banner p { color: #b9bdc6; margin-top: 10px; }
.breadcrumb { color: #8b919c; font-size: 0.85rem; margin-top: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: #fde7e6; color: var(--red);
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Product cards ---------- */
.bike-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bike {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: var(--t);
  display: flex; flex-direction: column;
}
.bike:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bike .thumb {
  height: 190px;
  display: grid; place-items: center;
  font-size: 4.5rem;
  background: linear-gradient(135deg, #f0f2f5, #e3e6eb);
  position: relative;
}
.bike .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 11px; border-radius: 30px;
  text-transform: uppercase; letter-spacing: .05em;
}
.bike .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.bike .cat { color: var(--red); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; }
.bike h3 { font-size: 1.25rem; margin: 4px 0 10px; }
.bike .specs { display: flex; gap: 16px; color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 16px; flex-wrap: wrap; }
.bike .specs span b { color: var(--ink); display: block; }
.bike .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.bike .price { font-size: 1.3rem; font-weight: 900; }
.bike .price small { font-weight: 500; color: var(--ink-soft); font-size: 0.72rem; display: block; }

/* filter pills */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.pill {
  padding: 9px 20px; border-radius: 30px;
  border: 1px solid var(--line); background: #fff;
  font-weight: 600; cursor: pointer; transition: var(--t); color: var(--ink-soft);
}
.pill:hover { border-color: var(--red); color: var(--red); }
.pill.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual {
  border-radius: var(--radius);
  min-height: 360px;
  background: linear-gradient(135deg, var(--ink), #3a3d44);
  display: grid; place-items: center;
  color: #fff; font-size: 6rem;
  position: relative; overflow: hidden;
}
.split .visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(226,35,26,.4), transparent 55%);
}
.split h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 18px; }
.check-list li { padding: 7px 0 7px 30px; position: relative; color: var(--ink-soft); }
.check-list li::before {
  content: "✔"; position: absolute; left: 0; color: var(--red); font-weight: 900;
}

.bg-soft { background: var(--bg-soft); }

/* ---------- Stats strip ---------- */
.stat-strip { background: var(--ink); color: #fff; }
.stat-strip .grid-4 { text-align: center; }
.stat-strip .num { font-size: 2.6rem; font-weight: 900; color: var(--red); }
.stat-strip .lbl { color: #b9bdc6; }

/* ---------- Values / team ---------- */
.team-card { text-align: center; }
.team-card .avatar {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--red), #ff6a5c);
  display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 800;
}
.team-card .role { color: var(--red); font-weight: 600; font-size: 0.9rem; }

/* ---------- Careers ---------- */
.job {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 24px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 16px; transition: var(--t); flex-wrap: wrap;
}
.job:hover { border-color: var(--red); box-shadow: var(--shadow); }
.job .meta { display: flex; gap: 14px; color: var(--ink-soft); font-size: 0.88rem; margin-top: 6px; flex-wrap: wrap; }
.job .meta span { display: inline-flex; align-items: center; gap: 5px; }
.job h3 { font-size: 1.2rem; }
.perk { text-align: center; }
.perk .ico { margin: 0 auto 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 16px;
}
.info-card .ico { width: 46px; height: 46px; flex: none; background: #fde7e6; color: var(--red); border-radius: 11px; display: grid; place-items: center; font-size: 1.3rem; }
.info-card h4 { font-size: 1rem; }
.info-card p { color: var(--ink-soft); font-size: 0.94rem; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.92rem; }
form input, form select, form textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; transition: var(--t);
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,35,26,.12);
}
form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 10px; background: #e7f7ec; color: #1c7a3e; font-weight: 600; }
.form-note.show { display: block; }

.map-embed {
  margin-top: 18px; border-radius: var(--radius); overflow: hidden;
  height: 220px; background: linear-gradient(135deg,#e3e6eb,#f0f2f5);
  display: grid; place-items: center; color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: #fff; text-align: center; border-radius: 22px;
  padding: 56px 24px; margin: 0 auto;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: #ffe2e0; margin: 12px 0 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #c2c6cf; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.site-footer a { display: block; padding: 5px 0; color: #c2c6cf; transition: var(--t); }
.site-footer a:hover { color: var(--red); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-about p { font-size: 0.94rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 9px;
  background: #23262d; display: grid; place-items: center; padding: 0; color: #fff;
}
.socials a:hover { background: var(--red); }
.footer-bottom {
  border-top: 1px solid #23262d; margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.85rem; color: #8b919c;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .bike-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  section { padding: 56px 0; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .menu-toggle { display: block; }
  .grid-3, .grid-4, .bike-grid, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .job { flex-direction: column; align-items: flex-start; }
}
