/* FONTS */
@font-face {
  font-family: "Nunito";
  src: url("./../fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: "Nunito Bold";
  src: url("./../fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: "Nunito Italic";
  src: url("./../fonts/Nunito-Italic-VariableFont_wght.ttf") format("truetype");
}
@font-face {
  font-family: "Playfair Display";
  src: url("./../fonts/PlayfairDisplay-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: "Playfair Display Bold";
  src: url("./../fonts/PlayfairDisplay-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: "Playfair Display Italic";
  src: url("./../fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf")
    format("truetype");
}

/* COMMON */
:root {
  --font-primary: "Nunito", Arial, Helvetica, sans-serif;
  --font-primary-bold: "Nunito Bold", Arial, Helvetica, sans-serif;
  --font-secondary: "Playfair Display", Arial, Helvetica, sans-serif;
  --font-secondary-bold: "Playfair Display Bold", Arial, Helvetica, sans-serif;

  --color-text: #343434;
  --color-link: #343434;
  --color-link-hover: #343434;

  --form-input-color: #000000;
  --form-label-color: #000000;
  --form-label-active-color: #000000;
  --form-placeholder-color: #000000;
  --form-preguntas-question-color: #ffffff;
  --form-input-backgroud-color: white;
  --form-text-size: 16px;

  --color-primary: #9ba378;
  --color-primary-dark: #5a613e;
  --color-primary-light: #edefe9;

  --color-secondary: #343434;
  --color-secondary-dark: #1a1a1a;
  --color-secondary-light: #515151;

  --color-tertiary: #666666;
  --color-tertiary-dark: #333333;
  --color-tertiary-light: #999999;

  --color-cuaternary: #ebd9d9;
  --color-cuaternary-dark: #c1b3b3;
  --color-cuaternary-light: #f7f1f1;

  --color-list-bg: #ffffff;
  --color-list-bg-light: #eeeeee;

  --color-admin-area-bg: #fafafa;
  --color-admin-area-bg-dark: #333333;
  --color-admin-area-border: #dddddd;
  --color-admin-area-button-bg: #fafafa;
  --color-admin-area-button-bg-hover: #ffffff;
  --color-admin-area-ok: #1ba2c0;
  --color-admin-area-ok-hover: #0fc2ea;
  --color-admin-area-ko: #c34a4a;
  --color-admin-area-ko-hover: #e63434;

  --padding-container-x: 120px;
  --padding-container-y: 120px;

  --max-width-container: 2250px; /* ¡Ojo! Cambiar también en los márgenes de los elementos de la cabecera y contacto */
  --max-width-container-semi-narrow: 1600px;
  --max-width-container-narrow: 1350px;
  --max-width-container-super-narrow: 900px;
  --max-width-container-ultra-narrow: 600px;

  --height-header-top-bar: 120px;
}

@media (max-width: 1200px) {
  :root {
    --padding-container-x: 80px;
    --padding-container-y: 80px;
  }
}
@media (max-width: 992px) {
  :root {
    --padding-container-x: 40px;
    --padding-container-y: 80px;

    --height-header-top-bar: 90px;
  }
}
@media (max-width: 420px) {
  :root {
    --padding-container-x: 30px;
    --padding-container-y: 60px;
  }
}
.hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
* {
  box-sizing: border-box;
  font-family: var(--font-primary);
}
html,
body {
  overflow-x: hidden;
}
body {
  position: relative;
}
a {
  color: var(--color-link);
  text-decoration: none;
}
a:hover {
  color: var(--color-link-hover);
  text-decoration: none;
}
strong,
b {
  font-family: var(--font-primary-bold);
  font-weight: 600;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 36px;
}
h3,
h3 a {
  font-size: 28px;
}
@media (max-width: 992px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3,
  h3 a {
    font-size: 22px;
  }
}
p,
span,
a,
ul,
li,
.button {
  font-size: 22px;
}
@media (max-width: 992px) {
  p,
  span,
  a,
  ul,
  li,
  .button {
    font-size: 16px;
  }
}
p,
span,
ul,
li {
  color: var(--color-text);
}
i,
div span,
p span,
a span,
li span,
span span,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}
figure {
  margin-bottom: 0px;
}
::selection {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}
img {
  width: 100%;
  height: auto;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.section {
  display: flex;
  justify-content: center;
  background-color: white;
}
.section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--max-width-container);
  padding: var(--padding-container-y) var(--padding-container-x);
  margin: 0;
  z-index: 1;
}
.section .container > * {
  width: 100%;
}
.section .container .section-header {
  padding-inline: var(--padding-container-x);
}
@media (max-width: 992px) {
  .section .container .section-header {
    padding-top: var(--padding-container-y);
  }
}

.container.semi-narrow,
.semi-narrow {
  max-width: var(--max-width-container-semi-narrow);
}
.container.narrow,
.narrow {
  max-width: var(--max-width-container-narrow);
}
.container.super-narrow,
.super-narrow {
  max-width: var(--max-width-container-super-narrow);
}
.container.ultra-narrow,
.ultra-narrow {
  max-width: var(--max-width-container-ultra-narrow);
}

.button {
  display: inline-block;
  padding: 12px 40px;
  cursor: pointer;
  text-align: center;
  border-radius: 30px;
  transition: all 250ms ease-in-out;
}
.button:hover {
  transition: all 250ms ease-in-out;
}
.main-header .button {
  color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-primary);
}
.main-header .button:hover {
  color: white;
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.button {
  color: var(--color-text);
  background-color: rgba(147, 164, 115, 0.2);
  border: 1px solid var(--color-primary);
}
.button:hover {
  color: white;
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.section .section-header {
  text-align: center;
}
.section .section-header:has(+ div) {
  margin-bottom: calc(var(--padding-container-y) / 2);
}
.section .section-title {
  font-family: var(--font-secondary);
}
.section .section-title:has(+ p) {
  margin-bottom: 60px;
}
.section p.section-text {
  margin-bottom: 0;
}
.section .section-text:has(+ .button) {
  margin-bottom: 60px;
}

.section.dark {
  background-color: var(--color-primary);
}
.section.darker {
  background-color: var(--color-secondary);
}
.section.light {
  background-color: white;
}
.section.lighter {
  background-color: var(--color-primary-light);
}

.section.dark .section-title {
  color: white;
}
.section.dark .section-text {
  color: white;
}
.section.darker .section-title {
  color: var(--color-primary);
}
.section.darker .section-text {
  color: white;
}
.section.light .section-title {
  color: var(--color-primary);
}
.section.light .section-text {
  color: var(--color-text);
}
.section.lighter .section-title {
  color: var(--color-primary);
}
.section.lighter .section-text {
  color: var(--color-text);
}

.section.light .button {
  color: var(--color-primary);
  background-color: white;
  border: 1px solid var(--color-primary);
}
.section.light .button:hover {
  color: white;
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.section.lighter .button {
  color: var(--color-primary);
  background-color: white;
  border: 1px solid var(--color-primary);
}
.section.lighter .button:hover {
  color: white;
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.section.dark .button {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
}
.section.dark .button:hover {
  color: var(--color-primary);
  background-color: white;
  border: 1px solid white;
}
.section.darker .button {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
}
.section.darker .button:hover {
  color: var(--color-primary);
  background-color: white;
  border: 1px solid white;
}

.section.vertical .section-header {
  text-align: left;
  margin-bottom: 0;
}
.section.vertical .container {
  flex-direction: row;
  align-items: stretch;
  padding: 0;
}
.section.vertical .container > * {
  padding: var(--padding-container-y) var(--padding-container-x);
}
.section.vertical .container .section-image {
  background-position: center center;
  background-size: cover;
}
@media (min-width: 992px) {
  .section.padding-y {
    padding-top: var(--padding-container-y);
    padding-bottom: var(--padding-container-y);
  }
  .section.vertical.flip .container {
    flex-direction: row-reverse;
  }
  .section.vertical .container > * {
    width: 50%;
  }
  .section.vertical.one-two .container > *:first-child {
    width: calc((100% / 3) * 1);
  }
  .section.vertical.one-two .container > *:nth-child(2) {
    width: calc((100% / 3) * 2);
  }
  .section.vertical.two-one .container > *:first-child {
    width: calc((100% / 3) * 2);
  }
  .section.vertical.two-one .container > *:nth-child(2) {
    width: calc((100% / 3) * 1);
  }
}
@media (max-width: 992px) {
  .section.vertical .container,
  .section.vertical.flip .container {
    flex-direction: column;
  }
  .section.vertical .container .section-image {
    aspect-ratio: 1 / 1;
  }
}

/* TOP BAR */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
  transition: top 0.3s;
  font-size: 16px;
}
.skip-to-content:focus {
  top: 0;
}
.header-top-bar {
  position: fixed;
  display: flex;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--height-header-top-bar);
  z-index: 10;
  background-color: white;
}
.header-top-bar .header-lang {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-top-bar .header-lang .selected {
  font-family: var(--font-primary-bold);
}
@media (max-width: 1200px) {
  .header-top-bar .header-lang * {
    font-size: 18px;
  }
}

.header-top-bar .header-lang :not(.selected) {
  color: var(--color-primary);
}
.header-top-bar .header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-top-bar .header-nav > ul li {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
}

/* SUB MENU DESPLEGABLE */
@media (min-width: 1200px) {
  .header-top-bar .header-nav ul li ul {
    position: absolute;
    top: 30px;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 10px 0 0;
    transition: max-height 300ms ease-in-out;
  }
  .header-top-bar .header-nav ul li:hover ul {
    max-height: 300px;
    transition: max-height 300ms ease-in-out;
  }
  .header-top-bar .header-nav ul li ul li {
    padding: 10px;
    white-space: nowrap;
  }
}
/* FIN SUB MENU DESPLEGABLE */

.header-top-bar .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: var(--max-width-container);
  padding-inline: var(--padding-container-x);
}
.header-top-bar .logo img {
  width: 100%;
  height: auto;
  max-width: 400px;
}
.header-top-bar .header-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-top-bar .header-nav > ul li a {
  font-size: 20px;
  font-weight: 600;
}
@media (max-width: 1200px) {
  .header-top-bar .logo img {
    max-width: 200px;
  }
  .header-top-bar .header-nav ul li a {
    font-size: 18px;
  }
}

/* NAV MOBILE */
.nav-toggler-btn,
.nav-close-btn {
  display: none;
}
.backdrop {
  position: absolute;
  height: 100%;
  width: 100%;
  display: none;
  backdrop-filter: blur(0px);
  opacity: 0;
  z-index: 5;
  transition: opacity 300ms ease-in-out;
}
@media (max-width: 1200px) {
  html.mobile .backdrop {
    display: block;
    backdrop-filter: blur(3px);
    opacity: 1;
    transition: opacity 300ms ease-in-out;
  }
  html .header-nav {
    position: fixed;
    height: 100vh;
    right: -500px;
    top: 0;
    display: block;
    background-color: black;
    padding: var(--height-header-top-bar) 0 0 0;
    transition: right 300ms ease-in-out;
  }
  html.mobile .header-nav {
    right: 0;
    top: 0;
    transition: right 300ms ease-in-out;
  }
  .header-top-bar {
    height: var(--height-header-top-bar);
    padding: 0 0 0 var(--padding-x-container);
  }
  .header-top-bar .header-logo img {
    width: 140px;
  }
  .header-top-bar .header-nav ul {
    flex-direction: column;
    padding: 10px 0;
    gap: 0;
  }
  .header-top-bar .header-nav ul li {
    display: block;
    width: 100%;
  }
  .header-top-bar .header-nav ul li a {
    display: block;
    color: white;
    padding: 24px 60px 24px 30px;
    font-size: 18px;
    background-image: none;
    font-weight: 100;
  }
  .nav-toggler-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    aspect-ratio: 1/1;
  }
  .nav-toggler-btn img {
    width: 26px;
  }
  .nav-close-btn {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    height: 128px;
    position: absolute;
    padding: 0 var(--padding-container-x);
    top: 0;
    right: 0;
    aspect-ratio: 1/1;
    background-color: var(--color-primary);
  }
  .nav-close-btn img {
    width: 40px;
  }
}

/* CAROUSEL BASE */
.owl-carousel {
  position: relative;
}
.owl-carousel .owl-item {
  aspect-ratio: 16 / 9;
}
.owl-carousel .owl-item img {
  object-fit: cover;
}
.owl-carousel .owl-nav {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 40px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.owl-carousel .owl-nav .owl-next {
  transform: rotate(180deg);
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  pointer-events: all;
  opacity: 0.5;
  transition: opacity 300ms ease-in-out;
}
.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  opacity: 0.8;
  transition: opacity 300ms ease-in-out;
}
.owl-carousel .owl-dots {
  position: absolute;
  bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.owl-carousel .owl-dots .owl-dot {
  width: 20px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background 300ms ease-in-out;
}
.owl-carousel .owl-dots .owl-dot.active {
  background-color: rgba(255, 255, 255, 0.8);
  transition: background 300ms ease-in-out;
}
.owl-carousel .owl-dots .owl-dot:hover {
  background-color: rgba(255, 255, 255, 1);
  transition: background 300ms ease-in-out;
}

/* LIGHTBOX */
.lb-dataContainer {
  display: none !important;
}

/* HOME HEADER */
.home .main-header {
  height: calc(100vh - var(--height-header-top-bar));
  min-height: 500px;
  margin-top: var(--height-header-top-bar);
  position: relative;
}
.main-header {
  min-height: 500px;
  margin-top: var(--height-header-top-bar);
  position: relative;
}
.home .header-info-container {
  height: calc(100vh - var(--height-header-top-bar));
  min-height: 500px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 992px) {
  .main-header {
    height: auto;
    min-height: unset;
  }
}
.main-header .bg {
  background-size: cover;
  background-position: center center;
  position: absolute;
  width: 100%;
  height: 100%;
}
.home .main-header .bg {
  background-position: top right;
  position: fixed;
  z-index: -1;
}
.home .main-header .bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0);
}
.main-header .lang {
  position: absolute;
  display: flex;
  right: calc(
    450px + var(--padding-container-x) + 40px
  ); /* Width de .form-container + content padding + margen de seguridad */
  top: var(--padding-container-y);
  gap: 8px;
  z-index: 20;
}
.main-header .lang a,
.main-header .lang span {
  font-size: 24px;
  color: var(--color-secondary);
}
.main-header .lang a.selected {
  font-weight: 600;
}
@media (max-width: 1200px) {
  .main-header .lang {
    top: 7%;
    right: 7%;
  }
}
.main-header .header-logo-mobile {
  position: absolute;
  left: var(--padding-container-x);
  display: none;
  top: 50px;
}
.main-header .header-logo-mobile img {
  width: 100%;
  max-width: 180px;
}
@media (max-width: 1200px) {
  .main-header .header-logo-mobile {
    display: block;
  }
}
.main-header .header-info {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.home .main-header .header-info {
  left: unset !important;
  position: absolute;
  padding: var(--padding-container-y) 0 var(--padding-container-y)
    calc(var(--padding-container-x) * 2.5);
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  background-repeat: no-repeat;
  background-position: left center;
}
.home .contact .contact-info {
  position: absolute;
  bottom: 10%;
  width: 100%;
  max-width: calc(
    100vw - 500px - 15%
  ); /* 100vw - ancho formulario - márgenes */
}
@media (max-width: 2250px) {
  .home .main-header .header-info {
    left: var(--padding-container-x);
  }
  .home .contact .contact-info {
    left: var(--padding-container-x);
  }
}
@media (min-width: 2250px) {
  .home .main-header .header-info,
  .home .contact .contact-info {
    left: calc(
      ((100vw - var(--max-width-container)) / 2) + var(--padding-container-x)
    );
  }
}
.main-header .header-info .title {
  color: white;
  font-size: 62px;
  font-weight: 500;
  font-family: var(--font-secondary-bold);
  line-height: 1.4;
  margin-bottom: 20px;
}
.home .main-header .header-info .title {
  color: var(--color-text);
}
.home .contact .contact-info .title {
  color: white;
  font-size: 52px;
  font-family: var(--font-secondary);
}
.main-header .header-info .subtitle,
.home .contact .contact-info .subtitle {
  color: var(--color-text);
  font-size: 20px;
}
.main-header .header-info .text,
.home .contact .contact-info .text {
  color: white;
  font-size: 28px;
}
@media (max-width: 1200px) {
  .home .main-header .header-info {
    padding: calc(var(--padding-container-y) / 2) 0
      calc(var(--padding-container-y) / 2)
      calc(var(--padding-container-x) * 2.5);
  }
  .main-header .header-info .title {
    font-size: 48px;
  }
  .main-header {
    height: auto;
  }
  .main-header .header-bg {
    height: 500px;
    position: relative;
  }
  .home .main-header .header-bg {
    height: 100vh;
    position: relative;
  }
  .home .main-header .header-info,
  .home .contact .contact-info {
    max-width: calc(100% - (var(--padding-container-x) * 2));
  }
}
@media (max-width: 992px) {
  .main-header .header-info .title,
  .home .contact .contact-info .title {
    font-family: var(--font-secondary);
    font-size: 36px;
    line-height: 1.4;
  }
  .main-header .header-info .subtitle,
  .home .contact .contact-info .subtitle {
    font-size: 16px;
  }
  .main-header .header-info .text,
  .home .contact .contact-info .text {
    font-size: 22px;
  }
  .main-header a.button {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .home .main-header .header-info {
    transform: translateY(-15%) !important;
    background-size: 250px;
    background-position: top 40% left;
    padding: 40px 0px 40px 100px;
  }
}

/* FORM COMMON */
.form-container {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: var(--padding-container-y) var(--padding-container-x);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-container.form-sticky {
  right: 0;
  background-color: var(--color-primary);
}
.form-container .form-content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 50px;
  width: 600px;
  border-radius: 20px;
}
.form-container.form-sticky .form-content {
  background-color: transparent;
  width: 550px;
}
.form-container .form-content .form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-container .form-content .form-logo {
  max-width: 300px;
  margin-bottom: 40px;
}
.form-container .form-content .form-title {
  display: block;
  text-align: left;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 34px;
  font-family: var(--font-secondary);
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.form-container .form-content .form-text {
  display: block;
  text-align: left;
  color: var(--color-text);
  font-size: 20px;
  width: 100%;
  text-align: center;
}
@media (max-width: 1200px) {
  .form-container {
    position: relative;
    right: unset;
  }
  .form-container .form-content,
  .form-container.form-sticky .form-content {
    width: 100%;
  }
  .form-container .form-content {
    background-color: var(--color-primary-light);
  }
}
@media (max-width: 768px) {
  .form-container .form-content {
    padding: 50px var(--padding-container-x);
  }
}

/* FORM */
.form .form-fieldset {
  display: none;
}
.form .form-fieldset.active {
  display: block;
}
.form legend {
  text-align: center;
  font-size: 22px;
  color: var(--form-preguntas-question-color);
  margin-bottom: 20px;
}
.form .form-fieldset-questions input[type="radio"] {
  display: none;
}
.form .form-fieldset-questions label:not(.checkbox label) {
  background-color: #ffffff;
  color: #000000;
  border-radius: 5px;
  cursor: pointer;
  padding: 16px 10px;
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}
.form .form-inputs {
  display: grid;
  grid-template-areas: "nombre" "telefono" "email" "consulta" "mensaje";
  gap: 20px;
  margin-bottom: 20px;
}
.form .box-nombre {
  grid-area: nombre;
}
.form .box-apellido {
  grid-area: apellido;
}
.form .box-prefijo {
  grid-area: prefijo;
}
.form .box-telefono {
  grid-area: telefono;
}
.form .box-email {
  grid-area: email;
}
.form .box-consulta {
  grid-area: consulta;
}
.form .box-cp {
  grid-area: cp;
}
.form .box-mensaje {
  grid-area: mensaje;
}

.form .input-box {
  display: flex;
  flex-direction: column-reverse;
}
.form .input-box label {
  margin-bottom: 5px;
  color: var(--form-label-color);
}
.form .input-box input,
.form .input-box textarea,
.form .input-box select {
  background-color: var(--form-input-backgroud-color);
  color: var(--form-input-color);
  font-size: var(--form-text-size);
  border: 0;
  border-radius: 0px;
  padding: 10px 18px;
  width: 100%;
}
.promocion .form .input-box input,
.promocion .form .input-box textarea,
.promocion .form .input-box select {
  padding: 10px 0px;
}
.form .input-box textarea {
  resize: none;
}
.form .input-box select option {
  color: black;
}
.form .input-box input::placeholder,
.form .input-box textarea::placeholder {
  font-size: var(--form-text-size);
  color: var(--form-placeholder-color);
}
.form .checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}
.form .checkbox input[type="checkbox"] {
  appearance: none;
  background-color: transparent;
  border: 1px solid var(--color-text);
  height: 1em;
  width: 1em;
  cursor: pointer;
  place-content: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  margin-top: 6px;
  aspect-ratio: 1/1;
}
.form .checkbox input[type="checkbox"]::before {
  content: "";
  display: block;
  height: 8px;
  width: 8px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--color-secondary-light);
}
.form .checkbox input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.form .checkbox * {
  color: var(--color-text);
  font-size: 14px;
}
.form-container .submit-btn {
  margin-top: 24px;
  border: 0;
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 18px;
  padding: 12px 40px;
  transition: all 250ms ease-in-out;
  width: 100%;
}
.form-container .submit-btn:hover {
  background-color: var(--color-primary-dark);
  transition: all 250ms ease-in-out;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--form-input-color) !important;
  color: var(--form-input-color) !important;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 0px 0px transparent;
}
@media (max-width: 992px) {
  .form-container .submit-btn {
    width: 100%;
  }
}

/* ESTILOS PARA LABEL FLOTANTES */
.form-container.floating-labels .form .input-box {
  flex-direction: column;
  position: relative;
  padding-top: 10px;
}
.form-container.floating-labels .form .input-box label {
  position: absolute;
  left: 18px;
  top: 20px;
  transition: font-size 250ms ease-in-out, top 250ms ease-in-out,
    left 250ms ease-in-out, color 250ms ease-in-out;
}
.form-container.floating-labels .form .input-box:focus-within label,
.form-container.floating-labels .form .input-box:focus-within textarea {
  top: -14px;
  left: 17px;
  font-size: 12px;
  color: var(--form-label-active-color);
  transition: font-size 250ms ease-in-out, top 250ms ease-in-out,
    left 250ms ease-in-out, color 250ms ease-in-out;
}
.form-container.floating-labels
  .form
  .input-box
  input:not(:placeholder-shown)
  + label,
.form-container.floating-labels
  .form
  .input-box
  textarea:not(:placeholder-shown)
  + label {
  top: -14px;
  font-size: 12px;
  color: var(--form-label-active-color);
}

/* PROMOCIÓN TIPOLOGÍAS */
.promocion .tipologias .container {
  padding-bottom: calc(var(--padding-container-y) / 2);
}
.promocion .tipologias .section-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
}
@media (max-width: 768px) {
  .promocion .tipologias .section-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
  }
  .promocion .tipologias .container {
    padding-top: 0;
  }
  .promocion .tipologias .container .section-header {
    padding-top: calc(var(--padding-container-y) / 2);
  }
}
.promocion .tipologias .section-nav .tipologias-button {
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  transition: all 250ms ease-in-out;
  border-radius: 0;
  padding: 10px;
  font-family: var(--font-secondary);
}
.promocion .tipologias .section-nav .tipologias-button:hover,
.promocion .tipologias .section-nav .tipologias-button.active {
  color: black;
  border-bottom: 2px solid var(--color-primary);
  transition: all 250ms ease-in-out;
}
.promocion .tipologias .section-tipologias ul {
  list-style: none;
  padding: 0;
}
.promocion .tipologias .section-tipologias ul li > span,
.promocion .tipologias .section-tipologias ul li > a {
  display: block;
  font-size: 16px;
}
.promocion .tipologias .section-tipologias ul li,
.promocion .tipologias .section-tipologias .tipologias-titles {
  padding: 10px 20px;
}
.promocion .tipologias .section-tipologias .tipologias-titles {
  background-color: var(--color-text);
}
.promocion .tipologias .section-tipologias .tipologias-titles * {
  color: white;
}
.promocion .tipologias .section-tipologias ul li:nth-child(odd) {
  background-color: var(--color-list-bg-light);
}
.promocion .tipologias .section-tipologias .tipologias-item {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}
.promocion .tipologias .section-tipologias .tipologias-item.active {
  max-height: 1000px;
  opacity: 1;
}
@media (max-width: 992px) {
  .promocion .tipologias .section-tipologias .tipologias-item.active {
    max-height: 3000px;
  }
}
.promocion .tipologias .tipologias-disclaimer {
  font-size: 14px;
  margin-top: 20px;
  text-align: center;
  color: var(--color-text);
}
@media (min-width: 768px) {
  .promocion .tipologias .section-tipologias ul li,
  .promocion .tipologias .section-tipologias .tipologias-titles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    width: 100%;
  }
  .promocion .tipologias .section-tipologias ul li .tipologias-title-mobile {
    display: none;
  }
}
@media (max-width: 768px) {
  .promocion .tipologias .section-tipologias .tipologias-titles {
    display: none;
  }
  .promocion .tipologias .section-tipologias ul li h4 {
    font-size: 16px;
    display: inline-block;
  }
}

/* PROMOCIÓN MAPA */
.promocion .map iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.section.vertical .section-image.w-sub {
  position: relative;
  background-position: right top;
  background-size: 90%;
  background-repeat: no-repeat;
}
.section.vertical .section-image img.sub {
  position: absolute;
  width: 300px;
  aspect-ratio: 1 / 1;
  bottom: 0;
  left: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
@media (max-width: 768px) {
  .section.vertical .section-image img.sub {
    width: 140px;
    aspect-ratio: 1 / 1;
    bottom: 80px;
    left: 20px;
  }
}

/* INTRO */
.intro.section.light {
  background-color: #eff7f6;
}

/* PROMOCIONES */
.promociones .section-promociones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) {
  .promociones .section-promociones {
    grid-template-columns: repeat(2, 1fr);
  }
}
.promociones .section-promociones .promociones-item {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 300ms ease;
}
.promociones .section-promociones .promociones-item:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.promociones .section-promociones .promociones-item .item-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}
.promociones .section-promociones .promociones-item .item-info {
  padding: 30px 16px 20px;
}
.promociones .section-promociones .promociones-item .item-info h3 {
  font-family: var(--font-secondary);
  margin-bottom: 10px;
}
.promociones .section-promociones .promociones-item .item-info p {
  text-transform: uppercase;
  font-size: 14px;
}

/* CONTACT */
.contact {
  height: max(100vh, 900px);
  position: relative;
}
.contact-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-position: center center;
  background-size: cover;
}
.contact-bg::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.contact .section-header {
  position: absolute;
  height: 100%;
  left: var(--padding-container-x);
  width: calc(100vw - 500px - 10% - var(--padding-container-x));
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1200px) {
  .contact-bg {
    display: none;
    aspect-ratio: 1 / 1;
    position: relative;
  }
  .contact .section-header {
    width: 100%;
    left: 0;
    padding: 0 var(--padding-container-x);
  }
}
.contact .section-header .section-title {
  color: white;
}
@media (max-width: 1200px) {
  .contact {
    height: auto;
  }
  .contact .form-container {
    position: relative;
    width: 100%;
    right: unset;
  }
  .contact .section-header {
    position: relative;
    width: 100%;
  }
  .contact .section-header .section-title {
    max-width: 100%;
    text-align: center;
  }
}

/* SOBRE NOSOTROS */
/* SOBRE NOSOTROS HEADER */
.sobre-nosotros .section.vertical .section-image {
  background-size: contain;
  background-repeat: no-repeat;
}

/* SOBRE NOSOTROS HOGAR */
@media (max-width: 992px) {
  .sobre-nosotros .hogar {
    padding-bottom: calc(var(--padding-container-y) / 2);
  }
}

/* SOBRE NOSOTROS NÚMEROS */
.sobre-nosotros .numeros .container {
  display: flex;
  justify-content: center;
}
.sobre-nosotros .numeros .casillas {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background-color: var(--color-primary-light);
}
.sobre-nosotros .numeros .casillas .casilla {
  text-align: center;
}
.sobre-nosotros .numeros .casillas .casilla h3 span {
  font-family: var(--font-secondary-bold);
  font-size: 56px;
}
.sobre-nosotros .numeros .casillas .casilla h3 {
  font-size: 22px;
}
@media (max-width: 768px) {
  .sobre-nosotros .numeros .casillas .casilla h3 span {
    font-size: 28px;
  }
  .sobre-nosotros .numeros .casillas .casilla h3 {
    font-size: 16px;
  }
}

/* SOBRE NOSOTROS ICONOS */
.icons.section {
  background-color: var(--color-cuaternary-light);
}
.icons .section-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.icons .section-icons .icon-box {
  background-color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
}
.icons .section-icons .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.icons .section-icons .icon-box img {
  max-width: 100px;
  opacity: 0.6;
}
.icons .section-icons .icon-box h3 {
  font-family: var(--font-secondary);
  font-size: 28px;
}
.icons .section-icons .icon-box p {
  font-size: 18px;
}
@media (min-width: 769px) and (max-width: 992px) {
  .icons .section-icons .icon-box h3 {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .icons .section-icons {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .icons .section-icons .icon-box img {
    max-width: 80px;
  }
  .icons .section-icons .icon-box h3 {
    font-size: 24px;
  }
}

/* SOBRE NOSOTROS EQUIPO */
.sobre-nosotros .equipo .accordion {
  width: 100%;
}
.sobre-nosotros .equipo .accordion-item {
  border-bottom: 1px solid #ddd;
}
.sobre-nosotros .equipo .accordion-title {
  margin: 0;
  padding: 40px 40px;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--font-secondary);
}
.sobre-nosotros .equipo .accordion-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 40px;
  align-items: center;
}
.sobre-nosotros .equipo .accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 40px 40px;
}
@media (max-width: 992px) {
  .sobre-nosotros .equipo .accordion-content {
    grid-template-columns: repeat(1, 1fr);
    align-items: flex-start;
    gap: 0px;
  }
  .sobre-nosotros .equipo .accordion-item.active .accordion-content {
    max-height: 1000px;
  }
}

/* SOBRE NOSOTROS RESEÑAS */
.sobre-nosotros .resenas.section {
  background-size: cover;
  background-position: center top;
}
.sobre-nosotros .resenas.section .container {
  padding: 100px 40px;
}
.sobre-nosotros .resenas .owl-carousel {
  background-color: white;
  padding: 80px 200px;
}
.sobre-nosotros .resenas .owl-carousel .owl-item {
  aspect-ratio: unset;
  text-align: center;
}
.sobre-nosotros .resenas .owl-carousel .owl-item h2 {
  font-family: var(--font-secondary);
  margin-bottom: 20px;
}
.sobre-nosotros .resenas .owl-carousel .owl-item h2,
.sobre-nosotros .resenas .owl-carousel .owl-item p {
  color: var(--color-tertiary);
}
.sobre-nosotros .resenas .owl-carousel .owl-item .auth {
  font-family: var(--font-secondary);
}
@media (max-width: 992px) {
  .sobre-nosotros .resenas .owl-carousel {
    padding: 40px 80px;
  }
}
@media (max-width: 768px) {
  .sobre-nosotros .resenas .owl-carousel {
    padding: 40px 40px;
  }
}

/* SOBRE NOSOTROS CONTACTO */
.sobre-nosotros .contact .contact-bg::before {
  background-color: transparent;
}
.sobre-nosotros .contact .contact-bg {
  background-image: none !important;
  background-color: var(--color-primary-light) !important;
}

/* CONTACTO CONTACTO */
.contacto .contact .contact-bg::before {
  background-color: transparent;
}
.contacto .contact .contact-bg {
  background-image: none !important;
  background-color: var(--color-primary-light) !important;
}

/* CONTACTO ICONOS */
.contacto .icons.section {
  background-color: white;
}
.contacto .icons.section .icon-box img {
  max-width: 64px;
}

/* CONTACTO MAP */
.contacto .map.section .container {
  padding-top: 0;
}
.contacto .map.section iframe {
  width: 100%;
  aspect-ratio: 3 / 1;
}
@media (max-width: 992px) {
  .contacto .map.section iframe {
    aspect-ratio: 1 / 1;
  }
}

/* FOOTER */
.footer {
  background-color: var(--color-primary-dark);
}
.footer .footer-button-link {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.footer,
.footer * {
  font-size: 18px;
  color: white;
}
.footer a {
  cursor: pointer;
  color: white;
}
.footer a:hover {
  color: white;
}
.footer .container {
  display: flex;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}
.footer .container > div {
  width: auto;
  display: flex;
  gap: 20px;
}
@media (max-width: 992px) {
  .footer .container {
    flex-direction: column;
    gap: 30px;
  }
  .footer .container > div {
    justify-content: center;
  }
}
@media (max-width: 460px) {
  .footer .container > div {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }
}

/* LOGIN */
.login-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-form {
  width: 100%;
  max-width: 500px;
  padding: 35px;
  border-radius: 10px;
  border: 1px solid #dddddd;
}
.login-form .form-title {
  font-size: 24px;
  margin-bottom: 20px;
}
.login-form fieldset {
  margin-bottom: 14px;
}
.login-form .error {
  text-align: center;
  border-radius: 2px;
  padding: 4px;
  margin-bottom: 10px;
  border: 1px solid #fdcbcb;
  background-color: #ffe0e0;
  color: #bd4c4c;
}
.login-form .input-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
  color: #666666;
  margin-bottom: 10px;
}
.login-form .input-box input {
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #bbbbbb;
}
.login-form .submit-button {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  font-size: 18px;
  background-color: var(--color-primary);
  color: white;
  transition: background 250ms ease-in-out, color 250ms ease-in-out;
}
.login-form .submit-button:hover {
  background-color: var(--color-primary-light);
  transition: background 250ms ease-in-out, color 250ms ease-in-out;
}

/* ADMIN PANEL */
.admin-panel {
  background-color: var(--color-admin-area-bg);
}
.admin-panel * {
  font-family: Arial, Helvetica, sans-serif !important;
}
.admin-panel p,
.admin-panel span,
.admin-panel a {
  font-size: 16px;
}
.admin-panel .admin-panel-header {
  background-color: white;
}
.admin-panel .admin-panel-header .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.admin-panel .container {
  padding: 20px;
}
.admin-panel .admin-panel-button {
  display: inline-block;
  border: 1px solid var(--color-admin-area-border);
  background-color: var(--color-admin-area-button-bg);
  text-align: center;
  border-radius: 5px;
  padding: 4px 12px;
  transition: background 250ms ease-in-out;
}
.admin-panel .admin-panel-button:hover {
  background-color: var(--color-admin-area-button-bg-hover);
  transition: background 250ms ease-in-out;
}
.admin-panel .button-ko {
  color: white;
  border-color: var(--color-admin-area-ko);
  background-color: var(--color-admin-area-ko);
  transition: background 250ms ease-in-out;
}
.admin-panel .button-ko:hover {
  color: white;
  border-color: var(--color-admin-area-ko);
  background-color: var(--color-admin-area-ko-hover);
  transition: background 250ms ease-in-out;
}
.admin-panel .button-ok {
  color: white;
  border-color: var(--color-admin-area-ok);
  background-color: var(--color-admin-area-ok);
}
.admin-panel .button-ok:hover {
  color: white;
  border-color: var(--color-admin-area-ok);
  background-color: var(--color-admin-area-ok-hover);
}
.admin-panel .admin-panel-header h1 {
  padding: 10px;
  font-size: 16px;
  text-align: center;
  background-color: var(--color-admin-area-bg-dark);
  color: var(--color-admin-area-border);
}
.admin-panel .admin-name {
  font-size: 18px;
}
.admin-panel .admin-nav {
  padding: 20px;
  display: flex;
  gap: 20px;
  background-color: white;
  border: 1px solid var(--color-admin-area-border);
}
.admin-panel .admin-panel-message {
  margin-bottom: 20px;
}
.admin-panel .admin-panel-message.message-ok {
  color: var(--color-admin-area-ok);
}
.admin-panel .admin-panel-message.message-ko {
  color: var(--color-admin-area-ko);
}
.admin-panel .admin-card {
  border: 1px solid var(--color-admin-area-border);
  padding: 40px;
  border-radius: 20px;
  background-color: white;
}
.admin-panel .admin-card h2 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
}
.admin-panel .admin-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.admin-panel .user-table-head,
.admin-panel .user-item {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
  margin-bottom: 10px;
  align-items: center;
}

@media (min-width: 768px) {
  .admin-panel .user-table .user-data-title-mobile {
    display: none;
  }
}
.form-row + .form-row {
  margin-top: 40px;
}
.admin-panel .form-inputs {
  margin-bottom: 10px;
}
.admin-panel .form-inputs .input-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.admin-panel .form-inputs .input-box label {
  margin: 0 0 5px 0;
}
.admin-panel .form-inputs .input-box input,
.admin-panel .form-inputs .input-box textarea,
.admin-panel .form-inputs .input-box select {
  border: 1px solid var(--color-admin-area-border);
  background-color: var(--color-admin-area-button-bg);
  padding: 6px 10px;
  border-radius: 5px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
}
.admin-panel .form-inputs .input-box textarea {
  field-sizing: content;
}
.admin-panel .form-add-new {
  padding: 40px;
  border-top: 3px solid var(--color-admin-area-border);
  background-color: var(--color-admin-area-bg);
  margin: 40px 0 0 0;
}

@media (max-width: 768px) {
  .admin-panel .admin-card {
    padding: 25px 20px;
  }
  .admin-panel .user-table-head {
    display: none;
  }
  .admin-panel .user-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-admin-area-border);
    margin-bottom: 20px;
  }
  .admin-panel .user-item:last-of-type {
    padding-bottom: 0px;
    border-bottom: 0;
    margin-bottom: 0px;
  }
  .admin-panel .form-add-new {
    padding: 25px 20px;
  }
}

/* PÁGINA COMPROBANTE */
.comprobante {
  text-align: center;
}
.comprobante main img {
  width: 150px;
  margin-bottom: 20px;
}
.comprobante main h1 {
  color: black;
  text-align: center;
  margin-bottom: 20px;
}
.comprobante main p {
  color: black;
  font-size: 20px;
  text-align: center;
}
.comprobante main a {
  color: var(--color-link);
  text-decoration: none;
}

/* PÁGINA POLÍTICA DE PRIVACIDAD */
.page.politica-privacidad section,
.page.politica-privacidad section .section-header {
  text-align: left;
}

/* BLOG */


@media (max-width: 992px) {
  #blog .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ARTICLES LIST */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.articles-list article.post {
  background: white;
  /*   border-radius: 8px; */
  overflow: hidden;
  /*   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  display: flex;
  flex-direction: column;
  gap: 0;
  /*   min-height: 300px; */
}

.articles-list article.post:hover {
  /*   transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

@media (max-width: 768px) {
  .articles-list article.post {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.articles-list .post-thumb {
  position: relative;
  overflow: hidden;
}

.articles-list .post-thumb a {
  display: block;
  height: 100%;
}

.articles-list .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*   transition: transform 0.3s ease; */
}

.articles-list .post-thumb:hover img {
  /*   transform: scale(1.05); */
}

@media (max-width: 768px) {
  .articles-list .post-thumb {
    height: 200px;
  }
}

.articles-list .post-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  /*   justify-content: space-between; */
  /*   height: 100%; */
}

.articles-list .post-title {
  margin: 0 0 15px 0;
  font-size: 24px;
  line-height: 1.3;
}

.articles-list .post-title a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.articles-list .post-title a:hover {
  color: var(--color-secondary);
}

.articles-list .post-meta {
  margin-bottom: 10px;
}

.articles-list .post-date {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.articles-list .post-categories {
  margin-bottom: 15px;
}

.articles-list .post-categories .category {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 4px;
  transition: background-color 0.3s ease;
}

.articles-list .post-categories .category:hover {
  background-color: var(--color-secondary);
}

.articles-list .post-excerpt {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.articles-list .read-more {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.articles-list .read-more:hover {
  background-color: var(--color-primary);
  color: white;
}

/* ASIDE - SIDEBAR */
main aside {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
  height: fit-content;
}

main aside h2 {
  color: var(--color-primary);
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary-light);
}

.aside-articles {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-articles li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.aside-articles li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.aside-articles a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.aside-articles a:hover {
  color: var(--color-primary);
}

.aside-articles .article-date {
  color: #666;
  font-size: 12px;
  margin-top: 5px;
}

@media (max-width: 992px) {
  main aside {
    position: static;
    margin-top: 0;
  }
}

/* Imagenes Blog-entrada */

@media (min-width: 992px) {
  .blog-entrada-paragraphs img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 600px !important;
    height: auto !important;
  }
}

/* PAGINATION */
.pagination-wrapper {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--color-primary-light);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pagination-link {
  display: inline-block;
  padding: 10px 15px;
  background-color: white;
  color: var(--color-primary);
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 44px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.pagination-link:hover {
  background-color: var(--color-primary);
  color: white;
}

.pagination-link.pagination-current {
  background-color: var(--color-primary);
  color: white;
  cursor: default;
}

.pagination-prev,
.pagination-next {
  padding: 10px 20px;
  font-weight: 600;
}

.pagination-dots {
  padding: 10px 5px;
  color: var(--color-text);
  font-weight: bold;
}

.pagination-info {
  text-align: center;
}

.pagination-info p {
  color: var(--color-text);
  font-size: 14px;
  margin: 0;
  font-style: italic;
}

/* LOADING */
.loading {
  text-align: center;
  padding: 20px;
  margin: 20px 0;
}

.loading p {
  color: var(--color-primary);
  font-style: italic;
  margin: 0;
  position: relative;
}

.loading p::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary-light);
  border-top: 2px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ARTICLES TRANSITIONS */
.articles-list {
  transition: opacity 0.3s ease;
}

.articles-list.loading {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .pagination {
    gap: 5px;
  }

  .pagination-link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .pagination-prev,
  .pagination-next {
    padding: 8px 15px;
  }
}

@media (max-width: 480px) {
  .pagination-link {
    min-width: 38px;
    padding: 8px 10px;
  }

  .pagination-prev,
  .pagination-next {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* MODALES */
.modal {
  z-index: 999;
}
.modal-backdrop {
  z-index: 998;
}

/* MODALES TEXTOS LEGALES */
#informacion,
#PoliticaCookies {
  z-index: 999;
}
#informacion .modal-body *,
#PoliticaCookies .modal-body *,
#avisolegal .modal-body * {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: #000000 !important;
  text-align: left !important;
  border-bottom: 0 !important;
}
#informacion .modal-body a,
#PoliticaCookies .modal-body a {
  color: #3185c9;
}
#informacion .modal-title,
#PoliticaCookies .modal-title {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
}
#informacion .modal-body table,
#PoliticaCookies .modal-body table {
  border-collapse: collapse;
  width: 100%;
}
#informacion .modal-body table th,
#informacion .modal-body table td,
#PoliticaCookies .modal-body table th,
#PoliticaCookies .modal-body table td {
  border: 1px solid #000 !important;
  padding: 12px;
}
#informacion .modal-body table th,
#PoliticaCookies .modal-body table th {
  background-color: #f0f0f0;
}

/* MODAL CONFIGURACIÓN COOKIES */
#PopCookies * {
  font-family: var(--font-primary);
  font-size: 14px;
  color: black;
}
#PopCookies .modal-content {
  background-color: white;
  padding: 30px;
}
#PopCookies .modal-header {
  border-bottom: none;
  padding: 0;
  margin-bottom: 20px;
}
#PopCookies .modal-title {
  color: #000000;
  font-size: 20px;
}
#PopCookies .modal-body {
  padding: 0;
}
#PopCookies .modal-body span {
  color: var(--color-primary);
  font-family: var(--font-primary);
  cursor: pointer;
}
#PopCookies #textoPopCookiesShow h5 {
  display: none;
}
#PopCookies #textoPopCookiesShow label {
  display: flex;
  align-items: center;
}
#PopCookies #textoPopCookiesShow label strong {
  font-size: 16px;
}
#PopCookies #textoPopCookiesShow label input {
  accent-color: var(--color-primary);
  cursor: pointer;
  height: 16px;
  width: 16px;
  margin-right: 8px;
}
#PopCookies #textoPopCookiesShow small {
  color: #666666;
  display: block;
  font-family: var(--font-primary);
  font-size: 14px;
  margin-left: 26px;
  margin-bottom: 10px;
}
#PopCookies #textoPopCookiesShow .modal-footer {
  margin-top: 30px;
}
#PopCookies .modal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: none;
  padding: 0;
}
#PopCookies .modal-footer .btn {
  width: 100%;
  background-color: #f0f0f0;
  border: 0;
  margin: 0;
  border-radius: 4px;
  font-size: 16px;
  padding: 10px;
}
#PopCookies .modal-dialog .modal-content .modal-footer .btn:last-of-type {
  background-color: var(--color-primary);
  color: white;
}

/* ANIMACIONES */
@keyframes title__fade {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title__fade {
  animation: title__fade 500ms ease-out;
  animation-delay: 600ms;
  animation-fill-mode: forwards;
  opacity: 0;
}
/* Elemento inicialmente oculto y desplazado hacia abajo */
.show-up {
  transform: translateY(60px);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

/* Clase que activa la animación */
.show-up.animated {
  transform: translateY(0);
  opacity: 1;
}

/* Blog */
.articles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.post {
  /*   border: 1px solid #ccc; */
  padding: 10px;
  border-radius: 6px;
}
.post-thumb img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.post-title {
  font-size: 18px;
  margin: 10px 0 5px;
}
.post-date {
  color: #777;
  font-size: 12px;
}
.post-categories a {
  color: #007b5e;
  font-size: 12px;
  text-decoration: none;
  margin-right: 4px;
}
.post-excerpt {
  font-size: 16px;
  color: #333;
}
.read-more {
  display: inline-block;
  margin-top: 8px;
  color: #007b5e;
  text-decoration: underline;
  font-weight: bold;
}

/* FICHA DE PROMOCIÓN */
/* PROMOCIÓN HEADER */
.promocion .main-header {
  height: calc(100vh - var(--height-header-top-bar));
  min-height: 800px;
  margin-top: var(--height-header-top-bar);
  position: relative;
}
.promocion .header-info-container,
.promocion .header-info-container {
  height: calc(100vh - var(--height-header-top-bar));
  min-height: 800px;
  max-width: calc(
    100vw - 550px - (2 * var(--padding-container-x)) - 40px
  ); /* 100vw - ancho formulario - márgenes */
  position: absolute;
  inset: 0;
  left: var(--padding-container-x);
  display: flex;
  align-items: center;
}
@media (max-width: 1200px) {
  .promocion .header-info-container,
  .promocion .header-info-container {
    left: unset;
    right: unset;
    max-width: 100%;
    width: 100%;
    padding: 0 var(--padding-container-x);
    justify-content: center;
  }
}
@media (max-width: 992px) {
  .promocion .main-header {
    height: auto;
    min-height: unset;
  }
}
.promocion .main-header .bg {
  background-size: cover;
  background-position: center;
  position: fixed;
  z-index: -1;
  height: 100%;
  width: 100%;
}
.promocion .main-header .bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.promocion .main-header .lang {
  position: absolute;
  display: flex;
  right: calc(
    450px + var(--padding-container-x) + 40px
  ); /* Width de .form-container + content padding + margen de seguridad */
  top: var(--padding-container-y);
  gap: 8px;
  z-index: 20;
}
.promocion .main-header .lang a,
.promocion .main-header .lang span {
  font-size: 24px;
  color: var(--color-secondary);
}
.promocion .main-header .lang a.selected {
  font-weight: 600;
}
@media (max-width: 1200px) {
  .promocion .main-header .lang {
    top: 7%;
    right: 7%;
  }
}
.promocion .main-header .header-logo-mobile {
  position: absolute;
  left: var(--padding-container-x);
  display: none;
  top: 50px;
}
.promocion .main-header .header-logo-mobile img {
  width: 100%;
  max-width: 180px;
}
@media (max-width: 1200px) {
  .promocion .main-header .header-logo-mobile {
    display: block;
  }
}
.promocion .main-header .bg {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promocion .main-header .header-info {
  position: unset;
}
.promocion .main-header .header-info,
.promocion .contact .contact-info {
  left: var(--padding-container-x);
  top: var(--padding-container-y);
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  background-repeat: no-repeat;
  background-position: left center;
}
@media (max-width: 2250px) {
  .promocion .main-header .header-info {
    left: var(--padding-container-x);
  }
  .promocion .contact .contact-info {
    left: var(--padding-container-x);
  }
}
@media (min-width: 2250px) {
  .promocion .main-header .header-info,
  .promocion .contact .contact-info {
    left: calc(
      ((100vw - var(--max-width-container)) / 2) + var(--padding-container-x)
    );
  }
}
.promocion .main-header .header-info .title,
.promocion .contact .contact-info .title {
  color: white;
  font-size: 62px;
  font-weight: 500;
  font-family: var(--font-secondary);
  text-align: left;
  line-height: 1.4;
  margin-bottom: 20px;
}
.promocion .main-header .header-info .pastilla,
.promocion .contact .contact-info .pastilla {
  color: white;
  display: inline-block;
  background-color: var(--color-primary);
  font-family: var(--font-primary-bold);
  padding: 10px 20px;
  font-size: 32px;
  text-transform: uppercase;
}
.promocion .main-header .header-info .subtitle,
.promocion .contact .contact-info .subtitle {
  color: white;
  font-size: 24px;
}
.promocion .main-header .header-info .text,
.promocion .contact .contact-info .text {
  color: white;
  font-size: 28px;
}
@media (max-width: 1200px) {
  .promocion .main-header .header-info .title,
  .promocion .contact .contact-info .title {
    font-size: 48px;
  }
}
@media (max-width: 992px) {
  .promocion .main-header .header-info .title,
  .promocion .contact .contact-info .title {
    font-size: 32px;
  }
  .promocion .main-header .header-info .subtitle,
  .promocion .contact .contact-info .subtitle {
    font-size: 22px;
  }
  .promocion .main-header .header-info .text,
  .promocion .contact .contact-info .text {
    font-size: 22px;
  }
}
@media (max-width: 1200px) {
  .promocion .main-header {
    height: auto;
  }
  .promocion .main-header .header-bg {
    height: 100vh;
    position: relative;
  }
}
@media (max-width: 768px) {
  .promocion .main-header .header-info {
    background-size: cover;
    padding: 40px 20px;
  }
}

/* PROMOCIÓN FORM CONTAINER */
.promocion .form-container .form-content {
  background-color: rgb(255, 255, 255);
}
@media (min-width: 1200px) {
  .promocion .form-container {
    position: absolute;
    height: 100%;
    width: auto;
    right: var(--padding-container-x);
    display: flex;
    align-items: center;
    padding: 0;
  }
  .promocion .form-container .form-content {
    width: 550px;
    padding: 50px;
    border-radius: 20px;
  }
}

/* PROMOCIÓN FORM */
.promocion .form-container.floating-labels .form .input-box label {
  left: 0;
}
.promocion .form .input-box input,
.promocion .form .input-box textarea,
.promocion .form .input-box select {
  border-bottom: 1px solid #dddddd;
}

/* PROMOCIONES INTRO */
.promocion .intro.section.light {
  background-color: white;
}
.promocion .intro .intro-logo {
  max-width: 260px;
  margin-bottom: 60px;
}
@media (max-width: 992px) {
  .promocion .intro.section .section-header {
    padding-top: 0;
  }
}
.promocion .intro.section .section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 80px;
  margin-bottom: 30px;
}
.promocion .intro .section-title::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  display: block;
  width: 60px;
  height: 1px;
  background-color: var(--color-text);
  margin: 0 auto 20px;
}

/* PROMOCIÓN ICONOS */
.promocion .icons.section.light {
  background-color: white;
}
.promocion .icons .container {
  padding-top: 0;
}
.promocion .icons .section-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.promocion .icons .section-icons .icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0;
}
.promocion .icons .section-icons .icon-box img {
  max-width: 75px;
}
.promocion .icons .section-icons .icon-box h3 {
  font-family: var(--font-secondary);
  font-size: 18px;
}
@media (max-width: 768px) {
  .promocion .icons .section-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .promocion .icons .section-icons .icon-box img {
    max-width: 50px;
  }
  .promocion .icons .section-icons .icon-box h3 {
    font-size: 16px;
  }
}

/* PROMOCIÓN CAROUSEL */
.promocion .carousel.section {
  padding-bottom: 0;
}
.promocion .carousel.section .container {
  padding: 0;
}

/* MEDIA */
.promocion .media.section {
  padding-bottom: 0;
}
.promocion .media .section-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
}
.promocion .media .section-nav .media-button {
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  transition: all 250ms ease-in-out;
  border-radius: 0;
  padding: 10px;
}
.promocion .media .section-nav .media-button:hover,
.promocion .media .section-nav .media-button.active {
  color: black;
  border-bottom: 2px solid var(--color-primary);
  transition: all 250ms ease-in-out;
}
.promocion .media.moreinfo-cta .container {
  padding-top: 0;
}
.promocion .media .section-media {
  margin-bottom: 20px;
}
.promocion .media .section-media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.promocion .media .section-media .media-item {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}
.promocion .media .section-media .media-item.active {
  max-height: 1000px;
  opacity: 1;
}
.promocion .media .media-memoria {
  text-align: center;
}

/* Blog Entrada  */

.blog-entrada-main {
  margin-top: var(--height-header-top-bar);
}

.container-blog-entrada {
  max-width: 1400px;
  margin: 160px auto;
  padding: 40px 20px;
}

.blog-entrada-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
}

.blog-entrada-info {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-entrada-paragraphs {
  padding: 0 20px;
}
.blog-entrada-paragraphs h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-entrada-social-media {
  margin-top: 60px;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 15px;
}

.blog-entrada-social-media a {
  padding: 5px;
}

.blog-entrada-footer {
  display: flex;
  justify-content: space-between;
  margin: 60px auto;
}

.blog-entrada-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.container-center-paragraph {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-center-paragraph .next {
  text-align: end;
}

.container-center-paragraph .prev {
  text-align: start;
}
