/* ============================================================
   Ember Ascend — site-wide theme (Bold Maritime Premium)
   One shared stylesheet used by every page + the nav/footer, so
   the whole site is visually one system instead of a homepage
   bolted onto an older design. Every class is prefixed "ea-" so
   it never collides with anything in the old assets/css/style.css.
   Upload as: assets/css/theme.css
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ea-navy: #0d1d3a;
  --ea-navy-dark: #0b0b0f;
  --ea-amber: #d4af37;
  --ea-amber-dark: #a5882a;
  --ea-amber-bright: #dec369;
  --ea-silver: #c9ced6;
  --ea-ink: #eef1f6;
}

html, body { background: var(--ea-navy-dark); }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ea-ink);
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, .ea-h1, .ea-h2, .ea-h3 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 .6rem;
  color: var(--ea-ink);
}

a { color: inherit; }

.ea-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.ea-section { padding: 5rem 0; position: relative; }
.ea-section-tight { padding: 3rem 0; }
.ea-section-tint { background: var(--ea-navy); }
.ea-muted { color: var(--ea-silver); line-height: 1.6; }

.ea-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ea-amber-bright); margin-bottom: 1rem;
}
.ea-h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
.ea-h1-page { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.ea-h1-accent { color: var(--ea-amber); }
.ea-h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
.ea-h3 { font-size: 1.15rem; font-weight: 700; }
.ea-lead { font-size: 1.1rem; color: var(--ea-silver); line-height: 1.6; max-width: 60ch; }
.ea-text-link { color: var(--ea-amber-bright); font-weight: 600; text-decoration: none; }
.ea-text-link:hover { text-decoration: underline; }

.ea-section-head { margin-bottom: 2.5rem; max-width: 70ch; }
.ea-section-head-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.ea-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  font-size: .95rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.ea-btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.ea-btn-sm { padding: .55rem 1.1rem; font-size: .82rem; }
.ea-btn-block { width: 100%; }
.ea-btn-gold { background: linear-gradient(135deg, var(--ea-amber-bright), var(--ea-amber-dark)); color: #14100a; }
.ea-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,175,55,.28); }
.ea-btn-gold-outline { border-color: var(--ea-amber); color: var(--ea-amber-bright); background: transparent; }
.ea-btn-gold-outline:hover { background: rgba(212,175,55,.1); }
.ea-btn-ghost { border-color: rgba(255,255,255,.25); color: var(--ea-ink); background: transparent; }
.ea-btn-ghost:hover { border-color: var(--ea-amber); color: var(--ea-amber-bright); }

/* ---- Route-line / mascot motifs (reused across pages) ---- */
.ea-route-svg { width: 100%; height: 100%; }
.ea-route-path { fill: none; stroke: var(--ea-amber); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 10 10; animation: eaDash 14s linear infinite; opacity: .5; }
.ea-route-path-thin { stroke-width: 1.5; opacity: .35; }
@keyframes eaDash { to { stroke-dashoffset: -400; } }
.ea-route-dot { fill: var(--ea-amber-bright); }
.ea-route-dot-a { animation: eaPulseDot 2.4s ease-in-out infinite; }
.ea-route-dot-b { animation: eaPulseDot 2.4s ease-in-out infinite 1.2s; }
@keyframes eaPulseDot { 0%,100% { opacity: .6; r: 6; } 50% { opacity: 1; r: 9; } }
.ea-float { animation: eaFloat 4.5s ease-in-out infinite; }
@keyframes eaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.ea-live-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(212,175,55,.35); border-radius: 999px; font-size: .85rem; color: var(--ea-silver); }
.ea-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf7a; animation: eaLivePulse 2s infinite; flex-shrink: 0; }
@keyframes eaLivePulse { 0% { box-shadow: 0 0 0 0 rgba(62,207,122,.55); } 70% { box-shadow: 0 0 0 8px rgba(62,207,122,0); } 100% { box-shadow: 0 0 0 0 rgba(62,207,122,0); } }
.ea-live-chip strong { color: var(--ea-amber-bright); }
.ea-live-updated { opacity: .55; font-size: .75rem; }

/* ---- Homepage hero (big) ---- */
.ea-hero { position: relative; padding: 5.5rem 0 4rem; background: radial-gradient(ellipse at 15% 20%, rgba(212,175,55,.10), transparent 55%), radial-gradient(ellipse at 85% 80%, rgba(212,175,55,.06), transparent 50%), var(--ea-navy-dark); overflow: hidden; }
.ea-hero-bg { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.ea-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; position: relative; }
.ea-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ea-hero-mascot { display: flex; justify-content: center; }
.ea-hero-mascot img { max-width: 320px; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }

/* ---- Page hero (smaller, used on every inner page) ---- */
.ea-page-hero { position: relative; padding: 3.5rem 0; background: radial-gradient(ellipse at 20% 30%, rgba(212,175,55,.09), transparent 55%), var(--ea-navy-dark); overflow: hidden; border-bottom: 1px solid rgba(212,175,55,.12); }
.ea-page-hero-bg { position: absolute; inset: 0; opacity: .4; pointer-events: none; }
.ea-page-hero .ea-wrap { position: relative; max-width: 780px; }

/* ---- Stat tiles / highlight cards ---- */
.ea-grid { display: grid; gap: 1.25rem; }
.ea-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ea-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ea-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ea-grid-3, .ea-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ea-grid-2, .ea-grid-3, .ea-grid-4 { grid-template-columns: 1fr; } }

.ea-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1.75rem; }
.ea-stat-tile { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1.5rem; text-align: center; }
.ea-stat-tile .ea-stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 2.1rem; font-weight: 700; color: var(--ea-amber-bright); display: block; margin-bottom: .3rem; font-variant-numeric: tabular-nums; }
.ea-stat-tile .ea-stat-label { color: var(--ea-silver); font-size: .85rem; }

.ea-highlight-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .ea-highlight-grid { grid-template-columns: 1fr; } }
.ea-highlight-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ea-stat-card-big { grid-column: 1 / -1; background: rgba(212,175,55,.08); border-color: rgba(212,175,55,.3); }
.ea-stat-card-big .ea-stat-value { font-size: 2.8rem; }

/* ---- Trade lists / prose content ---- */
.ea-trade-list { list-style: none; margin: 0; padding: 0; }
.ea-trade-list li { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--ea-silver); font-size: .92rem; line-height: 1.5; }
.ea-trade-list li:last-child { border-bottom: none; }
.ea-trade-list strong { color: var(--ea-ink); }

.ea-prose { color: var(--ea-silver); line-height: 1.75; }
.ea-prose h2, .ea-prose h3 { color: var(--ea-ink); margin: 1.75rem 0 .75rem; }
.ea-prose p { margin: 0 0 1rem; }
.ea-prose ul, .ea-prose ol { margin: 0 0 1.25rem 1.25rem; padding: 0; }
.ea-prose li { margin-bottom: .5rem; }
.ea-prose a { color: var(--ea-amber-bright); }

/* ---- Mascot guide banner (rotating facts) ---- */
.ea-guide-banner { display: flex; align-items: center; gap: 2rem; background: linear-gradient(135deg, rgba(212,175,55,.08), rgba(255,255,255,.02)); border: 1px solid rgba(212,175,55,.2); border-radius: 24px; padding: 2rem; }
.ea-guide-mascot { width: 110px; height: auto; flex-shrink: 0; }
.ea-guide-bubble { flex: 1; }
.ea-guide-label { font-weight: 700; color: var(--ea-amber-bright); margin-bottom: .35rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.ea-guide-slides { position: relative; min-height: 2.6rem; }
.ea-fact { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; line-height: 1.5; color: var(--ea-silver); }
.ea-fact.is-active { position: relative; opacity: 1; transform: translateY(0); }
@media (max-width: 640px) { .ea-guide-banner { flex-direction: column; text-align: center; } }

/* ---- Services as a route (homepage + servicos.php) ---- */
.ea-route-list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; margin-top: 3rem; }
.ea-route-services { position: absolute; top: -1.6rem; left: 0; width: 100%; height: 6px; z-index: 0; }
.ea-route-stop { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.25rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; text-decoration: none; color: var(--ea-ink); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.ea-route-stop:hover { transform: translateY(-6px); border-color: var(--ea-amber); background: rgba(212,175,55,.08); }
.ea-route-stop-num { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ea-amber); color: #14100a; font-weight: 700; font-size: .85rem; font-family: 'Space Grotesk', sans-serif; }
.ea-route-stop-title { font-weight: 700; font-size: 1.02rem; }
.ea-route-stop-excerpt { color: var(--ea-silver); font-size: .85rem; line-height: 1.5; flex: 1; }
.ea-route-stop-more { color: var(--ea-amber-bright); font-size: .82rem; font-weight: 600; }
@media (max-width: 980px) { .ea-route-list { grid-template-columns: repeat(2, 1fr); } .ea-route-services { display: none; } }
@media (max-width: 640px) { .ea-route-list { grid-template-columns: 1fr; } }

/* ---- Feature cards (Why Ember Ascend) ---- */
.ea-feature-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1.75rem; }
.ea-feature-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(212,175,55,.12); color: var(--ea-amber-bright); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.ea-feature-icon svg { width: 22px; height: 22px; }
.ea-feature-card h3 { margin: 0 0 .5rem; }
.ea-feature-card p { color: var(--ea-silver); font-size: .9rem; line-height: 1.6; margin: 0; }

/* ---- Service image tiles ---- */
.ea-service-tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.ea-service-tile { position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: 16px; background-size: cover; background-position: center; overflow: hidden; text-decoration: none; }
.ea-service-tile-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,15,0) 30%, rgba(11,11,15,.92)); }
.ea-service-tile-label { position: relative; z-index: 1; padding: 1.25rem; color: #fff; font-weight: 700; font-size: 1.05rem; font-family: 'Space Grotesk', sans-serif; }

/* ---- Post cards (blog) ---- */
.ea-post-card { display: block; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ea-ink); transition: transform .2s ease, border-color .2s ease; }
.ea-post-card:hover { transform: translateY(-6px); border-color: var(--ea-amber); }
.ea-post-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.ea-post-card-body { padding: 1.25rem; }
.ea-post-meta { font-size: .78rem; color: var(--ea-amber-bright); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.ea-post-card h3 { margin: .2rem 0 .5rem; font-size: 1.05rem; }
.ea-post-card p { color: var(--ea-silver); font-size: .88rem; line-height: 1.5; margin: 0; }

.ea-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.ea-page-link { padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); color: var(--ea-silver); text-decoration: none; font-weight: 600; font-size: .9rem; }
.ea-page-link.is-active { background: var(--ea-amber); color: #14100a; border-color: var(--ea-amber); }
.ea-page-link:hover { border-color: var(--ea-amber); color: var(--ea-amber-bright); }

/* ---- Port cards ---- */
.ea-port-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1.5rem; transition: transform .2s ease, border-color .2s ease; }
.ea-port-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.4); }
.ea-port-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.ea-port-meta { color: var(--ea-amber-bright); font-size: .82rem; font-weight: 600; margin-bottom: .6rem; }
.ea-port-detail { font-size: .82rem; color: var(--ea-silver); margin: .25rem 0; }
.ea-port-search-wrap { max-width: 420px; margin: 0 auto 2.5rem; }
.ea-port-search-wrap label { display: block; font-size: .85rem; font-weight: 600; color: var(--ea-silver); margin-bottom: .4rem; }

.ea-port-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: center; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 2.5rem; }
@media (max-width: 900px) { .ea-port-band { grid-template-columns: 1fr; } }
.ea-port-map { position: relative; height: 140px; }
.ea-port-map svg { width: 100%; height: 100%; }
.ea-port-map path { fill: none; stroke: var(--ea-amber); stroke-width: 2; stroke-dasharray: 6 8; opacity: .6; animation: eaDash 10s linear infinite; }
.ea-port-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--ea-amber-bright); animation: eaPulseDotFlat 2.2s ease-in-out infinite; }
.ea-port-dot-a { left: 8%; top: 62%; }
.ea-port-dot-b { right: 8%; top: 28%; animation-delay: 1.1s; }
@keyframes eaPulseDotFlat { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.6); opacity: 1; } }

/* ---- Trust strip / about ---- */
.ea-about { position: relative; overflow: hidden; }
.ea-about-watermark { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); height: 300px; max-width: 38%; width: auto; object-fit: contain; opacity: .09; filter: grayscale(1) brightness(3); pointer-events: none; }
@media (max-width: 900px) { .ea-about-watermark { display: none; } }
.ea-about-inner { position: relative; max-width: 720px; }
.ea-about-body { color: var(--ea-silver); line-height: 1.75; margin-bottom: 1.5rem; }
.ea-about-actions { margin-bottom: 1rem; }
.ea-trust-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: var(--ea-amber-bright); font-weight: 600; margin-top: 1.5rem; }
.ea-trust-sep { color: rgba(255,255,255,.25); }

/* ---- Split layout ---- */
.ea-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .ea-split { grid-template-columns: 1fr; } }

/* ---- Forms ---- */
.ea-form-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 2rem; }
.ea-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 640px) { .ea-form-row { grid-template-columns: 1fr; } }
.ea-form-group { margin-bottom: 1rem; }
.ea-form-group.full { grid-column: 1 / -1; }
.ea-form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--ea-silver); margin-bottom: .4rem; }
.ea-form-group input, .ea-form-group select, .ea-form-group textarea {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: .75rem .9rem; color: var(--ea-ink); font-family: inherit; font-size: .95rem;
  box-sizing: border-box; transition: border-color .15s ease, box-shadow .15s ease;
}
.ea-form-group textarea { min-height: 130px; resize: vertical; }
.ea-form-group input:focus, .ea-form-group select:focus, .ea-form-group textarea:focus {
  outline: none; border-color: var(--ea-amber); box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}
.ea-form-group select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23dec369'><path d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23dec369' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right .9rem center; }
.ea-form-group select option { color: #14100a; }
.ea-honeypot { position: absolute; left: -9999px; }

.ea-alert { padding: 1rem 1.25rem; border-radius: 12px; font-size: .9rem; margin-bottom: 1.5rem; }
.ea-alert-success { background: rgba(62,207,122,.12); border: 1px solid rgba(62,207,122,.35); color: #8ee7ae; }
.ea-alert-error { background: rgba(230,90,90,.12); border: 1px solid rgba(230,90,90,.35); color: #f3a6a6; }
.ea-alert-notice { background: rgba(212,175,55,.10); border: 1px solid rgba(212,175,55,.35); color: var(--ea-silver); font-size: .85rem; line-height: 1.6; }

/* ---- Long-form policy pages (compliance, legal) ---- */
.ea-policy-prose h2 { margin-top: 2.25rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: 1.35rem; }
.ea-policy-prose h2:first-of-type { margin-top: 1rem; border-top: none; padding-top: 0; }
.ea-policy-prose > p:first-child em { color: var(--ea-silver); font-size: .85rem; }

/* ---- CTA panel ---- */
.ea-cta-panel { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--ea-navy), var(--ea-navy-dark)); border: 1px solid rgba(212,175,55,.25); border-radius: 24px; padding: 3rem; }
.ea-cta-mascot { width: 100px; height: auto; flex-shrink: 0; }
.ea-cta-copy { flex: 1; min-width: 240px; }
.ea-cta-copy h2 { margin-bottom: .4rem; }
@media (max-width: 700px) { .ea-cta-panel { flex-direction: column; text-align: center; justify-content: center; } }

/* ---- Reveal on scroll ---- */
.ea-reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.ea-reveal.ea-reveal-pending { opacity: 0; transform: translateY(28px); }

/* ============================================================
   SITE CHROME — topbar, header/nav, footer
   ============================================================ */
.ea-topbar { background: var(--ea-navy-dark); border-bottom: 1px solid rgba(212,175,55,.15); padding: .5rem 0; font-size: .8rem; color: var(--ea-silver); }
.ea-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.ea-topbar-date { opacity: .7; }
.ea-topbar-rates strong { color: var(--ea-amber-bright); }
.ea-ticker-trend.up { color: #6fe39a; }
.ea-ticker-trend.down { color: #f08a8a; }
.ea-ticker-trend.flat { color: var(--ea-silver); }
.ea-ticker-updated { opacity: .55; margin-left: .3rem; }

.ea-site-header { background: var(--ea-navy-dark); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(212,175,55,.12); }
.ea-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1.5rem; }
.ea-logo { display: flex; align-items: center; text-decoration: none; }
.ea-logo img { height: 38px; width: auto; display: block; }
.ea-logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--ea-amber-bright); }
.ea-main-nav { display: flex; align-items: center; gap: 1.75rem; }
.ea-main-nav a { color: var(--ea-silver); text-decoration: none; font-weight: 600; font-size: .92rem; transition: color .15s ease; white-space: nowrap; }
.ea-main-nav a:hover, .ea-main-nav a.is-active { color: var(--ea-amber-bright); }
.ea-caret { font-size: .7em; }
.ea-dropdown { position: relative; }
.ea-dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--ea-navy-dark); border: 1px solid rgba(212,175,55,.2); border-radius: 12px; padding: .5rem; min-width: 240px; display: none; flex-direction: column; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.ea-dropdown:hover .ea-dropdown-menu { display: flex; }
.ea-dropdown-menu a { padding: .5rem .75rem; border-radius: 8px; }
.ea-dropdown-menu a:hover { background: rgba(212,175,55,.08); }
.ea-header-actions { display: flex; align-items: center; gap: 1rem; }
.ea-nav-toggle { display: none; background: none; border: none; color: var(--ea-ink); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 900px) {
  .ea-main-nav { position: fixed; inset: 68px 0 0 0; background: var(--ea-navy-dark); flex-direction: column; align-items: flex-start; padding: 2rem; gap: 1.25rem; display: none; overflow-y: auto; }
  .ea-main-nav.is-open { display: flex; }
  .ea-dropdown-menu { position: static; display: flex; box-shadow: none; border: none; background: transparent; padding-left: 1rem; min-width: 0; }
  .ea-nav-toggle { display: block; }
}

.ea-site-footer { background: var(--ea-navy-dark); border-top: 1px solid rgba(212,175,55,.15); padding: 3.5rem 0 0; margin-top: 4rem; }
.ea-footer-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-bottom: 2.5rem; }
.ea-footer-col h4 { font-family: 'Space Grotesk', sans-serif; color: var(--ea-amber-bright); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 1rem; }
.ea-footer-col p, .ea-footer-col a { color: var(--ea-silver); font-size: .88rem; text-decoration: none; line-height: 1.8; display: block; }
.ea-footer-col a:hover { color: var(--ea-amber-bright); }
.ea-social-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.ea-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; text-align: left; font-size: .8rem; color: var(--ea-silver); opacity: .85; }
.ea-footer-bottom-social { display: flex; gap: 1rem; }
.ea-footer-bottom-social a { color: var(--ea-silver); text-decoration: none; }
.ea-footer-bottom-social a:hover { color: var(--ea-amber-bright); }
@media (max-width: 900px) { .ea-footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ea-footer-bottom { flex-direction: column; text-align: center; } }

/* ---- FAQ accordion (native details/summary) ---- */
.ea-faq-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; margin-bottom: .9rem; overflow: hidden; }
.ea-faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--ea-ink); font-size: .98rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ea-faq-item summary::-webkit-details-marker { display: none; }
.ea-faq-item summary::after { content: '+'; color: var(--ea-amber-bright); font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.ea-faq-item[open] summary::after { content: '\2212'; }
.ea-faq-item .ea-faq-answer { padding: 0 1.4rem 1.25rem; color: var(--ea-silver); line-height: 1.7; font-size: .92rem; }

/* ---- Indicative rate table ---- */
.ea-rate-table-wrap { overflow-x: auto; margin: 1.25rem 0; }
.ea-rate-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 520px; }
.ea-rate-table th, .ea-rate-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); }
.ea-rate-table th { color: var(--ea-amber-bright); font-family: 'Space Grotesk', sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.ea-rate-table td { color: var(--ea-silver); }
.ea-rate-table tr:last-child td { border-bottom: none; }
.ea-rate-disclaimer { font-size: .78rem; color: var(--ea-silver); opacity: .7; margin-top: .5rem; }

/* ---- Certification / membership badges ---- */
.ea-cert-badge { background: rgba(255,255,255,.04); border: 1px dashed rgba(212,175,55,.35); border-radius: 14px; padding: 1.5rem; text-align: center; color: var(--ea-silver); font-size: .85rem; }
.ea-cert-badge strong { display: block; color: var(--ea-ink); font-family: 'Space Grotesk', sans-serif; margin-bottom: .35rem; }

/* ---- Placeholder / needs-content notice ---- */
.ea-alert-placeholder { background: rgba(255,255,255,.04); border: 1px dashed rgba(201,206,214,.4); color: var(--ea-silver); font-size: .85rem; line-height: 1.6; padding: 1rem 1.25rem; border-radius: 12px; }
@media (max-width: 560px) { .ea-footer-inner { grid-template-columns: 1fr; } }

.ea-whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.35); z-index: 60; }
.ea-chat-widget { position: fixed; bottom: 24px; left: 24px; z-index: 60; }
.ea-mascot-corner { position: relative; display: block; background: none; border: none; padding: 0; margin: 0; cursor: pointer; text-decoration: none; font: inherit; }
.ea-mascot-corner img { width: 64px; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); animation: eaFloat 4.5s ease-in-out infinite; display: block; }
.ea-mascot-tooltip { position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%); background: var(--ea-navy); color: var(--ea-amber-bright); padding: .5rem .85rem; border-radius: 10px; font-size: .78rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease; border: 1px solid rgba(212,175,55,.3); }
.ea-mascot-corner:hover .ea-mascot-tooltip { opacity: 1; }
.ea-mascot-corner[aria-expanded="true"] img { animation-play-state: paused; }

/* ---- Scripted chat assistant ---- */
.ea-chat-panel[hidden] { display: none; }
.ea-chat-panel {
  position: absolute; bottom: 84px; left: 0; width: 340px; max-width: calc(100vw - 32px);
  height: 460px; max-height: 70vh; background: var(--ea-navy-dark);
  border: 1px solid rgba(212,175,55,.25); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.ea-chat-header { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--ea-navy); border-bottom: 1px solid rgba(212,175,55,.15); }
.ea-chat-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,.06); flex-shrink: 0; }
.ea-chat-header-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.ea-chat-header-text strong { color: var(--ea-ink); font-size: .92rem; }
.ea-chat-header-text span { color: var(--ea-silver); font-size: .74rem; }
.ea-chat-close { background: none; border: none; color: var(--ea-silver); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: .25rem; }
.ea-chat-close:hover { color: var(--ea-amber-bright); }
.ea-chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.ea-chat-msg { display: flex; gap: .5rem; align-items: flex-start; }
.ea-chat-msg-avatar { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.ea-chat-bubble { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--ea-ink); padding: .6rem .85rem; border-radius: 14px; font-size: .86rem; line-height: 1.5; max-width: 240px; }
.ea-chat-msg-user { flex-direction: row-reverse; }
.ea-chat-msg-user .ea-chat-bubble { background: rgba(212,175,55,.14); border-color: rgba(212,175,55,.3); }
.ea-chat-cta { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.ea-chat-chips { display: flex; flex-wrap: wrap; gap: .45rem; padding-left: 30px; }
.ea-chat-chip {
  background: transparent; border: 1px solid rgba(212,175,55,.4); color: var(--ea-amber-bright);
  border-radius: 999px; padding: .4rem .8rem; font-size: .78rem; cursor: pointer; font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.ea-chat-chip:hover { background: rgba(212,175,55,.12); border-color: var(--ea-amber); }
.ea-chat-input-row { display: flex; align-items: center; gap: .5rem; padding: .7rem; border-top: 1px solid rgba(212,175,55,.15); background: var(--ea-navy); }
.ea-chat-input-row input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: .55rem .9rem; color: var(--ea-ink); font-size: .85rem; font-family: inherit; }
.ea-chat-input-row input:focus { outline: none; border-color: var(--ea-amber); }
.ea-chat-send { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--ea-amber); color: #14100a; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ea-chat-send:hover { background: var(--ea-amber-bright); }
@media (max-width: 480px) {
  .ea-chat-widget { left: 12px; bottom: 12px; }
  .ea-chat-panel { width: calc(100vw - 24px); bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .ea-float, .ea-route-path, .ea-route-dot, .ea-port-map path, .ea-port-dot, .ea-reveal.ea-reveal-pending {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* Trade News feed (homepage widget + trade-news.php) */
.ea-news-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .82rem; color: var(--ea-silver); margin-bottom: 1.25rem;
}
.ea-news-stale-flag { color: var(--ea-amber-bright); }
.ea-news-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem;
}
.ea-news-list-compact { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ea-news-item {
  display: flex; flex-direction: column; gap: .5rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 1.1rem 1.2rem; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.ea-news-item:hover {
  border-color: rgba(212,175,55,.4); background: rgba(212,175,55,.05); transform: translateY(-2px);
}
.ea-news-item-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.ea-news-source {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700;
  color: var(--ea-amber-bright); background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.25);
  border-radius: 999px; padding: .15rem .6rem; white-space: nowrap;
}
.ea-news-time { font-size: .76rem; color: var(--ea-silver); white-space: nowrap; flex-shrink: 0; }
.ea-news-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 1rem; line-height: 1.4;
  color: var(--ea-ink); margin: 0; font-weight: 600;
}
.ea-news-readmore { font-size: .8rem; color: var(--ea-amber-bright); margin-top: auto; }
.ea-news-disclaimer {
  margin-top: 1.75rem; font-size: .78rem; line-height: 1.6; color: var(--ea-silver);
  max-width: 70ch; font-style: italic;
}
