/* Glorious Tyre Services - Main Stylesheet */
:root {
  --primary-dark: #0a1628;
  --primary-blue: #1a3a5c;
  --accent-red: #e63946;
  --accent-orange: #f77f00;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-400: #adb5bd;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.25);
  --radius: 12px;
  --radius-btn: 50px;
  --transition: all 0.3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --overlay-dark: linear-gradient(135deg, rgba(10, 22, 40, 0.92), rgba(26, 58, 92, 0.85));
  --overlay-header: linear-gradient(135deg, rgba(10, 22, 40, 0.88), rgba(26, 58, 92, 0.82));
  --bg-hero: url('https://images.unsplash.com/photo-1619642759862-68b84b4c9d47?w=1920&q=80');
  --bg-workshop: url('https://images.unsplash.com/photo-1625047509248-ec889cbff154?w=1200&q=80');
  --bg-tyres: url('https://images.unsplash.com/photo-1590362891991-f776e747a588?w=1920&q=80');
  --bg-services: url('https://images.unsplash.com/photo-1487754180451-c714f27cbd66?w=1920&q=80');
  --bg-gallery: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920&q=80');
  --bg-about: url('https://images.unsplash.com/photo-1568605117036-5fe5e7bab0b7?w=1920&q=80');
  --bg-contact: url('https://images.unsplash.com/photo-1601362849399-7e2befa87da2?w=1920&q=80');
  --bg-quote: url('https://images.unsplash.com/photo-1615906656403-4e4fb6c33142?w=1920&q=80');
  --bg-tips: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=1920&q=80');
  --bg-card-tyre: url('https://images.unsplash.com/photo-1619642759862-68b84b4c9d47?w=800&q=80');
  --bg-card-wheel: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=800&q=80');
  --bg-card-wash: url('https://images.unsplash.com/photo-1601362849399-7e2befa87da2?w=800&q=80');
  --bg-card-promo-tyre: url('https://images.unsplash.com/photo-1590362891991-f776e747a588?w=800&q=80');
  --bg-card-budget: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=800&q=80');
  --bg-card-maintenance: url('https://images.unsplash.com/photo-1487754180451-c714f27cbd66?w=800&q=80');
  --overlay-card: linear-gradient(135deg, rgba(26, 58, 92, 0.88), rgba(10, 22, 40, 0.92));
  --overlay-promo: linear-gradient(135deg, rgba(26, 58, 92, 0.9), rgba(10, 22, 40, 0.88));
  --overlay-light: linear-gradient(180deg, rgba(248, 249, 250, 0.97) 0%, rgba(238, 242, 246, 0.95) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-800); line-height: 1.6; background: var(--gray-100); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10, 22, 40, 0.95); backdrop-filter: blur(10px); padding: 0.75rem 0; transition: var(--transition); }
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.65rem; color: var(--white); font-weight: 700; font-size: 1.25rem; }
.logo-img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; border-radius: 50%; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--accent-red), var(--accent-orange)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.logo span { color: var(--accent-orange); }
.logo-text-only .logo-img { width: 56px; height: 56px; }
.nav-links { display: flex; align-items: center; gap: 1rem; list-style: none; flex-wrap: wrap; }
.nav-links a { color: var(--gray-200); font-weight: 500; font-size: 0.875rem; transition: var(--transition); position: relative; white-space: nowrap; }
.nav-links li:has(a[href="quote.html"]) { display: none; }
.logo { font-size: 1.1rem; flex-shrink: 1; min-width: 0; }
.logo-img { width: 42px; height: 42px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-orange); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent-orange); border-radius: 2px; }
.nav-cta { display: flex; gap: 0.75rem; }
.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: var(--radius-btn); font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: var(--transition); text-align: center; min-height: 48px; }
.btn-primary { background: linear-gradient(135deg, var(--accent-red), #c1121f); color: var(--white); box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(230, 57, 70, 0.5); }
.btn-secondary { background: linear-gradient(135deg, var(--accent-orange), #e76f00); color: var(--white); box-shadow: 0 4px 15px rgba(247, 127, 0, 0.4); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(247, 127, 0, 0.5); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary-dark); }
.btn-dark { background: var(--primary-dark); color: var(--white); }
.btn-dark:hover { background: var(--primary-blue); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #128c7e; transform: translateY(-2px); }
.btn-glow { animation: glow 2s ease-in-out infinite alternate; }
@keyframes glow { from { box-shadow: 0 0 10px rgba(247, 127, 0, 0.5); } to { box-shadow: 0 0 25px rgba(247, 127, 0, 0.9), 0 0 40px rgba(230, 57, 70, 0.3); } }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; min-height: 40px; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--overlay-dark), var(--bg-hero) center/cover no-repeat; padding-top: 80px; color: var(--white); }
.hero-logo { width: 80px; height: 80px; object-fit: contain; margin-bottom: 1rem; animation: fadeInUp 0.6s ease; border-radius: 50%; background: rgba(255,255,255,0.1); padding: 0.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero-content { max-width: 700px; }
.hero-badge { display: inline-block; background: rgba(247, 127, 0, 0.2); border: 1px solid var(--accent-orange); color: var(--accent-orange); padding: 0.35rem 1rem; border-radius: var(--radius-btn); font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; animation: fadeInUp 0.6s ease; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; animation: fadeInUp 0.6s ease 0.1s both; }
.hero h1 span { color: var(--accent-orange); }
.hero-slogan { font-size: clamp(1.1rem, 2.5vw, 1.4rem); opacity: 0.9; margin-bottom: 2rem; animation: fadeInUp 0.6s ease 0.2s both; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; animation: fadeInUp 0.6s ease 0.3s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--primary-dark); margin-bottom: 0.75rem; }
.section-header p { color: var(--gray-600); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-header .underline { width: 60px; height: 4px; background: linear-gradient(90deg, var(--accent-red), var(--accent-orange)); margin: 1rem auto 0; border-radius: 2px; }
.bg-dark { background: var(--primary-dark); color: var(--white); }
.bg-dark .section-header h2 { color: var(--white); }
.bg-dark .section-header p { color: var(--gray-400); }
.bg-dark .service-card { background: var(--white); }
.bg-dark .services-grid + div .btn-outline { border-color: var(--white); color: var(--white); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-image {
  height: 180px;
  overflow: hidden;
  background: var(--primary-dark);
}
.service-card-image:not(:has(img)) {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: var(--overlay-card), var(--bg-card-tyre) center/cover no-repeat;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.05); }
#featured-services .service-card:nth-child(4n+1) .service-card-image:not(:has(img)) { background-image: var(--overlay-card), var(--bg-card-tyre); }
#featured-services .service-card:nth-child(4n+2) .service-card-image:not(:has(img)) { background-image: var(--overlay-card), var(--bg-card-wheel); }
#featured-services .service-card:nth-child(4n+3) .service-card-image:not(:has(img)) { background-image: var(--overlay-card), var(--bg-card-maintenance); }
#featured-services .service-card:nth-child(4n) .service-card-image:not(:has(img)) { background-image: var(--overlay-card), var(--bg-card-wash); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.service-card-body p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 1rem; }
.service-price { font-size: 1.25rem; font-weight: 700; color: var(--accent-red); margin-bottom: 1rem; }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.promo-card { background: var(--overlay-promo), linear-gradient(135deg, var(--primary-blue), var(--primary-dark)); border-radius: var(--radius); padding: 2rem; color: var(--white); position: relative; overflow: hidden; border: 1px solid rgba(247, 127, 0, 0.3); transition: var(--transition); }
.promo-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0.3;
  background: center/cover no-repeat; pointer-events: none;
}
.promo-grid .promo-card:nth-child(1)::before { background-image: var(--bg-card-wheel); }
.promo-grid .promo-card:nth-child(2)::before { background-image: var(--bg-card-wash); }
.promo-grid .promo-card:nth-child(3)::before { background-image: var(--bg-card-promo-tyre); }
.promo-card > * { position: relative; z-index: 1; }
.promo-card:hover { transform: scale(1.02); border-color: var(--accent-orange); }
.promo-badge { position: absolute; top: 1rem; right: 1rem; background: var(--accent-red); color: var(--white); padding: 0.25rem 0.75rem; border-radius: var(--radius-btn); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.promo-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; padding-right: 4rem; }
.promo-card p { opacity: 0.85; margin-bottom: 1.5rem; }
.promo-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--accent-orange); }
.stars { color: var(--accent-orange); font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-card p { font-style: italic; color: var(--gray-600); margin-bottom: 1rem; }
.testimonial-author { font-weight: 600; color: var(--primary-dark); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.contact-item { text-align: center; padding: 1.5rem; background: rgba(255,255,255,0.05); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); }
.contact-item .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.contact-item h4 { margin-bottom: 0.5rem; color: var(--accent-orange); }
.contact-item a:hover { color: var(--accent-orange); }

.hours-table { max-width: 400px; margin: 0 auto; }
.hours-row { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hours-row:last-child { border-bottom: none; }

.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--primary-dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--gray-200); border-radius: var(--radius); font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-orange); box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.15); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 700px; margin: 0 auto; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-weight: 500; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.page-header {
  position: relative; color: var(--white); padding: 8rem 0 4rem;
  text-align: center; margin-top: 60px; overflow: hidden;
  background: var(--overlay-header), var(--bg-services) center/cover no-repeat;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.page-header p { opacity: 0.85; font-size: 1.1rem; }
.page-header-tyres { background-image: var(--overlay-header), var(--bg-tyres); }
.page-header-services { background-image: var(--overlay-header), var(--bg-services); }
.page-header-about { background-image: var(--overlay-header), var(--bg-about); }
.page-header-gallery { background-image: var(--overlay-header), var(--bg-gallery); }
.page-header-contact { background-image: var(--overlay-header), var(--bg-contact); }
.page-header-quote { background-image: var(--overlay-header), var(--bg-quote); }
.page-header-tips { background-image: var(--overlay-header), var(--bg-tips); }

#services.bg-dark,
#testimonials.bg-dark,
#hours.bg-dark {
  background: var(--overlay-dark), var(--bg-workshop) center/cover no-repeat;
  background-attachment: fixed;
}

#promotions {
  background: linear-gradient(180deg, var(--gray-100) 0%, #eef2f6 100%),
    var(--bg-gallery) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

#about-preview {
  background: var(--overlay-light), var(--bg-about) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

#gallery-preview {
  background: linear-gradient(180deg, #fff 0%, var(--gray-100) 100%),
    var(--bg-tyres) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

#contact-info {
  background: var(--overlay-light), var(--bg-contact) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

#map {
  background: var(--overlay-light), var(--bg-tips) center top/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

#tyres-catalog {
  background: var(--overlay-light), var(--bg-tyres) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

.page-header-about + section {
  background: var(--overlay-light), var(--bg-workshop) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

.page-header-services + section {
  background: var(--overlay-light), var(--bg-services) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

.page-header-gallery + section {
  background: var(--overlay-light), var(--bg-gallery) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

.page-header-contact + section {
  background: var(--overlay-light), var(--bg-contact) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

.page-header-quote + section,
.page-header-quote ~ section {
  background: var(--overlay-light), var(--bg-quote) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

.page-header-tips + section {
  background: var(--overlay-light), var(--bg-tips) center/cover no-repeat;
  background-blend-mode: normal, soft-light;
}

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); height: 400px; background: var(--bg-workshop) center/cover; }
.about-text h3 { color: var(--primary-dark); font-size: 1.5rem; margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; color: var(--gray-600); }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.mv-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--accent-red); position: relative; overflow: hidden; }
.mv-card::before {
  content: ''; position: absolute; top: 0; right: 0; width: 45%; height: 100%;
  opacity: 0.12; background: center/cover no-repeat; pointer-events: none;
}
.mission-vision .mv-card:nth-child(1)::before { background-image: var(--bg-workshop); }
.mission-vision .mv-card:nth-child(2)::before { background-image: var(--bg-tyres); }
.mv-card h4 { color: var(--primary-dark); margin-bottom: 0.75rem; font-size: 1.2rem; position: relative; z-index: 1; }
.mv-card p { position: relative; z-index: 1; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.info-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0.08;
  background: right bottom/cover no-repeat; pointer-events: none;
}
.info-grid .info-card:nth-child(4n+1)::before { background-image: var(--bg-card-wheel); }
.info-grid .info-card:nth-child(4n+2)::before { background-image: var(--bg-card-tyre); }
.info-grid .info-card:nth-child(4n+3)::before { background-image: var(--bg-card-maintenance); }
.info-grid .info-card:nth-child(4n)::before { background-image: var(--bg-card-wash); }
.info-card > * { position: relative; z-index: 1; }
.info-card h3 { color: var(--primary-dark); margin-bottom: 1rem; }
.info-card ul { list-style: none; padding: 0; }
.info-card li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; color: var(--gray-600); }
.info-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-orange); font-weight: bold; }

.category-section { margin-bottom: 4rem; }
.category-title { font-size: 1.75rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.category-desc { color: var(--gray-600); margin-bottom: 2rem; }
.special-offer {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
  color: var(--white); padding: 1.5rem 2rem; border-radius: var(--radius);
  margin-bottom: 2rem; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.special-offer::before {
  content: ''; position: absolute; inset: 0; opacity: 0.2;
  background: var(--bg-card-wheel) center/cover no-repeat; pointer-events: none;
}
.special-offer > * { position: relative; z-index: 1; }
#all-services .category-section {
  padding: 2rem 1.5rem; border-radius: var(--radius); margin-bottom: 1rem;
}
#all-services .category-section:nth-of-type(odd) {
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 55%, rgba(255,255,255,0.88)),
    var(--bg-card-tyre) right center/320px auto no-repeat;
}
#all-services .category-section:nth-of-type(even) {
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 55%, rgba(255,255,255,0.88)),
    var(--bg-card-maintenance) right center/320px auto no-repeat;
}

.benefits-box {
  background: var(--overlay-dark), var(--bg-tyres) center/cover no-repeat;
  color: var(--white); padding: 2.5rem; border-radius: var(--radius); margin-top: 3rem;
}
.benefits-box h3 { margin-bottom: 1rem; color: var(--accent-orange); }
.benefits-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; list-style: none; }

.footer { background: var(--overlay-dark), var(--bg-workshop) center/cover no-repeat; color: var(--gray-400); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a:hover { color: var(--accent-orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.9rem; }

.floating-actions { position: fixed; bottom: 1.5rem; right: 1.5rem; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; z-index: 999; }
.floating-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-lg); transition: var(--transition); border: none; cursor: pointer; color: var(--white); text-decoration: none; }
.floating-btn:hover { transform: scale(1.05); }
.floating-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-red);
  color: var(--white);
  padding: 0.65rem 1.1rem 0.65rem 0.85rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  max-width: calc(100vw - 2rem);
}
.floating-call-pill:hover { transform: scale(1.03); box-shadow: 0 6px 25px rgba(230, 57, 70, 0.5); }
.floating-call-icon { font-size: 1.35rem; line-height: 1; flex-shrink: 0; }
.floating-call-number { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floating-call { background: var(--accent-red); }
.floating-wa { background: #25d366; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.active { display: flex; }
.modal { background: var(--white); border-radius: var(--radius); max-width: 550px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 2rem; position: relative; animation: fadeInUp 0.3s ease; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-600); }
.modal h2 { margin-bottom: 1.5rem; color: var(--primary-dark); }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--primary-dark); color: var(--white); padding: 1.5rem 0; position: fixed; height: 100vh; overflow-y: auto; }
.admin-sidebar .logo { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-nav { list-style: none; padding: 1rem 0; }
.admin-nav li a { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.5rem; color: var(--gray-400); transition: var(--transition); }
.admin-nav li a:hover, .admin-nav li a.active { background: rgba(247, 127, 0, 0.15); color: var(--accent-orange); }
.admin-main { margin-left: 260px; flex: 1; padding: 2rem; background: var(--gray-100); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--primary-dark); }
.stat-card .stat-label { color: var(--gray-600); font-size: 0.9rem; }
.stat-card.accent { border-left: 4px solid var(--accent-red); }
.stat-card.orange { border-left: 4px solid var(--accent-orange); }
.stat-card.blue { border-left: 4px solid var(--primary-blue); }
.stat-card.green { border-left: 4px solid #28a745; }
.admin-table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
.admin-table th { background: var(--gray-100); font-weight: 600; color: var(--primary-dark); }
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: var(--radius-btn); font-size: 0.8rem; font-weight: 600; }
.status-pending { background: #fff3cd; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-responded { background: #cce5ff; color: #004085; }
.chart-container { background: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.bar-chart { display: flex; flex-direction: column; gap: 0.75rem; }
.bar-row { display: flex; align-items: center; gap: 1rem; }
.bar-label { width: 120px; font-size: 0.85rem; flex-shrink: 0; }
.bar-track { flex: 1; height: 24px; background: var(--gray-200); border-radius: 12px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent-red), var(--accent-orange)); border-radius: 12px; transition: width 0.6s ease; }
.bar-value { width: 40px; text-align: right; font-weight: 600; font-size: 0.85rem; }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--overlay-dark), var(--bg-services) center/cover no-repeat; }
.login-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; }
.login-card h1 { text-align: center; color: var(--primary-dark); margin-bottom: 0.5rem; }
.login-card .subtitle { text-align: center; color: var(--gray-600); margin-bottom: 2rem; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.action-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hidden { display: none !important; }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2rem; }
.gallery-filter-btn { padding: 0.5rem 1.25rem; border-radius: 50px; border: 2px solid var(--gray-200); background: var(--white); font-weight: 600; cursor: pointer; transition: var(--transition); }
.gallery-filter-btn:hover, .gallery-filter-btn.active { border-color: var(--accent-orange); background: var(--accent-orange); color: var(--white); }
.gallery-section-block { margin-bottom: 3rem; }
.gallery-section-title { font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--primary-dark); aspect-ratio: 4/3; cursor: pointer; transition: var(--transition); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.9), transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; color: var(--white); opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.gallery-item-overlay p { font-size: 0.85rem; opacity: 0.9; }
.gallery-empty { text-align: center; padding: 3rem; color: var(--gray-600); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.gallery-preview-grid .gallery-item { aspect-ratio: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.active { display: flex; }
.lightbox-content { max-width: 95%; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 65vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; z-index: 1; }
.lightbox-caption { color: var(--white); text-align: center; max-width: 600px; margin-top: 1rem; }
.lightbox-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.25rem; }
.lightbox-actions .btn { min-width: 160px; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.admin-gallery-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-gallery-card img { width: 100%; height: 150px; object-fit: cover; }
.admin-gallery-card-body { padding: 1rem; }
.admin-gallery-card-body h4 { font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--primary-dark); }
.admin-gallery-card-body p { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 0.75rem; }

.modal-wide { max-width: 640px; }
.form-hint { font-size: 0.85rem; color: var(--gray-600); margin: 0.25rem 0 0.75rem; }
.service-image-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.service-image-upload-btn { cursor: pointer; margin: 0; }
.service-image-upload-status {
  font-size: 0.8rem;
  color: var(--primary);
}
.service-image-preview-wrap { margin-bottom: 0.75rem; }
.service-image-preview {
  width: 100%;
  max-width: 220px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
}
.service-image-picker-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0 0 0.5rem;
}
.service-image-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.25rem;
}
.service-image-picker-loading,
.service-image-picker-empty {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
}
.service-image-option {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.service-image-option:hover { border-color: var(--primary); }
.service-image-option.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2);
}
.service-image-option img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}
.service-image-option span {
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--gray-700);
  text-transform: capitalize;
}

.track-results-grid { display: grid; gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.track-quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-orange);
}
.track-quote-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.track-quote-ref { font-weight: 700; color: var(--primary-dark); }
.track-quote-card h3 { color: var(--primary-dark); margin-bottom: 0.5rem; }
.track-meta { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 0.35rem; }
.track-notes { color: var(--gray-600); margin: 1rem 0; padding: 0.75rem 1rem; background: var(--gray-100); border-radius: var(--radius); }
.track-response { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--gray-200); }
.track-response h4 { color: var(--primary-dark); margin-bottom: 0.5rem; font-size: 1rem; }
.track-response.has-response { background: #f0f9ff; margin-left: -1.75rem; margin-right: -1.75rem; margin-bottom: -1.75rem; padding: 1.25rem 1.75rem 1.75rem; border-radius: 0 0 var(--radius) var(--radius); border-top: 1px solid #cce5ff; }
.track-response.has-response p { color: var(--gray-800); line-height: 1.7; }
.track-pending { color: var(--gray-600); font-style: italic; }

@media (max-width: 1200px) {
  .nav-links li:has(a[href="track-quote.html"]),
  .nav-links li:has(a[href="vehicle-info.html"]) { display: none; }
}
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-content, .mission-vision, .charts-row { grid-template-columns: 1fr; }
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 60px; left: 0; right: 0; background: var(--primary-dark); flex-direction: column; align-items: stretch; padding: 1.5rem; gap: 0.5rem; transform: translateY(-120%); opacity: 0; transition: var(--transition); box-shadow: var(--shadow-lg); max-height: calc(100vh - 60px); overflow-y: auto; z-index: 999; }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links li:has(a[href="track-quote.html"]),
  .nav-links li:has(a[href="vehicle-info.html"]) { display: list-item; }
  .nav-cta { display: none; }
  .logo { font-size: 1rem; }
}
@media (max-width: 768px) {
  #services.bg-dark,
  #testimonials.bg-dark,
  #hours.bg-dark { background-attachment: scroll; }
  #all-services .category-section:nth-of-type(odd),
  #all-services .category-section:nth-of-type(even) { background: rgba(255,255,255,0.98); }
  .form-row, .footer-grid { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); z-index: 1001; transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .special-offer { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}

/* Tyre packages flow (Premium/Budget -> Brand -> Size -> Quotation) */
.tyres-flow { max-width: 900px; margin: 0 auto; }
.tyres-steps { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.tyres-step {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-btn);
  background: var(--white); color: var(--gray-600);
  font-size: 0.85rem; font-weight: 600;
  border: 2px solid var(--gray-200); transition: var(--transition);
}
.tyres-step span {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gray-200); color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.tyres-step.active { border-color: var(--accent-orange); color: var(--primary-dark); background: rgba(247,127,0,0.08); }
.tyres-step.active span { background: var(--accent-orange); color: var(--white); }
.tyres-step.done { border-color: var(--accent-red); color: var(--primary-dark); }
.tyres-step.done span { background: var(--accent-red); color: var(--white); }

.tyres-panel {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem; margin-bottom: 1.5rem;
}
.tyres-panel-title { font-size: 1.35rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.tyres-panel-desc { color: var(--gray-600); margin-bottom: 1.5rem; }
.tyres-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }

.tyres-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.tyres-type-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  border: 2px solid rgba(247,127,0,0.25); border-radius: var(--radius);
  padding: 2rem; color: var(--white); text-align: center; cursor: pointer;
  transition: var(--transition); font-family: inherit; width: 100%;
}
.tyres-type-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0.35;
  background: center/cover no-repeat; pointer-events: none;
}
.tyres-type-grid .tyres-type-card:nth-child(1)::before { background-image: var(--bg-card-promo-tyre); }
.tyres-type-grid .tyres-type-card:nth-child(2)::before { background-image: var(--bg-card-budget); }
.tyres-type-card > * { position: relative; z-index: 1; }
.tyres-type-card:hover { transform: translateY(-4px); border-color: var(--accent-orange); box-shadow: var(--shadow-lg); }
.tyres-type-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.tyres-type-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.tyres-type-card p { opacity: 0.85; margin-bottom: 1.25rem; font-size: 0.95rem; }
.tyres-type-card .btn { pointer-events: none; }

.tyres-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.tyres-product-card {
  position: relative; overflow: hidden;
  background: var(--gray-100); border: 2px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.5rem; text-align: left;
  cursor: pointer; transition: var(--transition); font-family: inherit; width: 100%;
}
.tyres-product-card::before {
  content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%;
  opacity: 0.1; background: var(--bg-card-promo-tyre) center/cover no-repeat;
  pointer-events: none;
}
.tyres-product-card > * { position: relative; z-index: 1; }
.tyres-product-card:hover { border-color: var(--accent-orange); transform: translateY(-3px); box-shadow: var(--shadow); }
.tyres-product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; }
.tyres-product-top h3 { color: var(--primary-dark); font-size: 1.1rem; }
.tyres-product-meta { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1rem; }
.tyres-product-card .btn { pointer-events: none; }

.tyres-configure-card {
  background: var(--gray-100); border-radius: var(--radius);
  padding: 1.5rem; max-width: 480px;
}
.tyres-configure-price { margin: 1rem 0 1.25rem; padding: 0.75rem 1rem; background: var(--white); border-radius: var(--radius); color: var(--primary-dark); }

.tyres-quotation-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem; margin-top: 1.5rem;
  border-top: 4px solid var(--accent-orange);
}
.tyres-quotation-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.tyres-quotation-item {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--gray-100); border-radius: var(--radius);
  flex-wrap: wrap;
}
.tyres-quotation-meta { color: var(--gray-600); font-size: 0.9rem; margin-top: 0.25rem; }
.tyres-quotation-actions { text-align: center; }

/* Admin tyre catalog tabs */
.tyres-tabs { display: flex; justify-content: flex-start; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.tyres-tab {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; border-radius: var(--radius-btn);
  border: 2px solid var(--gray-200); background: var(--white);
  font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition);
  font-family: inherit; color: var(--primary-dark);
}
.tyres-tab:hover { border-color: var(--accent-orange); }
.tyres-tab.active {
  border-color: var(--accent-orange); background: rgba(247,127,0,0.12);
  color: var(--primary-dark); transform: translateY(-1px);
}
.tyres-tab.premium.active { border-color: var(--accent-red); background: rgba(230,57,70,0.1); }
.tyres-tab.budget.active { border-color: #28a745; background: rgba(40,167,69,0.1); }

.tyres-admin-alert { margin-bottom: 1rem; }
.tyres-admin-section-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1rem; color: var(--primary-dark); margin-bottom: 1rem;
}
.tyres-admin-badge {
  display: inline-block; padding: 0.2rem 0.65rem; border-radius: var(--radius-btn);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.tyres-admin-badge.premium { background: rgba(230,57,70,0.15); color: var(--accent-red); }
.tyres-admin-badge.budget { background: rgba(40,167,69,0.15); color: #28a745; }
.tyres-admin-hint { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1.25rem; }

@media (max-width: 600px) {
  .tyres-steps { gap: 0.35rem; }
  .tyres-step { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
  .tyres-step span { width: 20px; height: 20px; font-size: 0.7rem; }
  .tyres-panel { padding: 1.25rem; }
}
