/* ==== CSS RESET & NORMALIZE ==== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F7FAFC;
}
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ==== VARIABLES ==== */
:root {
  --primary: #2D3A4E;
  --secondary: #A3B8CC;
  --accent: #FFE082;
  --bg-main: #F7FAFC;
  --bg-card: #FFFFFF;
  --neutral: #ECEFF1;
  --text-main: #273140;
  --text-light: #FFFFFF;
  --text-muted: #6E7B8B;
  --shadow-card: 0 4px 18px rgba(44, 62, 80, 0.06);
  --border-radius: 14px;
  --transition: 0.18s cubic-bezier(.4,.6,.2,1);
}

/* ==== TYPOGRAPHY ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, blockquote {
  font-size: 1rem;
  color: var(--text-main);
}
blockquote {
  font-style: italic;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 12px;
  background: #FFFDEE;
  border-radius: 10px;
}
a, .footer-nav a {
  font-weight: 500;
  color: var(--primary);
  transition: color var(--transition);
}
a:hover, .footer-nav a:hover {
  color: var(--accent);
}
.text-muted {
  color: var(--text-muted);
}

/* ==== GENERAL LAYOUTS ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  h1 {
    font-size: 1.95rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 30px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ==== HEADER/NAVIGATION ==== */
header {
  background: var(--bg-main);
  box-shadow: 0 2px 12px rgba(44,62,80,0.07);
  position: relative;
  z-index: 99;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 18px 0 18px 0;
  flex-wrap: wrap;
}
.main-nav img {
  height: 38px;
  margin-right: 24px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cta-primary {
  background: var(--primary);
  color: var(--accent);
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 30px;
  box-shadow: 0 4px 18px rgba(44,62,80,0.10);
  border: none;
  cursor: pointer;
  outline: none;
  transition: background var(--transition), box-shadow 0.18s;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(44,62,80,0.15);
}

/* Responsive Navigation */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 7px;
  padding: 7px 17px;
  font-size: 1.7rem;
  cursor: pointer;
  transition: background var(--transition);
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 210;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,250,252, 0.97);
  box-shadow: 0 12px 40px rgba(50,70,100,0.11);
  z-index: 3000;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.55,.1,.28,1.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 26px 12px 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 8px 36px;
}
.mobile-nav a {
  padding: 12px 0;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  transition: color 0.21s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(94deg, #F7FAFC 60%, #A3B8CC33 100%);
  padding-top: 60px;
  padding-bottom: 64px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 10px 24px rgba(44,62,80,0.04);
  margin-bottom: 50px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 260px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 14px;
}
.hero p {
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 19px;
  max-width: 520px;
}
.hero .cta-primary {
  margin-top: 10px;
}

/* ==== CARDS, FLEXBOXS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  flex: 1 1 calc(33% - 30px);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 32px rgba(44,62,80,0.11);
  transform: translateY(-5px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.service-grid, .vehicle-listings, .service-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 30px;
}
.service-card, .vehicle-card, .service-block {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 30px 22px 24px 22px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover, .vehicle-card:hover, .service-block:hover {
  box-shadow: 0 9px 35px rgba(44,62,80,0.13);
  transform: translateY(-6px) scale(1.018);
}
.service-price, .vehicle-price {
  margin-top: 11px;
  color: var(--primary);
  font-weight: bold;
  background: var(--accent);
  display: inline-block;
  padding: 5px 16px;
  border-radius: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .service-grid, .vehicle-listings, .service-categories {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .card, .service-card, .vehicle-card, .service-block {
    padding: 16px 9px;
  }
}

/* ==== FLEX LAYOUTS & COMPONENTS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(44,62,80,0.08);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(44,62,80,0.11);
  transform: translateY(-2px) scale(1.007);
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.12rem;
  background: none;
  border: none;
  color: var(--primary);
  font-style: italic;
}
.testimonial-info {
  color: var(--text-muted);
  font-size: 0.99rem;
  font-family: 'Montserrat', sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
}

/* ==== TABLES & FAQ ==== */
.comparison-table {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 11px rgba(44,62,80, 0.045);
  overflow: hidden;
  margin-bottom: 25px;
  font-size: 1rem;
}
.comparison-table thead {
  background: var(--secondary);
  color: var(--primary);
  text-align: left;
  font-family: 'Montserrat', sans-serif;
}
.comparison-table th, .comparison-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--neutral);
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.05);
  margin-bottom: 10px;
  transition: box-shadow var(--transition);
}
.faq-item h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 5px;
}
@media (max-width: 600px) {
  .comparison-table th, .comparison-table td {
    padding: 7px 7px;
    font-size: 0.93rem;
  }
  .faq-item {
    padding: 12px 5px;
  }
}

/* ==== TEXT BLOCKS, SECTIONING, LISTS ==== */
.text-section {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul li {
  margin-bottom: 7px;
  padding-left: 18px;
  position: relative;
}
.text-section ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 7px; height: 7px;
  background: var(--secondary);
  border-radius: 50%;
}

ol {
  margin: 0 0 13px 0;
  padding-left: 18px;
  color: var(--primary);
  list-style: decimal inside;
  font-family: inherit;
}
ol li {
  margin-bottom: 7px;
}

/* ==== BUTTONS ==== */
button, .cta-primary, input[type="submit"] {
  cursor: pointer;
}
button:focus, .cta-primary:focus, input[type="submit"]:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* ==== FOOTER ==== */
footer {
  margin-top: 40px;
  background: #F7FAFC;
  border-top: 1px solid var(--secondary);
  box-shadow: 0 -2px 14px rgba(44,62,80,0.05);
  padding: 36px 0 17px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.92;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.99rem;
  font-family: 'Roboto', sans-serif;
}
.footer-contact a {
  color: var(--primary);
  text-decoration: underline;
  padding: 0 2px;
}

@media (max-width: 768px) {
  footer {
    padding: 24px 0 10px 0;
  }
  .footer-nav {
    gap: 12px;
    margin-bottom: 8px;
  }
}

/* ==== SECTION SPACING RULES ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 24px;
    padding: 18px 5px;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7000;
  background: var(--bg-card);
  box-shadow: 0 -2px 14px rgba(44,62,80,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 32px;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  transition: transform 0.35s cubic-bezier(.55,.1,.28,1.15);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-message {
  flex: 1;
  color: var(--text-main);
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn-accept {
  background: var(--primary);
  color: var(--accent);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn-reject {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #e1effa;
}
.cookie-btn-settings {
  background: var(--neutral);
  color: var(--primary);
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 8px 13px 8px;
  }
  .cookie-banner-actions {
    gap: 7px;
  }
}

/* COOKIES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 8000;
  left: 0;
  top: 0;
  width: 100vw; height: 100vh;
  background: rgba(45,58,78,0.23);
  align-items: center;
  justify-content: center;
  transition: opacity 0.29s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px 22px 18px 22px;
  box-shadow: 0 6px 36px rgba(44,62,80,0.13);
  min-width: 300px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 9px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
}
.cookie-switch {
  width: 48px;
  height: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cookie-switch input[type='checkbox'] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-switch-slider {
  position: absolute;
  left: 0; top: 0;
  width: 48px;
  height: 24px;
  border-radius: 24px;
  background: var(--secondary);
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  background: var(--primary);
}
.cookie-switch-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-switch input:checked + .cookie-switch-slider:before {
  transform: translateX(24px);
}
.cookie-options .cookie-always {
  color: var(--text-muted);
  font-size: 0.99rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 13px 5px 8px 5px;
    gap: 11px;
  }
}

/* ==== UTILITY ==== */
.hide-mobile { display: block; }
@media (max-width: 900px) {
  .hide-mobile { display: none !important; }
}

.show-mobile { display: none; }
@media (max-width: 900px) {
  .show-mobile { display: inline-block; }
}

.bold { font-weight: 600; }
.rounded { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--shadow-card); }

/* ==== ANIMATIONS / MICRO-INTERACTIONS ==== */
.card, .service-card, .vehicle-card, .service-block, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.22s;
}
.cta-primary, .cookie-btn, .main-nav a, .footer-nav a {
  transition: background 0.17s, color 0.18s;
}

/* ==== RESPONSIVE FLEX DIRECTION ==== */
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
  }
}

/* ==== FORMS & MISC (for future form integrations) ==== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--neutral);
  padding: 8px 12px;
  background: #FAFBFC;
  margin-bottom: 14px;
  transition: border-color 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #FFE08266;
  outline: none;
}
label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary);
  display: block;
}

/* ==== ADDITIONAL SPACING CLASSES (if needed) ==== */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-60 { margin-bottom: 60px; }
.pt-24 { padding-top: 24px; }
.pb-24 { padding-bottom: 24px; }
.px-24 { padding-left: 24px; padding-right: 24px; }

/* ==== OVERLAYS, Z-INDEX FOR MOBILE MENU & COOKIES ==== */
.mobile-menu, .cookie-modal-overlay {
  z-index: 8000;
}

/* ==== NO GRID, ONLY FLEX! END ==== */
