/* === 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: #131830;
  color: #E5E9F2;
  font-family: 'Roboto', Arial, sans-serif;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* === BRAND COLORS & CUSTOM PROPERTIES === */
:root {
  --color-primary: #17396B;
  --color-secondary: #FFB330;
  --color-accent: #E5E9F2;
  --color-bg: #131830;
  --color-surface: #182140;
  --color-border: #26325D;
  --color-shadow: rgba(0,20,60,0.16);
  --color-neon: #1DE8FF;
  --color-danger: #FF3667;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 40px var(--color-neon);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
  font-weight: 700;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-accent);
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-accent);
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* === GLOBAL CONTAINER & SECTIONS === */
.container {
  max-width: 1180px;
  padding: 0 20px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: 24px;
  box-shadow: 0 6px 36px var(--color-shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 26px 10px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: linear-gradient(90deg, #151c34 0%, #17396B 100%);
  box-shadow: 0 3px 18px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 98;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  min-height: 74px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 16px var(--color-neon));
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 6px 2px;
  color: var(--color-accent);
  position: relative;
  transition: color .2s;
}
.main-nav a:not(.btn-primary):after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--color-neon);
  transition: width .2s;
  margin-top: 3px;
  border-radius: 2px;
}
.main-nav a:hover:not(.btn-primary):after {
  width: 100%;
}
.main-nav a:hover:not(.btn-primary) {
  color: var(--color-neon);
}

.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  border-radius: 30px;
  font-size: 1.08rem;
  font-weight: 600;
  background: var(--color-secondary);
  color: #292929;
  margin-left: 10px;
  box-shadow: 0 6px 28px rgba(255,179,48,0.16);
  text-shadow: none;
  transition: background .18s, color .18s, transform .16s;
  border: 2px solid var(--color-secondary);
  letter-spacing: 0.02em;
}
.btn-primary:hover, .btn-secondary:hover {
  background: var(--color-neon);
  border-color: var(--color-neon);
  color: #13213d;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 42px var(--color-neon);
  text-shadow: 0 2px 12px #23fdff60;
}
.btn-secondary {
  background: none;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  box-shadow: none;
}
.btn-secondary:hover{
  background: var(--color-secondary);
  color: #17396B;
}

/* Mobile Nav Burger */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  padding: 8px 12px;
  background: none;
  color: var(--color-neon);
  border-radius: 8px;
  border: 2px solid transparent;
  transition: background .18s, border .18s;
  z-index: 110;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #182140;
  border-color: var(--color-neon);
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === MOBILE MENU (SLIDE-IN) === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #181f38;
  box-shadow: 0 0 40px #00000052;
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.87,.01,.16,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.menu-open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.15rem;
  color: var(--color-neon);
  background: none;
  margin: 26px 24px 10px 0;
  transition: color .18s;
}
.mobile-menu-close:hover {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 18px;
  padding: 0 32px;
}
.mobile-nav a {
  padding: 13px 0;
  font-size: 1.16rem;
  color: var(--color-accent);
  border-bottom: 1px solid #202c49;
  width: 100%;
  transition: color .22s, background .18s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon);
  background: #15294a;
}

@media (min-width: 1001px) {
  .mobile-menu { display: none; }
  .mobile-menu-toggle { display:none; }
}

/* === MAIN LAYOUT & SPACING === */
main {
  background: #151c32;
  min-height: 84vh;
  padding-top: 18px;
  padding-bottom: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 24px;
  justify-content: flex-start;
  background: rgba(19,24,48,0.88);
  border-radius: 22px;
  box-shadow: 0 4px 36px var(--color-shadow);
  margin-bottom: 20px;
}
.text-section {
  align-items: flex-start;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 18px 7px;
    border-radius: 12px;
    gap: 18px;
  }
}

/* === FEATURE/GRID/PROMO/SECTION LAYOUTS === */
.feature-grid, .service-highlights, .promotional-list, .discount-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 14px;
  margin-bottom: 18px;
}
.feature-grid li, .service-highlights li, .promotional-list li, .discount-highlights li,
.benefits-grid > div, .benefits-of-our-parts ul li {
  background: #172143;
  padding: 22px 18px;
  border-radius: 17px;
  box-shadow: 0 1px 14px 0 var(--color-shadow);
  min-width: 210px;
  min-height: 110px;
  margin-right: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid li img, .benefits-grid img, .service-highlights img {
  width: 36px; height: 36px; margin-bottom: 8px;
  filter: drop-shadow(0 1px 8px var(--color-neon));
}
@media (max-width: 800px) {
  .feature-grid, .service-highlights, .promotional-list, .discount-highlights ul {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .service-highlights li, .promotional-list li, .discount-highlights li {
    min-width: 100%;
    width: 100%;
    align-items: flex-start;
  }
}

.benefits-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.benefits-grid > div {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 330px;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px var(--color-shadow);
  border-left: 4px solid var(--color-secondary);
  padding-top: 20px;
  background: #132040;
  transition: box-shadow .21s, border-left .18s;
}
.benefits-grid > div:hover {
  box-shadow: 0 4px 30px var(--color-neon);
  border-left: 4px solid var(--color-neon);
}
@media (max-width: 800px) {
  .benefits-grid {
    flex-direction: column;
    gap: 18px;
  }
  .benefits-grid > div {
    max-width: 100%;
  }
}

.service-categories ul, .benefits-of-our-parts ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.service-categories li, .benefits-of-our-parts ul li {
  padding: 10px 15px;
  background: #172143;
  border-radius: 10px;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 1.02rem;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-left: 5px solid var(--color-neon);
  background: #ffffff;
  color: #182140;
  padding: 20px 20px 16px 24px;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 1px 28px 0 rgba(0,52,115,0.07);
  font-size: 1.12rem;
}
.testimonial-card p {
  color: #181f38;
  font-size: 1.10rem;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-primary);
  font-size: 0.98rem;
  opacity: .93;
  font-weight: 700;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--color-accent);
  font-weight: bold;
  margin-top: 10px;
  font-size: 1.1rem;
}
.rating-summary img {
  width: 28px;
}

/* === FAQ ACCORDION === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 18px;
}
.faq-accordion div {
  background: #172143;
  border-left: 4px solid var(--color-neon);
  border-radius: 10px;
  padding: 17px 16px;
  box-shadow: 0 1px 18px var(--color-shadow);
  transition: border-left .16s, box-shadow .18s;
}
.faq-accordion h3 {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

/* === ADDRESS DETAILS & CONTACTS === */
.address-details, .opening-hours, .phone_email, .map_embed {
  margin-bottom: 16px;
  color: var(--color-accent);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.address-details img, .phone_email img {
  width: 22px; margin-right: 8px;
  filter: drop-shadow(0 1px 6px var(--color-neon));
}

/* === CTA === */
.cta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

/* === PROMOTIONS, OFFER TAG === */
.offer-tag {
  display: inline-block;
  font-size: 0.78em;
  background: var(--color-neon);
  color: #17396B;
  border-radius: 7px;
  padding: 2px 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-left: 6px;
  box-shadow: 0 1px 8px #23fdff42;
}

/* === FOOTER === */
footer {
  background: #172143;
  padding: 36px 0 16px 0;
  color: var(--color-accent);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.08rem;
}
.brand-info img {
  width: 40px;
}
.footer-nav, .main-navigation {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a, .main-navigation a {
  color: var(--color-accent);
  opacity: .85;
  font-size: .98rem;
  transition: color .18s, opacity .16s;
}
.footer-nav a:hover, .main-navigation a:hover {
  color: var(--color-neon);
  opacity: 1;
}
.contact-summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1.04rem;
}
.contact-summary img {
  width: 17px;
  margin-right: 5px;
  filter: drop-shadow(0 1px 8px var(--color-neon));
}
@media (max-width: 1100px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  padding: 16px 12px;
  background: #182140;
  box-shadow: 0 -10px 42px #0e174e77;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  animation: fadein-bottom .7s;
}
@keyframes fadein-bottom {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  color: var(--color-accent);
  font-size: 1rem;
  max-width: 480px;
}
.cookie-banner-btns {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-consent-btn, .cookie-settings-btn {
  font-family: var(--font-display);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--color-neon);
  background: var(--color-bg);
  color: var(--color-neon);
  margin-right: 0;
  transition: background .16s, color .16s;
}
.cookie-consent-btn.accept {
  background: var(--color-neon);
  color: #151c34;
  border-color: var(--color-neon);
}
.cookie-consent-btn.accept:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-consent-btn.reject {
  background: #212546;
  color: var(--color-accent);
  border-color: #313f72;
}
.cookie-consent-btn.reject:hover {
  background: var(--color-danger);
  color: #fff;
  border-color: var(--color-danger);
}
.cookie-settings-btn {
  background: none;
  color: var(--color-accent);
  border: 2px solid #26325D;
  transition: background .18s, border-color .15s;
}
.cookie-settings-btn:hover {
  background: #232d54;
  color: var(--color-neon);
  border-color: var(--color-neon);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 12px 3px;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30,38,70,0.92);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadein-modal .34s;
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #182140;
  border-radius: 17px;
  box-shadow: 0 0 44px #23fdff25;
  color: var(--color-accent);
  padding: 32px 24px;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadein-modal .4s;
  position: relative;
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.22rem;
  margin-bottom: 5px;
  font-weight: 600;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}
.cookie-category label {
  font-size: 1.04rem;
  color: var(--color-accent);
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  appearance: none;
  background: #151c34;
  border: 2px solid var(--color-neon);
  width: 23px; height: 23px;
  border-radius: 7px;
  cursor: pointer;
  position: relative;
  margin-right: 7px;
  transition: border-color .19s, background .16s;
}
.cookie-category input[type=checkbox]:checked {
  background: var(--color-neon);
  border-color: var(--color-neon);
}
.cookie-category input[type=checkbox]:checked:after {
  content: '';
  display: block;
  width: 11px; height: 11px;
  background: #182140;
  border-radius: 2px;
  position: absolute;
  left: 5px; top: 5px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 11px;
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 13px;
  background: none;
  color: var(--color-neon);
  font-size: 1.5rem;
}
.cookie-modal-close:hover {
  color: var(--color-secondary);
}

/* === CUSTOM FLEXBOX HELPERS - FROM MANDATED PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #172143;
  border-radius: 18px;
  box-shadow: 0 3px 18px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow .17s, border .14s;
  border: 2px solid transparent;
}
.card:hover {
  box-shadow: 0 8px 38px var(--color-neon);
  border: 2px solid var(--color-neon);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === ANIMATIONS/MICRO-INTERACTIONS === */
a, button, .card {
  transition: all .17s cubic-bezier(.77,0,.18,.99);
}
.card:active, .btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}

/* === MEDIA QUERIES === */
@media (max-width: 650px) {
  main { padding: 7px 0; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.05rem; }
}

/* === UTILITY CLASSES === */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* === OVERRIDE FONTS FOR ACCENT SECTIONS === */
.btn-primary, .btn-secondary, .main-nav a, .mobile-nav a {
  font-family: var(--font-display);
}

/* === SPECIAL FORMS/STEPS === */
.next-steps-suggestion {
  background: #1a2443;
  border-left: 4px solid var(--color-neon);
  padding: 17px 15px;
  border-radius: 9px;
}

/* === Z-INDEX LAYERS === */
header { z-index: 98; }
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 10000; }

/* === FOCUS STATES FOR ACCESSIBILITY === */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid var(--color-neon);
  outline-offset: 1px;
}

/* === COLOR ACCESSIBILITY === */
.testimonial-card {
  background: #fff;
  color: #182140;
  border-color: var(--color-neon);
  box-shadow: 0 1px 18px 0 rgba(0,44,85,0.06);
}
.testimonial-card p, .testimonial-card span {
  color: #1a223f;
}

/* === END === */
