@import url("https://api.fontshare.com/v2/css?f[]=general-sans@500,700&f[]=satoshi@400,500,700&display=swap");

:root {
  --cyan: #5b7480;
  --blue: #1f435b;
  --ink: #203a4b;
  --paper: #ffffff;
  --soft: #e5e5e5;
  --line: rgba(31, 67, 91, 0.14);
  --amber: #f3b338;
  --text: #172a38;
  --muted: #607381;
  --shadow: 0 22px 54px rgba(17, 42, 58, 0.16);
  --content: 1160px;
  --technical-blue: #5b7480;
  --soft-cyan: #69d3dc;
}

@font-face {
  font-family: "Molot";
  src: url("assets/fonts/Molot.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: "Satoshi", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(18px, 5vw, 74px);
  color: var(--paper);
  background: rgba(18, 42, 58, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 112px;
  color: var(--paper);
}

.brand-logo {
  position: relative;
  display: block;
  width: clamp(118px, 8.5vw, 142px);
  height: clamp(82px, 6.4vw, 96px);
  overflow: hidden;
}

.brand-logo-img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.88;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover {
  color: var(--cyan);
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding-top: clamp(108px, 13vh, 146px);
  padding-bottom: clamp(58px, 8vh, 96px);
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(13, 31, 44, 0.86), rgba(13, 31, 44, 0.58) 42%, rgba(13, 31, 44, 0.16) 72%, rgba(13, 31, 44, 0.05)),
    linear-gradient(0deg, rgba(13, 31, 44, 0.62), rgba(13, 31, 44, 0.08) 54%),
    url("assets/pdf-page3-img1.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-content {
  width: min(900px, calc(100% - (clamp(24px, 6vw, 92px) * 2)));
  margin: 0 0 0 max(clamp(24px, 6vw, 92px), calc((100vw - var(--content)) / 2));
  padding-top: clamp(14px, 3vh, 36px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker-symbol {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: var(--cyan);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.kicker-symbol::before,
.kicker-symbol::after {
  position: absolute;
  content: "";
}

.section-heading:hover .kicker-symbol,
.section-grid > div:first-child:hover .kicker-symbol,
.contact-panel:hover .kicker-symbol,
.hero-content:hover .kicker-symbol {
  transform: translateY(-3px) rotate(-6deg);
  background: rgba(91, 116, 128, 0.12);
  box-shadow: 0 12px 26px rgba(91, 116, 128, 0.16);
}

.symbol-bolt::before {
  width: 10px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(48% 0, 100% 0, 62% 42%, 100% 42%, 36% 100%, 52% 56%, 12% 56%);
}

.symbol-tower::before {
  width: 16px;
  height: 18px;
  background:
    linear-gradient(63deg, transparent 44%, currentColor 45% 55%, transparent 56%),
    linear-gradient(117deg, transparent 44%, currentColor 45% 55%, transparent 56%),
    linear-gradient(currentColor, currentColor) center bottom / 2px 18px no-repeat;
}

.symbol-tower::after {
  width: 20px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.symbol-meter::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 3px 3px;
}

.symbol-meter::after {
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: translate(2px, 2px) rotate(-38deg);
  transform-origin: left center;
}

.symbol-board::before {
  width: 16px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.symbol-board::after {
  width: 10px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.symbol-network::before {
  width: 19px;
  height: 14px;
  background:
    linear-gradient(28deg, transparent 45%, currentColor 46% 54%, transparent 55%),
    linear-gradient(-28deg, transparent 45%, currentColor 46% 54%, transparent 55%),
    linear-gradient(90deg, transparent 45%, currentColor 46% 54%, transparent 55%);
}

.symbol-network::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -9px 6px 0 currentColor, 9px 6px 0 currentColor, 0 -6px 0 currentColor;
}

.symbol-phone::before {
  width: 14px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.symbol-phone::after {
  width: 4px;
  height: 4px;
  bottom: 6px;
  border-radius: 50%;
  background: currentColor;
}

.hero .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-family: "General Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(1.95rem, 3.48vw, 3.6rem);
  line-height: 1.08;
  font-weight: 900;
}

h2 {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--ink);
  font-family: "General Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 0.96;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: "General Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  line-height: 1.14;
  font-weight: 700;
}

h2 em {
  font-family: "General Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 500;
}

.hero-logo {
  margin-bottom: clamp(16px, 2vh, 24px);
  color: rgba(255, 255, 255, 0.96);
  font-family: "Molot", "Arial Black", Impact, sans-serif;
  font-size: clamp(2.55rem, 5.4vw, 4.8rem);
  line-height: 0.82;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-rule {
  display: block;
  width: 74px;
  height: 2px;
  margin: 0 0 clamp(22px, 3vh, 34px);
  background: var(--soft-cyan);
}

.hero-headline {
  max-width: 940px;
  margin-bottom: clamp(30px, 4vh, 44px);
  color: var(--paper);
  letter-spacing: -0.052em;
}

.hero-headline span {
  white-space: nowrap;
}

.hero-headline span {
  color: #72cbd4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: #72cbd4;
}

.button-primary:hover {
  background: #86d9e1;
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.055);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.band {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 74px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  width: min(var(--content), 100%);
  margin: 0 auto;
  align-items: start;
}

.section-copy {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-copy p:last-child,
.contact p:last-child {
  margin-bottom: 0;
}

.section-rule {
  display: block;
  width: 44px;
  height: 2px;
  margin: 34px 0;
  background: var(--cyan);
}

.quote {
  color: var(--blue);
  font-family: "General Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1.1;
  font-weight: 500;
}

.intro .section-grid {
  row-gap: 34px;
}

.intro .section-kicker {
  gap: 12px;
  margin-bottom: 28px;
  color: var(--technical-blue);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.intro .section-kicker .kicker-symbol {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-color: var(--technical-blue);
  border-width: 1px;
  border-radius: 4px;
  color: var(--technical-blue);
  background: transparent;
}

.intro .section-grid > div:first-child:hover .kicker-symbol {
  transform: none;
  background: transparent;
  box-shadow: none;
}

.intro .section-rule {
  background: var(--soft-cyan);
}

.intro-rule-top {
  width: 74px;
  margin: 0 0 34px;
}

.intro-rule-quote {
  width: 74px;
  margin: 34px 0;
}

.intro .quote {
  margin-top: 0;
  color: var(--technical-blue);
  font-size: clamp(1.25rem, 1.6vw, 1.7rem);
  line-height: 1.25;
}

.intro-carousel {
  position: relative;
  min-height: 360px;
  isolation: isolate;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  height: 100%;
  min-height: 360px;
}

.carousel-slide {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(70%, 640px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 22px 46px rgba(17, 42, 58, 0.22);
  opacity: 0;
  transform: translateX(24%) scale(0.88);
  transition: opacity 260ms ease, transform 260ms ease, z-index 260ms ease;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.carousel-slide.is-active {
  z-index: 3;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.carousel-slide.is-next {
  z-index: 2;
  opacity: 1;
  transform: translateX(30%) scale(0.94);
}

.carousel-slide.is-after-next {
  z-index: 1;
  opacity: 1;
  transform: translateX(42%) scale(0.9);
}

.carousel-button {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(17, 42, 58, 0.18);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
}

.carousel-button:hover {
  background: var(--cyan);
  transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  z-index: 4;
  left: min(39%, 320px);
  bottom: 22px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--cyan);
}

.dark {
  color: var(--paper);
  background:
    radial-gradient(circle at 14% 24%, rgba(105, 211, 220, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(105, 211, 220, 0.08), transparent 44%),
    var(--ink);
}

.dark h2,
.dark h3 {
  color: var(--paper);
}

.dark .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  counter-reset: specialty-card;
  gap: clamp(16px, 2vw, 24px);
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 112px clamp(22px, 3vw, 34px) 34px;
  border: 1px solid rgba(31, 67, 91, 0.12);
  border-radius: 12px;
  color: var(--ink);
  background-color: var(--paper);
  box-shadow: 0 16px 44px rgba(23, 42, 56, 0.055);
  cursor: pointer;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.16;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  counter-increment: specialty-card;
  isolation: isolate;
}

.feature-list li::before {
  position: absolute;
  z-index: 0;
  top: 24px;
  left: clamp(22px, 3vw, 34px);
  width: auto;
  height: auto;
  color: rgba(10, 30, 45, 0.06);
  background: transparent;
  clip-path: none;
  content: counter(specialty-card, decimal-leading-zero);
  font-size: clamp(4.9rem, 8vw, 7.1rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.feature-list li::after {
  position: absolute;
  bottom: 30px;
  left: clamp(22px, 3vw, 34px);
  width: 42px;
  height: 2px;
  content: "";
  background: var(--soft-cyan);
  transition: width 180ms ease, background 180ms ease;
}

.feature-list li:hover,
.feature-list li:focus-visible,
.feature-list li:active {
  border-color: rgba(105, 211, 220, 0.58);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(225, 248, 251, 0.84)),
    url("assets/especializaciones-placeholder.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 60px rgba(23, 42, 56, 0.12);
  transform: translateY(-4px);
}

.feature-list li:hover::before,
.feature-list li:focus-visible::before,
.feature-list li:active::before {
  color: rgba(105, 211, 220, 0.24);
}

.feature-list li:hover::after,
.feature-list li:focus-visible::after,
.feature-list li:active::after {
  width: 52px;
  background: #5aaeba;
}

.section-heading {
  width: min(var(--content), 100%);
  margin: 0 auto 34px;
}

#enfoque {
  padding-top: clamp(78px, 9vw, 126px);
  padding-bottom: clamp(78px, 9vw, 126px);
}

#enfoque .section-heading {
  width: auto;
  margin: 0;
}

#enfoque .section-kicker {
  gap: 13px;
  margin-bottom: clamp(24px, 3vw, 34px);
  color: var(--soft-cyan);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

#enfoque .section-kicker .kicker-symbol {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-color: rgba(105, 211, 220, 0.82);
  border-radius: 5px;
  color: var(--soft-cyan);
  background: transparent;
}

#enfoque .section-heading:hover .kicker-symbol {
  transform: none;
  background: transparent;
  box-shadow: none;
}

#enfoque h2 {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(2.15rem, 3.05vw, 3.35rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.vision-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1fr);
  gap: 24px;
  width: min(var(--content), 100%);
  margin: 0 auto;
  align-items: center;
}

.vision-intro {
  display: grid;
  align-content: start;
  gap: clamp(26px, 3vw, 38px);
}

.vision-intro p {
  max-width: 460px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 1.2vw, 1.18rem);
  line-height: 1.86;
}

.vision-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vision-tab {
  min-height: 58px;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.vision-tab:hover,
.vision-tab.is-active {
  transform: translateY(-2px);
  border-color: var(--soft-cyan);
}

.vision-tab.is-active {
  color: var(--ink);
  background: var(--soft-cyan);
}

.vision-tab:hover:not(.is-active) {
  background: rgba(105, 211, 220, 0.13);
}

.vision-content {
  min-height: clamp(430px, 36vw, 560px);
  padding: clamp(34px, 4.8vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.vision-block {
  animation: contentFade 220ms ease;
}

.vision-block[hidden] {
  display: none;
}

.vision-label {
  display: inline-flex;
  margin-bottom: clamp(20px, 2.2vw, 30px);
  color: var(--soft-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.vision-block h3 {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.85rem, 2.45vw, 2.85rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.vision-rule {
  display: block;
  width: 56px;
  height: 2px;
  margin: clamp(24px, 3vw, 36px) 0;
  background: var(--soft-cyan);
}

.vision-block p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.84;
}

@keyframes contentFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services {
  position: relative;
  overflow: hidden;
  padding-top: clamp(82px, 10vw, 138px);
  padding-bottom: clamp(82px, 10vw, 138px);
}

.services::after {
  display: none;
  content: "";
}

.services .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(44px, 5vw, 70px);
}

.services .section-kicker {
  gap: 12px;
  margin-bottom: 26px;
  color: #4fa6b5;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.services .section-kicker .kicker-symbol {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-color: rgba(79, 166, 181, 0.78);
  border-radius: 5px;
  color: #4fa6b5;
  background: transparent;
}

.services .section-heading:hover .kicker-symbol {
  transform: none;
  background: transparent;
  box-shadow: none;
}

.services .symbol-board::before {
  width: 15px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.services .symbol-board::after {
  width: 9px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.services .section-heading h2 {
  max-width: 940px;
  color: var(--ink);
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.services .section-heading h2 span {
  color: #4fa6b5;
}

.services-rule {
  display: block;
  width: 62px;
  height: 2px;
  margin: clamp(28px, 3vw, 40px) 0 22px;
  background: #4fa6b5;
}

.services-intro {
  max-width: 500px;
  margin: 0;
  color: #5f7180;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.72;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  counter-reset: service-card;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 22px);
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.service-card {
  position: relative;
  display: flex;
  counter-increment: service-card;
  min-height: 360px;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(23, 42, 56, 0.055);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(91, 116, 128, 0.14), rgba(105, 211, 220, 0.16));
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 166, 181, 0.42);
  box-shadow: 0 24px 54px rgba(23, 42, 56, 0.11);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.card-icon {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: #4fa6b5;
  border-radius: 10px;
  background: #eaf8fa;
  transition: transform 220ms ease, background 220ms ease;
}

.card-icon::before,
.card-icon::after {
  position: absolute;
  content: "";
}

.service-icon-engineering::before {
  width: 17px;
  height: 28px;
  background: currentColor;
  clip-path: polygon(48% 0, 92% 0, 60% 42%, 100% 42%, 30% 100%, 45% 57%, 8% 57%);
}

.service-icon-execution::before {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: rotate(45deg) skew(-5deg, -5deg);
}

.service-icon-execution::after {
  width: 14px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor;
  transform: translateY(-4px);
}

.service-icon-solar::before {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 -14px 0 -5px currentColor,
    0 14px 0 -5px currentColor,
    14px 0 0 -5px currentColor,
    -14px 0 0 -5px currentColor;
}

.service-icon-solar::after {
  width: 24px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background:
    linear-gradient(90deg, transparent 48%, currentColor 49% 51%, transparent 52%),
    linear-gradient(transparent 48%, currentColor 49% 51%, transparent 52%);
  transform: translateY(14px) skewX(-16deg);
}

.service-icon-consulting::before {
  width: 20px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.service-icon-consulting::after {
  width: 11px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.service-icon-maintenance::before {
  width: 21px;
  height: 8px;
  border: 2px solid currentColor;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  transform: translate(-3px, -5px) rotate(-42deg);
}

.service-icon-maintenance::after {
  width: 3px;
  height: 27px;
  border-radius: 99px;
  background: currentColor;
  transform: translate(6px, 6px) rotate(-42deg);
}

.service-card .card-icon {
  width: auto;
  height: auto;
  min-width: 0;
  align-self: flex-start;
  margin-bottom: 28px;
  color: #5b7480;
  border-radius: 0;
  background: transparent;
  font-family: "General Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(1.75rem, 2.3vw, 2.45rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.service-card .card-icon::before {
  position: static;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  content: counter(service-card, decimal-leading-zero);
  transform: none;
}

.service-card .card-icon::after {
  display: none;
}

.service-card:hover .card-icon {
  color: #4f6f7d;
  transform: translateY(-2px);
  background: transparent;
}

.service-card h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.35vw, 1.32rem);
  line-height: 1.18;
  font-weight: 900;
}

.card-rule {
  display: block;
  width: 42px;
  height: 2px;
  margin: 20px 0 18px;
  background: #4fa6b5;
}

.service-card p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.74;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 0;
  margin-top: auto;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.service-more span {
  color: #4fa6b5;
  transition: transform 180ms ease, color 180ms ease;
}

.service-more:hover span {
  color: #348e9d;
  transform: translateX(5px);
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: clamp(18px, 4vw, 42px);
  align-items: center;
  justify-content: center;
}

.service-modal.is-open {
  display: flex;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 29, 41, 0.72);
  backdrop-filter: blur(6px);
}

.service-modal-panel {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: min(760px, 92vh);
  padding: clamp(28px, 5vw, 56px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(12, 29, 41, 0.32);
}

.service-modal-panel.is-wide {
  width: min(1220px, 100%);
}

.service-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.service-modal-panel .section-kicker {
  color: #4fa6b5;
}

.service-modal-panel h2 {
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 0;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.service-gallery.is-four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-slot {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 22px;
  border: 1px dashed rgba(79, 166, 181, 0.42);
  border-radius: 14px;
  color: #4f6f7d;
  background:
    linear-gradient(135deg, rgba(79, 166, 181, 0.09), transparent),
    #f7fbfc;
  text-align: center;
  font-weight: 800;
}

.gallery-slot-image {
  align-content: stretch;
  overflow: hidden;
  padding: 0;
  border-style: solid;
  background: var(--paper);
}

.gallery-slot-image figcaption {
  padding: 12px 14px 14px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: left;
}

.gallery-slot span {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-slot img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.specialties {
  padding-top: 0;
  padding-bottom: clamp(18px, 3vw, 38px);
  background:
    linear-gradient(180deg, rgba(229, 229, 229, 0.36), rgba(255, 255, 255, 0)),
    var(--paper);
}

.specialties .section-copy {
  position: relative;
}

.specialties .section-grid > div:first-child {
  margin-top: 0;
}

.specialties h2 span {
  white-space: nowrap;
}

.specialties-tower-art {
  display: block;
  width: min(100%, 520px);
  max-height: 260px;
  margin: -30px 0 28px auto;
  object-fit: contain;
  object-position: right center;
  opacity: 0.55;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.15);
  pointer-events: none;
}

.statement {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.statement img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}

.statement::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 43, 58, 0.92), rgba(20, 43, 58, 0.35)),
    linear-gradient(0deg, rgba(20, 43, 58, 0.78), transparent 50%);
}

.statement-copy {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - (clamp(18px, 5vw, 74px) * 2)));
  margin: 0 auto;
  padding: 86px 0;
}

.statement-copy p {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  line-height: 0.95;
  font-weight: 900;
}

.statement-copy span {
  display: block;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.6;
}

.contact {
  background: var(--paper);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(420px, 0.64fr);
  gap: clamp(42px, 6vw, 86px);
  width: min(1320px, 100%);
  margin: 0 auto;
  align-items: center;
}

.contact-copy {
  display: grid;
  align-content: start;
}

.contact .section-kicker {
  gap: 13px;
  margin-bottom: clamp(28px, 3vw, 42px);
  color: var(--technical-blue);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.contact .section-kicker .kicker-symbol {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-color: var(--technical-blue);
  border-radius: 5px;
  color: var(--technical-blue);
  background: transparent;
}

.contact-panel:hover .kicker-symbol {
  transform: none;
  background: transparent;
  box-shadow: none;
}

.contact-panel h2 {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(2.17rem, 3.61vw, 3.94rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.contact-panel h2 .keep-line {
  white-space: nowrap;
}

.contact-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: clamp(30px, 3.4vw, 46px) 0 24px;
  background: var(--soft-cyan);
}

.contact-panel p {
  max-width: 360px;
  color: #526b7a;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.55;
}

.contact-panel p strong {
  color: var(--ink);
  font-weight: 900;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.contact-list a {
  position: relative;
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 11px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(31, 67, 91, 0.12);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 42, 56, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-card {
  position: relative;
}

.contact-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 14px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.contact-list a:hover {
  border-color: rgba(105, 211, 220, 0.48);
  box-shadow: 0 22px 58px rgba(23, 42, 56, 0.1);
  transform: translateY(-2px);
}

.contact-list span {
  color: var(--technical-blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list strong {
  padding-right: 34px;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.6vw, 1.48rem);
  line-height: 1.2;
  font-weight: 900;
}

.contact-list .contact-icon {
  font-size: 0;
  font-weight: 400;
  text-transform: none;
}

.contact-arrow {
  position: absolute;
  right: clamp(24px, 2.6vw, 36px);
  bottom: clamp(24px, 2.6vw, 36px);
  color: var(--soft-cyan) !important;
  font-size: 1.55rem !important;
  line-height: 1;
  transition: transform 180ms ease;
}

.contact-list a:hover .contact-arrow {
  transform: translateX(5px);
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 74px);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  background: #132a39;
}

.footer-brand {
  color: var(--paper);
}

.footer-brand .brand-logo {
  width: clamp(150px, 12vw, 190px);
  height: clamp(104px, 9vw, 128px);
}

.site-footer p {
  margin: 0;
}

.footer-claim {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: clamp(22px, 2.8vw, 46px);
  margin-left: auto;
  padding-left: clamp(138px, 19vw, 280px);
}

.footer-tower-art {
  position: absolute;
  top: -38px;
  bottom: -38px;
  left: -68px;
  width: clamp(170px, 23vw, 330px);
  height: calc(100% + 76px);
  max-height: none;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.72;
  pointer-events: none;
}

@media (min-width: 981px) {
  :root {
    --content: 1320px;
  }

  .intro .section-grid {
    grid-template-columns: minmax(380px, 0.4fr) minmax(0, 0.6fr);
    column-gap: clamp(56px, 6vw, 92px);
    row-gap: 36px;
    align-items: center;
  }

  .intro .section-grid > div:first-child,
  .intro .section-copy {
    grid-column: 1;
  }

  .intro .section-grid > div:first-child {
    grid-row: 1;
  }

  .intro .section-copy {
    grid-row: 2;
    max-width: 520px;
    margin-top: -52px;
  }

  .intro-carousel {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 520px;
  }

  .carousel-track,
  .carousel-slide img {
    min-height: 520px;
  }

  .specialties h2 {
    max-width: none;
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.04;
  }

  .intro h2 {
    max-width: 520px;
    font-size: clamp(1.55rem, 1.95vw, 2.2rem);
    line-height: 1.22;
  }

  .intro .section-copy p {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.72;
  }

  #enfoque .section-heading {
    max-width: 720px;
  }

  #enfoque .vision-panel {
    grid-template-columns: minmax(460px, 0.42fr) minmax(540px, 0.52fr);
    justify-content: space-between;
    column-gap: clamp(72px, 7vw, 118px);
    align-items: stretch;
  }

  #enfoque .vision-intro {
    min-height: clamp(390px, 30vw, 500px);
    align-content: stretch;
    grid-template-rows: auto auto 1fr;
  }

  #enfoque .vision-tabs {
    align-self: end;
  }

  #enfoque .vision-content {
    min-height: clamp(390px, 30vw, 500px);
  }

  .services .section-heading {
    margin-bottom: clamp(50px, 5vw, 76px);
  }

  .services .section-heading h2 {
    max-width: 980px;
    font-size: clamp(2.85rem, 3.5vw, 4.25rem);
    line-height: 1.04;
  }

  .service-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(14px, 1.25vw, 20px);
  }

  .service-card {
    min-height: 430px;
    padding: clamp(22px, 1.7vw, 28px);
  }

  .service-card h3 {
    min-height: 72px;
  }

  .specialties .section-grid {
    grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
    gap: 8px clamp(36px, 5vw, 84px);
    align-items: start;
  }

  .specialties .section-grid > div:first-child {
    margin-top: clamp(64px, 7vw, 104px);
  }

  .specialties .section-copy {
    display: contents;
  }

  .specialties-tower-art {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: min(58vw, 860px);
    max-width: none;
    max-height: none;
    margin: -88px -190px -330px 0;
    opacity: 0.64;
  }

  .specialties h2 {
    max-width: 920px;
  }

  .specialties .feature-list {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 1.8vw, 26px);
    margin-top: clamp(-150px, -8vw, -112px);
  }

  .specialties .feature-list li {
    min-height: clamp(250px, 18vw, 310px);
    padding: clamp(118px, 8.6vw, 150px) clamp(24px, 2.2vw, 36px) 36px;
    font-size: clamp(1.15rem, 1.35vw, 1.55rem);
  }

  .specialties .feature-list li::before {
    top: clamp(24px, 2.4vw, 36px);
    left: clamp(24px, 2.2vw, 36px);
    font-size: clamp(5.8rem, 6.5vw, 8.25rem);
  }

  .specialties .feature-list li::after {
    left: clamp(24px, 2.2vw, 36px);
    bottom: 36px;
  }

  .contact-panel {
    grid-template-columns: minmax(320px, 0.36fr) minmax(620px, 0.64fr);
    gap: clamp(56px, 6vw, 96px);
  }

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

  .contact-panel p {
    margin: 0;
  }
}

@media (max-width: 980px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  main,
  .site-header,
  .hero,
  .band,
  .statement,
  .site-footer {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  section[id] {
    scroll-margin-top: 24px;
  }

  .nav-links {
    display: none;
  }

  .section-grid,
  .contact-panel,
  .vision-panel {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .section-grid > *,
  .vision-panel > *,
  .contact-panel > * {
    min-width: 0;
  }

  .contact-panel {
    gap: 42px;
  }

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

  .intro-carousel {
    min-height: 360px;
  }

  .carousel-slide {
    width: 100%;
  }

  .carousel-slide.is-next,
  .carousel-slide.is-after-next {
    opacity: 0;
    transform: translateX(0) scale(0.96);
  }

  .carousel-dots {
    left: 50%;
  }

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

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

  .service-gallery.is-four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding-right: clamp(18px, 5vw, 42px);
    padding-left: clamp(18px, 5vw, 42px);
  }

  .hero-headline span,
  .specialties h2 span {
    white-space: normal;
  }

  .specialties-tower-art {
    width: min(100%, 480px);
    margin: 6px auto -36px;
    opacity: 0.4;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-claim {
    width: 100%;
    min-height: 106px;
    margin-left: 0;
    padding-left: clamp(112px, 32vw, 190px);
  }

  .footer-tower-art {
    left: 0;
    width: clamp(120px, 29vw, 180px);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 20px;
  }

  .brand {
    min-width: 96px;
  }

  .brand-logo {
    width: 116px;
    height: 86px;
  }

  .hero {
    min-height: min(760px, 100svh);
    padding-top: 116px;
    padding-bottom: 44px;
  }

  .hero-bg {
    background-position: 35% center;
  }

  .hero .eyebrow {
    margin-bottom: 18px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .hero-logo {
    margin-bottom: 14px;
    font-size: 2.55rem;
  }

  .hero-rule {
    margin-bottom: 22px;
  }

  .hero-headline {
    margin-bottom: 30px;
    font-size: 1.9rem;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .band {
    padding: 54px 20px;
  }

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

  .intro h2 {
    font-size: 2rem;
    line-height: 1.07;
    letter-spacing: 0;
  }

  .intro .section-kicker {
    margin-bottom: 24px;
  }

  .intro-rule-top,
  .intro-rule-quote {
    margin-bottom: 26px;
  }

  .intro .section-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .intro-carousel,
  .carousel-track,
  .carousel-slide img {
    min-height: 292px;
  }

  .carousel-button {
    width: 42px;
    height: 42px;
  }

  #enfoque {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  #enfoque h2 {
    font-size: 2.05rem;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .vision-intro {
    gap: 25px;
  }

  .vision-tabs {
    gap: 9px;
  }

  .vision-tab {
    min-height: 50px;
    padding: 13px 15px;
  }

  .vision-content {
    padding: 28px 22px;
    border-radius: 10px;
  }

  .vision-block h3 {
    font-size: 1.72rem;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .services {
    padding-top: 58px;
    padding-bottom: 58px;
  }

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

  .contact-list a {
    min-height: 190px;
  }

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

  .service-card {
    min-height: auto;
  }

  .services .section-heading h2 {
    font-size: 2.1rem;
    line-height: 1.08;
    letter-spacing: 0;
  }

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

  .service-gallery.is-four-up {
    grid-template-columns: 1fr;
  }

  .service-modal-panel {
    max-height: 88vh;
    padding-top: 64px;
  }

  .vision-content {
    min-height: 0;
  }

  .vision-tab {
    flex: 1 1 120px;
  }

  .specialties .section-grid {
    gap: 22px;
  }

  .specialties h2 {
    font-size: 2.02rem;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .specialties-tower-art {
    width: 100%;
    max-height: 190px;
    margin: -2px 0 -18px;
    object-position: center;
  }

  .feature-list {
    gap: 14px;
    margin-top: 0;
  }

  .feature-list li {
    min-height: 178px;
    padding: 82px 22px 28px;
    font-size: 1.12rem;
  }

  .feature-list li::before {
    top: 18px;
    font-size: 4.2rem;
  }

  .feature-list li::after {
    bottom: 23px;
  }

  .statement {
    min-height: 390px;
  }

  .statement-copy {
    padding: 54px 0;
  }

  .statement-copy p {
    font-size: 2rem;
    line-height: 1.02;
  }

  .statement-copy span {
    font-size: 0.98rem;
  }

  .contact-panel {
    gap: 34px;
  }

  .contact-panel h2 {
    font-size: 2.36rem;
    line-height: 1.02;
    letter-spacing: 0;
  }

  .contact-panel h2 .keep-line {
    white-space: normal;
  }

  .contact-rule {
    margin: 28px 0 22px;
  }

  .contact-list a {
    min-height: 176px;
    padding: 24px;
  }

  .contact-icon {
    margin-bottom: 9px;
  }

  .site-footer {
    width: 100%;
    padding: 24px 20px;
  }

  .footer-brand .brand-logo {
    width: 146px;
    height: 100px;
  }

  .footer-claim {
    min-height: 96px;
    padding-left: 108px;
  }

  .footer-claim p {
    max-width: 170px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .footer-tower-art {
    top: -18px;
    bottom: -18px;
    width: 106px;
    height: calc(100% + 36px);
  }
}

/* Editorial refresh: Areas de especializacion */
.specialties {
  position: relative;
  padding: clamp(82px, 9vw, 148px) 0 clamp(88px, 9vw, 154px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(79, 111, 125, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(255, 255, 255, 1));
}

.specialties .section-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1480px, calc(100% - clamp(40px, 7vw, 128px)));
  max-width: none;
  margin: 0 auto;
  gap: clamp(44px, 5vw, 78px);
}

.specialties .section-grid > div:first-child {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.specialties .section-kicker {
  position: relative;
  margin-bottom: clamp(42px, 4vw, 58px);
  color: #4f6f7d;
  font-size: clamp(0.72rem, 0.75vw, 0.84rem);
  letter-spacing: 0.07em;
}

.specialties .section-kicker .kicker-symbol {
  border-color: rgba(79, 111, 125, 0.58);
  color: #4f6f7d;
  background: transparent;
}

.specialties .section-kicker::after {
  position: absolute;
  left: 0;
  bottom: -24px;
  width: 72px;
  height: 2px;
  content: "";
  background: #5aaeba;
}

.specialties h2 {
  max-width: min(1060px, 100%);
  color: var(--ink);
  font-size: clamp(3.2rem, 5.2vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.specialties h2 span {
  white-space: normal;
}

.specialties .section-copy {
  position: relative;
  z-index: 1;
}

.specialties-tower-art {
  position: absolute;
  z-index: -1;
  top: clamp(-84px, -4vw, -42px);
  right: clamp(-96px, -4vw, -34px);
  width: min(660px, 46vw);
  max-width: none;
  max-height: none;
  margin: 0;
  opacity: 0.08;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
}

.specialties .feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 1.8vw, 30px);
  margin: 0;
  counter-reset: specialty-card;
}

.specialties .feature-list li {
  --specialty-image: none;
  position: relative;
  min-height: clamp(292px, 20vw, 360px);
  padding: clamp(126px, 8.2vw, 164px) clamp(28px, 2.4vw, 42px) clamp(42px, 3vw, 56px);
  border: 1px solid rgba(31, 67, 91, 0.12);
  border-radius: 18px;
  overflow: hidden;
  color: var(--ink);
  background-color: #fff;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 253, 254, 0.88)),
    var(--specialty-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 52px rgba(23, 42, 56, 0.06);
  font-size: clamp(1.24rem, 1.28vw, 1.62rem);
  font-weight: 900;
  line-height: 1.14;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-image 180ms ease;
}

.specialties .feature-list li:nth-child(1) { --specialty-image: url("assets/specialty-card-01.png"); }
.specialties .feature-list li:nth-child(2) { --specialty-image: url("assets/specialty-card-02.png"); }
.specialties .feature-list li:nth-child(3) { --specialty-image: url("assets/specialty-card-03.png"); }
.specialties .feature-list li:nth-child(4) { --specialty-image: url("assets/specialty-card-04.png"); }
.specialties .feature-list li:nth-child(5) { --specialty-image: url("assets/specialty-card-05.png"); }
.specialties .feature-list li:nth-child(6) { --specialty-image: url("assets/specialty-card-06.png"); }
.specialties .feature-list li:nth-child(7) { --specialty-image: url("assets/specialty-card-07.png"); }
.specialties .feature-list li:nth-child(8) { --specialty-image: url("assets/specialty-card-08.png"); }

.specialties .feature-list li::before {
  top: clamp(28px, 2.5vw, 40px);
  left: clamp(28px, 2.4vw, 42px);
  color: rgba(10, 30, 45, 0.055);
  font-size: clamp(6rem, 7.6vw, 9.3rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.specialties .feature-list li::after {
  left: clamp(28px, 2.4vw, 42px);
  bottom: clamp(34px, 2.5vw, 46px);
  width: 48px;
  height: 2px;
  background: #5aaeba;
}

.specialties .feature-list li:hover,
.specialties .feature-list li:focus-visible,
.specialties .feature-list li:active {
  border-color: rgba(90, 174, 186, 0.55);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(230, 248, 250, 0.76)),
    var(--specialty-image);
  box-shadow: 0 26px 70px rgba(23, 42, 56, 0.12);
  transform: translateY(-4px);
}

.specialties .feature-list li:hover::before,
.specialties .feature-list li:focus-visible::before,
.specialties .feature-list li:active::before {
  color: rgba(90, 174, 186, 0.18);
}

@media (max-width: 980px) {
  .specialties {
    padding: 72px 0 82px;
  }

  .specialties .section-grid {
    width: min(100% - 36px, 860px);
    gap: 36px;
  }

  .specialties h2 {
    max-width: 760px;
    font-size: clamp(2.35rem, 8vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .specialties-tower-art {
    top: 40px;
    right: -140px;
    width: 520px;
    opacity: 0.055;
  }

  .specialties .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .specialties .feature-list li {
    min-height: 250px;
    padding: 114px 26px 42px;
    font-size: 1.22rem;
  }

  .specialties .feature-list li::before {
    top: 26px;
    left: 26px;
    font-size: 5.35rem;
  }

  .specialties .feature-list li::after {
    left: 26px;
    bottom: 32px;
  }
}

@media (max-width: 620px) {
  .specialties {
    padding: 64px 0 72px;
  }

  .specialties .section-grid {
    width: min(100% - 32px, 520px);
  }

  .specialties .section-kicker {
    margin-bottom: 38px;
  }

  .specialties h2 {
    font-size: clamp(2.05rem, 10vw, 3.1rem);
    line-height: 1.03;
  }

  .specialties-tower-art {
    top: 120px;
    right: -220px;
    width: 480px;
    opacity: 0.045;
  }

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

  .specialties .feature-list li {
    min-height: 218px;
    padding: 98px 24px 40px;
    font-size: 1.16rem;
  }

  .specialties .feature-list li::before {
    top: 24px;
    left: 24px;
    font-size: 4.85rem;
  }

  .specialties .feature-list li::after {
    left: 24px;
    bottom: 28px;
  }
}

/* Specialty card visibility tuning */
.specialties h2 {
  max-width: min(1120px, 100%);
}

.specialties .feature-list li {
  min-height: clamp(282px, 19vw, 340px);
  padding: clamp(116px, 7.4vw, 148px) clamp(30px, 2.3vw, 40px) clamp(40px, 2.8vw, 52px);
  background-color: #d4edf3;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.965) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(206, 235, 242, 0.08) 100%),
    var(--specialty-image);
  background-position: center, calc(100% + 24px) center;
  background-size: cover, auto 134%;
  background-blend-mode: normal, multiply;
  font-size: clamp(1.08rem, 1.02vw, 1.34rem);
  line-height: 1.18;
}

.specialties .feature-list li::before {
  color: rgba(10, 30, 45, 0.08);
  font-size: clamp(5.15rem, 6.6vw, 7.8rem);
}

.specialties .feature-list li:nth-child(1),
.specialties .feature-list li:nth-child(5),
.specialties .feature-list li:nth-child(6),
.specialties .feature-list li:nth-child(7) {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.955) 0%, rgba(255, 255, 255, 0.76) 42%, rgba(206, 235, 242, 0.02) 100%),
    var(--specialty-image);
}

.specialties .feature-list li:nth-child(1) {
  background-position: center, calc(100% + 10px) center;
  background-size: cover, auto 144%;
}

.specialties .feature-list li:nth-child(3) {
  background-position: center, calc(100% + 4px) center;
  background-size: cover, auto 146%;
}

.specialties .feature-list li:nth-child(4) {
  background-position: center, calc(100% + 52px) center;
}

.specialties .feature-list li:nth-child(6) {
  background-position: center, calc(100% + 6px) center;
  background-size: cover, auto 142%;
}

.specialties .feature-list li:nth-child(7) {
  background-position: center, calc(100% + 8px) center;
  background-size: cover, auto 144%;
}

.specialties .feature-list li:nth-child(8) {
  background-position: center, calc(100% + 48px) center;
}

.specialties .feature-list li:hover,
.specialties .feature-list li:focus-visible,
.specialties .feature-list li:active {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(180, 223, 232, 0.10) 100%),
    var(--specialty-image);
}

.specialties .feature-list li:hover::before,
.specialties .feature-list li:focus-visible::before,
.specialties .feature-list li:active::before {
  color: rgba(79, 111, 125, 0.16);
}

@media (max-width: 980px) {
  .specialties .feature-list li {
    min-height: 238px;
    padding: 104px 26px 40px;
    background-position: center, calc(100% + 20px) center;
    background-size: cover, auto 128%;
    font-size: 1.1rem;
  }

  .specialties .feature-list li::before {
    font-size: 4.85rem;
  }
}

@media (max-width: 620px) {
  .specialties .feature-list li {
    min-height: 206px;
    padding: 92px 22px 38px;
    background-position: center, calc(100% + 16px) center;
    background-size: cover, auto 122%;
    font-size: 1.04rem;
  }

  .specialties .feature-list li::before {
    font-size: 4.28rem;
  }
}

/* Desktop title width correction: keep the heading editorial and strictly in two lines. */
@media (min-width: 981px) {
  .specialties .section-grid {
    grid-template-columns: 1fr;
  }

  .specialties .section-grid > div:first-child {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .specialties .section-copy {
    display: block;
    grid-column: 1;
    grid-row: 2;
  }

  .specialties h2 {
    width: min(1380px, 100%);
    max-width: none;
    font-size: clamp(3.45rem, 4.1vw, 4.95rem);
    line-height: 1.02;
  }

  .specialties h2 span {
    display: inline-block;
    white-space: nowrap;
  }

  .specialties .feature-list {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .specialties-tower-art {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Cursos */
.courses-section {
  overflow: hidden;
  padding: clamp(70px, 6vw, 96px) clamp(22px, 5vw, 76px);
  background: #fff;
}

.courses-container {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.courses-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(390px, 1.06fr);
  min-height: clamp(440px, 34vw, 520px);
  max-height: none;
  overflow: hidden;
  border: 1px solid rgba(31, 67, 91, 0.1);
  border-radius: 34px;
  background: #fff;
}

.courses-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  padding: clamp(42px, 5vw, 64px);
}

.courses-hero-copy .section-kicker {
  margin-bottom: 20px;
  color: var(--soft-cyan);
}

.courses-hero-copy h2 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.courses-hero-copy h2 span,
.courses-rule {
  display: block;
  width: 68px;
  height: 2px;
  margin: 24px 0 22px;
  background: var(--soft-cyan);
}

.courses-hero-copy p {
  max-width: 580px;
  margin: 24px 0 0;
  color: #536b78;
  font-size: clamp(1rem, 1.12vw, 1.13rem);
  line-height: 1.58;
}

.courses-rule {
  display: block;
  width: 68px;
  height: 2px;
  margin: 24px 0 22px;
  background: var(--soft-cyan);
}

.courses-hero-copy strong {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.28vw, 1.28rem);
  line-height: 1.45;
}

.courses-hero-media {
  position: relative;
  min-height: 100%;
  margin: 0;
}

.courses-hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.78) 18%, rgba(255, 255, 255, 0.12) 48%, transparent 100%);
}

.courses-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.courses-block {
  margin-top: clamp(54px, 5vw, 70px);
}

.courses-container > .courses-block:first-child {
  margin-top: 0;
}

.courses-hero + .courses-block {
  margin-top: clamp(38px, 4vw, 56px);
}

.courses-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.courses-block-head h2,
.courses-block-head h3,
.courses-info-banner h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.78rem, 2.1vw, 2.38rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.courses-block-head p,
.courses-info-banner p {
  margin: 8px 0 0;
  color: #627684;
  font-size: 0.98rem;
  line-height: 1.55;
}

.courses-controls {
  display: none;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.courses-controls a {
  color: var(--technical-blue);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: none;
}

.courses-controls button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(31, 67, 91, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.courses-controls button:hover {
  border-color: rgba(105, 211, 220, 0.85);
  color: var(--technical-blue);
  transform: translateY(-2px);
}

.courses-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 2.4vw, 34px);
  overflow: visible;
  padding: 0;
  scrollbar-width: auto;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 382px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 67, 91, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(17, 42, 58, 0.07);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
  border-color: rgba(105, 211, 220, 0.72);
  box-shadow: 0 24px 70px rgba(17, 42, 58, 0.14);
  transform: translateY(-4px);
}

.course-card-featured {
  border-color: rgba(105, 211, 220, 0.72);
  box-shadow: 0 24px 66px rgba(17, 42, 58, 0.13);
}

.course-cover {
  position: relative;
  flex: 0 0 250px;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.course-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(13, 38, 54, 0.2), rgba(13, 38, 54, 0.82)),
    linear-gradient(90deg, rgba(13, 38, 54, 0.78), rgba(13, 38, 54, 0.22));
}

.course-cover img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}

.course-cover-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 24px 76px;
}

.course-cover-copy span,
.course-cover-copy small {
  align-self: flex-start;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
}

.course-cover-copy span {
  display: inline-flex;
  align-self: flex-start;
  justify-content: flex-start;
  margin: 0;
  padding: 6px 9px;
  border-radius: 6px;
  color: #103041;
  background: var(--soft-cyan);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
}

.course-cover-copy small {
  align-self: flex-start;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
}

.course-cover-copy h4 {
  max-width: 430px;
  margin: 14px 0 14px;
  font-size: clamp(0.98rem, 1.04vw, 1.12rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-align: left;
  text-transform: uppercase;
}

.course-cover .course-cover-logo {
  position: absolute;
  left: 20px;
  bottom: 18px;
  width: clamp(38px, 3.4vw, 46px);
  height: auto;
  min-height: 0;
  object-fit: contain;
  opacity: 0.88;
}

.course-card-body {
  flex: 1;
  display: grid;
  gap: 11px;
  padding: 18px 20px 20px;
}

.course-card-body p {
  margin: 0;
  color: #607381;
  line-height: 1.6;
}

.course-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0;
}

.course-meta div {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 22px;
  padding-left: 28px;
}

.course-meta div::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  color: var(--technical-blue);
  background: currentColor;
  content: "";
  flex-shrink: 0;
  opacity: 0.78;
  transform: translateY(-50%);
  mask: var(--course-meta-icon) center / contain no-repeat;
  -webkit-mask: var(--course-meta-icon) center / contain no-repeat;
}

.course-meta-area { --course-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/%3E%3C/svg%3E"); }
.course-meta-date { --course-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
.course-meta-duration { --course-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.course-meta-mode { --course-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.course-meta-security { --course-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3C/svg%3E"); }

.course-meta dt {
  color: #6c7f8c;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.course-meta dd {
  margin: 0 0 0 4px;
  color: var(--ink);
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1.35;
}

.course-action {
  margin-top: auto;
  justify-self: end;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--soft-cyan);
  border-radius: 7px;
  color: #102a39;
  background: rgba(105, 211, 220, 0.14);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.course-action:hover {
  box-shadow: 0 16px 34px rgba(105, 211, 220, 0.24);
  transform: translateY(-2px);
}

.course-action-secondary,
.course-action-muted {
  color: var(--technical-blue);
  background: #fff;
}

.course-action-muted {
  cursor: not-allowed;
  opacity: 0.62;
}

.courses-info-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: clamp(110px, 10vw, 145px);
  margin-top: clamp(56px, 5vw, 72px);
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid rgba(31, 67, 91, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 95% 20%, rgba(105, 211, 220, 0.22), transparent 30%);
  box-shadow: 0 20px 60px rgba(17, 42, 58, 0.08);
}

.courses-banner-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(91, 116, 128, 0.28);
  border-radius: 18px;
  background: #f3f8fa;
}

.courses-banner-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--technical-blue);
}

.courses-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.courses-banner-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(31, 67, 91, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.courses-banner-actions a:last-child {
  border-color: var(--soft-cyan);
  background: var(--soft-cyan);
}

.courses-banner-actions a:hover {
  border-color: var(--technical-blue);
  transform: translateY(-2px);
}

.course-modal[hidden] {
  display: none;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 36px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.course-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.course-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 40, 0.72);
  backdrop-filter: blur(5px);
}

.course-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100vw - 64px));
  max-height: 88vh;
  overflow: auto;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(9, 28, 40, 0.32);
  transform: translateY(16px);
  transition: transform 180ms ease;
}

.course-modal.is-open .course-modal-panel {
  transform: translateY(0);
}

.course-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 67, 91, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(17, 42, 58, 0.12);
  font-size: 1.3rem;
  cursor: pointer;
}

.course-modal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.36fr) minmax(0, 0.64fr);
}

.course-modal-cover {
  position: relative;
  min-height: 700px;
  margin: 0;
  overflow: hidden;
  background: #102a39;
}

.course-modal-cover::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 31, 45, 0.12), rgba(10, 31, 45, 0.66)),
    linear-gradient(90deg, rgba(10, 31, 45, 0.68), rgba(10, 31, 45, 0.24) 62%, rgba(10, 31, 45, 0.08));
  content: "";
}

.course-modal-cover > img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  object-position: center;
}

.course-modal-cover figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: clamp(28px, 3.4vw, 40px);
  color: #fff;
}

.course-modal-cover span {
  color: var(--soft-cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.course-modal-cover h3 {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.25rem, 1.55vw, 1.62rem);
  line-height: 1.36;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.course-modal-cover figcaption img {
  width: 118px;
  height: auto;
  margin-top: 8px;
}

.course-modal-content {
  display: flex;
  flex-direction: column;
  padding: clamp(48px, 5vw, 68px);
}

.course-modal-content .section-kicker {
  color: var(--soft-cyan);
}

.course-modal-content h2 {
  max-width: 620px;
  margin: 20px 0 22px;
  color: var(--ink);
  font-size: clamp(1.75rem, 2.35vw, 2.2rem);
  line-height: 1.14;
}

.course-modal-description {
  max-width: 620px;
  margin: 0 0 34px;
  color: #5d6f7a;
  font-size: 1.02rem;
  line-height: 1.72;
}

.course-detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 34px;
}

.course-detail-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.course-detail-wide {
  grid-column: auto;
}

.course-detail-icon {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 0;
  color: #5b7480;
  background: transparent;
}

.course-detail-icon::before {
  width: 22px;
  height: 22px;
  background: currentColor;
  content: "";
  mask: var(--course-detail-icon) center / contain no-repeat;
  -webkit-mask: var(--course-detail-icon) center / contain no-repeat;
}

.course-detail-icon-energy { --course-detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/%3E%3C/svg%3E"); }
.course-detail-icon-location { --course-detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.course-detail-icon-clock { --course-detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.course-detail-icon-calendar { --course-detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
.course-detail-icon-users { --course-detail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }

.course-detail-item span:not(.course-detail-icon) {
  display: block;
  color: #6c7f8c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-detail-item strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  line-height: 1.25;
}

.course-syllabus {
  padding: 22px 24px;
  border: 1px solid rgba(31, 67, 91, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(105, 211, 220, 0.14), transparent 52%),
    #fff;
}

.course-syllabus h3 {
  margin: 0 0 14px;
  color: var(--technical-blue);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.course-syllabus ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #253f50;
  line-height: 1.45;
}

.course-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 32px;
}

.course-modal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.course-modal-button-primary {
  border: 1px solid var(--soft-cyan);
  color: #102a39;
  background: var(--soft-cyan);
}

.course-modal-button-secondary {
  border: 1px solid rgba(79, 166, 181, 0.54);
  color: var(--technical-blue);
  background: #fff;
}

.course-modal-button:hover {
  transform: translateY(-2px);
}

.course-modal-button-primary:hover {
  box-shadow: 0 16px 34px rgba(105, 211, 220, 0.24);
}

.course-gallery-modal[hidden],
.course-lightbox[hidden] {
  display: none;
}

.course-gallery-modal,
.course-lightbox {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.course-lightbox {
  z-index: 135;
}

.course-gallery-modal.is-open,
.course-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.course-gallery-backdrop,
.course-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 40, 0.74);
  backdrop-filter: blur(5px);
}

.course-gallery-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 64px));
  max-height: 86vh;
  overflow: auto;
  padding: clamp(30px, 3.4vw, 42px);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(9, 28, 40, 0.32);
  transform: translateY(16px);
  transition: transform 180ms ease;
}

.course-gallery-modal.is-open .course-gallery-panel,
.course-lightbox.is-open .course-lightbox-panel {
  transform: translateY(0);
}

.course-gallery-close,
.course-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 67, 91, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(17, 42, 58, 0.12);
  font-size: 1.3rem;
  cursor: pointer;
}

.course-gallery-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.course-gallery-head .section-kicker {
  color: var(--label-blue);
}

.course-gallery-head h2 {
  margin: 16px 0 12px;
  color: var(--ink);
  font-size: clamp(2.05rem, 3vw, 3.2rem);
  line-height: 0.98;
}

.course-gallery-subtitle {
  max-width: 760px;
  margin: 0;
  color: #5d6f7a;
  font-size: 1rem;
  line-height: 1.6;
}

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

.course-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(31, 67, 91, 0.12);
  border-radius: 20px;
  background: #f4f8fa;
  box-shadow: 0 16px 38px rgba(17, 42, 58, 0.08);
  cursor: pointer;
}

.course-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-gallery-placeholder {
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(79, 166, 181, 0.18), transparent 54%),
    repeating-linear-gradient(135deg, rgba(31, 67, 91, 0.04) 0 1px, transparent 1px 14px),
    #f7fbfc;
  color: #5d6f7a;
  text-align: center;
}

.course-gallery-placeholder strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.course-gallery-placeholder span {
  display: block;
  margin-top: 8px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-gallery-item figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #fff;
  background: rgba(10, 31, 45, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
}

.course-gallery-nav {
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.course-gallery-nav:not([hidden]) {
  display: flex;
}

.course-gallery-arrow {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(79, 166, 181, 0.42);
  border-radius: 999px;
  color: var(--technical-blue);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.course-gallery-dots {
  display: inline-flex;
  gap: 8px;
}

.course-gallery-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 67, 91, 0.22);
  cursor: pointer;
}

.course-gallery-dot.is-active {
  background: var(--technical-blue);
}

.course-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  width: min(980px, calc(100vw - 64px));
  transform: translateY(16px);
  transition: transform 180ms ease;
}

.course-lightbox-media {
  display: grid;
  min-height: min(68vh, 620px);
  place-items: center;
}

.course-lightbox-media img {
  max-width: 100%;
  max-height: min(68vh, 620px);
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
}

.course-lightbox-placeholder {
  width: min(680px, 100%);
  min-height: min(58vh, 520px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(105, 211, 220, 0.22), rgba(255, 255, 255, 0.06)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px),
    #123042;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.course-lightbox-placeholder strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
}

.course-lightbox-placeholder span {
  display: block;
  margin-top: 14px;
  color: var(--soft-cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-lightbox-arrow {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0;
  cursor: pointer;
}

.course-lightbox-arrow::before {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.course-lightbox-arrow-prev::before {
  content: "\2039";
}

.course-lightbox-arrow-next::before {
  content: "\203a";
}

.course-lightbox-caption {
  grid-column: 2;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

@media (min-width: 981px) {
  .courses-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: initial;
    grid-auto-flow: row;
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .courses-section {
    padding: 72px 24px;
  }

  .courses-hero {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .courses-hero-copy {
    padding: 38px 32px;
  }

  .courses-hero-media {
    min-height: 240px;
  }

  .courses-hero-media::before {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.15) 36%, transparent 100%);
  }

  .courses-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: initial;
    grid-auto-flow: row;
    overflow: visible;
  }

  .course-card {
    height: auto;
    min-height: 382px;
  }

  .courses-info-banner {
    grid-template-columns: auto 1fr;
  }

  .courses-banner-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .courses-section {
    padding: 62px 18px;
    overflow: hidden;
  }

  .courses-hero {
    border-radius: 26px;
    min-height: 0;
  }

  .courses-hero-copy {
    padding: 32px 22px;
  }

  .courses-hero-media {
    min-height: 190px;
  }

  .courses-hero-copy h2 {
    font-size: clamp(2.12rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .courses-block-head {
    display: grid;
    align-items: start;
  }

  .courses-controls {
    justify-content: space-between;
  }

  .courses-track {
    grid-template-columns: 1fr;
    grid-auto-columns: initial;
    grid-auto-flow: row;
    overflow: visible;
    gap: 16px;
    margin-right: 0;
    padding-right: 0;
  }

  .course-card {
    height: auto;
    min-height: 0;
  }

  .course-cover,
  .course-cover img {
    min-height: 304px;
  }

  .course-cover-copy {
    padding: 24px 22px 76px;
  }

  .course-card-body {
    padding: 22px;
  }

  .course-cover .course-cover-logo {
    left: 22px;
    bottom: 20px;
    width: 44px;
  }

  .course-meta {
    grid-template-columns: 1fr;
  }

  .course-action {
    justify-self: stretch;
  }

  .courses-info-banner {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .courses-banner-actions {
    display: grid;
  }

  .course-modal {
    padding: 16px;
  }

  .course-modal-panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 24px;
  }

  .course-modal-grid {
    grid-template-columns: 1fr;
  }

  .course-modal-cover,
  .course-modal-cover > img {
    min-height: 400px;
  }

  .course-modal-cover h3 {
    max-width: 340px;
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.22rem, 5.8vw, 1.62rem);
    line-height: 1.34;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .course-modal-cover figcaption img {
    width: 108px;
  }

  .course-modal-content {
    padding: 34px 24px 42px;
  }

  .course-modal-content h2 {
    font-size: clamp(1.72rem, 7.2vw, 2.25rem);
    line-height: 1.13;
  }

  .course-detail-list {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .course-gallery-modal,
  .course-lightbox {
    padding: 16px;
  }

  .course-gallery-panel {
    width: 100%;
    max-height: 88vh;
    padding: 30px 20px;
    border-radius: 24px;
  }

  .course-gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .course-gallery-item,
  .course-gallery-item img,
  .course-gallery-placeholder {
    min-height: 220px;
  }

  .course-gallery-nav:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .course-gallery-dots {
    grid-column: 1 / -1;
    justify-content: center;
    order: -1;
  }

  .course-lightbox-panel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    width: 100%;
  }

  .course-lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (min-width: 621px) and (max-width: 980px) {
  .course-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}