.history-hero {
  position: relative;
  overflow: hidden;

  background: linear-gradient(120deg, #0a2942 0%, #103b4e 100%);

  color: #fff;
}

.history-hero__glow {
  position: absolute;

  width: 620px;
  height: 620px;

  right: -260px;
  top: -220px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(64, 191, 145, 0.16),
    transparent 68%
  );

  pointer-events: none;
}

.history-hero__inner {
  position: relative;
  z-index: 2;

  min-height: 500px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(260px, 0.65fr);

  gap: clamp(3rem, 8vw, 7rem);

  align-items: center;

  padding-block: 4.5rem;
}

.history-hero__content {
  max-width: 760px;
}

.history-breadcrumb {
  display: flex;
  flex-wrap: wrap;

  gap: 0.55rem;

  margin-bottom: 2.8rem;

  font-size: 0.75rem;

  color: rgba(255, 255, 255, 0.5);
}

.history-breadcrumb a {
  color: rgba(255, 255, 255, 0.68);

  text-decoration: none;
}

.history-breadcrumb a:hover {
  color: #fff;
}

.history-breadcrumb strong {
  color: #fff;
}

.history-eyebrow {
  display: block;

  margin-bottom: 0.9rem;

  color: #7fd8a7;

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.history-hero h1 {
  max-width: 650px;

  margin: 0;

  color: #fff;

  font-family: var(--font-serif);

  font-size: clamp(3.2rem, 5.5vw, 5.2rem);

  font-weight: 600;

  line-height: 1;

  letter-spacing: -0.035em;
}

.history-hero h1 span {
  display: block;

  color: #8bdcad;
}

.history-hero__content > p {
  max-width: 620px;

  margin: 1.5rem 0 0;

  color: rgba(255, 255, 255, 0.72);

  font-family: var(--font-sans);

  font-size: 1rem;

  line-height: 1.75;
}

.history-hero__visual {
  position: relative;

  min-height: 320px;
}

.history-visual__circle {
  position: absolute;

  width: 230px;
  height: 230px;

  right: 40px;
  top: 40px;

  border: 1px solid rgba(255, 255, 255, 0.13);

  border-radius: 50%;
}

.history-visual__circle::before {
  content: "";

  position: absolute;

  inset: 28px;

  border: 1px solid rgba(126, 216, 167, 0.22);

  border-radius: 50%;
}

.history-visual__line {
  position: absolute;

  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(127, 216, 167, 0.55),
    transparent
  );
}

.history-visual__line--one {
  width: 230px;

  right: 115px;
  top: 80px;

  transform: rotate(18deg);
}

.history-visual__line--two {
  width: 270px;

  right: 20px;
  top: 170px;

  transform: rotate(-12deg);
}

.history-visual__line--three {
  width: 200px;

  right: 120px;
  top: 245px;

  transform: rotate(23deg);
}

.history-visual__dot {
  position: absolute;

  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: #83dbaa;

  box-shadow: 0 0 0 7px rgba(131, 219, 170, 0.08);
}

.history-visual__dot--one {
  right: 245px;
  top: 76px;
}

.history-visual__dot--two {
  right: 72px;
  top: 163px;
}

.history-visual__dot--three {
  right: 190px;
  top: 244px;
}

@media (max-width: 900px) {
  .history-hero__inner {
    grid-template-columns: 1fr;

    min-height: auto;
  }

  .history-hero__visual {
    display: none;
  }
}

@media (max-width: 620px) {
  .history-hero__inner {
    padding-block: 3.3rem;
  }

  .history-breadcrumb {
    margin-bottom: 2.2rem;
  }

  .history-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }
}

.history-hero__year {
  position: relative;

  padding: 2.5rem 2.2rem;

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);
}

.history-hero__year::before {
  content: "";

  position: absolute;

  width: 55px;
  height: 3px;

  left: 2.2rem;
  top: 0;

  background: #85deb0;
}

.history-hero__year > span {
  display: block;

  margin-bottom: 1rem;

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.69rem;
  font-weight: 700;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.history-hero__year strong {
  display: block;

  color: #fff;

  font-family: var(--font-serif);

  font-size: clamp(4rem, 8vw, 6.5rem);

  line-height: 0.85;
}

.history-hero__year p {
  max-width: 230px;

  margin: 1.6rem 0 0;

  color: rgba(255, 255, 255, 0.74);

  font-size: 0.88rem;
  line-height: 1.6;
}

.section-kicker {
  display: block;

  margin-bottom: 0.8rem;

  color: var(--verde-600);

  font-size: 0.71rem;
  font-weight: 700;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker--light {
  color: #88ddb1;
}

.history-intro {
  padding: clamp(4.5rem, 8vw, 7rem) 0;

  background: #fff;
}

.history-intro__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  gap: clamp(3rem, 8vw, 8rem);

  align-items: start;
}

.history-intro h2 {
  max-width: 600px;

  margin: 0;

  color: var(--azul-900);

  font-size: clamp(2.1rem, 4vw, 3.7rem);

  line-height: 1.04;

  letter-spacing: -0.035em;
}

.history-intro__text {
  display: grid;

  gap: 1.3rem;

  padding-top: 1.5rem;
}

.history-intro__text p {
  margin: 0;

  color: var(--muted);

  font-family: var(--font-serif);

  font-size: 1.06rem;
  line-height: 1.8;
}

.history-impact {
  border-block: 1px solid var(--line);

  background: #f4f7f8;
}

.history-impact__grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.history-stat {
  min-height: 210px;

  padding: 2.3rem 2rem;

  border-right: 1px solid #dde5e8;
}

.history-stat:last-child {
  border-right: 0;
}

.history-stat__number {
  display: block;

  margin-bottom: 1.4rem;

  color: var(--azul-900);

  font-family: var(--font-serif);

  font-size: clamp(2.6rem, 4vw, 4rem);

  font-weight: 700;

  line-height: 1;
}

.history-stat p {
  max-width: 230px;

  margin: 0;

  color: var(--muted);

  font-size: 0.86rem;
  line-height: 1.6;
}

.history-timeline {
  padding: clamp(5rem, 9vw, 8rem) 0;

  background: #fff;
}

.history-section-header {
  max-width: 760px;

  margin-bottom: 4rem;
}

.history-section-header h2 {
  margin: 0;

  color: var(--azul-900);

  font-size: clamp(2.2rem, 4vw, 3.8rem);

  line-height: 1.05;

  letter-spacing: -0.035em;
}

.timeline {
  position: relative;

  display: grid;

  gap: 0;
}

.timeline::before {
  content: "";

  position: absolute;

  left: 35px;
  top: 15px;
  bottom: 15px;

  width: 1px;

  background: linear-gradient(to bottom, #8adbb0, #dbe5e8);
}

.timeline-item {
  position: relative;

  display: grid;

  grid-template-columns:
    70px
    175px
    minmax(0, 1fr);

  gap: clamp(1.4rem, 4vw, 4rem);

  padding: 0 0 4.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__marker {
  position: relative;

  z-index: 2;

  width: 70px;

  display: flex;
  justify-content: center;
}

.timeline-item__marker span {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border: 1px solid #9fd9bc;

  border-radius: 50%;

  background: #fff;

  color: var(--verde-600);

  font-size: 0.65rem;
  font-weight: 700;
}

.timeline-item__year {
  padding-top: 0.3rem;
}

.timeline-item__year > span {
  display: block;

  margin-bottom: 0.2rem;

  color: var(--muted);

  font-size: 0.67rem;
  font-weight: 700;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.timeline-item__year strong {
  display: block;

  color: var(--azul-900);

  font-family: var(--font-serif);

  font-size: 2rem;

  line-height: 1.05;
}

.timeline-item__year small {
  display: block;

  margin-top: 0.2rem;

  color: var(--muted);

  font-size: 0.7rem;
}

.timeline-item__content {
  padding: 0 0 3.2rem;

  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child .timeline-item__content {
  border-bottom: 0;
}

.timeline-item__label {
  display: block;

  margin-bottom: 0.55rem;

  color: var(--verde-600);

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.timeline-item__content h3 {
  max-width: 690px;

  margin: 0 0 1.2rem;

  color: var(--azul-900);

  font-size: clamp(1.55rem, 3vw, 2.4rem);

  line-height: 1.12;
}

.timeline-item__content p {
  max-width: 820px;

  margin: 0 0 0.9rem;

  color: #5a686f;

  line-height: 1.72;
}

.timeline-item__content p:last-child {
  margin-bottom: 0;
}

.history-quote {
  position: relative;

  overflow: hidden;

  padding: clamp(4.5rem, 8vw, 7rem) 0;

  background: linear-gradient(125deg, #08213a, #0b4f53);

  color: #fff;
}

.history-quote__inner {
  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr);

  gap: clamp(2rem, 5vw, 5rem);

  align-items: start;
}

.history-quote__mark {
  color: rgba(139, 224, 180, 0.5);

  font-family: var(--font-serif);

  font-size: 8rem;

  line-height: 0.8;
}

.history-quote blockquote {
  max-width: 900px;

  margin: 0;

  color: #fff;

  font-family: var(--font-serif);

  font-size: clamp(1.7rem, 3.5vw, 3rem);

  line-height: 1.28;

  letter-spacing: -0.025em;
}

.history-continuity {
  padding: clamp(4.5rem, 8vw, 7rem) 0;

  background: #f5f8f9;
}

.history-continuity__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  gap: clamp(3rem, 8vw, 8rem);
}

.history-continuity h2 {
  max-width: 560px;

  margin: 0;

  color: var(--azul-900);

  font-size: clamp(2rem, 4vw, 3.5rem);

  line-height: 1.05;
}

.history-continuity__content {
  display: grid;

  gap: 1.2rem;
}

.history-continuity__content p {
  margin: 0;

  color: var(--muted);

  font-family: var(--font-serif);

  font-size: 1.03rem;

  line-height: 1.75;
}

.history-continuity__links {
  display: flex;
  flex-wrap: wrap;

  gap: 0.85rem;

  margin-top: 0.8rem;
}

.history-link {
  display: inline-flex;

  align-items: center;

  gap: 0.7rem;

  padding: 0.8rem 1rem;

  border-radius: 7px;

  background: var(--azul-900);

  color: #fff;

  font-size: 0.8rem;
  font-weight: 700;

  text-decoration: none;
}

.history-link--secondary {
  border: 1px solid var(--line);

  background: #fff;

  color: var(--azul-900);
}

@media (max-width: 950px) {
  .history-hero__inner {
    grid-template-columns: 1fr;
  }

  .history-hero__year {
    display: none;
  }

  .history-intro__grid,
  .history-continuity__grid {
    grid-template-columns: 1fr;
  }

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

  .history-stat:nth-child(2) {
    border-right: 0;
  }

  .history-stat:nth-child(-n + 2) {
    border-bottom: 1px solid #dde5e8;
  }

  .timeline-item {
    grid-template-columns:
      70px
      minmax(0, 1fr);
  }

  .timeline-item__year {
    grid-column: 2;
  }

  .timeline-item__content {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .history-hero {
    min-height: auto;
  }

  .history-hero__inner {
    min-height: auto;
  }

  .history-hero__content {
    padding-block: 3.5rem;
  }

  .history-hero h1 {
    font-size: 3.35rem;
  }

  .history-impact__grid {
    grid-template-columns: 1fr;
  }

  .history-stat {
    border-right: 0;

    border-bottom: 1px solid #dde5e8;
  }

  .history-stat:last-child {
    border-bottom: 0;
  }

  .timeline::before {
    left: 16px;
  }

  .timeline-item {
    grid-template-columns:
      34px
      minmax(0, 1fr);

    gap: 1rem;
  }

  .timeline-item__marker {
    width: 34px;
  }

  .timeline-item__marker span {
    width: 32px;
    height: 32px;
  }

  .history-quote__inner {
    grid-template-columns: 1fr;
  }

  .history-quote__mark {
    font-size: 5rem;
  }

  .history-continuity__links {
    flex-direction: column;
  }

  .history-link {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-link {
    transition: none;
  }
}
