/* ==========================================================================
   Ecuador Premium Shrimp — B2B Export Landing
   Design system: premium B2B, deep ocean navy, gold accent, generous spacing
   ========================================================================== */

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

:root {
  color-scheme: light;
  --navy-950: #031822;
  --navy-900: #06222F;
  --navy-800: #0A2F41;
  --navy-700: #0F3D55;
  --navy-600: #15506E;
  --teal: #17839B;
  --teal-light: #2FB3C4;
  --gold: #C9A24B;
  --gold-light: #E3C578;
  --sand: #F5F1E8;
  --ink: #0F2734;
  --muted: #55707E;
  --line: #DFE8EC;
  --white: #FFFFFF;
  --green: #2E9E5B;
  --yellow: #D99E2B;
  --red: #D64545;
  --wa: #25D366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(6, 34, 47, .07);
  --shadow-md: 0 12px 32px rgba(6, 34, 47, .12);
  --shadow-lg: 0 24px 60px rgba(6, 34, 47, .18);
  --font-display: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1160px;
  --nav-h: 74px;
}

html { scroll-behavior: smooth; }
html[dir="rtl"] body { direction: rtl; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--sand); }
.section--dark { background: var(--navy-900); color: #EAF2F5; }
.section--navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #EAF2F5; }

/* ---------- Section headers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section--dark .eyebrow, .section--navy .eyebrow { color: var(--teal-light); }

.section-title { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 680px; }
.section--dark .section-sub, .section--navy .section-sub { color: #A8C2CE; }
.section-head { margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-950); box-shadow: 0 10px 24px rgba(201, 162, 75, .35); }
.btn--gold:hover { box-shadow: 0 14px 30px rgba(201, 162, 75, .45); }
.btn--outline { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.14); }
.btn--outline-dark { border-color: var(--navy-700); color: var(--navy-800); background: transparent; }
.btn--outline-dark:hover { background: rgba(6,34,47,.05); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.btn--wa:hover { box-shadow: 0 14px 30px rgba(37,211,102,.4); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 15px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 34, 47, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: .01em; line-height: 1.1; }
.brand__tag { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-light); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: #C9DCE5; font-size: 14.5px; font-weight: 500;
  padding: 9px 13px; border-radius: 8px; transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none; background: none; border: none; color: #fff; padding: 8px;
}
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--navy-900);
    padding: 12px 4%; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 14px; font-size: 15.5px; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(47,179,196,.22), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(201,162,75,.14), transparent 55%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  padding: 96px 0 120px;
}
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }
.hero__wave path { fill: var(--sand); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-light); background: rgba(47,179,196,.12);
  border: 1px solid rgba(47,179,196,.35); padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold-light); }
.hero__sub { font-size: 18.5px; color: #B9D2DD; max-width: 560px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 30px;
}
.hero__stat b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--gold-light); letter-spacing: -.01em; }
.hero__stat span { font-size: 13px; color: #9FBBC7; line-height: 1.45; display: block; margin-top: 4px; }

/* Hero illustration */
.hero__art { position: relative; }
.hero__art-figure {
  position: relative; margin-inline: auto; max-width: 440px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.35));
}
.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(6,34,47,.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
  padding: 9px 15px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0,0,0,.28);
  animation: floaty 6s ease-in-out infinite;
}
.hero__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(46,158,91,.25); }
.hero__chip--1 { top: 8%; left: -4%; }
.hero__chip--2 { top: 42%; right: -6%; animation-delay: 1.4s; }
.hero__chip--3 { bottom: 6%; left: 6%; animation-delay: 2.6s; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 960px) {
  .hero { padding: 64px 0 96px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__art { order: -1; }
  .hero__art-figure { max-width: 320px; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(155deg, var(--navy-950), var(--navy-800));
  color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 90% 0%, rgba(47,179,196,.18), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 12px; }
.page-hero p { color: #B9D2DD; font-size: 17px; max-width: 640px; }
.page-hero .crumb { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); font-weight: 700; margin-bottom: 18px; display: block; }

/* ---------- Cards: sizes & formats ---------- */
.card-grid { display: grid; gap: 18px; }
.card-grid--sizes { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.card-grid--formats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C8DCE4; }
.card--size { text-align: center; }
.card--size b { font-family: var(--font-display); font-size: 26px; color: var(--navy-800); letter-spacing: -.01em; }
.card--size span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.card--format { display: flex; gap: 16px; align-items: flex-start; }
.card--format .icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(47,179,196,.14), rgba(47,179,196,.05));
  color: var(--teal); font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.card--format b { font-family: var(--font-display); font-size: 16.5px; color: var(--navy-800); }
.card--format p { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

.note-line { margin-top: 26px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.note-line svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* ---------- Pillars (why ecuador) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--teal), var(--gold)); }
.pillar__k { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pillar h3 { font-size: 21px; margin: 8px 0 12px; color: var(--navy-800); }
.pillar p { font-size: 14.5px; color: var(--muted); }
.pillar ul { margin-top: 14px; display: grid; gap: 8px; }
.pillar li { font-size: 13.5px; color: var(--ink); display: flex; gap: 9px; align-items: flex-start; }
.pillar li::before { content: "✓"; color: var(--teal); font-weight: 800; flex: none; }

.check-list { display: grid; gap: 13px; margin-top: 6px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(46,158,91,.12); color: var(--green);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 2px;
}
.check-list b { color: var(--navy-800); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr; }
}

/* trust / certification badges */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 18px; font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--navy-700); box-shadow: var(--shadow-sm);
}
.badge svg { width: 15px; height: 15px; color: var(--gold); }

/* ---------- Geography ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.tier {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.tier__head { padding: 16px 22px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; display: flex; align-items: center; justify-content: space-between; }
.tier__head small { font-weight: 500; opacity: .85; font-size: 12px; letter-spacing: .04em; font-family: var(--font-body); }
.tier--1 .tier__head { background: linear-gradient(120deg, var(--navy-700), var(--teal)); }
.tier--2 .tier__head { background: linear-gradient(120deg, var(--navy-600), #3A7CA5); }
.tier--3 .tier__head { background: linear-gradient(120deg, #5C7A8A, #7E9AA8); }
.tier ul { padding: 18px 22px 20px; display: grid; gap: 10px; }
.tier li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.tier li .flag { font-size: 17px; line-height: 1; }

.geo-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.geo-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.geo-stat b { font-family: var(--font-display); font-size: 30px; color: var(--navy-800); display: block; letter-spacing: -.01em; }
.geo-stat .delta { color: var(--green); font-weight: 700; font-size: 14px; }
.geo-stat p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .geo-stats { grid-template-columns: 1fr; }
}

/* ---------- EPSI index ---------- */
.epsi-panel {
  background: rgba(3, 24, 34, .55);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 34px;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: start;
}
.epsi-panel h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.epsi-panel h3 .week { color: var(--gold-light); }
.epsi-table { width: 100%; border-collapse: collapse; }
.epsi-table th, .epsi-table td { text-align: start; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14.5px; }
.epsi-table th { color: #8FB0BF; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.epsi-table td { color: #EAF2F5; font-family: var(--font-display); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-inline-end: 8px; vertical-align: middle; }
.dot--high { background: var(--green); box-shadow: 0 0 0 4px rgba(46,158,91,.18); }
.dot--limited { background: var(--yellow); box-shadow: 0 0 0 4px rgba(217,158,43,.18); }
.dot--tight { background: var(--red); box-shadow: 0 0 0 4px rgba(214,69,69,.18); }
.epsi-side { display: grid; gap: 18px; }
.epsi-block { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 20px; }
.epsi-block h4 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #8FB0BF; margin-bottom: 12px; }
.epsi-block p { font-size: 14px; color: #D6E6EC; }
.epsi-block .legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.epsi-block .legend span { font-size: 13px; color: #C9DCE5; }
.trend { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.trend:last-child { border-bottom: none; }
.trend .up { color: var(--green); } .trend .flat { color: var(--yellow); }
@media (max-width: 900px) { .epsi-panel { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.founder-media { position: relative; }
.video-ph {
  aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.video-ph .play {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(201,162,75,.9);
  display: grid; place-items: center; color: var(--navy-950);
  box-shadow: 0 0 0 12px rgba(201,162,75,.2); transition: transform .2s ease;
}
.video-ph:hover .play { transform: scale(1.08); }
.video-ph .caption { position: absolute; bottom: 18px; inset-inline: 18px; font-size: 12.5px; color: #B9D2DD; text-align: center; }
.video-ph svg { width: 26px; height: 26px; }
.founder-quotes { margin-top: 22px; display: grid; gap: 10px; }
.founder-quotes li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
}
.founder-quotes li::before { content: "▶"; color: var(--gold); font-size: 10px; margin-top: 3px; }
.founder-quotes b { color: var(--navy-700); font-weight: 600; }
.founder-text { font-size: 17.5px; color: var(--ink); }
.founder-text .quote-mark { font-family: var(--font-display); font-size: 64px; line-height: .6; color: var(--gold); display: block; margin-bottom: 14px; }
.founder-text p { margin-bottom: 16px; }
.founder-sign { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); }
.founder-sign span { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.quote-info h3 { font-size: 22px; margin: 10px 0 14px; }
.quote-info ul { display: grid; gap: 12px; margin-top: 22px; }
.quote-info li { display: flex; gap: 12px; font-size: 14.5px; color: var(--muted); }
.quote-info li .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(46,158,91,.12); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 13px; }

.lead-preview {
  margin-top: 26px; background: var(--navy-950); color: #D6E6EC;
  border-radius: 14px; padding: 18px 20px; font-size: 13.5px;
  box-shadow: var(--shadow-md); position: relative;
}
.lead-preview::before { content: "LIVE LEAD PREVIEW"; position: absolute; top: -9px; inset-inline-start: 18px; background: var(--gold); color: var(--navy-950); font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 3px 10px; border-radius: 999px; }
.lead-preview code { display: block; font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 13px; white-space: pre-wrap; color: #C9DCE5; }
.lead-preview .muted { color: #6E93A4; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 34px; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 22px; color: var(--navy-800); margin-bottom: 6px; }
.form-card .form-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--navy-700); text-transform: uppercase; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: #FBFCFD;
  transition: border-color .15s ease, box-shadow .15s ease; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2315506E' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-inline-end: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23,131,155,.12); background: #fff;
}
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--teal); }

.form-success {
  display: none; text-align: center; padding: 34px 20px;
}
.form-success.show { display: block; animation: fadeUp .4s ease; }
.form-success .check-circle {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: rgba(46,158,91,.14); color: var(--green);
  display: grid; place-items: center; font-size: 28px; font-weight: 800;
}
.form-success h4 { font-size: 21px; color: var(--navy-800); margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .quote-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
}

/* ---------- Buyer database ---------- */
.db-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.db-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.db-list li {
  display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  padding: 11px 14px; border-radius: 10px;
}
.db-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.email-mock {
  background: rgba(3,24,34,.5); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 22px; box-shadow: var(--shadow-lg);
}
.email-mock__head { display: flex; justify-content: space-between; font-size: 12.5px; color: #8FB0BF; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 12px; margin-bottom: 14px; }
.email-mock b { font-family: var(--font-display); color: #fff; font-size: 15px; display: block; margin-bottom: 10px; }
.email-mock ul { display: grid; gap: 8px; }
.email-mock li { font-size: 13.5px; color: #C9DCE5; display: flex; gap: 8px; }
.email-mock li::before { content: "•"; color: var(--gold); font-weight: 800; }
@media (max-width: 900px) {
  .db-grid { grid-template-columns: 1fr; }
  .db-list { grid-template-columns: 1fr; }
}

/* ---------- Tables (guide page) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap th, .table-wrap td { text-align: start; padding: 14px 18px; font-size: 14px; vertical-align: top; }
.table-wrap thead th {
  background: var(--navy-800); color: #fff; font-family: var(--font-display);
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.table-wrap tbody tr:nth-child(even) { background: #F6F9FA; }
.table-wrap tbody tr:hover { background: #EEF5F7; }
.table-wrap td b { color: var(--navy-800); }
.table-wrap td:first-child { font-weight: 600; color: var(--navy-700); }
.table-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.callout {
  border-inline-start: 4px solid var(--gold); background: #FFF9EC;
  padding: 18px 22px; border-radius: 0 12px 12px 0; font-size: 14.5px; color: #5C4A1E;
}
.callout--teal { margin: 40px 0px 0px 0px;border-color: var(--teal); background: #EFF8FA; color: #0F3D55; }
.callout b { color: inherit; }

/* ---------- Brand kit page ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.kit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.kit-card h3 { font-size: 18px; color: var(--navy-800); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.kit-card h3 .num { font-family: var(--font-display); color: var(--gold); font-size: 14px; letter-spacing: .1em; }
.kit-card p, .kit-card li { font-size: 14.5px; color: var(--muted); }
.kit-card ul { display: grid; gap: 8px; }
.kit-card li { display: flex; gap: 9px; align-items: flex-start; }
.kit-card li::before { content: "—"; color: var(--teal); font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #EFF6F8; border: 1px solid #D5E6EC; color: var(--teal); font-family: var(--font-display); font-weight: 600; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; }
.bio-card { background: var(--navy-900); color: #EAF2F5; border-radius: var(--radius); padding: 26px; font-size: 15px; box-shadow: var(--shadow-md); }
.bio-card .handle { color: var(--teal-light); font-weight: 700; font-size: 13.5px; letter-spacing: .06em; display: block; margin-bottom: 10px; }
.bio-card .muted { color: #8FB0BF; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9FBBC7; padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer p { font-size: 14px; max-width: 320px; }
.footer a { display: block; font-size: 14px; padding: 5px 0; transition: color .15s ease; }
.footer a:hover { color: var(--gold-light); }
.footer .brand { margin-bottom: 18px; }
.footer__contact li { display: flex; gap: 10px; font-size: 14px; padding: 5px 0; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--teal-light); }
.footer__lang { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-btn {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #C9DCE5;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 12px; border-radius: 8px; transition: all .15s ease;
}
.lang-btn:hover { background: rgba(255,255,255,.12); }
.lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
/* nav language switch (flags) */
.lang-switch { display: flex; gap: 4px; align-items: center; }
.lang-switch .lang-btn { font-size: 17px; line-height: 1; padding: 4px 7px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); }
.lang-switch .lang-btn:hover { background: rgba(255,255,255,.18); }
.lang-switch .lang-btn.active { background: var(--gold); border-color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px;
}
.footer__bottom a { display: inline; padding: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; color: var(--navy-800); margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 12px; }

/* ---------- Back to top ---------- */
.backtop {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.backtop.show { opacity: 1; pointer-events: auto; }
.backtop svg { width: 18px; height: 18px; }

/* utility */
.hidden { display: none !important; }

/* ==========================================================================
   v2 — vibrant farm-showcase components (client brief)
   ========================================================================== */

.hero__wave path { fill: #ffffff; }

.hero__logo { width: 132px; margin-bottom: 22px; }
.hero__logo img { width: 100%; height: auto; display: block; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.32); }
.hero__slogan {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(17px, 2vw, 21px); color: var(--gold-light);
  margin: -6px 0 10px;
}
.hero__trading {
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #A8C2CE; margin: 0 0 26px;
}

/* Hero geometrical badge figure */
.hero-figure { position: relative; width: min(440px, 90vw); aspect-ratio: 1; margin-inline: auto; }
.hero-figure__ring {
  position: absolute; inset: 13%;
  border: 2px dashed rgba(201,162,75,.5); border-radius: 50%;
  animation: spin 45s linear infinite;
}
.hero-figure__ring--2 {
  inset: 26%; border-color: rgba(255,255,255,.16);
  animation-direction: reverse; animation-duration: 70s;
}
.hero-figure__center {
  position: absolute; inset: 31%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #1E6E88, #0F3D55 72%);
  border: 2px solid rgba(201,162,75,.6); color: var(--gold-light);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.hero-figure__center svg { width: 34%; height: 34%; }
.hero-figure__center img { width: 100%; height: 100%; object-fit: contain; }
.hero-badge { position: absolute; width: 30%; display: grid; justify-items: center; gap: 9px; text-align: center; }
.hero-badge__icon {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(6,34,47,.82); border: 1.5px solid rgba(255,255,255,.2);
  display: grid; place-items: center; color: var(--gold-light);
  box-shadow: 0 12px 28px rgba(0,0,0,.35); backdrop-filter: blur(6px);
}
.hero-badge__icon svg { width: 26px; height: 26px; }
.hero-badge__label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #EAF2F5; background: rgba(6,34,47,.72);
  padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
}
.hero-badge--1 { top: 1%; left: 0; }
.hero-badge--2 { top: 1%; right: 0; }
.hero-badge--3 { bottom: 1%; right: 0; }
.hero-badge--4 { bottom: 1%; left: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .hero-figure { width: min(360px, 96vw); }
  .hero-badge__icon { width: 52px; height: 52px; }
  .hero-badge__icon svg { width: 22px; height: 22px; }
  .hero-badge__label { font-size: 9.5px; padding: 4px 8px; }
}

/* Why Ecuador — statistics */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 40px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card b {
  font-family: var(--font-display); font-size: 36px; letter-spacing: -.02em;
  color: var(--navy-800); display: block;
}
.stat-card b .plus { color: var(--gold); }
.stat-card span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* Farms — map + cards */
.farm-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.farm-map {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-md);
}
.farm-map h3 {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 8px;
}
.farm-map h3 small { font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 12.5px; }
.map-point-pulse { animation: mappulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes mappulse { 0% { opacity: .9; transform: scale(.4); } 80%, 100% { opacity: 0; transform: scale(2.2); } }
.map-label {
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  fill: var(--navy-700); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round;
}
.map-leader { stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 4 4; fill: none; }
.farm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.farm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.farm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.farm-card__img { aspect-ratio: 16/9; display: grid; place-items: center; }
.farm-card__img .ph { display: grid; place-items: center; gap: 7px; color: rgba(255,255,255,.92); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.farm-card__img .ph svg { width: 34px; height: 34px; opacity: .9; }
.farm-card__img--1 { background: linear-gradient(135deg, #15506E, #17839B); }
.farm-card__img--2 { background: linear-gradient(135deg, #0F3D55, #1E6E88); }
.farm-card__img--3 { background: linear-gradient(135deg, #B07D2F, #C9A24B); }
.farm-card__img--4 { background: linear-gradient(135deg, #2E7D5B, #3FA97E); }
.farm-card__body { padding: 18px 20px 20px; }
.farm-card__body h3 { font-size: 16.5px; color: var(--navy-800); display: flex; align-items: center; gap: 9px; }
.farm-card__body h3 .n {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950); font-size: 13px; display: grid; place-items: center;
}
.farm-card__body p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
@media (max-width: 960px) {
  .farm-layout { grid-template-columns: 1fr; }
  .farm-map { position: static; }
}
@media (max-width: 620px) { .farm-cards { grid-template-columns: 1fr; } }

/* Shipping */
.ship-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.ship-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); line-height: 0; }
.ship-art svg { width: 100%; height: auto; }
.ship-points { display: grid; gap: 12px; margin-top: 24px; }
.ship-point { display: flex; gap: 13px; align-items: flex-start; }
.ship-point .e {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center; font-size: 19px;
}
.ship-point p { font-size: 14.5px; color: #C9DCE5; margin-top: 2px; }
.ship-point b { color: #fff; font-family: var(--font-display); font-weight: 600; }
.ship-steps { display: grid; gap: 14px; margin-top: 26px; }
.ship-step {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.ship-step .n {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950); font-family: var(--font-display); font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(201,162,75,.35);
}
.ship-step b { color: var(--navy-800); font-family: var(--font-display); display: block; font-size: 15px; }
.ship-step p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.region-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.region-chip {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  color: #EAF2F5; font-family: var(--font-display); font-size: 13px; font-weight: 600;
  padding: 8px 15px; border-radius: 999px;
}
@media (max-width: 900px) { .ship-grid { grid-template-columns: 1fr; gap: 34px; } }

/* Choose us — certificates */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 18px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert .ico {
  width: 54px; height: 54px; margin: 0 auto 13px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(47,179,196,.16), rgba(47,179,196,.05));
  color: var(--teal);
}
.cert .ico svg { width: 26px; height: 26px; }
.cert b { font-family: var(--font-display); font-size: 15px; color: var(--navy-800); display: block; }
.cert p { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-stack { display: grid; gap: 16px; }
.contact-item {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.contact-item .ico {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; color: #fff;
}
.contact-item .ico svg { width: 21px; height: 21px; }
.ico--wa { background: var(--wa); }
.ico--mail { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-950); }
.ico--pin { background: var(--teal); }
.contact-item b { display: block; color: var(--navy-800); font-family: var(--font-display); font-size: 15px; }
.contact-item span, .contact-item a { font-size: 14.5px; color: var(--muted); }
.contact-item a:hover { color: var(--teal); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Farms v2 — real coastline map (Leaflet/OSM) + fading section background */
.section--farmfade {
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 42%, var(--sand) 78%, var(--sand) 100%);
}
.farm-layout .farm-cards { order: 1; }
.farm-layout .farm-map { order: 2; }
.farm-map { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.farm-map__head { padding: 16px 18px 12px; }
.farm-map .farm-legend { font-size: 12.5px; color: var(--muted); padding: 12px 18px; }

/* Farms v4 — map as background of the whole zone (Why Ecuador + Farms + Envíos) */
.farmmap-zone { position: relative; overflow: hidden; }
.farmmap-zone .farm-map-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; isolation: isolate;
  background: url("../img/map.webp") center / cover no-repeat;
  transform: translate(115px, -262px) scale(0.95);   /* composer position (tilt baked in image) */
}
/* move-map mode: map layer on top so it can be dragged as a whole */
body.move-map .farm-map-bg { z-index: 6; cursor: grab; }
body.move-map .farm-map-bg:active { cursor: grabbing; }

/* gradient designer */
.grad-editor { position: absolute; inset: 0; z-index: 40; }
.grad-box { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; } /* gradient sits above the map image */
/* applied gradient overlay (above the map image, below the content) */
.grad-applied { position: relative; }
.grad-applied::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: var(--grad-bg, transparent);
}
body.grad-on .grad-applied::before { display: none; }
.grad-section { display: flex; flex-wrap: wrap; gap: 4px; }
.grad-section-btn {
  border: 1px solid var(--line); background: #F6F9FA; border-radius: 6px;
  padding: 4px 7px; font-size: 11.5px; cursor: pointer; font-family: var(--font-display); font-weight: 600;
}
.grad-section-btn.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.grad-handle {
  position: absolute; width: 26px; height: 26px; border-radius: 50%;
  transform: translate(-50%, -50%); border: 3px solid #fff; cursor: move;
  box-shadow: 0 2px 10px rgba(0,0,0,.45); z-index: 3;
}
.grad-handle[data-end="start"] { background: #2E9E5B; }
.grad-handle[data-end="end"] { background: #D64545; }
.grad-panel {
  position: absolute; top: 14px; left: 14px; z-index: 4; max-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px 14px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 9px;
}
.grad-panel label {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy-700);
}
.grad-panel input[type="color"] { width: 42px; height: 28px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; padding: 0; }
.grad-panel input[type="number"] { width: 76px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.grad-panel input[type="range"] { flex: 1; accent-color: var(--teal); }
.grad-panel label span { font-weight: 600; color: var(--navy-700); min-width: 38px; text-align: right; font-size: 12px; }
.grad-presets { display: flex; flex-wrap: wrap; gap: 5px; }
.grad-presets button {
  border: 1px solid var(--line); background: #F6F9FA; border-radius: 6px;
  padding: 4px 8px; font-size: 12px; cursor: pointer; font-family: var(--font-display);
}
.grad-presets button:hover { background: #EEF5F7; }
.grad-panel [data-copy] {
  background: var(--navy-800); color: #fff; border: 0; border-radius: 8px;
  padding: 8px; font-weight: 600; cursor: pointer; font-family: var(--font-display);
}
.grad-panel .grad-hint { font-size: 11.5px; color: var(--muted); margin: 0; }

/* Baked gradients (from the gradient tool) — overlays above the map image */
.farmmap-zone::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
/* Zona completa */ background: linear-gradient(270deg, rgba(255, 255, 255, 0) 30%, rgba(10, 47, 65, 1) 41%);
}
#why { position: relative; }
#why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,1) 46%, rgba(10,47,65,0) 100%);
}
#shipping { position: relative; }
#shipping::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
/* 3 · Envíos */ background: linear-gradient(220deg, rgba(255, 255, 255, 0) 21%, rgba(10, 47, 65, 1) 26%);}

.farm-pin {
  position: absolute; z-index: 1; pointer-events: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 2.5px solid #fff;
  box-shadow: 0 3px 10px rgba(6,34,47,.4);
  color: var(--navy-950); font-family: var(--font-display); font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
}
.farm-pin.active {
  width: 42px; height: 42px; font-size: 17px;
  background: #D64545;
  box-shadow: 0 0 0 5px rgba(214,69,69,.25), 0 4px 14px rgba(214,69,69,.5);
}

/* farms: light heading over the map + book-style farm viewer */
#farms .section-title--light { color: #fff; }
#farms .eyebrow { color: var(--teal-light); }
.farm-book {
  position: relative; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); display: flex; max-width: 780px; margin-inline: 0;
  padding: 26px 26px 26px 30px;
}
.farm-book__pages { flex: 1; min-width: 0; }
.farm-page { display: flex; flex-direction: column; gap: 18px; }
.farm-page__img {
  width: 100%; flex: none; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; background: #E6F0F3;
}
.farm-page__img img { width: 100%; height: 100%; object-fit: cover; }
.farm-page__info { display: block; height: 540px; overflow-y: auto; padding-inline-end: 6px; }
.farm-page__info::-webkit-scrollbar { width: 8px; }
.farm-page__info::-webkit-scrollbar-thumb { background: #D5E1E6; border-radius: 8px; }
.farm-page__info h3 { font-size: 22px; color: var(--navy-800); display: flex; align-items: center; gap: 10px; }
.farm-page__info h3 .n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950); font-size: 15px; display: grid; place-items: center;
}
.farm-page__info p { font-size: 15px; color: var(--muted); margin: 12px 0 0; line-height: 1.65; }
/* side bookmarks — each page's tab sticks out, active one more */
.farm-book__tabs {
  position: absolute; right: -14px; top: 26px; bottom: 26px;
  width: 22px; display: flex; flex-direction: column; justify-content: space-evenly; gap: 8px;
}
.farm-tab {
  width: 22px; border: 0; cursor: pointer; padding: 8px 4px;
  background-color: #E7EFF2; color: var(--navy-700);
  border-radius: 3px 10px 10px 3px;
  font-family: var(--font-display); font-weight: 700;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: background-color .18s ease;
}
.farm-tab .tab-n { font-size: 15px; color: var(--navy-800); }
.farm-tab .tab-hide {
  writing-mode: vertical-rl; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
.farm-tab:hover { background-color: #DCE9EE; }
.farm-tab.active { background-color: var(--gold); color: var(--navy-950); }
@media (max-width: 760px) {
  .farm-book { padding: 18px 18px 18px 20px; }
  .farm-page { flex-direction: column; }
  .farm-page__img { width: 100%; }
  .farm-book__tabs { right: -12px; width: 20px; }
  .farm-tab .tab-hide { font-size: 11px; }
}
.map-label {
  position: absolute; z-index: 1; pointer-events: none;
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 700; letter-spacing: .3em;
  font-size: 22px; color: #fff; text-transform: uppercase; white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,.6), 0 0 2px rgba(0,0,0,.5);
}
.farmmap-zone .container { position: relative; z-index: 2; }
.farm-cards-panel {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-lg); max-width: 660px;
}
.farm-cards-panel .farm-legend { font-size: 12.5px; color: var(--muted); margin-top: 18px; }
/* the Envíos section keeps its dark text styles but lets the map show through */
.section--navy.section--ghost { background: transparent; }
@media (max-width: 760px) {
  .farm-cards-panel { max-width: none; padding: 18px; }
}

/* export-map-state toast */
#mapToast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%) translateY(8px);
  background: var(--navy-900); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  z-index: 200;
}
#mapToast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* basemap switcher (tuning helper — top-right of the map) */
.basemap-switch {
  display: flex; gap: 4px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 4px; box-shadow: var(--shadow-sm);
}
.basemap-btn {
  border: 0; background: transparent; padding: 6px 11px; border-radius: 7px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.basemap-btn:hover { background: #EEF5F7; }
.basemap-btn.active { background: var(--navy-800); color: #fff; }
.basemap-btn--jump { border: 1px solid var(--gold); color: var(--navy-700); background: #FFF9EC; }
.basemap-btn--jump:hover { background: #FBEECB; }

/* generic rounded photo */
.photo { width: 100%; border-radius: 16px; box-shadow: var(--shadow-md); margin-top: 26px; }
/* client marketing banners below the certificates (small, text readable) */
.banners { margin-top: 20px; display: grid; gap: 12px; }
.banners img { width: 100%; max-width: 250px; border-radius: 12px; box-shadow: var(--shadow-md); display: block; }

/* hero: low-detail cargo container with certificates printed on it */
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-container { width: 100%; max-width: 560px; filter: drop-shadow(0 24px 46px rgba(0,0,0,.35)); }

/* "Calibres y empaque" (producto) sub-blocks */
.prod-block { margin-top: 32px; }
.prod-title {
  font-size: 19px; color: var(--navy-800); display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.prod-title .prod-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950); font-size: 14px; display: grid; place-items: center;
}
.prod-divider { height: 1px; background: var(--line); margin-top: 34px; }
.card--format .icon { font-size: 14px; letter-spacing: .02em; }

/* why-us makeover */
.why-us-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.why-us-benefits { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 30px; box-shadow: var(--shadow-md); }
.why-us-heading { font-size: 21px; color: var(--navy-800); margin-bottom: 16px; }
.why-us-photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); min-height: 320px; }
.why-us-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-us-block { margin-top: 34px; }
.cert-grid--panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm); }
.banners--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.banners--row img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-md); display: block; }

/* print guard */
@media print {
  .nav, .wa-float, .backtop, .footer__lang { display: none !important; }
}


/* Zona completa */ background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 20%, rgba(10, 47, 65, 0.5) 80%);
/* 1 · Por qué Ecuador */ background: linear-gradient(180deg, rgba(255, 255, 255, 1) 46%, rgba(10, 47, 65, 0) 100%);
/* 3 · Envíos */ background: linear-gradient(198deg, rgba(255, 255, 255, 0) 26%, rgba(10, 47, 65, 1) 29%);
