/* ============================================
   APEX TYRE SOLUTIONS — Main Stylesheet
   ============================================ */

/* --- Custom Properties --- */
:root {
  --navy:        #1a3a5c;
  --navy-dark:   #0d2035;
  --navy-mid:    #1e4570;
  --navy-light:  #2a5a8c;
  --orange:      #e8651a;
  --orange-hover:#cf5615;
  --white:       #ffffff;
  --off-white:   #f8f9fb;
  --light-bg:    #f0f3f7;
  --border:      #dde4ed;
  --text:        #1a2332;
  --text-muted:  #6b7a8d;
  --success:     #22c55e;
  --error:       #ef4444;

  --radius:    8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(26,58,92,0.10);
  --shadow:    0 2px 12px rgba(26,58,92,0.12);
  --shadow-md: 0 4px 20px rgba(26,58,92,0.15);
  --shadow-lg: 0 8px 32px rgba(26,58,92,0.18);

  --transition:    0.2s ease;
  --transition-md: 0.3s ease;
  --max-w:    1200px;
  --max-w-sm: 860px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* --- Layout --- */
.container    { max-width: var(--max-w);    margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: var(--max-w-sm); margin: 0 auto; padding: 0 1.5rem; }
.section      { padding: 5rem 0; }
.section-sm   { padding: 3rem 0; }
.section-alt  { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy p { color: var(--white); }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center  { display: flex; align-items: center; justify-content: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: var(--radius); font-size: 1rem;
  font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none; white-space: nowrap;
  font-family: inherit;
}
.btn-primary  { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(232,101,26,0.35); }
.btn-navy     { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-sm  { padding: 0.5rem 1.2rem; font-size: 0.875rem; }
.btn-lg  { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* --- Navigation --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex; align-items: center;
  height: 76px; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 54px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; flex: 1; justify-content: center; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 0.78rem; font-weight: 600;
  padding: 0.45rem 0.8rem; border-radius: var(--radius);
  transition: all var(--transition); letter-spacing: 0.04em; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.11); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; margin-left: 1rem; }
.nav-cta:hover { background: var(--orange-hover) !important; color: var(--white) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 0.4rem; border: none; background: none;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition-md); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero (Homepage) --- */
.hero {
  position: relative; min-height: calc(100vh - 68px);
  display: flex; align-items: center;
  background: var(--navy-dark); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-car.jpg');
  background-size: cover; background-position: center;
  opacity: 0.38;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  padding: 5rem 1.5rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; max-width: 800px; }
.hero-content h1 span { color: var(--orange); }
.hero-content p { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 540px; margin-bottom: 2rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88); border-radius: var(--radius-full);
  padding: 0.4rem 1.1rem; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  background: var(--navy-dark); position: relative; overflow: hidden;
  min-height: 320px; display: flex; align-items: center;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.page-hero-content {
  position: relative; z-index: 1; max-width: var(--max-w);
  margin: 0 auto; padding: 4rem 1.5rem; text-align: center;
}
.page-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-content p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto 1.5rem; }

/* --- Cards --- */
.card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; background: var(--off-white);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem; font-size: 1.5rem;
}
.card-icon.navy   { background: var(--navy); color: var(--white); }
.card-icon.orange { background: var(--orange); color: var(--white); }
.card h3  { margin-bottom: 0.4rem; }
.card p   { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }

/* Service cards */
.service-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.75rem; border: 2px solid var(--border);
  transition: all var(--transition); text-decoration: none; display: block;
}
.service-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card .icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.service-card h3 { color: var(--navy); margin-bottom: 0.4rem; font-size: 1.1rem; }
.service-card p  { color: var(--text-muted); font-size: 0.9rem; }

/* --- Stats Strip --- */
.stats-strip { background: var(--navy); padding: 2.5rem 0; }
.stats-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item h3 { color: var(--orange); font-size: 2.2rem; font-weight: 800; }
.stat-item p  { color: rgba(255,255,255,0.78); font-size: 0.875rem; margin-top: 0.25rem; }

/* --- CTA Banner --- */
.cta-banner { background: var(--navy); padding: 5rem 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.78); margin-bottom: 2rem; font-size: 1.05rem; }

/* --- Footer --- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.68); padding: 4rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer-brand img { width: 200px; height: 52px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p   { font-size: 0.875rem; line-height: 1.7; max-width: 270px; }
.footer-col h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.62); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem;
  display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.62); }
.footer-bottom a:hover { color: var(--orange); }

/* --- Brands Page --- */
.brands-search {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1rem 1.25rem; box-shadow: var(--shadow); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  border: 2px solid var(--border); transition: border-color var(--transition);
}
.brands-search:focus-within { border-color: var(--navy); }
.brands-search input { flex: 1; border: none; outline: none; font-size: 1rem; color: var(--text); background: transparent; font-family: inherit; }
.brands-search .search-icon { color: var(--text-muted); font-size: 1.1rem; }

.brands-count { text-align: center; margin-bottom: 2rem; }
.brands-count span { background: var(--navy); color: var(--white); padding: 0.45rem 1.5rem; border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 600; }

.brands-section { margin-bottom: 2rem; }
.brands-section-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.brands-letter {
  width: 38px; height: 38px; background: var(--navy); color: var(--white);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.brands-letter.popular { background: var(--orange); }
.brands-divider { flex: 1; height: 1px; background: var(--border); }
.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.brand-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.8rem 1rem; text-align: center; font-weight: 500; color: var(--text);
  font-size: 0.9rem; transition: all var(--transition);
}
.brand-card:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.brands-section.hidden, .brand-card.hidden { display: none; }
.no-results { text-align: center; padding: 4rem; color: var(--text-muted); display: none; }
.no-results.show { display: block; }

/* --- Quote Form --- */
.quote-form { max-width: var(--max-w-sm); margin: 0 auto; }
.form-section {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 2.25rem; box-shadow: var(--shadow);
  margin-bottom: 1.25rem; border: 1px solid var(--border);
}
.form-section-title {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: 0.75rem;
}
.form-section-title .step {
  width: 26px; height: 26px; background: var(--navy); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.form-row        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; margin-bottom: 0.85rem; }
.form-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.form-row.cols-1 { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-label .req { color: var(--error); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  padding: 0.7rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; color: var(--text); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit; width: 100%; appearance: none; -webkit-appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a8d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.form-input.error, .form-select.error, .form-textarea.error { border-color: var(--error); }
.field-error { font-size: 0.78rem; color: var(--error); display: none; margin-top: 0.2rem; }
.field-error.show { display: block; }
.form-textarea { resize: vertical; min-height: 100px; }

/* Radio Cards */
.radio-cards { display: flex; flex-direction: column; gap: 0.6rem; }
.radio-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition);
}
.radio-card:hover  { border-color: var(--navy-light); background: var(--off-white); }
.radio-card.sel    { border-color: var(--navy); background: rgba(26,58,92,0.04); }
.radio-card input[type="radio"] { accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }
.radio-label { flex: 1; }
.radio-label strong { display: block; font-size: 0.95rem; color: var(--text); }
.radio-label span   { font-size: 0.83rem; color: var(--text-muted); }

/* Checkbox card */
.check-card {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.25rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition); margin-top: 0.6rem;
}
.check-card:hover { border-color: var(--navy-light); background: var(--off-white); }
.check-card.sel   { border-color: var(--navy); background: rgba(26,58,92,0.04); }
.check-card input { accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; margin-top: 2px; }
.check-label strong { display: block; font-size: 0.95rem; color: var(--text); }
.check-label span   { font-size: 0.83rem; color: var(--text-muted); }

/* Tab Toggle */
.tab-toggle { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; width: fit-content; margin-bottom: 1rem; }
.tab-toggle button {
  padding: 0.55rem 1.25rem; border: none; background: var(--white);
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.tab-toggle button.active { background: var(--navy); color: var(--white); }

/* Tyre size inputs */
.tyre-size-fields { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tyre-size-fields .form-input { width: 85px; text-align: center; }
.tyre-size-fields .sep { font-size: 1.4rem; color: var(--text-muted); font-weight: 300; line-height: 1; }
.tyre-size-fields .rim-label { font-weight: 700; color: var(--text-muted); font-size: 1rem; }

/* Tyre option cards */
.tyre-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.tyre-option {
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 1rem; cursor: pointer; transition: all var(--transition); text-align: center;
}
.tyre-option:hover { border-color: var(--navy); }
.tyre-option.sel   { border-color: var(--navy); background: rgba(26,58,92,0.05); }
.tyre-option input { accent-color: var(--navy); margin-bottom: 0.35rem; }
.tyre-option .opt-name { font-weight: 700; color: var(--navy); display: block; }
.tyre-option .opt-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; display: block; }

/* Form alerts */
.form-alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-top: 1rem; font-weight: 500; display: none; }
.form-alert.show    { display: block; }
.form-alert.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.form-alert.error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Terms row */
.terms-row { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.terms-row input { accent-color: var(--navy); width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; cursor: pointer; }
.terms-row label { font-size: 0.875rem; color: var(--text-muted); cursor: pointer; }
.terms-row a { color: var(--navy); text-decoration: underline; }
.turnaround { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; font-style: italic; }

/* --- Tyre Size Explainer --- */
.tyre-size-display {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--border);
  margin-bottom: 1.5rem; text-align: center;
}
.tyre-code {
  font-size: clamp(2rem, 6vw, 4rem); font-weight: 800;
  letter-spacing: 0.02em; color: var(--navy-dark); margin-bottom: 0.5rem;
}
.tyre-code .hl { color: #e8141a; background: rgba(232,20,26,0.13); border-radius: 5px; padding: 0 4px; text-decoration: underline; text-underline-offset: 8px; }
.ruler {
  display: flex; align-items: center; justify-content: center;
  gap: 3px; margin: 1rem 0; overflow-x: auto;
}
.ruler span { display: block; background: var(--border); flex-shrink: 0; width: 2px; }
.ruler span.maj { height: 18px; background: var(--text-muted); }
.ruler span.min { height: 10px; }

.tyre-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; margin: 1.5rem 0 0; }
.tyre-tab {
  padding: 0.55rem 1rem; border-radius: var(--radius); border: 1.5px solid var(--border);
  background: var(--white); color: var(--text-muted); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.tyre-tab:hover { border-color: var(--navy-light); color: var(--navy); }
.tyre-tab.active { background: var(--white); color: var(--orange); border-color: var(--navy); border-width: 2px; font-weight: 700; }

.tyre-tab-panels { margin-top: 0; }
.tyre-panel {
  display: none; padding: 2rem; background: var(--off-white);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  animation: fadeIn 0.25s ease;
}
.tyre-panel.active { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.tyre-panel-icon {
  width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0;
}
.tyre-panel-icon img { width: 130px; height: 130px; object-fit: contain; }
.tyre-panel h3 { color: var(--navy); text-align: center; }
.tyre-panel p  { color: var(--text-muted); text-align: center; max-width: 480px; line-height: 1.7; }
.example-box {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.65rem 1.5rem; font-size: 0.9rem; color: var(--text);
}

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.info-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.info-card h3 { color: var(--navy); margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--orange); }
.info-card ul { list-style: disc; padding-left: 1.25rem; }
.info-card ul li { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.4rem; }
.info-card ul li strong { color: var(--text); }
.info-card blockquote {
  background: var(--off-white); border-left: 3px solid var(--orange);
  padding: 0.75rem 1rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-top: 0.75rem;
}

/* --- FAQ --- */
.faq-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; justify-content: center; }
.faq-cat-btn {
  padding: 0.55rem 1.25rem; border-radius: var(--radius-full); border: 1.5px solid var(--border);
  background: var(--white); color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.faq-cat-btn.active, .faq-cat-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.faq-section { margin-bottom: 2.5rem; }
.faq-section-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.85rem; padding-bottom: 0.65rem; border-bottom: 2px solid var(--navy); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.4rem; overflow: hidden; }
.faq-q {
  width: 100%; padding: 1rem 1.25rem; background: var(--white);
  border: none; text-align: left; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.95rem; font-weight: 500; color: var(--text); font-family: inherit;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--off-white); }
.faq-q.open  { background: var(--off-white); color: var(--navy); font-weight: 600; }
.faq-q .faq-icon { font-size: 1.2rem; color: var(--text-muted); transition: transform var(--transition); flex-shrink: 0; font-style: normal; font-weight: 300; }
.faq-q.open .faq-icon { transform: rotate(45deg); color: var(--navy); }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-ans-inner { padding: 1rem 1.25rem; color: var(--text-muted); font-size: 0.93rem; line-height: 1.75; border-top: 1px solid var(--border); }

/* --- About --- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.story-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--light-bg); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-content h2 { margin-bottom: 1rem; }
.story-content p  { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.diff-card { background: var(--white); border-radius: var(--radius-md); padding: 1.75rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.diff-card .diff-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.diff-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--navy); }
.diff-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* --- Terms & Conditions --- */
.terms-section { margin-bottom: 2.5rem; }
.terms-section h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border); }
.terms-section h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.75rem; margin-top: 1.5rem; }
.terms-section p  { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.85rem; }

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.4s ease; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.font-bold   { font-weight: 700; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 1.5rem; }
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--navy-dark); flex-direction: column; padding: 1rem;
    gap: 0.2rem; box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav { position: sticky; }
  .nav-links { flex: unset; justify-content: flex-start; }
  .nav-cta { margin-left: 0 !important; }

  .grid-2, .grid-3, .grid-4, .story-grid, .info-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row, .form-row.cols-2, .form-row.cols-3 { grid-template-columns: 1fr; }
  .tyre-options { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .form-section { padding: 1.25rem; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .tyre-size-fields .form-input { width: 75px; }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section { padding: 5rem 0; background: var(--navy-dark); }
.video-section .section-title h2 { color: var(--white); }
.video-section .section-title p  { color: rgba(255,255,255,0.76); }
.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  max-width: 900px; margin: 0 auto;
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ============================================
   NEW FAQ — details/summary structure
   ============================================ */
.faq-header { text-align: center; margin-bottom: 2.5rem; }
.faq-header h1 { margin-bottom: 0.75rem; }
.faq-subtitle { color: var(--text-muted); font-size: 1.05rem; }

.faq-categories { margin-bottom: 2.5rem; }
.category-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.category-link {
  padding: 0.55rem 1.25rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  transition: all var(--transition); text-decoration: none;
}
.category-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

#ordering, #selection, #pricing, #installation, #technical {
  scroll-margin-top: 90px;
}

details.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 0.4rem; overflow: hidden;
}
details.faq-item summary.faq-question {
  padding: 1rem 1.25rem; background: var(--white); cursor: pointer;
  font-size: 0.95rem; font-weight: 500; color: var(--text);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
  user-select: none;
}
details.faq-item summary.faq-question::-webkit-details-marker { display: none; }
details.faq-item summary.faq-question::after {
  content: '+'; font-size: 1.4rem; color: var(--text-muted);
  font-weight: 300; transition: transform var(--transition); flex-shrink: 0;
}
details.faq-item[open] summary.faq-question {
  background: var(--off-white); color: var(--navy); font-weight: 600;
}
details.faq-item[open] summary.faq-question::after {
  transform: rotate(45deg); color: var(--navy);
}
details.faq-item .faq-answer {
  padding: 1rem 1.25rem; color: var(--text-muted);
  font-size: 0.93rem; line-height: 1.75;
  border-top: 1px solid var(--border); background: var(--white);
}

.faq-contact {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center; margin-top: 2.5rem;
}
.faq-contact h3 { color: var(--white); margin-bottom: 0.75rem; }
.faq-contact p  { color: rgba(255,255,255,0.78); margin-bottom: 1.5rem; }
.contact-button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2rem; background: var(--orange); color: var(--white);
  border-radius: var(--radius); font-weight: 600; font-size: 1rem;
  transition: all var(--transition); text-decoration: none;
}
.contact-button:hover { background: var(--orange-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(232,101,26,0.35); }

/* ============================================
   TYRE TYPES LIST (tyre-size page)
   ============================================ */
.tyre-types-list { display: flex; flex-direction: column; gap: 0; }
.tyre-type-item {
  display: flex; flex-direction: column;
  padding: 0.7rem 0; border-bottom: 1px solid var(--border);
}
.tyre-type-item:last-child { border-bottom: none; padding-bottom: 0; }
.tyre-type-item strong { color: var(--text); font-size: 0.95rem; }
.tyre-type-item span   { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.1rem; }

/* ============================================
   SPECIAL MARKINGS MODAL
   ============================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 500;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 620px; width: 100%; max-height: 82vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: fadeIn 0.2s ease;
}
.modal-header {
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.modal-header h3 { margin: 0; color: var(--navy); font-size: 1.1rem; }
.modal-close {
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
  color: var(--text-muted); padding: 0.2rem 0.4rem; line-height: 1;
  border-radius: var(--radius); transition: all var(--transition);
}
.modal-close:hover { background: var(--off-white); color: var(--text); }
.modal-body { overflow-y: auto; }
.modal-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.modal-table th {
  background: var(--off-white); padding: 0.65rem 1rem;
  text-align: left; font-weight: 600; color: var(--text);
  border-bottom: 2px solid var(--border); position: sticky; top: 0;
}
.modal-table td { padding: 0.5rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.modal-table td:nth-child(2) { color: var(--navy); font-weight: 600; white-space: nowrap; }
.modal-table tr:last-child td { border-bottom: none; }
.modal-table .cat-label { color: var(--text); font-style: italic; font-size: 0.8rem; }

@media (max-width: 768px) {
  .video-wrapper { border-radius: var(--radius); }
}
