/* Generated by generate.py — base.css + theme-c.css concatenated */

/* ===== theme-c.css ===== */

/* ============================================================
   THEME C — Gunmetal / Amber  (rugged, industrial, professional)
   ============================================================ */

:root {
  /* Brand */
  --color-primary: #2B3640;
  --color-primary-dark: #1B232A;
  --color-primary-light: #3E4C57;
  --color-accent: #E07A0F;
  --color-accent-dark: #B5610A;

  /* Surface */
  --color-bg: #F2F3F1;
  --color-bg-alt: #FFFFFF;
  --color-bg-dark: #1B232A;
  --color-surface: #FAFAF8;

  /* Text */
  --color-text: #1E262C;
  --color-text-muted: #5A646B;
  --color-text-light: #8A9299;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-accent: #FFFFFF;

  /* Fixed CTAs */
  --color-call: #D32F2F;
  --color-call-dark: #B71C1C;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;

  /* Borders */
  --color-border: #D5D8D4;
  --color-border-dark: #ADB2AD;
  --color-focus-ring: rgba(224, 122, 15, 0.22);

  /* Treatment — moderate radius, mid shadows */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27, 35, 42, 0.10);
  --shadow-md: 0 3px 8px rgba(27, 35, 42, 0.14);
  --shadow-lg: 0 8px 22px rgba(27, 35, 42, 0.18);
  --shadow-hard: 0 6px 0 rgba(27, 35, 42, 0.15);

  /* Header / accents */
  --header-border: 3px solid #E07A0F;
  --card-accent-border: 4px solid #E07A0F;
  --form-accent-border: 4px solid #E07A0F;
  --hero-overlay-from: rgba(27, 35, 42, 0.85);
  --hero-overlay-to: rgba(27, 35, 42, 0.62);

  /* Typography */
  --font-heading: 'Anton', 'Inter', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --heading-weight: 400;  /* Anton is naturally heavy */
  --heading-tracking: 0.025em;

  /* Spacing & layout */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --container-max: 1200px;
  --header-height: 76px;

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-md: 250ms ease;
}

/* Theme C treatment — subtle cool stone overlay on alternate sections */
section.alt {
  background: linear-gradient(180deg, #FAFAF8 0%, #EAECE8 100%);
}

/* Theme C — heavier section heading underline */
.section-heading h2 {
  border-bottom: 3px double var(--color-accent);
  padding-bottom: 0.6rem;
}


/* ===== base.css ===== */

/* ============================================================
   BASE — structural CSS shared across all themes.
   Theme variables are defined in theme-{a,b,c,d}.css.
   The site's final css/theme.css = base.css + theme-X.css.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1vw + 0.5rem, 17px);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-accent-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 var(--space-md);
  letter-spacing: var(--heading-tracking);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); font-weight: var(--heading-weight); }
h2 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem); font-weight: var(--heading-weight); }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.5rem); font-weight: 700; }

p { margin: 0 0 var(--space-md); }
ul, ol { margin: 0 0 var(--space-md); padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section { padding: var(--space-2xl) 0; }
section.alt { background: var(--color-bg-alt); }

/* ----- HEADER ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-bg-alt);
  border-bottom: var(--header-border);
  height: var(--header-height);
  transition: box-shadow var(--transition-md);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-logo img { height: 44px; width: auto; }

.main-nav { display: none; }
@media (min-width: 992px) {
  .main-nav { display: flex; gap: var(--space-lg); align-items: center; }
  .main-nav a { color: var(--color-text); font-weight: 500; font-size: 0.95rem; padding: 0.5rem 0; }
  .main-nav a:hover { color: var(--color-accent-dark); text-decoration: none; }
  .nav-dropdown { position: relative; }
  .nav-dropdown > a::after { content: ' ▾'; font-size: 0.7em; }
  .dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: var(--color-bg-alt); border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg); border-radius: var(--radius-md);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
  }
  .nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .dropdown-menu a { display: block; padding: 0.5rem 1rem; }
  .dropdown-menu a:hover { background: var(--color-bg); }
}

.header-cta { display: none; gap: var(--space-sm); }
@media (min-width: 992px) { .header-cta { display: flex; } }

.btn-call-header, .btn-whatsapp-header {
  padding: 0.5rem 1rem;
  font-weight: 700; font-size: 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.btn-call-header { background: var(--color-call); color: #fff; }
.btn-call-header:hover { background: var(--color-call-dark); color: #fff; text-decoration: none; }
.btn-whatsapp-header { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp-header:hover { background: var(--color-whatsapp-dark); color: #fff; text-decoration: none; }

.hamburger { display: block; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--color-primary); margin: 5px 0; transition: all var(--transition-md); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 992px) { .hamburger { display: none; } }

.mobile-menu {
  position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--color-bg-alt); padding: var(--space-lg);
  transform: translateY(-110%); transition: transform var(--transition-md);
  overflow-y: auto;
  z-index: 99;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; padding: 0.75rem 0; font-size: 1.1rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.mobile-menu .submenu { padding-left: 1rem; }

/* ----- HERO ----- */
.hero {
  position: relative; padding: var(--space-2xl) 0;
  background: var(--color-primary); color: var(--color-text-on-dark);
}
.hero h1 { color: var(--color-accent); margin-bottom: var(--space-md); }
.hero .lead { font-size: clamp(1.05rem, 1vw + 0.7rem, 1.25rem); margin-bottom: var(--space-lg); max-width: 60ch; }
.hero-phone {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw + 0.5rem, 2.4rem);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  letter-spacing: 0.05em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-md); }

.btn { display: inline-block; padding: 0.85rem 1.75rem; font-weight: 700; font-size: 1rem; border-radius: var(--radius-md); border: 0; cursor: pointer; transition: all var(--transition-fast); text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-call { background: var(--color-call); color: #fff; }
.btn-call:hover { background: var(--color-call-dark); color: #fff; }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); color: #fff; }
.btn-primary { background: var(--color-accent); color: var(--color-text-on-accent); }
.btn-primary:hover { background: var(--color-accent-dark); color: var(--color-text-on-accent); }

/* Hero — Full-bleed variant */
.hero.full-bleed { text-align: center; padding: var(--space-2xl) 0; min-height: 70vh; display: flex; align-items: center; }
.hero.full-bleed::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--hero-overlay-from), var(--hero-overlay-to)), url('../images/hero.jpg') center/cover;
}
.hero.full-bleed > .container { position: relative; z-index: 1; }
.hero.full-bleed .hero-cta { justify-content: center; }
.hero.full-bleed .lead, .hero.centered .lead { margin-left: auto; margin-right: auto; }

/* Hero — Split variant */
.hero.split .container { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 992px) { .hero.split .container { grid-template-columns: 1.1fr 1fr; } }
.hero.split .hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-hard); }

/* Hero — Centered variant */
.hero.centered { text-align: center; }
.hero.centered .hero-cta { justify-content: center; }
.hero.centered::after {
  content: ''; position: absolute; right: -10%; bottom: -10%;
  width: 60%; height: 80%;
  background: url('../images/truck-silhouette.svg') right bottom/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

/* ----- SECTIONS ----- */
.intro { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 768px) { .intro { grid-template-columns: 1fr 1fr; } }

.feature-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 576px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--color-bg-alt); padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: var(--card-accent-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-md);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon { width: 48px; height: 48px; color: var(--color-accent); margin-bottom: var(--space-md); }
.feature-card h3 { color: var(--color-primary); }

.coverage-grid { display: grid; gap: var(--space-md); }
@media (min-width: 576px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .coverage-grid { grid-template-columns: repeat(4, 1fr); } }

.coverage-card {
  display: block; padding: var(--space-lg);
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-md);
}
.coverage-card:hover { border-color: var(--color-accent); transform: translateY(-2px); text-decoration: none; }
.coverage-card h3 { color: var(--color-primary); margin-bottom: 0.5rem; }
.coverage-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

/* ----- FORM ----- */
.form-section {
  background: var(--color-bg-alt);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: var(--form-accent-border);
}
.form-row { display: grid; gap: var(--space-md); }
@media (min-width: 768px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.7rem 0.9rem;
  font-family: inherit; font-size: 1rem;
  border: 1px solid var(--color-border-dark); border-radius: var(--radius-sm);
  background: #fff; color: var(--color-text);
  transition: border-color var(--transition-fast);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 0; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-focus-ring);
}
.form-status { padding: 0.85rem; border-radius: var(--radius-sm); margin-top: var(--space-md); display: none; }
.form-status.success { background: #E8F5E9; color: #1B5E20; display: block; }
.form-status.error { background: #FFEBEE; color: #B71C1C; display: block; }

/* ----- FAQ ----- */
.faq-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%; padding: var(--space-md) var(--space-lg);
  background: none; border: 0; cursor: pointer;
  text-align: left;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--color-primary);
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition-fast);
}
.faq-question:hover { background: var(--color-bg); }
.faq-question .chevron { transition: transform var(--transition-md); flex-shrink: 0; }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-md); padding: 0 var(--space-lg); }
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: var(--space-md); }

/* ----- BREADCRUMB ----- */
.breadcrumb { padding: var(--space-md) 0; font-size: 0.9rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb [aria-current='page'] { color: var(--color-text); }

/* ----- TABLES ----- */
.responsive-table {
  width: 100%; border-collapse: collapse;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.responsive-table th, .responsive-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.responsive-table th { background: var(--color-primary); color: #fff; font-family: var(--font-heading); font-weight: 700; letter-spacing: var(--heading-tracking); }
.responsive-table tbody tr:hover { background: var(--color-bg); }

/* ----- FOOTER ----- */
.site-footer { background: var(--color-primary-dark); color: var(--color-text-on-dark); padding: var(--space-2xl) 0 var(--space-lg); }
.site-footer h3 { color: var(--color-accent); font-size: 1.1rem; margin-bottom: var(--space-md); }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); text-decoration: none; }
.footer-grid { display: grid; gap: var(--space-xl); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); text-align: center; }
.social-icons { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.social-icons a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); transition: background var(--transition-fast); }
.social-icons a:hover { background: var(--color-accent); }
.social-icons svg { width: 20px; height: 20px; fill: #fff; }

/* ----- FLOATING MOBILE CTA ----- */
.floating-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: flex; gap: 1px;
  background: var(--color-primary);
  z-index: 90;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}
.floating-cta a {
  flex: 1; padding: 0.85rem;
  text-align: center; color: #fff; font-weight: 700;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 44px;
  font-size: 0.95rem;
}
.floating-cta a:hover { color: #fff; text-decoration: none; }
.floating-cta .fc-call { background: var(--color-call); }
.floating-cta .fc-whatsapp { background: var(--color-whatsapp); }
@media (min-width: 768px) { .floating-cta { display: none; } }

/* ----- UTILITIES ----- */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.section-heading { text-align: center; margin-bottom: var(--space-xl); }
.section-heading h2 { display: inline-block; padding-bottom: 0.5rem; border-bottom: 4px solid var(--color-accent); }

@media (max-width: 767px) { body { padding-bottom: 60px; } }

/* ----- PDPA FORM CONSENT (MYTOW) ----- */
.form-consent { margin: var(--space-md) 0; }
.form-consent .consent-label { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.92rem; line-height: 1.5; cursor: pointer; }
.form-consent input[type="checkbox"] { margin-top: 0.25rem; flex-shrink: 0; }
.form-pdpa-notice { font-size: 0.85rem; color: var(--color-text-muted); margin-top: var(--space-md); line-height: 1.5; }

/* ----- MYTOW COMPLIANCE FOOTER ----- */
.mytow-footer { text-align: left; }
.mytow-footer .footer-company { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; margin-bottom: var(--space-sm); }
.mytow-footer .footer-disclaimer { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); line-height: 1.55; margin-bottom: var(--space-md); }
.mytow-footer .footer-links { font-size: 0.88rem; margin-bottom: var(--space-sm); }
.mytow-footer .footer-links a { color: rgba(255, 255, 255, 0.85); }
.mytow-footer .footer-links a:hover { color: var(--color-accent); }
.mytow-footer .footer-copyright { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); margin: 0; }

/* ----- LEGAL / PROSE PAGES ----- */
.legal-content { max-width: 75ch; }
.legal-content h2 { font-size: 1.4rem; margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.legal-content h3 { font-size: 1.1rem; margin-top: var(--space-lg); margin-bottom: var(--space-xs); }
.legal-content p, .legal-content li { line-height: 1.7; }
.legal-content ul { margin: var(--space-sm) 0 var(--space-md) 1.2rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-meta { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: var(--space-lg); }

