@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
/** Media Queries **/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  overflow-x: hidden;
  font-family: "Raleway", sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
}

p {
  color: #000000;
  font-size: 2rem;
}

.contenedor {
  width: 95%;
  max-width: 120rem;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

img,
picture {
  width: 100%;
  display: block;
}

h1, h2, h3 {
  font-family: "Raleway", sans-serif;
  margin: 2.5rem 0;
  font-weight: 300;
  text-align: center;
}

h1 {
  font-size: 3.8rem;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 3rem;
}

h4 {
  font-size: 2.6rem;
}

.seccion {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.contenido-centrado {
  max-width: 80rem;
}

.alinear-derecha {
  display: flex;
  justify-content: flex-end;
}

.w-100 {
  width: 100%;
}

.boton-amarillo {
  background-color: #e2df0c;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: inline-block;
  border: none;
}
.boton-amarillo:hover {
  background-color: rgb(201.7857142857, 199.1071428571, 10.7142857143);
  cursor: pointer;
}

.boton-amarillo-block {
  background-color: #e2df0c;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: block;
  border: none;
}
.boton-amarillo-block:hover {
  background-color: rgb(201.7857142857, 199.1071428571, 10.7142857143);
  cursor: pointer;
}

.boton-naranja {
  background-color: #d44a0a;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: inline-block;
  border: none;
}
.boton-naranja:hover {
  background-color: rgb(187.6486486486, 65.5, 8.8513513514);
  cursor: pointer;
}

.boton-verde {
  background-color: #71B100;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: inline-block;
  border: none;
}
.boton-verde:hover {
  background-color: rgb(96.7203389831, 151.5, 0);
  cursor: pointer;
}

.boton-verde-oscuro {
  background-color: #16a34a;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: block;
  border: none;
}
.boton-verde-oscuro:hover {
  background-color: rgb(18.9675675676, 140.5324324324, 63.8);
  cursor: pointer;
}

.boton-rojo-block {
  background-color: rgb(185, 5, 5);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: block;
  border: none;
  width: 100%;
}
.boton-rojo-block:hover {
  background-color: rgb(160.1710526316, 4.3289473684, 4.3289473684);
  cursor: pointer;
}

.boton-verde-block {
  background-color: #71B100;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: block;
  border: none;
}
.boton-verde-block:hover {
  background-color: rgb(96.7203389831, 151.5, 0);
  cursor: pointer;
}

.dark-mode {
  background-color: #000;
}
.dark-mode body.dark-mode {
  background-color: #000 !important;
}
.dark-mode p {
  color: #FFFFFF;
}
.dark-mode a, .dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode label, .dark-mode legend {
  color: #e1e1e1;
}
.dark-mode .anuncio,
.dark-mode .resumen-propiedad {
  background-color: #333333;
  border: 1px solid #333333;
}
.dark-mode .anuncio .precio,
.dark-mode .resumen-propiedad .precio {
  color: #71B100;
}
.dark-mode .anuncio .icono,
.dark-mode .resumen-propiedad .icono {
  filter: invert(100%);
}
.dark-mode .texto-nosotros blockquote {
  color: #FFFFFF;
}
.dark-mode .formulario label,
.dark-mode .formulario legend,
.dark-mode .formulario p {
  color: #e1e1e1;
}
.dark-mode .formulario input:not([type=submit]),
.dark-mode .formulario textarea,
.dark-mode .formulario select {
  background-color: #333333;
  border: 1px solid #333333;
  color: #FFFFFF;
}

.dark-mode-boton {
  width: 4rem;
  height: 4rem;
  background-image: url("/build/img/dark-mode.svg");
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
}

.dark-mode .dark-mode-boton {
  background-image: url("/build/img/light-mode.svg");
}

.dark-mode {
  background-color: #000;
}
.dark-mode p {
  color: #FFFFFF;
}
.dark-mode a, .dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode label, .dark-mode legend {
  color: #e1e1e1;
}
.dark-mode .anuncio,
.dark-mode .resumen-propiedad {
  background-color: #333333;
  border: 1px solid #333333;
}
.dark-mode .anuncio .precio,
.dark-mode .resumen-propiedad .precio {
  color: #71B100;
}
.dark-mode .anuncio .icono,
.dark-mode .resumen-propiedad .icono {
  filter: invert(100%);
}
.dark-mode .texto-nosotros blockquote {
  color: #FFFFFF;
}
.dark-mode .formulario label,
.dark-mode .formulario legend,
.dark-mode .formulario p {
  color: #e1e1e1;
}
.dark-mode .formulario input:not([type=submit]),
.dark-mode .formulario textarea,
.dark-mode .formulario select {
  background-color: #333333;
  border: 1px solid #333333;
  color: #FFFFFF;
}

.dark-mode-boton {
  width: 4rem;
  height: 4rem;
  background-image: url("/build/img/dark-mode.svg");
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
}

.dark-mode .dark-mode-boton {
  background-image: url("/build/img/light-mode.svg");
}

.dark-mode .capa-header {
  color: #FFFFFF;
}
.dark-mode .tituloejes, .dark-mode legend, .dark-mode p, .dark-mode h3 {
  color: #d44a0a;
}
.dark-mode .capa-title {
  color: #FFFFFF;
}
.dark-mode fieldset {
  border: 0.2rem solid;
  border-color: #d44a0a;
}
.dark-mode .deterioro-check {
  color: #000000;
}
.dark-mode .bloque-formulario {
  background-color: #000000;
}
.dark-mode input[type=checkbox] {
  accent-color: #d44a0a;
}
.dark-mode .icono-ayuda {
  background: #d44a0a;
}
.dark-mode .btn-modelo {
  background-color: #333333;
  color: #FFFFFF;
  border-color: #e1e1e1;
}
.dark-mode .btn-modelo:hover {
  background-color: rgb(76.5, 76.5, 76.5);
}
.dark-mode .btn-modelo.activo {
  background-color: #d44a0a;
  color: #000000;
  border-color: #d44a0a;
}
.dark-mode .formularioPersonalizado input {
  background-color: #333333;
  border-color: #e1e1e1;
  color: #FFFFFF;
}
.dark-mode table {
  color: #FFFFFF;
  background-color: #333333;
  border: 1px solid #e1e1e1;
}
.dark-mode table th,
.dark-mode table td {
  color: #FFFFFF;
  border-color: #e1e1e1;
}
.dark-mode table thead {
  background-color: rgb(38.25, 38.25, 38.25);
}
.dark-mode table tbody tr:nth-child(even) {
  background-color: rgb(63.75, 63.75, 63.75);
}
.dark-mode table tbody tr:nth-child(odd) {
  background-color: #333333;
}
.dark-mode #pantalla-cargando .contenido-cargando {
  color: #000000;
}
.dark-mode #pantalla-cargando .contenido-cargando p {
  color: #000000;
}

.dark-mode .nombre-espectro {
  color: #ffb300;
  text-shadow: 1px 2px 8px #000000, 0 0 2px rgba(255, 255, 255, 0.2666666667);
}
.dark-mode .pbv-title {
  color: #d44a0a;
}
.dark-mode .pbv-container {
  background-color: #000000;
  border: 2px solid #d44a0a;
}
.dark-mode .pbv-grafica {
  background-color: #333333;
  border: #000000;
}
.dark-mode .pbv-avanzadas {
  background-color: #333333;
  border: 1px solid #333333;
}
.dark-mode .pbv-eje-inputs input {
  background-color: #333333;
  border: 1px solid #e1e1e1;
  color: #FFFFFF;
}
.dark-mode .pbv-input {
  background-color: #333333;
  border: 1px solid #333333;
  color: #FFFFFF;
}
.dark-mode .pa-chat {
  background: var(--panel-bg);
}
.dark-mode .pa-input {
  background: var(--chip-bg);
  color: #FFFFFF;
}
.dark-mode .pa-fin-titles strong {
  color: var(--texto);
}
.dark-mode .pa-fin-titles span {
  color: #FFFFFF;
}
.dark-mode .pa-fin-logo {
  background: #000000;
}
.dark-mode .pa-chat__actions button {
  color: #FFFFFF;
}
.dark-mode .pbv-avanzadas p {
  color: #FFFFFF;
}
.dark-mode .pbv-eje-inputs label {
  color: #FFFFFF;
}

body.dark-mode,
.dark-mode body,
.dark-mode main,
.dark-mode section,
.dark-mode .contenedor-principal {
  background-color: #000 !important;
}

body.dark-mode .contenedor-espectros {
  background: #000 !important;
}

.dark-mode .pbv-container {
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), #000000;
  box-shadow: 0 1rem 3.5rem rgba(0, 0, 0, 0.35), inset 0 0 0 0.1rem rgba(255, 255, 255, 0.02);
}
.dark-mode .pbv-container::before {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 0.1rem, transparent 0.1rem 2.6rem), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 0.1rem, transparent 0.1rem 2.6rem);
}
.dark-mode .pbv-title {
  color: #FFFFFF;
}
.dark-mode .pbv-title .pbv-gota {
  fill: #d44a0a;
}
.dark-mode .pbv-form {
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  background: #000000;
}
.dark-mode .pbv-form:hover {
  border-color: rgba(255, 255, 255, 0.14);
}
.dark-mode .pbv-form:focus-within {
  box-shadow: 0 0 0 0.8rem rgba(255, 94, 0, 0.08), 0 0 0 0.1rem #d44a0a;
  border-color: #d44a0a;
}
.dark-mode .pbv-input {
  background: #1d1f21;
  color: #FFFFFF;
  border: 0;
  box-shadow: inset 0 0 0 0.1rem rgba(255, 255, 255, 0.06);
}
.dark-mode .pbv-input::placeholder {
  color: #8a8f95;
}
.dark-mode .pbv-input:focus {
  background: #202224;
}
.dark-mode .pbv-calc-btn {
  color: #FFFFFF;
  background: #d44a0a;
  border-left: 0.1rem solid rgba(255, 255, 255, 0.08);
}
.dark-mode .pbv-calc-btn:hover {
  background-color: #d44a0a;
  box-shadow: 0 0 1.6rem rgba(255, 94, 0, 0.45);
  filter: brightness(1.05);
}

/** UI **/
.header {
  /* Fallback universal */
  background-image: url("../img/header.jpg");
  /* Moderno: el navegador elige la mejor */
  background-image: image-set(url("../img/header.jpg") type("image/jpeg") 1x, url("../img/header.jpg") type("image/jpeg") 2x);
  background-color: #333333;
  padding: 1rem 0 3rem 0;
}
.header.inicio {
  background-position: center center;
  background-size: cover;
}
@media (min-width: 768px) {
  .header.inicio {
    min-height: 70rem;
  }
}
@media (min-width: 768px) {
  .header.inicio .contenido-header {
    min-height: 70rem;
  }
}

.contenido-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contenido-header h1 {
  text-align: left;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 2;
  max-width: 60rem;
}

.footer {
  padding: 2.5rem 0;
  background-color: #000000;
  margin-bottom: 0;
}
.footer .contenedor-footer {
  padding-top: 2.5rem;
}
.footer .navegacion {
  visibility: visible;
  opacity: 1;
  height: auto;
}
.footer .copyright {
  color: #FFFFFF;
  text-align: center;
}

.derecha {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .derecha {
    align-items: flex-end;
  }
}
.derecha .dark-mode-boton {
  width: 5rem;
  height: 4rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  border: none;
}
.derecha .dark-mode-boton:hover {
  cursor: pointer;
}
@media (min-width: 768px) {
  .derecha .dark-mode-boton {
    margin-top: 0;
  }
}

.barra {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
}
.barra img {
  width: 30rem;
}
@media (min-width: 768px) {
  .barra {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.navegacion {
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: visibility 0.3s ease-in-out, opacity 0.5s linear, height 0.5s linear;
}
@media (min-width: 768px) {
  .navegacion {
    display: flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
  }
}
.navegacion a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 2.2rem;
  display: block;
  text-align: center;
}
@media (min-width: 768px) {
  .navegacion a {
    margin-right: 2rem;
    font-size: 1.8rem;
  }
  .navegacion a:last-of-type {
    margin-right: 0;
  }
}
.navegacion a:hover {
  color: #ff6a00;
}

/** Menu de hamburguesa **/
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu img {
  width: 5rem;
}

.mostrar {
  visibility: visible;
  opacity: 1;
  height: auto;
}

/* Estilos para la navegación */
.navegacion ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navegacion .menu-item {
  position: relative;
  cursor: pointer;
}

/* Ocultar el submenu por defecto */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -5rem;
  background: black;
  color: white;
  padding: 1rem;
  list-style: none;
  width: 20rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  z-index: 1100;
  background-color: #000;
}

.submenu li {
  padding: 10px;
}

.submenu li a {
  color: white;
  text-decoration: none;
  display: block;
}

.submenu li:hover {
  background: #444;
}

/* Mostrar el submenú de "Cálculos" */
.menu-calculos.activo > .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  overflow: visible;
}

/* Mostrar el submenú de "Teoría de Burmister" */
.submenu-burmister.activo > .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  overflow: visible;
}

.submenu-burmister {
  position: relative;
}
.submenu-burmister > .submenu {
  position: absolute;
  top: 0;
  left: 19.05rem;
}
@media (min-width: 768px) {
  .submenu-burmister > .submenu {
    left: -19.05rem;
    top: 0;
  }
}

.menu-item.activo > .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
}

header {
  position: relative;
  z-index: 1000;
}

.cerrar-sesion {
  color: #ffb200;
  font-weight: bold;
  transition: color 0.2s;
}

.cerrar-sesion:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .navegacion a {
    font-size: 1.4rem !important;
    /* Más pequeña la letra */
    padding: 0.7rem 0 !important;
    /* Menos espacio vertical */
    margin: 0 !important;
    /* Quita márgenes extra */
    letter-spacing: 0 !important;
    /* Opcional: reduce separación letras */
  }
}
.cerrar-sesion .icono-cerrar {
  display: inline;
  font-size: 2.2rem;
  color: #e2df0c;
  vertical-align: middle;
  line-height: 1;
}
.cerrar-sesion .texto-cerrar {
  display: none;
}
@media (min-width: 1024px) {
  .cerrar-sesion .texto-cerrar {
    display: inline;
  }
  .cerrar-sesion .icono-cerrar {
    display: none;
  }
}

@media (min-width: 768px) {
  .iconos-nosotros {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(3, 1fr);
  }
}
.icono {
  text-align: center;
}
.icono img {
  height: 10rem;
}
.icono h3 {
  text-transform: uppercase;
}
.icono p {
  text-align: justify;
}
.icono:last-child p {
  margin-right: 0;
}

@media (min-width: 768px) {
  .contenedor-anuncios {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
  }
}
.anuncio {
  background-color: rgb(237.75, 237.75, 237.75);
  border: 1px solid rgb(199.5, 199.5, 199.5);
  margin-bottom: 2rem;
}
.anuncio .contenido-anuncio {
  padding: 2rem;
}
.anuncio h3, .anuncio p {
  margin: 0;
}

.precio {
  color: #71B100;
  font-weight: 700;
  font-size: 3rem;
}

.iconos-caracteristicas {
  display: flex;
  list-style: none;
  padding: 0;
  max-width: 40rem;
}
.iconos-caracteristicas li {
  flex: 1;
  display: flex;
}
.iconos-caracteristicas li img {
  flex: 0 0 3rem;
  margin-right: 1rem;
}
.iconos-caracteristicas li p {
  font-weight: 900;
}

.imagen-contacto {
  background-image: url("../img/encuentra.jpg");
  background-position: center center;
  background-size: cover;
  padding: 10rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.imagen-contacto h2 {
  font-size: 4rem;
  font-weight: 900;
  color: #FFFFFF;
}
.imagen-contacto p {
  font-size: 1.8rem;
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .seccion-inferior {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 2rem;
  }
}
.entrada-blog {
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .entrada-blog {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 2rem;
  }
}
.entrada-blog:last-of-type {
  margin-bottom: 0;
}

.informacion-meta span {
  color: #d44a0a;
}

.texto-entrada a {
  color: #000000;
  margin-top: 2rem;
  display: block;
}
@media (min-width: 768px) {
  .texto-entrada a {
    margin-top: 0;
  }
}
.texto-entrada h4 {
  margin: 0;
  line-height: 1.4;
}
.texto-entrada h4::after {
  content: "";
  display: block;
  width: 15rem;
  height: 0.5rem;
  background-color: #d44a0a;
  margin-top: 1rem;
}

.justificado {
  text-align: justify;
}

.testimonial {
  background-color: #d44a0a;
  font-size: 2.4rem;
  padding: 2rem;
  color: #FFFFFF;
  border-radius: 2rem;
}
.testimonial blockquote {
  padding-left: 5rem;
  position: relative;
}
.testimonial blockquote::before {
  content: "";
  background-image: url(../img/comilla.svg);
  background-repeat: no-repeat;
  width: 6rem;
  height: 8rem;
  display: block;
  position: absolute;
  left: -2rem;
}
.testimonial p {
  text-align: right;
  color: #FFFFFF;
}

.testimoniales h3 {
  font-size: 3rem;
}

.formulario p {
  font-size: 1.4rem;
  color: #333333;
  margin: 2rem 0 0 0;
}
.formulario legend {
  font-size: 2rem;
  color: #333333;
}
.formulario label {
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}
.formulario input:not([type=submit]),
.formulario textarea,
.formulario select {
  padding: 1rem;
  display: block;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #e1e1e1;
  border-radius: 1rem;
  margin-bottom: 2rem;
}
.formulario textarea {
  height: 20rem;
}
.formulario .forma-contacto {
  max-width: 30rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.formulario input[type=radio] {
  margin: 0;
  width: auto;
}

.formulariounam {
  max-width: 130rem;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  padding: 2rem;
  display: grid;
}

fieldset {
  padding: 2rem;
  margin-bottom: 0;
  border-radius: 0.8rem;
  border: 1px solid gray;
}

h3 {
  font-size: 1.6rem;
  margin: 1rem 0;
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10rem;
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
  justify-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .grid {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-items: stretch;
  }
}

.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centra los elementos */
  text-align: center;
  /* Centra el texto del label */
  width: 100%;
}

label {
  font-size: 1.4rem;
  margin-top: 0.5rem;
}

.fila {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

input {
  width: 12rem;
  padding: 0.5rem;
  font-size: 1.4rem;
  text-align: center;
  border-radius: 0.7rem;
  border: 0.2rem solid #808080;
}

.botones {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

button {
  display: block;
  margin: 2rem auto 0;
  padding: 1.7rem;
  border-radius: 5px;
  background-color: #ccc;
  cursor: pointer;
  font-size: 1.4rem;
}

button:hover {
  background-color: #aaa;
}

p {
  text-align: left;
  margin-top: 0;
  font-size: 1.8rem;
}

legend {
  text-align: center;
  font-size: 2.5rem;
  letter-spacing: 0.3rem;
  font-weight: 700;
}

select {
  width: 12rem;
  padding: 0.5rem;
  font-size: 1.4rem;
  text-align: center;
  border-radius: 0.7rem;
  border: 0.2rem solid #808080;
}

.mensajeunam {
  padding-left: 5rem;
}

.mensajeunam {
  display: grid;
  place-items: center;
  text-align: center;
  width: 100%;
  min-height: 5rem;
}

.tituloejes {
  font-size: 3.5rem;
  margin-top: 0;
  margin-bottom: 4rem;
  font-weight: 700;
}

#articulos {
  font-size: 3rem;
}

html,
body {
  height: 100%;
  margin: 0;
}

.pagina {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

main {
  flex-grow: 1;
}

.boton-diseño {
  display: flex;
  justify-content: center;
  padding: 1.5rem 3rem;
}

/* ───────────────────────────────
   ░ GENERAL
──────────────────────────────── */
p {
  text-align: left;
  margin-top: 2rem;
  font-size: 1.8rem;
  font-weight: normal;
}

/* ───────────────────────────────
   ░ FORMULARIO DE DETERIORO
──────────────────────────────── */
.deterioro-check {
  width: fit-content;
  margin: 2rem auto;
  text-align: center;
}

.deterioro-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
}

.bloque-formulario {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgb(128, 128, 128);
  border-radius: 0.8rem;
  background-color: white;
}

/* ───────────────────────────────
   ░ BOTONES MODELOS DE DETERIORO
──────────────────────────────── */
.botones-modelo {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .botones-modelo {
    display: flex;
    flex-wrap: wrap;
  }
}
.btn-modelo {
  padding: 0.6rem 1.2rem;
  border: 0.1rem solid #444;
  border-radius: 0.6rem;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-modelo:hover {
  background-color: #e0e0e0;
}

.btn-modelo.activo {
  background-color: #222;
  color: white;
  font-weight: bold;
  border-color: #222;
}

/* ───────────────────────────────
   ░ TABLA DE RESULTADOS
──────────────────────────────── */
.tabla-wrapper, .tabla-deterioro {
  width: 100%;
  max-width: 130rem;
  margin: 2rem auto;
  padding: 0 2rem;
  overflow-x: auto;
  box-sizing: border-box;
}

.tabla-resultados, .tabla-deterioro {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 1.6rem;
  box-sizing: border-box;
}

.tabla-resultados th, .tabla-deterioro th,
.tabla-resultados td, .tabla-deterioro td {
  border: 0.1rem solid gray;
  padding: 0.6rem 0.8rem;
  white-space: nowrap;
}

/* ───────────────────────────────
   ░ ESTRUCTURA DE CAPAS
──────────────────────────────── */
.capas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.capa-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.capa {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.capa-title {
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #1f2937;
  font-size: 2rem;
}
@media (min-width: 768px) {
  .capa-title {
    text-align: left;
  }
}

.capa-fields {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
}
@media (min-width: 768px) {
  .capa-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 4 columnas para Material, Espesor, Módulo, Poisson */
    gap: 1rem;
    justify-items: stretch;
    align-items: start;
  }
}

/* ───────────────────────────────
   ░ ÚLTIMA CAPA: SUBRASANTE
──────────────────────────────── */
.capa-fields.centrado {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  gap: 1rem;
}
.capa-fields.centrado .field-material {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.capa-fields.centrado .field-material label {
  text-align: center;
  width: 100%;
}
@media (min-width: 768px) {
  .capa-fields.centrado .field-material {
    align-items: start;
    text-align: left;
  }
  .capa-fields.centrado .field-material label {
    text-align: left;
  }
}
@media (min-width: 768px) {
  .capa-fields.centrado {
    grid-template-columns: repeat(3, 1fr);
    /* Igual que las otras capas */
    justify-items: start;
    gap: 1rem;
  }
}

.ultimo-espesor {
  background: #eee;
  color: #999;
  text-align: center;
}

.field-material select {
  width: 100%;
  min-width: 16rem;
}
@media (min-width: 768px) {
  .field-material select {
    max-width: 14rem;
  }
}
@media (min-width: 1024px) {
  .field-material select {
    max-width: 22rem;
  }
}

/* ───────────────────────────────
   ░ TÍTULO DE CADA CAPA
──────────────────────────────── */
.capa-title {
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #1f2937;
  font-size: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .capa-title {
    text-align: left;
    margin-left: 0;
  }
}

.field-placeholder {
  visibility: hidden;
}

/* ───────────────────────────────
   ░ CAMPOS INDIVIDUALES
──────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  min-width: 150px;
  flex: 1 1 200px;
}
@media (min-width: 480px) {
  .field {
    width: 100%;
    max-width: 240px;
    flex: center;
  }
}

h4 {
  font-size: 1.9rem;
  margin: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  h4 {
    text-align: left;
  }
}

.btn-agregar-carga {
  margin: 4rem auto 0;
  padding: 1rem;
}

.col-eliminar {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
}

.eliminar-carga {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: red;
}

.eliminar-carga img {
  width: 2.4rem;
  height: 2.4rem;
  filter: brightness(0) saturate(100%) invert(13%) sepia(96%) saturate(6362%) hue-rotate(359deg) brightness(99%) contrast(104%);
}

.seleccion-capas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

/* ───────────────────────────────
   ░ CENTRADO DE INPUTS EN MÓVIL
──────────────────────────────── */
input {
  width: 12rem;
}

@media (min-width: 480px) {
  .field {
    align-items: center;
  }
}
@media (min-width: 480px) {
  .field label {
    text-align: center;
  }
}
@media (min-width: 480px) {
  .field input,
  .field select {
    display: block;
    margin: 0.4rem auto;
    min-width: 12rem;
    max-width: 90%;
  }
}

.analisis-numerico {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .analisis-numerico {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Solo centrar el label de “Material” en la Subrasante */
.capa-fields.centrado .field-material {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.capa-fields.centrado .field-material label {
  text-align: center;
  width: 100%;
}

/* El overlay */
/* ===== Overlay de carga (centrado absoluto) ===== */
#pantalla-cargando {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Contenido: spinner + texto */
#pantalla-cargando .contenido-cargando {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

#pantalla-cargando .contenido-cargando p {
  margin: 0.75rem 0 0;
  text-align: center;
}

/* Spinner */
#pantalla-cargando .spinner {
  width: 80px;
  height: 80px;
  border: 10px solid #ccc;
  border-top: 10px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#exportarExcelBtn {
  background-color: #16a34a;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  float: right;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

#exportarExcelBtn:hover {
  background-color: #15803d;
}

input.error {
  border: 2px solid red;
  background-color: #ffecec;
}

.ayuda-tooltip {
  position: relative;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

.icono-ayuda {
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  background: #f3af4a;
  color: #000000;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  line-height: 1.8rem;
  box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.12);
  transition: background 0.2s;
}

.icono-ayuda:hover,
.ayuda-tooltip:hover .icono-ayuda {
  background: #ff9800;
  color: #FFFFFF;
}

.tooltip-text {
  visibility: hidden;
  width: 230px;
  background-color: #333;
  color: #FFFFFF;
  text-align: left;
  border-radius: 5px;
  padding: 10px 12px;
  position: absolute;
  z-index: 100;
  left: 120%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.25s;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ayuda-tooltip:hover .tooltip-text,
.ayuda-tooltip:focus-within .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-left {
  left: auto !important;
  right: 0;
  transform: none;
}

@media (max-width: 600px) {
  .tooltip-text,
  .tooltip-left {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-75%) !important;
    max-width: 96vw;
    min-width: unset;
  }
}
.botones-modelo {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.botones-modelo .boton-ayuda {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/** Media Queries **/
.nombre-archivo {
  font-size: 1.2rem;
  color: #333333;
  margin-top: 1rem;
}

.pbv-container {
  max-width: 80rem;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background-color: #FFFFFF;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
  text-align: center;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05) 0.1rem, transparent 0.1rem), linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0.1rem, transparent 0.1rem);
  background-size: 2.4rem 2.4rem;
}

.pbv-filtro {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 60rem;
  margin: 0 auto;
}

.pbv-label {
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #333333;
}

.pbv-input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pbv-input-group-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pbv-title {
  font-size: 3rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 2rem;
}

.pbv-upload-btn {
  display: inline-block;
  background-color: #d44a0a;
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 1rem 2.5rem;
  margin: 2rem;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pbv-upload-btn:hover {
  background-color: #d44a0a;
}

.pbv-hidden-input {
  display: none;
}

.pbv-options {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.pbv-filtro .pbv-label {
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}

.pbv-input {
  padding: 0 2rem;
  font-size: 1.5rem;
  border-radius: 0.6rem;
  border: 0.1rem solid #e1e1e1;
  height: 3.8rem;
  width: 20rem;
  text-align: center;
  background: #FFFFFF;
  color: #333333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.pbv-button {
  background-color: #d44a0a;
  color: #FFFFFF;
  font-weight: 700;
  padding: 0 2rem;
  font-size: 1.5rem;
  border: none;
  border-radius: 0.6rem;
  height: 3.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  margin: 0;
}

.pbv-button:hover {
  background-color: #d44a0a;
}

.pbv-grafica {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: 3rem;
  border-radius: 1rem;
  background-color: #FFFFFF;
  padding: 3rem;
  border: 0.1rem solid #e1e1e1;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.04) 0.1rem, transparent 0.1rem), linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 0.1rem, transparent 0.1rem);
  background-size: 2.4rem 2.4rem;
}

#graficaPBV {
  max-width: 100%;
  height: auto;
}

.hidden {
  display: none !important;
}

.pbv-clean-btn {
  background-color: #f1f1f1;
  color: #333333;
  font-size: 1.5rem;
  padding: 0.8rem 1rem;
  border: 0.1rem solid #e1e1e1;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pbv-clean-btn:hover {
  background-color: #e4e4e4;
}

.toggle-avanzadas {
  margin-top: 1rem;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.toggle-avanzadas label {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333333;
}

.pbv-avanzadas {
  margin-top: 1rem;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background-color: #FFFFFF;
  border-radius: 1rem;
  border: 0.1rem solid #e1e1e1;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.04) 0.1rem, transparent 0.1rem), linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 0.1rem, transparent 0.1rem);
  background-size: 2.4rem 2.4rem;
}
.pbv-avanzadas p {
  text-align: center;
  font-size: 2.2rem;
  margin-top: 0;
  font-weight: 700;
  color: #333333;
}

.pbv-eje-inputs label {
  display: flex;
  justify-content: space-between;
  font-size: 1.7rem;
  margin-top: 0.5rem;
  color: #333333;
}
.pbv-eje-inputs label input {
  font-size: 1.5rem;
}

.pbv-eje-inputs input {
  font-size: 1.5rem;
}

.boton-verde-oscuro {
  font-size: 1.5rem;
  background: #16a34a;
  color: #FFFFFF;
}

.pa-chat {
  --chat-w: clamp(36rem, 26vw, 48rem);
  --chat-h: 50vh;
  position: fixed;
  right: 2.4rem;
  bottom: 15rem;
  width: var(--chat-w);
  height: var(--chat-h);
  display: none;
  grid-template-rows: auto 1fr auto;
  background: rgba(245, 195, 159, 0.3803921569);
  color: #FFFFFF;
  border-radius: 1.8rem;
  overflow: hidden;
  z-index: 10000;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.45), 0 0 0 0.1rem rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(1.4rem) saturate(120%);
  -webkit-backdrop-filter: blur(1.4rem) saturate(120%);
}

.pa-chat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 1.8rem;
  border: 0.2rem solid #ff6a00;
  box-shadow: 0 0 1.4rem #ff6a00, 0 0 3.6rem rgba(212, 74, 10, 0.45), inset 0 0 2.8rem rgba(255, 106, 0, 0.12);
  animation: pa-glow 2.6s ease-in-out infinite alternate;
}

@keyframes pa-glow {
  0% {
    box-shadow: 0 0 1rem #ff6a00, 0 0 2.4rem rgba(212, 74, 10, 0.35), inset 0 0 1.8rem rgba(255, 106, 0, 0.08);
  }
  100% {
    box-shadow: 0 0 1.8rem #ff6a00, 0 0 4.6rem rgba(212, 74, 10, 0.55), inset 0 0 3.4rem rgba(255, 106, 0, 0.16);
  }
}
.pa-chat.open {
  display: grid;
}

.pa-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0) 40%), rgba(255, 255, 255, 0.02);
  border-bottom: 0.1rem solid rgba(255, 106, 0, 0.22);
}

.pa-fin-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
  width: auto;
  max-width: max-content;
}

.pa-fin-logo {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  border-radius: 0.7rem;
  background: #d44a0a;
  object-fit: contain;
  box-shadow: 0 0 1.2rem rgba(255, 106, 0, 0.35);
}

.pa-fin-titles {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 22rem;
  white-space: nowrap;
}

.pa-fin-titles strong {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1.05;
  padding: 0.2rem 0.6rem;
  border-radius: 0.9rem;
  background: rgba(255, 106, 0, 0.1);
  box-shadow: 0 0 0 0.1rem rgba(255, 106, 0, 0.22) inset;
  color: #000000;
}

.pa-fin-titles span {
  font-weight: 700;
  display: inline;
  font-size: 1.1rem;
  color: #000000;
  max-width: 22rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pa-chat__actions button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  color: #000000;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.08s ease;
}

.pa-chat__actions button:hover {
  opacity: 1;
  transform: translateY(-0.1rem);
}

.pa-chat__body {
  padding: 1.4rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pa-chat__body::-webkit-scrollbar {
  width: 1rem;
}

.pa-chat__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
}

.pa-msg {
  border-radius: 1.6rem;
  padding: 1rem 1.2rem;
  line-height: 1.35;
  max-width: 88%;
  word-wrap: break-word;
  font-size: 1.45rem;
  background: #d44a0a;
}

.pa-user {
  align-self: flex-end;
  background: #d44a0a;
  color: #FFFFFF;
  border: 0.1rem solid rgba(255, 255, 255, 0.06);
}

.pa-bot {
  align-self: flex-start;
  background: #d44a0a;
  color: #FFFFFF;
  border: 0.1rem solid rgba(255, 255, 255, 0.06);
}

.pa-typing {
  opacity: 0.75;
}

.pa-chat__foot {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-top: 0.1rem solid rgba(255, 106, 0, 0.18);
}

.pa-input {
  margin: 0;
  flex: 1;
  height: 4.2rem;
  border: 0;
  outline: none;
  background: #FFFFFF;
  color: #000000;
  border-radius: 2.2rem;
  padding: 0 1.4rem;
  box-shadow: inset 0 0 0 0.1rem rgba(255, 255, 255, 0.06);
  font-size: 1.5rem;
}

.pa-input::placeholder {
  color: #ff6a00;
  font-style: italic;
}

.pa-send {
  margin: 0 2rem 0 0;
  border: 0;
  height: 4.2rem;
  min-width: 4.2rem;
  border-radius: 2.2rem;
  background: #ff6a00;
  color: #000000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.8rem 2rem rgba(212, 74, 10, 0.35);
  transition: transform 0.08s ease, opacity 0.15s ease;
}
.pa-send:hover {
  background-color: #d44a0a;
  transform: scale(1.04);
}

.pa-send:active {
  transform: translateY(0.1rem);
  opacity: 0.9;
}

.pa-chat__toggle {
  position: fixed;
  right: 3rem;
  bottom: 4rem;
  z-index: 9999;
  width: 4.8rem;
  height: 4.8rem;
  border: 0;
  border-radius: 999rem;
  padding: 0;
  background: #ff6a00;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.28), 0 0 1.2rem rgba(255, 106, 0, 0.45);
  transition: transform 0.08s ease, background-color 0.2s ease, color 0.2s ease;
}

.pa-toggle-chatlogo {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 0.2rem rgba(0, 0, 0, 0.25));
}

.pa-chat.open + .pa-chat__toggle {
  height: 5rem;
  width: 5rem;
  right: 2rem;
  bottom: 2rem;
  background: #ff6a00;
  color: #FFFFFF;
}

.pa-chat.open + .pa-chat__toggle .pa-toggle-chatlogo {
  display: none;
}

.pa-chat.open + .pa-chat__toggle {
  display: inline-flex;
}

@media (max-width: 768px) {
  .pa-chat {
    --chat-h: 70vh;
    right: 1.2rem;
    left: 1.2rem;
    bottom: 1.2rem;
    width: auto;
    height: var(--chat-h);
  }
  .pa-chat__toggle {
    right: 1.2rem;
    bottom: 1.2rem;
    width: 4.4rem;
    height: 4.4rem;
  }
  .pa-chat.open + .pa-chat__toggle {
    right: 1.2rem;
    bottom: calc(1.2rem + var(--chat-h) + 1.2rem);
  }
}
.pbv-options .pbv-filtro {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  column-gap: 1.6rem;
}

.pbv-options .pbv-input-group {
  display: contents;
}

.pbv-options .pbv-input {
  min-width: 26rem;
  width: 100%;
}

.pbv-options #btnFiltro {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .pbv-options .pbv-filtro {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }
  .pbv-options .pbv-input {
    min-width: 0;
  }
  .pbv-options #btnFiltro {
    justify-self: stretch;
  }
}
.pa-fin-logo {
  width: 7rem;
  height: 7rem;
  object-fit: contain;
  margin-right: 1rem;
  border-radius: 50%;
}

.pa-chat__toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 0 2rem 0.6rem rgba(255, 102, 0, 0.8);
  animation: halo-fosfo 2s infinite alternate;
}

.pa-toggle-chatlogo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.pa-toggle-icon {
  display: none;
  height: 2rem;
  color: #FFFFFF;
}

.pa-chat.open + .pa-chat__toggle .pa-toggle-chatlogo {
  display: none;
}

.pa-chat.open + .pa-chat__toggle .pa-toggle-icon {
  display: block;
}

@keyframes halo-fosfo {
  0% {
    box-shadow: 0 0 1.4rem rgba(255, 106, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 2.6rem rgba(255, 106, 0, 0.85);
  }
}
.layer-card {
  border: 1px solid var(--border, #2f2f2f);
  border-left-width: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.2rem 1.4rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.layer-1 {
  border-color: #d44a0a;
}

.layer-2 {
  border-color: #e1e1e1;
}

.layer-3 {
  border-color: #d4b59f;
}

.layer-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.layer-head h3 {
  font-size: 2rem;
  margin: 0;
}

.badge {
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
}

.layer-1 .badge {
  color: #d44a0a;
  border: 2px solid #d44a0a;
}

.layer-2 .badge {
  color: #e1e1e1;
  border: 2px solid #e1e1e1;
}

.layer-3 .badge {
  color: #d4b59f;
  border: 2px solid #d4b59f;
}

.layer-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.layer-body label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #e8e8e8;
  font-size: 1.1rem;
  text-align: center;
}
.layer-body label span {
  color: #e8e8e8;
}

/* Grupo input + unidad tipo chip */
.input-unit {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.input-unit .unit {
  color: #9aa4b2;
  font-size: 1rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #444;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

/** Media Queries **/
.modulos {
  padding: 4rem 0 6rem;
}
.modulos .modulos__titulo {
  font-weight: 700;
  font-size: 4rem;
  margin-bottom: 3rem;
}
.modulos .modulos__intro {
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.modulos .modulos__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .modulos .modulos__grid {
    display: grid;
    gap: 2.4rem;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .modulos .modulos__grid {
    display: grid;
    gap: 2.4rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tarjeta */
.modulo-card {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 2rem 2.2rem;
  border-radius: 1.2rem;
  min-height: 150px;
  /* Fondo y CUADRO */
  background-color: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  /* ← cuadro más visible */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 10px 28px rgba(0, 0, 0, 0.28);
  /* sombra para “tarjeta” */
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.modulo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 183, 5, 0.6);
  /* resalta el cuadro al hover */
  box-shadow: 0 0 0 1px rgba(242, 183, 5, 0.35) inset, 0 12px 32px rgba(0, 0, 0, 0.45);
}
.modulo-card__title {
  color: #FFFFFF;
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 0.8rem 0;
}
.modulo-card__desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.45rem;
  line-height: 1.55;
  margin: 0;
}
.modulo-card__line {
  display: block;
  height: 0.6rem;
  width: 82%;
  margin-top: 1.4rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.pg-container {
  max-width: 65rem;
  margin: 2rem auto;
  background: #FFFFFF;
  border-radius: 1.4rem;
  padding: 2.5rem;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.12);
  font-family: "Raleway", sans-serif;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05) 0.1rem, transparent 0.1rem), linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0.1rem, transparent 0.1rem);
  background-size: 2.4rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pg-title {
  font-size: 3rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 2rem;
}
.pg-title svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: #333333;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.pg-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.pg-label {
  width: 100%;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 0.35rem;
}

.pg-input {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 0.1rem solid #e1e1e1;
  border-radius: 1rem;
  font-size: 1.2rem;
  background: #FFFFFF;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.pg-input::placeholder {
  color: rgba(51, 51, 51, 0.55);
}
.pg-input:focus {
  outline: none;
  border-color: #d44a0a;
  box-shadow: 0 0 0 0.4rem rgba(212, 74, 10, 0.18);
}
.pg-input.is-error {
  border-color: rgb(185, 5, 5);
  box-shadow: 0 0 0 0.4rem rgba(185, 5, 5, 0.16);
}

.pg-calc-btn {
  width: 100%;
  background: #d44a0a;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.02s ease;
}
.pg-calc-btn:hover {
  background: #d44a0a;
}
.pg-calc-btn:active {
  transform: translateY(0.1rem);
}
.pg-calc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pg-result {
  margin-top: 1.6rem;
  width: 100%;
  text-align: left;
}

.pg-card {
  background: #FFFFFF;
  border-radius: 1.2rem;
  padding: 1.2rem;
  border: 0.1rem solid #e1e1e1;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
}

.pg-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
}
.pg-list li {
  margin: 0.3rem 0;
  font-size: 1rem;
}
.pg-list li strong {
  font-weight: 700;
  color: #333333;
}

.pg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .pg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pg-loading {
  color: #d44a0a;
  font-weight: 700;
}

.pg-error {
  color: rgb(185, 5, 5);
  background: rgba(185, 5, 5, 0.06);
  border: 0.1rem solid rgba(185, 5, 5, 0.25);
  border-radius: 0.8rem;
  padding: 0.7rem 1rem;
}

/** Paginas Internas **/
@media (min-width: 768px) {
  .contenido-nosotros {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

.texto-nosotros blockquote {
  font-weight: 900;
  font-size: 2.2rem;
  margin: 3rem 0 0 0;
  padding-left: 1rem 0 3rem 0;
}

.alerta {
  padding: 0.5rem;
  text-align: center;
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  margin: 1rem 0;
}
.alerta.error {
  background-color: rgb(185, 5, 5);
}
.alerta.exito {
  background-color: #71B100;
}

table.propiedades {
  margin-top: 4rem;
  width: 100%;
  border-spacing: 0;
}
table.propiedades thead {
  background-color: #71B100;
}
table.propiedades thead th {
  color: #FFFFFF;
  padding: 2rem;
}
table.propiedades .imagen-tabla {
  width: 10rem;
}

.imagen-small {
  width: 10rem;
}

/** Login y Registro **/
/** Media Queries **/
.acciones {
  margin-top: 5rem;
}
@media (min-width: 768px) {
  .acciones {
    display: flex;
    justify-content: space-between;
  }
}
.acciones a {
  color: #FFFFFF;
  display: block;
  margin-bottom: 2.5rem;
  text-align: center;
}

.alerta {
  padding: 1.25rem;
  color: #FFFFFF;
  width: 100%;
  display: block;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}
.alerta.error {
  background-color: rgb(185, 5, 5);
}
.alerta.exito {
  background-color: #71B100;
}

/** Media Queries **/
.boton-login {
  background-color: #f2b705;
  padding: 1.5rem 4rem;
  color: #000000;
  margin-top: 2rem;
  font-size: 2rem;
  font-weight: 400;
  display: inline-block;
  font-weight: 700;
  border: none;
  transition-property: background-color;
  transition-duration: 0.3s;
  text-align: center;
  display: block;
  width: 100%;
  margin: 5rem 0;
}
@media (min-width: 768px) {
  .boton-login {
    width: auto;
  }
}
.boton-login:hover {
  background-color: rgb(192.032388664, 145.2145748988, 3.967611336);
  cursor: pointer;
}

/** Media Queries **/
.formulario-login {
  margin-top: 5rem;
  width: 100%;
}

.campo {
  width: 100%;
  margin-bottom: 2rem;
}

.campo input {
  width: 100%;
  box-sizing: border-box;
}

.input-con-icono {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-con-icono input {
  width: 100%;
  padding-right: 2.5rem;
  box-sizing: border-box;
}

.icono-password {
  position: absolute;
  right: 1.2rem;
  top: 35%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
}

.icono-password svg {
  height: 2.5rem;
  width: 2.5rem;
  display: block;
}

/** Media Queries **/
.imagen-login {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  background-image: url("/build/img/login.jpg");
  background-size: cover;
  background-position: center center;
}
@media (min-width: 768px) {
  .imagen-login {
    height: auto;
  }
}

/** Media Queries **/
.formulario-login {
  margin-top: 5rem;
  width: 100%;
}

.campo {
  width: 100%;
  margin-bottom: 2rem;
}

.campo input {
  width: 100%;
  box-sizing: border-box;
}

.input-con-icono {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-con-icono input {
  width: 100%;
  padding-right: 2.5rem;
  box-sizing: border-box;
}

.icono-password {
  position: absolute;
  right: 1.2rem;
  top: 35%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
}

.icono-password svg {
  height: 2.5rem;
  width: 2.5rem;
  display: block;
}

.boton-login {
  background-color: #f2b705;
  padding: 1.5rem 4rem;
  color: #000000;
  margin-top: 2rem;
  font-size: 2rem;
  font-weight: 400;
  display: inline-block;
  font-weight: 700;
  border: none;
  transition-property: background-color;
  transition-duration: 0.3s;
  text-align: center;
  display: block;
  width: 100%;
  margin: 5rem 0;
}

@media (min-width: 768px) {
  .boton-login {
    width: auto;
  }
}
.boton-login:hover {
  background-color: rgb(192.032388664, 145.2145748988, 3.967611336);
  cursor: pointer;
}

.acciones {
  margin-top: 5rem;
}

@media (min-width: 768px) {
  .acciones {
    display: flex;
    justify-content: space-between;
  }
}
.acciones a {
  color: #FFFFFF;
  display: block;
  margin-bottom: 2.5rem;
  text-align: center;
}

.alerta {
  padding: 1.25rem;
  color: #FFFFFF;
  width: 100%;
  display: block;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}

.alerta.error {
  background-color: rgb(185, 5, 5);
}

.alerta.exito {
  background-color: #71B100;
}

.campo label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: #fff;
  font-size: 1.5rem;
}

.campo input,
.campo select {
  width: 100%;
  height: 4.5rem;
  padding: 1.2rem 1.4rem;
  border: none;
  border-radius: 1rem;
  background: #f3f7ff;
  color: #222;
  font-size: 1.6rem;
  font-family: inherit;
  margin-bottom: 2rem;
  appearance: none;
  outline: none;
  box-shadow: none;
  transition: box-shadow 0.3s;
}

.campo input:focus,
.campo select:focus {
  outline: 2px solid #0d6efd;
}

/* Flecha personalizada para select */
.campo {
  position: relative;
}

.campo select {
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1 1L7 7L13 1' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 2.2rem 1.2rem;
  padding-right: 3.2rem;
}/*# sourceMappingURL=app.css.map */
