/* ============================================================
   TYM DEALER NETWORK — MAIN STYLESHEET
   Modern, responsive, mobile-first design
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --red: #c8102e;
  --red-dark: #a00d24;
  --red-light: #e8253e;
  --black: #0d0d0d;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --header-h: 68px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.18);
  --transition: 0.25s ease;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Utility ---- */
.hidden { display: none !important; }
.red { color: var(--red); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,16,46,0.3); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline.dark {
  color: var(--gray-800);
  border-color: var(--gray-300);
}
.btn-outline.dark:hover { background: var(--gray-100); border-color: var(--gray-600); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-red { background: var(--red); color: var(--white); border: 2px solid var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.link-btn { background: none; border: none; color: var(--red); font-weight: 600; cursor: pointer; text-decoration: underline; font-size: inherit; }

/* ---- Section Shared ---- */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub { color: var(--gray-600); font-size: 1.05rem; line-height: 1.7; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(13,13,13,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo { display: flex; align-items: center; }
.header-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.header-logo:hover .header-logo-img { opacity: 0.85; }
.logo-tym {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.02em;
}
.logo-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(20,5,5,0.75) 60%, rgba(180,10,30,0.25) 100%),
    url('https://findatymdealer.com/web_banner_dt_3840x2610_2.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  z-index: 1;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200,16,46,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 800px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.4);
  color: #ff8a99;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 0; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px 36px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 28px; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.15); }

/* ============================================================
   SPECIALS
   ============================================================ */
.specials-section { background: var(--gray-100); }

.specials-carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}

/* ---- Special Card — Image-Dominant ---- */
.special-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.special-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Image-only card variant */
.special-card--img-only {
  display: flex;
  flex-direction: column;
}
.special-img-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}
/* Button reset for thumbnail trigger */
.special-img-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  width: 100%;
  text-align: left;
}
/* CTA bar as standalone link */
.special-cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--red);
  padding: 12px 18px;
  transition: background var(--transition);
}
.special-cta-link:hover { background: var(--red-dark); }
.special-img-wrap {
  overflow: hidden;
  position: relative;
  /* Square aspect ratio to match uploaded promo images (1:1) */
  aspect-ratio: 1 / 1;
}
.special-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
  display: block;
}
.special-card:hover .special-img-wrap img { transform: scale(1.03); }

/* CTA bar at bottom of each card */
.special-cta-bar {
  background: var(--red);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.special-card:hover .special-cta-bar { background: var(--red-dark); }
.special-cta-label {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Legacy body styles kept for backward compat */
.special-body { padding: 20px; }
.special-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.special-tag.financing { background: #dbeafe; color: #1d4ed8; }
.special-tag.deferred { background: #d1fae5; color: #065f46; }
.special-tag.rebate { background: #fee2e2; color: #991b1b; }
.special-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.special-body p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
  font-size: 1rem;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300, #d1d5db);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.carousel-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

.specials-disclaimer { text-align: center; font-size: 0.78rem; color: var(--gray-400); margin-top: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ============================================================
   DEALER LOCATOR
   ============================================================ */
.dealers-section { background: var(--white); }

.dealer-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
.dealer-search {
  width: 100%;
  padding: 13px 44px 13px 40px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.dealer-search:focus { border-color: var(--red); }
.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 0.85rem;
  padding: 4px;
  transition: color var(--transition);
}
.search-clear:hover { color: var(--red); }

.state-filter {
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  min-width: 160px;
}
.state-filter:focus { border-color: var(--red); }

.view-toggle { display: flex; gap: 6px; }
.view-btn {
  width: 42px; height: 42px;
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  color: var(--gray-500, #6b7280);
  background: var(--white);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.dealer-results-info { margin-bottom: 20px; color: var(--gray-600); font-size: 0.9rem; font-weight: 500; }

/* --- Dealer Grid --- */
.dealer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.state-group { grid-column: 1 / -1; }
.state-group-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  padding: 10px 0 12px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.state-group-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
}
.state-dealers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.dealer-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.dealer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.dealer-card:hover {
  border-color: var(--red);
  box-shadow: 0 6px 28px rgba(200,16,46,0.12);
  transform: translateY(-3px);
}
.dealer-card:hover::before { transform: scaleY(1); }
.dealer-card-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.dealer-card-icon {
  width: 40px; height: 40px;
  background: #fee2e2;
  color: var(--red);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.dealer-card-name {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--gray-900);
  line-height: 1.3;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Location sub-badge for multi-location dealers (e.g. Hines Equipment) */
.dealer-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 5px;
  padding: 2px 7px;
  letter-spacing: 0.02em;
  width: fit-content;
}

/* Distance badge shown in proximity / zip search mode */
.dealer-dist-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 5px;
  padding: 3px 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.dealer-card-meta { display: flex; flex-direction: column; gap: 5px; font-size: 0.86rem; color: var(--gray-600); }
.dealer-card-meta span { display: flex; align-items: center; gap: 7px; }
.dealer-card-meta i { color: var(--red); width: 14px; text-align: center; flex-shrink: 0; }
.dealer-card-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.dealer-card-actions a {
  flex: 1;
  min-width: 0;
  padding: 7px 12px;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 7px;
  font-weight: 600;
  transition: all var(--transition);
}
.action-call { background: var(--red); color: var(--white); }
.action-call:hover { background: var(--red-dark); }
.action-dir { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.action-dir:hover { background: var(--gray-200); }
.action-web { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.action-web:hover { background: var(--gray-200); }

/* --- Dealer Table --- */
.dealer-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.dealer-table { width: 100%; border-collapse: collapse; }
.dealer-table th {
  background: var(--gray-900);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.dealer-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
}
.dealer-table tr:hover td { background: var(--gray-100); }
.dealer-table tr:last-child td { border-bottom: none; }
.table-actions { display: flex; gap: 8px; }
.table-actions a {
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}

/* --- No Results --- */
.no-results {
  text-align: center;
  padding: 64px 24px;
  color: var(--gray-400);
}
.no-results i { font-size: 3rem; margin-bottom: 16px; display: block; }
.no-results h3 { font-size: 1.3rem; color: var(--gray-600); margin-bottom: 8px; }

/* ============================================================
   PRODUCT CATALOG
   ============================================================ */
.catalog-section {
  background: var(--gray-900);
  color: var(--white);
  padding: 80px 0 0;
}
.catalog-section .section-badge {
  background: rgba(200,16,46,0.2);
  border: 1px solid rgba(200,16,46,0.4);
  color: #ff8a99;
}
.catalog-section .section-title { color: var(--white); }
.catalog-section .section-sub { color: rgba(255,255,255,0.65); }

.catalog-widget-wrap {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  min-height: 600px;
  padding: 0;
  margin-top: 8px;
}

/* Catalog iframe — fills the wrap fully, no scrollbar */
#tym-catalog-iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  display: block;
  background: var(--white);
}

/* Legacy widget root (no longer used) */
#tym-widget-root {
  max-width: 1200px;
  margin: 0 auto;
}

/* Fallback iframe */
.catalog-fallback-wrap { padding: 0 24px 32px; }
.fallback-note { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 12px; text-align: center; }
.catalog-iframe {
  width: 100%;
  min-height: 800px;
  border: none;
  border-radius: var(--radius);
  background: var(--white);
  display: block;
}
.catalog-iframe-fallback { padding-bottom: 32px; }

/* ============================================================
   ADVERTISE SECTION
   ============================================================ */
.advertise-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1a0508 100%);
  position: relative;
  overflow: hidden;
}
.advertise-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,16,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.advertise-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.advertise-icon-col { flex-shrink: 0; padding-top: 6px; }
.advertise-icon {
  width: 64px; height: 64px;
  background: var(--red);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(200,16,46,0.35);
}
.advertise-content { flex: 1; }
.advertise-content .section-badge { margin-bottom: 12px; }
.advertise-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}
.advertise-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
  line-height: 1.7;
}
.advertise-lead strong { color: var(--white); }
.advertise-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Contact cards grid */
.advertise-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.advertise-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 20px;
  flex: 1;
  min-width: 220px;
  transition: background var(--transition), border-color var(--transition);
}
.advertise-contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200,16,46,0.4);
}
.advertise-contact-card > i {
  font-size: 1.2rem;
  color: var(--red);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.advertise-contact-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.contact-value {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 500;
}
.contact-link {
  color: #ff8a99;
  text-decoration: none;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--white); text-decoration: underline; }

/* CTA buttons row */
.advertise-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.advertise-links .btn-outline.dark {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
  background: transparent;
}
.advertise-links .btn-outline.dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text .section-header { text-align: left; margin: 0 0 24px; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.75; }
.about-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.about-ctas .btn-outline { color: var(--gray-800); border-color: var(--gray-300); }
.about-ctas .btn-outline:hover { background: var(--gray-100); }
.about-series h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.series-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.series-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.series-card:hover { border-color: var(--red); background: #fff5f6; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(200,16,46,0.10); }
.series-label { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--red); }
.series-hp { font-size: 0.88rem; font-weight: 600; color: var(--gray-800); }
.series-desc { font-size: 0.8rem; color: var(--gray-500, #6b7280); }
.series-card.attachments { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
.series-card.attachments .series-label { font-size: 1.1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,0.8); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 16px;
  /* Invert to white so it reads cleanly on dark footer */
  filter: brightness(0) invert(1);
}
.footer-brand .logo-tym { font-size: 2.2rem; display: block; margin-bottom: 4px; }
.footer-brand .logo-tagline { font-size: 0.72rem; display: block; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.fb-link:hover { color: var(--white); }
.fb-logo { width: 28px; height: 28px; border-radius: 4px; object-fit: contain; }
.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }
.footer-disc { margin-top: 6px; font-size: 0.75rem !important; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  overflow: hidden;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}
.modal-close:hover { background: var(--red); color: var(--white); }
.modal-overlay { position: fixed; } /* ensure relative children position correctly */
.modal { position: relative; }
.modal-header {
  background: var(--gray-900);
  padding: 28px 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.modal-icon {
  width: 52px; height: 52px;
  background: var(--red);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.modal-header h2 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.modal-header p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 3px; }
.modal-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.modal-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.modal-detail i { color: var(--red); margin-top: 2px; width: 18px; text-align: center; flex-shrink: 0; }
.modal-detail a { color: var(--red); text-decoration: underline; word-break: break-all; }
.modal-actions {
  padding: 0 28px 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-actions .btn { flex: 1; min-width: 120px; justify-content: center; font-size: 0.88rem; padding: 10px 14px; }
.modal-actions .btn-outline { color: var(--gray-800); border-color: var(--gray-300); }
.modal-actions .btn-outline:hover { background: var(--gray-100); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px; height: 46px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(200,16,46,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.back-to-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ============================================================
   ANIMATIONS / SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .special-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .advertise-inner { flex-direction: column; gap: 24px; }
  .advertise-icon-col { padding-top: 0; }
  .advertise-contact-grid { flex-direction: column; }
  .advertise-contact-card { min-width: 0; }
  .advertise-links { flex-direction: column; }
  .advertise-links .btn { width: 100%; justify-content: center; }

  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--gray-900);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 999;
    border-bottom: 2px solid var(--red);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .main-nav a {
    padding: 14px 24px;
    font-size: 1rem;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .hero { padding: calc(var(--header-h) + 40px) 20px 50px; }
  .hero-stats { padding: 16px 20px; gap: 0; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 1.7rem; }
  .stat-divider { height: 36px; }

  .special-card { flex: 0 0 calc(100% - 0px); }

  .dealer-controls { flex-direction: column; align-items: stretch; }
  .search-wrap { min-width: 0; }
  .state-filter { min-width: 0; }
  .view-toggle { justify-content: flex-end; }

  .section { padding: 56px 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .footer-brand { grid-column: auto; }

  .series-grid { grid-template-columns: 1fr 1fr; }

  .modal-actions { flex-direction: column; }
  .modal-actions .btn { flex: none; width: 100%; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 8px; padding: 20px; }
  .stat-divider { width: 60px; height: 1px; }
  .stat { padding: 6px 0; }

  .series-grid { grid-template-columns: 1fr; }
  .series-card.attachments { flex-direction: column; gap: 2px; }

  .catalog-widget-wrap { padding: 0; }
}

/* ============================================================
   PROMO LIGHTBOX
   ============================================================ */
.promo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.promo-lightbox[hidden] { display: none !important; }

.promo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.promo-lightbox__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  animation: lightboxIn 0.25s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.promo-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.promo-lightbox__close:hover { background: var(--red); }

.promo-lightbox__img-wrap {
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}
.promo-lightbox__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-lightbox__footer {
  flex: 0 0 auto;
  padding: 16px 20px;
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.promo-lightbox__cta {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  text-align: center;
}

.promo-lightbox__disclaimer {
  font-size: 0.72rem;
  color: #888;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* Thumbnail zoom-hint cursor on specials */
.special-img-wrap { cursor: zoom-in; }

/* Mobile: full-screen lightbox */
@media (max-width: 480px) {
  .promo-lightbox { padding: 0; }
  .promo-lightbox__panel {
    border-radius: 0;
    max-height: 100vh;
    height: 100%;
  }
}
