/* ===========================================================
   Jana Modern Rice Mill — Stylesheet
   Palette: deep paddy green + golden grain + warm cream
=========================================================== */

:root {
  --green-900: #0e3a1f;
  --green-800: #12492a;
  --green-700: #1a5d34;
  --green-600: #1f6b3a;
  --green-500: #2d8a4e;
  --green-100: #e7f2ea;
  --gold-600: #c8901c;
  --gold-500: #d9a52c;
  --gold-400: #e8bd4e;
  --gold-100: #fbf0d6;
  --cream: #fbf8f1;
  --cream-dark: #f3ecdc;
  --ink: #23261f;
  --ink-soft: #5a6155;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(18, 58, 32, 0.10);
  --shadow-strong: 0 20px 50px rgba(14, 58, 31, 0.22);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --ff-head: "Playfair Display", "Georgia", serif;
  --ff-body: "Poppins", "Segoe UI", sans-serif;
  --container: 1200px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
section { position: relative; }

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

.section-pad { padding: 100px 0; }
@media (max-width: 768px) { .section-pad { padding: 70px 0; } }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.section-head h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 14px;
}

.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--green-900);
  box-shadow: 0 12px 24px rgba(201, 145, 28, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(201, 145, 28, 0.45); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-dark {
  background: var(--green-800);
  color: var(--white);
}
.btn-dark:hover { background: var(--green-700); transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.88); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* stagger helper */
[data-stagger] { transition-delay: calc(var(--i, 0) * 0.12s); }

/* ===========================================================
   Preloader
=========================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(232, 189, 78, 0.25);
  border-top-color: var(--gold-400);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================================================
   Topbar
=========================================================== */
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar a:hover { color: var(--gold-400); }
.topbar-tag { color: var(--gold-400); font-weight: 500; letter-spacing: 0.03em; }
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ===========================================================
   Header / Nav
=========================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--cream);
  border-bottom: 1px solid rgba(14, 58, 31, 0.08);
  transition: box-shadow var(--transition), padding var(--transition);
}
header.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  transition: padding var(--transition);
}
header.site-header.scrolled .nav-wrap { padding: 8px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; transition: height var(--transition); }
header.site-header.scrolled .brand img { height: 42px; }
.brand-text { font-family: var(--ff-head); line-height: 1.1; }
.brand-text strong { display: block; font-size: 1.15rem; color: var(--green-900); font-weight: 700; }
.brand-text span { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-600); font-family: var(--ff-body); font-weight: 600; margin-top: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-cta { padding: 12px 26px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 600;
}
.hamburger span {
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(80vw, 340px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    box-shadow: var(--shadow-strong);
    transition: right var(--transition);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ===========================================================
   Hero
=========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  left: 0; right: 0;
  top: -12%;
  height: 124%;
  background: url("../img/hero-export.jpg") center 30%/cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14,58,31,0.78) 0%, rgba(14,58,31,0.62) 45%, rgba(10,38,21,0.9) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.grain {
  position: absolute;
  bottom: -20px;
  width: 6px;
  height: 14px;
  background: var(--gold-400);
  border-radius: 50% 50% 50% 0;
  opacity: 0.55;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-110vh) rotate(220deg); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 40px;
  color: var(--white);
}
.hero-inner .eyebrow { color: var(--gold-400); }
.hero-inner .eyebrow::before, .hero-inner .eyebrow::after { background: var(--gold-400); }

.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 820px;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-400);
}
.hero p.lead {
  max-width: 640px;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hero-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  backdrop-filter: blur(6px);
  transition: transform var(--transition), background var(--transition);
}
.hero-badge:hover { transform: translateY(-6px); background: rgba(255,255,255,0.14); }
.hero-badge svg { width: 26px; height: 26px; color: var(--gold-400); margin-bottom: 10px; }
.hero-badge strong { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 3px; }
.hero-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }

@media (max-width: 860px) {
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-cue .wheel {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .wheel::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold-400);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: cueMove 1.6s ease infinite;
}
@keyframes cueMove { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; top: 6px; } }

/* ===========================================================
   Trust strip
=========================================================== */
.trust-strip {
  background: var(--green-900);
  color: var(--white);
  padding: 22px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.88); }
.trust-item svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; }
.trust-item b { color: var(--white); font-weight: 600; }
.trust-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.2); }
@media (max-width: 700px) { .trust-divider { display: none; } }

/* ===========================================================
   About
=========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-media { position: relative; }
.about-media .frame-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4/5;
}
.about-media .frame-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .frame-float {
  position: absolute;
  bottom: -34px;
  right: -30px;
  width: 46%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4/3;
}
.about-media .frame-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--gold-500);
  color: var(--green-900);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  font-family: var(--ff-head);
  text-align: center;
  line-height: 1.1;
}
.about-badge strong { display: block; font-size: 1.5rem; }
.about-badge span { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--ff-body); font-weight: 700; }

.about-copy .eyebrow { justify-content: flex-start; }
.about-copy h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.25;
}
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.about-list { margin: 26px 0; display: grid; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; color: var(--ink); }
.about-list svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }

/* ===========================================================
   Our Journey — seed to serving timeline
=========================================================== */
.journey-section { background: var(--white); overflow: hidden; }
.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 0 0;
}
.timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(31, 107, 58, 0.14);
  transform: translateX(-50%);
  border-radius: 3px;
}
.timeline-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-500), var(--green-600));
  border-radius: 3px;
  transition: height 0.15s linear;
}
.timeline-step {
  position: relative;
  width: 50%;
  padding: 0 58px 72px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:nth-child(odd) { left: 0; text-align: right; }
.timeline-step:nth-child(even) { left: 50%; text-align: left; }
.timeline-icon {
  position: absolute;
  top: -6px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid rgba(31, 107, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 2;
}
.timeline-step:nth-child(odd) .timeline-icon { right: -30px; }
.timeline-step:nth-child(even) .timeline-icon { left: -30px; }
.timeline-icon svg {
  width: 26px;
  height: 26px;
  color: var(--green-600);
  transition: color var(--transition);
}
.timeline-step.in-view .timeline-icon {
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  border-color: var(--gold-500);
  transform: scale(1.1);
}
.timeline-step.in-view .timeline-icon svg { color: var(--gold-400); }
.timeline-step-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 6px;
}
.timeline-content h3 {
  font-family: var(--ff-head);
  color: var(--green-900);
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.timeline-content p { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 760px) {
  .timeline-track { left: 23px; }
  .timeline-step,
  .timeline-step:nth-child(odd),
  .timeline-step:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0 0 54px 64px;
  }
  .timeline-step:nth-child(odd) .timeline-icon,
  .timeline-step:nth-child(even) .timeline-icon {
    left: 0;
    right: auto;
    width: 48px;
    height: 48px;
    top: -4px;
  }
  .timeline-icon svg { width: 21px; height: 21px; }
}

/* ===========================================================
   Why choose us
=========================================================== */
.features-bg { background: var(--cream-dark); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-strong); }
.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  box-shadow: 0 10px 22px rgba(31, 107, 58, 0.35);
}
.feature-icon svg { width: 32px; height: 32px; color: var(--gold-400); }
.feature-card h3 { font-family: var(--ff-head); font-size: 1.12rem; color: var(--green-900); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ===========================================================
   Products
=========================================================== */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 11px 26px;
  border-radius: 50px;
  border: 1.5px solid rgba(14,58,31,0.18);
  color: var(--green-900);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

.product-panel { display: none; }
.product-panel.active { display: block; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover img { transform: scale(1.09); }
.product-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,58,31,0) 40%, rgba(10,38,21,0.92) 100%);
}
.product-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 20px;
  z-index: 2;
  color: var(--white);
}
.product-info span {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 6px;
}
.product-info h3 { font-family: var(--ff-head); font-size: 1.18rem; font-weight: 700; }

/* ===========================================================
   Export / global reach
=========================================================== */
.export-section {
  background: linear-gradient(160deg, var(--green-900), var(--green-800) 60%, var(--green-700));
  color: var(--white);
  overflow: hidden;
}
.export-section .section-head h2 { color: var(--white); }
.export-section .section-head p { color: rgba(255,255,255,0.75); }
.export-section .eyebrow { color: var(--gold-400); }
.export-section .eyebrow::before, .export-section .eyebrow::after { background: var(--gold-400); }

.route-wrap { max-width: 900px; margin: 0 auto 50px; }
.route-svg { width: 100%; height: auto; display: block; }
.route-path {
  fill: none;
  stroke: rgba(232,189,78,0.55);
  stroke-width: 2.2;
  stroke-dasharray: 8 10;
  animation: dashFlow 3.2s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -180; } }
.route-node circle { fill: var(--gold-400); }
.route-node text { fill: var(--white); font-family: var(--ff-body); font-size: 13px; font-weight: 600; }
.route-mover {
  animation: moveShip 4.2s ease-in-out infinite;
  offset-path: path("M 40 90 C 220 10, 420 170, 620 60 S 900 30, 960 90");
  offset-rotate: 0deg;
}
@keyframes moveShip {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

.export-destinations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 560px) {
  .export-destinations { grid-template-columns: 1fr; max-width: 320px; }
}
.dest-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}
.dest-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.13); }
.dest-card .flag {
  height: 54px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flag-single img {
  height: 44px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.25);
}
.flag-cluster {
  position: relative;
  width: 100%;
}
.flag-cluster img {
  position: absolute;
  top: 50%;
  height: 34px;
  width: auto;
  border-radius: 3px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.3);
  transition: transform var(--transition);
}
.flag-cluster img:nth-child(1) { left: 50%; transform: translate(-88px, -50%) rotate(-10deg); z-index: 1; }
.flag-cluster img:nth-child(2) { left: 50%; transform: translate(-30px, -50%) rotate(-3deg); z-index: 2; }
.flag-cluster img:nth-child(3) { left: 50%; transform: translate(28px, -50%) rotate(4deg); z-index: 3; }
.flag-cluster img:nth-child(4) { left: 50%; transform: translate(84px, -50%) rotate(11deg); z-index: 2; }
.dest-card:hover .flag-cluster img:nth-child(1) { transform: translate(-92px, -54%) rotate(-10deg); }
.dest-card:hover .flag-cluster img:nth-child(4) { transform: translate(88px, -54%) rotate(11deg); }
.dest-card h4 { font-family: var(--ff-head); font-size: 1.05rem; margin-bottom: 4px; }
.dest-card p { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ===========================================================
   Facility gallery
=========================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,58,31,0) 55%, rgba(10,38,21,0.85) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,20,12,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(900px, 90vw); max-height: 84vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  color: var(--white); font-size: 1.6rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===========================================================
   Contact
=========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
}
.contact-info h3 { font-family: var(--ff-head); font-size: 1.4rem; margin-bottom: 10px; }
.contact-info > p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-bottom: 30px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(232,189,78,0.15);
  display: flex; align-items: center; justify-content: center;
}
.contact-item svg { width: 20px; height: 20px; color: var(--gold-400); }
.contact-item h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--white); font-weight: 500; }
.contact-item a:hover { color: var(--gold-400); }
.map-embed {
  margin-top: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/11;
  border: 1px solid rgba(255,255,255,0.15);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) contrast(1.05); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-soft);
}
.contact-form h3 { font-family: var(--ff-head); color: var(--green-900); font-size: 1.4rem; margin-bottom: 8px; }
.contact-form > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--green-900); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(14,58,31,0.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(31,107,58,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 14px; }
.form-status { font-size: 0.86rem; margin-top: 14px; display: none; }
.form-status.show { display: block; }

/* ===========================================================
   Footer
=========================================================== */
footer.site-footer {
  background: #0a2114;
  color: rgba(255,255,255,0.75);
  padding-top: 76px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 46px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 46px; }
.footer-brand strong { font-family: var(--ff-head); color: var(--white); font-size: 1.1rem; display: block; }
.footer-brand span { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; }
.footer-col p { font-size: 0.88rem; line-height: 1.75; }
.footer-col h4 { color: var(--white); font-family: var(--ff-head); font-size: 1.02rem; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col ul a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--gold-500); color: var(--green-900); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--gold-400); }
.footer-legal { display: flex; gap: 22px; }

/* ===========================================================
   Floating buttons
=========================================================== */
.float-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-strong);
  transition: transform var(--transition);
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab-whatsapp { background: #25d366; color: var(--white); }
.fab-whatsapp svg { width: 26px; height: 26px; }
.fab-top {
  background: var(--green-800);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.fab-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top svg { width: 20px; height: 20px; }

/* ===========================================================
   Scroll progress bar
=========================================================== */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--green-500));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ===========================================================
   3D tilt cards (product / gallery / feature / hero badges)
=========================================================== */
.products-grid, .gallery-grid, .features-grid, .hero-badges {
  perspective: 1000px;
}
.tilt-target {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

/* ===========================================================
   3D flip-in scroll reveal
=========================================================== */
.reveal-flip {
  opacity: 0;
  transform: perspective(1000px) rotateX(-55deg) translateY(30px);
  transform-origin: bottom center;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-flip.in-view {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/* ===========================================================
   Hero floating 3D showcase card
=========================================================== */
.hero-3d-card {
  position: absolute;
  right: 6%;
  top: 20%;
  width: 220px;
  z-index: 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  transform: perspective(1000px) rotateY(-18deg) rotateX(6deg);
  animation: heroCardFloat 6s ease-in-out infinite;
}
.hero-3d-card img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.hero-3d-card .tag {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: rgba(14,58,31,0.78);
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@keyframes heroCardFloat {
  0%, 100% { transform: perspective(1000px) rotateY(-18deg) rotateX(6deg) translateY(0px); }
  50% { transform: perspective(1000px) rotateY(-12deg) rotateX(2deg) translateY(-18px); }
}
@media (max-width: 1150px) { .hero-3d-card { display: none; } }

/* ===========================================================
   Rotating quality seal (about badge)
=========================================================== */
.about-badge {
  animation: sealWobble 5s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes sealWobble {
  0%, 100% { transform: perspective(600px) rotateY(-10deg) rotate(0deg); }
  50% { transform: perspective(600px) rotateY(10deg) rotate(0deg); }
}

/* ===========================================================
   Rotating globe (export section)
=========================================================== */
.globe-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}
.globe {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset -14px -14px 30px rgba(0,0,0,0.45), inset 10px 10px 24px rgba(255,255,255,0.12), 0 20px 40px rgba(0,0,0,0.35);
}
.globe-surface {
  position: absolute;
  inset: -6px;
  background-image: url("../img/globe-map.svg");
  background-repeat: repeat-x;
  background-size: auto 112%;
  background-position: 0 center;
  animation: globeScroll 9s linear infinite;
}
.globe::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 1;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.4), transparent 50%);
  pointer-events: none;
}
.globe::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(232,189,78,0.35);
  animation: globeSpin 26s linear infinite reverse;
}
@keyframes globeSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes globeScroll { from { background-position: 0 center; } to { background-position: -800px center; } }

/* ===========================================================
   Product / partner marquee ribbon
=========================================================== */
.marquee-strip {
  background: linear-gradient(90deg, var(--green-800), var(--green-900));
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(232,189,78,0.18);
  border-bottom: 1px solid rgba(232,189,78,0.18);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-400);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "\2022";
  color: rgba(255,255,255,0.35);
  margin-left: 28px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   Section wave divider
=========================================================== */
.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: 60px; display: block; }

/* ===========================================================
   Simple page (terms/privacy)
=========================================================== */
.simple-page { padding: 140px 0 90px; max-width: 820px; }
.simple-page h1 { font-family: var(--ff-head); color: var(--green-900); font-size: 2.1rem; margin-bottom: 20px; }
.simple-page h2 { font-family: var(--ff-head); color: var(--green-800); font-size: 1.3rem; margin: 30px 0 12px; }
.simple-page p, .simple-page li { color: var(--ink-soft); margin-bottom: 12px; }
.simple-page ul { padding-left: 20px; list-style: disc; }
.simple-page a.back { color: var(--green-700); font-weight: 600; }

@media (max-width: 700px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-legal { flex-wrap: wrap; }
}
