/* ==========================================================================
   S&R Consultoría Empresarial · Hoja de estilos
   Prefijo de clases: sr-
   Paleta: blanco, negro y gris · Tipografía: Raleway
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables y base
   -------------------------------------------------------------------------- */
:root {
  --sr-black: #0c0c0c;
  --sr-ink: #161616;
  --sr-text: #3c3c3c;
  --sr-muted: #666666;
  --sr-line: #dcdcdc;
  --sr-soft: #f4f4f4;
  --sr-white: #ffffff;
  --sr-pad: clamp(0.75rem, 2vw, 1.5rem);
  --sr-radius: clamp(1.25rem, 2.6vw, 2rem);

  /* Medidas que actualiza main.js */
  --sr-top-h: 8rem;
  --sr-topbar-h: 3rem;
  --sr-header-h: 5rem;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Raleway', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--sr-text);
  background: var(--sr-white);
  padding-top: var(--sr-top-h);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--sr-black);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--sr-header-h) + 1rem);
}

:focus-visible {
  outline: 3px solid var(--sr-black);
  outline-offset: 3px;
}

.sr-topbar :focus-visible,
.sr-hero :focus-visible,
.sr-cta :focus-visible {
  outline-color: var(--sr-white);
}

.sr-form :focus-visible {
  outline-color: var(--sr-black);
}

.sr-skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--sr-black);
  color: var(--sr-white);
  text-decoration: none;
}

.sr-skip:focus {
  top: 1rem;
}

/* Contenedor propio, ancho y con aire */
.sr-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.5vw, 3rem);
}

.sr-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

/* Paneles grises con esquinas redondeadas */
.sr-panel {
  background: var(--sr-soft);
  border-radius: var(--sr-radius);
  margin-left: var(--sr-pad);
  margin-right: var(--sr-pad);
}

/* Fotografías en escala de grises (quitar la clase sr-bw para ver color) */
.sr-bw {
 

}

/* --------------------------------------------------------------------------
   2. Tipografía de sección
   -------------------------------------------------------------------------- */
.sr-eyebrow {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--sr-muted);
}

.sr-eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  margin-right: 0.9rem;
  vertical-align: middle;
  background: currentColor;
}

.sr-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--sr-black);
}

.sr-title--light {
  color: var(--sr-white);
}

.sr-lead {
  margin: 0;
  font-size: 1.15rem;
  color: var(--sr-muted);
}

.sr-lead--light {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   3. Botones
   -------------------------------------------------------------------------- */
.sr-btn {
  display: inline-block;
  max-width: 100%;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 50rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.sr-btn i {
  margin-right: 0.55rem;
  font-size: 1rem;
}

.sr-btn .sr-btn__end {
  margin-right: 0;
  margin-left: 0.6rem;
  transition: transform 0.3s ease;
}

.sr-btn:hover .sr-btn__end {
  transform: translateX(4px);
}

.sr-btn--sm {
  padding: 0.5rem 1.1rem;
}

.sr-btn--dark {
  background: var(--sr-black);
  border-color: var(--sr-black);
  color: var(--sr-white);
}

.sr-btn--dark:hover {
  background: var(--sr-white);
  color: var(--sr-black);
}

.sr-btn--light {
  background: var(--sr-white);
  border-color: var(--sr-white);
  color: var(--sr-black);
}

.sr-btn--light:hover {
  background: transparent;
  color: var(--sr-white);
}

.sr-btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--sr-white);
}

.sr-btn--outline-light:hover {
  background: var(--sr-white);
  border-color: var(--sr-white);
  color: var(--sr-black);
}

/* --------------------------------------------------------------------------
   4. Barra superior + header (fijos)
   -------------------------------------------------------------------------- */
.sr-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: transform 0.35s ease;
}

.sr-top.is-scrolled {
  transform: translateY(calc(var(--sr-topbar-h) * -1));
}

.sr-topbar {
  padding: 0.65rem 0;
  background: var(--sr-black);
  color: #e8e8e8;
  line-height: 1.5;
}

.sr-topbar__item {
  display: inline-block;
  margin: 0 0.25rem;
}

.sr-topbar i {
  margin-right: 0.45rem;
  font-size: 1rem;
}

.sr-topbar__sep {
  width: 1px;
  height: 1.25rem;
  margin: 0 1.1rem;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.3);
}

.sr-topbar__phone {
  display: inline-block;
  margin-right: 1.25rem;
  font-weight: 600;
  color: var(--sr-white);
  text-decoration: none;
}

.sr-topbar__phone:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sr-header {
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.sr-top.is-scrolled .sr-header {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sr-brand {
  display: inline-block;
  line-height: 0;
}

.sr-brand img {
  display: block;
  width: auto;
 width: 120px;
  border-radius: 0.4rem;
}
.is-scrolled .sr-brand img{
max-width: 70px;
}

.sr-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  color: var(--sr-ink);
  text-decoration: none;
}

.sr-nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--sr-black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.sr-nav__link:hover::after {
  transform: scaleX(1);
}

.sr-toggle {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--sr-line);
  border-radius: 50%;
  background: var(--sr-white);
  color: var(--sr-black);
  font-size: 1.125rem;
  line-height: 1;
}

.sr-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.75rem 0 1.5rem;
  background: var(--sr-white);
  border-top: 1px solid var(--sr-line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.sr-mobile[hidden] {
  display: none;
}

.sr-mobile__link {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--sr-line);
  font-weight: 500;
  color: var(--sr-black);
  text-decoration: none;
}

.sr-mobile__cta {
  display: block;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.sr-hero__pad {
  padding: 0.25rem var(--sr-pad) 0;
}

.sr-hero__card {
  position: relative;
  padding: clamp(6rem, 16vh, 10rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--sr-radius);
  background: #2a2a2a;
  color: var(--sr-white);
}

.sr-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 0;
}

.sr-hero__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 70%);
}

.sr-hero__inner {
  position: relative;
  z-index: 2;
}

.sr-hero__title {
  margin: 0;
  font-size: clamp(2.8rem, 4.9vw, 5.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--sr-white);
}

.sr-hero__title span {
  display: block;
  font-size: 1.5rem;
  margin-top: 0.35rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}



.sr-hero__sub {
  margin: 1.75rem 0 2rem;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}


@media (max-width: 772px)
{
  .sr-hero__title span {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.35rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

.sr-hero__sub {
  margin: 1.75rem 0 2rem;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}


}

.sr-hero__actions .sr-btn {
  margin: 0 0.75rem 0.75rem 0;
}

.sr-hero__points {
  margin: 3.25rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.sr-hero__points li {
  position: relative;
  padding: 1.5rem 2rem 0 3.25rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.sr-hero__points li i {
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--sr-white);
  color: var(--sr-black);
  font-size: 1rem;
  line-height: 2.25rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. Pilares de credibilidad
   -------------------------------------------------------------------------- */
.sr-pillar {
  height: 100%;
  padding-top: 1.75rem;
  border-top: 2px solid var(--sr-black);
}

.sr-pillar__icon {
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--sr-black);
  color: var(--sr-white);
  font-size: 1.25rem;
  line-height: 3.5rem;
  text-align: center;
}

.sr-pillar__title {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--sr-black);
}

.sr-pillar__text {
  margin: 0;
  color: var(--sr-muted);
}

/* --------------------------------------------------------------------------
   7. Problemas vs. solución (selector interactivo)
   -------------------------------------------------------------------------- */
.sr-ps__body {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.sr-ps__label {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-muted);
}

.sr-ps__tabs {
  border-top: 1px solid #cfcfcf;
}

.sr-ps__tab {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.6rem 4rem 1.6rem 4.25rem;
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  background: transparent;
  color: var(--sr-muted);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.sr-ps__tab:hover {
  color: var(--sr-black);
}

.sr-ps__num {
  position: absolute;
  left: 0;
  top: 1.65rem;
  width: 3.25rem;
  padding-left: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6f6f6f;
  transition: color 0.3s ease;
}

.sr-ps__tab i {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border-radius: 50%;
  background: var(--sr-black);
  color: var(--sr-white);
  font-size: 1rem;
  line-height: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sr-ps__tab.is-active {
  border-bottom-color: transparent;
  border-radius: 1.25rem;
  background: var(--sr-white);
  color: var(--sr-black);
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.sr-ps__tab.is-active .sr-ps__num {
  color: var(--sr-black);
}

.sr-ps__tab.is-active i {
  opacity: 1;
  transform: none;
}

.sr-ps__panel {
  position: relative;
  min-height: 30rem;
  padding: clamp(9rem, 18vw, 13rem) clamp(1.5rem, 3.5vw, 3rem) clamp(1.75rem, 3.5vw, 3rem);
  border-radius: var(--sr-radius);
  background: #161616;
  color: var(--sr-white);
}

.sr-ps__panel + .sr-ps__panel {
  margin-top: 1rem;
}

.sr-ps__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0.5;
}

.sr-ps__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.2) 0%, rgba(12, 12, 12, 0.88) 100%);
}

.sr-ps__ghost {
  position: absolute;
  top: 1.25rem;
  right: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 2;
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

.sr-ps__content {
  position: relative;
  z-index: 2;
}

.sr-ps__tag {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.sr-ps__tag i {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-right: 0.75rem;
  border-radius: 50%;
  background: var(--sr-white);
  color: var(--sr-black);
  font-size: 1rem;
  line-height: 2rem;
  text-align: center;
  vertical-align: middle;
}

.sr-ps__solution {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--sr-white);
}

/* Con JS solo se muestra el panel activo; sin JS se apilan los cuatro */
.sr-js .sr-ps__panel {
  display: none;
}

.sr-js .sr-ps__panel.is-active {
  display: block;
  animation: srPsIn 0.5s ease;
}

@keyframes srPsIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-js .sr-ps__panel.is-active {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .sr-ps__panel {
    min-height: 26rem;
  }

  .sr-ps__tab {
    padding: 1.35rem 3.75rem 1.35rem 3.75rem;
  }

  .sr-ps__num {
    top: 1.4rem;
    width: 2.75rem;
    padding-left: 1rem;
  }
}

/* --------------------------------------------------------------------------
   8. Servicios (carrusel Swiper)
   -------------------------------------------------------------------------- */
.sr-services__head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.sr-fraction {
  display: inline-block;
  width: auto !important;
  margin-right: 1.25rem;
  vertical-align: middle;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sr-ink);
}

.sr-round {
  display: inline-block;
  width: 3.25rem;
  height: 3.25rem;
  margin-left: 0.5rem;
  padding: 0;
  border: 1px solid #bdbdbd;
  border-radius: 50%;
  background: var(--sr-white);
  color: var(--sr-black);
  font-size: 1rem;
  line-height: 3.1rem;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.sr-round:hover {
  background: var(--sr-black);
  border-color: var(--sr-black);
  color: var(--sr-white);
}

.sr-round--dark {
  background: var(--sr-black);
  border-color: var(--sr-black);
  color: var(--sr-white);
}

.sr-round--dark:hover {
  background: var(--sr-white);
  color: var(--sr-black);
}

.sr-round.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.sr-round.swiper-button-lock {
  display: none;
}

.sr-swiper {
  padding-bottom: 0.5rem;
}

.sr-swiper .swiper-slide {
  height: auto;
}

.sr-card {
  position: relative;
  height: 100%;
  padding: 0.75rem 0.75rem 6.25rem;
  border: 1px solid var(--sr-line);
  border-radius: 1.75rem;
  background: var(--sr-white);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

.sr-card__media {
  position: relative;
}

.sr-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.25rem;
}

.sr-card__num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.2rem 0.85rem;
  border-radius: 50rem;
  background: var(--sr-white);
  color: var(--sr-black);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sr-card__body {
  padding: 1.75rem 1.1rem 0;
}

.sr-card__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.sr-card__desc {
  margin: 0 0 1.5rem;
  color: var(--sr-muted);
}

.sr-card__list {
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--sr-line);
}

.sr-card__list li {
  position: relative;
  margin-bottom: 0.9rem;
  padding-left: 2rem;
  line-height: 1.55;
}

.sr-card__list li i {
  position: absolute;
  left: 0;
  top: 0.3rem;
  font-size: 1rem;
  color: var(--sr-black);
}

.sr-card .sr-btn {
  position: absolute;
  left: 1.85rem;
  right: 1.85rem;
  bottom: 1.85rem;
}

/* --------------------------------------------------------------------------
   9. Por qué elegirnos
   -------------------------------------------------------------------------- */
.sr-why .sr-title {
  max-width: 30rem;
}

.sr-why__list {
  margin-top: 2.5rem;
}

.sr-why__item {
  padding: 1.75rem 0;
  border-top: 1px solid #cfcfcf;
}

.sr-why__item:last-child {
  border-bottom: 1px solid #cfcfcf;
}

.sr-why__icon {
  display: inline-block;
  width: 3.25rem;
  height: 3.25rem;
  margin-right: 1.25rem;
  border-radius: 50%;
  background: var(--sr-black);
  color: var(--sr-white);
  font-size: 1.15rem;
  line-height: 3.25rem;
  text-align: center;
}

.sr-why__title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.sr-why__item p {
  margin: 0;
  color: var(--sr-muted);
}

.sr-duo {
  position: relative;
  padding-bottom: 3.5rem;
}

.sr-duo__main {
  display: block;
  width: 100%;
  margin-left: auto;
  
 
  border-radius: var(--sr-radius);
}

.sr-duo__side {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  border: 0.5rem solid var(--sr-soft);
  border-radius: 1.75rem;
}

/* --------------------------------------------------------------------------
   10. Proceso
   -------------------------------------------------------------------------- */
.sr-process__media {
  position: relative;
  margin-top: 2.5rem;
}

.sr-process__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--sr-radius);
}

.sr-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 9rem;
  height: 9rem;
  padding: 1rem;
  border: 0.5rem solid var(--sr-white);
  border-radius: 50%;
  background: #6f6f6f;
  color: var(--sr-white);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.sr-step {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--sr-line);
}

.sr-step:first-child {
  border-top: 1px solid var(--sr-line);
}

.sr-step__icon {
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  margin-right: 1.5rem;
  border-radius: 50%;
  background: var(--sr-black);
  color: var(--sr-white);
  font-size: 1.25rem;
  line-height: 3.5rem;
  text-align: center;
}

.sr-step__label {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-muted);
}

.sr-step__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.sr-step p:last-child {
  margin: 0;
  color: var(--sr-muted);
}

@media (min-width: 992px) {
  .sr-process .sr-wrap > .row {
    align-items: center;
  }

  .sr-badge {
    top: -2rem;
    right: -2rem;
  }
}

/* --------------------------------------------------------------------------
   11. Preguntas frecuentes
   -------------------------------------------------------------------------- */
.sr-faq__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 2.5rem;
  object-fit: cover;
  border-radius: 1.5rem;
}

.sr-faq__item {
  border-bottom: 1px solid #cfcfcf;
}

.sr-faq__item:first-child {
  border-top: 1px solid #cfcfcf;
}

.sr-faq__q {
  margin: 0;
  font-size: inherit;
}

.sr-faq__q button {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.6rem 4rem 1.6rem 0;
  border: 0;
  background: none;
  color: var(--sr-black);
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.sr-faq__icon {
  position: absolute;
  right: 0;
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  border: 1px solid #b5b5b5;
  border-radius: 50%;
  background: var(--sr-white);
  font-size: 1rem;
  line-height: 2.65rem;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.sr-faq__item.is-open .sr-faq__icon {
  border-color: var(--sr-black);
  background: var(--sr-black);
  color: var(--sr-white);
  transform: rotate(45deg);
}

.sr-faq__a {
  padding: 0 4rem 1.75rem 0;
}

.sr-faq__a[hidden] {
  display: none;
}

.sr-faq__a:not([hidden]) {
  animation: srFaqIn 0.35s ease;
}

.sr-faq__a p {
  margin: 0;
  color: var(--sr-muted);
}

@keyframes srFaqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   12. Conversión final + formulario
   -------------------------------------------------------------------------- */
.sr-cta {
  position: relative;
  margin: var(--sr-pad) var(--sr-pad) 0;
  border-radius: var(--sr-radius);
  background: var(--sr-black);
  color: var(--sr-white);
}

.sr-cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0.55;
}

.sr-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.92) 0%, rgba(12, 12, 12, 0.55) 100%);
}

.sr-cta__inner {
  position: relative;
  z-index: 2;
}

.sr-cta__actions {
  margin-top: 2.25rem;
}

.sr-cta__actions .sr-btn {
  margin: 0 0.75rem 0.75rem 0;
}

.sr-form {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: 1.75rem;
  background: var(--sr-white);
  color: var(--sr-text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.sr-form__title {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.sr-form__sub {
  margin: 0 0 1.75rem;
  color: var(--sr-muted);
}

.sr-form .form-label {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sr-black);
}

.sr-form .form-control,
.sr-form .form-select {
  padding: 0.85rem 1rem;
  border: 1px solid #cfcfcf;
  border-radius: 0.9rem;
  background-color: #fafafa;
  color: var(--sr-black);
  font-size: 1rem;
}

.sr-form .form-control:focus,
.sr-form .form-select:focus {
  border-color: var(--sr-black);
  background-color: var(--sr-white);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.12);
}

.sr-form__submit {
  display: block;
  width: 100%;
  padding: 1.05rem 1.5rem;
}

.sr-form__note {
  margin: 1.1rem 0 0;
  color: var(--sr-muted);
  text-align: center;
}

.sr-form__note i {
  margin-right: 0.4rem;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.sr-footer {
  padding: clamp(4rem, 7vw, 6rem) 0 2rem;
}

.sr-footer__name {
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sr-black);
}

.sr-contact {
  margin: 0;
  padding: 0;
}

.sr-contact li {
  position: relative;
  margin-bottom: 1.25rem;
  padding-left: 3rem;
}

.sr-contact li i {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--sr-black);
  color: var(--sr-white);
  font-size: 1rem;
  line-height: 2.25rem;
  text-align: center;
}

.sr-contact__label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sr-muted);
}

.sr-contact a {
  font-weight: 500;
  color: var(--sr-black);
  text-decoration: none;
  word-break: break-word;
}

.sr-contact a:hover,
.sr-footer__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sr-footer__nav a {
  display: block;
  padding: 0.4rem 0;
  font-weight: 500;
  color: var(--sr-black);
  text-decoration: none;
}

.sr-footer__bottom {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--sr-line);
}

.sr-footer__bottom p {
  margin: 0;
  color: var(--sr-muted);
}

.sr-footer__bottom a {
  font-weight: 600;
  color: var(--sr-black);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* --------------------------------------------------------------------------
   14. Animación de entrada (se activa solo si JS está disponible)
   -------------------------------------------------------------------------- */
.sr-js .sr-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--sr-d, 0s);
}

.sr-js .sr-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sr-js .sr-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sr-card,
  .sr-btn,
  .sr-top {
    transition: none;
  }

  .sr-faq__a:not([hidden]) {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   15. Ajustes responsivos
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .sr-topbar__item {
    display: block;
    margin: 0;
    font-size: .9rem;
  }

  .sr-topbar__phone {
    margin: 0.25rem 1rem 0.25rem 0;
  }

  .sr-hero__points li {
    padding-right: 0;
  }

  .sr-hero__actions .sr-btn {
    display: block;
    margin-right: 0;
  }

  .sr-cta__actions .sr-btn {
    display: block;
    margin-right: 0;
  }

  .sr-badge {
    width: 8rem;
    height: 8rem;
  }

  .sr-duo__main {
    width: 88%;
  }

  .sr-faq__q button {
    font-size: 1.1rem;
    padding-right: 3.5rem;
  }

  .sr-faq__a {
    padding-right: 0;
  }

  .sr-step__icon {
    margin-right: 1rem;
  }
}
