:root {
  --navy: #12324a;
  --ocean: #1a89b8;
  --aqua: #55c6d8;
  --sky: #dff7fb;
  --sand: #fff6df;
  --gold: #ffd25f;
  --coral: #ff8f6b;
  --ink: #173044;
  --muted: #607487;
  --white: #ffffff;
  --line: rgba(26, 137, 184, 0.18);
  --shadow: 0 22px 55px rgba(18, 50, 74, 0.14);
  --font-display: "Inter Tight", Arial, Helvetica, sans-serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --font-script: "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(247, 252, 253, 0.74), rgba(255, 255, 255, 0.82) 42%),
    url("assets/asommmn-logo.png") center center / min(980px, 116vw) auto no-repeat fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 240px;
  background: linear-gradient(180deg, transparent, rgba(223, 247, 251, 0.82));
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  width: min(1240px, calc(100% - 28px));
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(
      110deg,
      rgba(225, 247, 252, 0.96) 0%,
      rgba(248, 253, 255, 0.96) 30%,
      rgba(169, 224, 240, 0.94) 58%,
      rgba(63, 151, 191, 0.88) 78%,
      rgba(221, 245, 251, 0.96) 100%
    );
  background-size: 240% 100%;
  border: 1px solid rgba(90, 181, 214, 0.68);
  border-radius: 8px;
  box-shadow:
    inset 0 -3px 0 rgba(18, 88, 125, 0.38),
    0 14px 38px rgba(18, 50, 74, 0.18);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition: 0.25s ease;
  animation: navbar-blue-flow 12s ease-in-out infinite;
  z-index: 1000;
}

@keyframes navbar-blue-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.navbar.scrolled {
  top: 8px;
  box-shadow: var(--shadow);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 210, 95, 0.35);
}

.navbar ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

nav a:hover,
.active > a {
  background: var(--sky);
  color: var(--ocean);
}

.navbar nav > ul > li > a {
  color: #315d77;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.navbar nav > ul > li > a:hover {
  background: #176f9b;
  color: var(--white);
  box-shadow: 0 7px 18px rgba(18, 82, 117, 0.2);
  transform: translateY(-1px);
}

.navbar nav > ul > li.active > a {
  border: 1px solid rgba(28, 132, 173, 0.22);
  background: linear-gradient(135deg, #d9f7fc, #8fd6e9);
  color: #0e6088;
  box-shadow: 0 5px 14px rgba(18, 91, 126, 0.14);
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  gap: 7px;
}

.dropdown-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
  transition: transform 0.2s ease;
}

.nav-dropdown:hover > .dropdown-toggle::after,
.nav-dropdown:focus-within > .dropdown-toggle::after {
  transform: translateY(1px) rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  z-index: 1002;
  display: grid;
  gap: 4px;
  min-width: 214px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 137, 184, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(18, 50, 74, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  visibility: hidden;
}

.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-dropdown:hover > .submenu,
.nav-dropdown:focus-within > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.submenu a {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  min-height: 38px;
  padding: 10px 12px;
  color: var(--navy);
  white-space: nowrap;
}

.submenu a:hover {
  background: var(--sky);
  color: var(--ocean);
}

.hero {
  min-height: 90vh;
  padding: 132px max(28px, calc((100vw - 1160px) / 2)) 82px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: url("assets/asommmn-hero.png") center/cover;
  position: relative;
  overflow: hidden;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 86px;
  background: linear-gradient(180deg, transparent, #f8fcfd);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(18, 50, 74, 0.78), rgba(18, 50, 74, 0.58) 48%, rgba(18, 50, 74, 0.72)),
    radial-gradient(circle at 50% 42%, rgba(26, 137, 184, 0.18), transparent 34%);
}

.hero-content,
.hero-panel,
.page-hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(850px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ocean);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(255, 210, 95, 0.48);
  border-radius: 8px;
  background: rgba(18, 50, 74, 0.48);
  color: var(--gold);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.2;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--font-display);
  letter-spacing: 0;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
}

.script-title,
.script-quote {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

.script-title {
  display: inline-block;
  color: #efd18a;
  font-size: clamp(54px, 7vw, 98px);
  line-height: 0.96;
  text-shadow:
    0 2px 0 rgba(69, 48, 18, 0.2),
    0 12px 30px rgba(6, 24, 36, 0.36);
}

.script-page-title {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

.page-hero h1.script-page-title,
.quote-band h2.script-page-title,
.cta h2.script-page-title,
.page-cta h2.script-page-title {
  max-width: 920px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
}

.script-quote {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
}

.typewrite {
  position: relative;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.typewrite.is-typing {
  padding: 0 0.08em 0.04em;
  background:
    linear-gradient(180deg, transparent 16%, rgba(255, 250, 235, 0.12) 16%, rgba(255, 246, 223, 0.2) 86%, transparent 86%),
    linear-gradient(90deg, transparent, rgba(255, 210, 95, 0.18), transparent);
  border-radius: 6px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(7, 28, 43, 0.18);
}

.typewrite-copy.is-typing {
  background:
    linear-gradient(180deg, transparent 12%, rgba(255, 250, 235, 0.42) 12%, rgba(255, 246, 223, 0.58) 88%, transparent 88%);
  color: var(--ink);
}

.hero .typewrite-copy.is-typing,
.page-hero .typewrite-copy.is-typing,
.quote-band .typewrite-copy.is-typing,
.cta .typewrite-copy.is-typing,
.page-cta .typewrite-copy.is-typing,
.hero-panel .typewrite-copy.is-typing {
  background:
    linear-gradient(180deg, transparent 16%, rgba(255, 250, 235, 0.1) 16%, rgba(255, 246, 223, 0.18) 86%, transparent 86%);
  color: rgba(255, 255, 255, 0.94);
}

.typewrite.is-typing::after {
  content: "✒";
  display: inline-block;
  width: auto;
  height: auto;
  margin-left: 0.13em;
  color: rgba(255, 210, 95, 0.96);
  font-family: Georgia, serif;
  font-size: 0.5em;
  line-height: 1;
  text-shadow:
    0 0 8px rgba(255, 210, 95, 0.38),
    0 3px 10px rgba(7, 28, 43, 0.26);
  transform: translateY(-0.05em) rotate(-20deg);
  transform-origin: 20% 80%;
  animation: pen-writing 1.45s ease-in-out infinite;
}

.typewrite.is-typing::before {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 1.04em;
  bottom: 0.03em;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 210, 95, 0), rgba(255, 210, 95, 0.85), rgba(26, 137, 184, 0.5));
  opacity: 0.72;
  transform-origin: left;
  animation: ink-trace 1.45s ease-in-out infinite;
}

.typewrite-copy.is-typing::after {
  margin-left: 0.18em;
  font-size: 0.66em;
  transform: translateY(0.08em) rotate(-20deg);
}

@keyframes pen-writing {
  0%,
  100% {
    opacity: 1;
    transform: translateY(-0.05em) rotate(-20deg);
  }

  50% {
    opacity: 0.78;
    transform: translate(0.04em, 0.05em) rotate(-11deg);
  }
}

@keyframes ink-trace {
  0% {
    opacity: 0.25;
    transform: scaleX(0.72);
  }

  55% {
    opacity: 0.78;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.38;
    transform: scaleX(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar {
    animation: none;
  }

  .typewrite.is-typing::after {
    animation: none;
  }
}

.hero p,
.page-hero p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero p {
  max-width: 760px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.5;
}

.hero .script-quote {
  max-width: 720px;
  margin-top: 2px;
  margin-bottom: 24px;
  color: #e4c57f;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  text-shadow: 0 5px 18px rgba(7, 27, 40, 0.38);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  justify-content: center;
  gap: 10px;
}

.contact-section .cta-actions,
.section .cta-actions {
  justify-content: center;
  margin-top: 22px;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #ffc265);
  color: #4c340d;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn:hover,
button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--ocean);
}

.quote-card {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(223, 247, 251, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 50, 74, 0.96), rgba(26, 137, 184, 0.88)),
    radial-gradient(circle at 88% 12%, rgba(255, 210, 95, 0.18), transparent 30%);
  color: var(--white);
  box-shadow: 0 26px 70px rgba(18, 50, 74, 0.2);
  backdrop-filter: none;
}

.legacy-section {
  padding: 54px 0 34px;
  background:
    linear-gradient(180deg, #f8fcfd, rgba(223, 247, 251, 0.72));
}

.hero-panel strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  max-width: 780px;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.04;
  margin-bottom: 18px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.hero-panel p {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.72;
  margin: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.quote-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.history-doc-callout {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid rgba(255, 210, 95, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 50, 74, 0.97), rgba(26, 137, 184, 0.9)),
    linear-gradient(90deg, rgba(255, 210, 95, 0.18), transparent 42%);
  box-shadow: 0 24px 60px rgba(18, 50, 74, 0.18);
  color: var(--white);
}

.history-doc-callout::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--gold);
}

.doc-callout-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 210, 95, 0.54);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.history-doc-callout .eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
}

.history-doc-callout h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.history-doc-callout p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.history-doc-callout .btn {
  flex: 0 0 auto;
  background: var(--gold);
  color: #4c340d;
  box-shadow: 0 16px 34px rgba(7, 28, 43, 0.18);
}

.panel-kpi {
  display: grid;
  grid-template-columns: minmax(220px, 360px);
  gap: 12px;
  max-width: 520px;
  margin-top: 24px;
}

.panel-kpi div {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.panel-kpi span {
  display: block;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
}

.panel-kpi small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.signal-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: 0.22s ease;
  backdrop-filter: blur(10px);
}

.signal-list a::after {
  content: "→";
  color: var(--gold);
}

.signal-list a:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.22);
  color: var(--gold);
}

.section,
.content-section,
.table-section,
.documents,
.contact-section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-tight {
  padding-top: 34px;
}

.interactive-hub {
  padding-top: 64px;
}

.section-title,
.content-title {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-title.center,
.content-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title h2,
.content-title h2,
.info-text h2,
.contact-section h2,
.documents h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
  margin-bottom: 16px;
}

.section-title p,
.content-title p,
.info-text p,
.contact-section p {
  color: var(--muted);
  line-height: 1.8;
}

.grid-3,
.cards,
.privacy-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2,
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.grid-2 > .quote-card,
.grid-2 > .contact-box {
  width: 100%;
  height: 100%;
  margin: 0;
}

.contact-official-grid {
  align-items: stretch;
}

.contact-official-grid .quote-card,
.contact-official-grid .contact-box {
  min-height: 260px;
}

.contact-official-grid .quote-card {
  display: grid;
  align-content: center;
}

.contact-official-grid .quote-card .eyebrow {
  margin-bottom: 8px;
}

.contact-official-grid .quote-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.route-wheel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.route-tile {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(223, 247, 251, 0.82)),
    radial-gradient(circle at 80% 20%, rgba(255, 210, 95, 0.28), transparent 30%);
  box-shadow: 0 14px 34px rgba(18, 50, 74, 0.08);
  color: var(--navy);
  text-decoration: none;
  transition: 0.28s ease;
}

.route-tile span {
  color: var(--ocean);
  font-size: 13px;
  font-weight: 900;
}

.route-tile strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.route-tile small {
  color: var(--muted);
  font-weight: 800;
}

.route-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  color: var(--white);
}

.route-tile:hover span,
.route-tile:hover small {
  color: var(--gold);
}

.home-news-showcase {
  width: min(1280px, calc(100% - 32px));
  padding-top: 72px;
}

.home-news-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  grid-auto-rows: 250px;
  gap: 16px;
}

.home-news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 50, 74, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 50, 74, 0.1);
  color: var(--navy);
  text-decoration: none;
  transition: 0.28s ease;
}

.home-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 62px rgba(18, 50, 74, 0.18);
}

.home-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
  transition: transform 0.45s ease;
}

.home-news-card:hover img {
  transform: scale(1.04);
}

.home-news-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.home-news-card-side {
  grid-column: span 2;
}

.home-news-card-small {
  min-height: 330px;
}

.home-news-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(10, 34, 52, 0.9));
}

.home-news-overlay span,
.home-news-body span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 210, 95, 0.54);
  border-radius: 8px;
  background: rgba(18, 50, 74, 0.72);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.home-news-overlay h3 {
  max-width: 760px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.06;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.home-news-card-side .home-news-overlay h3 {
  font-size: clamp(20px, 2.2vw, 28px);
}

.home-news-overlay p {
  max-width: 720px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.home-news-overlay small,
.home-news-body small {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.home-news-body {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(10, 34, 52, 0.92));
}

.home-news-body span {
  background: rgba(255, 255, 255, 0.86);
}

.home-news-body h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.28;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.home-news-body p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.home-news-body small {
  color: var(--gold);
}

.card,
.info-card,
.privacy-card,
.document-card,
.ally-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(18, 50, 74, 0.08);
  transition: 0.25s ease;
}

.card:hover,
.info-card:hover,
.privacy-card:hover,
.document-card:hover,
.ally-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.card h3,
.info-card h3,
.privacy-card h3,
.document-card h3,
.ally-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.card .btn,
.document-card .btn {
  margin-top: 18px;
}

.card p,
.info-card p,
.privacy-card p,
.document-card p,
.ally-card p,
.timeline p,
.feature-list li {
  color: var(--muted);
  line-height: 1.7;
}

.featured-card {
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  color: var(--white);
}

.featured-card h3,
.featured-card p {
  color: var(--white);
}

.page-hero {
  min-height: 60vh;
  padding: 148px 24px 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(18, 50, 74, 0.78), rgba(26, 137, 184, 0.38)),
    linear-gradient(180deg, rgba(18, 50, 74, 0.22), rgba(248, 252, 253, 0.74)),
    url("assets/asommmn-hero.png") center center / contain no-repeat,
    radial-gradient(circle at 50% 38%, rgba(85, 198, 216, 0.24), transparent 34%),
    linear-gradient(135deg, #12324a, #1a89b8);
  color: var(--white);
  position: relative;
  box-shadow: inset 0 -40px 80px rgba(248, 252, 253, 0.28);
}

.news-hero {
  min-height: 64vh;
}

.page-hero-content {
  width: min(920px, calc(100% - 28px));
  max-width: 920px;
  margin: 0 auto;
  padding: 26px 30px 30px;
  border-radius: 8px;
  background: rgba(18, 50, 74, 0.26);
  backdrop-filter: blur(3px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.page-hero-content h1 {
  margin-left: auto;
  margin-right: auto;
}

.page-hero-content p {
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 26px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 50, 74, 0.08);
}

.timeline-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}

.timeline-link::after {
  content: "Leer historia completa →";
  display: inline-flex;
  margin-top: 16px;
  color: var(--ocean);
  font-weight: 900;
}

.timeline-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.timeline-item span {
  color: var(--ocean);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 8px 0 10px;
}

.story-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.story-tabs {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 10px;
}

.story-tabs a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  transition: 0.22s ease;
}

.story-tabs a:hover,
.story-tabs .active-story {
  background: var(--navy);
  color: var(--white);
}

.story-content {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.story-content p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 18px;
}

.story-content h2,
.story-content h3 {
  margin: 26px 0 14px;
}

.story-content h2:first-child,
.story-content h3:first-child {
  margin-top: 0;
}

.story-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.75;
}

.story-list li {
  padding-left: 5px;
}

.story-list li::marker {
  color: var(--ocean);
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.signature-grid span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfd;
  color: var(--navy);
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.image-panel {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(223, 247, 251, 0.72)),
    url("assets/asommmn-hero.png") center/cover;
  box-shadow: var(--shadow);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.contracts-section {
  background: rgba(244, 249, 251, 0.94);
}

.contracts-heading {
  padding: 64px 24px;
  background: linear-gradient(135deg, #0b3a66, #145da0);
  color: var(--white);
  text-align: center;
}

.contracts-heading-inner {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.contracts-heading span,
.contracts-info span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contracts-heading h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.contracts-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 24px);
}

.contracts-body {
  padding-top: 54px;
}

.contracts-section .ally-card {
  border-left: 5px solid var(--ocean);
  background: #f1f5f9;
}

.contracts-info {
  margin-top: 48px;
  padding: 30px;
  border: 1px solid rgba(18, 50, 74, 0.1);
  border-radius: 8px;
  background: #e4edf3;
  text-align: center;
}

.contracts-info h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.contracts-info p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

.logo-row > * {
  grid-column: span 2;
}

.logo-row > :nth-child(4) {
  grid-column: 2 / span 2;
}

.logo-row > :nth-child(5) {
  grid-column: 4 / span 2;
}

.ally-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ally-card-link {
  color: inherit;
  text-decoration: none;
}

.ally-readmore {
  margin-top: auto;
  color: var(--ocean);
  font-weight: 900;
}

.ally-readmore::after {
  content: " →";
}

.ally-status {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.ally-logo {
  height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.ally-logo img {
  max-height: 60px;
  object-fit: contain;
}

.ally-logo-wordmark {
  justify-content: start;
  border-left: 5px solid var(--gold);
  color: var(--navy);
  text-align: left;
}

.ally-logo-wordmark span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
}

.service-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  overflow: hidden;
  padding: 10px 12px;
  text-align: left;
}

.service-logo-symbol {
  position: relative;
  width: 72px;
  height: 68px;
  flex: 0 0 72px;
  overflow: hidden;
}

.service-logo-symbol img {
  position: absolute;
  top: -5px;
  left: -3px;
  width: 285px;
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: initial;
}

.service-logo strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.05;
}

.document-list,
.table-box,
.documents-table,
.contact-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.document-row,
.table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.document-row:last-child,
.table-row:last-child {
  border-bottom: 0;
}

.document-row span,
.table-row span {
  font-weight: 800;
  color: var(--navy);
}

.document-row-copy {
  display: grid;
  gap: 6px;
}

.document-row-copy span {
  font-size: 18px;
}

.document-row-copy p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.6;
}

.news-page {
  background:
    linear-gradient(180deg, #f8fcfd, #eef8fb 48%, #f8fcfd),
    url("assets/asommmn-logo.png") center 38% / min(680px, 86vw) auto no-repeat fixed;
}

.news-return {
  width: min(1160px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(18, 50, 74, 0.14);
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s ease;
}

.back-btn:hover {
  transform: translateY(-3px);
  color: var(--ocean);
}

.back-btn-outline {
  background: rgba(18, 50, 74, 0.88);
  color: var(--white);
}

.news-section {
  padding-top: 72px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(26, 137, 184, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(18, 50, 74, 0.1);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.28s ease;
}

.news-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 62px rgba(18, 50, 74, 0.16);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.news-date {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 210, 95, 0.54);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.news-content h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.news-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.news-btn {
  width: fit-content;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s ease;
}

.news-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 50, 74, 0.16);
}

.quote-band,
.cta,
.page-cta {
  padding: 86px 24px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 50, 74, 0.96), rgba(26, 137, 184, 0.88)),
    url("assets/asommmn-hero.png") center/cover;
}

.quote-band h2,
.cta h2,
.page-cta h2 {
  max-width: 780px;
  margin: 0 auto 18px;
  color: var(--white);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.06;
}

.quote-band p,
.cta p,
.page-cta p {
  max-width: 680px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

.contact-box {
  display: grid;
  align-content: center;
  margin-top: 28px;
  padding: 28px 42px;
  text-align: left;
}

.contact-box p {
  color: var(--ink);
  margin: 8px 0;
}

.application-section {
  max-width: 1120px;
}

.application-form {
  overflow: hidden;
  border: 1px solid rgba(18, 50, 74, 0.14);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(18, 50, 74, 0.18);
}

.application-form-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  background:
    linear-gradient(105deg, rgba(18, 50, 74, 0.98), rgba(21, 91, 123, 0.96)),
    url("assets/asommmn-logo.png") 82% 46% / 270px auto no-repeat;
  color: var(--white);
}

.application-seal {
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(5, 23, 35, 0.28);
}

.application-seal img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.application-form-heading {
  min-width: 0;
}

.application-form-heading > span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.application-form-heading h3 {
  margin: 0 0 5px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.05;
}

.application-form-heading p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.application-form-meta {
  display: grid;
  gap: 3px;
  justify-items: end;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  text-align: right;
}

.application-form-meta strong {
  color: var(--white);
  font-size: 15px;
}

.application-form-meta small {
  color: rgba(255, 255, 255, 0.66);
}

.form-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #f4fafc;
}

.form-progress-item {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.form-progress-item:not(:last-child) {
  border-right: 1px solid var(--line);
}

.form-progress-item small {
  display: block;
  margin-bottom: 2px;
  color: var(--ocean);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-progress-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(26, 137, 184, 0.22);
  border-radius: 50%;
  background: var(--white);
  color: var(--ocean);
}

.form-progress-icon svg {
  width: 19px;
  height: 19px;
}

.form-section {
  margin: 0;
  padding: 34px 30px 36px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-section:nth-of-type(even) {
  background: rgba(223, 247, 251, 0.2);
}

.form-section legend {
  width: 100%;
  margin: 0;
  padding: 0 0 24px;
  color: var(--navy);
  font-family: "Inter Tight", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.form-section legend span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  vertical-align: middle;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #b7cbd6;
  border-radius: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(18, 50, 74, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-field textarea {
  min-height: 138px;
  resize: vertical;
}

.form-field input[type="file"] {
  min-height: 58px;
  padding: 7px;
  background: #f5f9fb;
  font-size: 14px;
  font-weight: 600;
}

.form-field input[type="file"]::file-selector-button {
  min-height: 40px;
  margin-right: 12px;
  border: 0;
  border-radius: 5px;
  padding: 9px 13px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ocean);
  outline: 0;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(39, 124, 164, 0.14);
}

.form-help {
  margin: -8px 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.embarkation-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.embarkation-heading h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.embarkation-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.embarkation-add {
  flex: 0 0 auto;
  gap: 9px;
}

.embarkation-add svg,
.embarkation-remove svg {
  width: 18px;
  height: 18px;
}

.embarkation-add:disabled {
  cursor: not-allowed;
  filter: grayscale(0.6);
  opacity: 0.55;
}

.embarkation-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid rgba(18, 50, 74, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.embarkation-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
}

.embarkation-table th {
  padding: 13px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  vertical-align: middle;
}

.embarkation-table th:last-child {
  border-right: 0;
}

.embarkation-table td {
  padding: 9px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfdfe;
  vertical-align: middle;
}

.embarkation-table tr:last-child td {
  border-bottom: 0;
}

.embarkation-table td:last-child {
  border-right: 0;
  text-align: center;
}

.embarkation-table th:nth-child(1),
.embarkation-table td:nth-child(1) {
  width: 230px;
}

.embarkation-table th:nth-child(2),
.embarkation-table td:nth-child(2) {
  width: 245px;
}

.embarkation-table th:nth-child(3),
.embarkation-table td:nth-child(3) {
  width: 200px;
}

.embarkation-table th:nth-child(4),
.embarkation-table td:nth-child(4) {
  width: 245px;
}

.embarkation-table th:nth-child(5),
.embarkation-table td:nth-child(5) {
  width: 58px;
}

.table-field {
  display: grid;
  gap: 5px;
}

.table-field + .table-field {
  margin-top: 9px;
}

.table-field > span {
  color: var(--ocean);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.embarkation-table input,
.embarkation-table textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #b7cbd6;
  border-radius: 5px;
  padding: 9px 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.embarkation-table textarea {
  resize: vertical;
}

.embarkation-table input:focus,
.embarkation-table textarea:focus {
  border-color: var(--ocean);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(39, 124, 164, 0.14);
}

.embarkation-remove {
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid rgba(161, 58, 52, 0.2);
  border-radius: 6px;
  background: #fff1f0;
  color: #9a3832;
}

.embarkation-remove:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.embarkation-count {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.complaint-form-header {
  background:
    linear-gradient(105deg, rgba(18, 50, 74, 0.98), rgba(117, 52, 43, 0.94)),
    url("assets/asommmn-logo.png") 82% 46% / 270px auto no-repeat;
}

.urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 210, 95, 0.62);
  border-radius: 6px;
  padding: 9px 12px;
  background: rgba(255, 210, 95, 0.14);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.urgent-badge svg {
  width: 18px;
  height: 18px;
}

.anonymous-control {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  border-left: 5px solid var(--ocean);
  border-radius: 6px;
  padding: 16px 18px;
  background: var(--sky);
  color: var(--ink);
}

.anonymous-control input {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  accent-color: var(--ocean);
}

.anonymous-control span {
  display: grid;
  gap: 3px;
}

.anonymous-control strong {
  color: var(--navy);
}

.anonymous-control small {
  color: var(--muted);
  line-height: 1.45;
}

.complaint-identity-fields .form-field {
  transition: opacity 0.2s ease;
}

.complaint-identity-fields.is-anonymous .form-field:nth-child(-n + 3) {
  opacity: 0.5;
}

.complaint-identity-fields input:disabled {
  cursor: not-allowed;
  background: #e7edf0;
}

.complaint-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.complaint-submit svg {
  width: 18px;
  height: 18px;
}

.complaint-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.application-consent {
  display: grid;
  gap: 14px;
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  background: var(--sand);
}

.application-consent p {
  margin: 0;
  color: var(--muted);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.consent-check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ocean);
}

.consent-check a {
  color: var(--ocean);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 30px;
  background: var(--white);
}

.application-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 210px;
}

.application-submit svg {
  width: 18px;
  height: 18px;
}

.application-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-submit-note {
  color: var(--muted);
  font-size: 14px;
}

.application-status {
  margin-bottom: 22px;
  border: 1px solid;
  border-radius: 6px;
  padding: 16px 18px;
  font-weight: 800;
}

.application-status.is-success {
  border-color: #78a98c;
  background: #edf8f1;
  color: #245c3a;
}

.application-status.is-error {
  border-color: #d69b98;
  background: #fff1f0;
  color: #8a302c;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

footer {
  padding: 30px 20px;
  text-align: center;
  background: #0f2637;
  color: rgba(255, 255, 255, 0.78);
}

.credit {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .navbar {
    position: absolute;
    align-items: stretch;
    flex-direction: column;
  }

  .navbar ul {
    justify-content: center;
  }

  .nav-dropdown {
    display: grid;
    justify-items: center;
  }

  .submenu {
    left: 50%;
    min-width: 206px;
    transform: translate(-50%, 8px);
  }

  .nav-dropdown:hover > .submenu,
  .nav-dropdown:focus-within > .submenu {
    transform: translate(-50%, 0);
  }

  .hero {
    min-height: 92vh;
    padding-top: 238px;
  }

  .hero-panel {
    padding: 28px;
  }

  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .home-news-card-large,
  .home-news-card-side {
    grid-column: span 2;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .grid-3,
  .cards,
  .privacy-grid,
  .info-grid,
  .grid-2,
  .split,
  .logo-row,
  .route-wheel,
  .story-layout,
  .signature-grid {
    grid-template-columns: 1fr;
  }

  .logo-row > *,
  .logo-row > :nth-child(4),
  .logo-row > :nth-child(5) {
    grid-column: auto;
  }

  .story-tabs {
    position: static;
  }

  .embarkation-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .embarkation-add {
    align-self: flex-start;
  }

  .embarkation-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .embarkation-table,
  .embarkation-table tbody,
  .embarkation-table tr,
  .embarkation-table td {
    display: block;
    width: 100%;
  }

  .embarkation-table {
    min-width: 0;
  }

  .embarkation-table thead {
    display: none;
  }

  .embarkation-table tbody {
    display: grid;
    gap: 16px;
  }

  .embarkation-table tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(18, 50, 74, 0.08);
  }

  .embarkation-table td,
  .embarkation-table td:nth-child(n) {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .embarkation-table td::before {
    content: attr(data-label);
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
  }

  .embarkation-table td:last-child {
    border-bottom: 0;
  }

  .embarkation-remove {
    justify-self: end;
  }

  .page-hero {
    padding-top: 246px;
  }
}

@media (max-width: 560px) {
  .navbar {
    width: calc(100% - 18px);
    top: 9px;
    padding: 10px;
  }

  nav a {
    min-height: 32px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .submenu {
    min-width: min(210px, calc(100vw - 28px));
    padding: 7px;
  }

  .submenu a {
    min-height: 34px;
    padding: 8px 10px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .embarkation-table td,
  .embarkation-table td:nth-child(n) {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .application-form-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px 18px;
  }

  .application-seal {
    width: 62px;
  }

  .application-form-heading h3 {
    font-size: 25px;
  }

  .application-form-meta {
    grid-column: 1 / -1;
    justify-items: start;
    width: 100%;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
    text-align: left;
  }

  .urgent-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .form-progress {
    grid-template-columns: 1fr;
  }

  .form-progress-item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .form-field-wide {
    grid-column: auto;
  }

  .form-section,
  .application-consent,
  .form-actions {
    padding: 22px 18px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .application-submit {
    width: 100%;
  }

  .form-section legend {
    font-size: 21px;
  }

  .home-news-showcase {
    width: min(100% - 24px, 1280px);
  }

  .home-news-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .home-news-card-large,
  .home-news-card-side,
  .home-news-card-small {
    grid-column: span 1;
    min-height: 290px;
  }

  .home-news-card-small {
    min-height: 320px;
  }

  .home-news-overlay {
    padding: 20px;
  }

  .home-news-overlay h3 {
    font-size: 25px;
  }

  .news-content {
    padding: 20px;
  }

  .hero {
    min-height: 88vh;
    padding: 294px 18px 64px;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: clamp(34px, 14vw, 60px);
  }

  .script-title {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero p {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero .script-quote {
    margin-bottom: 22px;
    font-size: 22px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .panel-kpi,
  .document-row,
  .table-row,
  .history-doc-callout {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .history-doc-callout .btn {
    width: 100%;
  }

  .doc-callout-mark {
    width: 100%;
    height: 58px;
  }
}

.chatbot-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  font-family: var(--font-body);
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(255, 210, 95, 0.48);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  color: var(--white);
  box-shadow: 0 20px 42px rgba(18, 50, 74, 0.26);
}

.chatbot-toggle span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 210, 95, 0.48);
}

.chatbot-toggle span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot-toggle strong {
  color: var(--white);
  font-size: 14px;
}

.chatbot-panel {
  width: min(360px, calc(100vw - 28px));
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(26, 137, 184, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(18, 50, 74, 0.26);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  color: var(--white);
}

.chatbot-header span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chatbot-header strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 16px;
}

.chatbot-close {
  flex: 0 0 auto;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 22px;
}

.chatbot-body {
  display: grid;
  gap: 10px;
  max-height: 270px;
  padding: 16px;
  overflow-y: auto;
  background: linear-gradient(180deg, #f8fcfd, #ffffff);
}

.chatbot-message {
  max-width: 88%;
  padding: 11px 12px;
  border-radius: 8px;
}

.chatbot-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.chatbot-message a {
  display: inline-flex;
  margin-top: 9px;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.chatbot-directory {
  max-width: 100%;
}

.chatbot-directory-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
}

.chatbot-directory-list a {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(26, 137, 184, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  line-height: 1.25;
}

.chatbot-message.bot {
  justify-self: start;
  background: var(--sky);
  color: var(--ink);
}

.chatbot-message.user {
  justify-self: end;
  background: var(--navy);
  color: var(--white);
}

.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.chatbot-quick button {
  min-height: 36px;
  padding: 8px 10px;
  background: rgba(26, 137, 184, 0.1);
  color: var(--navy);
  font-size: 13px;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.chatbot-form input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.chatbot-form button {
  min-height: 42px;
  padding: 0 14px;
}

@media (max-width: 640px) {
  .chatbot-widget {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .chatbot-panel {
    width: 100%;
  }

  .chatbot-toggle {
    margin-left: auto;
  }
}
