:root {
  --atlas-brand: #2b5cff;
  --atlas-ink: #0b1b3a;
  --atlas-bg: #0b1220;
  --atlas-shell: 260px;
  --atlas-shell-gap: 28px;
  --atlas-logo-h: 140px;
  --atlas-radius-xl: 34px;
  --atlas-radius-lg: 22px;
  --atlas-index-bg: url(/assets/img/img_principal.svg);
}

/* Keep Tooplate mechanics, align with AtlasVision brand */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0b1220;
}

.atlas-ic {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.atlas-ic--btn {
  width: 18px;
  height: 18px;
}

.seq-preloader {
  background: #ffffff;
}

/* Logo block (top-left) */
.logo {
  background: transparent !important;
  border-right: none;
  border-bottom: none;
  width: var(--atlas-shell);
  height: var(--atlas-logo-h);
}

.logo h1,
.logo h2 {
  display: none !important;
}

.logo .logo-link {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  text-decoration: none;
}

.logo .logo-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.35));
}

/* Navigation */
.atlas-nav {
  background: linear-gradient(180deg, rgba(4, 9, 24, 0.96), rgba(6, 16, 40, 0.84));
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  width: var(--atlas-shell);
  left: 0;
  top: 0;
  height: 100vh;
  padding: 14px 14px 20px;
  text-align: left;
}

.atlas-nav ul {
  top: 0;
  left: 0;
  transform: none;
  height: auto;
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
}

.atlas-nav__brand {
  margin: 0 0 8px;
}

.atlas-nav li.atlas-nav__brand > a.logo-link {
  width: 100%;
  padding: 8px 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.atlas-nav li.atlas-nav__brand > a.logo-link:hover {
  background: transparent;
}

.atlas-nav__brand .logo-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.35));
}

.atlas-nav ul li {
  text-align: left;
  margin: 0;
}

.atlas-nav a {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.atlas-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.atlas-nav a.active {
  border-color: rgba(43, 92, 255, 0.45);
  background: rgba(43, 92, 255, 0.24);
  box-shadow: 0 18px 35px rgba(2, 6, 23, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.atlas-nav__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: rgba(255, 255, 255, 0.92);
  flex: 0 0 auto;
  font-size: 18px;
}

.atlas-nav__icon .atlas-ic {
  width: 22px;
  height: 22px;
}

.atlas-nav a.active .atlas-nav__icon {
  background: rgba(43, 92, 255, 0.28);
  border-color: rgba(43, 92, 255, 0.45);
}

.atlas-nav em {
  margin: 0;
  display: block;
  letter-spacing: 0.08em;
  opacity: 0.92;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

/* Index background (single source image) */
.slides .slide[id="1"],
.slides .slide[id="2"],
.slides .slide[id="3"],
.slides .slide[id="4"] {
  background-color: #0b1220;
  background-image: var(--atlas-index-bg), url("/assets/img/img_principal.svg");
  background-repeat: no-repeat;
  background-position: 88% 42%;
  background-size: cover;
}

.slides .slide {
  position: relative;
  isolation: isolate;
}

.slides .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.32);
  pointer-events: none;
  z-index: 0;
}

.slides .slide .content {
  position: relative;
  z-index: 1;
}

@media (min-width: 1200px) {
  .slides .slide[id="1"],
  .slides .slide[id="2"],
  .slides .slide[id="3"],
  .slides .slide[id="4"] {
    background-position: 92% 44%;
  }
}

@media (max-width: 991px) {
  .slides .slide[id="1"],
  .slides .slide[id="2"],
  .slides .slide[id="3"],
  .slides .slide[id="4"] {
    background-position: 70% 25%;
  }
}

/* Modules (Slide 3) - AtlasVision cards */
.atlas-modules {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.atlas-modules__frame {
  width: min(1280px, 100%);
  position: relative;
  display: grid;
  align-items: center;
  padding: 0 10px;
}

.atlas-modules__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 2px;
  z-index: 3;
}

.atlas-modules__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.20);
  transition: 0.18s ease;
}

.atlas-modules__dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.atlas-modules__dot.is-active {
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 0 16px rgba(255, 255, 255, 0.55);
  transform: scale(1.08);
}

.atlas-modules__dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.atlas-modules__track {
  --atlas-module-w: 210px;
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 18px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 18px;
  scroll-padding-right: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  cursor: grab;
}

.atlas-modules__track::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.atlas-modules__track.atlas-is-dragging {
  cursor: grabbing;
  user-select: none;
}


.atlas-modules__frame::before,
.atlas-modules__frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
  z-index: 2;
}

.atlas-modules__frame::before {
  left: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.95), rgba(11, 18, 32, 0));
}

.atlas-modules__frame::after {
  right: 0;
  background: linear-gradient(270deg, rgba(11, 18, 32, 0.95), rgba(11, 18, 32, 0));
}

.atlas-module {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.55);
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 420px;
  width: var(--atlas-module-w);
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.atlas-module__media {
  position: relative;
  background: #030712;
}

.atlas-module__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 250px at 40% 20%, rgba(43, 92, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.62));
  pointer-events: none;
}

.atlas-module__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.02);
}

.atlas-module__body {
  background:
    linear-gradient(180deg, rgba(5, 13, 40, 0.96) 0%, rgba(2, 8, 30, 0.98) 100%);
  border-top: 1px solid rgba(96, 165, 250, 0.22);
  padding: 18px 18px 16px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.atlas-module__title {
  margin: 0;
  color: #f8fafc;
  font-weight: 950;
  letter-spacing: 0.04em;
  font-size: 15px;
}

.atlas-module__rule {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--atlas-brand), #2563eb);
  box-shadow: 0 10px 18px rgba(43, 92, 255, 0.18);
}

.atlas-module__desc {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  max-width: 200px;
}

.atlas-module__badge {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #60a5fa;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.45);
}

.atlas-module__badge .atlas-ic {
  width: 28px;
  height: 28px;
  stroke-width: 2.1;
}

@media (max-width: 991px) {
  .atlas-modules {
    align-items: flex-start;
    padding-top: 18px;
  }
  .atlas-modules__track {
    --atlas-module-w: 250px;
    padding: 10px 16px;
    gap: 14px;
  }
  .atlas-module {
    min-height: 360px;
    grid-template-rows: 230px auto;
  }
  .atlas-module__body {
    padding: 16px 14px 14px;
    gap: 10px;
  }
  .atlas-module__badge {
    width: 58px;
    height: 58px;
  }
  .atlas-module__badge .atlas-ic {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 560px) {
  .atlas-modules {
    height: calc(100dvh - 118px);
    align-items: stretch;
    padding-top: 0;
  }
  .atlas-modules__frame {
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 0 6px;
  }
  .atlas-modules__track {
    --atlas-module-w: min(86vw, 360px);
    height: 100%;
    padding: 8px 12px 12px;
    gap: 12px;
  }
  .atlas-module {
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 68%) auto;
  }
  .atlas-module__body { padding: 18px 14px 16px; }
  .atlas-modules__dots {
    padding: 8px 0 calc(4px + env(safe-area-inset-bottom));
  }
}

/* Buttons / CTA */
.atlas-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.atlas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: 0.15s ease;
}

.atlas-btn .atlas-ic {
  margin-left: 2px;
}

.atlas-btn-primary {
  background: linear-gradient(135deg, var(--atlas-brand), #1d4ed8);
  color: #ffffff !important;
  border-color: rgba(43, 92, 255, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.atlas-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.atlas-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.atlas-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.atlas-cta--convocatoria {
  position: relative;
  padding-right: 72px;
  min-height: 52px;
  align-items: flex-end;
}

.atlas-cta--convocatoria .atlas-btn-primary {
  border-color: rgba(96, 165, 250, 0.75);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.45), 0 12px 30px rgba(29, 78, 216, 0.35);
}

.atlas-btn-pwa {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52px;
  height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #67e8f9 !important;
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(6, 182, 212, 0.14);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.25), inset 0 0 12px rgba(6, 182, 212, 0.12);
}

.atlas-btn-pwa .atlas-ic {
  margin-left: 0;
}

.atlas-btn-pwa__ic {
  width: 24px;
  height: 24px;
  color: #22d3ee;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.75));
}

/* Home content */
.atlas-home-content {
  background: rgba(2, 6, 23, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--atlas-radius-xl);
  box-shadow: 0 35px 90px rgba(2, 6, 23, 0.55);
  padding: 46px 54px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.atlas-home {
  max-width: 1240px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.atlas-home__collab-btn {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  background: rgba(15, 23, 42, 0.42);
  border-color: rgba(96, 165, 250, 0.34);
}

.atlas-hero__kicker {
  color: rgba(43, 92, 255, 0.95);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.atlas-hero__title {
  color: #ffffff;
  font-weight: 950;
  letter-spacing: 0.02em;
  font-size: clamp(44px, 5.1vw, 78px);
  line-height: 0.96;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.atlas-hero__subtitle {
  color: rgba(226, 232, 240, 0.92);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 14px;
  max-width: 920px;
}

.atlas-hero__lead {
  color: rgba(226, 232, 240, 0.78);
  font-size: 15px;
  line-height: 1.65;
  max-width: 760px;
  margin: 0;
}

.atlas-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.atlas-card {
  position: relative;
  border-radius: var(--atlas-radius-lg);
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 18px 18px 18px 18px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  min-height: 122px;
}


.atlas-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(43, 92, 255, 0.18);
  border: 1px solid rgba(43, 92, 255, 0.32);
  color: #dbeafe;
  font-size: 22px;
  margin-top: 2px;
}

.atlas-card__icon .atlas-ic {
  width: 22px;
  height: 22px;
}

.atlas-card__title {
  color: #ffffff;
  margin: 2px 0 6px;
  font-weight: 900;
  font-size: 15px;
}

.atlas-card__text {
  color: rgba(226, 232, 240, 0.74);
  margin: 0;
  line-height: 1.45;
  font-size: 13px;
  max-width: 360px;
}


.atlas-card__arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(226, 232, 240, 0.9);
  transition: 0.15s ease;
}

.atlas-card__arrow .atlas-ic {
  width: 18px;
  height: 18px;
}

.atlas-card__arrow:hover {
  transform: translateY(-1px);
  background: rgba(43, 92, 255, 0.16);
  border-color: rgba(43, 92, 255, 0.35);
}

.atlas-module--interactive {
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.atlas-module--interactive:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.35);
}

.atlas-module--interactive:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.72);
  outline-offset: 2px;
}

.atlas-module__detail {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: max-height 0.32s ease, opacity 0.26s ease, transform 0.28s ease, margin-top 0.28s ease;
  margin-top: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.atlas-module__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.58);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(29, 78, 216, 0.22));
  color: #dbeafe !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: max-height 0.32s ease, opacity 0.28s ease, transform 0.28s ease, margin-top 0.28s ease, filter 0.15s ease;
  margin-top: 0;
}

.atlas-module__cta:hover {
  filter: brightness(1.08);
}

.atlas-module.is-expanded .atlas-module__body {
  transform: translateY(-18px);
  transition: transform 0.3s ease;
}

.atlas-module.is-expanded .atlas-module__detail {
  max-height: 92px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 4px;
}

.atlas-module.is-expanded .atlas-module__cta {
  opacity: 1;
  max-height: 42px;
  transform: translateY(0);
  margin-top: 6px;
}

.atlas-banner {
  margin-top: 18px;
  border-radius: var(--atlas-radius-lg);
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
}

.atlas-banner__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(43, 92, 255, 0.18);
  border: 1px solid rgba(43, 92, 255, 0.32);
  color: #dbeafe;
  font-size: 22px;
}

.atlas-banner__icon .atlas-ic {
  width: 22px;
  height: 22px;
}

.atlas-banner__btn .atlas-ic {
  width: 18px;
  height: 18px;
}

.atlas-tab-icon {
  display: grid;
  place-items: center;
}

/* Platform (Slide 2): top tabs row + transparent content */
.second-content #tabs {
  float: none;
  margin: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 24px 28px;
}

.second-content #tabs > ul {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.second-content #tabs > ul li {
  margin: 0;
}

.second-content #tabs > ul li span {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.36);
  color: rgba(226, 232, 240, 0.95);
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 1;
  transition: 0.18s ease;
}

.second-content #tabs > ul .ui-tabs-active span {
  background: rgba(43, 92, 255, 0.30);
  border-color: rgba(43, 92, 255, 0.55);
  color: #ffffff;
}

.second-content #tabs > ul .ui-tabs-active a {
  color: #ffffff;
}

.second-content #tabs > ul li .atlas-ic {
  width: 22px;
  height: 22px;
}

.second-content .tabs-content {
  width: 100%;
  margin: 0;
  padding: 8px 4px 0;
  background: transparent;
  color: #e2e8f0;
  text-align: left;
}

.second-content .tabs-content h2 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-weight: 950;
  letter-spacing: 0.02em;
  font-size: clamp(40px, 5.3vw, 74px);
  line-height: 0.96;
  text-transform: uppercase;
}

.second-content .tabs-content span {
  color: rgba(226, 232, 240, 0.92);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 18px;
}

.second-content .tabs-content p {
  color: rgba(226, 232, 240, 0.80);
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 860px;
}

.second-content .atlas-tab-subtitle {
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.second-content .atlas-tab-subtitle__icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #93c5fd;
  background: rgba(43, 92, 255, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.32);
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.35), inset 0 0 14px rgba(43, 92, 255, 0.12);
}

.second-content .atlas-tab-subtitle__icon .atlas-ic {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.second-content .atlas-tab-subtitle--who .atlas-tab-subtitle__icon {
  color: #5eead4;
  background: rgba(20, 184, 166, 0.16);
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.45), inset 0 0 14px rgba(20, 184, 166, 0.16);
}

.second-content .atlas-tab-subtitle--areas .atlas-tab-subtitle__icon {
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(167, 139, 250, 0.48);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.45), inset 0 0 14px rgba(139, 92, 246, 0.16);
}

.second-content .atlas-tab-subtitle--offer .atlas-tab-subtitle__icon {
  color: #f472b6;
  background: rgba(236, 72, 153, 0.16);
  border-color: rgba(244, 114, 182, 0.50);
  box-shadow: 0 0 18px rgba(244, 114, 182, 0.45), inset 0 0 14px rgba(236, 72, 153, 0.16);
}

.second-content .atlas-tab-subtitle--apply .atlas-tab-subtitle__icon {
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.16);
  border-color: rgba(34, 211, 238, 0.50);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45), inset 0 0 14px rgba(6, 182, 212, 0.16);
}

.second-content .tabs-content article {
  max-width: 920px;
}

.second-content .tabs-content #tabs-1 {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  background: linear-gradient(180deg, rgba(4, 12, 36, 0.72), rgba(2, 8, 28, 0.60));
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.22), inset 0 0 28px rgba(14, 116, 144, 0.08);
  padding: 16px 16px 14px;
  overflow: hidden;
}

.second-content .tabs-content #tabs-1::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 68%);
  pointer-events: none;
}

.second-content .tabs-content #tabs-1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.85), rgba(59, 130, 246, 0));
  pointer-events: none;
}

.second-content .tabs-content #tabs-1 h2 {
  background: linear-gradient(90deg, #e0f2fe 0%, #93c5fd 45%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 26px rgba(56, 189, 248, 0.24);
}

.second-content .tabs-content #tabs-1 > span {
  color: #7dd3fc;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.32);
}

.second-content .tabs-content #tabs-1 > p {
  max-width: 980px;
}

.second-content .tabs-content #tabs-1 .atlas-tab-card {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(4, 14, 42, 0.60);
  box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.22), inset 0 0 20px rgba(8, 47, 73, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.second-content .tabs-content #tabs-1 .atlas-tab-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.62);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.20), inset 0 0 22px rgba(8, 47, 73, 0.45);
}

.second-content .tabs-content #tabs-1 .atlas-tab-subtitle {
  color: #e0f2fe;
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

.second-content .tabs-content #tabs-1 .atlas-tab-subtitle--who {
  color: #67e8f9;
}

.second-content .tabs-content #tabs-1 .atlas-tab-subtitle--areas {
  color: #c4b5fd;
}

.second-content .tabs-content #tabs-1 .atlas-tab-subtitle--offer {
  color: #f9a8d4;
}

.second-content .tabs-content #tabs-1 .atlas-tab-subtitle--apply {
  color: #22d3ee;
}

.second-content .tabs-content #tabs-1 .atlas-tab-points li::before {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.24), 0 0 10px rgba(34, 211, 238, 0.65);
}

.second-content .tabs-content #tabs-1 .atlas-tab-meta span {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(8, 25, 61, 0.55);
  color: #dbeafe;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.20), inset 0 0 10px rgba(30, 64, 175, 0.18);
}

.second-content .atlas-tab-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.second-content .atlas-tab-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(8, 17, 46, 0.28);
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.second-content .atlas-tab-card .atlas-tab-subtitle {
  margin-top: 0;
}

.second-content .atlas-tab-card .atlas-tab-points {
  margin-top: 10px;
}

.second-content .atlas-tab-points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: stretch;
}

.second-content .atlas-tab-points li {
  color: rgba(226, 232, 240, 0.86);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.second-content .atlas-tab-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2b5cff, #60a5fa);
  box-shadow: 0 0 0 3px rgba(43, 92, 255, 0.18);
}

.second-content .atlas-tab-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.second-content .atlas-tab-meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.28);
  color: rgba(226, 232, 240, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.atlas-banner__title {
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 2px;
  font-size: 14px;
}

.atlas-banner__text {
  color: rgba(226, 232, 240, 0.74);
  font-size: 13px;
}

.atlas-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none !important;
  background: rgba(43, 92, 255, 0.18);
  border: 1px solid rgba(43, 92, 255, 0.34);
  color: #ffffff !important;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.15s ease;
}

.atlas-banner__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.atlas-home-footer {
  text-align: center;
  color: rgba(226, 232, 240, 0.55);
  margin-top: 18px;
  font-size: 12px;
}

.slides .slide .content.second-content,
.slides .slide .content.third-content,
.slides .slide .content.fourth-content {
  background: rgba(2, 6, 23, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--atlas-radius-xl);
  box-shadow: 0 35px 90px rgba(2, 6, 23, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Contact (Slide 4) - palette match */
.fourth-content .container-fluid {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 22px 12px;
}

.fourth-content #contact {
  width: min(920px, 100%);
  margin: 0;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(4, 12, 36, 0.78), rgba(2, 8, 28, 0.68));
  border: 1px solid rgba(96, 165, 250, 0.30);
  box-shadow: 0 0 26px rgba(37, 99, 235, 0.22), inset 0 0 24px rgba(8, 47, 73, 0.28);
}

.fourth-content #contact h2 {
  color: #f8fafc;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.fourth-content #contact input,
.fourth-content #contact textarea {
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.36);
  color: #e2e8f0;
  border-radius: 12px;
}

.fourth-content #contact input::placeholder,
.fourth-content #contact textarea::placeholder {
  color: rgba(226, 232, 240, 0.56);
}

.fourth-content #contact input:focus,
.fourth-content #contact textarea:focus {
  border-color: rgba(59, 130, 246, 0.85);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
  background: rgba(15, 23, 42, 0.62);
}

.fourth-content #contact button {
  border: 1px solid rgba(96, 165, 250, 0.65);
  border-radius: 12px;
  min-width: 210px;
  min-height: 50px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.02em;
  font-weight: 900;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow:
    0 0 24px rgba(37, 99, 235, 0.46),
    0 0 48px rgba(59, 130, 246, 0.24),
    inset 0 0 10px rgba(147, 197, 253, 0.18);
}

.fourth-content #contact button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Desktop: content as “card” like screenshot */
@media (min-width: 992px) {
  .slides .slide .content {
    width: calc(100% - var(--atlas-shell) - (var(--atlas-shell-gap) * 2));
    left: calc(var(--atlas-shell) + var(--atlas-shell-gap));
    top: 44px;
    height: calc(100vh - 88px);
  }
  .slides .slide .content.second-content,
  .slides .slide .content.third-content,
  .slides .slide .content.fourth-content {
    top: 44px !important;
    transform: none !important;
  }
}

/* Mobile: keep template behavior but ensure logo fits */
@media (max-width: 991px) {
  .atlas-home-content {
    padding: 22px 18px;
    border-radius: 26px;
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.45);
  }
  .atlas-home__collab-btn {
    position: absolute;
    top: 0;
    right: 0;
    margin-bottom: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
  }

  .slides .slide .content.second-content,
  .slides .slide .content.third-content,
  .slides .slide .content.fourth-content {
    top: 112px !important;
    transform: none !important;
    height: calc(100svh - 124px);
    border-radius: 26px;
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.45);
  }

  .atlas-cards {
    grid-template-columns: 1fr;
  }

  .atlas-banner {
    grid-template-columns: 52px 1fr;
  }

  .atlas-banner__btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  /* Keep template mobile nav layout but use our icons */
  .atlas-nav {
    top: 0;
    height: 100px;
    width: 100vw;
    margin-left: 0;
    padding: 0 10px;
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }
  .atlas-nav ul {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    gap: 10px;
  }
  .atlas-nav__brand {
    margin: 0 auto 0 0;
  }
  .atlas-nav li.atlas-nav__brand > a.logo-link {
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .atlas-nav__brand .logo-img {
    width: auto;
    height: 44px;
    max-width: 150px;
  }
  .atlas-nav em {
    display: none;
  }
  .atlas-nav a {
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
    border-radius: 16px;
  }
  .atlas-nav__icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    font-size: 18px;
  }

  .second-content #tabs {
    padding: 14px 14px 12px;
    gap: 14px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
  .second-content #tabs > ul {
    justify-content: center;
    gap: 10px;
  }
  .second-content #tabs > ul li span {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .second-content .tabs-content {
    padding: 4px 2px 0;
    text-align: left;
  }
  .second-content .tabs-content h2 {
    font-size: clamp(34px, 9vw, 52px);
  }
  .second-content .tabs-content span {
    font-size: 14px;
  }
  .second-content .tabs-content p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.5;
  }
  .second-content .tabs-content #tabs-1 {
    padding: 12px 10px 12px;
  }
  .second-content .tabs-content #tabs-1 .atlas-tab-card:hover {
    transform: none;
  }
  .second-content .atlas-cta {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  .second-content .atlas-tab-subtitle {
    margin-top: 14px;
    font-size: 13px;
    gap: 7px;
  }
  .second-content .atlas-tab-subtitle__icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
  }
  .second-content .atlas-tab-subtitle__icon .atlas-ic {
    width: 13px;
    height: 13px;
  }
  .second-content .atlas-tab-points {
    margin-top: 12px;
    gap: 8px;
  }
  .second-content .atlas-tab-grid {
    margin-top: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .second-content .atlas-tab-card {
    padding: 10px 10px 8px;
  }
  .second-content .atlas-tab-card .atlas-tab-points {
    margin-top: 8px;
  }
  .second-content .atlas-tab-points li {
    font-size: 13px;
    padding-left: 16px;
  }
  .second-content .atlas-tab-meta {
    margin-top: 12px;
    gap: 8px;
  }
  .second-content .atlas-tab-meta span {
    font-size: 11px;
    padding: 5px 10px;
  }
}
