
:root {
  --navy: #071B25;
  --petroleum: #102D3A;
  --cyan: #00D7DF;
  --mineral: #DCECEB;
  --white: #F7F9FA;
  --muted: #9BB0BA;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--cyan);
  color: var(--navy);
}

.skip-link:focus {
  top: 12px;
}

/* HEADER */

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.header-inner {
  max-width: 1600px;
  margin: auto;
  min-height: 104px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: min(240px, 35vw);
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 42px);
}

.main-nav > a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  transition: color .2s ease;
}

.main-nav > a:hover {
  color: white;
}

.main-nav .nav-contact {
  padding: 13px 23px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px;
  color: white;
}

.menu-toggle {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  min-height: max(760px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 48%,
      rgba(0,215,223,.13),
      transparent 42%),
    linear-gradient(120deg, #071B25 18%, #102D3A 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(780px, 60%);
  padding: 170px 0 130px 6%;
}

.hero-eyebrow {
  margin: 0 0 35px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .035em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 6.1vw, 112px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.075em;
}

.hero-description {
  max-width: 470px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.button-primary {
  background: var(--cyan);
  color: var(--navy);
}

.button-primary:hover {
  background: white;
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid rgba(255,255,255,.3);
}

.button-secondary:hover {
  background: rgba(255,255,255,.1);
}

/* VISUAL TECNOLÓGICO PROVISIONAL */

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 12%;
  right: -6%;
  width: 65%;
  height: 80%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,215,223,.16),
    rgba(0,215,223,.03) 43%,
    transparent 68%);
  filter: blur(30px);
}

.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0,215,223,.12);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-28deg);
}

.hero-orbit-one {
  width: 75%;
  aspect-ratio: 1;
}

.hero-orbit-two {
  width: 105%;
  aspect-ratio: 1;
  border-color: rgba(255,255,255,.07);
}

.hero-visual-label {
  position: absolute;
  right: 16%;
  bottom: 15%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.65);
  font-size: 11px;
  letter-spacing: .03em;
}

.visual-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px rgba(0,215,223,.7);
}

.hero-bottom {
  position: absolute;
  z-index: 5;
  left: 6%;
  right: 6%;
  bottom: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.43);
  font-size: 11px;
}

/* SECCIONES INICIALES */

.intro,
.content-placeholder {
  padding: 110px 6%;
}

.intro {
  background: var(--white);
  color: var(--navy);
}

.section-kicker {
  color: #087E8B;
  font-size: 13px;
  font-weight: 700;
}

.intro h2,
.content-placeholder h2 {
  max-width: 850px;
  font-size: clamp(32px, 4vw, 66px);
  line-height: 1.15;
  letter-spacing: -.055em;
}

.intro > p:last-child,
.content-placeholder p {
  max-width: 580px;
  line-height: 1.8;
}

.content-placeholder {
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .header-inner {
    min-height: 80px;
  }

  .brand img {
    width: 190px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 25px 6% 35px;
    background: #071B25;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    width: 100%;
    padding: 180px 6% 160px;
  }

  .hero h1 {
    font-size: clamp(46px, 9vw, 78px);
  }

  .hero-visual {
    width: 100%;
    right: -40%;
    opacity: .55;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 145px;
  }

  .hero h1 {
    font-size: clamp(43px, 10vw, 60px);
    letter-spacing: -.065em;
  }

  .hero-description {
    font-size: 15px;
  }

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

  .hero-bottom {
    flex-direction: column;
    gap: 7px;
    bottom: 25px;
  }

  .hero-visual-label {
    display: none;
  }

  .intro,
  .content-placeholder {
    padding: 75px 6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* PRORTHOPEDICS — Imagen principal del hero */

.hero-visual {
  background-image: url("assets/hero-protesis.webp");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}

.hero-glow,
.hero-orbit {
  display: none;
}

.hero-visual-label {
  display: none;
}

/* Integración de imagen y texto */

.hero-content {
  z-index: 5;
}

@media (max-width: 900px) {
  .hero-visual {
    right: -30%;
    width: 110%;
    opacity: 0.5;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    top: 20%;
    right: -50%;
    width: 150%;
    height: 65%;
    opacity: 0.35;
  }
}

/* HERO — Composición cinematográfica */

.hero {
  background: #061b26;
}

.hero-content {
  width: 58%;
  max-width: 900px;
  position: relative;
  z-index: 5;
}

.hero h1 {
  font-size: clamp(56px, 6vw, 104px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.hero-visual {
  top: 0;
  right: 0;
  width: 67%;
  height: 100%;
  background-image:
    linear-gradient(
      90deg,
      #061b26 0%,
      rgba(6, 27, 38, 0.85) 12%,
      rgba(6, 27, 38, 0) 48%
    ),
    url("assets/hero-protesis.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .hero-content {
    width: 100%;
  }

  .hero-visual {
    right: 0;
    width: 100%;
    opacity: 0.45;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
  }
}
/* Logotipo PRORTHOPEDICS */

.brand {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}


/* PRORTHOPEDICS — Tamaño del logotipo */

.brand img {
  width: 300px;
  max-width: none;
  max-height: 90px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .brand img {
    width: 230px;
    max-height: 75px;
  }
}

@media (max-width: 600px) {
  .brand img {
    width: 190px;
    max-height: 65px;
  }
}

/* HERO MÓVIL — Ajuste independiente */
@media (max-width: 600px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: 145px 6% 25px;
  }

  .hero h1 {
    font-size: clamp(42px, 10vw, 56px);
    line-height: 1.05;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 390px;
    opacity: 1;
    background-image:
      linear-gradient(
        180deg,
        #061b26 0%,
        rgba(6,27,38,0) 28%,
        rgba(6,27,38,0) 82%,
        #061b26 100%
      ),
      url("assets/hero-protesis.webp");
    background-size: cover;
    background-position: 76% 65%;
  }

  .hero-bottom {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 88%;
    margin: 0 auto 25px;
  }
}

/* PRORTHOPEDICS — Imagen móvil sin recortes */
@media (max-width: 600px) {
  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    opacity: 1;

    background-image:
      linear-gradient(
        180deg,
        #061b26 0%,
        transparent 22%,
        transparent 82%,
        #061b26 100%
      ),
      url("assets/hero-protesis.webp");

    background-size: 100% 100%, contain;
    background-position: center, center;
    background-repeat: no-repeat;
  }
}

/* HERO MÓVIL — Imagen de fondo desde arriba */
@media (max-width: 600px) {
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 820px;
    background:
  linear-gradient(
    180deg,
    rgba(6, 27, 38, .65) 0%,
    rgba(6, 27, 38, .85) 35%,
    rgba(6, 27, 38, .35) 75%,
    rgba(6, 27, 38, .15) 100%
  ),
  linear-gradient(
    90deg,
    rgba(6, 27, 38, .98) 0%,
    rgba(6, 27, 38, .85) 50%,
    rgba(6, 27, 38, .35) 100%
  ),
  url("assets/hero-protesis.webp") 68% center / cover no-repeat;


  }

  .hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 145px 6% 50px;
  }

  .hero-visual {
    display: none;
  }

  .hero-bottom {
    position: relative;
    z-index: 5;
    margin-top: auto;
    padding-bottom: 25px;
  }
}


/* =========================================
   PRORTHOPEDICS — NUESTRAS SOLUCIONES
   ========================================= */

.solutions {
  position: relative;
  overflow: hidden;
  padding: 110px 6% 130px;
  background: #e9f0ef;
  color: #071b25;
}

.solutions-heading {
  max-width: 1500px;
  margin: 0 auto 75px;
}

.solutions-heading-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(7,27,37,.2);
}

.solutions-index,
.solutions-caption {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.solutions-index {
  color: #087e8b;
}

.solutions-caption {
  color: #647d86;
}

.solutions-heading h2 {
  margin: 65px 0 25px;
  font-size: clamp(60px, 8vw, 145px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.085em;
}

.solutions-heading h2 span {
  color: #078c97;
}

.solutions-heading > p {
  max-width: 560px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
  color: #526b75;
}

/* PANELES */

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
}

.solution-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 660px;
  overflow: hidden;
  padding: 38px;
  background: #09232f;
  color: white;
  transition: transform .45s ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 28%,
      rgba(0,215,223,.22),
      transparent 45%
    ),
    linear-gradient(
      155deg,
      #123846 0%,
      #061b26 85%
    );
}

.solution-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(
      rgba(255,255,255,.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.035) 1px,
      transparent 1px
    );
  background-size: 45px 45px;
}

.solution-card:hover {
  transform: translateY(-8px);
}

.solution-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  color: rgba(255,255,255,.65);
}

.solution-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  font-size: 22px;
  color: #00d7df;
  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease;
}

.solution-card:hover .solution-symbol {
  background: #00d7df;
  color: #071b25;
  transform: rotate(45deg);
}

.solution-card-content {
  position: relative;
  z-index: 2;
}

.solution-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: #00d7df;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.solution-card h3 {
  margin: 0 0 22px;
  font-size: clamp(48px, 5vw, 85px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: 1;
}

.solution-card h3 span {
  color: #00d7df;
}

.solution-card-content > p {
  max-width: 390px;
  margin: 0 0 35px;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.8;
}

.solution-card-content > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,215,223,.5);
  color: white;
  font-size: 13px;
  font-weight: 800;
  transition: gap .3s ease;
}

.solution-card-content > a:hover {
  gap: 30px;
}

.solution-card-content > a span {
  color: #00d7df;
  font-size: 19px;
}

/* VARIACIÓN VISUAL */

.solution-ortesis::before {
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(0,215,223,.18),
      transparent 48%
    ),
    linear-gradient(
      145deg,
      #071b25 0%,
      #174554 100%
    );
}

/* TABLETAS */

@media (max-width: 900px) {
  .solutions {
    padding: 85px 6%;
  }

  .solutions-heading h2 {
    font-size: clamp(56px, 9vw, 100px);
  }

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

  .solution-card {
    min-height: 540px;
  }
}

/* CELULARES */

@media (max-width: 600px) {
  .solutions {
    padding: 75px 5% 90px;
  }

  .solutions-heading {
    margin-bottom: 45px;
  }

  .solutions-caption {
    display: none;
  }

  .solutions-heading h2 {
    margin-top: 45px;
    font-size: clamp(49px, 12vw, 70px);
  }

  .solutions-heading > p {
    font-size: 15px;
  }

  .solutions-grid {
    gap: 14px;
  }

  .solution-card {
    min-height: 500px;
    padding: 25px;
  }

  .solution-card h3 {
    font-size: clamp(48px, 13vw, 70px);
  }

  .solution-card-content > p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-card,
  .solution-symbol,
  .solution-card-content > a {
    transition: none;
  }
}

/* =========================================
   PRORTHOPEDICS — IMAGEN PRÓTESIS
   ========================================= */

.solution-protesis {
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 27, 37, 0.08) 0%,
      rgba(7, 27, 37, 0.15) 35%,
      rgba(7, 27, 37, 0.95) 100%
    ),
    url("assets/solucion-protesis.webp");

  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
}

/* Evitamos que el fondo anterior tape la imagen */

.solution-protesis::before {
  display: none;
}

/* Conservamos los textos por encima de la imagen */

.solution-protesis .solution-card-top,
.solution-protesis .solution-card-content {
  position: relative;
  z-index: 2;
}

/* Adaptación para celulares */

@media (max-width: 600px) {
  .solution-protesis {
    background-position: 62% center;
    background-image:
      linear-gradient(
        180deg,
        rgba(7, 27, 37, 0.25) 0%,
        rgba(7, 27, 37, 0.05) 35%,
        rgba(7, 27, 37, 0.98) 100%
      ),
      url("assets/solucion-protesis.webp");
  }
}

/* =========================================
   PRORTHOPEDICS — CARRUSEL CINEMATOGRÁFICO
   ========================================= */

.solutions.solutions-carousel {
  background: #0a1e2a;
  color: #f7f9fa;
  padding: 110px 0 110px 6%;
  overflow: hidden;
}

.solutions-carousel-layout {
  display: grid;
  grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  max-width: 1700px;
  margin: 0 auto;
}

.solutions-carousel-intro {
  min-width: 0;
  padding: 35px 0;
}

.solutions-carousel-intro .solutions-index {
  display: inline-block;
  margin-bottom: 35px;
  color: #00d7df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.solutions-carousel-intro h2 {
  margin: 0 0 30px;
  font-size: clamp(48px, 5vw, 85px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.075em;
}

.solutions-carousel-intro h2 span {
  display: block;
  color: #00d7df;
}

.solutions-carousel-intro > p {
  max-width: 370px;
  margin: 0;
  color: rgba(247,249,250,.65);
  font-size: 16px;
  line-height: 1.8;
}

/* CONTADOR Y FLECHAS */

.solutions-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 55px;
}

.solutions-carousel-counter {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(255,255,255,.45);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#solution-current {
  color: #00d7df;
  font-size: 30px;
}

.counter-separator {
  color: rgba(255,255,255,.25);
}

.solutions-carousel-arrows {
  display: flex;
  gap: 10px;
}

.solutions-carousel-arrows button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 25px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.solutions-carousel-arrows button:hover {
  background: #00d7df;
  color: #071b25;
}

.solutions-carousel-arrows button:focus-visible,
.solutions-carousel-viewport:focus-visible {
  outline: 3px solid #00d7df;
  outline-offset: 4px;
}

/* VENTANA Y TARJETAS */

.solutions-carousel-viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.solutions-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.solutions-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  width: max-content;
  padding: 12px 6vw 12px 0;
}

.solutions-slide {
  position: relative;
  isolation: isolate;
  flex: 0 0 clamp(260px, 28vw, 390px);
  height: clamp(410px, 43vw, 570px);
  overflow: hidden;
  border-radius: 28px;
  scroll-snap-align: start;
  background:
    radial-gradient(circle at 70% 28%, #146073 0%, transparent 48%),
    linear-gradient(145deg, #174354, #061823);
  color: #fff;
  transition: transform .35s ease;
}

.solutions-slide::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,18,26,.15) 0%,
    rgba(4,18,26,.05) 40%,
    rgba(4,18,26,.92) 100%
  );
}

.solutions-slide:hover {
  transform: translateY(-6px);
}

.slide-number {
  position: absolute;
  top: 28px;
  left: 28px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  color: rgba(255,255,255,.85);
}

.slide-content {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 32px;
  left: 28px;
}

.slide-content > span {
  display: block;
  margin-bottom: 12px;
  color: #00d7df;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.slide-content h3 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.slide-content a {
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 1px solid #00d7df;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* PRIMERA IMAGEN YA APROBADA */

.solutions-slide[data-category="protesis"] {
  background:
    linear-gradient(
      180deg,
      rgba(4,18,26,.05),
      rgba(4,18,26,.3) 55%,
      rgba(4,18,26,.9)
    ),
    url("assets/solucion-protesis.webp") 65% center / cover no-repeat;
}

/* TABLETAS */

@media (max-width: 900px) {
  .solutions.solutions-carousel {
    padding: 80px 0 80px 6%;
  }

  .solutions-carousel-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .solutions-carousel-intro {
    padding: 0 6% 0 0;
  }

  .solutions-carousel-intro h2 {
    max-width: 650px;
  }

  .solutions-carousel-controls {
    justify-content: flex-start;
    gap: 45px;
    margin-top: 30px;
  }

  .solutions-slide {
    flex-basis: 310px;
    height: 470px;
  }
}

/* CELULARES */

@media (max-width: 600px) {
  .solutions.solutions-carousel {
    padding: 70px 0 75px 5%;
  }

  .solutions-carousel-intro {
    padding-right: 5%;
  }

  .solutions-carousel-intro h2 {
    font-size: clamp(46px, 11vw, 65px);
  }

  .solutions-carousel-intro > p {
    font-size: 15px;
  }

  .solutions-carousel-track {
    gap: 14px;
    padding-right: 5vw;
  }

  .solutions-slide {
    flex-basis: min(78vw, 340px);
    height: 450px;
    border-radius: 22px;
  }

  .solutions-carousel-arrows button {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solutions-slide,
  .solutions-carousel-arrows button {
    transition: none;
  }
}

/* =========================================
   SOLUCIONES — VERSIÓN FONDO BLANCO
   ========================================= */

.solutions.solutions-carousel {
  background: #ffffff;
  color: #071b25;
}

.solutions-carousel-intro h2 {
  color: #071b25;
}

.solutions-carousel-intro h2 span {
  color: #009da8;
}

.solutions-carousel-intro > p {
  color: #617780;
}

.solutions-carousel-counter {
  color: #82939a;
}

#solution-current {
  color: #009da8;
}

.counter-separator {
  color: #b0bdc2;
}

.solutions-carousel-arrows button {
  border-color: rgba(7, 27, 37, 0.25);
  color: #071b25;
}

.solutions-carousel-arrows button:hover {
  background: #00d7df;
  border-color: #00d7df;
  color: #071b25;
}

/* =========================================
   CARRUSEL — IMAGEN DE ÓRTESIS
   ========================================= */

.solutions-slide[data-category="ortesis"] {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.08) 45%,
      rgba(4, 18, 26, 0.92) 100%
    ),
    url("assets/solucion-ortesis.webp")
      center center / cover no-repeat;
}

/* =========================================
   CARRUSEL — CUIDADO DEL CUERPO
   ========================================= */

.solutions-slide[data-category="cuidado"] {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.10) 45%,
      rgba(4, 18, 26, 0.95) 100%
    ),
    url("assets/solucion-cuidado-cuerpo.webp")
      center center / cover no-repeat;
}

/* =========================================
   CARRUSEL — MEDIAS COMPRESIVAS
   ========================================= */

.solutions-slide[data-category="medias"] {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.10) 45%,
      rgba(4, 18, 26, 0.94) 100%
    ),
    url("assets/solucion-medias-compresivas.webp")
      center center / cover no-repeat;
}

/* =========================================
   CARRUSEL — AYUDAS DE MOVILIDAD
   ========================================= */

.solutions-slide[data-category="movilidad"] {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.10) 45%,
      rgba(4, 18, 26, 0.94) 100%
    ),
    url("assets/solucion-ayudas-movilidad.webp")
      center center / cover no-repeat;
}

/* =========================================
   CARRUSEL — REHABILITACIÓN
   ========================================= */

.solutions-slide[data-category="rehabilitacion"] {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.10) 45%,
      rgba(4, 18, 26, 0.94) 100%
    ),
    url("assets/solucion-rehabilitacion.webp")
      center center / cover no-repeat;
}

/* =========================================
   CARRUSEL — TECNOLOGÍA
   ========================================= */

.solutions-slide[data-category="tecnologia"] {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.10) 45%,
      rgba(4, 18, 26, 0.94) 100%
    ),
    url("assets/solucion-tecnologia.webp")
      center center / cover no-repeat;
}

/* =========================================
   CARRUSEL — RADIOLOGÍA
   ========================================= */

.solutions-slide[data-category="radiologia"] {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.10) 45%,
      rgba(4, 18, 26, 0.94) 100%
    ),
    url("assets/solucion-radiologia.webp")
      center center / cover no-repeat;
}

/* =========================================
   CARRUSEL — PRODUCTOS
   ========================================= */

.solutions-slide[data-category="productos"] {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.10) 45%,
      rgba(4, 18, 26, 0.94) 100%
    ),
    url("assets/solucion-productos.webp")
      center center / cover no-repeat;
}

/* =========================================
   PRORTHOPEDICS — NOSOTROS
   DIRECCIÓN ARTÍSTICA: PRECISIÓN HUMANA
   ========================================= */

.about-section {
  position: relative;
  overflow: hidden;
  background: #071b25;
  color: #f7f9fa;
  padding: clamp(85px, 10vw, 160px) 6%;
}

.about-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(50px, 7vw, 120px);
  max-width: 1500px;
  margin: 0 auto;
}

/* PANEL VISUAL */

.about-visual {
  position: relative;
  min-width: 0;
  height: clamp(500px, 52vw, 740px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 65% 35%,
      rgba(0, 215, 223, 0.22),
      transparent 55%
    ),
    linear-gradient(145deg, #173f4e, #071b25);
}

.about-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.05) 0%,
      rgba(4, 18, 26, 0.08) 55%,
      rgba(4, 18, 26, 0.85) 100%
    );
  background-size: cover;
  background-position: center;
}

.about-visual-label {
  position: absolute;
  z-index: 2;
  bottom: 35px;
  left: 35px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f7f9fa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.about-label-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #00d7df;
  box-shadow: 0 0 18px rgba(0, 215, 223, 0.8);
}

.about-visual-index {
  position: absolute;
  z-index: 2;
  top: 35px;
  left: 35px;
  color: #f7f9fa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

/* CONTENIDO */

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

.about-eyebrow {
  display: inline-block;
  margin-bottom: 32px;
  color: #00d7df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.about-content h2 {
  margin: 0 0 35px;
  color: #f7f9fa;
  font-size: clamp(50px, 5.4vw, 88px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.075em;
}

.about-content h2 span {
  color: #00d7df;
}

.about-description {
  max-width: 520px;
  margin: 0;
  color: rgba(247, 249, 250, 0.68);
  font-size: 16px;
  line-height: 1.9;
}

.about-divider {
  width: 100%;
  height: 1px;
  margin: 45px 0 35px;
  background: rgba(247, 249, 250, 0.15);
}

/* DATOS DESTACADOS */

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(35px, 5vw, 85px);
}

.about-fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-fact strong {
  color: #f7f9fa;
  font-size: clamp(30px, 3vw, 45px);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.about-fact span {
  color: rgba(247, 249, 250, 0.55);
  font-size: 13px;
}

/* ENLACE */

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 50px;
  padding-bottom: 12px;
  border-bottom: 1px solid #00d7df;
  color: #f7f9fa;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
}

.about-link:hover {
  gap: 38px;
  color: #00d7df;
}

.about-link span {
  color: #00d7df;
  font-size: 22px;
}

/* TABLETAS */

@media (max-width: 1000px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .about-content h2 {
    font-size: clamp(42px, 5vw, 65px);
  }
}

/* CELULARES */

@media (max-width: 700px) {
  .about-section {
    padding: 75px 5%;
  }

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

  .about-visual {
    height: 440px;
    border-radius: 22px;
  }

  .about-content h2 {
    font-size: clamp(46px, 11vw, 65px);
  }

  .about-description {
    font-size: 15px;
  }

  .about-visual-label {
    bottom: 25px;
    left: 25px;
    font-size: 10px;
  }

  .about-visual-index {
    top: 25px;
    left: 25px;
  }

  .about-divider {
    margin: 35px 0 30px;
  }

  .about-link {
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-link {
    transition: none;
  }
}

/* =========================================
   NOSOTROS — FOTOGRAFÍA CINEMATOGRÁFICA
   ========================================= */

.about-image {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.05) 55%,
      rgba(4, 18, 26, 0.78) 100%
    ),
    url("assets/nosotros-precision.webp")
      center center / cover no-repeat;
}

/* =========================================
   PRORTHOPEDICS — NUESTRO PROCESO
   ========================================= */

.process-section {
  position: relative;
  overflow: hidden;
  background: #f7f9fa;
  color: #071b25;
  padding: clamp(80px, 10vw, 150px) 6%;
}

.process-container {
  max-width: 1500px;
  margin: 0 auto;
}

/* ENCABEZADO EDITORIAL */

.process-heading {
  margin-bottom: clamp(45px, 6vw, 85px);
}

.process-heading-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 45px;
  border-bottom: 1px solid rgba(7, 27, 37, 0.18);
}

.process-heading-top span {
  color: #008f9a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.process-heading-top span:last-child {
  color: #82949b;
}

.process-heading h2 {
  margin: 0 0 28px;
  color: #071b25;
  font-size: clamp(48px, 6.5vw, 100px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.075em;
}

.process-heading h2 span {
  color: #009da8;
}

.process-heading > p {
  max-width: 540px;
  margin: 0;
  color: #617780;
  font-size: 16px;
  line-height: 1.85;
}

/* TRES ETAPAS */

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

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 37, 0.1);
  border-radius: 22px;
  background: #ffffff;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(7, 27, 37, 0.1);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 28px;
  color: #008f9a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-step-top span:last-child {
  font-size: 22px;
  font-weight: 400;
}

/* ESPACIO PARA LAS FOTOGRAFÍAS */

.process-step-visual {
  position: relative;
  height: clamp(220px, 25vw, 350px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(0, 215, 223, 0.24),
      transparent 60%
    ),
    linear-gradient(145deg, #123d4b, #071b25);
  background-position: center;
  background-size: cover;
}

.process-step-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(4, 18, 26, 0.25)
  );
}

/* TEXTOS DE LAS ETAPAS */

.process-step-content {
  flex: 1;
  padding: 30px 28px 38px;
}

.process-step-content h3 {
  margin: 0 0 15px;
  color: #071b25;
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.process-step-content h3 span {
  color: #009da8;
}

.process-step-content p {
  max-width: 350px;
  margin: 0;
  color: #617780;
  font-size: 14px;
  line-height: 1.8;
}

/* TABLETAS */

@media (max-width: 1000px) {
  .process-steps {
    gap: 14px;
  }

  .process-step-top {
    padding: 20px;
  }

  .process-step-content {
    padding: 24px 20px 30px;
  }
}

/* CELULARES */

@media (max-width: 700px) {
  .process-section {
    padding: 75px 5%;
  }

  .process-heading-top {
    margin-bottom: 35px;
  }

  .process-heading-top span {
    font-size: 9px;
  }

  .process-heading h2 {
    font-size: clamp(42px, 10vw, 65px);
  }

  .process-heading > p {
    font-size: 15px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-step-visual {
    height: 300px;
  }

  .process-step-content h3 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step {
    transition: none;
  }

  .process-step:hover {
    transform: none;
  }
}

/* =========================================
   NUESTRO PROCESO — 01 VALORACIÓN
   ========================================= */

.process-visual-evaluation {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.08) 65%,
      rgba(4, 18, 26, 0.35) 100%
    ),
    url("assets/proceso-valoracion.webp")
      center center / cover no-repeat;
}


/* =========================================
   NUESTRO PROCESO — 02 FABRICACIÓN
   ========================================= */

.process-visual-fabrication {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.08) 65%,
      rgba(4, 18, 26, 0.35) 100%
    ),
    url("assets/proceso-fabricacion.webp")
      center center / cover no-repeat;
}

/* =========================================
   NUESTRO PROCESO — 03 ADAPTACIÓN
   ========================================= */

.process-visual-adaptation {
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.02) 0%,
      rgba(4, 18, 26, 0.08) 65%,
      rgba(4, 18, 26, 0.35) 100%
    ),
    url("assets/proceso-adaptacion.webp")
      center center / cover no-repeat;
}


/* =========================================
   NUESTRO PROCESO — ENCABEZADO DEFINITIVO
   ========================================= */

@media (min-width: 701px) {

  
.process-heading {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: clamp(18px, 2.5vw, 36px);
  align-items: center;
  margin-bottom: 38px;
}


  .process-heading-top {
    grid-column: 1 / -1;
    margin-bottom: 30px;
  }

  .process-heading h2 {
    grid-column: 1;
    margin: 0;
    font-size: clamp(42px, 4.5vw, 70px);
    line-height: 1.04;
    letter-spacing: -0.075em;
  }

  .process-heading > p {
    grid-column: 2;
    max-width: none;
    margin: 0;
    padding-left: 24px;
    border-left: 3px solid #00d7df;
    color: #263e49;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.6;
  }

}


/* NUESTRO PROCESO — COMPOSICIÓN COMPACTA */

@media (min-width: 701px) {
  .process-heading {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: clamp(20px, 3vw, 45px);
    align-items: center;
  }

  .process-heading-top {
    margin-bottom: 30px;
  }

  .process-heading h2 {
    font-size: clamp(44px, 5.2vw, 78px);
  }

  .process-heading > p {
    max-width: 390px;
    margin: 0;
    padding-left: 24px;
    border-left: 2px solid #00d7df;
    font-size: 16px;
    line-height: 1.8;
  }
}

/* NUESTRO PROCESO — TITULAR Y DESCRIPCIÓN INTEGRADOS */

@media (min-width: 701px) {
  .process-heading {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: clamp(16px, 2.5vw, 38px);
    align-items: center;
  }

  .process-heading h2 {
    font-size: clamp(42px, 4.8vw, 72px);
    letter-spacing: -0.075em;
  }

  .process-heading > p {
    max-width: none;
    margin: 0;
    padding-left: 30px;
    border-left: 3px solid #00d7df;
    color: #263e49;
    font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.55;
  }
}

/* NUESTRO PROCESO — REFINAMIENTO EDITORIAL */

@media (min-width: 701px) {
  .process-heading {
    /*grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);*/

    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    column-gap: clamp(18px, 2.5vw, 40px);
    align-items: center;
    margin-bottom: clamp(28px, 3vw, 45px);
  }

  .process-heading-top {
    margin-bottom: 25px;
  }

  .process-heading h2 {
    font-size: clamp(44px, 4.8vw, 72px);
    line-height: 1.02;
  }

  .process-heading > p {
    /*max-width: 480px;*/
    padding-left: 26px;
    border-left: 3px solid #00d7df;
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1.5;
  }
}


/* =========================================
   PRORTHOPEDICS — CONTACTO Y FOOTER
   ========================================= */

.contact-section {
  background: #071b25;
  color: #f7f9fa;
  padding: 110px 6% 0;
}

.contact-container {
  max-width: 1500px;
  margin: 0 auto;
}

.contact-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #00d7df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.contact-top span:last-child {
  color: #819ba5;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(50px, 8vw, 140px);
  padding: 80px 0 85px;
}

.contact-eyebrow,
.contact-label {
  display: block;
  color: #00d7df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.contact-main h2 {
  margin: 28px 0 32px;
  font-size: clamp(58px, 7.4vw, 118px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.075em;
}

.contact-main h2 span {
  color: #00d7df;
}

.contact-main > p {
  max-width: 510px;
  color: #9bb0ba;
  font-size: 17px;
  line-height: 1.85;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  margin-top: 35px;
  padding: 20px 26px;
  border-radius: 100px;
  background: #00d7df;
  color: #071b25;
  font-size: 14px;
  font-weight: 800;
  transition: background .25s ease, transform .25s ease;
}

.contact-cta:hover {
  background: #ffffff;
  transform: translateY(-3px);
}

.contact-cta span {
  font-size: 22px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 42px;
  padding-left: 35px;
  border-left: 1px solid rgba(255,255,255,.16);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.contact-label {
  margin-bottom: 7px;
}

.contact-detail p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.contact-detail > a {
  color: #f7f9fa;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

.contact-detail > a:hover {
  color: #00d7df;
}

.contact-detail p + a {
  margin-top: 6px;
  color: #00d7df;
  font-size: 13px;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 32px 0 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.footer-brand strong {
  font-size: 22px;
  letter-spacing: -.04em;
}

.footer-brand > span {
  color: #819ba5;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  color: #819ba5;
  font-size: 12px;
}

.footer-bottom a {
  color: #f7f9fa;
  font-weight: 800;
  transition: color .2s ease;
}

.footer-bottom a:hover {
  color: #00d7df;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 65px;
    padding: 75px 0 90px;
  }

  .contact-details {
    padding-left: 0;
    padding-top: 40px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.16);
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 75px 5% 0;
  }

  .contact-top {
    font-size: 9px;
  }

  .contact-main h2 {
    font-size: clamp(46px, 11vw, 70px);
  }

  .contact-main > p {
    font-size: 15px;
  }

  .contact-cta {
    gap: 25px;
    width: 100%;
  }

  .contact-detail p {
    font-size: 16px;
  }

  .contact-detail > a {
    font-size: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-cta,
  .contact-detail > a,
  .footer-bottom a {
    transition: none;
  }
}



/* =========================================
   PRORTHOPEDICS — CINEMATIC SCROLL
   ========================================= */

/* Los elementos permanecen visibles por defecto.
   Solo se animan cuando JavaScript está activo. */

@media (prefers-reduced-motion: no-preference) {

  .scroll-motion-ready .scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition:
      opacity 850ms cubic-bezier(.22, 1, .36, 1),
      transform 850ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .scroll-motion-ready .scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  /* Fotografías: profundidad sutil */

  .scroll-motion-ready .scroll-image {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(1.025);
    transition:
      opacity 1100ms ease,
      transform 1300ms cubic-bezier(.22, 1, .36, 1);
  }

  .scroll-motion-ready .scroll-image.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  /* No interferimos con el hover del carrusel */

  .scroll-motion-ready .solutions-slide {
    transition:
      transform .35s ease,
      opacity .35s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-image {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* =========================================
   HERO — ENTRADA CINEMATOGRÁFICA
   ========================================= */

@media (prefers-reduced-motion: no-preference) {

  .hero-content > .hero-eyebrow,
  .hero-content > h1,
  .hero-content > .hero-description,
  .hero-content > .hero-actions {
    animation: heroTextEntrance 1.1s
      cubic-bezier(.22, 1, .36, 1) both;
  }

  .hero-content > .hero-eyebrow {
    animation-delay: .15s;
  }

  .hero-content > h1 {
    animation-delay: .3s;
  }

  .hero-content > .hero-description {
    animation-delay: .5s;
  }

  .hero-content > .hero-actions {
    animation-delay: .7s;
  }

  @keyframes heroTextEntrance {
    from {
      opacity: 0;
      transform: translate3d(0, 35px, 0);
    }

    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > * {
    animation: none !important;
  }
}



/* =========================================
   HERO — PARALLAX CINEMATOGRÁFICO
   ========================================= */

@media (min-width: 601px) and (prefers-reduced-motion: no-preference) {
  .hero-visual {
    transform: translate3d(0, var(--hero-parallax, 0px), 0);
    will-change: transform;
  }
}



/* =========================================
   PRORTHOPEDICS — MENÚ MÓVIL PREMIUM
   ========================================= */

@media (max-width: 900px) {

  .main-nav {
    gap: 0;
    padding: 18px 6% 28px;
    background: #071b25;
    border-bottom: 1px solid rgba(0, 215, 223, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  }

  .main-nav > a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgba(247, 249, 250, 0.85);
  }

  .main-nav > a:hover,
  .main-nav > a:focus-visible {
    color: #00d7df;
  }

  .main-nav .nav-contact {
    justify-content: center;
    min-height: 48px;
    margin-top: 14px;
    padding: 12px 22px;
    border: 1px solid rgba(0, 215, 223, 0.45);
    border-radius: 50px;
    font-weight: 700;
    color: #f7f9fa;
  }
}
