:root {
  /* Premium Light Theme Color System */
  --bg-white: #ffffff;
  --bg-light: #f4f7fc;
  --bg-card: rgba(255, 255, 255, 0.78);
  --border-light: rgba(18, 99, 255, 0.12);
  --border-glow: rgba(18, 99, 255, 0.25);
  
  /* Primary Corporate Accent Colors */
  --brand-blue: #1263ff;
  --brand-navy: #0d2844;
  --brand-dark-navy: #081a2c;
  --brand-cyan: #43d8e8;
  
  /* Typography Colors */
  --text-dark: #0d2844;
  --text-muted: #5a6275;
  --text-light: #8a94a6;

  /* Fonts */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Montserrat", sans-serif;
  --font-display: "Outfit", sans-serif;

  /* Shared section typography scale */
  --type-section-kicker: clamp(0.78rem, 0.9vw, 1rem);
  --type-section-title: clamp(3.2rem, 5.2vw, 5rem);
  --type-section-subtitle: clamp(1.28rem, 1.55vw, 1.55rem);
  --type-section-copy: clamp(1rem, 1vw, 1.08rem);
  --type-section-meta: clamp(0.92rem, 0.95vw, 1rem);
}

/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-white);
  scroll-padding-top: 96px;
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* ==========================================================================
   2. CENTERED CAPSULE HEADER & NAVIGATION
   ========================================================================== */
.site-header-centered {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto;
  pointer-events: none; /* Let clicks pass through empty spaces */
}

.header-capsules {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(28px) saturate(1.12);
  -webkit-backdrop-filter: blur(28px) saturate(1.12);
  pointer-events: auto; /* Re-enable clicks inside the navigation bar */
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.42),
    0 14px 38px rgba(18, 99, 255, 0.045),
    0 1px 3px rgba(0, 0, 0, 0.018);
}

.capsule-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-navy);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.capsule-btn:hover {
  background: rgba(18, 99, 255, 0.06);
  border-color: rgba(18, 99, 255, 0.15);
  box-shadow: 0 4px 12px rgba(18, 99, 255, 0.05);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

/* Active navigation button state */
.capsule-btn[href^="#"]:active,
.capsule-btn:focus {
  background: rgba(18, 99, 255, 0.1);
  color: var(--brand-blue);
}

/* ==========================================================================
   3. HERO PREMIUM SECTION WITH HTML5 VIDEO
   ========================================================================== */
.hero-premium {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f4fa; /* Warm white/blue base */
}

/* Faint light gradient overlay to blend edges while keeping video 100% crisp and visible */
.hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.02) 50%, 
    rgba(255, 255, 255, 0.15) 100%
  );
  pointer-events: none;
}

/* Background video styling (Softly blurred for premium depth, keeping motion visible but less distracting) */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  filter: blur(5px); /* Softly blurred wind farm video */
  transform: scale(1.04); /* Scaled slightly to prevent white bleed around edges due to blur */
  pointer-events: none;
  transition: opacity 1.2s ease;
}

/* Background photo fallback (in case video is slow or blocked) */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("Imagenes/fondo-estatico-optimizado.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(1.02) contrast(1.02);
  opacity: 1;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.hero-premium.is-video-ready .hero-bg-video {
  opacity: 1;
}

.hero-premium.is-video-ready .hero-bg-photo {
  opacity: 0;
}

/* Canvas Particles (Rendered on top of video and watermark) */
#canvas-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Huge Background text "ageglobal" styled as a video watermark */
.hero-bg-text-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.hero-bg-text {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 19vw, 19.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(13, 40, 68, 0.14); /* Brand navy watermark blending with video */
  mix-blend-mode: multiply; /* Multiplies with video pixels for natural print/watermark look */
  opacity: 0.6;
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}

/* Centered 2D/3D Parallax Logo & Subtext Container */
.hero-center-wrapper {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1000px; /* Activates 3D space for logo tilt */
  pointer-events: auto; /* Active for hover parallax */
  transform-style: preserve-3d;
  will-change: transform;
}

#hero-logo {
  width: 90%;
  height: auto;
  display: block;
  
  /* Drop shadow representing premium rim glow */
  filter: 
    drop-shadow(0 15px 35px rgba(18, 99, 255, 0.16)) 
    drop-shadow(0 0 50px rgba(255, 255, 255, 0.75));
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand-navy);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  margin-top: 16px;
}

/* Foreground Bottom Content and Indicators */
.hero-bottom-content {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Scroll indicator animation */
.hero-scroll-indicator {
  position: relative;
  width: 22px;
  height: 38px;
  border: 1.5px solid rgba(13, 40, 68, 0.25);
  border-radius: 999px;
  opacity: 0.8;
}

.hero-scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--brand-blue);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--brand-blue);
  animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% {
    top: 6px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    top: 22px;
    opacity: 0;
  }
}

@keyframes sectionArrive {
  0% {
    filter: brightness(1);
  }
  35% {
    filter: brightness(1.035);
  }
  100% {
    filter: brightness(1);
  }
}

/* ==========================================================================
   4. CONTENT SECTIONS (PREMIUM LIGHT GLASSMORPHISM)
   ========================================================================== */
main > section {
  isolation: isolate;
  scroll-margin-top: 0;
}

main > section:not(:first-child) {
  margin-top: -36px;
  border-top-left-radius: clamp(34px, 5vw, 78px);
  border-top-right-radius: clamp(34px, 5vw, 78px);
}

main > section.section-arrived {
  animation: sectionArrive 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-showcase,
.about-showcase,
.trust-showcase,
.contact-showcase,
.premium-section {
  border-top-color: transparent;
  box-shadow:
    inset 0 78px 78px rgba(255, 255, 255, 0.18),
    inset 0 -58px 76px rgba(255, 255, 255, 0.16);
}

.services-showcase,
.trust-showcase {
  box-shadow:
    inset 0 88px 92px rgba(255, 255, 255, 0.26),
    inset 0 -72px 88px rgba(205, 238, 249, 0.22);
}

.about-showcase,
.contact-showcase {
  box-shadow:
    inset 0 82px 90px rgba(255, 255, 255, 0.42),
    inset 0 -64px 82px rgba(232, 240, 244, 0.24);
}

.premium-section {
  position: relative;
  padding: 120px 24px;
  background-color: var(--bg-white);
  border-top: 1px solid transparent;
  overflow: hidden;
}

.bg-light-alt {
  background-color: var(--bg-light);
}

.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.centered {
  text-align: center;
}

.section-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand-blue);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brand-navy);
}

/* Grid layout for services */
.grid-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* Light Glassmorphic cards styling */
.glass-card {
  position: relative;
  padding: 48px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 15px 35px rgba(18, 99, 255, 0.03),
    0 1px 3px rgba(0, 0, 0, 0.01);
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, var(--border-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(18, 99, 255, 0.28);
  box-shadow: 0 20px 45px rgba(18, 99, 255, 0.08);
}

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

.card-icon {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-blue);
  margin-bottom: 24px;
}

.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 16px;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Services showcase matching the supplied visual reference */
.services-showcase {
  position: relative;
  min-height: 100vh;
  padding: 138px 5vw 112px;
  overflow: hidden;
  font-family: var(--font-heading);
  background:
    linear-gradient(180deg, rgba(228, 250, 255, 0.9) 0%, rgba(218, 246, 255, 0.82) 42%, rgba(224, 247, 255, 0.92) 100%);
  border-top: 1px solid rgba(18, 99, 255, 0.08);
}

.services-showcase.is-lazy-ready {
  background:
    linear-gradient(180deg, rgba(228, 250, 255, 0.9) 0%, rgba(218, 246, 255, 0.82) 42%, rgba(224, 247, 255, 0.92) 100%),
    url("Imagenes/fondo-estatico-optimizado.jpg") center / cover no-repeat;
}

.services-showcase::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(18, 99, 255, 0.24) 0 3px, transparent 4px),
    radial-gradient(circle at 86% 10%, rgba(18, 99, 255, 0.28) 0 4px, transparent 5px),
    radial-gradient(circle at 78% 92%, rgba(67, 216, 232, 0.4) 0 4px, transparent 5px),
    linear-gradient(118deg, transparent 0 12%, rgba(18, 99, 255, 0.16) 12.2%, transparent 12.6% 18%, rgba(67, 216, 232, 0.12) 18.2%, transparent 18.7%),
    linear-gradient(28deg, transparent 0 70%, rgba(18, 99, 255, 0.14) 70.2%, transparent 70.7% 80%, rgba(67, 216, 232, 0.13) 80.2%, transparent 80.8%);
  opacity: 0.74;
  pointer-events: none;
}

.services-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.58) 48%, rgba(210, 238, 247, 0.88) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent 22% 78%, rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.services-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(32deg, transparent 6%, rgba(18, 99, 255, 0.12) 6.1%, transparent 6.4% 15%, rgba(18, 99, 255, 0.1) 15.1%, transparent 15.4%),
    linear-gradient(145deg, transparent 76%, rgba(18, 99, 255, 0.14) 76.2%, transparent 76.6% 88%, rgba(67, 216, 232, 0.14) 88.2%, transparent 88.7%),
    radial-gradient(circle at 4% 32%, rgba(18, 99, 255, 0.4) 0 3px, transparent 4px),
    radial-gradient(circle at 94% 28%, rgba(18, 99, 255, 0.32) 0 3px, transparent 4px),
    radial-gradient(circle at 12% 82%, rgba(255, 255, 255, 0.82) 0 4px, transparent 5px),
    radial-gradient(circle at 90% 82%, rgba(255, 255, 255, 0.86) 0 4px, transparent 5px);
  opacity: 0.8;
  pointer-events: none;
}

.services-container {
  position: relative;
  z-index: 2;
  width: min(100%, 1450px);
  margin: 0 auto;
}

.services-title {
  margin-bottom: 58px;
  color: #0715a8;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.services-carousel {
  --services-gap: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 1.5vw, 18px);
  align-items: center;
}

.services-card-grid {
  display: flex;
  gap: var(--services-gap);
  min-width: 0;
  overflow-x: auto;
  padding: 4px 4px 34px;
  cursor: grab;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.services-card-grid::-webkit-scrollbar {
  display: none;
}

.services-card-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.services-card-grid.is-nudging-next .service-card,
.services-card-grid.is-nudging-prev .service-card {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.services-card-grid.is-nudging-next .service-card {
  animation-name: serviceNudgeNext;
}

.services-card-grid.is-nudging-prev .service-card {
  animation-name: serviceNudgePrev;
}

.service-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--services-gap) * 2)) / 3);
  min-height: 555px;
  padding: 20px 20px 32px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 36px;
  background: rgba(221, 249, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -28px 60px rgba(255, 255, 255, 0.18),
    0 20px 50px rgba(22, 106, 180, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.service-card.is-service-active {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -28px 60px rgba(255, 255, 255, 0.2),
    0 28px 58px rgba(18, 99, 255, 0.18);
  transform: translateY(-6px);
}

.service-photo {
  width: 100%;
  aspect-ratio: 1.28;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  background-color: rgba(225, 250, 255, 0.58);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(18, 99, 255, 0.08));
  background-repeat: no-repeat;
  background-size: 530% auto;
  box-shadow:
    inset 0 -25px 38px rgba(9, 38, 70, 0.12),
    0 8px 15px rgba(4, 70, 132, 0.14);
}

.services-showcase.is-lazy-ready .service-photo:not(.service-photo-montaje):not(.service-photo-ingenieria):not(.service-photo-suministros):not(.service-photo-datacenter):not(.service-photo-logistica) {
  background-image: url("Imagenes/Diseno/servicios-optimizado.jpg");
}

.service-photo-montaje {
  background-image: url("Imagenes/montaje.jpeg");
  background-position: 54% center;
  background-size: cover;
}

.service-photo-ingenieria {
  background-image: url("Imagenes/ingenieria.jpeg");
  background-position: 48% 62%;
  background-size: cover;
}

.service-photo-suministros {
  background-image: url("Imagenes/servicios.jpeg");
  background-position: 46% center;
  background-size: cover;
}

.service-photo-datacenter {
  background-image: url("Imagenes/granjasolar.jpeg");
  background-position: 38% center;
  background-size: cover;
}

.service-photo-logistica {
  background-image: url("Imagenes/logistica.jpeg");
  background-position: 25% center;
  background-size: cover;
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  margin: -32px 0 18px 0;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(225, 250, 255, 0.72);
  box-shadow:
    inset 0 1px 8px rgba(255, 255, 255, 0.85),
    0 8px 22px rgba(18, 99, 255, 0.14);
}

.service-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #1328e6;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 14px;
  color: #0715a8;
  font-size: clamp(1.35rem, 1.6vw, 1.7rem);
  font-weight: 900;
  line-height: 1.15;
}

.service-card p,
.service-card li {
  color: #17365b;
  font-size: clamp(0.98rem, 1vw, 1.12rem);
  font-weight: 500;
  line-height: 1.48;
}

.service-card ul {
  margin: 0;
  padding-left: 21px;
}

.service-card li {
  padding-left: 4px;
  margin-bottom: 7px;
}

.service-card li::marker {
  color: #0715a8;
  font-size: 1em;
}

.services-arrow {
  position: relative;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: #0715a8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(221, 249, 255, 0.74)),
    rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 36px rgba(18, 99, 255, 0.16);
  cursor: pointer;
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.services-arrow.is-disabled,
.services-arrow:disabled {
  opacity: 0.34;
  cursor: default;
  transform: none;
}

@keyframes serviceNudgeNext {
  0% {
    transform: translateX(0);
  }

  45% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes serviceNudgePrev {
  0% {
    transform: translateX(0);
  }

  45% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(0);
  }
}

/* About showcase */
.about-showcase {
  position: relative;
  min-height: 100vh;
  padding: 118px 5vw 92px;
  overflow: hidden;
  font-family: var(--font-heading);
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 44%, rgba(244, 248, 251, 0.96) 56%, rgba(233, 239, 235, 0.7) 100%),
    radial-gradient(circle at 92% 86%, rgba(204, 214, 200, 0.28), transparent 34%),
    radial-gradient(circle at 4% 12%, rgba(67, 216, 232, 0.15), transparent 26%);
  border-top: 1px solid rgba(18, 99, 255, 0.06);
}

.about-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 4% 8%, rgba(255, 255, 255, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 7% 18%, rgba(255, 255, 255, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 2% 28%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px),
    linear-gradient(128deg, transparent 0 5%, rgba(18, 99, 255, 0.13) 5.1%, transparent 5.5% 8%, rgba(67, 216, 232, 0.12) 8.1%, transparent 8.6%),
    linear-gradient(34deg, transparent 0 1%, rgba(18, 99, 255, 0.1) 1.1%, transparent 1.4% 6%, rgba(67, 216, 232, 0.1) 6.1%, transparent 6.6%);
  opacity: 0.7;
  pointer-events: none;
}

.about-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(244, 249, 252, 0.34) 52%, rgba(232, 240, 244, 0.2));
  pointer-events: none;
}

.about-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 0% 0%, rgba(67, 216, 232, 0.18), transparent 24%),
    linear-gradient(116deg, transparent 0 3%, rgba(255, 255, 255, 0.7) 3.1%, transparent 3.3% 7%, rgba(18, 99, 255, 0.1) 7.2%, transparent 7.5%);
  pointer-events: none;
}

.about-container {
  position: relative;
  z-index: 2;
  width: min(100%, 1450px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.about-content {
  max-width: 660px;
}

.about-kicker {
  display: block;
  margin-bottom: 18px;
  color: #1263ff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.36em;
  line-height: 1;
}

.about-title {
  margin-bottom: 24px;
  color: #06245c;
  font-size: clamp(3.2rem, 6vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.about-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: #061b4d;
  font-size: clamp(1.35rem, 2vw, 1.78rem);
  font-weight: 800;
  line-height: 1.38;
}

.about-body {
  max-width: 650px;
  margin-bottom: 30px;
  color: #1d3158;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 500;
  line-height: 1.72;
}

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

.about-stat-card {
  min-height: 205px;
  padding: 28px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(220, 233, 250, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 45px rgba(18, 99, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-stat-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 1px 8px rgba(255, 255, 255, 0.85),
    0 12px 24px rgba(18, 99, 255, 0.1);
}

.about-stat-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #1263ff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-stat-card strong {
  color: #1263ff;
  font-size: clamp(2.4rem, 3.2vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.about-stat-card span {
  margin-top: 14px;
  color: #5f6980;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.about-stat-card i {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: auto;
  background: #1263ff;
  border-radius: 999px;
}

.about-visual {
  min-width: 0;
}

.about-image-frame {
  position: relative;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 26px 58px rgba(31, 61, 91, 0.14);
}

.about-image-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.42) 100%);
  pointer-events: none;
}

.about-image-frame img {
  display: block;
  width: 100%;
  height: clamp(500px, 45vw, 640px);
  object-fit: cover;
  object-position: 52% center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  box-shadow: inset 0 -40px 80px rgba(255, 255, 255, 0.16);
}

/* Columns layout for About and Contact */
.columns-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.column-text {
  display: flex;
  flex-direction: column;
}

.section-lead {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand-navy);
  margin-bottom: 24px;
}

.section-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 36px;
}

/* Statistics row */
.stats-row {
  display: flex;
  gap: 24px;
}

.stat-item {
  flex: 1;
  padding: 22px;
  background: rgba(18, 99, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(18, 99, 255, 0.01);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-blue);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
}

/* Column visual glass wrappers */
.column-visual {
  display: flex;
  justify-content: center;
}

.visual-wrapper-glass {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 50px rgba(18, 99, 255, 0.06);
  background: var(--bg-card);
  padding: 10px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.visual-wrapper-glass img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-wrapper-glass:hover img {
  transform: scale(1.02);
}

/* Partners grid */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.partner-card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(18, 99, 255, 0.02);
}

.partner-card-glass:hover {
  border-color: rgba(18, 99, 255, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(18, 99, 255, 0.05);
}

.partner-card-glass img {
  max-width: 100%;
  height: auto;
  opacity: 0.82;
  filter: brightness(0.98);
  transition: opacity 0.3s ease;
}

.partner-card-glass:hover img {
  opacity: 1;
}

/* Trust / clients and partners showcase */
.trust-showcase {
  position: relative;
  min-height: 100vh;
  padding: 122px 4vw 86px;
  overflow: hidden;
  font-family: var(--font-heading);
  background:
    linear-gradient(180deg, rgba(232, 250, 255, 0.9) 0%, rgba(236, 250, 255, 0.78) 44%, rgba(220, 245, 255, 0.92) 100%);
  border-top: 1px solid rgba(18, 99, 255, 0.06);
}

.trust-showcase.is-lazy-ready {
  background:
    linear-gradient(180deg, rgba(232, 250, 255, 0.9) 0%, rgba(236, 250, 255, 0.78) 44%, rgba(220, 245, 255, 0.92) 100%),
    url("Imagenes/fondo-estatico-optimizado.jpg") center / cover no-repeat;
}

.trust-showcase::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: 0;
  background:
    radial-gradient(circle at 6% 12%, rgba(255, 255, 255, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 18% 24%, rgba(18, 99, 255, 0.28) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.88) 0 4px, transparent 5px),
    radial-gradient(circle at 94% 32%, rgba(18, 99, 255, 0.22) 0 3px, transparent 4px),
    linear-gradient(31deg, transparent 0 8%, rgba(18, 99, 255, 0.13) 8.1%, transparent 8.5% 19%, rgba(67, 216, 232, 0.12) 19.1%, transparent 19.6%),
    linear-gradient(146deg, transparent 0 74%, rgba(18, 99, 255, 0.12) 74.2%, transparent 74.7% 88%, rgba(67, 216, 232, 0.11) 88.2%, transparent 88.8%);
  opacity: 0.7;
  pointer-events: none;
}

.trust-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.62) 52%, rgba(211, 238, 248, 0.86) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 22% 78%, rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.trust-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 3% 88%, rgba(67, 216, 232, 0.4) 0 4px, transparent 5px),
    radial-gradient(circle at 98% 87%, rgba(255, 255, 255, 0.92) 0 4px, transparent 5px),
    linear-gradient(117deg, transparent 0 4%, rgba(18, 99, 255, 0.13) 4.1%, transparent 4.6%),
    linear-gradient(24deg, transparent 0 89%, rgba(18, 99, 255, 0.13) 89.1%, transparent 89.6%);
  opacity: 0.86;
  pointer-events: none;
}

.trust-container {
  position: relative;
  z-index: 2;
  width: min(100%, 1480px);
  margin: 0 auto;
}

.trust-header {
  text-align: center;
  margin-bottom: 70px;
}

.trust-kicker {
  display: block;
  margin-bottom: 24px;
  color: #1263ff;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.36em;
}

.trust-title {
  margin: 0;
  color: #06245c;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.trust-panel-heading svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-carousel-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.trust-carousel-layout::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(18, 99, 255, 0.3), transparent);
}

.trust-carousel-layout::after {
  content: "";
  position: absolute;
  top: calc(50% + 18px);
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(233, 249, 255, 0.68));
  box-shadow: 0 12px 28px rgba(18, 99, 255, 0.12);
}

.trust-panel {
  min-width: 0;
}

.trust-panel-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.trust-panel-heading h3 {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #1263ff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.32em;
}

.trust-panel-partners .trust-panel-heading h3 {
  color: #5227dc;
}

.trust-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 99, 255, 0.45));
}

.trust-panel-heading .trust-rule:last-child {
  background: linear-gradient(90deg, rgba(18, 99, 255, 0.45), transparent);
}

.trust-panel-partners .trust-rule {
  background: linear-gradient(90deg, transparent, rgba(82, 39, 220, 0.46));
}

.trust-panel-partners .trust-rule:last-child {
  background: linear-gradient(90deg, rgba(82, 39, 220, 0.46), transparent);
}

.trust-carousel-shell {
  position: relative;
}

.trust-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 190px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  padding: 0 8px 8px;
}

.trust-carousel::-webkit-scrollbar {
  display: none;
}

.trust-carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.trust-carousel.is-dragging .trust-logo-card {
  transform: scale(0.985);
}

.trust-carousel.is-nudging-next .trust-logo-card,
.trust-carousel.is-nudging-prev .trust-logo-card {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-carousel.is-nudging-next .trust-logo-card {
  animation-name: carouselNudgeNext;
}

.trust-carousel.is-nudging-prev .trust-logo-card {
  animation-name: carouselNudgePrev;
}

.trust-carousel-single {
  justify-content: center;
}

.trust-logo-card {
  min-height: 255px;
  padding: 28px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(240, 251, 255, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -22px 42px rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(18, 99, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.trust-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -22px 42px rgba(255, 255, 255, 0.18),
    0 24px 46px rgba(18, 99, 255, 0.16);
}

.trust-panel-partners .trust-logo-card {
  background: rgba(245, 243, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -22px 42px rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(82, 39, 220, 0.1);
}

.trust-logo-card img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  filter: saturate(0.98) contrast(1.02);
}

.trust-logo-card strong {
  margin-top: 26px;
  color: #06245c;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.trust-logo-card strong::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #1263ff;
}

.trust-panel-partners .trust-logo-card strong::after {
  background: #5227dc;
}

.trust-logo-card-featured img {
  max-width: 135px;
}

.trust-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  color: #1263ff;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 0.8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(18, 99, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 34px rgba(18, 99, 255, 0.18);
}

.trust-arrow.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

.trust-arrow-prev {
  left: -18px;
}

.trust-arrow-next {
  right: -18px;
}

.trust-panel-partners .trust-arrow {
  color: #5227dc;
}

@keyframes carouselNudgeNext {
  0% {
    transform: translateX(0);
  }
  38% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes carouselNudgePrev {
  0% {
    transform: translateX(0);
  }
  38% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Contact detailed items */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(18, 99, 255, 0.01);
  border: 1px solid var(--border-light);
  border-radius: 18px;
}

.method-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(18, 99, 255, 0.08);
  border: 1px solid rgba(18, 99, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-blue);
}

.contact-method-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-light);
}

.contact-method-card p,
.contact-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.contact-link:hover {
  color: var(--brand-blue);
}

.contact-actions {
  display: flex;
}

.btn-premium-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0c4fcb 100%);
  color: var(--bg-white);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(18, 99, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(18, 99, 255, 0.35);
  background: var(--brand-blue);
}

/* Contact showcase */
.contact-showcase {
  position: relative;
  padding: 104px 4vw 94px;
  overflow: hidden;
  font-family: var(--font-heading);
  background:
    radial-gradient(circle at 82% 18%, rgba(18, 99, 255, 0.08), transparent 28%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 48%, rgba(244, 248, 252, 0.92) 100%);
  border-top: 1px solid rgba(18, 99, 255, 0.06);
}

.contact-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 6% 12%, rgba(67, 216, 232, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(236, 243, 249, 0.24));
  pointer-events: none;
}

.contact-container {
  position: relative;
  z-index: 1;
  width: min(100%, 1480px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(500px, 0.98fr) minmax(470px, 0.9fr);
  gap: clamp(60px, 7vw, 104px);
  align-items: center;
}

.contact-visual-frame {
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 24px 56px rgba(13, 40, 68, 0.08);
}

.contact-visual-frame img {
  display: block;
  width: 100%;
  height: clamp(520px, 45vw, 680px);
  object-fit: cover;
  object-position: 48% center;
  border-radius: 26px;
}

.contact-content {
  max-width: 680px;
}

.contact-kicker {
  display: block;
  margin-bottom: 18px;
  color: #1263ff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.contact-title {
  margin-bottom: 26px;
  color: #06245c;
  font-size: clamp(3.4rem, 6.2vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.contact-lead {
  margin-bottom: 44px;
  color: #06245c;
  font-size: clamp(1.35rem, 2vw, 1.78rem);
  font-weight: 600;
  line-height: 1.7;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 42px;
}

.contact-info-card {
  min-height: 124px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(204, 221, 244, 0.84);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 18px 44px rgba(18, 99, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-info-icon {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 99, 255, 0.14);
  border-radius: 50%;
  background: rgba(18, 99, 255, 0.08);
  color: #1263ff;
  box-shadow:
    inset 0 1px 9px rgba(255, 255, 255, 0.78),
    0 12px 28px rgba(18, 99, 255, 0.08);
}

.contact-info-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-card h3 {
  margin-bottom: 8px;
  color: #7a8398;
  font-size: 1.28rem;
  font-weight: 800;
}

.contact-info-card p,
.contact-info-link {
  color: #06245c;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
}

.contact-info-link:hover {
  color: #1263ff;
}

.contact-glass-button {
  position: relative;
  isolation: isolate;
  width: min(100%, 390px);
  min-height: 76px;
  padding: 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18, 99, 255, 0.92), rgba(8, 84, 224, 0.96));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 18px 38px rgba(18, 99, 255, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.32s ease,
    background 0.32s ease,
    color 0.32s ease;
}

.contact-glass-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(255, 255, 255, 0.42) 38%, transparent 54%),
    rgba(255, 255, 255, 0.06);
  transform: translateX(-120%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-glass-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(0, 116, 255, 0.98), rgba(14, 99, 255, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 24px 52px rgba(18, 99, 255, 0.38),
    0 0 0 6px rgba(18, 99, 255, 0.08);
}

.contact-glass-button:hover::before {
  transform: translateX(120%);
}

/* Final section edge blending overrides */
.services-showcase,
.about-showcase,
.trust-showcase,
.contact-showcase {
  border-top-color: transparent;
}

.services-showcase,
.trust-showcase {
  box-shadow:
    inset 0 88px 92px rgba(255, 255, 255, 0.26),
    inset 0 -72px 88px rgba(205, 238, 249, 0.22);
}

.about-showcase,
.contact-showcase {
  box-shadow:
    inset 0 82px 90px rgba(255, 255, 255, 0.42),
    inset 0 -64px 82px rgba(232, 240, 244, 0.24);
}

/* Shared typography normalization across sections */
.section-kicker,
.about-kicker,
.trust-kicker,
.contact-kicker {
  font-family: var(--font-heading);
  font-size: var(--type-section-kicker);
  font-weight: 900;
  line-height: 1.15;
}

.section-title,
.services-title,
.about-title,
.trust-title,
.contact-title {
  font-family: var(--font-heading);
  font-size: var(--type-section-title);
  font-weight: 900;
  line-height: 0.98;
}

.glass-card h3,
.service-card h3,
.trust-panel-heading h3,
.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: var(--type-section-subtitle);
  font-weight: 900;
  line-height: 1.22;
}

.section-lead,
.section-body,
.glass-card p,
.service-card p,
.service-card li,
.about-lead,
.about-body,
.contact-lead,
.contact-info-card p,
.contact-info-link {
  font-family: var(--font-heading);
  font-size: var(--type-section-copy);
  line-height: 1.62;
}

.trust-logo-card strong,
.about-stat-card span,
.contact-glass-button {
  font-family: var(--font-heading);
  font-size: var(--type-section-meta);
}

/* ==========================================================================
   5. SITE FOOTER
   ========================================================================== */
.site-footer {
  padding: 48px 24px;
  background-color: var(--bg-light);
  border-top: 1px solid rgba(18, 99, 255, 0.08);
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   6. ENTRANCE FADE-IN ANIMATION SYSTEM
   ========================================================================== */
.fade-in-element {
  opacity: 0;
  transform: translateY(24px);
  transition: 
    opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header capsule adjustment for translate offset */
.site-header-centered.fade-in-element {
  transform: translate(-50%, -10px);
}

.site-header-centered.fade-in-element.is-visible {
  transform: translate(-50%, 0);
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  main > section:not(:first-child) {
    margin-top: -28px;
    border-top-left-radius: clamp(26px, 6vw, 54px);
    border-top-right-radius: clamp(26px, 6vw, 54px);
  }

  .site-header-centered {
    width: calc(100% - 32px);
  }

  .header-capsules {
    justify-content: center;
  }

  .capsule-btn {
    padding: 0 16px;
  }

  .services-showcase {
    padding: 120px 24px 92px;
  }

  .service-card {
    flex-basis: calc((100% - var(--services-gap)) / 2);
    min-height: 515px;
  }

  .about-showcase {
    padding: 104px 24px 88px;
    background:
      linear-gradient(180deg, #ffffff 0%, #ffffff 42%, rgba(234, 241, 244, 0.78) 100%),
      radial-gradient(circle at 80% 90%, rgba(204, 214, 200, 0.24), transparent 34%);
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-content {
    max-width: 760px;
  }

  .about-image-frame img {
    height: clamp(420px, 64vw, 600px);
  }

  .trust-showcase {
    padding: 108px 24px 82px;
  }

  .trust-carousel-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .trust-carousel-layout::before,
  .trust-carousel-layout::after {
    display: none;
  }

  .trust-carousel {
    grid-auto-columns: minmax(160px, 200px);
  }

  .contact-showcase {
    padding: 92px 24px 84px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-visual-frame img {
    height: clamp(420px, 58vw, 560px);
  }

  .contact-content {
    max-width: 760px;
  }

  .columns-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .column-visual {
    order: 2;
  }
  
  #logo-container {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  :root {
    --type-section-kicker: 0.78rem;
    --type-section-title: clamp(2.8rem, 13vw, 4.25rem);
    --type-section-subtitle: clamp(1.12rem, 4vw, 1.32rem);
    --type-section-copy: 1rem;
    --type-section-meta: 0.9rem;
  }

  main > section:not(:first-child) {
    margin-top: -22px;
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
  }

  .services-showcase,
  .trust-showcase,
  .about-showcase,
  .contact-showcase {
    box-shadow:
      inset 0 58px 64px rgba(255, 255, 255, 0.28),
      inset 0 -42px 58px rgba(218, 238, 246, 0.18);
  }

  body {
    font-size: 15px;
  }
  
  .site-header-centered {
    top: 20px;
  }
  
  .capsule-btn {
    height: 40px;
    padding: 0 12px;
    font-size: 0.68rem;
  }

  .services-showcase {
    min-height: auto;
    padding: 106px 16px 78px;
  }

  .services-title {
    margin-bottom: 36px;
  }

  .services-carousel {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .services-card-grid {
    grid-column: 1 / -1;
    grid-row: 1;
    gap: 22px;
    max-width: 430px;
    margin: 0 auto;
    padding-bottom: 22px;
  }

  .services-arrow-prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  .services-arrow-next {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .service-card {
    flex-basis: 100%;
    min-height: auto;
    padding: 18px 18px 28px;
    border-radius: 28px;
  }

  .about-showcase {
    min-height: auto;
    padding: 88px 16px 72px;
  }

  .about-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.26em;
  }

  .about-title {
    font-size: var(--type-section-title);
  }

  .about-lead {
    font-size: var(--type-section-copy);
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
  }

  .about-stat-card {
    min-height: 172px;
  }

  .about-image-frame {
    padding: 10px;
    border-radius: 28px;
  }

  .about-image-frame::after {
    inset: 10px;
    border-radius: 20px;
  }

  .about-image-frame img {
    height: clamp(360px, 86vw, 520px);
    border-radius: 20px;
  }

  .trust-showcase {
    min-height: auto;
    padding: 92px 16px 70px;
  }

  .trust-header {
    margin-bottom: 40px;
  }

  .trust-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.24em;
  }

  .trust-title {
    font-size: var(--type-section-title);
  }

  .trust-panel-heading {
    gap: 12px;
  }

  .trust-panel-heading h3 {
    font-size: var(--type-section-subtitle);
    letter-spacing: 0.24em;
  }

  .trust-carousel {
    grid-auto-columns: minmax(145px, 174px);
    gap: 14px;
    padding-inline: 0;
  }

  .trust-logo-card {
    min-height: 220px;
    padding: 24px 14px 20px;
  }

  .trust-logo-card img {
    height: 78px;
  }

  .trust-logo-card strong {
    font-size: var(--type-section-meta);
  }

  .trust-arrow {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }

  .trust-arrow-prev {
    left: -8px;
  }

  .trust-arrow-next {
    right: -8px;
  }

  .contact-showcase {
    padding: 78px 16px 70px;
  }

  .contact-visual-frame {
    padding: 8px;
    border-radius: 26px;
  }

  .contact-visual-frame img {
    height: clamp(320px, 72vw, 460px);
    border-radius: 20px;
  }

  .contact-kicker {
    font-size: 0.82rem;
  }

  .contact-title {
    font-size: var(--type-section-title);
  }

  .contact-lead {
    margin-bottom: 32px;
    font-size: var(--type-section-copy);
    line-height: 1.55;
  }

  .contact-info-list {
    gap: 18px;
    margin-bottom: 30px;
  }

  .contact-info-card {
    min-height: auto;
    padding: 22px;
    gap: 18px;
  }

  .contact-info-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .contact-info-icon svg {
    width: 28px;
    height: 28px;
  }

  .contact-info-card h3 {
    font-size: var(--type-section-subtitle);
  }

  .contact-info-card p,
  .contact-info-link {
    font-size: var(--type-section-copy);
  }

  .contact-glass-button {
    width: 100%;
    min-height: 64px;
  }
  
  .premium-section {
    padding: 80px 16px;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-row {
    flex-direction: column;
    gap: 16px;
  }
  
  #logo-container {
    max-width: 320px;
  }
}

@media (max-width: 520px) {
  :root {
    --type-section-title: clamp(2.55rem, 12vw, 3.75rem);
    --type-section-subtitle: 1.12rem;
    --type-section-copy: 0.96rem;
  }

  main > section:not(:first-child) {
    margin-top: -16px;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
  }

  .site-header-centered {
    width: 92%;
  }

  .header-capsules {
    width: 100%;
    gap: 4px;
    padding: 4px;
    justify-content: space-around;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .capsule-btn {
    flex: 0 0 auto;
    padding: 0 9px;
    height: 36px;
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }

  .header-capsules::-webkit-scrollbar {
    display: none;
  }

  .services-showcase {
    padding-top: 96px;
  }

  .service-icon {
    width: 62px;
    height: 62px;
  }

  .service-icon svg {
    width: 36px;
    height: 36px;
  }

  .about-body {
    font-size: var(--type-section-copy);
  }

  .about-stat-card {
    padding: 24px 18px 20px;
  }

  .trust-panel-heading svg {
    width: 21px;
    height: 21px;
  }

  .trust-carousel {
    grid-auto-columns: minmax(136px, 76vw);
  }

  .trust-logo-card {
    min-height: 205px;
  }
  
  #logo-container {
    max-width: 260px;
  }
  
  .visual-wrapper-glass {
    padding: 6px;
    border-radius: 20px;
  }
  
  .visual-wrapper-glass img {
    border-radius: 14px;
  }
}
