
/* ==========================================================
   CMJ TRANSPORT & LOGISTICS
   HOMEPAGE STYLESHEET
   Version 3.0

   Loaded AFTER style.css
   Homepage-specific visual improvements
========================================================== */


/* ==========================================================
   01. HOMEPAGE VARIABLES
========================================================== */

:root {
  --home-navy: #0b2341;
  --home-blue: #0874e8;
  --home-blue-dark: #0861b9;
  --home-light-blue: #eaf3fc;
  --home-soft-bg: #f3f7fb;
  --home-text: #14283f;
  --home-muted: #526579;

  --home-container: 1240px;

  --home-radius: 14px;

  --home-shadow:
    0 12px 35px rgba(11, 35, 65, 0.07);
}


/* ==========================================================
   02. HEADER
========================================================== */

.site-header {
  height: 86px;
  background: #ffffff;
}

.header-inner {
  max-width: var(--home-container);
  gap: 35px;
}

.logo-image {
  width: auto;
  height: 70px;
  max-width: 350px;
  object-fit: contain;
}

.nav-list {
  gap: 30px;
}

.nav-link {
  min-height: 46px;
  font-size: 16px;
  font-weight: 600;
}

.nav-contact {
  padding: 0 24px;
  border-radius: 25px;
  background: var(--home-blue);
}

.nav-contact:hover {
  background: var(--home-blue-dark);
}


/* ==========================================================
   03. HERO
========================================================== */

.hero {
  min-height: 470px;
  background: var(--home-navy);
}

.hero-content {
  min-height: 470px;
  padding-top: 55px;
  padding-bottom: 55px;
}

.hero-text {
  max-width: 740px;
}

.hero .section-eyebrow {
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 0.15em;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 23px;

  font-size: clamp(43px, 4.5vw, 65px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: #a4dbff;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 27px;

  font-size: 18px;
  line-height: 1.65;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(8, 27, 48, 0.91) 0%,
    rgba(8, 27, 48, 0.78) 36%,
    rgba(8, 27, 48, 0.36) 70%,
    rgba(8, 27, 48, 0.08) 100%
  );
}

.hero-actions {
  gap: 16px;
}

.hero-actions .btn {
  min-height: 53px;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 24px;
}

.hero-actions .btn-primary {
  background: var(--home-blue);
  border-color: var(--home-blue);
}

.hero-actions .btn-primary:hover {
  background: var(--home-blue-dark);
}

.hero-location {
  margin-top: 24px;
  font-size: 13px;
}


/* ==========================================================
   04. SERVICES STRIP
========================================================== */

.services-strip {
  padding: 30px 0;
  background: #ffffff;
}

.services-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.service-strip-item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  min-width: 0;
  padding: 22px 17px;

  text-align: center;
  border-right: 1px solid #dbe5ef;

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.service-strip-item:last-child {
  border-right: none;
}

.service-strip-item:hover {
  transform: translateY(-5px);
}

.service-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;
  margin-bottom: 10px;

  color: var(--home-blue);
  transition: transform 0.25s ease;
}

.service-strip-icon svg {
  width: 43px;
  height: 43px;
  stroke-width: 1.5;
}

.service-strip-item:hover .service-strip-icon {
  transform: scale(1.08);
}

.service-strip-item h3 {
  margin-bottom: 8px;

  font-size: 19px;
  font-weight: 750;
  line-height: 1.25;
  color: var(--home-navy);
}

.service-strip-item p {
  max-width: 200px;

  font-size: 15px;
  line-height: 1.45;
  color: var(--home-muted);
}


/* ==========================================================
   05. VEYNOR SHOWCASE
========================================================== */

.veynor-showcase {
  position: relative;
  padding: 48px 0;

  background:
    linear-gradient(
      125deg,
      #f0f6fc 0%,
      #f5f9fd 55%,
      #e9f3fd 100%
    );

  overflow: hidden;
}

.veynor-showcase-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 1fr);

  align-items: center;
  gap: 50px;
}

/* Laptop */

.veynor-showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.veynor-showcase-image {
  display: block;

  width: 100%;
  max-width: 570px;
  height: auto;

  object-fit: contain;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  transition: transform 0.35s ease;
}

.veynor-showcase-visual:hover
.veynor-showcase-image {
  transform: translateY(-5px);
}

/* Content */

.veynor-showcase-content {
  max-width: 570px;
  min-width: 0;
}

.veynor-showcase-content .section-eyebrow {
  display: block;
  margin-bottom: 11px;

  font-size: 12px;
  letter-spacing: 0.13em;
}

.veynor-showcase-content h2 {
  margin-bottom: 17px;

  font-size: clamp(32px, 3.3vw, 43px);
  line-height: 1.15;
  color: var(--home-navy);
}

.veynor-showcase-content h2 span {
  color: var(--home-blue);
}

.veynor-showcase-content > p {
  margin-bottom: 20px;

  font-size: 17px;
  line-height: 1.6;
  color: #435a71;
}

/* Benefits */

.veynor-showcase-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin: 0 0 23px;
  padding: 0;

  list-style: none;
}

.veynor-showcase-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  font-size: 16px;
  line-height: 1.45;
  color: var(--home-navy);
}

.veynor-showcase-benefits li span {
  flex: 0 0 auto;

  color: var(--home-blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.veynor-showcase-content .btn {
  min-height: 48px;
  padding: 12px 23px;

  font-size: 15px;
  border-radius: 24px;
}


/* ==========================================================
   06. CALCULATOR SECTION
========================================================== */

.calculator-section {
  padding: 60px 0 65px;
  background: #f3f7fb;
}

.calculator-section .section-heading {
  margin-bottom: 28px;
}

.calculator-section .section-heading h2 {
  margin-bottom: 12px;

  font-size: clamp(32px, 3.5vw, 43px);
  line-height: 1.2;
}

.calculator-section .section-heading p {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.6;
}

/* Remove duplicated calculator introduction */

.calculator-compact-intro {
  display: none;
}

/* Calculator container */

.calculator-card {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;

  border-radius: 17px;
  box-shadow: var(--home-shadow);
}

/* Header */

.calculator-header {
  padding: 23px 30px;
}

.calculator-header h3 {
  margin-bottom: 5px;
  font-size: 21px;
}

.calculator-header p {
  font-size: 14px;
}

/* Layout */

.calculator-layout {
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 0.85fr);
}

.calculator-inputs {
  padding: 30px;
}

.calculator-fields {
  gap: 20px;
}

.calculator-fields .form-group label {
  margin-bottom: 8px;
  font-size: 15px;
}

.calculator-fields .form-group input {
  min-height: 47px;
  font-size: 16px;
}

.calculator-fields .form-group small {
  font-size: 12px;
  line-height: 1.5;
}

/* Calculator results */

.calculator-results {
  padding: 30px;
}

.calculator-results-header h3 {
  font-size: 21px;
}

.calculator-total-amount {
  font-size: clamp(40px, 4vw, 54px);
}

.calculator-currency {
  font-size: 30px;
}

.calculator-period {
  font-size: 14px;
}

.calculator-vat-note {
  font-size: 13px;
}

.breakdown-row,
.breakdown-row strong {
  font-size: 14px;
}

.calculator-quote .btn {
  min-height: 49px;
  font-size: 15px;
  border-radius: 8px;
}


/* ==========================================================
   07. BENEFITS
========================================================== */

.benefits-section {
  padding: 65px 0;
  background: #ffffff;
}

.benefits-section .section-heading {
  margin-bottom: 35px;
}

.benefits-section .section-heading h2 {
  font-size: clamp(30px, 3.4vw, 41px);
}

.benefits-section .section-heading p {
  font-size: 16px;
}

.benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  padding: 24px 21px;
  border-radius: 12px;
}

.benefit-card h3 {
  font-size: 18px;
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.6;
}

.benefit-icon {
  width: 55px;
  height: 55px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}


/* ==========================================================
   08. CONTACT CTA
========================================================== */

.contact-cta {
  padding: 55px 0;

  background:
    linear-gradient(
      110deg,
      #102d50 0%,
      #153f70 68%,
      #0d5ca7 100%
    );
}

.contact-cta-inner {
  gap: 45px;
}

.contact-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 3.3vw, 43px);
}

.contact-cta p {
  font-size: 17px;
  line-height: 1.6;
}

.contact-cta-actions .btn {
  min-height: 51px;
  font-size: 15px;
  border-radius: 24px;
}


/* ==========================================================
   09. GENERAL HOVER EFFECTS
========================================================== */

.service-strip-item,
.benefit-card,
.calculator-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: #b8d7f2;
  box-shadow: 0 10px 25px rgba(11, 35, 65, 0.07);
}


/* ==========================================================
   10. LARGE DESKTOP
========================================================== */

@media (min-width: 1440px) {

  .hero,
  .hero-content {
    min-height: 510px;
  }

  .hero h1 {
    font-size: 65px;
  }

  .veynor-showcase-image {
    max-width: 600px;
  }

}


/* ==========================================================
   11. TABLET
========================================================== */

@media (max-width: 1100px) {

  .logo-image {
    height: 58px;
    max-width: 280px;
  }

  .nav-list {
    gap: 18px;
  }

  .nav-link {
    font-size: 14px;
  }

  .services-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px;
  }

  .service-strip-item:nth-child(3) {
    border-right: none;
  }

  .veynor-showcase-layout {
    gap: 30px;
  }

}


/* ==========================================================
   12. TABLET PORTRAIT
========================================================== */

@media (max-width: 900px) {

  .site-header {
    height: 76px;
  }

  .logo-image {
    height: 49px;
    max-width: 245px;
  }

  .hero,
  .hero-content {
    min-height: 490px;
  }

  .hero h1 {
    font-size: clamp(38px, 5vw, 52px);
  }

  .hero-description {
    font-size: 16px;
  }

  .veynor-showcase-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .veynor-showcase-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .veynor-showcase-content {
    max-width: 600px;
    margin: 0 auto;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calculator-results {
    border-left: 0;
    border-top: 1px solid #dbe5ef;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* ==========================================================
   13. MOBILE
========================================================== */

@media (max-width: 600px) {

  .site-header {
    height: 70px;
  }

  .logo-image {
    height: 42px;
    max-width: 210px;
  }

  .hero,
  .hero-content {
    min-height: 550px;
  }

  .hero-content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 15px;
  }

  /* Services */

  .services-strip {
    padding: 22px 0;
  }

  .services-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .service-strip-item {
    padding: 22px 12px;
    border-bottom: 1px solid #dbe5ef;
  }

  .service-strip-item:nth-child(odd) {
    border-right: 1px solid #dbe5ef;
  }

  .service-strip-item:nth-child(even) {
    border-right: none;
  }

  .service-strip-item:last-child {
    grid-column: 1 / -1;
    border-right:

none;
  }

  /* ==========================================
     MOBILE - SERVICES ICONS
  ========================================== */

  .service-strip-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 8px;
  }

  .service-strip-icon svg {
    width: 35px;
    height: 35px;
    stroke-width: 1.6;
  }

  .service-strip-item h3 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 7px;
  }

  .service-strip-item p {
    max-width: 180px;
    font-size: 13px;
    line-height: 1.5;
  }


  /* ==========================================
     MOBILE - VEYNOR
  ========================================== */

  .veynor-showcase {
    padding: 38px 0 42px;
  }

  .veynor-showcase-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .veynor-showcase-visual {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .veynor-showcase-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .veynor-showcase-content {
    width: 100%;
    max-width: 100%;
  }

  .veynor-showcase-content .section-eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .veynor-showcase-content h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .veynor-showcase-content > p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .veynor-showcase-benefits {
    gap: 11px;
    margin-bottom: 22px;
  }

  .veynor-showcase-benefits li {
    font-size: 14px;
    line-height: 1.5;
    gap: 10px;
  }

  .veynor-showcase-benefits li span {
    font-size: 19px;
  }

  .veynor-showcase-content .btn {
    min-height: 46px;
    font-size: 14px;
  }


  /* ==========================================
     MOBILE - CALCULATOR
  ========================================== */

  .calculator-section {
    padding: 45px 0 50px;
  }

  .calculator-section .section-heading {
    margin-bottom: 25px;
  }

  .calculator-section .section-heading h2 {
    font-size: 29px;
    line-height: 1.25;
  }

  .calculator-section .section-heading p {
    font-size: 14px;
    line-height: 1.65;
  }

  .calculator-card {
    border-radius: 12px;
  }

  .calculator-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 23px 20px;
  }

  .calculator-header h3 {
    font-size: 19px;
  }

  .calculator-header p {
    font-size: 13px;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calculator-inputs {
    padding: 24px 20px;
  }

  .calculator-fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .calculator-fields .form-group label {
    font-size: 14px;
  }

  .calculator-fields .form-group input {
    min-height: 48px;
    font-size: 16px;
  }

  .calculator-fields .form-group small {
    font-size: 12px;
  }

  .calculator-options {
    margin-top: 25px;
    padding-top: 22px;
  }

  .calculator-results {
    padding: 26px 20px;
    border-left: none;
    border-top: 1px solid #dbe5ef;
  }

  .calculator-results-header h3 {
    font-size: 19px;
  }

  .calculator-total-amount {
    font-size: clamp(35px, 9vw, 45px);
  }

  .calculator-currency {
    font-size: 26px;
  }

  .calculator-period {
    font-size: 12px;
  }

  .calculator-vat-note {
    font-size: 12px;
  }

  .calculator-breakdown {
    padding: 20px 0;
  }

  .breakdown-row {
    gap: 12px;
  }

  .breakdown-row,
  .breakdown-row strong {
    font-size: 13px;
  }

  .calculator-disclaimer {
    padding: 22px 20px;
  }

  .calculator-disclaimer p {
    font-size: 12px;
    line-height: 1.7;
  }


  /* ==========================================
     MOBILE - BENEFITS
  ========================================== */

  .benefits-section {
    padding: 45px 0;
  }

  .benefits-section .section-heading {
    margin-bottom: 28px;
  }

  .benefits-section .section-heading h2 {
    font-size: 29px;
    line-height: 1.25;
  }

  .benefits-section .section-heading p {
    font-size: 14px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .benefit-card {
    padding: 23px 20px;
  }

  .benefit-card h3 {
    font-size: 18px;
  }

  .benefit-card p {
    font-size: 14px;
    line-height: 1.65;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
  }

  .benefit-icon svg {
    width: 25px;
    height: 25px;
  }


  /* ==========================================
     MOBILE - CONTACT CTA
  ========================================== */

  .contact-cta {
    padding: 45px 0;
  }

  .contact-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .contact-cta h2 {
    font-size: 31px;
    line-height: 1.2;
  }

  .contact-cta p {
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-cta-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    flex: none;
  }

  .contact-cta-actions .btn {
    width: 100%;
    min-height: 49px;
    font-size: 14px;
  }

}


/* ==========================================================
   14. SMALL MOBILE DEVICES
========================================================== */

@media (max-width: 380px) {

  .hero h1 {
    font-size: 32px;
  }

  .hero-description {
    font-size: 14px;
  }

  .service-strip-item h3 {
    font-size: 15px;
  }

  .service-strip-item p {
    font-size: 12px;
  }

  .veynor-showcase-content h2 {
    font-size: 27px;
  }

  .calculator-section .section-heading h2 {
    font-size: 26px;
  }

  .calculator-total-amount {
    font-size: 34px;
  }

}


/* ==========================================================
   15. REDUCED MOTION ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .service-strip-item,
  .service-strip-icon,
  .veynor-showcase-image,
  .benefit-card,
  .calculator-card {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

}


/* ==========================================================
   END OF HOMEPAGE STYLESHEET
   CMJ Transport & Logistics
========================================================== */


/* ==========================================
   CMJ LOGO - GROTER IN HEADER
========================================== */

@media (min-width: 901px) {

  .site-header {
    height: 94px;
  }

  .header-inner {
    height: 100%;
    align-items: center;
  }

  .site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .site-logo .logo-image {
    width: 300px;
    max-width: 300px;
    height: 80px;
    object-fit: contain;
  }

}

/* Tablet en mobiel */

@media (max-width: 900px) {

  .site-logo .logo-image {
    width: 220px;
    max-width: 220px;
    height: 60px;
    object-fit: contain;
  }

}

@media (max-width: 600px) {

  .site-logo .logo-image {
    width: 185px;
    max-width: 185px;
    height: 50px;
  }

}


/* ==========================================================
   VEYNOR - NAVIGATION & ACTIONS
========================================================== */

/* Veynor navigation */

.nav-veynor {
  color: #0874e8;
  font-weight: 700;
}

.nav-veynor:hover {
  color: #0861b9;
}

.nav-veynor-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  background: #0874e8;
  border-radius: 50%;
}

/* Veynor buttons */

.veynor-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.veynor-actions .btn {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 15px;
  border-radius: 24px;
}

.veynor-action-note {
  margin-top: 14px;
  color: #647487;
  font-size: 13px;
  line-height: 1.6;
}

/* Mobile */

@media (max-width: 600px) {

  .veynor-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .veynor-actions .btn {
    width: 100%;
  }

}

