/* ==========================================================================
   Francels Logistics — Design Tokens
   ========================================================================== */
:root {
  /* Colors */
  --gray-900: #2c2c2a; /* text primary, logo */
  --gray-600: #5f5e5a; /* text secondary */
  --gray-300: #d3d1c7; /* borders */
  --gray-100: #f1efe8; /* section / card background */
  --white: #ffffff;

  --navy-700: #0c447c; /* primary accent */
  --navy-500: #378add; /* hover state */
  --navy-100: #e6f1fb; /* tint background */

  --dark-band: #2c2c2a;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;

  --max-width: 1120px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0;
}

p {
  margin: 0;
  color: var(--gray-600);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary {
  background: var(--navy-700);
  color: var(--navy-100);
}
.btn-primary:hover {
  background: var(--navy-500);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gray-600);
  color: var(--gray-900);
}
.btn-outline:hover {
  border-color: var(--navy-700);
  color: var(--navy-700);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 30px;
  width: auto;
}
@media (min-width: 900px) {
  .logo-img {
    height: 38px;
  }
}

.nav-desktop {
  display: none;
  gap: 28px;
}
.nav-desktop a {
  font-size: 13px;
  color: var(--gray-600);
}
.nav-desktop a[aria-current="page"] {
  color: var(--navy-700);
  font-weight: 500;
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--gray-900);
}
.burger-icon-close {
  display: none;
}
.burger[aria-expanded="true"] .burger-icon-open {
  display: none;
}
.burger[aria-expanded="true"] .burger-icon-close {
  display: block;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .burger {
    display: none;
  }
  .header-cta {
    display: inline-flex;
  }
}

.header-cta {
  display: none;
}

/* Classic dropdown nav (mobile): anchored under the header, never covers the logo */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  row-gap: 6px;
  padding: 10px 6px;

  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.nav-dropdown a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gray-900);
  text-align: center;

}
.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  background: var(--gray-100);
  color: var(--navy-700);
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown {
    transition: none;
  }
}

@media (min-width: 900px) {
  .nav-dropdown {
    display: none;
  }
}

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
section {
  padding: var(--space-6) 0;
}

.section-tint {
  background: var(--gray-100);
}

.section-dark {
  background: var(--dark-band);
  color: var(--white);
}
.section-dark p {
  color: var(--gray-300);
}

.page-title {
  font-size: 28px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .page-title {
    font-size: 34px;
  }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(44, 44, 42, 0.1);
}

.card-accent {
  border-left: 3px solid var(--navy-700);
}

.icon-badge {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--navy-700);
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: fab-bounce 1.2s ease-in-out infinite;
}
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  animation-play-state: paused;
}
.whatsapp-fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: var(--gray-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
}
.whatsapp-fab:hover .whatsapp-fab-tooltip,
.whatsapp-fab:focus-visible .whatsapp-fab-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
@keyframes fab-bounce {
  0% { transform: translateY(0); }
  15% { transform: translateY(7px); }
  30% { transform: translateY(0); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    animation: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--gray-100);
  padding: var(--space-5) 0;
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 6px;
}
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-grid .logo-img {
  height: 50px;
  width: auto;
}

/* ==========================================================================
   Home page
   ========================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 480px;
  order: 2;
}
.hero-text h1 {
  font-size: 28px;
  line-height: 1.2;
}
.hero-text h1 .accent {
  color: var(--navy-700);
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-image {
  border-radius: var(--radius-lg);
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  order: 1;
}
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }
  .hero-text,
  .hero-image {
    order: 0;
  }
  .hero-text h1 {
    font-size: 34px;
  }
}

.trust-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-3);
  text-align: center;
}
.trust-bar > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.trust-bar .icon-navy {
  justify-content: center;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.more-detail-link {
  font-size: 13px;
  color: var(--navy-700);
  text-decoration: underline;
  white-space: nowrap;
}

.services-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.services-grid .card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading {
  font-size: 20px;
  margin-bottom: var(--space-4);
}

.coverage-teaser {
  background: var(--navy-100);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.coverage-teaser h2 {
  font-size: 16px;
  color: var(--navy-700);
}
.coverage-teaser p {
  color: var(--navy-700);
}
.coverage-teaser a {
  text-decoration: underline;
  color: var(--navy-700);
}

.why-choose {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  align-items: center;
}
.why-choose img {
  border-radius: var(--radius-lg);
  flex: 1;
  min-width: 280px;
  max-height: 320px;
  object-fit: cover;
}
.why-choose-content {
  flex: 1;
  min-width: 280px;
}
.why-choose-content h2 {
  font-size: 22px;
  margin-bottom: var(--space-2);
}
.why-choose-content ol {
  color: var(--gray-600);
  padding-left: 20px;
}

.final-cta {
  text-align: center;
}
.final-cta h2 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   Utility helpers
   ========================================================================== */
.section-tight {
  padding-top: 0;
}
.text-center {
  text-align: center;
}
.page-title-center {
  text-align: center;
  margin-bottom: var(--space-4);
}
.section-heading-sm {
  font-size: 16px;
  margin-bottom: var(--space-2);
}
.card-title-sm {
  font-size: 14px;
  margin-bottom: 8px;
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-story {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}
.about-story-text {
  flex: 1;
  min-width: 240px;
}
.about-story-heading {
  font-size: 14px;
  color: var(--navy-700);
  margin-bottom: 8px;
}
.about-story-image {
  flex: 1;
  min-width: 260px;
  max-width: 500px;
  height: 300px;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.mission-vision-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.values-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.value-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.value-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
}
.value-text {
  font-size: 12px;
}

/* ==========================================================================
   Coverage page
   ========================================================================== */
.coverage-map-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.coverage-map-embed {
  flex: 2;
  min-width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-300);
}
.coverage-map-embed iframe {
  border: 0;
  
}
.coverage-stats {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat-card {
  background: var(--navy-100);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 10px rgba(44, 44, 42, 0.1);
}
.stat-number {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy-700);
}
.stat-label {
  font-size: 12px;
  color: var(--navy-700);
  text-transform: uppercase;
}
.stat-card-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  padding: 0;
}
.stat-card-icon {
  margin-top: 4px;
  color: var(--navy-700);
}
.stat-list {
  padding-top: 10px;
  border-top: 1px solid rgba(12, 68, 124, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--navy-700);
}
.stat-list-item {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.stat-list-item:hover {
  background: rgba(12, 68, 124, 0.08);
}
.stat-list-item.is-active {
  background: var(--navy-700);
  color: var(--white);
  font-weight: 500;
}
.zones-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.zones-list li {
  font-size: 13px;
  color: var(--gray-600);
}
.roadmap-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.roadmap-icon {
  font-size: 26px;
}
.roadmap-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
}

/* ==========================================================================
   Partnerships page
   ========================================================================== */
.partners-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.partners-image {
  flex: 1;
  min-width: 240px;
  max-height: 280px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.partners-list-col {
  flex: 1;
  min-width: 240px;
}
.partners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.partner-row {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote-block {
  background: var(--navy-100);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  color: var(--navy-700);
}

/* ==========================================================================
   Services page
   ========================================================================== */
.accordion-item {
  margin-bottom: 12px;
}
.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
}
.accordion-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-900);
}
.accordion-panel {
  display: none;
}
.accordion-item.is-open .accordion-panel {
  display: block;
  margin-top: 8px;
}
[data-accordion-icon] {
  display: inline-flex;
  transition: transform 0.2s ease;
  color: var(--gray-600);
  flex-shrink: 0;
}
.accordion-item.is-open [data-accordion-icon] {
  transform: rotate(180deg);
}
.approach-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.approach-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(44, 44, 42, 0.1);
}
.approach-card-title {
  text-align: center;
  padding: 14px;
  font-family: var(--font-heading);
  font-weight: 500;
}
.approach-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.approach-card:hover img {
  transform: scale(1.05);
}
.customer-focused-heading {
  font-size: 20px;
  color: var(--white);
  font-style: italic;
  margin-bottom: 14px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-row {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.contact-info-col {
  flex: 1;
  min-width: 240px;
}
.contact-title {
  margin-bottom: var(--space-3);
}
.contact-quick-actions {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-4);
}
.contact-details {
  margin-bottom: var(--space-3);
}
.contact-map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-300);
}
.contact-map-embed iframe {
  border: 0;
}
.contact-form-col {
  flex: 1;
  min-width: 280px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form label {
  font-size: 12px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  margin-top: 4px;
  font-family: var(--font-body);
}
.contact-submit {
  width: 100%;
}

.footer-col-heading {
  font-size: 14px;
  margin-bottom: 12px;
}

/* ==========================================================================
   Scroll reveal animations
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children of a reveal group (e.g. cards in a grid) */
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.2s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.3s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.4s; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-group] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.icon-navy {
  color: var(--navy-700);
  display: inline-flex;
}

.icon-navy-inverse {
  color: var(--white);
  display: inline-flex;
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .approach-card,
  .approach-card img,
  .stat-card {
    transition: none;
  }
  .card:hover,
  .approach-card:hover,
  .stat-card:hover {
    transform: none;
  }
  .approach-card:hover img {
    transform: none;
  }
}
