:root {
  --color-brand-darkest: #232f40;
  --color-brand: #364559;
  --color-brand-mid: #536173;
  --color-neutral-mid: #949ba6;
  --color-surface: #f2f2f2;
  --color-text-primary: #232f40;
  --color-text-secondary: #536173;
  --color-text-muted: #949ba6;
  --color-text-on-dark: #f2f2f2;
  --color-border: #949ba6;
  --radius-soft: 0.4rem;
  --shadow-soft: 0 14px 28px rgba(35, 47, 64, 0.08);
  --font-body: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: "Crimson Pro", Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-heading h2,
.hero-title,
.site-brand-text {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.section-heading h2,
.hero-title,
.site-brand-text {
  font-family: var(--font-heading);
  color: var(--color-brand-darkest);
  letter-spacing: -0.03em;
  font-size: 6.5rem;
}
h1 {
  color: var(--color-brand-darkest);
  font-weight: 900;
  font-size: 3.5rem;
}
h2,

h3 {
  color: var(--color-brand-darkest);
  font-weight: 600;
}
h4 {
  color: var(--color-brand);
  font-weight: 600;
}

p {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  font-size: 0.9rem;
}

/* Header + hero */
.site-header {
  background: linear-gradient(
    180deg,
    rgba(242, 242, 242, 1) 0%,
    rgba(242, 242, 242, 0.98) 100%
  );
}

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 1.1rem 0;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  backdrop-filter: blur(10px);
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.75s ease,
    opacity 0.75s ease,
    background-color 0.6s ease,
    border-color 0.6s ease,
    box-shadow 0.6s ease;
}

.site-navbar.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.site-navbar.is-scrolled {
  transform: translateY(0);
  opacity: 1;
  background-color: rgba(242, 242, 242, 0.96);
  border-bottom-color: rgba(148, 155, 166, 0.2);
  box-shadow: 0 4px 12px rgba(35, 47, 64, 0.04);
}

.site-navbar .navbar-toggler {
  border-color: rgba(148, 155, 166, 0.62);
  border-radius: var(--radius-soft);
}

.site-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(83, 97, 115, 0.14);
}

.site-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2854, 69, 89, 0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-brand-darkest);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
}

.site-brand:hover {
  color: var(--color-brand-darkest);
}

.site-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-soft);
  background-color: rgba(242, 242, 242, 0.64);
  color: var(--color-brand);
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 700;
  transition:
    background-color 0.6s ease,
    opacity 0.6s ease;
}

.site-navbar.is-scrolled .site-brand-mark {
  background-color: var(--color-surface);
}
.site-brand-text {
  font-size: 1rem;
  font-weight: 600;
}

.site-navbar .nav-link {
  padding: 0.5rem 0.85rem;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-weight: 500;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.is-active {
  color: var(--color-brand-darkest);
}

.site-header .site-navbar:not(.is-scrolled) .site-brand,
.site-header .site-navbar:not(.is-scrolled) .site-brand:hover,
.site-header .site-navbar:not(.is-scrolled) .site-brand-text,
.site-header .site-navbar:not(.is-scrolled) .nav-link,
.site-header .site-navbar:not(.is-scrolled) .nav-link:hover,
.site-header .site-navbar:not(.is-scrolled) .nav-link:focus,
.site-header .site-navbar:not(.is-scrolled) .nav-link.is-active {
  color: var(--color-text-on-dark);
}

.site-header .site-navbar:not(.is-scrolled) .site-brand-mark {
  background-color: rgba(242, 242, 242, 0.14);
  color: var(--color-text-on-dark);
}

.site-header .site-navbar:not(.is-scrolled) .btn-outline-brand {
  color: var(--color-text-on-dark);
  box-shadow: inset 0 0 0 1px rgba(242, 242, 242, 0.42);
}

.site-header .site-navbar:not(.is-scrolled) .navbar-toggler {
  border-color: rgba(242, 242, 242, 0.38);
}

.site-header .site-navbar:not(.is-scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28242, 242, 242, 0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-primary-brand {
  color: var(--color-text-on-dark);
  background-color: var(--color-brand);
  border: 1px solid transparent;
  border-radius: var(--radius-soft);
  font-family: var(--font-body);
  font-weight: 600;
}

.btn-primary-brand:hover,
.btn-primary-brand:focus {
  color: var(--color-text-on-dark);
  background-color: var(--color-brand-darkest);
  border-color: var(--color-brand-darkest);
}

.hero-home .btn-primary-brand {
  background-color: rgba(35, 47, 64, 0.92);
  border-color: rgba(242, 242, 242, 0.18);
  box-shadow: 0 10px 20px rgba(35, 47, 64, 0.2);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.hero-home .btn-primary-brand:hover,
.hero-home .btn-primary-brand:focus {
  background-color: var(--color-brand-darkest);
  border-color: var(--color-brand-darkest);
  color: var(--color-text-on-dark);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.btn-outline-brand {
  color: var(--color-brand);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-soft);
  box-shadow: inset 0 0 0 1px rgba(54, 69, 89, 0.32);
  font-family: var(--font-body);
  font-weight: 600;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  color: var(--color-text-on-dark);
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

.hero-home {
  position: relative;
  min-height: clamp(40rem, 88vh, 48rem);
  overflow: hidden;
}
.hero-main-swiper,
.hero-main-swiper .swiper-wrapper,
.hero-main-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.hero-main-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(40rem, 88vh, 48rem);
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.06);
  transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-main-swiper .swiper-slide-active .hero-slide-bg,
.hero-main-swiper .swiper-slide-duplicate-active .hero-slide-bg {
  transform: scale(1.02);
}

.hero-background-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(57, 67, 71, 0.82) 0%,
      rgba(57, 67, 71, 0.62) 42%,
      rgba(57, 67, 71, 0.48) 100%
    ),
    linear-gradient(
      180deg,
      rgba(57, 67, 71, 0.22) 0%,
      rgba(57, 67, 71, 0.34) 100%
    );
  pointer-events: none;
}

.hero-main-swiper .container,
.hero-main-swiper .row,
.hero-main-swiper .hero-content,
.hero-main-swiper .hero-floating-media {
  position: relative;
  z-index: 2;
}

.hero-main-swiper .container {
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
}
.hero-main-swiper .row {
  min-height: clamp(30rem, 68vh, 38rem);
  width: 100%;
}

.hero-animate {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-animate.is-animated {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.animate-fade-up {
  transform: translate3d(0, 2rem, 0);
}
.animate-fade-down {
  transform: translate3d(0, -1.4rem, 0);
}
.animate-fade-left {
  transform: translate3d(2.4rem, 0, 0);
}
.animate-fade-right {
  transform: translate3d(-2.4rem, 0, 0);
}

.hero-content.is-animated {
  transition-delay: 0.06s;
}
.section-kicker.is-animated {
  transition-delay: 0.12s;
}
.hero-title.is-animated {
  transition-delay: 0.22s;
}
.hero-summary.is-animated {
  transition-delay: 0.34s;
}
.hero-actions.is-animated {
  transition-delay: 0.46s;
}
.hero-actions .btn:nth-child(1).is-animated {
  transition-delay: 0.54s;
}
.hero-actions .btn:nth-child(2).is-animated {
  transition-delay: 0.62s;
}
.hero-floating-media.is-animated {
  transition-delay: 0.24s;
}
.hero-floating-card.is-animated {
  transition-delay: 0.3s;
}
.hero-floating-image.is-animated {
  transition-delay: 0.38s;
}

.hero-content {
  max-width: 37rem;
  padding-bottom: 0.45rem;
}
.section-kicker {
  margin-bottom: 1rem;
  color: var(--color-text-on-dark);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.hero-title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4vw, 3.95rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--color-text-on-dark);
}
.hero-summary {
  max-width: 34rem;
  margin-bottom: 0;
  color: rgba(242, 242, 242, 0.88);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.78;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-home .btn-outline-brand {
  color: var(--color-text-on-dark);
  box-shadow: inset 0 0 0 1px rgba(242, 242, 242, 0.46);
}
.hero-home .btn-outline-brand:hover,
.hero-home .btn-outline-brand:focus {
  color: var(--color-brand-darkest);
  background-color: var(--color-surface);
  border-color: var(--color-surface);
}

.hero-floating-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 100%;
}
.hero-floating-card {
  position: relative;
  min-height: clamp(31rem, 72vh, 40rem);
  border-radius: var(--radius-soft);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
  padding-top: 1.25rem;
}
.hero-floating-card::after {
  content: none;
}
.hero-floating-image {
  display: block;
  width: min(100%, 34rem);
  max-height: clamp(31rem, 75vh, 41rem);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translate3d(0, 0.75rem, 0);
  filter: drop-shadow(0 18px 34px rgba(35, 47, 64, 0.22));
}

.hero-main-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem !important;
  z-index: 3;
}
.hero-main-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.8);
}
.hero-main-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ffffff;
}

.media-placeholder {
  width: 100%;
}
.media-placeholder-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 23rem;
  border-radius: var(--radius-soft);
  background: linear-gradient(
    180deg,
    rgba(148, 155, 166, 0.16) 0%,
    rgba(242, 242, 242, 1) 100%
  );
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.media-placeholder-frame::before,
.media-placeholder-frame::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background-color: rgba(148, 155, 166, 0.2);
}
.media-placeholder-frame::before {
  top: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
}
.media-placeholder-frame::after {
  bottom: -2.5rem;
  left: -2rem;
  width: 9rem;
  height: 9rem;
}
.media-placeholder-label {
  position: relative;
  z-index: 1;
  color: var(--color-brand);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Shared sections */
.section-block {
  padding: 5.5rem 0;
}

@keyframes fadeInUpSection {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 50px, 0);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes zoomInSection {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.fade-up-section {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 50px, 0);
  will-change: transform, opacity;
}
.fade-up-section.is-visible {
  opacity: 1;
  visibility: visible;
  animation: fadeInUpSection 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.zoom-in-section {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0) scale(0.9);
  transform-origin: center center;
  will-change: transform, opacity;
}
.zoom-in-section.is-visible {
  opacity: 1;
  visibility: visible;
  animation: zoomInSection 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.section-soft {
  background-color: rgba(148, 155, 166, 0.1);
}

.section-values {
  --values-parallax-offset: 0px;
  position: relative;
  overflow: hidden;
  background-image: url("../img/parallax/valores-bg.jpg");
  background-size: cover;
  background-position: center calc(50% + var(--values-parallax-offset));
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: background-position 0.08s linear;
}
.section-values.section-soft {
  background-color: transparent;
}
.section-values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(57, 67, 71, 0.38);
  z-index: 0;
}
.section-values .container {
  position: relative;
  z-index: 1;
}
.section-values .section-kicker,
.section-values h2,
.section-values .section-lead {
  color: #f2f2f2;
}
.section-values .value-card {
  background-color: rgba(242, 242, 242, 0.94);
  backdrop-filter: blur(4px);
}
.section-values .value-card h3,
.section-values .value-card p {
  color: var(--color-text-primary);
}

.section-heading {
  max-width: 62rem;
  margin-bottom: 3rem;
}
.section-heading-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
}
.section-lead {
  margin-bottom: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.72;
}

.welcome-copy {
  text-align: center;
}
.welcome-copy p {
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.9;
}

.section-copy {
  max-width: 34rem;
}
.section-copy h2 {
  margin-bottom: 1.25rem;
}
.section-copy p {
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.85;
}

.cards-track {
}

.service-card,
.value-card,
.contact-cta-panel {
  height: 100%;
  border: none;
  border-radius: var(--radius-soft);
  background-color: var(--color-surface);
  box-shadow: 0 10px 24px rgba(35, 47, 64, 0.04);
}

.service-card {
  overflow: hidden;
}

.card-visual-placeholder {
  min-height: 12rem;
  background: linear-gradient(
    180deg,
    rgba(148, 155, 166, 0.22) 0%,
    rgba(242, 242, 242, 1) 100%
  );
}

.service-card-body {
  padding: 1.5rem;
}

.service-card h3,
.value-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  line-height: 1.75;
}

.value-card {
  padding: 1.75rem;
}
.value-card p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  line-height: 1.72;
}

.icon-placeholder {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-soft);
  background-color: rgba(148, 155, 166, 0.2);
}

.contact-cta-panel {
  padding: 3rem;
}

.contact-cta-section .contact-cta-copy {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.contact-cta-section .contact-cta-copy .section-kicker,
.contact-cta-section .contact-cta-copy h2,
.contact-cta-section .contact-cta-copy p {
  text-align: center;
}

.contact-cta-section .contact-cta-copy .btn {
  margin-top: 0.5rem;
}

.contact-grid {
  align-items: stretch;
}

.contact-card {
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius-soft);
  background-color: rgba(148, 155, 166, 0.06);
}

.contact-card h2,
.contact-card h3 {
  margin-bottom: 1rem;
}

.contact-card p:last-of-type {
  margin-bottom: 0;
}

.contact-map-frame {
  width: 100%;
  min-height: 18rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(35, 47, 64, 0.04);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
}

.contact-map-frame-wide {
  min-height: 24rem;
}

.contact-map-frame-wide iframe {
  min-height: 24rem;
}

.contact-map-fullwidth {
  width: 100%;
  margin: 0 0 2rem;
}

.contact-map-fullwidth .contact-map-frame {
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-intro-card-centered {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.contact-info-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.contact-info-list li {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-soft);
  background-color: rgba(242, 242, 242, 0.8);
  color: var(--color-text-primary);
}

.contact-info-list a {
  color: inherit;
  text-decoration: none;
}

.contact-info-list a:hover,
.contact-info-list a:focus {
  text-decoration: underline;
}

.contact-info-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--color-brand-darkest);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-field {
  display: grid;
  gap: 0.45rem;
}

.contact-field label {
  color: var(--color-text-primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 155, 166, 0.28);
  border-radius: var(--radius-soft);
  background-color: rgba(242, 242, 242, 0.92);
  color: var(--color-text-primary);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(54, 69, 89, 0.42);
  box-shadow: 0 0 0 0.2rem rgba(83, 97, 115, 0.12);
}

.contact-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form-note {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-status {
  min-height: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: var(--radius-soft);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    padding 0.2s ease;
}

.contact-status.is-loading {
  color: var(--color-text-secondary);
  padding: 0.85rem 1rem;
  background-color: rgba(148, 155, 166, 0.12);
  border: 1px solid rgba(148, 155, 166, 0.24);
}

.contact-status.is-success {
  color: var(--color-brand);
  padding: 0.9rem 1rem;
  background-color: rgba(54, 69, 89, 0.08);
  border: 1px solid rgba(54, 69, 89, 0.18);
  font-weight: 600;
}

.contact-status.is-error {
  color: #8a3b3b;
  padding: 0.9rem 1rem;
  background-color: rgba(138, 59, 59, 0.08);
  border: 1px solid rgba(138, 59, 59, 0.18);
}

body.is-preloading {
  overflow: hidden;
  height: 100svh;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brand-darkest);
  cursor: progress;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-inner {
  width: min(95vw, 72rem);
  padding: 0 1.5rem;
  text-align: center;
  pointer-events: none;
}

.site-preloader-progress {
  margin-bottom: 1.2rem;
  color: var(--color-text-on-dark);
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.site-preloader-line {
  position: relative;
  width: 100%;
  height: 3px;
  background-color: rgba(242, 242, 242, 0.18);
  overflow: hidden;
}

.site-preloader-line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background-color: var(--color-text-on-dark);
  transition: width 0.2s linear;
}

@media (max-width: 767.98px) {
  .site-preloader-inner {
    width: min(100vw, 40rem);
    padding: 0 1rem;
  }

  .site-preloader-progress {
    margin-bottom: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader,
  .site-preloader-line-fill {
    transition: none;
  }
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background-color: var(--color-brand);
  color: var(--color-text-on-dark);
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(35, 47, 64, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: var(--color-text-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(35, 47, 64, 0.24);
  background-color: var(--color-brand-darkest);
}

.whatsapp-float-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.whatsapp-float-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.media-placeholder-contact .media-placeholder-frame,
.media-placeholder-secondary .media-placeholder-frame {
  min-height: 20rem;
}

.site-footer {
  padding: 3rem 0 1.25rem;
  background-color: var(--color-brand);
}

.site-footer-main {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(242, 242, 242, 0.16);
}

.footer-brand-block,
.footer-nav-block,
.footer-contact-block {
  height: 100%;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  margin-bottom: 1.25rem;
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--color-text-on-dark);
  font-size: 1.3rem;
}

.site-footer .footer-summary {
  max-width: 22rem;
  color: rgba(242, 242, 242, 0.86);
  line-height: 1.8;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.footer-links,
.footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(242, 242, 242, 0.88);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-text-on-dark);
  transform: translateX(2px);
}

.footer-contact-list li {
  color: rgba(242, 242, 242, 0.88);
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer-contact-list strong {
  display: block;
  color: var(--color-text-on-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding-top: 1.25rem;
}
.site-footer p {
  color: var(--color-text-on-dark);
  font-family: var(--font-body);
  text-align: center;
}

.nav-hover-menu .nav-link,
.nav-hover-menu .dropdown-item,
.nav-contact-btn {
  transition: all 0.25s ease;
}

.nav-hover-menu .nav-link {
  position: relative;
}
.nav-hover-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav-hover-menu .nav-link:hover::after,
.nav-hover-menu .nav-link:focus::after {
  width: calc(100% - 1rem);
}

.nav-hover-menu .dropdown-menu {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  padding: 0.6rem;
}
.nav-hover-menu .dropdown-item {
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
}
.nav-hover-menu .dropdown-item:hover,
.nav-hover-menu .dropdown-item:focus {
  background-color: rgba(35, 47, 64, 0.06);
  transform: translateX(4px);
}
.nav-contact-btn:hover,
.nav-contact-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.service-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}
.service-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-brand-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.site-logo {
  display: block;
  width: auto;
  height: clamp(42px, 5vw, 68px);
  max-width: 100%;
  object-fit: contain;
}

.study-image-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 30rem;
  overflow: visible;
}
.study-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 50rem;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translate3d(0, -1.25rem, 0);
}

.page-hero {
  position: relative;
  min-height: 325px;
  overflow: hidden;
}

.page-hero-bg,
.page-hero-overlay {
  position: absolute;
  inset: 0;
}

.page-hero-bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(57, 67, 71, 0.68) 0%,
      rgba(57, 67, 71, 0.46) 45%,
      rgba(57, 67, 71, 0.32) 100%
    ),
    linear-gradient(
      180deg,
      rgba(57, 67, 71, 0.12) 0%,
      rgba(57, 67, 71, 0.2) 100%
    );
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 325px;
  padding-top: 6.75rem;
  padding-bottom: 2.5rem;
}

.page-hero-copy {
  max-width: 40rem;
}

.page-hero .section-kicker,
.page-hero h1,
.page-hero .section-lead {
  color: var(--color-text-on-dark);
}

.page-hero .section-lead {
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.service-detail-panel {
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius-soft);
  background-color: var(--color-surface);
  box-shadow: 0 10px 24px rgba(35, 47, 64, 0.04);
}

.service-detail-panel h2 {
  margin-bottom: 1rem;
}

.service-detail-panel p:last-of-type {
  margin-bottom: 0;
}

.service-detail-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.service-detail-list li {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-soft);
  background-color: rgba(148, 155, 166, 0.08);
  color: var(--color-text-primary);
}

.penal-service-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--radius-soft);
  background-color: var(--color-surface);
  box-shadow: 0 10px 24px rgba(35, 47, 64, 0.04);
}

.penal-service-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
}

.penal-service-card p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.service-card-image-link {
  display: block;
  text-decoration: none;
}
.service-card-image-wrap {
  position: relative;
  width: 100%;
  height: 12rem;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(148, 155, 166, 0.12) 0%,
    rgba(242, 242, 242, 1) 100%
  );
}
.service-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}
.service-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(57, 67, 71, 0.18);
  transition: background 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.service-card-image-link:hover .service-card-image-wrap::after,
.service-card-image-link:focus .service-card-image-wrap::after,
.service-card:hover .service-card-image-wrap::after {
  background: rgba(57, 67, 71, 0.55);
}

.service-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.service-card-link::after {
  content: "→";
  transition: transform 0.25s ease;
}
.service-card-link:hover,
.service-card-link:focus {
  color: var(--color-brand-darkest);
  transform: translateX(2px);
}
.service-card-link:hover::after,
.service-card-link:focus::after {
  transform: translateX(3px);
}

.value-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0.35rem;
  }
}

@media (max-width: 991.98px) {
  .hero-home,
  .hero-main-swiper .swiper-slide {
    min-height: clamp(36rem, 82vh, 43rem);
  }

  .section-block {
    padding: 4.5rem 0;
  }

  .site-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-soft);
    background-color: rgba(242, 242, 242, 0.98);
    box-shadow: 0 12px 24px rgba(35, 47, 64, 0.04);
  }

  .site-navbar .navbar-collapse .nav-link,
  .site-navbar .navbar-collapse .dropdown-toggle,
  .site-navbar .navbar-collapse .dropdown-item {
    color: var(--color-text-primary) !important;
  }

  .site-navbar .navbar-collapse .dropdown-menu {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(148, 155, 166, 0.16);
    border-radius: var(--radius-soft);
    background-color: rgba(242, 242, 242, 0.98);
    box-shadow: none;
  }

  .site-navbar .nav-link {
    padding-right: 0;
    padding-left: 0;
  }

  .site-navbar .navbar-collapse .navbar-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.2rem;
    align-items: flex-start;
  }

  .site-navbar .navbar-collapse .nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    text-align: left;
  }

  .site-navbar .navbar-collapse .nav-link,
  .site-navbar .navbar-collapse .dropdown-toggle {
    display: inline-block;
    width: auto;
    margin-left: 0;
    margin-right: auto;
    padding-right: 0.85rem;
    padding-left: 0;
    text-align: left;
  }

  .site-navbar .navbar-collapse .nav-item.ms-lg-3 {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 0.35rem;
  }

  .site-navbar .navbar-collapse .nav-contact-btn,
  .site-navbar .navbar-collapse .nav-contact-btn:hover,
  .site-navbar .navbar-collapse .nav-contact-btn:focus {
    display: inline-flex;
    width: auto;
    margin-top: 0;
    margin-left: 0;
    margin-right: auto;
    padding: 0.7rem 1rem;
    text-align: center;
    white-space: nowrap;
    color: #f2f2f2 !important;
  }

  .site-navbar .navbar-collapse .dropdown-menu {
    min-width: 0;
    margin-right: auto;
    margin-left: 0;
    text-align: left;
  }

  .contact-cta-panel {
    padding: 2rem;
  }

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

  .hero-floating-card,
  .hero-floating-image {
    min-height: 0;
  }

  .hero-floating-card {
    min-height: 27rem;
  }
  .hero-floating-image {
    width: min(100%, 27rem);
    max-height: 28rem;
  }

  .section-values {
    --values-parallax-offset: 0px;
    background-position: center center;
    background-attachment: scroll;
  }

  .study-image-wrap {
    min-height: 24rem;
  }
  .study-image {
    max-height: 24rem;
  }

  .page-hero,
  .page-hero-content {
    min-height: 300px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .section-heading {
    margin-bottom: 2.25rem;
  }
  .media-placeholder-frame {
    min-height: 18rem;
  }
  .card-visual-placeholder {
    min-height: 10rem;
  }

  .hero-home,
  .hero-main-swiper .swiper-slide {
    min-height: clamp(34rem, 76svh, 38rem);
  }
  .hero-main-swiper .row {
    min-height: clamp(25rem, 58svh, 29rem);
  }

  .hero-floating-card,
  .hero-floating-image {
    min-height: 0;
  }

  .hero-floating-card {
    min-height: 20rem;
    padding-top: 0.5rem;
  }

  .hero-floating-image {
    width: min(100%, 20rem);
    max-height: 22rem;
    transform: translate3d(0, 0.25rem, 0);
  }

  .study-image-wrap {
    min-height: 20rem;
  }
  .study-image {
    max-height: 20rem;
  }

  .service-card-image-wrap {
    height: 10rem;
  }

  .page-hero,
  .page-hero-content {
    min-height: 280px;
  }

  .page-hero-content {
    padding-top: 6.25rem;
    padding-bottom: 2rem;
  }

}

@media (max-width: 575.98px) {
  .site-navbar {
    padding: 1rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
  .section-block {
    padding: 4rem 0;
  }

  .service-card-body,
  .value-card,
  .contact-cta-panel {
    padding: 1.4rem;
  }

  .site-footer {
    padding-top: 2.5rem;
  }

  .site-footer-main {
    padding-bottom: 1.5rem;
  }

  .footer-logo {
    max-width: 150px;
  }

  .contact-card {
    padding: 1.35rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem;
  }

  .whatsapp-float-icon {
    width: 2.7rem;
    height: 2.7rem;
  }

  .whatsapp-float-text {
    display: none;
  }

  .site-brand {
    gap: 0.55rem;
  }
  .site-brand-text {
    font-size: 0.92rem;
  }
  .site-logo {
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-reveal,
  .service-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
