/* fonts */
@font-face {
  font-family: "Smart Regular";
  src: url("../fonts/smart-regular.otf") format("opentype");
}

@font-face {
  font-family: "Smart Bold";
  src: url("../fonts/smart-bold.otf") format("opentype");
}

@font-face {
  font-family: "Smart Sans Regular";
  src: url("../fonts/smart-sans-regular.otf") format("opentype");
}

@font-face {
  font-family: "Smart Sans Bold";
  src: url("../fonts/smart-sans-bold.otf") format("opentype");
}

/* comunes HTML */

:root {
  --electrifying-lime: #e51636;
  --smart-black: #141413;
  --smart-white: #fff;
  --grey-01: #000;
  --grey-02: #121212;
  --grey-03: #444;
  --grey-04: #666;
  --grey-05: #aaa;
  --grey-06: #bbb;
  --grey-07: #ccc;
  --grey-08: #ddd;
  --grey-09: #e5e5e5;
  --grey-10: #eee;
  --grey-11: #f5f5f5;
  --notification-red: #e64040;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--smart-black);
}

a:hover {
  text-decoration: underline;
  color: var(--smart-black);
  cursor: pointer;
}

small {
  font-size: 0.8rem;
  line-height: 1rem;
}

b,
strong {
  font-family: "Smart Bold";
}

h1 {
  line-height: clamp(4.4rem, 5.3vw, 5.3rem);
  font-size: clamp(3.6rem, 4.5vw, 4.8rem);
}

h2,
h2.h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: clamp(2rem, 8.1vw, 2.6rem);
  margin-bottom: 2rem;
}

h1,
h3,
h4 {
  font-family: "Smart Sans Bold", sans-serif;
}

h5 {
  font-family: "Smart Bold", sans-serif;
}

body {
  font-family: "Smart Sans Regular", sans-serif;
}

.btn {
  color: var(--smart-white);
}

/* breakpoints textos, botones, enlaces y labels. */
@media (max-width: 1920px) {
  /*h1 {
		font-size: 80px;
		line-height: 96px;
	}

	h2 {
		font-size: 60px;
		line-height: 67px;
	}*/

  h3 {
    font-size: 44px;
    line-height: 52px;
  }

  h4 {
    font-size: 32px;
    line-height: 42px;
  }

  h5 {
    font-size: 24px;
    line-height: 34px;
  }

  body {
    font-size: 18px;
    line-height: 26px;
  }

  .btn-cta,
  .btn-normal,
  a {
    font-size: 18px;
    line-height: 30px;
  }

  .label {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 1440px) {
  /*h1 {
		font-size: 80px;
		line-height: 96px;
	}

	h2 {
		font-size: 56px;
		line-height: 64px;
	}*/

  h3 {
    font-size: 40px;
    line-height: 48px;
  }

  h4 {
    font-size: 32px;
    line-height: 42px;
  }

  h5 {
    font-size: 24px;
    line-height: 34px;
  }

  body {
    font-size: 18px;
    line-height: 26px;
  }

  .btn-cta,
  .btn-normal,
  a {
    font-size: 18px;
    line-height: 30px;
  }

  .label {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {
  /*h1 {
		font-size: 60px;
		line-height: 67px;
	}

	h2 {
		font-size: 40px;
		line-height: 44px;
	}*/

  h3 {
    font-size: 36px;
    line-height: 32px;
  }

  h4 {
    font-size: 32px;
    line-height: 42px;
  }

  h5 {
    font-size: 20px;
    line-height: 28px;
  }

  body {
    font-size: 18px;
    line-height: 26px;
  }

  .btn-cta,
  .btn-normal,
  a {
    font-size: 18px;
    line-height: 30px;
  }

  .label {
    font-size: 16px;
    line-height: 24px;
  }

  .btn-cta,
  .btn-normal {
    display: block;
  }
}

@media (max-width: 375px) {
  /*h1 {
		font-size: 80px;
		line-height: 96px;
	}

	h2 {
		font-size: 32px;
		line-height: 36px;
	}*/

  h3 {
    font-size: 28px;
    line-height: 32px;
  }

  h4 {
    font-size: 24px;
    line-height: 32px;
  }

  h5 {
    font-size: 20px;
    line-height: 28px;
  }

  body {
    font-size: 18px;
    line-height: 26px;
  }

  .btn-cta,
  .btn-normal,
  a {
    font-size: 18px;
    line-height: 30px;
  }

  .label {
    font-size: 16px;
    line-height: 24px;
  }
}

/* botones */
.btn-cta {
  background-color: var(--electrifying-lime);
  border-radius: 50px;
  padding: 0.5rem 1.75rem;
  font-weight: bold;
  font-family: "Smart Bold", sans-serif;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  transform: 0.1s opacity;
}

.btn-cta-expanded {
  display: block;
  width: 89%;
}

.btn-cta:hover {
  border: var(--smart-black) 1px solid;
  background-color: var(--electrifying-lime);
  text-decoration: none;
  color: var(--smart-white);
  opacity: 0.8;
  transform: 0.1s opacity;
}

.btn-normal {
  background-color: var(--smart-white);
  border-radius: 50px;
  padding: 0.5rem 1.75rem;
  font-weight: bold;
  font-family: "Smart Bold", sans-serif;
  border: var(--smart-black) 1px solid;
  color: var(--smart-black);
}

.btn-normal:hover {
  background-color: var(--smart-black);
  color: white;
  text-decoration: none;
}

.bold {
  font-family: "Smart Bold", sans-serif;
}

/* header */
header ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

header ul li {
  display: inline;
}

#menuppal .btn-cta {
  width: 100%;
  padding: 1rem 3rem;
}

#menuppal .btn-cta:hover {
  text-decoration: none;
}

#menuppal {
  border: var(--smart-black) 1px solid;
  border-radius: 50px;
  padding: 0.5rem;
  background-color: var(--smart-white);
}

#menuppal img {
  max-width: 55px;
}

.abrir {
  background-image: url(../img/smart-icon-menu.jpg);
  background-size: contain;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-repeat: no-repeat;
}

.cerrar {
  background-image: url(../img/cerrar.svg);
  background-size: 60%;
  width: 65px;
  height: 65px;
  background-repeat: no-repeat;
  border: var(--smart-black) 1px solid;
  border-radius: 100%;
  background-position: center center;
}

.cerrar:hover {
  background-color: var(--grey-07);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

#menuoculto {
  border: var(--smart-black) 1px solid;
  border-radius: 25px;
  padding: 2rem 1rem;
  background-color: var(--smart-white);
  font-family: "Smart Regular";
}

#menuoculto img {
  max-width: 90px;
}

#menuoculto span {
  font-weight: bold;
  padding-bottom: 1rem;
  display: block;
  font-family: "Smart Bold";
}

#menuoculto li {
  width: 46%;
}

#menuoculto .row>div:nth-child(2) {
  border-left: none;
  border-right: none;
  border-top: #ccc 1px solid;
  border-bottom: #ccc 1px solid;
}

/*2024 act*/
#menuoculto #modelos-nav li {
  width: 100%;
}

#menuoculto #modelos-nav li button {
  width: 100%;
  display: block;
  color: black;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#menuoculto #modelos-nav li button:hover {
  text-decoration: underline;
}

#menuoculto #modelos-nav li button svg {
  border: 1px solid black;
  border-radius: 50%;
  opacity: 0.3;
  padding: 0.2rem;
  rotate: 90deg;
}

#menuoculto #modelos-nav li button.active {
  background-color: transparent;
}

#menuoculto #modelos-nav li button.active svg {
  opacity: 1;
}

#menuoculto .tab-content li {
  width: 100%;
}

/* hero */
#hero {
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 0;
}

#hero h1 {
  color: var(--smart-white);
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 100;
}

#hero.modelo-nuevo h1 {
  color: var(--smart-white);
  line-height: clamp(5rem, 6vw, 6rem);
  font-size: clamp(4rem, 5vw, 5.5rem);
  font-weight: bolder;
}

#hero p {
  color: var(--smart-white);
  line-height: clamp(3.6rem, 6vw, 6rem);
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  font-weight: 400;
}

#hero span {
  display: block;
}

/* 
#hero img {
	max-width: 13rem;
	padding-top: 2rem;
} */

.top-logo {
  max-width: 13rem;
  display: block;
  margin: 0 auto;
}

.bg-hero-desktop,
.bg-hero-mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  z-index: -1;
  object-position: center;
}

.bg-hero-desktop {
  display: none;
}

/*futuro */

#futuro span {
  display: block;
}

#futuro figure {
  overflow: hidden;
  /* border-radius: 1rem; */
}

/*ventajas */
.contenedor-galeria {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  scroll-snap-type: mandatory;
  -webkit-scroll-snap-type: mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.contenedor-galeria .itm {
  min-width: 39%;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  margin-right: 2rem;
  margin-bottom: 2rem;
  border: var(--smart-black) 0 1px solid;
  box-shadow: #cccccc61 2px 2px 6px;
  overflow: hidden;
}

.contenedor-galeria .itm img {
  width: 100%;
  height: auto;
  scale: 1.03;
}

.contenedor-galeria::-webkit-scrollbar {
  width: 100%;
  height: 5px;
}

.contenedor-galeria::-webkit-scrollbar-track {
  background: 0 0;
}

.contenedor-galeria::-webkit-scrollbar-thumb {
  background: var(--grey-03);
  border-radius: 5rem;
}

.contenedor-galeria::-webkit-scrollbar-thumb:hover {
  background: var(--electrifying-lime);
}

.infofoto {
  padding: 2rem;
}

@media (max-width: 991px) {
  .contenedor-galeria .itm {
    min-width: 50%;
  }
}

@media (max-width: 768px) {
  .contenedor-galeria .itm {
    min-width: 100%;
  }
}

.infofototexto h3 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.9;
  font-size: 1.5rem;
  font-family: "Smart Bold", sans-serif;
}

.arrow-btn {
  background-position: center;
  background-image: url(../img/right_arrow.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: none;
  opacity: 0.65;
  transition: 0.3s ease-in-out;
}

.arrow-btn.back {
  rotate: 180deg;
}

.arrow-btn:hover {
  opacity: 1;
}

/* modelos */
.page-template-t-modelo #hero h1 {
  color: var(--smart-white);
  line-height: clamp(5rem, 6vw, 6rem);
  font-size: clamp(4rem, 5vw, 5.5rem);
  font-weight: bolder;
}

.ficha {
  padding: 2rem;
  border-radius: 0;
}

.ficha:hover {
  box-shadow: var(--grey-10) 4px 4px 12px;
  cursor: pointer;
}

.ficha img.model {
  max-width: 80%;
  margin: 3rem auto;
  display: block;
}

.ficha .caracteristicas {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.titulocaracteristicas {
  font-weight: bold;
  display: block;
  font-family: "Smart Sans Bold", sans-serif;
}

.ficha .btn-cta {
  margin-bottom: 3rem;
}

.imgcolores {
  max-width: 80%;
  display: block;
  margin: 2rem auto;
}

.ficha-muestras {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  justify-content: center;
  margin: 1rem 0 2rem 0;
}

.ficha-muestras img {
  aspect-ratio: 1;
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 991px) {
  .ficha {
    box-shadow: var(--grey-10) 4px 4px 12px;
  }
}

/*ficha técnica de plantilla modelo*/
#ficha-tecnica {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#ficha-tecnica .card {
  padding: 2rem;
  border-radius: 0rem;
  height: 100%;
  border: 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
}

#ficha-tecnica .card img {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
}

#ficha-tecnica .card span {
  font-size: 1.5rem;
  line-height: 1.8rem;
  font-weight: bold;
  font-family: "Smart Bold";
  display: block;
  margin-bottom: 0.7rem;
}

#ficha-tecnica .muestras {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#ficha-tecnica .muestras img {
  aspect-ratio: 1;
  width: 1.5rem;
  height: 1.5rem;
}

/*carrusel galería*/
#carrusel-modelo .carousel-item {
  overflow: hidden;
  border-radius: 0rem;
}

#carrusel-modelo .carousel-indicators {
  position: relative;
  margin: 2rem 0;
  display: flex;
  gap: 0.75rem;
}

#carrusel-modelo .carousel-indicators button {
  background-color: white;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--grey-03);
}

#carrusel-modelo .carousel-indicators button.active {
  background-color: var(--electrifying-lime);
}

#carrusel-modelo .carousel-control-next-icon,
#carrusel-modelo .carousel-control-prev-icon {
  filter: invert(1);
  border: 1px solid white;
  border-radius: 50%;
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  width: 3rem;
  height: 3rem;
}

/*detalles*/
#detalles figure {
  overflow: hidden;
  border-radius: 1rem;
}

/*contacto*/

.fichacontacto {
  padding: 2rem;
  background-color: var(--smart-white);
}

.iconocontacto {
  max-width: 50px;
  width: 24px;
}

.fichacontacto ul {
  list-style: none;
  padding: 1rem 0;
}

.fichacontacto ul li {
  font-weight: bold;
  margin-bottom: 1rem;
}

#contacto {
  background-image: url(../img/smartcentro-cta-section-bg-2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.encuentranos figure {
  overflow: hidden;
}

.encuentranos img {
  scale: 1.04;
}

/*--Página de contacto--*/
.page-hero {
  /* 	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url(../img/contacto-bg.jpg); */
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  margin-bottom: 5rem;
}

.page-hero h1 {
  color: white;
}

.contacto-icons a {
  padding: 0.5rem;
  border: 1px solid var(--grey-01);
  border-radius: 50%;
}

.contacto-icons a svg {
  width: 2rem;
  height: 2rem;
}

.encuentranos .card {
  border: 0;
}

.encuentranos .card h3 {
  font-family: "Smart bold";
}

.encuentranos .card a img {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem;
}

/*--Pruébalo--*/
#pasos {
  position: sticky;
  top: 1rem;
  left: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

#pasos .nav {
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

#pasos .nav::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--grey-10);
  z-index: -1;
}

#pasos .nav li {
  width: 30%;
}

#pasos .nav li a {
  background: white;
  border: 1px solid var(--grey-10);
  border-radius: 5rem;
  text-decoration: none;
  color: var(--grey-08);
  padding: 0.5rem;
}

#pasos .nav li a span:first-child {
  width: 2rem;
  height: 2rem;
  background-color: white;
  border: 1px solid var(--grey-10);
  border-radius: 50%;
  margin-right: 1rem;
  justify-content: center;
  color: var(--smart-black);
}

#pasos .nav li a.active {
  background-color: var(--electrifying-lime);
  color: var(--smart-white);
  border: 1px solid var(--electrifying-lime);
}

.prueba-linea {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.prueba-linea .card {
  border: 0;
  border-radius: 0rem;
  transition: 0.3s ease-in-out;
  padding: 1rem 1rem 0 1rem;
  position: relative;
  overflow: hidden;
  z-index: 0;
  justify-content: space-between;
  height: 100%;
}

.prueba-linea .card img {
  z-index: 0;
}

.prueba-linea input[type="radio"] {
  align-self: start;
}

.prueba-linea input[type="radio"]:after {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
}

.prueba-linea .card:hover {
  transition: 0.3s ease-in-out;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
  cursor: pointer;
}

.prueba-linea input[type="radio"] {
  position: relative;
}

.prueba-linea input[type="radio"]:checked::before {
  content: "";
  background-color: var(--electrifying-lime);
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: 50%;
}

.prueba-linea input[type="radio"]:checked+*+label {
  background-color: var(--electrifying-lime) !important;
  color: var(--smart-white);
}

.prueba-ubicacion .ratio {
  overflow: hidden;
  border-radius: 0rem;
  aspect-ratio: 1/2;
}

.prueba-ubicacion .ratio iframe {
  filter: saturate(0);
}

.prueba-ubicacion .nav-pills {
  gap: 2rem;
}

.prueba-ubicacion .nav-pills .nav-link {
  border-radius: 0;
  color: var(--grey-01);
  padding: 1rem;
  border-left: var(--grey-06) 4px solid;
  text-align: start;
  font-size: 1rem;
  position: relative;
}

.prueba-ubicacion .nav-pills .nav-link::after {
  content: "";
  width: 1rem;
  height: 1rem;
  top: 1rem;
  right: 1rem;
  border-radius: 50%;
  border: 1px solid var(--grey-03);
  position: absolute;
  transition: 0.1s ease-in-out;
}

.prueba-ubicacion .nav-pills .nav-link img {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}

.prueba-ubicacion .nav-pills .nav-link span {
  display: block;
  font-weight: bold;
}

.prueba-ubicacion .nav-pills .nav-link span+span {
  font-weight: 500;
}

.prueba-ubicacion .nav-pills .nav-link.active {
  background-color: white;
  border-left: var(--electrifying-lime) 4px solid;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0 24px;
}

.prueba-ubicacion .nav-pills .nav-link.active::after {
  border: 1px solid var(--electrifying-lime);
  background-color: var(--electrifying-lime);
}

.nav-link.active.active-block {
  border-left: var(--grey-06) 4px solid !important;
  background-color: none !important;
  box-shadow: none !important;
}

.nav-link.active.active-block::after {
  border: 1px solid var(--grey-03) !important;
  background-color: transparent !important;
}

.prueba-ubicacion .tab-pane {
  position: relative;
}

.prueba-ubicacion .tab-pane .ubicard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  min-width: 20rem;
  transform: translate(-50%, -50%);
  z-index: 1;
  overflow: hidden;
  border-radius: 0rem;
  background-color: white;
  padding: 0 !important;
  border: none !important;
}

.prueba-ubicacion .tab-pane .ubicard .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.prueba-ubicacion .tab-pane .ubicard img {
  object-fit: cover;
  height: 100%;
  object-position: center;
}

.prueba-ubicacion .cardinfo {
  padding: 1rem;
}

.prueba-ubicacion .tab-pane .cardinfo h3,
.prueba-ubicacion .tab-pane .cardinfo p {
  font-size: 1rem;
}

.nf-form-content {
  max-width: unset !important;
}

/*--Ofertas--*/
#ofertas {
  padding-top: 5rem;
}

#ofertas .card {
  box-shadow: var(--grey-10) 0 0 24px 0;
  border-radius: 0;
  padding: 3rem 1rem;
  border: none;
}

#ofertas .card h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: clamp(2.3rem, 9vw, 3rem);
  margin-bottom: 2rem;
}

/*Formulario (Ninja Forms - se mantiene)*/
.nf-form-content .list-select-wrap .nf-field-element>div,
.nf-form-content input:not([type="button"]),
.nf-form-content textarea {
  border-radius: 2rem !important;
  border: 1px solid var(--grey-01) !important;
  background: white !important;
}

.nf-form-content input::-webkit-input-placeholder,
.nf-form-content textarea::-webkit-input-placeholder {
  /* Edge */
  color: var(--grey-07);
}

.nf-form-content input:-ms-input-placeholder,
.nf-form-content textarea:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--grey-07);
}

.nf-form-content input::placeholder,
.nf-form-content textarea::placeholder {
  color: var(--grey-07);
}

.checkbox-container.label-right label:after {
  border-radius: 50%;
  border: 1px solid var(--grey-01) !important;
  background-color: white !important;
}

.nf-error.field-wrap .nf-field-element:after {
  border-radius: 50% !important;
  top: 8px !important;
  right: 11px !important;
  display: flex !important;
  align-items: center !important;
  text-align: center !important;
  justify-content: center !important;
  bottom: unset !important;
  height: 2rem !important;
  width: 2rem !important;
  line-height: 0 !important;
}

.field-wrap input[type="submit"] {
  background-color: var(--electrifying-lime) !important;
  border-radius: 50px !important;
  padding: 1rem 4rem !important;
  font-weight: bold !important;
  font-family: "Smart Bold", sans-serif !important;
  text-decoration: none !important;
  font-size: 20px !important;
  line-height: 0 !important;
  border: 0 !important;
  color: var(--grey-01) !important;
  transition: 0s !important;
}

.field-wrap input[type="submit"]:hover {
  border: 1px solid var(--grey-01) !important;
}

/*---Nueva Home 2024----*/

.nueva-home-hero {
  background-color: var(--grey-01);
  overflow: clip;
}

#hero-home-video {
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(calc((100% - 100vw) / 2));
  z-index: -1;
  min-width: 105%;
  min-height: 100%;
  opacity: 0.7;
}

#hero-home-video.movil {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.nueva-home #futuro-img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/*---WPForms (migrado desde Contact Form 7)----*/

/* Labels e inputs ocupan todo el ancho */
.wpforms-container label,
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
  width: 100%;
}

/* Inputs de texto, select y textarea */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container input[type="number"],
.wpforms-container input[type="password"],
.wpforms-container input[type="date"],
.wpforms-container select,
.wpforms-container textarea {
  border: 1px solid var(--grey-01) !important;
  border-radius: 4rem !important;
  font-size: 1rem !important;
  color: var(--grey-03) !important;
  margin-top: 1rem !important;
}


.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="url"],
.wpforms-container input[type="number"],
.wpforms-container input[type="password"],
.wpforms-container input[type="date"],
.wpforms-container select,
.wpforms-container textarea {
  padding: .5ren;
}

.wpforms-container textarea {
  border-radius: 2rem !important;
}

/* Placeholders */
.wpforms-container input::-webkit-input-placeholder,
.wpforms-container textarea::-webkit-input-placeholder {
  color: var(--grey-07);
}

.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
  color: var(--grey-07);
}

/* Checkbox de aceptación / consentimiento (equivalente a wpcf7-acceptance) */
.wpforms-container .wpforms-field-checkbox ul li label,
.wpforms-container .wpforms-field-gdpr-checkbox ul li label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wpforms-container .wpforms-field-checkbox label,
.wpforms-container .wpforms-field-checkbox label a,
.wpforms-container .wpforms-field-gdpr-checkbox label,
.wpforms-container .wpforms-field-gdpr-checkbox label a {
  font-size: 0.9rem;
}

.wpforms-container .wpforms-field-checkbox input[type="checkbox"],
.wpforms-container .wpforms-field-gdpr-checkbox input[type="checkbox"] {
  width: 1.5rem !important;
  margin: 0 !important;
}

/* Mensajes de error de campo (equivalente a wpcf7-not-valid-tip) */
.wpforms-container .wpforms-error {
  font-size: 0.9rem;
}

/* Botón de envío */
.wpforms-container button[type="submit"],
.wpforms-container input[type="submit"],
.wpforms-container .wpforms-submit {
  background-color: var(--electrifying-lime) !important;
  border-radius: 50px !important;
  padding: 1.5rem 4rem !important;
  font-weight: bold !important;
  font-family: "Smart Bold", sans-serif !important;
  text-decoration: none !important;
  font-size: 20px !important;
  line-height: 0 !important;
  border: 0 !important;
  color: var(--smart-white) !important;
  transition: 0s !important;
}


/*--- Legales ---*/
.page-template-t-legales h1 {
  font-size: 3rem;
  line-height: 3.5rem;
  margin-bottom: 2rem;
}

.page-template-t-legales h2 {
  font-size: 1.8rem;
  line-height: 2rem;
}

.page-template-t-legales h3 {
  font-size: 1.6rem;
  line-height: 1.8rem;
}

.wp-block-media-text>.wp-block-media-text__media,
.wp-block-column figure {
  overflow: hidden;
}

.wp-block-media-text__media img,
.wp-block-media-text__media video,
.wp-block-image img {
  scale: 1.05;
}



/* footer */
footer {
  background-color: var(--smart-black);
  color: var(--smart-white);
  padding-bottom: 10rem;
  padding-top: 3rem;
}

.footerlogo {
  max-width: 140px;
  margin-bottom: 2rem;
}

footer ul {
  list-style: none;
  padding: 2rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
	
}

footer ul li {
  list-style: none;
  margin-bottom: 1rem;
}

footer a,
footer a:hover {
  color: var(--smart-white);
}

.iconorrss {
  max-width: 30px;
  filter: invert(1);
  border: var(--smart-black) 1px solid;
  border-radius: 100%;
  padding: 5px;
}

#rrss li {
  display: inline;
  margin-right: 1rem;
}

#rrss li a {
  height: 2rem;
  padding: 0.3rem;
  border-radius: 50%;
  border: 1px solid white;
  width: 2rem;
  display: inline-flex;
}

#rrss li a img {
  filter: invert(1);
}

@media (max-width: 991px) {
  footer .ullegal li {
    display: inline-block;
    padding-left: 1rem;
  }
}

@media (min-width: 560px) {
  #menuppal .btn-cta {
    padding: 1rem 3rem;
  }

  .ficha .caracteristicas {
    width: 48%;
  }

  #menuoculto .row>div:nth-child(2) {
    border-left: #ccc 1px solid;
    border-right: #ccc 1px solid;
    border-bottom: none;
    border-top: none;
  }

  #menuoculto #modelos-nav li button svg {
    rotate: 0;
  }
}

@media (min-width: 768px) {
  .prueba-ubicacion .ratio {
    aspect-ratio: 4/3;
  }

  .bg-hero-desktop {
    display: block;
  }

  .bg-hero-mobile {
    display: none;
  }
}

/* smart-5 */
.smart-5 {
  /* display: none; */
}

/* countdown */
.countdown-banner {
  background-color: var(--smart-black);
  color: var(--smart-white);
}

.countdown-banner {
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: 600;
}

.countdown>.element_conteiner>span {
  background-color: transparent !important;
  color: var(--smart-white) !important;
  font-family: "Smart Bold" !important;
}

.countdown {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

.countdown-banner .countdown {
  gap: 1.25rem;
}

.countdown>span {
  display: flex;
  align-items: center;
}

.countdown>.element_conteiner:has(.secondes) {
  display: none !important;
}

.countdown .time_left {
  font-size: 3rem !important;
  padding: 0 !important;
  padding-right: 0.5rem !important;
}

.countdown-banner .countdown .time_left {
  font-size: 2rem !important;
}

.countdown .time_description {
  text-transform: lowercase !important;
  font-size: 1rem !important;
}

.countdown-banner .countdown .time_description {
  font-size: 0.8rem !important;
}

.countdown-banner .btn-cta {
  padding: 0.35rem 1.5rem;
  font-size: 1rem;
}

/* slider home*/

.carousel-track {
  scroll-behavior: smooth;
  overflow-x: hidden;
  transition: transform 0.3s ease;
}

.model-carousel-wrapper {
  overflow: hidden;
}

#modelos .carousel-btn {
  z-index: 999;
}

#modelos .carousel-btn:active {
  border: none;
}

#modelos .carousel-control-next-icon,
#modelos .carousel-control-prev-icon {
  filter: invert(1);
  border: 1px solid white;
  border-radius: 50%;
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  width: 3rem;
  height: 3rem;
}

#modelos .indicator-dot {
  padding: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 100%;
  background-color: transparent;
  border: 1px solid var(--smart-black);
  z-index: 99;
}

#modelos .indicator-dot.active {
  background-color: var(--electrifying-lime);
}

/* countdown home  */
#home-countdown .countdown {
  margin-bottom: 0 !important;
}

#home-countdown .content_countdown {
  max-width: fit-content;
  margin: 0 auto;
  padding: 1rem;
  background-color: #1414138c;
  border-radius: 10px;
  margin-top: 2rem;
}

/* popup */
#pum_popup_title_1074 {
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}

#pum-1074 p {
  text-align: center;
}

.pum-theme-1062 .pum-title,
.pum-theme-tema-por-defecto .pum-title {
  font-family: "Smart Bold";
}

#pum-1074 .countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  max-width: fit-content;
  padding: 1rem;
  background-color: #1414138c;
  border-radius: 10px;
}

#pum-1074 .countdown .element_conteiner {
  flex-direction: column;
  justify-content: center;
}

#pum-1074 .countdown .time_left,
#home-countdown .countdown .time_left {
  padding: 0 !important;
}

#pum-1074 img {
  border-radius: 1rem;
  width: 100%;
  max-height: 23rem;
  object-fit: cover;
}

#pum-1074 .btn {
  max-width: 514px;
  width: 100%;
}

#pum-1074 .pum-close.popmake-close {
  background-image: url(../img/cerrar.svg) !important;
  background-size: 60%;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  border: var(--smart-black) 1px solid;
  border-radius: 100%;
  background-position: center center;
  opacity: 0.25;
}

.pum-theme-1062 .pum-container,
.pum-theme-tema-por-defecto .pum-container {
  border-radius: 0 !important;
}

#lo-quiero-form {
  max-width: 514px;
  width: 100%;
  margin: 0 auto;
}

#lo-quiero-form p {
  color: var(--smart-black);
  text-align: start;
}

#lo-quiero-form select {
  border: 1px solid var(--grey-01);
  border-radius: 4rem;
  padding: 0.5rem;
  font-size: 1rem;
  color: var(--grey-03);
  margin-top: 1rem;
  width: 100%;
}

.wpforms-container .wpforms-field input,
#lo-quiero-form select {
  padding: 0.75rem;
}

.wpforms-container .wpforms-field input::placeholder {
  font-weight: 400;
}

/* blog */

.single .single-hero-img {
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(calc((100% - 100vw) / 2));
  z-index: -1;
  min-width: 105%;
  min-height: 100%;
  opacity: 0.7;
  object-fit: cover;
}

.single .title-container {
  height: 25rem;
}

.archive .h2,
.search .h2,
.blog .h2 {
  font-size: 1.6rem;
  line-height: 1.8rem;
  margin-bottom: 1rem;
}

.single h2 {
  font-size: 2rem;
  line-height: 2.2rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.single h3 {
  font-size: 1.8rem;
  line-height: 2rem;
}

.single h4 {
  font-size: 1.6rem;
  line-height: 1.8rem;
}

/* Categorías como badges */
.blog .entry-header .cat-links,
.blog .card-body .cat-links,
.search .entry-header .cat-links,
.search .card-body .cat-links,
.archive .entry-header .cat-links,
.archive .card-body .cat-links {
  font-family: "Smart Bold";
  font-size: 0.9rem;
  color: var(--grey-03);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* Meta: fecha, autor, comentarios */
.blog .entry-meta,
.blog .meta,
.search .entry-meta,
.search .meta,
.archivo .entry-meta,
.archivo .meta,
.single .entry-meta,
.single .meta {
  font-size: 0.85rem;
  color: var(--grey-05);
  font-family: "Smart Sans Regular";
}

/* Cards */
.blog .card,
.search .card,
.archive .card {
  border-radius: 0rem;
  overflow: hidden;
}

/* Imágenes destacadas */
.blog img.card-img-lg-start,
.search img.card-img-lg-start,
.blog img.featured-image,
.search img.featured-image,
.archive img.card-img-lg-start,
.archive img.featured-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin-bottom: 1rem;
}

/* Extracto + Leer más */
.blog .card-text,
.search .card-text,
.archive .card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey-03);
  margin-bottom: 1rem;
}

/* Tags */
.blog .tags,
.search .tags,
.archive .tags,
.single .tags {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--grey-04);
  font-family: "Smart Sans Regular";
}

.blog .tags a,
.search .tags a,
.archive .tags a,
.single .tags a {
  color: var(--grey-04);
  padding-right: 0.5rem;
}

.single .tags a:hover,
.search .tags a:hover,
.archive .tags a:hover,
.blog .tags a:hover {
  color: var(--electrifying-lime);
}

/** Paginación **/

.blog .nav-links,
.archive .nav-links,
.search .nav-links {
  display: flex;
  gap: 0.5rem;
}

/* Estilo de cada número de página */
.blog .page-numbers,
.archive .page-numbers,
.search .page-numbers {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-family: "Smart Bold", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid var(--grey-05);
  color: var(--smart-black);
  transition: all 0.2s ease-in-out;
}

.blog .page-numbers:hover,
.archive .page-numbers:hover,
.search .page-numbers:hover {
  background-color: var(--electrifying-lime);
  color: var(--smart-black);
  border-color: var(--electrifying-lime);
  text-decoration: none;
}

.blog .page-numbers.current,
.archive .page-numbers.current,
.search .page-numbers.current {
  background-color: var(--smart-black);
  color: var(--smart-white);
  border-color: var(--smart-black);
}

/* Flechas de siguiente/anterior */
.archive .page-numbers.next,
.archive .page-numbers.next,
.search .page-numbers.next,
.search .page-numbers.next,
.blog .page-numbers.prev,
.blog .page-numbers.prev {
  border: 1px solid var(--grey-06);
}

.archive .page-numbers.next:hover,
.archive .page-numbers.prev:hover,
.search .page-numbers.next:hover,
.search .page-numbers.prev:hover,
.blog .page-numbers.next:hover,
.blog .page-numbers.prev:hover {
  background-color: var(--electrifying-lime);
  border-color: var(--electrifying-lime);
}

.blog .pagination,
.search .pagination,
.archive .pagination,
.single .pagination {
  margin-top: 2rem;
  justify-content: center;
}

.blog .pagination .page-link,
.search .pagination .page-link,
.archive .pagination .page-link,
.single .pagination .page-link {
  border-radius: 50px;
  padding: 0.5rem 1.75rem;
  font-family: "Smart Bold";
  color: var(--smart-black);
  border: 1px solid var(--smart-black);
  margin: 0 0.25rem;
  transition: 0.2s;
  background-color: var(--smart-white);
  font-family: "Smart Bold", sans-serif;
}

* .pagination .page-link a {
  color: var(--smart-black);
}

.blog .pagination .page-link:hover,
.search .pagination .page-link:hover,
.archive .pagination .page-link:hover,
.single .pagination .page-link:hover {
  background-color: var(--smart-black);
  border-color: var(--smart-black);
}

* .pagination .page-link:hover a {
  text-decoration: none;
  color: white;
}

/* Sidebar */
.search .widget-area,
.archive .widget-area,
.blog .widget-area {
  background-color: var(--grey-11);
  padding: 2rem;
  border-radius: 0;
  font-family: "Smart Sans Regular";
}

.search .widget-area .widget-title,
.archive .widget-area .widget-title,
.blog .widget-area .widget-title {
  font-family: "Smart Bold";
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.search .widget-area .widget,
.archive .widget-area .widget,
.blog .widget-area .widget {
  margin-bottom: 2rem;
}

.search .widget-area .widget h2,
.archive .widget-area .widget h2,
.blog .widget-area .widget h2 {
  font-size: 28px;
  line-height: 32px;
}

.search .widget-area .widget .wp-element-button,
.archive .widget-area .widget .wp-element-button,
.blog .widget-area .widget .wp-element-button {
  background-color: var(--smart-white);
  border-radius: 0 50px 50px 0;
  padding: 0.5rem 1.75rem;
  font-weight: bold;
  font-family: "Smart Bold", sans-serif;
  border: var(--smart-black) 1px solid;
  margin: 0 !important;
}

.search .widget-area .widget .wp-element-button:hover,
.archive .widget-area .widget .wp-element-button:hover,
.blog .widget-area .widget .wp-element-button:hover {
  background-color: var(--smart-black);
  color: white;
  text-decoration: none;
}

.search .widget-area .widget .wp-block-search__input,
.archive .widget-area .widget .wp-block-search__input,
.blog .widget-area .widget .wp-block-search__input {
  background-color: var(--smart-white);
  border-radius: 50px 0 0 50px;
  padding: 0.5rem 1.75rem;
  font-weight: bold;
  font-family: "Smart Bold", sans-serif;
  border: var(--smart-black) 1px solid;
}

.search .widget-area .widget a,
.archive .widget-area .widget a,
.blog .widget-area .widget a {
  color: var(--grey-03);
}

.search .widget-area .widget a:hover,
.archive .widget-area .widget a:hover,
.blog .widget-area .widget a:hover {
  color: var(--electrifying-lime);
}

/* Offcanvas sidebar */
.search .offcanvas.offcanvas-end,
.archive .offcanvas.offcanvas-end,
.blog .offcanvas.offcanvas-end {
  background-color: var(--smart-white);
  border-left: 2px solid var(--grey-09);
  border-radius: 1rem 0 0 1rem;
}

.search .offcanvas-header,
.archive .offcanvas-header,
.blog .offcanvas-header {
  border-bottom: 1px solid var(--grey-10);
}

.search .offcanvas-title,
.archive .offcanvas-title,
.blog .offcanvas-title {
  font-family: "Smart Sans Bold";
  font-size: 1.2rem;
}

.search .btn-close,
.archive .btn-close,
.blog .btn-close {
  background-color: transparent;
  border: 1px solid var(--grey-05);
  border-radius: 50%;
  padding: 0.5rem;
  opacity: 0.6;
}

.search .btn-close:hover,
.archive .btn-close:hover,
.blog .btn-close:hover {
  opacity: 1;
}

/* Botón de abrir menú lateral */
.search .btn-sidebar-toggle,
.archive .btn-sidebar-toggle,
.blog .btn-sidebar-toggle {
  font-size: 1rem;
  background-color: transparent;
  border: 1px solid var(--grey-05);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: "Smart Sans Bold";
  margin-bottom: 1rem;
}

.search .btn-sidebar-toggle:hover,
.archive .btn-sidebar-toggle:hover,
.blog .btn-sidebar-toggle:hover {
  background-color: var(--electrifying-lime);
  border-color: var(--smart-black);
  color: var(--grey-01);
}

.single .entry-footer,
.search .entry-footer,
.archive .entry-footer,
.blog .entry-footer {
  background-color: var(--smart-white);
}


/* ==== pagina 404 ==== */
.pagina-404 {
  background-color: var(--smart-paper);
}

.pagina-404 .error-404-hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(7rem, 10vw, 9rem);
  background:
    linear-gradient(110deg, rgba(11, 11, 11, 0.9) 0%, rgba(11, 11, 11, 0.78) 43%, rgba(11, 11, 11, 0.18) 100%),
    url("../img/smart-hero.jpg") center / cover no-repeat;
  color: var(--smart-white);
  isolation: isolate;
}

.pagina-404 .error-404-logo-link {
  display: inline-block;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.pagina-404 .error-404-content {
  min-height: calc(100svh - 14rem);
}

.pagina-404 .error-404-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--smart-white);
  font-family: "Smart Sans Bold", sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.pagina-404 h1 {
  margin-bottom: 1.5rem;
  color: var(--smart-white);
  line-height: 0.9;
  text-wrap: balance;
}

.pagina-404 .lead {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.pagina-404 .error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagina-404 .error-404-vehicle {
  position: relative;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.32);
}

.pagina-404 .error-404-vehicle img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.pagina-404 .error-404-links {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background-color: var(--smart-surface);
}

.pagina-404 .error-404-link-card {
  display: flex;
  min-height: 10rem;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--smart-line);
  border-radius: 0.5rem;
  background-color: var(--smart-white);
  color: var(--grey-03);
  box-shadow: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.pagina-404 .error-404-link-card span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--smart-ink);
  font-family: "Smart Sans Bold", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.pagina-404 .error-404-link-card:hover {
  border-color: rgba(20, 20, 19, 0.26);
  box-shadow: var(--smart-shadow-soft);
  color: var(--grey-03);
  text-decoration: none;
  transform: translateY(-0.35rem);
}

.pagina-404 .error-404-link-card:hover span {
  color: var(--electrifying-lime);
}

@media (max-width: 991px) {
  .pagina-404 .error-404-hero {
    background:
      linear-gradient(180deg, rgba(11, 11, 11, 0.88) 0%, rgba(11, 11, 11, 0.62) 58%, rgba(11, 11, 11, 0.28) 100%),
      url("../img/smart-hero.jpg") center / cover no-repeat;
  }

  .pagina-404 h1,
  .pagina-404 .lead {
    margin-inline: auto;
  }

  .pagina-404 .error-404-actions {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .pagina-404 .error-404-hero {
    padding-bottom: 8rem;
  }

  .pagina-404 .error-404-logo-link {
    margin-bottom: 2rem;
  }

  .pagina-404 .error-404-kicker {
    justify-content: center;
  }

  .pagina-404 h1 {
    max-width: 8ch;
    font-size: clamp(3rem, 17vw, 4.5rem);
  }
}