:root {
  --ink: #1f2937;
  --muted: #64748b;
  --line: #d8e0e8;
  --soft: #f4f8fb;
  --panel: #ffffff;
  --accent: #0072bc;
  --accent-dark: #004f8f;
  --cyan: #00a3d8;
  --green: #4a9f45;
  --danger: #c62828;
  --navy: #003c71;
  --shadow: 0 18px 44px rgba(15, 41, 77, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: #ffffff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  overflow: hidden;
}

p,
h1,
h2,
h3,
li {
  overflow-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, 100%);
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.brand-site {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #42526b;
  font-size: 12px;
  font-weight: 600;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  background: #edf7fc;
}

.site-nav .nav-feature {
  color: #ffffff;
  background: var(--accent);
}

.site-nav .nav-feature:hover,
.site-nav .nav-feature:focus-visible {
  color: #ffffff;
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(620px, calc(100vh - 96px), 780px);
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 31, 63, 0.82) 0%, rgba(0, 62, 111, 0.52) 43%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 37, 73, 0.62) 0%, rgba(0, 37, 73, 0) 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  width: min(1240px, 100%);
  min-height: inherit;
  margin: 0 auto;
  padding: 84px 28px 86px;
}

.hero-copy,
.section {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy p:not(.eyebrow) {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  font-weight: 500;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.section {
  padding: 92px 32px;
}

.section.muted {
  width: 100%;
  max-width: none;
  padding-right: max(32px, calc((100vw - 1160px) / 2 + 32px));
  padding-left: max(32px, calc((100vw - 1160px) / 2 + 32px));
  background: var(--soft);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--navy);
}

.section-heading.with-action {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: start;
}

.two-column p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.info-panel,
.wire-card,
.cota-card,
.document-row,
.news-item,
.media-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(15, 41, 77, 0.05);
}

.info-panel {
  padding: 22px;
}

.info-panel h3,
.wire-card h3,
.news-item h3,
.document-row h3 {
  margin: 0 0 8px;
}

.info-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.wire-card {
  min-height: 220px;
  padding: 22px;
  border-top: 4px solid var(--cyan);
}

.wire-card p,
.news-item p,
.document-row p {
  margin: 0;
  color: var(--muted);
}

.icon-box {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border: 1px solid #b8dff2;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 114, 188, 0.16), rgba(74, 159, 69, 0.16)),
    #ffffff;
}

.news-list,
.document-list {
  display: grid;
  gap: 16px;
}

.news-item,
.document-row {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.date-box {
  display: grid;
  flex: 0 0 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
}

.date-box span {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.date-box small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-transform: uppercase;
}

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

.media-card {
  overflow: hidden;
}

.media-tile {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, 0.12), rgba(63, 125, 88, 0.14)),
    #ffffff;
  font-weight: 700;
}

.media-card .media-tile {
  border: 0;
  border-radius: 0;
}

.media-tile img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.media-tile iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.media-tile.video {
  background:
    linear-gradient(135deg, rgba(0, 114, 188, 0.14), rgba(74, 159, 69, 0.12)),
    #eef5f8;
}

.play-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #ffffff;
}

.media-meta {
  padding: 16px;
}

.media-meta time {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.media-meta h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 16px;
}

.media-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cota-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(520px, 1.45fr);
  gap: 18px;
  align-items: stretch;
}

.cota-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 260px;
  padding: 24px;
  border-top: 4px solid var(--green);
}

.cota-card .label {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.cota-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
}

.cota-card p {
  color: var(--muted);
}

.chart-placeholder {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  font-weight: 700;
}

.cota-chart {
  display: grid;
  gap: 10px;
  align-items: start;
  padding: 16px 18px 12px;
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chart-toolbar label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.chart-toolbar select {
  min-width: 190px;
  min-height: 40px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #5f6670;
  background:
    linear-gradient(45deg, transparent 50%, #5f6670 50%),
    linear-gradient(135deg, #5f6670 50%, transparent 50%),
    #eeeeee;
  background-position:
    calc(100% - 18px) 17px,
    calc(100% - 12px) 17px,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  appearance: none;
  cursor: pointer;
}

.chart-toolbar select:focus-visible {
  border-color: var(--accent);
  outline: 3px solid rgba(0, 114, 188, 0.18);
}

.cota-chart svg {
  width: 100%;
  height: auto;
  min-height: 280px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.grid-lines line {
  stroke: #d3d9df;
  stroke-width: 1;
}

.axis-lines line {
  stroke: #555555;
  stroke-width: 1.8;
  shape-rendering: crispEdges;
}

.axis-lines line:nth-child(2),
.axis-lines line:nth-child(4) {
  stroke-width: 2.2;
}

.chart-area {
  fill: rgba(173, 213, 239, 0.58);
}

.chart-line {
  fill: none;
  stroke: #8fc4e6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.axis-labels {
  fill: #555f6e;
  font-size: 11px;
  font-weight: 500;
}

.y-labels text {
  text-anchor: end;
}

.current-point circle {
  fill: #0b83bd;
  stroke: #ffffff;
  stroke-width: 2;
}

.current-point rect {
  fill: rgba(255, 255, 255, 0.94);
  stroke: rgba(211, 217, 223, 0.9);
}

.current-point text {
  fill: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: middle;
}

.chart-hit-area {
  fill: transparent;
  cursor: crosshair;
}

.hover-layer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.hover-layer.is-visible {
  opacity: 1;
}

.hover-line {
  stroke: rgba(0, 60, 113, 0.3);
  stroke-dasharray: 4 4;
  stroke-width: 1;
}

.hover-dot {
  fill: var(--accent);
  stroke: #ffffff;
  stroke-width: 2;
}

.hover-tooltip rect {
  fill: rgba(255, 255, 255, 0.96);
  stroke: #cdd7e2;
  filter: drop-shadow(0 8px 18px rgba(15, 41, 77, 0.16));
}

.hover-tooltip text {
  fill: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.hover-tooltip .hover-date {
  fill: #667085;
  font-size: 11px;
  font-weight: 700;
}

.chart-disclaimer {
  margin: 0 0 4px;
  padding: 12px 14px;
  border-left: 4px solid var(--cyan);
  border-radius: 6px;
  color: #475467;
  background: #f5f9fc;
  font-size: 13px;
  font-weight: 600;
}

.document-row {
  justify-content: space-between;
}

@media (max-width: 980px) {
  .two-column,
  .cota-layout {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: grid;
    place-content: center;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 41, 77, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 16px;
  }
}

@media (max-width: 760px) {
  .brand-site {
    max-width: calc(100vw - 106px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 31, 63, 0.78) 0%, rgba(0, 62, 111, 0.62) 52%, rgba(0, 37, 73, 0.78) 100%);
  }

  .hero-content {
    align-items: end;
    padding: 46px 18px 46px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 18px;
    white-space: normal;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .section,
  .section.muted {
    padding: 56px 18px;
  }

  .chart-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .chart-toolbar select {
    width: 100%;
  }

  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.with-action,
  .news-item,
  .document-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cota-card strong {
    font-size: 34px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 600px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .cota-card strong {
    font-size: 30px;
  }
}
