@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-BoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-SmBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-SmBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
}

:root {
  --smarthouse-white: #FFFEFF;
  --smarthouse-green: #00A443;
  --smarthouse-dark: #00402A;
  --smarthouse-brown: #615D5A;
  --smarthouse-border: #D8CFC7;
  --smarthouse-orange: #FF9C1A;
}

#smarthouse {
  width: 100%;
  max-width: 980px;
  padding: 16px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background-color: var(--smarthouse-white);
  border: 1px solid var(--smarthouse-border);
}

#smarthouse * {
  font-family: 'IberPangea' !important;
  font-style: normal;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* El TAMANO tambien se declara. Solo estaba la familia, asi que el tamano se HEREDABA — y la
     herencia pierde contra cualquier regla del theme, por debil que sea: un `strong{font-size:13px}`
     del CMS bastaba para dejar los tramos en negrita un tamano por debajo del texto normal en tablet
     y movil. Es justo lo que reporto el cliente en septiembre de 2026.
     `inherit` ES una declaracion (1-0-0, gana al theme) y conserva el valor del padre, asi que no
     cambia nada de como se ve. Y sin `!important`, para que nuestras propias reglas
     `#smarthouse .clase` (1-1-0) sigan mandando donde el diseno pide otro tamano. */
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

#smarthouse h2 {
  margin-top: 0 !important;
}

#smarthouse ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#smarthouse ul li:before {
  content: none !important;
  display: none !important;
}

#smarthouse picture,
#smarthouse img {
  display: block;
  width: 100%;
}

#smarthouse .smarthouse_description {
  color: var(--smarthouse-brown) !important;
  font-size: 18px;
  line-height: 1.27;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  width: 92%;
  max-width: 549px;
  margin-bottom: 30px;
}

#smarthouse .smarthouse_description strong {
  font-weight: 600;
}

#smarthouse .smarthouse_inner {
  position: relative;
}

/* Con un modal abierto, los puntos dejan de ser pulsables: antes seguian respondiendo aunque la
   ilustracion estuviera atenuada, y se podian encadenar modales. `pointer-events` cubre el raton;
   del teclado se encarga el JS quitandoles el `tabindex`. */
#smarthouse.inactive .smarthouse_point {
  pointer-events: none;
}

#smarthouse.inactive .smarthouse_cloud,
#smarthouse.inactive .smarthouse_media {
  opacity: 0.2;
}

#smarthouse .smarthouse_cloud {
  max-width: 260px;
  display: flex;
  margin: 0 auto 14px;
  position: relative;
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

#smarthouse .smarthouse_cloud ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}

#smarthouse .smarthouse_cloud li {
  color: var(--smarthouse-brown) !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 400;
}

#smarthouse .smarthouse_cloud li:nth-of-type(1) {
  width: 100%;
  text-align: center;
  margin-bottom: auto;
}

#smarthouse .smarthouse_cloud li:nth-of-type(2) {
  width: 50%;
  text-align: left;
  margin-right: auto;
  margin-bottom: 38px;
  margin-top: auto;
}

#smarthouse .smarthouse_cloud li:nth-of-type(3) {
  width: 50%;
  text-align: right;
  margin-left: auto;
  margin-bottom: 38px;
  margin-top: auto;
}

#smarthouse .smarthouse_cloud img {
  max-width: 178px;
  margin: 28px auto 0;
}

#smarthouse .smarthouse_media {
  position: relative;
  max-width: 288px;
  margin: 0 auto;
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

#smarthouse .smarthouse_media_text {
  position: absolute;
  color: var(--smarthouse-brown) !important;
  font-size: 12px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  max-width: 103px;
  right: 0;
  top: 40px;
}

#smarthouse .smarthouse_point {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/smart-clientes-casa/images/ico-mas.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
  /* Los % de abajo son del CENTRO del punto, no de su esquina: con `translate` el punto cae
     donde dice el porcentaje sea cual sea el tamano de la imagen. Antes eran de esquina y el
     desfase de 16px se movia con el ancho del tramo. */
  transform: translate(-50%, -50%);
}

/* Posiciones medidas sobre la ILUSTRACION NUEVA (2026): se comprobo una a una que el punto cae
   sobre su elemento — 1 placas solares, 2 aire acondicionado, 3 cocina, 4 coche. El lienzo nuevo
   crecio por arriba (torres) y por la derecha, asi que los valores viejos ya no valian. */
#smarthouse .smarthouse_point:nth-of-type(1) {
  top: 36%;
  left: 38%;
}

#smarthouse .smarthouse_point:nth-of-type(2) {
  top: 44%;
  left: 6%;
}

#smarthouse .smarthouse_point:nth-of-type(3) {
  top: 71%;
  left: 16%;
}

#smarthouse .smarthouse_point:nth-of-type(4) {
  top: 79%;
  left: 63%;
  right: auto;
}

#smarthouse .smarthouse_modal {
  border-radius: 15px;
  border: 1px solid var(--smarthouse-border);
  background: var(--smarthouse-white);
  padding: 56px 16px 11px;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  max-width: 288px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

#smarthouse .smarthouse_modal.active {
  opacity: 1;
  visibility: visible;
}

#smarthouse .smarthouse_modal_close {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/smart-clientes-casa/images/ico-cerrar.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
  top: 16px;
  right: 16px;
}

#smarthouse .smarthouse_modal_media {
  margin-bottom: 15px;
}

#smarthouse .smarthouse_modal_media picture + picture {
  margin-top: 16px;
}

#smarthouse .smarthouse_modal_logo {
  max-height: 78px;
  margin-left: auto;
  margin-right: 0;
  object-fit: contain;
  object-position: right center;
}


@media (min-width: 700px) {

  #smarthouse .hide-tablet {
    display: none !important;
  }

  #smarthouse {
    padding: 32px;
  }

  #smarthouse .smarthouse_description {
    font-size: 20px;
    line-height: 1.3;
  }

  #smarthouse .smarthouse_cloud {
    max-width: 200px;
    margin-bottom: 20px;
  }

  #smarthouse .smarthouse_cloud img {
    max-width: 163px;
  }

  #smarthouse .smarthouse_cloud li:nth-of-type(2),
  #smarthouse .smarthouse_cloud li:nth-of-type(3) {
    margin-bottom: 29px;
  }

  #smarthouse .smarthouse_cloud li:nth-of-type(3) {
    transform: translateX(40px);
  }

  #smarthouse .smarthouse_media {
    max-width: 484px;
  }

  #smarthouse .smarthouse_media_text {
    font-size: 16px;
    max-width: 190px;
    right: -10px;
    top: 55px;
  }

  #smarthouse .smarthouse_point:nth-of-type(1) {
    top: 26%;
    left: 42%;
  }

  #smarthouse .smarthouse_point:nth-of-type(2) {
    top: 33%;
    left: 3%;
  }

  #smarthouse .smarthouse_point:nth-of-type(3) {
    top: 71%;
    left: 16%;
  }

  #smarthouse .smarthouse_point:nth-of-type(4) {
    top: 79%;
    left: 74%;
    right: auto;
  }

  #smarthouse .smarthouse_modal {
    max-width: 372px;
    padding: 62px 24px 24px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal2 {
    max-width: 267px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal3 {
    max-width: 483px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal4 {
    max-width: 328px;
  }

  #smarthouse .smarthouse_modal_close {
    top: 23px;
    right: 22px;
  }

  #smarthouse .smarthouse_modal_media {
    margin-bottom: 18px;
  }

  #smarthouse .smarthouse_modal_logo {
    max-height: 93px;
  }

}

@media (min-width: 1080px) {

  #smarthouse .smarthouse_inner {
    max-width: 917px;
    display: flex;
  }

  #smarthouse .smarthouse_media {
    order: -1;
    max-width: 637px;
    margin-left: 0;
    margin-right: 25px;
  }

  /* La ilustracion nueva ocupa con las torres el hueco donde vivia este texto, asi que se sube
     a la banda libre de arriba. Posicion ajustada y validada por el usuario (15 sep 2026). */
  #smarthouse .smarthouse_media_text {
    top: 10px;
    right: 45px;
  }

  #smarthouse .smarthouse_cloud {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0;
    margin-right: auto;
  }

  #smarthouse .smarthouse_cloud {
    max-width: 203px;
  }

  #smarthouse .smarthouse_cloud img {
    max-width: 203px;
    min-width: 203px;
    margin-top: 10px;
  }

  #smarthouse .smarthouse_cloud li:nth-of-type(2),
  #smarthouse .smarthouse_cloud li:nth-of-type(3) {
    margin-bottom: 43px;
  }

  #smarthouse .smarthouse_cloud li:nth-of-type(2) {
    transform: translateX(-25px);
  }

  #smarthouse .smarthouse_point:hover {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/smart-clientes-casa/images/ico-mas-hover.svg');
  }

  #smarthouse .smarthouse_point:nth-of-type(1) {
    top: 22%;
    left: 40%;
  }

  #smarthouse .smarthouse_point:nth-of-type(2) {
    top: 29%;
    left: 3%;
  }

  #smarthouse .smarthouse_point:nth-of-type(4) {
    top: 76%;
    left: 71%;
    right: auto;
  }

  #smarthouse .smarthouse_point:nth-of-type(3) {
    top: 66%;
    left: 15%;
  }

  #smarthouse .smarthouse_modal {
    padding: 24px;
    display: flex;
    flex-direction: row;
  }

  #smarthouse .smarthouse_modal#smarthouseModal1 {
    max-width: 695px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal2 {
    max-width: 544px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal3 {
    max-width: 816px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal4 {
    max-width: 727px;
  }

  #smarthouse .smarthouse_modal_logo {
    margin-top: auto;
    max-width: 211px;
    margin-left: 32px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal3 .smarthouse_modal_logo {
    max-width: 221px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal4 .smarthouse_modal_logo {
    max-width: 259px;
  }

  #smarthouse .smarthouse_modal_media {
    margin-bottom: 0;
    margin-right: auto;
  }

}