:root {
  color-scheme: light;
  --ink: #1e293b;
  --muted: #475569;
  --surface: #f4f6f9;
  --surface-elevated: #ffffff;
  --line: #dbe1ea;
  --line-strong: #c2ccd9;
  --blue: #174d98;
  --blue-hover: #0f3a76;
  --navy: #0c1724;
  --white: #ffffff;
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8.5vw, 118px);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 8px -2px rgba(12, 23, 36, 0.06), 0 1px 3px rgba(12, 23, 36, 0.04);
  --shadow-md: 0 12px 28px -8px rgba(12, 23, 36, 0.1), 0 4px 10px -3px rgba(12, 23, 36, 0.05);
  --shadow-lg: 0 20px 44px -12px rgba(12, 23, 36, 0.16), 0 6px 14px -4px rgba(12, 23, 36, 0.06);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection {
  background: var(--blue);
  color: var(--white);
}
html {
  background: var(--white);
  color: var(--ink);
  font: 16px/1.6 var(--font-sans);
  caret-color: var(--blue);
  scrollbar-color: #94a3b8 var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { margin: 0; overflow-x: hidden; }
#main-content:focus { outline: none; }
.skip-link {
  position: absolute;
  top: -120px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: top 180ms var(--ease-out);
}
.skip-link:focus { top: 16px; outline: 3px solid var(--white); outline-offset: 2px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  overflow-wrap: break-word;
  text-wrap: balance;
}
p, li, td, figcaption { text-wrap: pretty; }
a {
  color: var(--blue);
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
a:hover { color: var(--blue-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.container, .header-inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
  min-height: 76px;
}
.brand { display: block; flex: 0 0 auto; width: clamp(160px, 19vw, 238px); }
.brand img { display: block; width: 100%; height: auto; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.nav-links a, .lang-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.nav-links a { padding-inline: 6px; border-radius: 8px; transition: opacity 180ms var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current] { text-decoration: underline; text-underline-offset: .26em; text-decoration-thickness: 2px; }
.lang-pill {
  margin-left: auto;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.lang-pill:hover { background: var(--surface); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.home-page .site-header { position: absolute; inset: 0 0 auto; z-index: 2; color: #fff; background: transparent; border-bottom-color: rgba(255, 255, 255, 0.14); }
.home-page .brand img, .brand-footer img { filter: brightness(0) invert(1); }
.home-page .lang-pill { background: #fff; color: var(--ink); border-color: transparent; box-shadow: var(--shadow-sm); }
.home-page .lang-pill:hover { background: #eef2f7; }

.hero { padding-block: clamp(54px, 8vw, 100px); background: var(--surface); }
.hero h1 {
  max-width: 19ch;
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.036em;
}
.hero .lead, .article-header .lead {
  max-width: 62ch;
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.62;
}
.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: start;
  min-height: max(610px, min(90svh, 900px));
  padding-block: clamp(132px, 15vh, 186px) 84px;
  background: var(--navy);
  color: #fff;
}
.hero-background, .home-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-background { object-fit: cover; object-position: 55% 52%; }
.home-hero::after {
  content: "";
  background: linear-gradient(180deg, rgba(7, 17, 27, 0.91) 0%, rgba(7, 17, 27, 0.25) 54%, rgba(7, 17, 27, 0.08) 100%),
              linear-gradient(90deg, rgba(7, 17, 27, 0.93) 0%, rgba(7, 17, 27, 0.65) 48%, rgba(7, 17, 27, 0.06) 100%);
}
.home-hero h1 {
  max-width: none;
  font-size: clamp(3rem, 5.6vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: none;
  margin: 0 0 12px;
}
.home-hero .lead { max-width: 58ch; color: rgba(255, 255, 255, 0.94); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; }
.home-hero .lead code {
  background: rgba(255, 255, 255, 0.14);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .92em;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(12, 23, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f1f5f9;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.hero-search-portal {
  margin-top: 32px;
  max-width: 820px;
  background: rgba(12, 23, 36, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: var(--shadow-lg);
}
.hero-search-form {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr auto;
  gap: 10px;
}
.hero-search-input, .hero-search-select {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
}
.hero-search-input:focus, .hero-search-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
  outline: none;
}
.hero-search-btn {
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.hero-search-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.hero-ports-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .84rem;
  color: #cbd5e1;
}
.hero-ports-label { font-weight: 700; color: #f8fafc; margin-right: 4px; }
.hero-port-tag, .hero-port-chip {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: .82rem;
  font-weight: 600;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.hero-port-tag:hover, .hero-port-chip:hover {
  background: rgba(37, 99, 235, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
  transform: translateY(-1px);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { color: var(--ink); background: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: #eef2f7; color: var(--ink); box-shadow: var(--shadow-lg); }
.btn-secondary {
  color: #fff;
  background: rgba(12, 23, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(12, 23, 36, 0.92); color: #fff; }
.btn-dark { color: #fff; background: var(--ink); box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--blue); color: #fff; box-shadow: var(--shadow-md); }

main.container, .home-content { padding-block: var(--section); }
.section + .section { margin-top: var(--section); }
.section h2 {
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
  margin-bottom: 20px;
}
.section > p { color: var(--muted); max-width: 70ch; margin: 0 0 24px; }
.home-feature, .editorial-section { text-align: center; }
.home-feature h2, .editorial-section h2 { text-transform: uppercase; }
.home-feature > p { margin: 28px auto 0; }
.editorial-section .btn { margin-top: 28px; }
.category-grid, .grid, .guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(230px, 26vw, 340px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.16;
  letter-spacing: -.025em;
  font-weight: 800;
  padding: clamp(18px, 2.2vw, 26px);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.category-tile img, .category-tile::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.category-tile img { object-fit: cover; transition: transform 320ms var(--ease-out); }
.category-tile::after { content: ""; background: linear-gradient(0deg, rgba(7, 17, 27, 0.94) 0%, rgba(7, 17, 27, 0.08) 76%); }
.category-tile:hover img, .guide-card a:hover img { transform: scale(1.035); }
.category-tile:hover span { text-decoration: underline; }
.card {
  padding: clamp(20px, 2.5vw, 30px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { font-size: 1.26rem; letter-spacing: -.025em; line-height: 1.24; margin-bottom: 10px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--blue); text-decoration: underline; }
.card p, .meta-list { color: var(--muted); font-size: .94rem; }
.card p + p { margin-top: 12px; }
.meta-list {
  list-style: none;
  padding: 14px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.meta-list li + li { margin-top: 6px; }
.business-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--surface-elevated); }
.business-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--navy); }
.business-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease-out); }
.business-card-media:hover img { transform: scale(1.035); }
.business-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(12, 23, 36, 0.86);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.business-card-body { padding: clamp(18px, 2.3vw, 26px); display: flex; flex-direction: column; flex: 1; }
.business-card-body .meta-list { margin-top: auto; }
.section-cta { margin-top: 28px; text-align: center; }
.breadcrumbs { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.breadcrumbs a { color: inherit; }

.editorial-hero { background: #fff; text-align: center; padding-bottom: 0; }
.editorial-hero h1, .editorial-hero .lead { margin-inline: auto; }
.editorial-hero .breadcrumbs { text-align: left; }
.editorial-hero + main.container { padding-top: clamp(42px, 6vw, 84px); }
.guide-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; }
.guide-filters select, .guide-filters input {
  max-width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-size: .95rem;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.guide-filters select { cursor: pointer; }
.guide-filters select:focus, .guide-filters input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 77, 152, 0.16);
  outline: none;
}
.guide-filters label { max-width: 100%; }
.filter-empty { margin-inline: auto !important; }
.guide-grid-featured { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.guide-grid-featured > .guide-card { grid-column: span 2; }
.guide-grid-featured > .guide-card:nth-child(-n+2) { grid-column: span 3; }
.guide-card { min-width: 0; }
.guide-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.guide-card > a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.guide-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 320ms var(--ease-out);
}
.guide-card-copy {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  padding: clamp(18px, 2.1vw, 26px);
  background: inherit;
}
.guide-card h3 { font-size: clamp(1.15rem, 1.85vw, 1.5rem); line-height: 1.2; letter-spacing: -.028em; }
.guide-card a:hover h3 { color: var(--blue); text-decoration: underline; }
.guide-card p, .guide-card time { color: var(--muted); font-size: .92rem; }
.guide-card .guide-topic, .guide-card time { font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.guide-card .guide-topic { color: var(--blue); }
.guide-card time { margin-top: auto; padding-top: 8px; }
main.article-page { padding-top: clamp(26px, 4vw, 56px); }
.article-header { text-align: center; margin-bottom: 40px; }
.article-header .breadcrumbs { text-align: left; }
.article-header h1 {
  max-width: 21ch;
  margin: 28px auto 14px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.036em;
}
.article-header .lead { margin-inline: auto; color: var(--muted); }
.article-byline { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.article-byline a { color: inherit; font-weight: 600; }
.article-figure { margin-inline: auto; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article-header .article-figure img { aspect-ratio: 2.2; object-fit: cover; }
.article-figure figcaption { padding: 10px 0 0; color: var(--muted); font-size: .85rem; }
.article-body, .article-shell > .article-figure, .directory-bridge { max-width: 74ch; margin-inline: auto; }
.article-shell > .article-figure, .article-inline-figure { margin-block: 36px; }
.article-inline-figure {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.article-inline-figure figcaption { padding: 10px 6px 2px; }
.article-shell > .section { margin-top: 64px; }
.article-body { font-size: clamp(1.02rem, 1.5vw, 1.12rem); line-height: 1.72; }
.article-body h2 { margin: 46px 0 14px; font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.15; letter-spacing: -.032em; }
.article-body h3 { margin: 32px 0 10px; font-size: 1.24rem; line-height: 1.25; letter-spacing: -.02em; }
.article-body p + p { margin-top: 1.05em; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 6px; }
.article-body a, .directory-bridge a { overflow-wrap: anywhere; }
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  background: var(--surface-elevated);
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 12px 15px;
  text-align: left;
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #f8fafd; }
th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .01em;
}
.callout, .directory-bridge, .editorial-callout {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  padding: 22px 26px;
  border-radius: var(--radius);
  margin-block: 26px;
}
.editorial-callout strong:first-child {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.home-content h3 { margin: 32px 0 10px; font-size: clamp(1.24rem, 2.1vw, 1.52rem); line-height: 1.22; letter-spacing: -.025em; }
.home-content p + p { margin-top: 1em; }
.home-content .article-figure {
  margin-block: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 34px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
}
.faq-block {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
}
.faq-item + .faq-item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: -.015em;
}
.faq-item p {
  margin: 0;
  color: var(--muted);
}
.directory-bridge h3 { margin-bottom: 6px; }
.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 38px;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}
.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-box span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.contact-desks { margin-bottom: 42px; }
.contact-form-section {
  max-width: 860px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
}
.form-status {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #14532d;
  font-weight: 600;
  font-size: .95rem;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.contact-form select { cursor: pointer; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 77, 152, 0.16);
  outline: none;
}
.contact-form button { align-self: flex-start; cursor: pointer; border: none; }

.split-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
  margin-top: 24px;
}
.story-narrative {
  min-width: 0;
}
.story-narrative h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 800;
  margin-bottom: 18px;
}
.story-narrative p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 16px;
}
.story-narrative a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.story-narrative a:hover {
  color: var(--navy);
}
.semantic-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}
.semantic-card h3 {
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.semantic-card p {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.story-visuals {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.story-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.story-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.story-figure figcaption {
  padding: 12px 16px;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.45;
  border-top: 1px solid var(--line);
  background: var(--surface-elevated);
}

.corridor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.corridor-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.corridor-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.corridor-badge {
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.corridor-card h3 {
  font-size: 1.05rem;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  line-height: 1.25;
}
.corridor-ports {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 12px;
  flex: 1;
}
.corridor-meta {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.cta-banner-naval {
  margin-top: var(--section);
  background: linear-gradient(135deg, var(--navy) 0%, #0d2847 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 54px);
  color: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.cta-banner-naval h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta-banner-naval p {
  color: #cbd5e1;
  max-width: 65ch;
  margin: 0 auto 26px;
  font-size: 1.02rem;
  line-height: 1.55;
}
.cta-banner-naval .cta-row {
  justify-content: center;
  margin-top: 0;
}

/* ==========================================================================
   MAGIC UI MARITIME DESIGN SYSTEM
   ========================================================================== */

.home-page {
  background-color: #060b14;
  color: #f1f5f9;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 100% 30%, rgba(14, 165, 233, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 0% 70%, rgba(30, 58, 138, 0.12) 0%, transparent 45%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
}
.home-page .container {
  max-width: 1380px !important;
  width: 100%;
}
.home-page .section h2 {
  color: #ffffff;
  letter-spacing: -.03em;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
}
.home-page .section > p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 68ch;
}

/* Compact Business Card Styles */
.business-compact-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.compact-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.compact-tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #93c5fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.compact-summary {
  font-size: .88rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.compact-action-link {
  font-size: .84rem;
  font-weight: 700;
  color: #60a5fa;
  text-decoration: none;
  margin-top: 2px;
}
.compact-action-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Magic UI Shimmer Badge */
.magic-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f8fafc;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.magic-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(0.85); }
}

/* Magic UI Verified Ports Ribbon */
.port-ribbon {
  position: relative;
  width: 100%;
  padding-block: 16px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ribbon-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}
.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
}
.ribbon-item strong {
  color: #ffffff;
  font-weight: 700;
}

/* Magic UI Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.bento-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0d1626;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, box-shadow 260ms ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 34px);
  min-height: 290px;
  text-decoration: none;
  color: #ffffff;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  text-decoration: none;
}
.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover img {
  transform: scale(1.05);
}
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 11, 20, 0.96) 0%, rgba(6, 11, 20, 0.55) 50%, rgba(6, 11, 20, 0.15) 100%);
  z-index: 1;
  transition: background 260ms ease;
}
.bento-card:hover::after {
  background: linear-gradient(0deg, rgba(6, 11, 20, 0.98) 0%, rgba(6, 11, 20, 0.45) 55%, rgba(6, 11, 20, 0.08) 100%);
}
.bento-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bento-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
  margin-bottom: 4px;
  backdrop-filter: blur(6px);
}
.bento-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.18;
  color: #ffffff;
  margin: 0;
}
.bento-desc {
  font-size: .92rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
  max-width: 52ch;
}
.bento-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: .88rem;
  font-weight: 700;
  color: #60a5fa;
  transition: gap 180ms ease, color 180ms ease;
}
.bento-card:hover .bento-action {
  gap: 10px;
  color: #93c5fd;
}
.bento-card-7 { grid-column: span 7; }
.bento-card-5 { grid-column: span 5; }

/* Magic UI macOS Window Mockup for Figures */
.magic-window {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b1322;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.magic-window-bar {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 8px;
}
.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.window-title {
  font-size: .78rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 8px;
  font-family: monospace;
}
.magic-window img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.magic-window figcaption {
  padding: 12px 18px;
  font-size: .84rem;
  color: #94a3b8;
  line-height: 1.45;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

/* Magic UI Dark Theme Components for Homepage */
.home-page .card {
  background: rgba(13, 22, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.home-page .card:hover {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.home-page .card h3, .home-page .card h3 a {
  color: #ffffff;
}
.home-page .card h3 a:hover {
  color: #60a5fa;
}
.home-page .card p, .home-page .meta-list {
  color: #94a3b8;
}
.home-page .meta-list {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.home-page .meta-list strong {
  color: #e2e8f0;
}
.home-page .meta-list a {
  color: #60a5fa;
}
.home-page .table-wrap {
  background: rgba(13, 22, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.home-page .table-wrap table {
  background: rgba(13, 22, 38, 0.9);
  border: none;
  color: #f1f5f9;
  border-radius: 14px;
  overflow: hidden;
}
.home-page thead tr {
  background: rgba(15, 23, 42, 0.95);
}
.home-page th {
  background: rgba(15, 23, 42, 0.95);
  color: #93c5fd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.home-page td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.home-page td a {
  color: #60a5fa;
}
.home-page tbody tr:hover,
.home-page tbody tr:hover td {
  background: rgba(37, 99, 235, 0.12);
}
.home-page td code {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}
.home-page .faq-block,
.home-page .faq-section {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.home-page .faq-item {
  background: rgba(13, 22, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.home-page .faq-item h3 {
  color: #ffffff;
  font-size: 1.15rem;
}
.home-page .faq-item p {
  color: #94a3b8;
  line-height: 1.6;
}
.home-page .callout {
  background: rgba(13, 22, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #cbd5e1;
  padding: 24px 26px;
}
.home-page .callout h3 {
  color: #ffffff;
}
.home-page .callout a {
  color: #60a5fa;
}
.home-page .callout li + li {
  margin-top: 8px;
}
.home-page .stat-box, .home-page .stat-card {
  background: rgba(13, 22, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.home-page .stat-box strong, .home-page .stat-number {
  color: #ffffff;
  white-space: nowrap;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}
.home-page .stat-box span, .home-page .stat-label {
  color: #94a3b8;
}
.home-page .semantic-card {
  background: rgba(8, 15, 28, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 14px;
}
.home-page .semantic-card h3 {
  color: #ffffff;
}
.home-page .semantic-card p {
  color: #cbd5e1;
}
.home-page .lead a,
.home-page .semantic-card a,
.home-page .authority-main-card p a,
.home-page .faq-item a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-page .lead a:hover,
.home-page .semantic-card a:hover,
.home-page .authority-main-card p a:hover,
.home-page .faq-item a:hover {
  color: #93c5fd;
}
.home-page .btn-dark {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.home-page .btn-dark:hover {
  background: #1d4ed8;
  color: #ffffff;
}
.home-page .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.home-page .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.site-footer { background: var(--navy); color: #cbd5e1; padding-block: 58px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.brand-footer { margin-bottom: 16px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: -.01em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: inherit; text-decoration: none; display: inline-block; padding-block: 2px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   SMASHING 41 BOOKS DESIGN OVERHAUL (HOMEPAGE, BLOG INDEX, BLOG POSTS)
   ========================================================================== */

.hero-search-portal {
  margin-top: 24px;
  max-width: 760px;
  background: rgba(8, 15, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero-search-form {
  display: grid;
  grid-template-columns: 1.45fr 1.15fr auto;
  gap: 10px;
  align-items: end;
}
.hero-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.hero-field-label {
  font-size: .75rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: .02em;
  padding-left: 2px;
}
.hero-search-input, .hero-search-select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  font-family: inherit;
  font-size: .92rem;
  box-sizing: border-box;
}
.hero-search-input::placeholder {
  color: #94a3b8;
  font-style: italic;
}
.hero-search-btn {
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.hero-search-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}
.section-head > div {
  max-width: 72ch;
}
.section-head h2 {
  margin-bottom: 10px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}
.home-page .section-head p {
  color: #94a3b8;
}
.section-head-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.section-head-link:hover {
  background: rgba(37, 99, 235, 0.28);
  border-color: #60a5fa;
  color: #93c5fd;
  transform: translateY(-1px);
  text-decoration: none;
}

.bento-top-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.bento-top-pills .bento-tag {
  margin-bottom: 0;
}
.bento-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bento-spec-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  backdrop-filter: blur(6px);
}

/* Inclusive Components Full-Card Click Pattern for GuideCard */
.guide-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.guide-card:hover,
.guide-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.guide-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy);
}
.guide-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease-out);
}
.guide-card:hover .guide-card-media img {
  transform: scale(1.04);
}
.guide-topic-pill {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #93c5fd;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.guide-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 24px);
}
.guide-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.guide-card h3 {
  font-size: clamp(1.12rem, 1.65vw, 1.38rem);
  line-height: 1.24;
  letter-spacing: -.024em;
  margin: 0;
}
.guide-card-link {
  color: var(--ink);
  text-decoration: none;
}
.guide-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 20px;
}
.guide-card-link:focus-visible {
  outline: none;
}
.guide-card:focus-within {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}
.guide-card:hover .guide-card-link {
  color: var(--blue);
  text-decoration: underline;
}
.guide-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.guide-card-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 180ms var(--ease-out);
}
.guide-card:hover .guide-card-cta {
  gap: 8px;
}
.home-page .guide-card {
  background: rgba(13, 22, 38, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.home-page .guide-card:hover,
.home-page .guide-card:focus-within {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.home-page .guide-card-link {
  color: #ffffff;
}
.home-page .guide-card:hover .guide-card-link {
  color: #60a5fa;
}
.home-page .guide-card p,
.home-page .guide-card-meta {
  color: #94a3b8;
}
.home-page .guide-card-cta {
  color: #60a5fa;
}

/* Phase 2: Blog Index Pages (/es/blog/, /blog/) */
.editorial-hero-banner {
  background: linear-gradient(135deg, #07101e 0%, #0d1e38 60%, #091526 100%);
  color: #f8fafc;
  padding-block: clamp(44px, 6vw, 78px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.editorial-hero-banner .breadcrumbs {
  color: #94a3b8;
  margin-bottom: 24px;
}
.editorial-hero-banner .breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
}
.editorial-hero-banner .breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.editorial-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.editorial-hero-main h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 0 0 16px;
  max-width: 22ch;
}
.editorial-hero-main .lead {
  color: #cbd5e1;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.62;
  margin: 0;
  max-width: 60ch;
}
.editorial-hero-main .lead a {
  color: #60a5fa;
  font-weight: 600;
}
.editorial-hero-card {
  background: rgba(13, 22, 38, 0.86);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 20px;
  padding: clamp(22px, 2.5vw, 28px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flagship-spotlight {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(24px, 3.5vw, 40px);
  align-items: center;
  background: var(--surface-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(18px, 2.5vw, 28px);
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}
.flagship-media {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy);
}
.flagship-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease-out);
}
.flagship-media:hover img {
  transform: scale(1.03);
}
.flagship-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #93c5fd;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.flagship-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flagship-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.flagship-body h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -.03em;
  margin: 0;
}
.flagship-body h2 a {
  color: var(--ink);
  text-decoration: none;
}
.flagship-body h2 a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.flagship-body p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
  margin: 0;
}
.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.flagship-secondary-link {
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue);
}

.guide-toolbar-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.guide-toolbar-header h2 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}
.guide-toolbar-lead {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
  font-size: .96rem;
}
.guide-count-status {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.guide-filters {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 0 0 32px;
}
.guide-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.guide-filter-field label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}
.guide-filter-field input,
.guide-filter-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-elevated);
  color: var(--ink);
  font: inherit;
  font-size: .94rem;
}
.guide-filter-field input::placeholder {
  color: #64748b;
  font-style: italic;
}
.filter-empty-box {
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  padding: 36px 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Phase 3: Individual Blog Post Pages (/es/blog/[slug]/, /blog/[slug]/) */
.article-header {
  text-align: left;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 18px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.article-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(23, 77, 152, 0.1);
  border: 1px solid rgba(23, 77, 152, 0.25);
  color: var(--blue);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
}
.article-cat-pill:hover {
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
}
.article-meta-sep {
  color: var(--line-strong);
}
.article-lang-switch {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.article-lang-switch:hover {
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: none;
}
.article-header h1 {
  max-width: 24ch;
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.035em;
  color: #0f172a;
}
.article-header .article-lead {
  margin: 0 0 20px;
  max-width: 68ch;
  font-size: clamp(1.06rem, 1.45vw, 1.22rem);
  line-height: 1.62;
  color: var(--muted);
}
.article-byline {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .9rem;
}
.article-figure-hero {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.article-figure-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.article-figure-hero figcaption {
  padding: 12px 18px;
  font-size: .84rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 66ch) minmax(260px, 340px);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  justify-content: space-between;
}
.article-main-col {
  min-width: 0;
}
.article-main-col .article-body {
  max-width: 66ch;
  margin: 0;
  font-size: clamp(1.04rem, 1.25vw, 1.125rem);
  line-height: 1.74;
  color: var(--ink);
}
.article-main-col .article-body h2 {
  scroll-margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin: 44px 0 16px;
  color: #0f172a;
}
.article-main-col .article-body h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.article-sidebar {
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.article-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.toc-title {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: toc-counter;
}
.toc-list li {
  counter-increment: toc-counter;
}
.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 160ms var(--ease-out);
}
.toc-list a::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .74rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}
.toc-list a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.article-dossier-card {
  background: linear-gradient(155deg, #0b1527 0%, #112240 100%);
  color: #f8fafc;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dossier-tag {
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}
.article-dossier-card h3 {
  color: #ffffff;
  font-size: 1.14rem;
  line-height: 1.25;
  margin: 0;
}
.article-dossier-card p {
  color: #cbd5e1;
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
}
.dossier-specs {
  list-style: none;
  margin: 4px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .8rem;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.dossier-specs li::before {
  content: "✓ ";
  color: #34d399;
  font-weight: 700;
}
.dossier-cta {
  width: 100%;
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: .88rem;
  padding: 10px 16px;
  border-radius: 10px;
}
.dossier-cta:hover {
  background: #1d4ed8 !important;
}
.dossier-secondary {
  font-size: .82rem;
  font-weight: 600;
  color: #93c5fd;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-governance-box {
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
.governance-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.governance-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.governance-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.article-governance-box h2 {
  font-size: 1.35rem;
  margin: 0 0 10px;
  color: #0f172a;
}
.article-governance-box p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}
.governance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-outline-ink {
  background: var(--surface-elevated);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-outline-ink:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--surface);
}
.form-privacy-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   CLEAN ARCHITECTURAL HERO & 3-PILLAR OVERVIEW
   ========================================================================== */

.home-hero {
  min-height: 620px;
  padding-block: clamp(124px, 14vh, 160px) 64px;
  align-items: center;
}
.home-hero::after {
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 11, 22, 0.88) 0%, rgba(5, 11, 22, 0.54) 50%, rgba(6, 11, 20, 0.96) 100%),
    radial-gradient(circle at 22% 38%, rgba(5, 11, 22, 0.82) 0%, transparent 66%);
}
.hero-clean-shell {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-hero h1 {
  font-size: clamp(3.2rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -.042em;
  margin: 0 0 18px;
  color: #ffffff;
}
.hero-lead-clean {
  max-width: 56ch;
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
  line-height: 1.55;
  color: #e2e8f0;
  margin: 0 0 28px;
  font-weight: 400;
}
.hero-lead-clean strong {
  color: #ffffff;
  font-weight: 600;
}
.hero-search-bar {
  width: 100%;
  max-width: 840px;
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px;
  border-radius: 18px;
  background: rgba(9, 16, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
}
.hero-bar-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 42px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
  font-size: .94rem;
  box-sizing: border-box;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.hero-bar-input::placeholder {
  color: #94a3b8;
}
.hero-bar-input:focus,
.hero-bar-select:focus {
  background: rgba(15, 23, 42, 0.96);
  border-color: #3b82f6;
  outline: none;
}
.hero-bar-select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  font: inherit;
  font-size: .92rem;
  cursor: pointer;
  box-sizing: border-box;
}
.hero-bar-btn {
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: .94rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.hero-bar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.55);
}
.hero-quick-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  width: 100%;
  margin-top: 22px;
}
.hero-quick-bar .cta-row {
  margin-top: 0;
  gap: 10px;
}
.hero-port-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.hero-kpi-strip {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.hero-kpi-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(10, 18, 34, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
}
.hero-kpi-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #ffffff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-kpi-item span {
  font-size: .84rem;
  color: #cbd5e1;
  line-height: 1.4;
}
.hero-kpi-link {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.26) 0%, rgba(16, 185, 129, 0.16) 100%);
  border-color: rgba(96, 165, 250, 0.45);
  transition: transform 180ms ease, border-color 180ms ease;
}
.hero-kpi-link:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
  text-decoration: none;
}
.hero-kpi-link strong {
  font-size: 1.2rem;
  color: #93c5fd;
}

.overview-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.overview-pillar-card {
  background: rgba(13, 22, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(24px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 200ms ease, border-color 200ms ease;
}
.overview-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.55);
}
.overview-pillar-featured {
  background: linear-gradient(155deg, rgba(18, 36, 70, 0.92) 0%, rgba(11, 20, 38, 0.95) 100%);
  border-color: rgba(59, 130, 246, 0.45);
}
.pillar-num {
  align-self: flex-start;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.38);
  color: #93c5fd;
}
.overview-pillar-featured .pillar-num {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}
.overview-pillar-card h3 {
  font-size: 1.28rem;
  line-height: 1.22;
  letter-spacing: -.025em;
  color: #ffffff;
  margin: 2px 0 0;
}
.overview-pillar-card p {
  font-size: .94rem;
  line-height: 1.58;
  color: #cbd5e1;
  margin: 0;
  flex: 1;
}
.overview-pillar-card p a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pillar-link {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: .88rem;
  font-weight: 700;
  color: #60a5fa !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pillar-link:hover {
  color: #93c5fd !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   CANONICAL DEFINITION PAGE (/es/que-es-pertulma-ultramarina/)
   ========================================================================== */

.definition-dictionary-box {
  margin-top: 24px;
  background: linear-gradient(155deg, #0b1527 0%, #10203a 100%);
  color: #f8fafc;
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 22px;
  padding: clamp(24px, 3.2vw, 36px);
  box-shadow: 0 20px 44px rgba(12, 23, 36, 0.16);
}
.dict-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.dict-badge {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}
.dict-phonetic {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .84rem;
  color: #93c5fd;
}
.dict-main-definition {
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
  line-height: 1.65;
  color: #f1f5f9 !important;
  margin: 0 0 22px;
}
.dict-main-definition dfn {
  font-style: normal;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.32);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(96, 165, 250, 0.45);
}
.dict-key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.dict-fact {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dict-fact strong {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #93c5fd;
}
.dict-fact span {
  font-size: .88rem;
  line-height: 1.48;
  color: #cbd5e1;
}

.definition-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 32px;
}
.definition-pillar-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.def-pillar-num {
  align-self: flex-start;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(23, 77, 152, 0.1);
  border: 1px solid rgba(23, 77, 152, 0.25);
  color: var(--blue);
}
.definition-pillar-card h3 {
  margin: 4px 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ink);
}
.definition-pillar-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--muted);
}

.semantic-glossary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px;
}
.glossary-entry {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.glossary-entry dt {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.glossary-entry dt dfn {
  font-style: normal;
}
.glossary-entry dd {
  margin: 0;
  font-size: .95rem;
  line-height: 1.62;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .editorial-hero-grid,
  .flagship-spotlight,
  .article-layout-grid,
  .overview-pillars-grid,
  .dict-key-facts,
  .definition-pillars-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-sidebar {
    position: static;
  }
}
@media (max-width: 880px) {
  .category-grid, .grid, .guide-grid, .footer-grid, .stats-banner, .stat-grid, .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid-featured > .guide-card:nth-child(n) { grid-column: auto; }
  .split-story { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bento-card-7, .bento-card-5 { grid-column: span 12; }
  .corridor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-search-form, .hero-search-bar, .guide-filters { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-banner, .stat-grid, .form-grid, .hero-kpi-strip { grid-template-columns: minmax(0, 1fr); }
  .corridor-grid { grid-template-columns: minmax(0, 1fr); }
  .header-inner { flex-wrap: wrap; column-gap: 12px; row-gap: 9px; padding-block: 12px; }
  .nav-links { width: 100%; order: 1; }
  .home-hero { min-height: 620px; padding-top: 144px; }
  .home-hero h1 { font-size: clamp(2.4rem, 9.8vw, 3.4rem); }
  .hero-background { object-position: 62% 50%; }
  .home-hero::after {
    background: linear-gradient(180deg, rgba(7, 17, 27, 0.94) 0%, rgba(7, 17, 27, 0.72) 45%, rgba(7, 17, 27, 0.12) 100%);
  }
  .guide-filters { display: grid; grid-template-columns: minmax(0, 1fr); }
  .guide-filters select, .guide-filters input { width: 100%; }
  .category-grid, .grid, .guide-grid { gap: 14px; }
  .grid, .guide-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .category-tile { min-height: 198px; }
  .site-footer { padding-block: 42px; }
  .article-lang-switch { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
