/* ===================== 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,
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: #121829;
  color: #F4F7FA;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ===================== BRAND COLORS & FONTS ===================== */
:root {
  --primary: #1B3354;
  --secondary: #B4975A;
  --accent: #F4F7FA;
  --neon: #0FFDFF;
  --neon-alt: #5BF5A6;
  --bg: #121829;
  --bg-light: #232d48;
  --card-bg: #192441;
  --shadow: 0 6px 32px rgba(15, 255, 255, 0.06), 0 1.5px 4.5px rgba(180, 151, 90, 0.08);
  --radius: 16px;
  --border: 1.5px solid #244574;
  --hero-gradient: linear-gradient(90deg, #1B3354 0%, #253977 50%, #0FFDFF 100%);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Lato', Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap');
  font-weight: 600 700;
}
@font-face {
  font-family: 'Lato';
  src: local('Lato'), url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700&display=swap');
  font-weight: 400 700;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; } /* 40px */
h2 { font-size: 2rem; }    /* 32px */
h3 { font-size: 1.375rem; } /* 22px */
h4 { font-size: 1.125rem; } /* 18px */
.hero-sub {
  color: var(--neon);
  font-size: 1.125rem;
  margin-bottom: 28px;
  font-family: var(--font-display);
  text-shadow: 0 1px 8px rgba(15,253,255,0.065);
}
p, ul li, ol li, address {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 12px;
}
strong, b {
  color: var(--secondary);
  font-weight: 700;
}

/* ===================== LAYOUT CONTAINERS ===================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* ===================== NAVIGATION & HEADER ===================== */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 4px 24px 0 rgba(15,255,255,.08);
  position: relative;
  z-index: 60;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  justify-content: flex-start;
}
header nav a {
  color: var(--accent);
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 32px;
  font-family: var(--font-display);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--neon);
  color: var(--primary);
  box-shadow: 0 0 0 2.5px var(--neon-alt);
}
header nav img {
  height: 44px;
  margin-right: 28px;
  display: block;
}
.cta-primary {
  background: var(--secondary);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 32px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 2px 16px 0 rgba(44,199,255,.08);
  border: none;
  transition: background 0.21s, box-shadow 0.2s, color 0.2s;
  margin-left: 20px;
  letter-spacing: 0.03em;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--neon-alt);
  color: var(--primary) !important;
  box-shadow: 0 6px 32px 0 rgba(91,245,166,0.17);
}
.cta-secondary {
  background: transparent;
  border: 2px solid var(--neon);
  color: var(--neon);
  padding: 12px 28px;
  border-radius: 32px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-top: 20px;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--neon);
  color: var(--primary);
  border-color: var(--neon-alt);
}

/***** Mobile menu toggle *****/
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--neon);
  margin-left: auto;
  background: transparent;
  border: none;
  padding: 8px 12px;
  transition: color 0.14s, background 0.14s;
  border-radius: 8px;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--neon-alt);
}

@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }
}

/***** MOBILE MENU STYLES *****/
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--primary);
  color: var(--accent);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  padding: 24px 32px 0 32px;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.5,-0.4,.1,1.4);
  z-index: 301;
  box-shadow: 0 4px 32px #000a;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  color: var(--neon);
  background: none;
  margin-bottom: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  z-index: 320;
  transition: color 0.18s, background 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--neon-alt);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.3rem;
  font-family: var(--font-display);
  padding: 14px 0;
  border-radius: 10px;
  transition: background 0.14s, color 0.12s;
  text-align: left;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--neon);
  color: var(--primary);
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================== HERO, FEATURE GRIDS, CARDS ===================== */
/* --- Feature grid (index, flotta, etc.) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 8px;
  margin-bottom: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 26px;
  flex: 1 1 250px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: var(--border);
  position: relative;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
}
.feature-grid > div img {
  width: 46px; height: 46px;
  filter: drop-shadow(0 3px 11px var(--neon));
  margin-bottom: 5px;
}
.feature-grid h3 {
  font-size: 1.15rem;
  color: var(--neon);
  margin-bottom: 0;
}
.feature-grid p {
  color: var(--accent);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- Card Container --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--card-bg);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 36px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* --- Tables --- */
.pricing-table, .spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 1rem;
}
.pricing-table th, .spec-table th {
  background: var(--bg-light);
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 15px 12px;
  text-align: left;
  border-bottom: 2.5px solid var(--neon-alt);
}
.pricing-table td, .spec-table td {
  padding: 13px 12px;
  color: var(--accent);
  border-bottom: 1px solid #244574;
}
.pricing-table tr:last-child td,
.spec-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 700px) {
  .pricing-table, .spec-table {
    font-size: 0.95rem;
    overflow-x: auto;
    display: block;
  }
  .pricing-table thead, .spec-table thead {
    display: none;
  }
  .pricing-table tr, .spec-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 17px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(15,255,255,0.06);
    background: var(--card-bg);
    border: var(--border);
    padding: 9px 9px 2px 9px;
  }
}

/* ===================== CARD, CONTENT GRID, TEXT/IMAGE SECTION ===================== */
.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) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ===================== TESTIMONIALS & RATINGS ===================== */
.testimonial-card {
  background: #fff;
  color: #18223b;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 22px 0 rgba(27,51,84,0.11);
  margin-bottom: 20px;
  border: 1.5px solid #dde5ef;
  font-size: 1.08rem;
  position: relative;
  flex: 1 1 0%;
}
.testimonial-card p {
  color: #292f49;
  font-size: 1.07rem;
  margin-bottom: 0;
  line-height: 1.4;
}
.testimonial-card span {
  font-size: 0.96rem;
  font-style: italic;
  color: #3F4C70;
  margin-left: auto;
}
.rating-overview {
  color: #FFD700;
  font-size: 1.03rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  margin-left: 8px;
}
.rating-overview img {
  width: 20px; height: 20px;
}

/* ===================== FEATURE/ITEMS STYLES ===================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px 20px;
  box-shadow: var(--shadow);
}
.event-list li {
  background: var(--card-bg);
  padding: 14px 18px;
  border-radius: 13px;
  margin-bottom: 13px;
  border: var(--border);
}

/* ===================== BLOCKQUOTE ===================== */
blockquote {
  border-left: 4px solid var(--neon);
  background: rgba(44,199,240,0.07);
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 1.19rem;
  padding: 19px 24px 19px 32px;
  margin: 22px 0 0 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(15,255,255,0.045);
}

/* ===================== CONTACT-LIST ===================== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 10px;
}
.contact-list li {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border-radius: 11px;
  padding: 13px 18px;
  gap: 14px;
  color: var(--accent);
  font-size: 1.1rem;
}
.contact-list img {
  width: 28px; height: 28px;
  margin-right: 7px;
  filter: drop-shadow(0 1px 5px var(--neon-alt));
}

/* ===================== TEAM INTROS ===================== */
.team-intros {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
.team-intros > div {
  background: var(--bg-light);
  padding: 18px 20px;
  border-radius: 13px;
  flex: 1 1 240px;
  min-width: 190px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: var(--border);
}
@media (max-width: 900px) {
  .team-intros {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===================== FOOTER ===================== */
footer {
  width: 100%;
  background: var(--primary);
  padding: 36px 0 14px 0;
  color: var(--accent);
  border-top: 3px solid var(--secondary);
  margin-top: 54px;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--accent);
  opacity: .85;
  padding: 6px 16px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: background 0.19s, color 0.18s;
}
footer nav a:hover,footer nav a:focus {
  color: var(--neon);
  background: #283d6a;
}
.contact-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.contact-footer img {
  height: 38px;
}
footer address {
  font-style: normal;
  color: var(--neon);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-left: 5px;
}
footer span {
  color: rgba(224,235,255,.5);
  display: block;
  font-size: 0.97rem;
  margin-top: 8px;
}

/* ===================== RESPONSIVE & FLEXBOX QUERIES ===================== */
@media (max-width: 800px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.43rem; }
  .container { padding: 0 7px; }
  .feature-grid > div { padding: 19px 14px; }
  .card { padding: 22px 10px; }
  .contact-list li { padding: 10px 9px; }
  footer { padding: 20px 0 11px 0; }
}

/* ===================== COOKIES CONSENT BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  background: var(--card-bg);
  color: var(--accent);
  box-shadow: 0 -2px 22px 0 rgba(15,255,255,0.055);
  padding: 22px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  z-index: 9010;
  transition: transform 0.4s cubic-bezier(.52,-0.28,.34,1.23), opacity 0.3s;
  transform: translateY(0);
  opacity: 1;
  border-top: 2px solid var(--neon-alt);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--accent);
  font-size: 1.07rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 9px 21px;
  border-radius: 32px;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  transition: background 0.16s, color 0.12s, box-shadow 0.14s;
  border: none;
  margin-bottom: 0;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
  margin-right: 5px;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--neon-alt);
  color: var(--primary);
}
.cookie-banner .reject {
  background: none;
  border: 2px solid var(--neon-alt);
  color: var(--neon);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: var(--neon-alt);
  color: var(--primary);
}
.cookie-banner .settings {
  background: none;
  color: var(--secondary);
  border: 1.2px solid var(--secondary);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  color: var(--neon-alt);
  border-color: var(--neon-alt);
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: var(--bg-light);
  color: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 46px 0 rgba(27,51,84,0.21);
  z-index: 9999;
  padding: 44px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  min-width: 310px;
  max-width: 96vw;
  opacity: 1;
  transition: opacity 0.32s, transform 0.32s cubic-bezier(.6,1.5,.27,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-35%) scale(0.93);
}
.cookie-modal h2 {
  color: var(--neon);
  font-size: 1.22rem;
  margin-bottom: 0;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
}
.cookie-category label {
  font-size: 1.04rem;
  color: var(--accent);
}
.cookie-category input[type='checkbox'][disabled] {
  accent-color: var(--secondary);
  cursor: not-allowed;
  filter: grayscale(60%);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--neon);
  width: 22px;
  height: 22px;
  border-radius: 5px;
  box-shadow: 0 0 0 2px var(--secondary);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 15px; right: 22px;
  color: var(--neon);
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
}

@media (max-width: 660px) {
  .cookie-modal {
    min-width: unset;
    width: 98vw;
    padding: 27px 6px 22px 9px;
  }
  .cookie-modal .close-cookie-modal {
    top: 8px; right: 9px;
  }
}

/* ===================== ANIMATIONS & SHADOW EFFECTS ===================== */
.card, .feature-grid > div, .event-list li,
.feature-item, .testimonial-card {
  transition: box-shadow 0.22s, border 0.19s, background 0.17s, transform 0.22s;
}
.card:hover, .feature-grid > div:hover, .event-list li:hover,
.feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 6px 36px 0 rgba(0,255,253,0.16), 0 1.5px 6.5px 0 rgba(180,151,90,0.16);
  border-color: var(--neon-alt);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card:active {
  transform: scale(0.99);
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(0.985);
}

/* ===================== UTILITY CLASSES ===================== */
.text-center {
  text-align: center;
}
.m-b-24 {
  margin-bottom: 24px;
}
.wrap {
  flex-wrap: wrap;
}
.gap-20 {
  gap: 20px;
}

/* ===================== ACCESSIBILITY FOCUS ===================== */
:focus {
  outline: 2px solid var(--neon) !important;
  outline-offset: 1.5px !important;
}

/* ===================== SCROLLBAR STYLING ===================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--card-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}

/* ===================== MISC STYLES ===================== */
.map {
  background: var(--bg-light);
  border-radius: 10px;
  color: var(--accent);
  padding: 16px 19px;
  margin-top: 10px;
}
/* FAQ List */
.faq-list li {
  margin-bottom: 15px;
  background: var(--card-bg);
  padding: 14px 18px;
  border-radius: 10px;
  border: var(--border);
  color: var(--accent);
  font-size: 1.05rem;
}

/* ===================== END ===================== */
