/* ===================================================================
 * Alumbra - estilos sobre la plantilla Transcend
 * Inspirado en la composición de romaweblab.it: barra superior fija,
 * titulares Oswald en mayúsculas, secciones oscuras y tarjetas centradas.
 * Colores tomados del degradado del logo.
 *
 * -------------------------------------------------------------------
 * TOC:
 * # base y tipografía
 * # botones
 * # header
 * # home con video de fondo
 * # about
 * # services
 * # industries
 * # works
 * # contact y footer
 *
 * ------------------------------------------------------------------- */


/* ===================================================================
 * # base y tipografía
 *
 * colores
 *   rojo     #ff0d0d
 *   magenta  #e8125a (acento principal)
 *   violeta  #9a0fe8
 * ------------------------------------------------------------------- */
body {
  font-family: "Montserrat", sans-serif;
  background: #000000;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

p,
.lead {
  font-family: "Montserrat", sans-serif;
}
.lead {
  font-weight: 300;
}

.section-header {
  text-align: center;
}
.section-header .col-full {
  max-width: 900px;
  margin: 0 auto;
  float: none;
}

.display-1 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 5.2rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.subhead {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.4rem;
  color: #e8125a;
}
.subhead::before {
  content: none;
}
.subhead::after {
  content: "";
  display: block;
  width: 6rem;
  height: 3px;
  margin: 1.2rem auto 0;
  background: linear-gradient(90deg, #ff0d0d, #e8125a, #9a0fe8);
}

@media only screen and (max-width: 1200px) {
  .display-1 {
    font-size: 4.6rem;
  }
}
@media only screen and (max-width: 800px) {
  .display-1 {
    font-size: 4rem;
  }
}
@media only screen and (max-width: 600px) {
  .display-1 {
    font-size: 3.2rem;
  }
}


/* ===================================================================
 * # botones
 *
 * ------------------------------------------------------------------- */
.btn,
input[type="submit"].btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  border-radius: 50px;
}

.btn.btn--primary,
input[type="submit"].btn--primary {
  background: linear-gradient(90deg, #ff0d0d, #e8125a 50%, #9a0fe8);
  background-size: 200% 100%;
  background-position: 0 0;
  border: 0;
  color: #ffffff;
  -webkit-transition: background-position 0.4s ease-in-out;
  transition: background-position 0.4s ease-in-out;
}
.btn.btn--primary:hover,
.btn.btn--primary:focus,
input[type="submit"].btn--primary:hover,
input[type="submit"].btn--primary:focus {
  background: linear-gradient(90deg, #ff0d0d, #e8125a 50%, #9a0fe8);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #ffffff;
}

.btn.btn--light {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.btn.btn--light:hover,
.btn.btn--light:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}


/* ===================================================================
 * # header
 *
 * barra negra fija; el menú queda oculto tras el botón
 * hamburguesa de la plantilla, como en el sitio original
 * ------------------------------------------------------------------- */
.s-header {
  position: fixed;
  top: 0;
  height: 80px;
  background: transparent;
  -webkit-transition: background-color 0.4s ease-in-out;
  transition: background-color 0.4s ease-in-out;
}
.s-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff0d0d, #e8125a, #9a0fe8);
  opacity: 0;
  -webkit-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;
}

/* main.js agrega .opaque al botón del menú al bajar más de 150px */
.s-header:has(.header-menu-toggle.opaque) {
  background: rgba(0, 0, 0, 0.88);
}
.s-header:has(.header-menu-toggle.opaque)::after {
  opacity: 1;
}

.header-logo {
  left: 60px;
}
.header-logo img {
  width: 180px;
  height: auto;
}

.header-menu-toggle {
  top: 17px;
  right: 60px;
}
.header-menu-toggle.opaque {
  background-color: transparent;
}

@media only screen and (max-width: 800px) {
  .header-menu-toggle {
    right: 40px;
  }
}
@media only screen and (max-width: 600px) {
  .s-header {
    top: 0;
    height: 70px;
  }
  .header-logo {
    left: 25px;
  }
  .header-logo img {
    width: 150px;
    height: auto;
  }
  .header-menu-toggle {
    top: 12px;
    right: 25px;
  }
}


/* ===================================================================
 * # home con video de fondo
 *
 * ------------------------------------------------------------------- */
.s-home--video {
  overflow: hidden;
  z-index: 0;
  background: #000000 url("../images/hero-poster.jpg") center / cover no-repeat;
}
.s-home--video::before {
  opacity: 0.55;
}
.s-home--video .shadow-overlay {
  background: radial-gradient(ellipse at center, transparent 0%, black 100%);
  opacity: 0.7;
}

.home-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

.s-home--video .home-content {
  z-index: 1;
}
/* "Síguenos" queda sobre .home-content, que cubre todo el alto del inicio */
.s-home--video .home-social {
  z-index: 2;
}
.s-home--video .home-content__main {
  padding-right: 0;
  text-align: center;
}
.s-home--video .home-slide__title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 7.6rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #ffffff;
}
.s-home--video .home-content__tags {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: #ffffff;
  padding-left: 0;
  margin-top: 1.2rem;
}
.s-home--video .home-content__tags::before {
  display: none;
}
.home-content__tags span {
  color: #e8125a;
  margin: 0 1rem;
}
.home-content__lead {
  font-weight: 300;
  font-size: 1.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 2.4rem auto 0;
}
.home-content__cta {
  margin-top: 4.8rem;
}
.home-content__cta .btn {
  margin: 0 0.8rem 1.6rem;
}

/* sin animaciones: se muestra la imagen de respaldo */
@media (prefers-reduced-motion: reduce) {
  .home-video {
    display: none;
  }
}

@media only screen and (max-width: 1200px) {
  .s-home--video .home-slide__title {
    font-size: 7rem;
  }
  .s-home--video .home-content__tags {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 800px) {
  .s-home--video .home-slide__title {
    font-size: 5.6rem;
  }
  .s-home--video .home-content__tags {
    font-size: 1.7rem;
    letter-spacing: 0.2rem;
  }
  .home-content__lead {
    font-size: 1.7rem;
  }
}
@media only screen and (max-width: 600px) {
  .s-home--video .home-content__main {
    padding-left: 25px;
    padding-right: 25px;
  }
  .s-home--video .home-slide__title {
    font-size: 4.2rem;
  }
  .s-home--video .home-content__tags {
    font-size: 1.4rem;
  }
  .home-content__tags span {
    margin: 0 0.4rem;
  }
  .home-content__cta .btn {
    display: block;
    height: auto;
    margin: 0 0 1.2rem;
    padding: 1.4rem 2rem;
    line-height: 1.6;
    letter-spacing: 0.15rem;
    white-space: normal;
  }
}
@media only screen and (max-width: 400px) {
  .s-home--video .home-slide__title {
    font-size: 3.6rem;
  }
}


/* ===================================================================
 * # about
 *
 * ------------------------------------------------------------------- */
.s-about {
  background: #ffffff;
}
.s-about .lead {
  text-align: center;
}
/* miembro fundador de la CChIA */
.member-badge {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  max-width: 860px;
  margin: 1.2rem auto 8rem;
  padding: 3rem 3.6rem;
  border-radius: 12px;
  border-left: 4px solid #e8125a;
  background: #ffffff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
  -webkit-transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.member-badge:hover,
.member-badge:focus {
  -webkit-transform: translateY(-0.4rem);
  -ms-transform: translateY(-0.4rem);
  transform: translateY(-0.4rem);
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.12);
}
.member-badge__logo {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  margin: 0 3.6rem 0 0;
}
.member-badge__text {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #555555;
}
.member-badge__text strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #e8125a;
}

@media only screen and (max-width: 700px) {
  .member-badge {
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    padding: 3rem 2.4rem;
    border-left: 0;
    border-top: 4px solid #e8125a;
  }
  .member-badge__logo {
    width: 180px;
    margin: 0 0 2.4rem;
  }
}

.process__col::before {
  font-family: "Oswald", sans-serif;
  background: linear-gradient(135deg, #ff0d0d, #9a0fe8);
}


/* ===================================================================
 * # services
 *
 * fondo oscuro con brillo del degradado, iconos blancos y
 * botones blancos como en la referencia
 * ------------------------------------------------------------------- */
.s-services {
  padding-top: 15rem;
  padding-bottom: 12rem;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255, 13, 13, 0.35), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(154, 15, 232, 0.35), transparent 55%),
    #070707;
  color: rgba(255, 255, 255, 0.75);
}

.services-list {
  margin-top: 4rem;
}
.services-list .service-item {
  margin-bottom: 6rem;
  text-align: center;
}
.services-list .service-icon {
  color: #ffffff;
  font-size: 5.2rem;
  line-height: 1;
  height: 6.4rem;
  margin-bottom: 2.4rem;
}
.services-list .service-icon svg {
  width: 7.2rem;
  height: 7.2rem;
  margin-top: -0.4rem;
  stroke-width: 3.5;
}
.services-list .service-item h3 {
  color: #ffffff;
  font-size: 2.4rem;
}
.services-list .service-item p {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 34rem;
  margin: 0 auto;
}


/* ===================================================================
 * # industries
 *
 * ------------------------------------------------------------------- */
.s-industries {
  padding-top: 15rem;
  padding-bottom: 12rem;
  background-color: #ffffff;
}

.industries-list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.industries-list {
  margin-top: 3rem;
}
.industry-item {
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 3rem;
}
.industry-card {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  padding: 4rem 3rem 3.6rem;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.industry-card:hover {
  background: #000000;
  color: rgba(255, 255, 255, 0.75);
  -webkit-transform: translateY(-0.6rem);
  -ms-transform: translateY(-0.6rem);
  transform: translateY(-0.6rem);
}
.industry-card__icon {
  font-size: 3.6rem;
  margin-bottom: 1.8rem;
  color: #e8125a;
}
.industry-card h3 {
  margin-top: 0;
  font-size: 2rem;
  color: #000000;
}
.industry-card:hover h3 {
  color: #ffffff;
}
.industry-card p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 0;
}

@media only screen and (max-width: 800px) {
  .s-industries {
    padding-top: 12rem;
    padding-bottom: 9rem;
  }
}


/* ===================================================================
 * # works
 *
 * ------------------------------------------------------------------- */
.s-works {
  padding-top: 15rem;
  padding-bottom: 12rem;
  background: #000000;
  color: rgba(255, 255, 255, 0.85);
}

/* filas alternadas imagen / texto, como en romaweblab.it */
.case-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  max-width: 1200px;
  width: 89%;
  margin: 0 auto 12rem;
}
.case-row--reverse {
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.case-media {
  -ms-flex: 0 0 38%;
  flex: 0 0 38%;
  position: relative;
  margin-right: 8rem;
}
.case-row--reverse .case-media {
  margin-right: 0;
  margin-left: 8rem;
}
.case-media::before {
  content: "";
  position: absolute;
  top: 3.6rem;
  left: -3.6rem;
  width: 75%;
  height: 100%;
  background: linear-gradient(160deg, #ff0d0d 0%, #e8125a 55%, #9a0fe8 100%);
  border-radius: 6px;
}
.case-row--reverse .case-media::before {
  left: auto;
  right: -3.6rem;
}
.case-media img,
.case-media video {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.6);
}
/* medios horizontales (videos e infografías): columna más ancha que las ilustraciones */
.case-media--video,
.case-media--wide {
  -ms-flex-preferred-size: 42%;
  flex-basis: 42%;
}
/* imagen ampliable: abre el archivo en tamaño completo */
.case-zoom {
  display: block;
  position: relative;
  border: 0;
}
.case-zoom::after {
  content: "Ver en grande";
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 0.4rem 1.4rem;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.75);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.case-zoom:hover::after,
.case-zoom:focus::after {
  opacity: 1;
}
.case-zoom img {
  cursor: zoom-in;
}
.case-media video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000000;
}

.case-text {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
.case-tag {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: rgba(255, 255, 255, 0.5);
}
.case-title {
  margin: 0 0 1.8rem;
  font-size: 4rem;
  line-height: 1.2;
  color: #ffffff;
}
.case-lead {
  font-size: 2rem;
  line-height: 1.6;
  color: #e8125a;
  margin-bottom: 2.4rem;
}
.case-text p {
  font-size: 1.7rem;
  line-height: 1.7;
}
.case-text strong {
  color: #ffffff;
  font-weight: 700;
}
.case-results {
  list-style: none;
  margin: 0;
}
.case-results li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  color: #ffffff;
}
.case-results li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #e8125a;
}

/* franja de llamado a la acción */
.case-banner {
  margin: 0 0 12rem;
  padding: 5.4rem 2rem;
  text-align: center;
  background: linear-gradient(90deg, #ff0d0d 0%, #e8125a 50%, #9a0fe8 100%);
}
.case-banner p {
  margin: 0 0 2.4rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.3;
  text-transform: uppercase;
  color: #ffffff;
}
.btn.case-banner__btn {
  margin: 0;
  border: 0;
  background: #ffffff;
  color: #e8125a;
}
.btn.case-banner__btn:hover,
.btn.case-banner__btn:focus {
  background: #000000;
  color: #ffffff;
}

.case-row:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 1000px) {
  .case-media,
  .case-row--reverse .case-media {
    margin-right: 5rem;
    margin-left: 0;
  }
  .case-row--reverse .case-media {
    margin-right: 0;
    margin-left: 5rem;
  }
  .case-title {
    font-size: 3.4rem;
  }
}
@media only screen and (max-width: 800px) {
  .s-works {
    padding-top: 12rem;
    padding-bottom: 9rem;
  }
  .case-row,
  .case-row--reverse {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin-bottom: 9rem;
  }
  .case-media,
  .case-row--reverse .case-media {
    -ms-flex: none;
    flex: none;
    width: 80%;
    max-width: 380px;
    margin: 0 auto 6rem;
  }
  .case-row .case-media--video,
  .case-row .case-media--wide {
    width: 90%;
    max-width: 460px;
  }
  .case-banner {
    margin-bottom: 9rem;
  }
  .case-banner p {
    font-size: 2.6rem;
  }
}
@media only screen and (max-width: 600px) {
  .case-row {
    width: auto;
    padding: 0 25px;
  }
  .case-title {
    font-size: 2.8rem;
  }
  .case-lead {
    font-size: 1.8rem;
  }
}


/* ===================================================================
 * # contact y footer
 *
 * ------------------------------------------------------------------- */
.s-contact {
  padding-top: 15rem;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(154, 15, 232, 0.25), transparent 50%),
    #111111;
}

.contact-wrap {
  margin-top: 3rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1.8rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.contact-form select option {
  color: #151515;
}
.contact-form textarea {
  min-height: 16rem;
}
.contact-form ::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.contact-form input[type="submit"] {
  padding: 0 5rem;
}

.contact-info {
  padding-top: 0.6rem;
}
.s-contact .contact-info__item {
  display: block;
  margin-bottom: 2.4rem;
  border: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 5.6rem;
  color: #ffffff;
}
.s-contact .contact-info__item:hover,
.s-contact .contact-info__item:focus {
  border: 0;
  color: #e8125a;
}
.contact-info__item i {
  display: inline-block;
  width: 5.6rem;
  height: 5.6rem;
  margin-right: 1.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0d0d, #9a0fe8);
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 5.6rem;
  text-align: center;
  vertical-align: top;
}
.s-contact .contact-address {
  font-size: 1.6rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1.2rem;
}

.cl-copyright {
  text-align: center;
  margin-top: 6rem;
  padding-top: 4.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  display: block;
  width: 180px;
  margin: 0 auto 2.4rem;
}

.cl-go-top a {
  background: #e8125a;
}

@media only screen and (max-width: 800px) {
  .s-contact {
    padding-top: 12rem;
  }
  .contact-info {
    margin-top: 3rem;
  }
  .s-contact .contact-info__item {
    font-size: 2rem;
  }
}
