.home-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f5f8fc 0%, #ffffff 28%, #f7fbff 100%);
}

.site-shell {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 35, 66, 0.08);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand-mark {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img,
.footer-logo {
  display: block;
  width: min(260px, 48vw);
  height: auto;
}

.brand-mark img {
  position: relative;
  z-index: 1;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 14% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 191, 255, 0.26) 0%, rgba(67, 191, 255, 0) 72%);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.brand-mark:hover img,
.brand-mark:focus-visible img {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 10px 20px rgba(35, 103, 184, 0.16)) brightness(1.04);
}

.brand-mark:hover::after,
.brand-mark:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.footer-brand-block .footer-logo {
  transition: transform 0.24s ease, filter 0.24s ease;
  transform-origin: center;
}

.footer-brand-block .footer-logo:hover,
.footer-brand-block .footer-logo:focus-visible {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 12px 22px rgba(35, 103, 184, 0.16)) brightness(1.05);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.site-nav a,
.back-link,
.section-link,
.back-top {
  text-decoration: none;
}

.welcome-status {
  color: #1693dd;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a {
  color: #0d2f6f;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.section-link:hover,
.back-top:hover {
  color: #1693dd;
}

#login-link {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.08);
  color: #0f62fe;
}

.nav-with-submenu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border-radius: 0;
}

.nav-with-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav-with-submenu .nav-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 4px;
  border-radius: 0;
  color: #0d2f6f;
  transition: color 0.2s ease;
}

.site-nav > a:not(#login-link)::after,
.nav-with-submenu .nav-primary-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1693dd, #0f62fe);
  transform: translateX(-50%);
  transition: width 0.22s ease, opacity 0.22s ease;
  opacity: 0;
}

.site-nav > a:not(#login-link):hover::after,
.site-nav > a:not(#login-link):focus-visible::after,
.nav-with-submenu:hover .nav-primary-link::after,
.nav-with-submenu:focus-within .nav-primary-link::after {
  width: 100%;
  opacity: 1;
}

.nav-with-submenu:hover .nav-primary-link,
.nav-with-submenu:focus-within .nav-primary-link {
  color: #1693dd;
}

.nav-with-submenu .nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
  margin-top: 0;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(18, 35, 66, 0.08);
  box-shadow: 0 22px 38px rgba(15, 46, 98, 0.2);
  z-index: 10;
}

.nav-with-submenu:hover .nav-submenu,
.nav-with-submenu:focus-within .nav-submenu {
  display: flex;
}

.nav-with-submenu .nav-submenu a {
  font-weight: 600;
  border-radius: 14px;
  padding: 10px 14px;
  color: #0d2f6f;
  background: transparent;
  white-space: nowrap;
}

.nav-with-submenu .nav-submenu a:hover,
.nav-with-submenu .nav-submenu a:focus {
  background: rgba(15, 98, 254, 0.08);
}


#public-link-group,
#role-link-group {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(15, 98, 254, 0.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #0d2f6f;
}

.hero-section {
  padding: 22px 0 0;
}

.hero-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  min-height: 760px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background:
    linear-gradient(90deg, rgba(7, 40, 99, 0.92) 0%, rgba(16, 70, 146, 0.82) 38%, rgba(19, 150, 220, 0.58) 100%);
  box-shadow: 0 34px 90px rgba(22, 47, 97, 0.16);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 58px;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.74);
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(1.95rem, 3.35vw, 3.55rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-text-light {
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.hero-button.primary {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  color: #0f62fe;
  box-shadow: 0 16px 32px rgba(10, 25, 58, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-button.ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-button.primary:hover {
  box-shadow: 0 20px 38px rgba(10, 25, 58, 0.2);
}

.hero-button.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
}

.hero-carousel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px 0;
  min-width: 0;
}

.hero-carousel-head {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-chip,
.badge.subtle {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-chip {
  display: none;
}

.badge.subtle {
  background: rgba(15, 98, 254, 0.1);
  color: #0f62fe;
}

.hero-carousel-frame {
  flex: 1;
}

.carousel-frame {
  position: relative;
  height: 100%;
}

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

.carousel-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(230, 238, 250, 0.92), rgba(209, 225, 244, 0.88));
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  box-shadow: 0 28px 70px rgba(8, 24, 56, 0.22);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 38, 0.02) 18%, rgba(7, 18, 38, 0.74) 100%);
}

.carousel-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.carousel-media::before {
  content: "";
  position: absolute;
  inset: -18px;
  background: inherit;
  filter: blur(26px) saturate(1.02);
  opacity: 0.95;
  transform: scale(1.06);
}

.carousel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.popup-visual img,
.welcome-image,
.quote-image-panel img,
.preview-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 14px 16px 18px;
}

.carousel-caption {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 84px;
  z-index: 2;
  color: #ffffff;
  width: min(360px, calc(100% - 120px));
  max-width: none;
  padding: 16px 18px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8, 24, 56, 0.34), rgba(8, 24, 56, 0.18));
  backdrop-filter: blur(6px);
  transform: translateX(-50%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.carousel-caption h3 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.15vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.carousel-caption p {
  margin: 0;
  max-width: none;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

@media (hover: hover) and (pointer: fine) {
  .carousel-caption {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    pointer-events: none;
  }

  .carousel-slide:hover .carousel-caption,
  .carousel-slide:focus-within .carousel-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 0;
}

.carousel-arrow {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 8px 18px rgba(8, 24, 56, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  pointer-events: auto;
}

.carousel-arrow:hover {
  transform: scale(1.08);
  color: #ffffff;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  max-width: 180px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8, 24, 56, 0.14);
  transform: translateX(-50%);
}

.carousel-dots .carousel-dot {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  width: 16px;
  height: 2px;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.carousel-dots .carousel-dot.active {
  width: 24px;
  background: #ffffff;
}

.action-band-section {
  margin-top: -36px;
  position: relative;
  z-index: 5;
}

@media (min-width: 1400px) {
  .site-shell {
    width: min(1360px, calc(100% - 64px));
  }

  .nav-shell {
    min-height: 80px;
  }

  .brand-mark img,
  .footer-logo {
    width: min(228px, 42vw);
  }

  .site-nav {
    gap: 28px;
  }

  #public-link-group,
  #role-link-group {
    gap: 28px;
  }

  .site-nav a,
  .welcome-status {
    font-size: 0.95rem;
  }

  #login-link {
    padding: 11px 17px;
  }

  .hero-stage {
    min-height: 680px;
  }

  .hero-copy {
    padding: 58px 50px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 4.4vw, 4.85rem);
  }

  .hero-text {
    max-width: 560px;
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-button {
    min-width: 168px;
    padding: 13px 22px;
  }

  .hero-carousel-card {
    padding: 22px 22px 18px 0;
  }

  .hero-carousel-head {
    top: 22px;
    left: 22px;
    right: 22px;
  }

  .hero-chip,
  .badge.subtle {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.72rem;
  }

  .carousel-track {
    min-height: 636px;
  }

  .carousel-caption {
    left: 50%;
    right: auto;
    bottom: 84px;
    width: min(360px, calc(100% - 72px));
    max-width: none;
    transform: translateX(-50%);
  }

  .carousel-caption h3 {
    font-size: clamp(1.65rem, 2.4vw, 2.6rem);
  }

  .carousel-caption p {
    font-size: 0.95rem;
  }

  .carousel-arrow {
    width: 46px;
    height: 46px;
    font-size: 1.8rem;
  }
}

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

.action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-height: 230px;
  padding: 28px 28px 26px;
  border-radius: 28px;
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(18, 43, 92, 0.18);
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.action-card-top,
.action-card-body {
  position: relative;
  z-index: 1;
}

.action-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-card-body {
  display: grid;
  gap: 10px;
  max-width: 330px;
}

.action-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.08;
}

.action-card p {
  margin: 0;
  max-width: 320px;
  line-height: 1.65;
  font-size: 1.03rem;
  color: rgba(255, 255, 255, 0.86);
}

.action-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  margin-top: auto;
  padding: 12px 22px;
  border-radius: 16px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.action-card a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.action-card-primary {
  background: linear-gradient(145deg, #133d90 0%, #1b4ea7 58%, #2b68c4 100%);
}

.action-card-secondary {
  background: linear-gradient(145deg, #22589f 0%, #2f6bb6 55%, #4c8ad7 100%);
}

.action-card-accent {
  background: linear-gradient(145deg, #1d93ca 0%, #24afe0 56%, #48c7f1 100%);
}

.action-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 1.1rem;
}

.welcome-section,
.strengths-section,
.services-section,
.quote-section,
.system-access-section,
.contact-section {
  padding: 72px 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: center;
}

.welcome-copy {
  padding: 34px 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 59, 132, 0.08);
  box-shadow: 0 24px 60px rgba(30, 49, 94, 0.12);
}

.welcome-image-shell {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(30, 49, 94, 0.14);
}

.welcome-media {
  min-height: 290px;
  max-height: 340px;
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 59, 132, 0.08);
}

.welcome-image {
  height: 100%;
  object-position: center;
}

.welcome-benefits-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 26px;
  align-items: start;
}

.experience-card {
  width: 100%;
  padding: 22px 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(233, 248, 255, 0.98), rgba(219, 241, 255, 0.96));
  border: 1px solid rgba(35, 112, 194, 0.12);
  color: #143b84;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
}

.experience-card::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2aa9e1, #1d92d2);
}

.experience-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.experience-card span {
  display: block;
  color: #3c6b9d;
  line-height: 1.55;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(20, 59, 132, 0.08);
}

.benefit-list strong {
  display: block;
  margin-bottom: 6px;
  color: #143b84;
}

.benefit-list span {
  color: #5c7395;
  line-height: 1.6;
}

.welcome-copy h2,
.strengths-head h2,
.section-title-row h2 {
  margin: 0;
  color: #143b84;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1;
}

.welcome-text {
  margin-top: 24px;
  color: #29456f;
  font-size: 1.2rem;
  line-height: 1.9;
}

.welcome-points {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.welcome-points div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(20, 59, 132, 0.08);
}

.welcome-points strong {
  display: block;
  margin-bottom: 6px;
  color: #143b84;
}

.welcome-points span {
  color: #516b90;
}

.strengths-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(34, 171, 230, 0.96), rgba(33, 151, 220, 0.92)),
    url("/assets/hero-3.jpg") center/cover no-repeat;
}

.strengths-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 58, 130, 0.18), rgba(10, 58, 130, 0.12));
}

.strengths-section .site-shell {
  position: relative;
  z-index: 1;
}

.strengths-head {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
  color: #ffffff;
}

.strengths-head h2 {
  color: #ffffff;
  max-width: 720px;
}

.strengths-head p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

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

.strength-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 34px 32px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(14, 49, 114, 0.16);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.strength-card::before {
  content: "";
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2eb1e7, #0f62fe);
}

.strength-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 177, 231, 0.16) 0%, rgba(46, 177, 231, 0) 70%);
  transition: transform 0.22s ease, opacity 0.22s ease;
  opacity: 0.8;
}

.strength-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 58px rgba(14, 49, 114, 0.22);
  background: #ffffff;
}

.strength-card:hover::after {
  transform: scale(1.08);
  opacity: 1;
}

.strength-card h3 {
  margin: 0;
  color: #143b84;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  line-height: 1.12;
}

.strength-card p,
.service-copy p,
.footer-brand-block p,
.quote-copy-panel p {
  margin: 0;
  line-height: 1.75;
  color: #4a648a;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-link {
  color: #1693dd;
  font-weight: 700;
}

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

.service-tile {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 52px rgba(20, 43, 88, 0.11);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-tile img {
  aspect-ratio: 16 / 11;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.services-grid .service-tile:nth-child(1) img {
  object-position: 52% 48%;
}

.services-grid .service-tile:nth-child(2) img {
  object-position: 50% 32%;
}

.services-grid .service-tile:nth-child(3) img {
  object-position: 56% 42%;
}

.service-copy {
  padding: 24px 24px 28px;
  transition: transform 0.24s ease;
}

.service-copy h3 {
  margin: 0 0 12px;
  color: #143b84;
  font-size: 1.85rem;
}

.service-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 62px rgba(20, 43, 88, 0.18);
}

.service-tile:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.service-tile:hover .service-copy {
  transform: translateY(-2px);
}

.quote-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  align-items: stretch;
}

.quote-image-panel {
  overflow: hidden;
  min-height: 400px;
  border-radius: 26px 0 0 26px;
}

.quote-copy-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 42px;
  border-radius: 0 26px 26px 0;
  background:
    linear-gradient(180deg, rgba(22, 59, 131, 0.92), rgba(22, 59, 131, 0.88)),
    url("/assets/hero-3.jpg") center/cover no-repeat;
  color: #ffffff;
}

.quote-mark {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 3.9rem;
  line-height: 1;
}

.quote-copy-panel p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.45;
}

.quote-copy-panel strong {
  margin-top: 18px;
  font-size: 0.98rem;
}

.system-access-section {
  padding-top: 24px;
}

.role-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.role-card,
.guide-card,
.credential-card,
.slide-edit-card {
  display: block;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(20, 59, 132, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(18, 42, 92, 0.08);
  color: inherit;
}

.role-card h3,
.guide-card h3,
.credential-card strong {
  margin: 0 0 10px;
  color: #143b84;
}

.role-card p,
.guide-card p,
.credential-card small {
  color: #5c7395;
}

.contact-section {
  color: #ffffff;
  background: #214785;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.footer-brand-block p {
  max-width: 480px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.social-follow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.social-follow > span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(7, 17, 38, 0.12);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-mini-list {
  display: grid;
  gap: 18px;
}

.contact-mini-list span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-mini-list strong,
.location-card h3 {
  color: #ffffff;
}

.location-card {
  padding-top: 14px;
}

.location-card h3 {
  margin: 0 0 20px;
  font-size: 2.2rem;
}

.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: 18px;
  background: #dfeaf8;
  box-shadow: 0 18px 40px rgba(7, 17, 38, 0.16);
}

.map-label {
  position: absolute;
  top: 26px;
  left: 26px;
  max-width: 320px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #173c79;
  z-index: 4;
  box-shadow: 0 10px 28px rgba(20, 44, 89, 0.12);
}

.map-label strong {
  display: block;
  margin-bottom: 6px;
}

.map-embed {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
  filter: saturate(0.95) contrast(1.02);
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
}

.footer-bottom > span {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom > span::after {
  content: "Desarrollado por Soluciones Informaticas";
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.back-top {
  color: #ffffff;
  font-weight: 700;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 17, 38, 0.52);
  backdrop-filter: blur(10px);
}

.popup-overlay.hidden {
  display: none;
}

.popup-card {
  position: relative;
  width: min(740px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(7, 17, 38, 0.22);
}

.popup-visual {
  min-height: 320px;
  background: #eef6fb;
}

.popup-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 28px 26px;
  background:
    radial-gradient(circle at top left, rgba(15, 98, 254, 0.08) 0%, rgba(15, 98, 254, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
}

.popup-copy .section-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 98, 254, 0.08);
  color: #0f62fe;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.popup-copy h3 {
  max-width: 10ch;
  margin: 0;
  color: #143b84;
  font-size: clamp(1.45rem, 1.9vw, 2.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.popup-copy p:last-of-type {
  max-width: 27ch;
  margin: 0;
  line-height: 1.55;
  font-size: 0.88rem;
  color: #567091;
}

.popup-copy .hero-button.primary {
  align-self: center;
  min-width: 0;
  margin-top: 8px;
  padding-inline: 22px;
  min-height: 48px;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 59, 132, 0.08);
  color: #143b84;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.popup-close:hover,
.popup-close:focus-visible {
  transform: translateY(-1px);
  background: rgba(15, 98, 254, 0.12);
  color: #0f62fe;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 20px 40px;
}

.auth-shell {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(41, 68, 116, 0.12);
}

.auth-panel,
.credentials-panel,
.content-card,
.contact-card {
  padding: 34px;
}

.auth-panel {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 28px 30px;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.auth-submit {
  border: 0;
  cursor: pointer;
}

.credentials-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.edit-shell {
  padding-top: 32px;
  padding-bottom: 32px;
}

.edit-form {
  display: grid;
  gap: 26px;
}

.edit-section,
.edit-guides,
.carousel-editor {
  display: grid;
  gap: 18px;
}

.section-headline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-headline.compact {
  align-items: center;
}

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

.preview-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px dashed rgba(22, 32, 51, 0.16);
  background: rgba(255, 255, 255, 0.84);
  min-height: 140px;
}

.preview-panel img {
  width: auto;
  max-width: 100%;
  max-height: 180px;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
}

@media (max-width: 1180px) {
  .hero-stage,
  .welcome-grid,
  .strengths-head,
  .quote-grid,
  .footer-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
  }

  .welcome-benefits-card {
    grid-template-columns: 1fr;
  }

  .hero-carousel-card {
    padding: 0 24px 24px;
  }

  .action-band,
  .strengths-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 0;
  }

  .quote-image-panel {
    border-radius: 26px 26px 0 0;
  }

  .quote-copy-panel {
    border-radius: 0 0 26px 26px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1480px);
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    right: 12px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, calc(100vw - 24px));
    padding: 16px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 35, 66, 0.08);
    box-shadow: 0 18px 46px rgba(41, 68, 116, 0.16);
    gap: 10px;
  }

  #public-link-group,
  #role-link-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .site-nav a,
  .nav-with-submenu .nav-primary-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 18px;
    background: rgba(15, 98, 254, 0.06);
  }

  .nav-with-submenu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .nav-with-submenu .nav-submenu {
    position: static;
    display: flex;
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    min-width: 100%;
    padding: 6px 0 0 14px;
    gap: 6px;
    border: 0;
  }

  .nav-with-submenu {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-with-submenu .nav-submenu a {
    white-space: normal;
    padding: 10px 16px;
    border-radius: 16px;
    background: rgba(15, 98, 254, 0.04);
  }

  #login-link {
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }

  .welcome-status {
    white-space: normal;
  }

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

  .hero-copy,
  .popup-copy,
  .auth-panel,
  .credentials-panel {
    padding: 26px 22px;
  }

  .hero-copy h1,
  .welcome-copy h2,
  .strengths-head h2,
  .section-title-row h2 {
    font-size: 2.7rem;
  }

  .carousel-track {
    min-height: 430px;
  }

  .carousel-caption {
    left: 50%;
    right: auto;
    bottom: 72px;
    width: min(320px, calc(100% - 56px));
    max-width: none;
    transform: translateX(-50%);
  }

  .carousel-caption h3 {
    font-size: 2rem;
  }

  .action-card {
    padding: 24px 22px;
    gap: 16px;
  }

  .action-card h3 {
    font-size: 1.75rem;
  }

  .action-card a {
    width: 100%;
    min-width: 0;
  }

  .popup-card {
    grid-template-columns: 1fr;
  }

  .popup-visual {
    min-height: 280px;
  }

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

  .footer-bottom,
  .section-title-row {
    flex-direction: column;
    align-items: start;
  }
}
