@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --color-primary: #c62828;
  --color-primary-hover: #9f1f1f;
  --color-dark: #111111;
  --color-dark-soft: #2b2b2b;
  --color-white: #ffffff;
  --color-light: #f5f5f5;
  --color-border: #e6e6e6;
  --color-text: #1a1a1a;
  --color-muted: #6f6f6f;
  --shadow-soft: 0 6px 18px rgba(255, 0, 0, 0.1);
  --shadow-elegant: 0 8px 24px rgba(0, 0, 0, 0.10);
  --section-padding-y-desktop: 38px;
  --section-padding-y-tablet: 34px;
  --section-padding-y-mobile: 30px;
  --section-padding-y-mobile-sm: 26px;

  --main-content-padding-top-desktop: 60px;
  --main-content-padding-bottom-desktop: 80px;
  --main-content-padding-x-desktop: 50px;

  --main-content-padding-top-tablet: 50px;
  --main-content-padding-bottom-tablet: 70px;
  --main-content-padding-x-tablet: 35px;

  --main-content-padding-top-mobile: 40px;
  --main-content-padding-bottom-mobile: 60px;
  --main-content-padding-x-mobile: 25px;

  --main-content-padding-top-mobile-sm: 32px;
  --main-content-padding-bottom-mobile-sm: 50px;
  --main-content-padding-x-mobile-sm: 18px;

  --section-header-margin-bottom-desktop: 18px;
  --section-header-margin-bottom-mobile: 14px;

  --section-padding-y-desktop: 38px;
  --section-padding-y-tablet: 34px;
  --section-padding-y-mobile: 30px;
  --section-padding-y-mobile-sm: 26px;

  --section-header-gap-desktop: 18px;
  --section-header-gap-mobile: 14px;
  --time-bar-height: 4px;
  --time-bar-duration: 7s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: var(--color-text);
  padding-top: var(--header-total-height);

}

.navbar {
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  position: relative;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.836);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: visible;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(-1 * var(--time-bar-height));
  width: 0;
  height: var(--time-bar-height);
  background-color: #ff1414cb;
  z-index: 3000;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.navbar.time-animate::after {
  animation: runningTime var(--time-bar-duration) linear forwards;
}

@keyframes runningTime {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
  max-width: calc(100% - 80px);
}

.navbar-brand img,
.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  padding: 0.32rem;
  background: rgba(255, 255, 255, 0.96);
  border: none !important;
  border-radius: 18px;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.14),
    0 3px 10px rgba(198, 40, 40, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.navbar-brand:hover .brand-logo,
.navbar-brand:focus .brand-logo {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.16),
    0 4px 14px rgba(198, 40, 40, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  text-align: left;
}

.brand-title {
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 800;
  max-width: 280px;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 0.22rem;
  text-transform: uppercase;
}

.navbar-collapse {
  align-items: center;
  justify-content: flex-end;
}

.navbar-nav {
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.navbar-nav .nav-link {
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  white-space: nowrap;
  border-radius: 8px;
  position: relative;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 999px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link.active {
  color: var(--color-primary);
  font-weight: 700;

}


.navbar-toggler {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.formal-toggler {
  width: 48px;
  height: 48px;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, transform 0.22s ease;
}

.formal-toggler:hover {
  background: rgba(17, 17, 17, 0.05) !important;
}

.formal-toggler:focus,
.formal-toggler:focus-visible {
  background: rgba(17, 17, 17, 0.06) !important;
}

.formal-toggler:active {
  transform: scale(0.96);
}

.navbar-toggler-icon,
.formal-toggler .navbar-toggler-icon {
  position: relative;
  width: 22px;
  height: 2px;
  display: block;
  background-image: none !important;
  background-color: #1a1a1a;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.28s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.formal-toggler .navbar-toggler-icon::before,
.formal-toggler .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: #1a1a1a;
  border-radius: 999px;
  transition: transform 0.28s ease, top 0.28s ease, opacity 0.2s ease;
}

.navbar-toggler-icon::before,
.formal-toggler .navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after,
.formal-toggler .navbar-toggler-icon::after {
  top: 7px;
}

.formal-toggler[aria-expanded="true"] {
  background: rgba(17, 17, 17, 0.06) !important;
}

.formal-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.formal-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.formal-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
  .navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .navbar-brand {
    gap: 0.7rem;
    max-width: calc(100% - 70px);
  }

  .navbar-brand img,
  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand-title {
    font-size: 0.92rem;
    max-width: 210px;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 1rem 0 0.25rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-light);
    z-index: 9999;
    box-shadow: 0 8px 18px rgba(255, 0, 0, 0.288);
  }

  .navbar-nav .nav-link {
    display: inline-block;
    width: auto;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
    border: 1px solid transparent;
    border-radius: 8px;
  }

  .navbar-nav {
    width: 100%;
    margin-left: 0;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid transparent;
  }

  .navbar-nav .nav-item {
    width: auto;
  }

  .brand-text {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .brand-text {
    display: none;
  }

  .navbar-brand img,
  .brand-logo {
    width: 54px;
    height: 54px;
  }
}

.header-top-strip {
  background: var(--color-primary);
  min-height: 58px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 20;
}

.header-top-strip {
  background: var(--color-primary);
  min-height: 58px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-top-strip .container {
  display: flex;
  justify-content: center;
}

.top-strip-links {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-strip-links li {
  display: flex;
}

.top-link-card {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background-color 0.25s ease, transform 0.2s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.top-link-card i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.top-link-card span {
  white-space: nowrap;
}

.top-link-card:hover,
.top-link-card:focus {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.top-link-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

@media (max-width: 1200px) {
  .header-top-strip {
    min-height: 50px;
    padding: 0.25rem 0;
  }

  .top-strip-links {
    gap: 0.45rem;
    padding: 0.3rem 0;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .top-strip-links li+li::before {
    margin: 0 0.45rem;
    height: 11px;
  }

  .top-link-card {
    min-height: 34px;
    padding: 0.4rem 0.65rem;
    gap: 0.4rem;
    font-size: 0.7rem;
    border-radius: 8px;
  }

  .top-link-card i {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }


}

@media (max-width: 930px) {
  .header-top-strip {
    display: flex;
    min-height: 44px;
    padding: 0.3rem 0;
  }

  .header-top-strip .container {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .top-strip-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(0.1rem, 1vw, 0.45rem);
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
  }

  .top-strip-links li {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .top-strip-links li::before,
  .top-strip-links li+li::before {
    display: none;
  }

  .top-link-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 8px;
  }

  .top-link-card span {
    display: none;
  }

  .top-link-card i {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1;
  }
}

@media (max-width: 575.98px) {
  .header-top-strip {
    min-height: 40px;
    padding: 0.25rem 0;
  }

  .header-top-strip .container {
    width: 100%;
  }

  .top-strip-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.1rem, 1vw, 0.3rem);
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
  }

  .top-strip-links li {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .top-link-card {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top-link-card i {
    font-size: 0.85rem;
    margin: 0;
  }

  .navbar-nav {
    align-items: center;
    gap: 0.1rem;
    margin-left: auto;
  }

  .navbar-nav .nav-link {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.55rem 0.65rem;
    white-space: nowrap;
    border-radius: 8px;
    position: relative;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
  }
}

/*navbar y header*/
:root {
  --header-total-height: 146px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9000;
  transform: translateY(0);
  transition: transform 0.35s ease;
  will-change: transform;
}

.site-header.hide-on-scroll {
  transform: translateY(-100%);
}

.site-header.hide-on-scroll .navbar::after,
.site-header.hide-on-scroll .navbar.time-animate::after {
  opacity: 0 !important;
  visibility: hidden !important;
}



.header-top-strip,
.navbar {
  width: 100%;
}

.header-top-strip {
  position: relative;
  z-index: 3;
}

.navbar {
  position: relative;
  z-index: 2;
}

@media (max-width: 991.98px) {
  :root {
    --header-total-height: 128px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-total-height: 106px;
  }
}

/*redes*/
.floating-menu {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1000;
}

.floating-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-li {
  position: relative;
  width: 48px;
  height: 48px;
  transition: width 0.35s ease, transform 0.25s ease;
}

.floating-a {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  padding: 0 14px 0 0;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
  box-shadow: rgba(50, 50, 93, 0.2) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.22) 0px 3px 7px -3px;
  transition: clip-path 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.floating-a i {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  font-size: 20px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-a span {
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 11px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-li:nth-child(1) a {
  background: var(--color-primary-hover);
}

.floating-li:nth-child(2) a {
  background: var(--color-primary-hover);
}

.floating-li:nth-child(3) a {
  background: var(--color-primary-hover);
}

.floating-li:nth-child(4) a {
  background: var(--color-primary-hover);
}

.floating-li:nth-child(5) a {
  background: var(--color-primary-hover);
}

.floating-li:hover {
  width: 170px;
  transform: translateX(4px);
}

.floating-li:hover a {
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
  box-shadow: rgba(50, 50, 93, 0.28) 0px 10px 18px -4px,
    rgba(0, 0, 0, 0.25) 0px 5px 10px -4px;
}

.floating-li:hover span {
  opacity: 1;
  transform: translateX(0);
}

.floating-li:hover i {
  opacity: 0.95;
  transform: scale(1.05);
}

.floating-a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}

@media (max-width: 1024px) {
  .floating-menu {
    top: auto;
    bottom: 12px;
    left: 8px;
    transform: none;
  }

  .floating-ul {
    gap: 8px;
  }

  .floating-li {
    width: 48px;
    height: 48px;
  }

  .floating-a {
    padding: 0 10px 0 0;
  }

  .floating-a i {
    min-width: 48px;
    height: 48px;
    font-size: 19px;
  }

  .floating-a span {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .floating-li:hover {
    width: 150px;
  }
}

@media (max-width: 767.98px) {
  .floating-menu {
    left: 1px;
  }

  .floating-ul {
    gap: 3px;
  }

  .floating-li {
    width: 28px;
    height: 28px;
  }

  .floating-a {
    padding: 0 4px 0 0;
  }

  .floating-a i {
    min-width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .floating-a span {
    font-size: 6px;
    letter-spacing: 0.2px;
  }

  .floating-li:hover {
    width: 82px;
  }
}

@media (max-width: 425px) {
  .nav-link {
    font-size: 1rem;
  }
}

@media (max-width: 991.98px) {
  .mobile-menu-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 0.85rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    background: var(--color-white);
  }

  .mobile-menu-left {
    background: var(--color-white);
    padding: 0.9rem 0.75rem;
  }

  .mobile-menu-left .navbar-nav {
    width: 100%;
    align-items: flex-start;
    text-align: left;
    gap: 0.15rem;
  }

  .mobile-menu-left .nav-item {
    width: 100%;
  }

  .mobile-menu-left .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 0.35rem;
    text-align: left;
  }

  .mobile-menu-left .nav-link::after {
    left: 0.35rem;
    right: 0.35rem;
  }

  .mobile-menu-right {
    background: var(--color-primary);
    padding: 0.9rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mobile-extra-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.7rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    transition: background-color 0.25s ease, transform 0.2s ease;
  }

  .mobile-extra-link i {
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .mobile-extra-link:hover,
  .mobile-extra-link:focus {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(2px);
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 0.88rem !important;
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
  }
}

#heroCarousel {
  --preview-width: 180px;
  --preview-height: 250px;
  --preview-gap: 20px;
  --preview-left: 67%;
  --preview-top: 80%;
  width: 100%;
  min-height: 100vh;
  margin-top: -96px;
  overflow: hidden;
  position: relative;
  background: var(--color-light);
}

#heroCarousel .slider-slides {
  position: absolute;
  inset: 0;
}

#heroCarousel .slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
}

#heroCarousel .slider-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

#heroCarousel .slider-slide.is-motion-backdrop:not(.is-featured-cover) {
  opacity: 1;
  visibility: visible;
  z-index: 0;
}

#heroCarousel .slider-slide.is-morphing:not(.is-featured-cover) {
  overflow: hidden;
  transform-origin: 0 0;
  z-index: 1;
}

#heroCarousel .is-morphing:not(.is-featured-cover) .slider-img {
  transform-origin: 0 0;
  /* Paired transforms implement cover on the changing clip rectangle.
     Avoid cropping the source twice inside the replaced image element. */
  object-fit: fill;
}

#heroCarousel .is-morphing:not(.is-featured-cover) .content,
#heroCarousel .is-motion-backdrop .content,
#heroCarousel .slider-thumbnail.is-motion-hidden {
  visibility: hidden;
}

#heroCarousel .slider-slide .slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#heroCarousel .content {
  position: absolute;
  top: 50%;
  left: 90px;
  transform: translateY(-50%);
  width: 700px;
  max-width: calc(100% - 140px);
  text-align: left;
  color: #fff;
}

#heroCarousel .content .name {
  font-size: clamp(1rem, 5vw, 3rem);
  text-transform: uppercase;
  font-weight: bold;
  line-height: 0.95;
  text-shadow: 3px 4px 4px rgba(255, 0, 0, 0.8);
}

#heroCarousel .slider-thumbnails {
  position: absolute;
  top: var(--preview-top);
  left: var(--preview-left);
  transform: translateY(-70%);
  display: flex;
  gap: var(--preview-gap);
  z-index: 2;
}

#heroCarousel .slider-thumbnail {
  flex: 0 0 var(--preview-width);
  width: var(--preview-width);
  height: var(--preview-height);
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-light);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

#heroCarousel .slider-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#heroCarousel .slider-thumbnail .featured-thumbnail-image {
  object-position: center;
}

#heroCarousel .preview-position-1 { order: 1; }
#heroCarousel .preview-position-2 { order: 2; }
#heroCarousel .preview-position-3 { order: 3; }
#heroCarousel .preview-position-4 { order: 4; }

#heroCarousel .arrows {
  position: absolute;
  top: 80%;
  right: 52%;
  z-index: 3;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
}

#heroCarousel .arrows button {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 16px;
  font-family: monospace;
  font-weight: bold;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

#heroCarousel .arrows button:hover {
  background: #fff;
  color: #000;
}

#heroCarousel button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

#heroCarousel [hidden] {
  display: none !important;
}

#heroCarousel.is-featured-active {
  min-height: 0;
  height: auto;
  margin-top: 17.2px;
  background: var(--color-light);
}

#heroCarousel.is-featured-active .slider-slides {
  position: relative;
  width: 100%;
}

#heroCarousel.is-featured-active .slider-slide,
#heroCarousel .slider-slide.is-featured-cover {
  transition: none;
}

#heroCarousel.is-featured-active .slider-slide.active.is-featured-cover {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  background: var(--color-light);
}

#heroCarousel.is-featured-active .active .featured-cover-picture {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2079 / 756;
  background: var(--color-light);
}

#heroCarousel.is-featured-active .active .featured-cover-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 575.99px) and (max-width: 930px) {
  #heroCarousel.is-featured-active {
    margin-top: 7.2px;
  }
}

@media (min-width: 930.01px) and (max-width: 991.98px) {
  #heroCarousel.is-featured-active {
    margin-top: 13.6px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #heroCarousel.is-featured-active {
    margin-top: 11.6px;
  }
}

#heroCarousel.is-featured-active .arrows,
#heroCarousel.is-featured-active .slider-thumbnails {
  display: none !important;
}

@media (max-width: 1200px) {
  #heroCarousel {
    --preview-width: 160px;
    --preview-height: 220px;
    --preview-gap: 10px;
    --preview-left: 64%;
  }

  #heroCarousel .content {
    left: 60px;
    width: 360px;
    max-width: calc(100% - 80px);
  }

  #heroCarousel .arrows {
    width: auto;
    gap: 8px;
  }

  #heroCarousel .arrows button {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  #heroCarousel {
    --preview-width: 130px;
    --preview-height: 190px;
    --preview-left: 70%;
    --preview-top: 78%;
  }

  #heroCarousel .content {
    left: 40px;
    top: 48%;
    width: 320px;
    max-width: calc(100% - 60px);
  }

  #heroCarousel .slider-thumbnail.preview-position-3,
  #heroCarousel .slider-thumbnail.preview-position-4 {
    display: none;
  }
}

@media (max-width: 768px) {
  #heroCarousel {
    --preview-width: 110px;
    --preview-height: 160px;
    --preview-left: 68%;
  }

  #heroCarousel .content {
    left: 24px;
    top: 44%;
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
  }

  #heroCarousel .slider-thumbnail {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  #heroCarousel {
    --preview-width: 96px;
    --preview-height: 145px;
    --preview-gap: 14px;
    --preview-left: 60%;
  }

  #heroCarousel .content {
    left: 18px;
    top: 43%;
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
  }

  #heroCarousel .arrows {
    width: auto;
    gap: 6px;
  }

  #heroCarousel .arrows button {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  #heroCarousel.is-featured-active {
    margin-top: calc(var(--section-header-gap-mobile) + var(--time-bar-height));
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  #heroCarousel.is-featured-active .active.has-mobile-banner .featured-cover-picture {
    aspect-ratio: 941 / 1672;
  }
}

@media (prefers-reduced-motion: reduce) {
  #heroCarousel .slider-slide,
  #heroCarousel .slider-thumbnail,
  #heroCarousel .arrows button {
    transition: none;
  }

  #heroCarousel .is-morphing,
  #heroCarousel .is-morphing .slider-img,
  #heroCarousel .slider-thumbnail {
    transform: none !important;
  }

  #heroCarousel .is-morphing {
    border-radius: 0 !important;
  }

  #heroCarousel .is-morphing .slider-img {
    object-fit: cover !important;
  }

  #heroCarousel .is-motion-backdrop:not(.active) {
    visibility: hidden;
  }

  #heroCarousel .is-morphing.active .content,
  #heroCarousel .slider-thumbnail.is-motion-hidden {
    visibility: visible;
  }
}

.main-content {
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .main-content {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.main-content.container-fluid {
  padding: 0;
  background: var(--color-white);
}

.main-content.container-fluid>.main-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 50px 80px;
  background: var(--color-white);
}

#todo:has(#heroCarousel) > .main-content.container-fluid > .main-content {
  padding-top: 0;
}

.main-content>section {
  padding: 38px 0;
  border-bottom: 1px solid var(--color-border);
}

.main-content>section:first-child {
  padding-top: 0;
}

#todo:has(#heroCarousel) #importante {
  margin-top: clamp(16px, 3vw, 22px);
}

.main-content>section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-header {
  margin-bottom: var(--section-header-gap-desktop);
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  position: relative;
  padding-left: 18px;
}

.section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  background: var(--color-primary);
  border-radius: 10px;
}

.section-header p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-content {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.8;
}

.section-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .main-content.container-fluid>.main-content {
    padding: 50px 35px 70px;
  }

  .main-content>section {
    padding: var(--section-padding-y-tablet) 0;
  }
}

@media (max-width: 768px) {
  .main-content.container-fluid>.main-content {
    padding: 40px 25px 60px;
  }

  .main-content>section {
    padding: var(--section-padding-y-mobile) 0;
  }

  .section-header {
    margin-bottom: var(--section-header-gap-mobile);
  }

  .section-header h2 {
    padding-left: 14px;
  }
}

@media (max-width: 480px) {
  .main-content.container-fluid>.main-content {
    padding: 32px 18px 50px;
  }

  .main-content>section {
    padding: var(--section-padding-y-mobile-sm) 0;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

  .section-header p,
  .section-content {
    font-size: 0.95rem;
  }
}

.quick-access {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  margin: 0;

  overflow-x: scroll;
  overflow-y: hidden;

  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding-top: 8px;
  padding-bottom: 8px;

  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #e9ecef;
}

.quick-access::-webkit-scrollbar {
  height: 10px;
}

.quick-access::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 20px;
}

.quick-access::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 20px;
}

.quick-card {
  scroll-snap-align: start;
}

.quick-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 28px 24px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;

  text-decoration: none;
  color: var(--color-text);

  box-shadow: var(--shadow-elegant);

  transition: all .28s ease;
  overflow: hidden;
}

.card-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--color-primary);
  border-radius: 12px 12px 0 0;
}


.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-primary);
}

.card-icon {
  margin-top: 12px;
  margin-bottom: 12px;

  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;

  overflow: hidden;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.card-icon .tarjetaPrincipIMG {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.quick-card h3 {
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-dark);
  letter-spacing: .4px;
}

.quick-card h3::after {
  content: "";
  display: block;
  width: clamp(35px, 3vw, 50px);
  height: 3px;
  background: var(--color-primary);
  margin: 8px auto 0;
  border-radius: 2px;
}


.quick-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
  margin-bottom: 18px;
  max-width: 260px;
}


.btn-go {
  background: var(--color-dark);
  color: var(--color-white);

  padding: 8px 22px;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 500;

  transition: all .25s;
}

.quick-card:hover .btn-go {
  background: var(--color-primary);
}

@media (max-width:1024px) {
  .quick-access {
    grid-auto-columns: calc((100% - 28px) / 2);
  }
}

@media (max-width:600px) {
  .quick-access {
    grid-auto-columns: 100%;
    gap: 18px;
  }

  .quick-card {
    padding: 18px 16px;
  }

  .card-icon {
    font-size: 32px;
    width: 55px;
    height: 55px;
  }

  .quick-card h3 {
    font-size: 17px;
  }

  .quick-card p {
    font-size: 13px;
  }

  .btn-go {
    padding: 6px 18px;
    font-size: 13px;
  }
}

.shared-carousel .carousel {
  width: 100%;
  min-height: auto !important;
  height: auto !important;
  margin-top: 0 !important;
  overflow: hidden;
  position: relative;
  background: transparent;
  border-radius: 20px;
}

.shared-carousel .carousel-inner {
  min-height: auto !important;
  height: auto !important;
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

.shared-carousel .carousel-item {
  min-height: 0 !important;
  height: auto !important;
  background: var(--color-white);
}


.shared-carousel .news-carousel-card {
  display: grid;
  grid-template-columns: minmax(380px, 48%) 1fr;
  align-items: stretch;
  min-height: 430px;
  background: var(--color-white);
}

.shared-carousel .news-carousel-image {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #e9edf2;
}

.shared-carousel .news-carousel-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.00) 30%,
      rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}

.shared-carousel .news-carousel-image img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.shared-carousel .news-carousel-info {
  display: flex;
  align-items: center;
  min-width: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border-left: 1px solid rgba(15, 23, 42, 0.06);
}

.shared-carousel .news-carousel-text {
  width: 100%;
  max-width: 680px;
  padding: 42px 46px;
}

.shared-carousel .news-carousel-text h3 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shared-carousel .news-carousel-text h3::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--color-primary);
  opacity: 0.9;
}

.shared-carousel .news-carousel-text p {
  margin: 0 0 28px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 56ch;
}

.shared-carousel .news-carousel-date {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.shared-carousel .news-carousel-text .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.shared-carousel .news-carousel-text .btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.shared-carousel .news-carousel-text .btn:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.22);
  outline-offset: 3px;
}


.shared-carousel .carousel-control-prev,
.shared-carousel .carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  opacity: 1;
  z-index: 3;
}

.shared-carousel .carousel-control-prev {
  left: 18px;
}

.shared-carousel .carousel-control-next {
  right: 18px;
}

.shared-carousel .carousel-control-prev-icon,
.shared-carousel .carousel-control-next-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-size: 38% 38%;
  background-color: rgba(15, 23, 42, 0.68);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.16),
    0 2px 6px rgba(15, 23, 42, 0.08);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.shared-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.shared-carousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--color-primary);
  transform: scale(1.04);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.18),
    0 3px 8px rgba(15, 23, 42, 0.10);
}


@media (max-width: 992px) {
  .shared-carousel .news-carousel-card {
    grid-template-columns: minmax(300px, 42%) 1fr;
    min-height: 360px;
  }

  .shared-carousel .news-carousel-image img {
    height: 360px;
  }

  .shared-carousel .news-carousel-text {
    padding: 30px 30px;
  }

  .shared-carousel .news-carousel-text h3 {
    font-size: 1.35rem;
    line-height: 1.22;
  }

  .shared-carousel .news-carousel-text p {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .shared-carousel .carousel-control-prev,
  .shared-carousel .carousel-control-next {
    width: 46px;
    height: 46px;
  }

  .shared-carousel .carousel-control-prev-icon,
  .shared-carousel .carousel-control-next-icon {
    width: 46px;
    height: 46px;
  }
}


@media (max-width: 768px) {
  .shared-carousel .carousel-inner {
    border-radius: 18px;
  }

  .shared-carousel .news-carousel-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .shared-carousel .news-carousel-image {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .shared-carousel .news-carousel-image::after {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.00) 45%);
  }

  .shared-carousel .news-carousel-image img {
    width: 100%;
    height: 280px;
  }

  .shared-carousel .news-carousel-info {
    border-left: none;
  }

  .shared-carousel .news-carousel-text {
    padding: 24px 22px 24px;
  }

  .shared-carousel .news-carousel-text h3 {
    font-size: 1.16rem;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .shared-carousel .news-carousel-text h3::after {
    width: 56px;
    margin-top: 12px;
  }

  .shared-carousel .news-carousel-text p {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .shared-carousel .news-carousel-text .btn {
    width: 100%;
  }

  .shared-carousel .carousel-control-prev,
  .shared-carousel .carousel-control-next {
    width: 42px;
    height: 42px;
    top: 124px;
    transform: translateY(0);
  }

  .shared-carousel .carousel-control-prev {
    left: 10px;
  }

  .shared-carousel .carousel-control-next {
    right: 10px;
  }

  .shared-carousel .carousel-control-prev-icon,
  .shared-carousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .shared-carousel .carousel-inner {
    border-radius: 16px;
  }

  .shared-carousel .news-carousel-image img {
    height: 240px;
  }

  .shared-carousel .news-carousel-text {
    padding: 20px 16px 20px;
  }

  .shared-carousel .news-carousel-text h3 {
    font-size: 1.02rem;
    margin-bottom: 12px;
  }

  .shared-carousel .news-carousel-text p {
    font-size: 0.9rem;
    line-height: 1.58;
    margin-bottom: 16px;
  }

  .shared-carousel .carousel-control-prev,
  .shared-carousel .carousel-control-next {
    width: 38px;
    height: 38px;
    top: 104px;
  }

  .shared-carousel .carousel-control-prev-icon,
  .shared-carousel .carousel-control-next-icon {
    width: 38px;
    height: 38px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  min-height: auto;
  padding: 26px 20px 24px;

  background: linear-gradient(180deg, var(--color-white) 0%, #fffafa 100%);
  border: 1px solid var(--color-border);
  border-radius: 16px;

  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--color-primary);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 40, 40, 0.22);
  box-shadow: var(--shadow-soft);
}

.contact-card {
  min-height: 255px;
}

.contact-card-icon {
  width: 220px;
  height: 130px;
  margin-bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(198, 40, 40, 0.10);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}


.contact-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.contact-card-icon i {
  font-size: 1.6rem;
  line-height: 1;
}

.contact-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card-content h3 {
  margin: 0;
  color: var(--color-dark);
  font-size: 1.04rem;
  line-height: 1.35;
  font-weight: 700;
}

.contact-card-content h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--color-primary);
  opacity: 0.9;
}

.contact-card-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
}

.contact-card-phones span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: auto;
  max-width: 100%;
  padding: 9px 14px;

  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 999px;

  color: var(--color-dark-soft);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.contact-card-phones i {
  font-size: 0.9rem;
  color: var(--color-primary);
}


.contact-card:hover .contact-card-icon {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(198, 40, 40, 0.22);
  box-shadow: 0 14px 28px rgba(198, 40, 40, 0.12);
}

.contact-card:hover .contact-card-phones span {
  background: rgba(198, 40, 40, 0.06);
  border-color: rgba(198, 40, 40, 0.18);
  color: var(--color-primary);
}

.contact-card:focus-visible {
  outline: 3px solid rgba(198, 40, 40, 0.20);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card-icon {
    width: 210px;
    height: 124px;
  }
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    min-height: unset;
    height: auto;
    padding: 18px 14px 16px;
    justify-content: flex-start;
  }

  .contact-card-icon {
    width: 210px;
    height: 120px;
    margin-bottom: 14px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .contact-card-content h3 {
    font-size: 0.98rem;
    line-height: 1.25;
    margin-bottom: 0;
  }

  .contact-card-content h3::after {
    margin: 10px auto 0;
  }

  .contact-card-phones {
    margin-top: 12px;
    gap: 8px;
  }
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 165px;
  padding: 22px 18px;

  background: linear-gradient(180deg, var(--color-white) 0%, #fffdfd 100%);
  border: 1px solid var(--color-border);
  border-radius: 14px;

  text-decoration: none;
  color: var(--color-text);
  text-align: center;

  box-shadow: var(--shadow-elegant);
  overflow: hidden;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 40, 40, 0.25);
  box-shadow: var(--shadow-soft);
}

.link-card:hover::before {
  transform: scaleX(1);
}

.link-card__logo {
  width: 100%;
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.link-card__logo img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;

  transition: transform 0.28s ease, filter 0.28s ease;
}

.link-card:hover .link-card__logo img {
  transform: scale(1.04);
}

.link-card__name {
  display: inline-block;
  min-height: 2.6em;

  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.link-card:focus-visible {
  outline: 3px solid rgba(198, 40, 40, 0.20);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .links-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .link-card {
    min-height: 150px;
    padding: 18px 14px;
  }

  .link-card__logo {
    height: 68px;
  }

  .link-card__logo img {
    max-height: 62px;
  }

  .link-card__name {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .link-card {
    min-height: 138px;
    padding: 16px 12px;
    border-radius: 12px;
  }

  .link-card__logo {
    height: 60px;
  }

  .link-card__logo img {
    max-height: 54px;
  }

  .link-card__name {
    font-size: 0.86rem;
    line-height: 1.3;
  }
}

.more-section .links-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.more-section .link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  min-height: 205px;
  padding: 18px 16px 18px;

  background: linear-gradient(180deg, var(--color-white) 0%, #fffdfd 100%);
  border: 1px solid var(--color-border);
  border-radius: 16px;

  text-decoration: none;
  color: var(--color-text);
  text-align: center;

  box-shadow: var(--shadow-elegant);
  overflow: hidden;

  transition:
    transform 0.30s ease,
    box-shadow 0.30s ease,
    border-color 0.30s ease,
    background 0.30s ease;
}

.more-section .link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.30s ease;
}

.more-section .link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(198, 40, 40, 0.02) 0%,
      rgba(198, 40, 40, 0) 45%);
  opacity: 0;
  transition: opacity 0.30s ease;
  pointer-events: none;
}

.more-section .link-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 40, 40, 0.24);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.10),
    0 6px 16px rgba(198, 40, 40, 0.10);
}

.more-section .link-card:hover::before {
  transform: scaleX(1);
}

.more-section .link-card:hover::after {
  opacity: 1;
}

.more-section .link-card__logo {
  width: 100%;
  min-height: 116px;
  padding: 14px 12px;
  margin-bottom: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #f0f0f0;
  border-radius: 12px;

  transition:
    transform 0.30s ease,
    box-shadow 0.30s ease,
    border-color 0.30s ease,
    background 0.30s ease;
}

.more-section .link-card__logo img {
  max-width: 100%;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;

  transition:
    transform 0.30s ease,
    filter 0.30s ease;
}

.more-section .link-card:hover .link-card__logo {
  transform: translateY(-2px);
  border-color: rgba(198, 40, 40, 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.more-section .link-card:hover .link-card__logo img {
  transform: scale(1.06);
}

.more-section .link-card__name {
  display: inline-block;
  min-height: 3em;
  padding: 0 4px;

  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;

  transition:
    color 0.30s ease,
    transform 0.30s ease;
}

.more-section .link-card__name::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--color-primary);
  transform: scaleX(0.55);
  opacity: 0.85;
  transition: transform 0.30s ease;
}

.more-section .link-card:hover .link-card__name {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.more-section .link-card:hover .link-card__name::after {
  transform: scaleX(1);
}

.more-section .link-card:focus-visible {
  outline: 3px solid rgba(198, 40, 40, 0.20);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .more-section .links-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .more-section .links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .more-section .link-card {
    min-height: 188px;
    padding: 16px 14px;
  }

  .more-section .link-card__logo {
    min-height: 98px;
    margin-bottom: 14px;
  }

  .more-section .link-card__logo img {
    max-height: 70px;
  }

  .more-section .link-card__name {
    font-size: 0.93rem;
  }
}

@media (max-width: 576px) {
  .more-section .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .more-section .link-card {
    min-height: 170px;
    padding: 14px 12px;
    border-radius: 12px;
  }

  .more-section .link-card__logo {
    min-height: 86px;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .more-section .link-card__logo img {
    max-height: 58px;
  }

  .more-section .link-card__name {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .more-section .link-card__name::after {
    width: 36px;
    margin-top: 8px;
  }
}

.site-footer {
  background: linear-gradient(135deg, #161616 0%, #1d1d1d 45%, #222222 100%);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
}

.site-footer__container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 56px 50px 46px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr)) minmax(320px, 420px);
  gap: 42px 48px;
  align-items: start;
  justify-content: center;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

.site-footer__column--location {
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.footer-block {
  position: relative;
  width: 100%;
}

.site-footer__column:not(.site-footer__column--location) .footer-block {
  padding-left: 16px;
}

.site-footer__column:not(.site-footer__column--location) .footer-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 2px;
  height: 24px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.75);
}

.footer-block__title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  color: var(--color-white);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-block__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-block__list li+li {
  margin-top: 10px;
}

.footer-block__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.footer-block__list a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.footer-block__list a:hover {
  color: var(--color-white);
  transform: translateX(3px);
}

.footer-block__list a:hover::before {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.12);
}

.footer-block__list a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.24);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-map {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.10);
}

.footer-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(4%) contrast(1.02);
}

.site-footer__column .footer-block+.footer-block {
  padding-top: 2px;
}

.site-footer__column--location .footer-block {
  padding-left: 16px;
}

.site-footer__column--location .footer-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 2px;
  height: 24px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.75);
}

@media (max-width: 1280px) {
  .site-footer__container {
    padding: 50px 35px 40px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 36px 32px;
  }

  .site-footer__column {
    gap: 28px;
  }

  .site-footer__column--location {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
  }

  .site-footer__column:not(.site-footer__column--location) .footer-block,
  .site-footer__column--location .footer-block {
    padding-left: 16px;
  }

  .site-footer__column:not(.site-footer__column--location) .footer-block::before,
  .site-footer__column--location .footer-block::before {
    height: 24px;
  }

  .footer-map iframe {
    min-height: 300px;
  }
}

@media (max-width: 992px) {
  .site-footer__container {
    padding: 44px 28px 36px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 30px 26px;
  }

  .site-footer__column {
    gap: 24px;
  }

  .site-footer__column--location {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-width: 100%;
  }

  .site-footer__column:not(.site-footer__column--location) .footer-block,
  .site-footer__column--location .footer-block {
    padding-left: 15px;
  }

  .site-footer__column:not(.site-footer__column--location) .footer-block::before,
  .site-footer__column--location .footer-block::before {
    height: 22px;
  }

  .footer-block__title {
    font-size: 1rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .footer-block__list a {
    font-size: 0.96rem;
  }

  .footer-map {
    border-radius: 16px;
  }

  .footer-map iframe {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .site-footer__container {
    padding: 40px 22px 32px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer__column {
    gap: 22px;
  }

  .site-footer__column--location {
    grid-column: auto;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .site-footer__column:not(.site-footer__column--location) .footer-block,
  .site-footer__column--location .footer-block {
    padding-left: 14px;
  }

  .site-footer__column:not(.site-footer__column--location) .footer-block::before,
  .site-footer__column--location .footer-block::before {
    height: 22px;
  }

  .footer-block__title {
    font-size: 0.98rem;
    margin-bottom: 13px;
    padding-bottom: 9px;
  }

  .footer-block__list li+li {
    margin-top: 8px;
  }

  .footer-block__list a {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .footer-map {
    border-radius: 14px;
  }

  .footer-map iframe {
    min-height: 250px;
  }
}

@media (max-width: 425px) {
  .site-footer__container {
    padding: 34px 16px 28px;
  }

  .site-footer__grid {
    gap: 22px;
  }

  .site-footer__column {
    gap: 20px;
  }

  .site-footer__column:not(.site-footer__column--location) .footer-block,
  .site-footer__column--location .footer-block {
    padding-left: 12px;
  }

  .site-footer__column:not(.site-footer__column--location) .footer-block::before,
  .site-footer__column--location .footer-block::before {
    width: 2px;
    height: 20px;
  }

  .footer-block__title {
    font-size: 0.94rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    text-align: left;
  }

  .footer-block__list {
    width: 100%;
    margin: 0;
  }

  .footer-block__list li {
    width: 100%;
  }

  .footer-block__list li+li {
    margin-top: 8px;
  }

  .footer-block__list a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.93rem;
    line-height: 1.42;
    text-align: left;
  }

  .footer-map {
    border-radius: 13px;
  }

  .footer-map iframe {
    min-height: 220px;
  }
}

.site-footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.site-footer__bottom-line,
.site-footer__bottom-contact {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.site-footer__bottom-line {
  font-size: 0.96rem;
}

.site-footer__bottom-name {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.site-footer__bottom-separator {
  margin: 0 0.35em;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom-contact {
  margin-top: 4px;
  font-size: 0.86rem;
}

.site-footer__bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-left: 0.35em;
  color: #9bd8ff;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__bottom-separator + .site-footer__bottom-link {
  margin-left: 0;
}

.site-footer__bottom-link:hover {
  color: #c8eaff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom-link:focus-visible {
  color: #c8eaff;
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer__bottom-link .bi {
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .site-footer__bottom {
    margin-top: 34px;
    padding-top: 18px;
  }

  .site-footer__bottom-line {
    font-size: 0.92rem;
  }
}

@media (max-width: 425px) {
  .site-footer__bottom {
    margin-top: 28px;
    padding-top: 16px;
  }

  .site-footer__bottom-line {
    font-size: 0.88rem;
  }

  .site-footer__bottom-contact {
    font-size: 0.82rem;
  }
}
