/* ===================================
   FAST AM SERVICES — Stylesheet
   =================================== */

/* ---------- Design Tokens ---------- */
:root {
  --color-primary: #CC0000;
  --color-primary-dark: #A30000;
  --color-primary-light: #E53333;
  --color-primary-bg: #FFF2F2;
  --color-accent: #8C8C8C;
  --color-dark: #1A1A1A;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F7;
  --color-border: #E0E0E4;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section--dark {
  background: var(--color-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  /* Container ridge texture */
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 98px,
      rgba(255,255,255,.02) 98px,
      rgba(255,255,255,.02) 100px
    );
}

.section--dark .section__tag { color: var(--color-accent); }
.section--dark .section__title { color: #fff; }
.section--dark .section__desc { color: rgba(255,255,255,.7); }

/* ---------- Section Headers ---------- */
.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 2px dashed var(--color-primary);
  border-radius: 2px;
  position: relative;
}
.section--dark .section__tag {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(204,0,0,.3);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.btn--sm { padding: 8px 20px; font-size: 0.875rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }

/* ---------- Promo Banner ---------- */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 48px 0 16px;
  background: var(--color-primary-dark);
  color: #fff;
}

.promo-banner__text {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}
.promo-banner__text strong { font-weight: 700; }
.promo-banner__emoji { margin-right: 4px; }

.promo-banner__cta {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  white-space: nowrap;
  transition: background var(--transition);
}
.promo-banner__cta:hover { background: rgba(255,255,255,0.35); color: #fff; }

.promo-banner__close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color var(--transition);
}
.promo-banner__close:hover { color: #fff; }

/* Offset header and hero when promo banner is visible */
body.has-promo-banner .header { top: 44px; }
body.has-promo-banner .hero  { padding-top: 164px; }

@media (max-width: 768px) {
  .promo-banner { height: auto; min-height: 44px; padding: 8px 44px 8px 12px; }
  body.has-promo-banner .hero { padding-top: 184px; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.logo__img {
  height: 85px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--color-primary); }
.nav__link:hover::after { width: 100%; }
.nav__link--active { color: var(--color-primary); }
.nav__link--active::after { width: 100%; }

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-toggle__option {
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.lang-toggle__option--active {
  color: var(--color-primary);
}
.lang-toggle__divider {
  color: var(--color-border);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger--active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger--active span:nth-child(2) { opacity: 0; }
.hamburger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--color-dark) 0%, rgba(204,0,0,.95) 50%, var(--color-primary-dark) 100%);
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(140,140,140,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 800px;
}

.hero__company-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.1s;
}

.hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero__stats {
  display: flex;
  gap: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

.stat { text-align: left; }
.stat__number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  color: rgba(255,255,255,.4);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-accent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ---------- Hero Plane ---------- */
.hero__plane {
  position: absolute;
  z-index: 1;
  top: 30%;
  animation: flyAcross 12s linear infinite;
  opacity: 0;
}
@keyframes flyAcross {
  0%   { left: -110px; opacity: 0; transform: rotate(-5deg); }
  5%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 110%; opacity: 0; transform: rotate(-5deg); }
}

/* ---------- Hero Logo Watermark ---------- */
.hero__logo-watermark {
  position: absolute;
  left: 68%;
  top: 25%;
  transform: translateX(-50%);
  width: 500px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.5s;
}
.hero__logo-watermark img {
  width: 100%;
  height: auto;
  opacity: 0.45;
}
@media (max-width: 1024px) {
  .hero__logo-watermark { width: 520px; }
}
@media (max-width: 768px) {
  .hero__logo-watermark {
    width: 300px;
    left: 50%;
    top: 35%;
    transform: translateX(-50%);
  }
  .hero__logo-watermark img { opacity: 0.35; }
}

/* ---------- Sailing Boat ---------- */
.coverage__boat {
  position: absolute;
  z-index: 1;
  bottom: 18%;
  animation: sailAcross 18s linear infinite;
  opacity: 0;
}
@keyframes sailAcross {
  0%   { left: -280px; opacity: 0; transform: translateY(0); }
  5%   { opacity: 1; }
  25%  { transform: translateY(-4px); }
  50%  { transform: translateY(4px); }
  75%  { transform: translateY(-4px); }
  90%  { opacity: 1; }
  100% { left: 110%; opacity: 0; transform: translateY(0); }
}

/* ---------- Destination Ticker ---------- */
.ticker {
  background: var(--color-primary);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-primary), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-primary), transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 25s linear infinite;
}

.ticker__content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  white-space: nowrap;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticker__flag {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
}
.ticker__flag .fi {
  border-radius: 2px;
}

.ticker__dot {
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

/* ---------- Wave Dividers ---------- */
.wave {
  position: relative;
  margin-top: -2px;
  line-height: 0;
  overflow: hidden;
}
.wave svg {
  display: block;
  width: 100%;
  height: 80px;
}
.wave--hero {
  color: var(--color-bg);
  margin-top: -1px;
}
.wave--to-dark {
  color: var(--color-dark);
}
.wave--from-dark {
  color: var(--color-bg);
  background: var(--color-dark);
}
.wave--from-dark-to-alt {
  color: var(--color-bg-alt);
  background: var(--color-dark);
}

/* ---------- Floating Elements ---------- */
.floating-elements {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-el {
  position: absolute;
  animation: floatDrift linear infinite;
}
.float-el--1 { top: 15%; right: 10%; animation-duration: 18s; }
.float-el--2 { top: 60%; right: 20%; animation-duration: 22s; animation-delay: -5s; }
.float-el--3 { top: 30%; right: 35%; animation-duration: 25s; animation-delay: -8s; }
.float-el--4 { top: 70%; right: 8%; animation-duration: 20s; animation-delay: -3s; }
.float-el--5 { top: 20%; right: 50%; animation-duration: 23s; animation-delay: -12s; }
.float-el--6 { top: 50%; right: 45%; animation-duration: 19s; animation-delay: -7s; }

@keyframes floatDrift {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  50%  { transform: translateY(-30px) rotate(15deg); opacity: 0.7; }
  100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}

/* ---------- How It Works / Process ---------- */
.process {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.process__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process__line {
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border), var(--color-primary), var(--color-accent), var(--color-primary), var(--color-border));
  z-index: 0;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  transition: all var(--transition);
}

.process__step:hover .process__icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

.process__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.process__step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.process__step p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process__track {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process__line { display: none; }
}

/* ---------- Route Map ---------- */
.route-map {
  max-width: 900px;
  margin: 0 auto 48px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
}
#routeMap {
  width: 100%;
  height: 500px;
}
#routeMap .leaflet-popup-content-wrapper {
  background: #CC0000;
  color: #fff;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(204,0,0,0.3);
}
#routeMap .leaflet-popup-tip { border-top-color: #CC0000; }
#routeMap .leaflet-popup-content { margin: 8px 14px; }
@keyframes routePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.4); }
  50%      { box-shadow: 0 0 0 12px rgba(204,0,0,0); }
}
.route-origin-marker {
  animation: routePulse 2s ease-in-out infinite;
  border-radius: 50%;
}
.route-label {
  background: rgba(204,0,0,0.9) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 3px 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.route-label::before {
  border-top-color: rgba(204,0,0,0.9) !important;
}

/* ---------- Postmark Stamp ---------- */
.postmark {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 3px double rgba(204,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-15deg);
}
.postmark::before {
  content: 'FAST AM SERVICES';
  position: absolute;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 3px;
  color: rgba(204,0,0,0.08);
  text-transform: uppercase;
  top: 22px;
}
.postmark::after {
  content: 'PORT ST. LUCIE, FL';
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(204,0,0,0.08);
  text-transform: uppercase;
}
.postmark--line {
  position: absolute;
  width: 100px;
  height: 0;
  border-top: 2px solid rgba(204,0,0,0.06);
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- About ---------- */
.about {
  position: relative;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10l-5-3-5 3v6l5 3 5-3z' fill='none' stroke='%23CC0000' stroke-width='0.3' opacity='0.06'/%3E%3Cpath d='M15 35l8 0 0-5-8 0z' fill='none' stroke='%23CC0000' stroke-width='0.3' opacity='0.06'/%3E%3Cpath d='M45 40l-3-5h-4l3 5h4z' fill='none' stroke='%23CC0000' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E")
    repeat;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about__card {
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
/* Package tape accent */
.about__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-primary) 0px,
    var(--color-primary) 8px,
    transparent 8px,
    transparent 12px
  );
}
.about__card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.about__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  margin-bottom: 24px;
}

.about__card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.about__card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px 32px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.15);
  transition: all var(--transition);
  position: relative;
}
/* Shipping label corner fold */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--color-dark) transparent transparent;
  filter: brightness(1.5);
  transition: border-width var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--color-accent);
  border-style: solid;
  transform: translateY(-4px);
}
.service-card:hover::after {
  border-color: transparent var(--color-accent) transparent transparent;
}

.service-card__icon {
  color: var(--color-accent);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.service-card p {
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Calculator ---------- */
.calculator {
  background: var(--color-bg-alt);
}

.calc {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: 2px;
  border: 2px dashed var(--color-border);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}
/* Packing slip header stripe */
.calc::before {
  content: 'SHIPPING ESTIMATE / COTIZACIÓN DE ENVÍO';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
  padding: 6px 16px;
  text-transform: uppercase;
}
/* Tear-off bottom edge */
.calc::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -2px;
  right: -2px;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-border) 0px,
    var(--color-border) 4px,
    transparent 4px,
    transparent 8px
  );
}

.calc__step {
  display: none;
}
.calc__step--active {
  display: block;
  animation: fadeUp 0.4s ease;
}

.calc__step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 24px;
  margin-top: 16px;
}

.calc__countries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.calc__country {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: all var(--transition);
  background: var(--color-bg);
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}
.calc__country:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}
.calc__country--active {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

.calc__country-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.calc__methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc__method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  background: var(--color-bg);
  text-align: left;
}
.calc__method:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}
.calc__method--active {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

.calc__method-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.calc__method-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calc__method-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

.calc__method-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.calc__back {
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.calc__back:hover {
  color: var(--color-primary);
}

.calc__weight {
  margin-bottom: 24px;
}

.calc__weight-input {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 200px;
}

.calc__weight-input input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-dark);
  transition: border-color var(--transition);
}
.calc__weight-input input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}
.calc__weight-input input::-webkit-inner-spin-button,
.calc__weight-input input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc__weight-input input[type=number] {
  -moz-appearance: textfield;
}

.calc__unit-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.calc__unit-btn {
  padding: 5px 10px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
  letter-spacing: 0.02em;
}

.calc__unit-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.calc__unit-btn--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.calc__weight-convert {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 6px;
  min-height: 1.2em;
  opacity: 0.85;
}

.calc__weight-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.calc__weight-note {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 6px;
  font-style: italic;
}

.calc__price {
  min-height: 80px;
  margin-bottom: 16px;
}

.calc__price-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.calc__price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.calc__price-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.calc__price-breakdown {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.calc__price-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 8px;
}

.calc__result {
  text-align: center;
  padding: 20px 0;
}

@media (max-width: 480px) {
  .calc { padding: 24px; }
  .calc__methods { grid-template-columns: 1fr; }
}

/* ---------- Coverage ---------- */
.coverage {
  position: relative;
  overflow: hidden;
}

.coverage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: all var(--transition);
}
.country-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.country-card__flag {
  font-size: 1.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.country-card__flag .fi {
  border-radius: 3px;
}
.calc__country-flag .fi {
  border-radius: 2px;
  vertical-align: middle;
}

.country-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
}

/* ---------- Hours ---------- */
.hours__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hours__card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--transition);
}
.hours__card:hover {
  background: rgba(255,255,255,.08);
}

.hours__icon {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hours__card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.hours__time {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.hours__time--closed { color: rgba(255,255,255,.4); }

.hours__note {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group--full { grid-column: 1 / -1; }

.form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}

.form__group textarea { resize: vertical; }

/* Pickup checkbox */
.form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}
.form__checkbox input[type="checkbox"] {
  display: none;
}
.form__checkbox-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.form__checkbox input:checked + .form__checkbox-mark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.form__checkbox input:checked + .form__checkbox-mark::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form__pickup-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  padding-left: 30px;
  font-style: italic;
}

.form__submit {
  grid-column: 1 / -1;
  margin-top: 8px;
}

/* Contact Info */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 2px;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  position: relative;
}
/* Shipping label barcode accent */
.contact__info-card::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-text-muted) 0px,
    var(--color-text-muted) 1px,
    transparent 1px,
    transparent 2px,
    var(--color-text-muted) 2px,
    var(--color-text-muted) 4px,
    transparent 4px,
    transparent 5px,
    var(--color-text-muted) 5px,
    var(--color-text-muted) 6px,
    transparent 6px,
    transparent 8px
  );
  opacity: 0.15;
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact__info-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact__info-card a,
.contact__info-card p {
  font-size: 0.95rem;
  color: var(--color-dark);
  font-weight: 500;
}
.contact__info-card a:hover { color: var(--color-primary); }

.contact__socials {
  padding-top: 8px;
}
.contact__socials h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Contact Map */
.contact__map {
  margin-top: 40px;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Shipping Sticker ---------- */
.shipping-sticker {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 2px solid;
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.shipping-sticker--fragile {
  color: rgba(220,53,69,0.12);
  border-color: rgba(220,53,69,0.1);
  transform: rotate(-8deg);
}
.shipping-sticker--handle {
  color: rgba(140,140,140,0.15);
  border-color: rgba(140,140,140,0.12);
  transform: rotate(5deg);
}
.shipping-sticker--priority {
  color: rgba(204,0,0,0.1);
  border-color: rgba(204,0,0,0.08);
  transform: rotate(-3deg);
}
/* Sticker positions */
.shipping-sticker--pos-tr { top: 30px; right: 80px; }
.shipping-sticker--pos-bl { bottom: 40px; left: 60px; }
.shipping-sticker--pos-tl { top: 50px; left: 50px; }
.shipping-sticker--pos-br { bottom: 50px; right: 70px; transform: rotate(6deg); }
/* Dark section sticker overrides */
.section--dark .shipping-sticker { color: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.04); }

/* Postmark positions */
.postmark--pos-tr { top: 40px; right: 60px; }
.postmark--pos-bl { bottom: 60px; left: 40px; transform: rotate(12deg); }

/* ---------- Airmail Stripe ---------- */
.airmail-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    #CC0000 0px, #CC0000 8px,
    #fff 8px, #fff 10px,
    #1a3a6b 10px, #1a3a6b 18px,
    #fff 18px, #fff 20px
  );
}

/* ---------- Google Reviews ---------- */
.reviews {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.reviews__widget {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.7);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand .logo { margin-bottom: 16px; }
.footer__brand .logo__img { height: 160px; max-width: 300px; }
.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
}

.footer__links h4,
.footer__newsletter h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }

.footer__newsletter p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}

.footer__form {
  display: flex;
  gap: 8px;
}
.footer__form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 0.875rem;
}
.footer__form input::placeholder { color: rgba(255,255,255,.3); }
.footer__form input:focus {
  outline: none;
  border-color: var(--color-primary-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer__bottom-inner {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
}
.footer__barcode {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Keyframes ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ---------- Form Success State ---------- */
.form--success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  gap: 16px;
}
.form--success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 20px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section__header { margin-bottom: 40px; }

  /* Header mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
  }
  .nav--open { right: 0; }
  .nav__link { font-size: 1.1rem; }
  .hamburger { display: flex; }

  .header__actions .btn--sm { display: none; }

  /* Hero */
  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero__stats { gap: 32px; }
  .hero__scroll { display: none; }

  /* Route Map */
  #routeMap { height: 350px; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Hours */
  .hours__grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__stats { flex-direction: column; gap: 20px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .coverage__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  transition: box-shadow var(--transition);
}

.faq__item.faq--open {
  box-shadow: var(--shadow-md);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-accent);
}

.faq--open .faq__chevron {
  transform: rotate(180deg);
}

.faq--open .faq__question {
  color: var(--color-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1);
}

.faq--open .faq__answer {
  max-height: 200px;
}

.faq__answer p {
  padding: 0 24px 20px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-overlay--visible {
  opacity: 1;
  pointer-events: all;
}

/* ========== Cookie Banner ========== */
.cookie-banner {
  position: fixed;
  bottom: -250px;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 0 16px 16px;
  transition: bottom 0.4s ease, visibility 0s linear 0.4s;
  pointer-events: none;
  visibility: hidden;
}
.cookie-banner--visible {
  bottom: 0;
  pointer-events: all;
  visibility: visible;
  transition: bottom 0.4s ease, visibility 0s;
}
.cookie-banner__inner {
  max-width: 860px;
  margin: 0 auto;
  background: var(--color-dark);
  color: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  flex-wrap: wrap;
}
.cookie-banner__text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
}
.cookie-banner__text svg { flex-shrink: 0; opacity: 0.7; }
.cookie-banner__text p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin: 0; }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__decline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-banner__decline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.cookie-banner__accept {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-banner__accept:hover { background: var(--color-primary-dark); }
