/* =====================================================================
   TFN Ventures — Stylesheet
   Palette drawn from the brand mark: deep navy + export gold on warm paper.
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (manifest data)
   ===================================================================== */

:root{
  --navy:        #0a2647;
  --navy-deep:   #061428;
  --navy-soft:   #16385f;
  --navy-tint:   #eef2f6;
  --gold:        #c9a24e;
  --gold-light:  #e6cd8b;
  --gold-deep:   #a67f2f;
  --cream:       #f7f4ec;
  --paper:       #fffdf8;
  --ink:         #1a1e24;
  --ink-soft:    #545b66;
  --ink-faint:   #889099;
  --line:        #e4ded0;
  --line-soft:   #ece7da;
  --success:     #2f7d55;
  --danger:      #b3432b;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(10,38,71,.06);
  --shadow-md: 0 12px 32px rgba(10,38,71,.12);
  --shadow-lg: 0 24px 60px rgba(6,20,40,.22);
  --container-w: 1220px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--navy); margin:0 0 .5em; line-height:1.15; font-weight:700; }
p{ margin:0 0 1em; color:var(--ink-soft); line-height:1.7; }
strong{ color:var(--navy); }
button{ font-family:inherit; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--gold); color:var(--navy-deep);
  padding:.7em 1.2em; z-index:9999; font-weight:600;
}
.skip-link:focus{ left:1rem; top:1rem; }

.container{ max-width:var(--container-w); margin:0 auto; padding:0 24px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--font-mono); font-size:.76rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-deep); font-weight:600; margin-bottom:.9em;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--gold); display:inline-block; }

.section{ padding:96px 0; position:relative; }
.section-head{ max-width:680px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ font-size:1.05rem; }
.bg-cream{ background:var(--cream); }
.bg-navy{ background:var(--navy); }
.bg-navy h2, .bg-navy h3, .bg-navy h4{ color:#fff; }
.bg-navy p{ color:#c4cee0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family:var(--font-display); font-weight:600; font-size:.95rem;
  padding:.95em 1.7em; border-radius:999px; border:1.5px solid transparent;
  cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--gold); color:var(--navy-deep); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--gold-light); box-shadow:var(--shadow-md); }
.btn-outline{ border-color:rgba(255,255,255,.4); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,.1); }
.btn-outline-navy{ border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:#fff; }
.btn-sm{ padding:.65em 1.3em; font-size:.85rem; }
.btn svg{ width:1.1em; height:1.1em; }

/* ---------- Header ---------- */
.site-header{ position:sticky; top:0; z-index:500; background:rgba(255,253,248,.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line-soft); }
.top-strip{ background:var(--navy-deep); color:#cfd8e6; font-size:.8rem; }
.top-strip-inner{ display:flex; justify-content:space-between; align-items:center; padding:7px 24px; gap:1em; flex-wrap:wrap; }
.top-strip-tagline{ font-family:var(--font-mono); letter-spacing:.08em; color:var(--gold-light); }
.top-strip-contact a{ color:#dfe6f0; opacity:.9; transition:opacity .2s; }
.top-strip-contact a:hover{ opacity:1; color:var(--gold-light); }
.top-strip-contact .dot{ margin:0 .6em; opacity:.4; }

.main-nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; }
.brand{ display:flex; align-items:center; gap:.65em; }
.brand img{ border-radius:8px; }
.brand-text{ font-family:var(--font-display); font-weight:700; font-size:1.25rem; color:var(--navy); letter-spacing:.01em; }
.brand-text em{ font-style:normal; color:var(--gold-deep); }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; cursor:pointer; position:relative; z-index:700; }
.nav-toggle span{ width:24px; height:2px; background:var(--navy); border-radius:2px; transition:.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.nav-menu{ display:flex; align-items:center; gap:2.2em; }
.nav-links{ display:flex; gap:1.7em; }
.nav-links a{ font-size:.93rem; font-weight:500; color:var(--navy); position:relative; padding:.3em 0; }
.nav-links a::after{ content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--gold); transition:width .25s ease; }
.nav-links a:hover::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:1.1em; }
.lang-switch{ display:flex; gap:2px; background:var(--navy-tint); border-radius:999px; padding:3px; }
.lang-link{ font-family:var(--font-mono); font-size:.72rem; font-weight:600; padding:.4em .75em; border-radius:999px; color:var(--navy-soft); }
.lang-link.active{ background:var(--navy); color:#fff; }

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  padding:150px 0 120px;
  background:linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color:#fff;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background-image:url('../images/hero-warehouse.jpg');
  background-size:cover; background-position:center;
  opacity:.16; mix-blend-mode:luminosity;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse at 20% 20%, rgba(201,162,78,.18), transparent 55%),
             radial-gradient(ellipse at 85% 80%, rgba(201,162,78,.12), transparent 50%);
}
.hero-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:center; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:.6em; font-family:var(--font-mono); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-light); background:rgba(255,255,255,.08); border:1px solid rgba(230,205,139,.35); padding:.55em 1.1em; border-radius:999px; margin-bottom:1.6em; }
.hero h1{ color:#fff; font-size:clamp(2.1rem, 4vw, 3.35rem); letter-spacing:-.01em; margin-bottom:.55em; }
.hero-subtitle{ color:#c4cee0; font-size:1.08rem; max-width:560px; margin-bottom:2.1em; }
.hero-ctas{ display:flex; gap:1em; flex-wrap:wrap; }

/* Signature element: shipping route line */
.route-card{
  position:relative; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-lg); padding:34px 30px; backdrop-filter:blur(6px);
}
.route-card .stamp{
  position:absolute; top:-18px; right:-14px; width:92px; height:92px; border-radius:50%;
  border:2.5px dashed var(--gold); display:flex; align-items:center; justify-content:center;
  transform:rotate(-14deg); background:rgba(6,20,40,.7);
}
.route-card .stamp span{ font-family:var(--font-mono); font-size:.62rem; font-weight:700; letter-spacing:.06em; color:var(--gold-light); text-align:center; line-height:1.35; text-transform:uppercase; }
.route-line{ display:flex; align-items:center; margin:20px 0 26px; }
.route-dot{ width:10px; height:10px; border-radius:50%; background:var(--gold); flex-shrink:0; }
.route-dash{ flex:1; height:0; border-top:2px dashed rgba(230,205,139,.5); margin:0 8px; position:relative; }
.route-dash::after{ content:"→"; position:absolute; right:0; top:-11px; color:var(--gold); font-size:1.1rem; }
.route-labels{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:.72rem; color:#c4cee0; letter-spacing:.04em; text-transform:uppercase; }
.route-manifest{ margin-top:22px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.route-manifest div{ font-family:var(--font-mono); }
.route-manifest .k{ font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:#93a2ba; margin-bottom:.3em; }
.route-manifest .v{ font-size:1.15rem; font-weight:600; color:var(--gold-light); }

/* ---------- Stats strip ---------- */
.stats-strip{ background:var(--paper); border-bottom:1px solid var(--line-soft); }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); }
.stat-cell{ padding:34px 24px; text-align:center; border-left:1px dashed var(--line); }
.stat-cell:first-child{ border-left:none; }
.stat-value{ font-family:var(--font-display); font-size:2rem; font-weight:700; color:var(--navy); }
.stat-label{ font-family:var(--font-mono); font-size:.76rem; color:var(--ink-soft); margin-top:.4em; letter-spacing:.02em; }

/* ---------- About ---------- */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start; }
.about-media{ position:relative; }
.about-media img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); width:100%; aspect-ratio:4/5; object-fit:cover; }
.about-media .badge-floating{
  position:absolute; bottom:-24px; left:-24px; background:var(--navy); color:#fff; border-radius:var(--radius-md);
  padding:20px 24px; box-shadow:var(--shadow-md); display:flex; align-items:center; gap:14px; max-width:230px;
}
.badge-floating .stamp-circle{
  width:52px; height:52px; border-radius:50%; border:2px solid var(--gold); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; color:var(--gold-light); font-size:.72rem;
}
.badge-floating span.txt{ font-size:.82rem; line-height:1.4; color:#dbe3ef; }

.about-points{ display:grid; grid-template-columns:1fr 1fr; gap:26px; margin-top:36px; }
.about-point{ border-top:2px solid var(--gold); padding-top:14px; }
.about-point h4{ font-size:1.02rem; margin-bottom:.4em; }
.about-point p{ font-size:.93rem; margin-bottom:0; }

/* ---------- Products / manifest table ---------- */
.manifest-wrap{ background:var(--navy); border-radius:var(--radius-lg); padding:8px; box-shadow:var(--shadow-lg); }
.manifest{ background:var(--paper); border-radius:calc(var(--radius-lg) - 8px); padding:40px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.manifest-scroll-hint{ display:none; font-family:var(--font-mono); font-size:.7rem; color:var(--gold-deep); text-align:right; margin:-8px 0 12px; letter-spacing:.04em; }
.manifest-top{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1em; margin-bottom:24px; padding-bottom:20px; border-bottom:1px dashed var(--line); }
.manifest-top .tag{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-deep); background:rgba(201,162,78,.12); padding:.4em .9em; border-radius:6px; }
table.stock-table{ width:100%; border-collapse:collapse; min-width:460px; font-family:var(--font-mono); }
table.stock-table thead th{
  text-align:left; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:#fff;
  background:var(--navy); padding:14px 18px;
}
table.stock-table thead th:first-child{ border-radius:8px 0 0 8px; }
table.stock-table thead th:last-child{ border-radius:0 8px 8px 0; text-align:right; }
table.stock-table thead th.num{ text-align:right; }
table.stock-table tbody td{ padding:14px 18px; border-bottom:1px solid var(--line-soft); font-size:.94rem; color:var(--ink); }
table.stock-table tbody td.num{ text-align:right; font-weight:600; }
table.stock-table tbody tr:hover{ background:var(--cream); }
table.stock-table tbody tr.total-row td{ font-weight:700; color:var(--navy); border-top:2px solid var(--navy); border-bottom:none; background:var(--navy-tint); }
table.stock-table tbody tr.total-row td:first-child{ border-radius:8px 0 0 8px; }
table.stock-table tbody tr.total-row td:last-child{ border-radius:0 8px 8px 0; }

.manifest-notes{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:30px; }
.manifest-note{ display:flex; gap:12px; align-items:flex-start; font-size:.9rem; color:var(--ink-soft); }
.manifest-note .dash{ font-family:var(--font-mono); color:var(--gold-deep); font-weight:700; flex-shrink:0; }

.products-cta{ margin-top:30px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1.2em; background:var(--cream); border:1px dashed var(--gold-deep); border-radius:var(--radius-md); padding:22px 26px; }
.products-cta p{ margin:0; font-size:.95rem; max-width:520px; }

/* ---------- Gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; }
.gallery-item{ position:relative; border-radius:var(--radius-md); overflow:hidden; cursor:pointer; box-shadow:var(--shadow-sm); background:var(--navy); }
.gallery-item img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; transition:transform .5s ease; }
.gallery-item:hover img{ transform:scale(1.08); }
.gallery-item::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(6,20,40,.75) 100%); opacity:0; transition:opacity .3s ease; }
.gallery-item:hover::after{ opacity:1; }
.gallery-item .view-tag{
  position:absolute; left:14px; bottom:14px; color:#fff; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  opacity:0; transform:translateY(6px); transition:.3s ease; display:flex; align-items:center; gap:.5em;
}
.gallery-item:hover .view-tag{ opacity:1; transform:translateY(0); }
.gallery-item .view-tag::before{ content:"+"; font-size:1.1rem; color:var(--gold-light); }

.gallery-more{ text-align:center; margin-top:38px; }

/* ---------- Logistics ---------- */
.logistics-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.logistics-item{ position:relative; border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); }
.logistics-item img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.logistics-item .cap{
  position:absolute; left:0; right:0; bottom:0; padding:14px 16px; background:linear-gradient(0deg, rgba(6,20,40,.85), transparent);
  color:#fff; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.05em;
}

/* ---------- Team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:30px; }
.team-grid-2{ grid-template-columns:repeat(2, 1fr); max-width:620px; margin:0 auto; }
.team-card{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:34px 26px; text-align:center; transition:transform .3s ease, box-shadow .3s ease; }
.team-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.team-avatar{
  width:104px; height:104px; border-radius:50%; margin:0 auto 20px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--navy), var(--navy-soft)); color:var(--gold-light); font-family:var(--font-display);
  font-size:1.7rem; font-weight:700; border:3px solid var(--gold-light); position:relative; overflow:hidden;
}
.team-avatar img{ width:100%; height:100%; object-fit:cover; }
.team-card h4{ margin-bottom:.25em; }
.team-role{ font-family:var(--font-mono); font-size:.78rem; color:var(--gold-deep); letter-spacing:.04em; text-transform:uppercase; margin-bottom:.9em; display:block; }
.team-note{ text-align:center; font-family:var(--font-mono); font-size:.8rem; color:var(--ink-faint); margin-top:34px; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:start; }
.contact-form{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:40px; box-shadow:var(--shadow-sm); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.82rem; font-weight:600; color:var(--navy); margin-bottom:.5em; }
.field input, .field select, .field textarea{
  width:100%; padding:.85em 1em; border:1.5px solid var(--line); border-radius:var(--radius-sm); font-family:var(--font-body);
  font-size:.95rem; color:var(--ink); background:#fff; transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,162,78,.18);
}
.field textarea{ resize:vertical; min-height:130px; }
.field .req{ color:var(--danger); }
.form-msg{ margin-top:16px; padding:.9em 1.1em; border-radius:var(--radius-sm); font-size:.9rem; display:none; }
.form-msg.show{ display:block; }
.form-msg.success{ background:#e7f4ec; color:var(--success); border:1px solid #b8e0c7; }
.form-msg.error{ background:#fbe9e5; color:var(--danger); border:1px solid #f0c3b7; }
.honeypot{ position:absolute; left:-9999px; opacity:0; height:0; }

.contact-info-card{ background:var(--navy); color:#fff; border-radius:var(--radius-lg); padding:38px 34px; margin-bottom:24px; }
.contact-info-card h3{ color:#fff; }
.info-row{ display:flex; gap:16px; padding:16px 0; border-top:1px solid rgba(255,255,255,.12); }
.info-row:first-of-type{ border-top:none; }
.info-row .ic{ width:38px; height:38px; border-radius:50%; background:rgba(201,162,78,.18); border:1px solid rgba(230,205,139,.4); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-row .ic svg{ width:18px; height:18px; stroke:var(--gold-light); }
.info-row .label{ font-family:var(--font-mono); font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; color:#93a2ba; margin-bottom:.25em; }
.info-row .value{ font-size:.95rem; color:#e7ecf3; }
.info-row .value a{ color:#e7ecf3; }
.info-row .value a:hover{ color:var(--gold-light); }

.map-frame{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line-soft); box-shadow:var(--shadow-sm); }
.map-frame iframe{ width:100%; height:280px; border:0; display:block; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-deep); color:#c4cee0; padding:70px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:50px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand p{ color:#93a2ba; font-size:.9rem; margin-top:16px; }
.footer-col h4{ color:#fff; font-size:.95rem; letter-spacing:.03em; margin-bottom:1.1em; }
.footer-col ul li{ margin-bottom:.7em; }
.footer-col ul li a{ color:#93a2ba; font-size:.9rem; transition:color .2s; }
.footer-col ul li a:hover{ color:var(--gold-light); }
.footer-contact li{ color:#93a2ba; font-size:.9rem; }
.footer-lang{ display:flex; gap:8px; margin-top:16px; }
.footer-lang .lang-link{ border:1px solid rgba(255,255,255,.18); color:#93a2ba; }
.footer-lang .lang-link.active{ background:var(--gold); color:var(--navy-deep); border-color:var(--gold); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:.6em; padding:26px 24px; font-size:.8rem; color:#6e7c93; }

/* ---------- Floating elements ---------- */
.whatsapp-fab{
  position:fixed; right:24px; bottom:24px; width:60px; height:60px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(37,211,102,.45);
  z-index:600; animation:pulse-wa 2.6s ease-in-out infinite;
}
.whatsapp-fab:hover{ transform:scale(1.07); }
.whatsapp-fab-tooltip{
  position:absolute; right:72px; top:50%; transform:translateY(-50%); background:var(--navy-deep); color:#fff;
  font-size:.8rem; padding:.6em 1em; border-radius:8px; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .2s ease;
}
.whatsapp-fab:hover .whatsapp-fab-tooltip{ opacity:1; }
@keyframes pulse-wa{ 0%,100%{ box-shadow:0 10px 26px rgba(37,211,102,.45);} 50%{ box-shadow:0 10px 26px rgba(37,211,102,.75), 0 0 0 10px rgba(37,211,102,.12);} }

.back-to-top{
  position:fixed; right:24px; bottom:96px; width:44px; height:44px; border-radius:50%; background:var(--navy);
  color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); z-index:600;
  opacity:0; pointer-events:none; transform:translateY(10px); transition:.3s ease;
}
.back-to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }

/* ---------- Lightbox ---------- */
.lightbox{ position:fixed; inset:0; background:rgba(6,10,18,.94); z-index:1000; display:none; align-items:center; justify-content:center; padding:5vh 5vw; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width:100%; max-height:88vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-prev, .lightbox-next{
  position:absolute; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); color:#fff;
  width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:1.3rem;
  transition:background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background:rgba(255,255,255,.22); }
.lightbox-close{ top:24px; right:24px; }
.lightbox-prev{ left:24px; top:50%; transform:translateY(-50%); }
.lightbox-next{ right:24px; top:50%; transform:translateY(-50%); }
.lightbox-counter{ position:absolute; bottom:24px; left:50%; transform:translateX(-50%); color:#c4cee0; font-family:var(--font-mono); font-size:.8rem; letter-spacing:.06em; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px){
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .about-media{ max-width:420px; margin:0 auto 30px; }
  .hero-inner{ grid-template-columns:1fr; }
  .route-card{ max-width:520px; }
  .gallery-grid{ grid-template-columns:repeat(3,1fr); }
  .logistics-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 900px){
  .nav-toggle{ display:flex; }
  .nav-menu{
    position:fixed; top:0; right:-100%; height:100vh; width:min(340px, 84vw); background:var(--paper);
    flex-direction:column; align-items:flex-start; justify-content:flex-start; padding:110px 30px 40px; gap:2.5em;
    box-shadow:var(--shadow-lg); transition:right .35s ease; overflow-y:auto; z-index:650;
  }
  .nav-menu.open{ right:0; }
  .nav-links{ flex-direction:column; gap:1.3em; }
  .nav-actions{ flex-direction:column; align-items:flex-start; gap:1.4em; width:100%; }
  .nav-actions .btn{ width:100%; }
  .top-strip-inner{ justify-content:center; text-align:center; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .stat-cell:nth-child(2){ border-left:1px dashed var(--line); }
  .stat-cell:nth-child(odd){ border-left:none; }
  .stat-cell{ border-top:1px dashed var(--line); }
  .stat-cell:nth-child(-n+2){ border-top:none; }
  .team-grid, .team-grid-2{ grid-template-columns:1fr; max-width:380px; margin:0 auto; }
  .form-row{ grid-template-columns:1fr; }
  .manifest{ padding:26px; }
  .manifest-scroll-hint{ display:block; }
}

@media (min-width: 901px){
  .manifest-scroll-hint{ display:none; }
}

@media (max-width: 640px){
  .section{ padding:64px 0; }
  .hero{ padding:130px 0 80px; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .logistics-grid{ grid-template-columns:1fr 1fr; gap:12px; }
  .footer-grid{ grid-template-columns:1fr; gap:34px; }
  .about-points{ grid-template-columns:1fr; }
  .manifest-notes{ grid-template-columns:1fr; }
  .products-cta{ flex-direction:column; align-items:flex-start; }
  .whatsapp-fab{ right:16px; bottom:16px; width:54px; height:54px; }
  .back-to-top{ right:16px; bottom:82px; width:40px; height:40px; }
  .lightbox-prev{ left:8px; } .lightbox-next{ right:8px; }
  .badge-floating{ position:static; margin-top:16px; max-width:100%; }
}
