/* Comercial Transoceánica — shared styles */
:root {
  --bg: #EDF2F8;
  --surface: #F4F7FA;
  --surface-2: #EBF1F7;
  --line: #E1E7EE;
  --ink: #0B1F33;
  --text: #3A4A5D;
  --muted: #6A7A8D;
  --navy: #0B2545;
  --navy-2: #13355F;
  --accent: #1A6FD1;
  --accent-d: #1559A8;
  --accent-soft: #E6F0FB;
  --ok: #1F8A5B;
  --err: #C23B32;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 8px 24px rgba(11, 31, 51, .06);
  --shadow-lg: 0 2px 4px rgba(11, 31, 51, .04), 0 24px 48px rgba(11, 31, 51, .10);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* Language toggle: elements carry data-lang="en" | "es" */
html[lang="es"] [data-lang="en"],
html:not([lang="es"]) [data-lang="es"] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
h4 { font-size: 17px; letter-spacing: -0.005em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(26, 111, 209, .25); }
.btn-primary:hover { background: var(--accent-d); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-soft); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.brand-text span { font-size: 12px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.lang-toggle button {
  border: none; background: none; cursor: pointer;
  padding: 6px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
}
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,31,51,.12); }
.header .btn { padding: 11px 18px; font-size: 14px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  place-items: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .25s, background .25s;
}
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.header.open .menu-btn span { background: transparent; }
.header.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.header.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Hero (home) ---------- */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 100%;
  background: radial-gradient(60% 60% at 85% 10%, var(--accent-soft) 0%, transparent 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.8vw, 60px); text-wrap: balance; }
.hero h1 .accent { white-space: nowrap; }
.hero .lead { margin: 24px 0 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); }
.hero-badge svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media .photo {
  border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow-lg); background: var(--surface-2);
}
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.float-card .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.float-card .ico svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 17px; line-height: 1.2; }
.float-card span { font-size: 13px; color: var(--muted); }
.float-card.one { left: -36px; bottom: 48px; }
.float-card.two { right: -20px; top: 36px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 88px 0 72px; background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,111,209,.10) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); max-width: 820px; }
.page-hero .lead { margin-top: 20px; max-width: 680px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat { padding: 32px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 48px); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat-num small { font-size: .55em; color: var(--accent); margin-left: 2px; }
.stat p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
}
a.card:hover, .card.hover:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text); }
.card .num { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-bottom: 14px; display: block; }
.card .link-arrow { margin-top: 20px; font-size: 15px; }
.section-alt .card { background: #fff; }

.line-card { padding: 26px; display: flex; flex-direction: column; }
.line-card .ico { width: 42px; height: 42px; margin-bottom: 18px; }
.line-card .ico svg { width: 21px; height: 21px; }
.line-card h4 { margin-bottom: 6px; }
.line-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.line-card .num { margin-bottom: 0; position: absolute; top: 26px; right: 26px; font-size: 12px; }
.line-card.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.line-card.featured h4, .line-card.featured .num { color: #fff; }
.line-card.featured p { color: rgba(255,255,255,.75); }
.line-card.featured .ico { background: rgba(255,255,255,.12); color: #fff; }
.line-card.featured .link-arrow { color: #fff; margin-top: auto; padding-top: 16px; font-size: 14px; }
.line-card.adhoc { background: var(--surface); border-style: dashed; }

.check-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.check-list li:last-child { border-bottom: none; }
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.check-list li span small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- Feature split ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media { border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--surface-2); box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body p { margin-top: 18px; }
.feature-body .check-list { margin-top: 24px; }
.feature-body .btn, .feature-body .link-arrow { margin-top: 32px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px;
  margin-bottom: 20px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Quote ---------- */
.quote { text-align: center; max-width: 880px; margin: 0 auto; }
.quote blockquote {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -0.02em;
}
.quote blockquote .accent { color: var(--accent); }
.quote cite { display: block; margin-top: 20px; font-style: normal; color: var(--muted); font-size: 15px; }

/* ---------- Product table / pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.pill strong { color: var(--accent); margin-right: 6px; }
.spec { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-row:last-child { border-bottom: none; }
.spec-row dt { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 17px; }
.spec-row dd { color: var(--ink); font-size: 15px; }

.notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--radius); background: var(--accent-soft); color: var(--navy);
}
.notice svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--accent); }
.notice strong { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 2px; }
.notice p { font-size: 15px; color: var(--navy-2); }

/* ---------- Regions / banking ---------- */
.region { padding: 28px; }
.region .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.region h3 { margin-bottom: 10px; }
.region p { font-size: 15px; }
.bank { text-align: left; }
.bank .code { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); letter-spacing: -0.02em; }
.bank .country { color: var(--muted); font-size: 14px; margin-top: 4px; }
.currencies { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.currency { padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .04em; }

.standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.standard { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.standard strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.standard span { font-size: 14px; color: var(--muted); }

.facts { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.fact { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: none; }
.fact dt { color: var(--muted); font-size: 14px; }
.fact dd { color: var(--ink); font-weight: 500; font-size: 15px; }
.fact dd a { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy); color: #fff; border-radius: 24px;
  padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -100px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,111,209,.45) 0%, transparent 70%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 14px; font-size: 17px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.channels { display: grid; gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
a.channel:hover { border-color: transparent; box-shadow: var(--shadow-lg); }
.channel .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.channel .ico svg { width: 22px; height: 22px; }
.channel small { display: block; font-size: 13px; color: var(--muted); }
.channel strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; word-break: break-word; }
.channel.wa .ico { background: #E7F7EE; color: #1F9D55; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 28px; }
.form-card > p { margin: 10px 0 28px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background: #fff 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 1.5l5 5 5-5' stroke='%236A7A8D' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--err); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 320px; }
.form-foot .btn:disabled { opacity: .6; cursor: wait; }
.form-msg { display: none; padding: 16px 18px; border-radius: 10px; font-size: 15px; margin-bottom: 20px; }
.form-msg.show { display: block; }
.form-msg.ok { background: #E8F6EF; color: #145C3C; border: 1px solid #BFE5D1; }
.form-msg.err { background: #FBECEB; color: #8A2A23; border: 1px solid #F1C6C2; }
.form-msg a { text-decoration: underline; }
.hidden { display: none !important; }

.map-card { margin-top: 14px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map-card .addr { padding: 20px 22px; }
.map-card .addr strong { display: block; color: var(--ink); margin-bottom: 4px; }
.map-card .addr p { font-size: 15px; }
.map-card .addr .link-arrow { margin-top: 12px; font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 80px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer .brand { color: #fff; }
.footer .brand-mark { background: #fff; color: var(--navy); }
.footer .brand-text span { color: rgba(255,255,255,.6); }
.footer-about { margin-top: 20px; font-size: 15px; max-width: 340px; line-height: 1.65; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer li { margin-bottom: 12px; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.55);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header .btn-cta { display: none; }
  .header.open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 12px 20px 24px;
  }
  .header.open .nav a { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .header.open .nav .nav-cta { display: flex; margin-top: 8px; justify-content: center; background: var(--accent); color: #fff; }
  .hero-grid, .feature, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature.reverse .feature-media { order: 0; }
  .hero-media .photo { aspect-ratio: 16 / 11; }
  .float-card.one { left: 16px; bottom: 16px; }
  .float-card.two { right: 16px; top: 16px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: 48px; }
  .cta-band .actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .standards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .hero { padding: 40px 0 72px; }
  .page-hero { padding: 56px 0 48px; }
  .brand-text span { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badges { gap: 14px; flex-direction: column; }
  .float-card.two { display: none; }
  .float-card { padding: 14px 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .standards { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px; }
  .card { padding: 26px; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .cta-band { padding: 36px 24px; border-radius: 20px; }
  .cta-band .actions .btn { flex: 1 1 100%; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-head { margin-bottom: 36px; }
}
/* ---------- Photo hero (home) ---------- */
.hero-photo {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 860px);
  display: flex; align-items: flex-end;
  padding: 140px 0 48px; color: #fff; background: var(--navy);
}
.hero-photo::before { content: none; }
.hero-photo .bg, .photo-hero .bg, .photo-band img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-photo .bg { animation: slowzoom 18s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-photo::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 22, 42, .90) 0%, rgba(6, 22, 42, .62) 45%, rgba(6, 22, 42, .18) 100%),
    linear-gradient(0deg, rgba(6, 22, 42, .75) 0%, transparent 45%);
}
.hero-photo .container { width: 100%; }
.hero-copy { max-width: 720px; }
.hero-photo h1 { color: #fff; font-size: clamp(40px, 5.6vw, 72px); text-wrap: balance; }
.hero-photo h1 .accent { color: #8EC2FF; }
.hero-photo .lead { color: rgba(255, 255, 255, .86); margin: 24px 0 36px; max-width: 600px; }
.hero-photo .eyebrow { color: #A9D0FF; }
.hero-glass {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; overflow: hidden;
}
.hero-glass > div { padding: 22px 26px; border-right: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .72); }
.hero-glass > div:last-child { border-right: none; }
.hero-glass strong { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); color: #fff; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px; }

.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 22px 32px; }

/* ---------- Photo page hero (inner pages) ---------- */
.photo-hero { isolation: isolate; background: var(--navy); color: #fff; border-bottom: none; padding: 128px 0 96px; }
.photo-hero::after {
  inset: 0; width: auto; height: auto; border-radius: 0; z-index: -1; right: 0; top: 0;
  background: linear-gradient(90deg, rgba(6, 22, 42, .90) 0%, rgba(6, 22, 42, .66) 55%, rgba(6, 22, 42, .30) 100%);
}
.photo-hero h1 { color: #fff; }
.photo-hero .lead { color: rgba(255, 255, 255, .85); }
.photo-hero .eyebrow { color: #A9D0FF; }
.photo-hero .breadcrumb { color: rgba(255, 255, 255, .65); }
.photo-hero .breadcrumb a:hover { color: #fff; }

/* ---------- Photo band ---------- */
.photo-band { position: relative; isolation: isolate; overflow: hidden; min-height: 440px; display: flex; align-items: center; background: var(--navy); }
.photo-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 22, 42, .82) 0%, rgba(6, 22, 42, .35) 100%); }
.photo-band p { position: relative; max-width: 760px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -0.02em; }
.photo-band p span { color: #8EC2FF; }

/* ---------- Line cards with photo ---------- */
.line-card { overflow: hidden; }
.line-card .thumb {
  margin: -26px -26px 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2);
}
.line-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
a.line-card:hover .thumb img { transform: scale(1.06); }
.line-card .ico { position: relative; margin-top: -22px; background: #fff; box-shadow: 0 6px 16px rgba(11, 31, 51, .12); }
.line-card.featured .ico { background: var(--accent); color: #fff; }
.line-card.adhoc .ico { background: #fff; }
.line-card .num {
  top: 14px; right: 14px; z-index: 2;
  background: rgba(255, 255, 255, .92); color: var(--ink); padding: 4px 9px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.line-card.featured .num { color: var(--ink); }

@media (max-width: 1080px) {
  .hero-glass { grid-template-columns: repeat(2, 1fr); }
  .hero-glass > div:nth-child(2) { border-right: none; }
  .hero-glass > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 640px) {
  .hero-photo { min-height: 0; padding: 96px 0 28px; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(6, 22, 42, .92) 0%, rgba(6, 22, 42, .62) 60%, rgba(6, 22, 42, .45) 100%); }
  .hero-glass { margin-top: 44px; }
  .hero-glass > div { padding: 16px 18px; }
  .trust-row { padding: 18px 20px; flex-direction: column; }
  .photo-hero { padding: 88px 0 64px; }
  .photo-band { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Bento: featured bunkering card in the centre ---------- */
.bento, .bento-3 { grid-auto-flow: dense; }
.bento .line-card.featured { grid-column: 2 / span 2; grid-row: 1 / span 2; }
.bento-3 .line-card.featured { grid-column: 2; grid-row: 1 / span 2; }
.bento-3 .line-card.adhoc { grid-column: 1 / -1; }
.line-card.featured .thumb { aspect-ratio: auto; flex: 1 1 auto; min-height: 240px; }
.line-card.featured h4 { font-size: 22px; }
.line-card.featured .num { background: var(--accent); color: #fff; }
@media (max-width: 1080px) {
  .bento .line-card.featured, .bento-3 .line-card.featured { grid-column: 1 / -1; grid-row: auto; }
  .line-card.featured .thumb { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
}
.bento-3 .line-card.adhoc .thumb { aspect-ratio: 24 / 5; }
@media (max-width: 640px) { .bento-3 .line-card.adhoc .thumb { aspect-ratio: 16 / 10; } }
.line-card .card-cta { margin-top: auto; padding-top: 16px; font-size: 14px; }
.line-card p { margin-bottom: 4px; }

/* ---------- Policy pages ---------- */
.page-hero .updated { margin-top: 18px; font-size: 14px; color: var(--muted); }
.policy { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.policy-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14px; }
.policy-toc strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: 12px; }
.policy-toc li { margin-bottom: 8px; }
.policy-toc a { color: var(--muted); }
.policy-toc a:hover { color: var(--accent); }
.policy-body { max-width: 760px; }
.policy-block { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.policy-block:last-child { border-bottom: none; margin-bottom: 0; }
.policy-block h2 { font-size: 24px; margin-bottom: 14px; }
.policy-block p { margin-bottom: 12px; color: var(--text); }
.policy-block a, .notice p a, .consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.policy-list { margin: 8px 0 4px; }
.policy-list li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.policy-list li:last-child { border-bottom: none; }
.policy-list li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Form consent + footer legal links ---------- */
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--text); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a:hover { color: #fff; }

@media (max-width: 1080px) {
  .policy { grid-template-columns: 1fr; gap: 32px; }
  .policy-toc { position: static; }
}
.contact-grid > *, .policy > * { min-width: 0; }
.notice p, .policy-block p, .channel strong { overflow-wrap: anywhere; }


/* =========================================================
   Backgrounds: tinted base, dotted alt sections, dark sections
   ========================================================= */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 100% -10%, rgba(26, 111, 209, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(11, 37, 69, .06), transparent 60%);
  background-attachment: fixed;
}
.header { background: rgba(237, 242, 248, .86); }
.header.scrolled { box-shadow: 0 6px 20px rgba(11, 31, 51, .06); }
.trust { background: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); }
.section-alt, .section-dots {
  background-color: #E3EBF5;
  background-image: radial-gradient(rgba(11, 37, 69, .10) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.section-dark {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .8);
  background: radial-gradient(800px 400px at 85% 0%, rgba(26, 111, 209, .45), transparent 65%),
              radial-gradient(600px 400px at 0% 100%, rgba(26, 111, 209, .22), transparent 60%),
              var(--navy);
}
.section-dark:not(.section) { padding: 96px 0; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .eyebrow { color: #A9D0FF; }
.section-dark .lead, .section-dark .section-head p { color: rgba(255, 255, 255, .78); }
.section-dark .step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.section-dark .step::before { background: var(--accent); }
.section-dark .step p { color: rgba(255, 255, 255, .7); }
.card, .step, .standard, .facts, .spec, .channel, .form-card { background: #fff; }
.card, .standard, .channel { box-shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 6px 18px rgba(11, 31, 51, .05); border-color: rgba(11, 31, 51, .06); }
.field input, .field select, .field textarea { background-color: #F7FAFD; }
.quote blockquote { text-wrap: balance; }

/* =========================================================
   Policy pages (compliance, privacy, legal) — modern layout
   ========================================================= */
.policy-hero { padding-bottom: 88px; }
.policy-hero .updated { color: rgba(255, 255, 255, .6); margin-top: 22px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar {
  display: flex; flex-direction: column; gap: 6px; padding: 24px;
  border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px);
  transition: background .25s, transform .25s, border-color .25s;
}
.pillar:hover { background: rgba(255, 255, 255, .11); border-color: rgba(142, 194, 255, .5); transform: translateY(-3px); }
.pillar-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 10px; }
.pillar-ico svg { width: 22px; height: 22px; }
.pillar strong { font-family: var(--font-display); color: #fff; font-size: 18px; }
.pillar span:last-child { font-size: 14px; color: rgba(255, 255, 255, .65); }

.policy-toc {
  background: rgba(255, 255, 255, .8); backdrop-filter: blur(10px);
  border: 1px solid rgba(11, 31, 51, .06); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 6px 18px rgba(11, 31, 51, .05);
}
.policy-toc li { margin-bottom: 4px; }
.policy-toc a { display: block; padding: 7px 10px; border-radius: 8px; transition: background .2s, color .2s; }
.policy-toc a:hover, .policy-toc a.active { background: var(--accent-soft); color: var(--accent); }
.policy-body { max-width: none; display: grid; gap: 20px; }
.policy-block {
  background: #fff; border: 1px solid rgba(11, 31, 51, .06); border-radius: 18px;
  padding: 32px 34px; margin: 0; box-shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 10px 28px rgba(11, 31, 51, .06);
}
.policy-block:last-child { margin: 0; border-bottom: 1px solid rgba(11, 31, 51, .06); }
.policy-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.policy-head h2 { margin: 0; font-size: 22px; }
.policy-ico { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.policy-ico svg { width: 22px; height: 22px; }
.policy-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.policy-list li::before { content: none; }
.policy-list li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.policy-block.highlight { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; }
.policy-block.highlight::after { content: ''; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 111, 209, .5), transparent 70%); }
.policy-block.highlight > * { position: relative; z-index: 1; }
.policy-block.highlight h2 { color: #fff; }
.policy-block.highlight p { color: rgba(255, 255, 255, .8); }
.policy-block.highlight a:not(.btn) { color: #8EC2FF; }
.policy-block.highlight .policy-ico { background: rgba(255, 255, 255, .12); color: #fff; }
.policy-block.highlight .policy-list li { color: #fff; border-color: rgba(255, 255, 255, .14); }
.policy-block.highlight .policy-list li svg { color: #8EC2FF; }
.policy-block .btn { text-decoration: none; }

@media (max-width: 1080px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .policy-block { padding: 24px 20px; }
  .policy-head h2 { font-size: 19px; }
  .section-dark:not(.section) { padding: 72px 0; }
}
.policy-block a.btn, .notice p a.btn { text-decoration: none; }
.policy-block a.btn-primary { color: #fff; }
.policy-block a.btn-light { color: var(--navy); }

/* =========================================================
   Photo behind every section (loaded when it scrolls into view)
   ========================================================= */
.has-bg { position: relative; isolation: isolate; background: transparent !important; }
.has-bg::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--navy) center / cover no-repeat;
  transition: opacity .8s ease;
}
.has-bg.bg-in::before { background-image: var(--bgimg); }
.has-bg::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bg-light::before { background-color: #DCE6F2; }
.bg-light::after {
  background:
    linear-gradient(180deg, rgba(237, 242, 248, .78) 0%, rgba(237, 242, 248, .62) 50%, rgba(237, 242, 248, .80) 100%);
  backdrop-filter: blur(3px) saturate(120%);
  -webkit-backdrop-filter: blur(3px) saturate(120%);
}
.bg-light .section-head h2, .bg-light .feature-body h2, .bg-light .quote blockquote { text-shadow: 0 1px 12px rgba(237, 242, 248, .9); }
.bg-light .lead, .bg-light .section-head p, .bg-light .feature-body p { color: #22344A; }
.bg-dark::after {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(26, 111, 209, .35), transparent 65%),
    linear-gradient(180deg, rgba(8, 24, 46, .88) 0%, rgba(8, 24, 46, .80) 50%, rgba(8, 24, 46, .92) 100%);
}

.footer.has-bg { background: transparent !important; }

/* ---------- Glass cards: translucent white over the section photos ---------- */
.card, .standard, .facts, .channel, .form-card, .spec, .policy-toc,
.policy-block:not(.highlight), .map-card, .section:not(.section-dark) .step {
  background: rgba(255, 255, 255, .58) !important;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 12px 32px rgba(11, 31, 51, .08), inset 0 1px 0 rgba(255, 255, 255, .6);
}
a.card:hover { background: rgba(255, 255, 255, .72) !important; }
.line-card.adhoc { border-style: solid; }
.line-card .ico, .policy-ico, .channel .ico, .card .ico { background: rgba(230, 240, 251, .85); }
.line-card .ico { background: rgba(255, 255, 255, .9); }
.field input, .field select, .field textarea { background-color: rgba(255, 255, 255, .7); border-color: rgba(11, 31, 51, .12); }
.fact, .policy-list li, .check-list li { border-color: rgba(11, 31, 51, .08); }
.notice { background: rgba(230, 240, 251, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .6); }
html:not(.js) .has-bg::before { background-image: var(--bgimg); }
