/* 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #181818;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
ol, ul {
  list-style: none;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:700,900&family=Roboto:400,500,700&display=swap');

:root {
  --color-bg: #fff;
  --color-bg-alt: #f7f8fa;
  --color-text: #181818;
  --color-text-light: #464646;
  --color-primary: #111216;
  --color-emphasis: #22252a;
  --color-secondary-bg: #ededed;
  --color-accent: #FFB700;
  --color-link: #242424;
  --color-action: #111;
  --color-btn-bg: #111216;
  --color-btn-bg-secondary: #fff;
  --color-btn-text: #fff;
  --color-btn-border: #111;
  --color-shadow: rgba(18,18,18,0.07);
  --color-border: #e1e1e1;
  --color-highlight: #22252a;
  --radius: 12px;
  --shadow-card: 0 4px 18px 0 rgba(22,22,22,0.10);
  --shadow-light: 0 2px 6px 0 rgba(40,40,40,0.06);
  --duration: 0.2s;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #101215;
    --color-bg-alt: #14161a;
    --color-text: #fff;
    --color-text-light: #dadada;
    --color-secondary-bg: #1c1e22;
    --color-link: #fff;
    --color-action: #fff;
    --color-btn-bg-secondary: #181818;
    --color-btn-border: #fff;
    --color-shadow: rgba(0,0,0,0.18);
    --color-border: #232323;
    --color-highlight: #fff;
  }
}

body {
  background: var(--color-bg);
  color: var(--color-text);
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  min-width: 260px;
  transition: box-shadow var(--duration), transform var(--duration);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(30,30,30,0.15);
  transform: translateY(-2px) scale(1.02);
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #171717;
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  padding: 28px 30px 22px 30px;
  margin-bottom: 24px;
  min-width: 250px;
  max-width: 520px;
  transition: box-shadow var(--duration);
}
.testimonial-card blockquote {
  font-size: 1.18rem;
  font-weight: 500;
  color: #111;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card p {
  font-size: 1rem;
  color: #464646;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
.feature-item {
  background: var(--color-bg-alt);
  padding: 26px 22px 20px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow var(--duration), transform var(--duration);
}
.feature-item:hover {
  box-shadow: 0 8px 20px rgba(45,45,45,0.12);
  transform: scale(1.017);
  z-index: 2;
}
.feature-item img {
  width: 40px;
  height: 40px;
  filter: grayscale(1) brightness(0.55);
}
.feature-item h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.feature-item p {
  color: var(--color-text-light);
}

.cta {
  margin-bottom: 60px;
  padding: 36px 0 40px 0;
  width: 100%;
  background: var(--color-bg-alt);
}

/* ============================ */
/*         TYPOGRAPHY           */
/* ============================ */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 10px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
p, li, ul, ol, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}
ul, ol {
  padding-left: 16px;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}
.main-nav a, .footer-navigation nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.025em;
}
.main-nav a.cta-primary {
  font-size: 1.05rem;
}

/* ============================ */
/*   HEADER & NAVIGATION BAR    */
/* ============================ */
header {
  background: var(--color-bg);
  box-shadow: 0 3px 16px -8px #1012161c;
  position: relative;
  padding-top: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 14px 20px 14px 0;
  min-height: 64px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  z-index: 111;
}
.main-nav img[alt="Propuscoli Transport"] {
  width: 164px;
  height: auto;
  margin-right: 20px;
  flex-shrink: 0;
}
.main-nav a {
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--duration), color var(--duration);
  position: relative;
}
.main-nav a:hover {
  background: var(--color-bg-alt);
  color: #185089;
}
.main-nav a.cta-primary {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border-radius: var(--radius);
  padding: 9px 18px;
  font-weight: 700;
  box-shadow: 0 2px 14px -3px var(--color-shadow);
  margin-left: 16px;
  transition: background 0.16s, color 0.16s, transform 0.13s;
}
.main-nav a.cta-primary:hover {
  background: #22252a;
  transform: scale(1.035);
  color: var(--color-accent);
}

/* ============================ */
/*      HERO SECTIONS           */
/* ============================ */
.hero {
  background: var(--color-bg-alt);
  padding: 60px 0 40px 0;
  margin-bottom: 50px;
}
.hero .container .content-wrapper {
  align-items: flex-start;
  gap: 15px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 600px;
}
.hero .cta-primary {
  margin-top: 18px;
}

/* ============================ */
/*           BUTTONS            */
/* ============================ */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-btn-text);
  background: var(--color-btn-bg);
  border-radius: 999px;
  padding: 11px 36px;
  border: none;
  box-shadow: 0 2px 14px -3px var(--color-shadow);
  cursor: pointer;
  transition: background 0.16s, color 0.15s, transform 0.15s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #22252a;
  color: var(--color-accent);
  transform: scale(1.06);
}
.cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-btn-bg-secondary);
  border: 2px solid var(--color-btn-border);
  border-radius: 999px;
  padding: 10px 32px;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: none;
  transition: border 0.16s, color 0.16s, background 0.15s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-highlight);
  color: var(--color-accent);
  border-color: var(--color-btn-bg);
}

/* =================== */
/*      FEATURES       */
/* =================== */
.features, .services, .about, .contact, .testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}
.features ul, .about ul, .services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
  margin-bottom: 16px;
}
.features li, .about li, .services li {
  padding-left: 0px;
  font-size: 1.05rem;
  color: var(--color-text-light);
  position: relative;
}
.features li strong, .about li strong, .services li strong {
  color: var(--color-emphasis);
}

/* =================== */
/*      CONTACT        */
/* =================== */
.contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 1.05rem;
}
.contact li img {
  width: 22px;
  height: 22px;
  filter: grayscale(1) brightness(0.55);
}
.contact .cta-primary {
  margin-top: 18px;
}

/* =================== */
/*    TESTIMONIALS     */
/* =================== */
.testimonials .content-wrapper {
  gap: 24px;
  align-items: flex-start;
}
.testimonials .testimonial-card {
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 480px;
  width: 100%;
}

/* =================== */
/*      FOOTER         */
/* =================== */
footer {
  background: var(--color-bg-alt);
  padding: 38px 0 0 0;
  border-top: 1px solid var(--color-border);
  margin-top: 36px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 18px;
}
.footer-navigation nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-navigation nav a {
  color: #fff;
  opacity: 0.90;
  transition: color 0.13s;
  font-size: 1rem;
}
.footer-navigation nav a:hover, .footer-navigation nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #2a2a2a;
  font-size: .96rem;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  filter: grayscale(1) brightness(0.45);
  margin-right: 6px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
}
.footer-social a img {
  width: 27px;
  height: 27px;
  filter: grayscale(1) contrast(1.2) brightness(0.4);
  transition: filter 0.16s;
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(0.95) contrast(1.15);
}
.footer-copy {
  font-size: .93rem;
  color: #888;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 10px;
}

/* =================== */
/*   MOBILE NAV MENU   */
/* =================== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border-radius: 6px;
  font-size: 2.1rem;
  padding: 3px 17px 3px 12px;
  cursor: pointer;
  border: none;
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 201;
  transition: background 0.15s, color 0.15s, transform 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #232323;
  color: var(--color-accent);
  transform: scale(1.07);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,18,22,0.98);
  transform: translateX(-100%);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.34s cubic-bezier(0.38,0.7,0.3,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 12px 0;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5002;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 32px;
  margin-top: 35px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 8px;
  transition: color 0.17s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.10);
  color: var(--color-accent);
}

/* Show/hide navigation menu for mobile/desktop */
@media (max-width: 1024px) {
  .main-nav {
    gap: 13px;
  }
  .main-nav a {
    font-size: 0.96rem;
  }
}
@media (max-width: 900px) {
  .main-nav a.cta-primary {
    padding: 8px 12px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================== */
/*   RESPONSIVE FLEX LAYOUTS   */
/* =========================== */
@media (max-width: 1200px) {
  .container {
    max-width: 990px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 700px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  .footer-navigation {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .hero {
    padding: 34px 0 23px 0;
  }
  .section, .features, .services, .about, .contact, .testimonials {
    margin-bottom: 32px;
    padding: 23px 6px;
  }
  .footer-contact {
    gap: 3px;
  }
}
@media (max-width: 620px) {
  h1, .hero h1 {
    font-size: 1.58rem;
  }
  h2 {
    font-size: 1.24rem;
  }
  .main-nav img[alt="Propuscoli Transport"] {
    width: 118px;
  }
  .feature-item {
    min-width: 0;
    padding: 17px 12px 14px 12px;
  }
  .testimonial-card {
    padding: 15px 10px 12px 10px;
    border-radius: 10px;
    font-size: .98rem;
  }
}
@media (max-width: 480px) {
  .footer-social {
    margin-top: 6px;
  }
}

/* ============================= */
/*    TRANSITIONS/INTERACTION    */
/* ============================= */
a, .cta-primary, .cta-secondary, .card, .feature-item {
  transition: color 0.16s, background 0.16s, box-shadow 0.19s, transform 0.17s;
}

/* Subtle fade/slide on load (add .fade-in class in JS for effect) */
.fade-in {
  opacity: 0;
  transform: translateY(18px) scale(0.95);
  animation: fadeInUp .7s cubic-bezier(0.39,0.58,0.57,1) .09s 1 forwards;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(18px) scale(0.95); }
  85% { opacity: 1; transform: translateY(0) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================= */
/*   COOKIE CONSENT BANNER/MODAL */
/* ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9900;
  width: 100vw;
  background: #181818;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(40, 40, 40, 0.18);
  padding: 24px 0 24px 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 54px;
  transition: transform 0.35s cubic-bezier(0.3,0.6,0.47,1);
}
.cookie-banner.closed {
  transform: translateY(110%);
}
.cookie-banner-message {
  font-size: 1rem;
  color: #ececec;
  max-width: 480px;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-modal button:not(.cookie-modal-close) {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  padding: 9px 23px;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  margin-right: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, transform 0.14s;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #191b1c;
  border: 1.4px solid #232323;
}
.cookie-banner .cookie-reject:hover {
  background: #e6e6e6;
  color: #101216;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #151d1f;
  border: 1.2px solid #232323;
}
.cookie-banner button:hover {
  background: #22252a;
  color: var(--color-accent);
  transform: scale(1.07);
}

/* -- Cookie Modal -- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001;
  background: rgba(16,18,22,0.83);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s cubic-bezier(0.6,0.3,0.16,1);
}
.cookie-modal-overlay.closed { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  color: #232323;
  min-width: 320px;
  max-width: 98vw;
  padding: 32px 30px 24px 30px;
  border-radius: var(--radius);
  box-shadow: 0 8px 60px 0 #00000033;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInUp 0.42s;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: none;
  color: #191b1c;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: var(--color-accent);
}
.cookie-modal h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #232323;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
  padding: 7px 0;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232323;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-category .toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #ededed;
  border-radius: 14px;
  position: relative;
  outline: none;
  margin-right: 9px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-category .toggle:checked {
  background: #185089;
}
.cookie-category .toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px 0 rgba(16,16,16,0.07);
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.14s cubic-bezier(0.42,0.34,0.18,0.99);
}
.cookie-category .toggle:checked:before {
  left: 18px;
}
.cookie-category .essential {
  font-size: .99rem;
  color: #888;
  font-style: italic;
  margin-left: 8px;
}

.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal button {
  margin-right: 0;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 8px 15px 8px;
  }
  .cookie-banner-message {
    max-width: 98vw;
    font-size: 0.99rem;
  }
  .cookie-modal {
    padding: 20px 10px 15px 14px;
    min-width: 90vw;
  }
}

/* ================================ */
/* Prevent Overlap/Stacking Issues  */
[class*='content-wrapper'], .feature-grid, .card-container, .footer-navigation, .footer-contact, .footer-social, .testimonial-card, .features, .services, .about, .contact {
  margin-bottom: 0 !important;
}

/* ===== UTILITY ===== */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* Miscellaneous improvements */
@media (max-width: 480px) {
  .cookie-banner {
    font-size: .97rem;
    gap: 9px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .cta-primary, .cta-secondary {
    padding: 10px 12px;
    font-size: .99rem;
  }
}

/* =================== */
/*  Hide Scrollbar in Mobile Menu  */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========================= */
/*  Ensure no grid/columns!  */
/* ========================= */
/* Only display: flex and flexbox used for layout! */
