@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable-Italic.woff2") format("woff2");
}
/* Ventaneros.cl — rediseño basado en la referencia de noviembre de 2026. */
:root {
  --tinta: #101928;
  --texto: #101928;
  --suave: #687285;
  --fondo: #f5f6f9;
  --borde: #e3e7ee;
  --acento: #3152f4;
  --acento-fuerte: #2342d5;
  --acento-10: #edf0ff;
  --acento-20: #dce2ff;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gold: #ffb640;
  --navy: #0e1725;
  --header: 72px;
}
body {
  font-family: var(--ui);
  background: #f5f6f9;
}
.header {
  background: var(--navy);
  color: white;
  border: 0;
}
.header .marca,
.header .header__salir {
  color: white;
}
.marca__ico {
  background: var(--acento);
}
.header__acciones .btn {
  background: var(--gold);
  color: var(--tinta);
  border-color: var(--gold);
}
.header__acciones .btn:hover {
  background: #ffd086;
  color: var(--tinta);
  border-color: #ffd086;
}
.cotizar {
  min-height: 65vh;
}
.cotizar .bloque {
  background: white;
}
.footer {
  background: var(--navy);
  color: #abb4c3;
}
.footer a {
  color: white;
}
.home [hidden] {
  display: none !important;
}
.home {
  background: #f5f6f9;
  color: var(--tinta);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
.home h1,
.home h2,
.home h3,
.home strong,
.home button {
  font-family: "Inter", sans-serif;
}
.home h1,
.home h2,
.home h3,
.home p {
  margin: 0;
}
.home h2 {
  font-size: 36px;
  line-height: 1.13;
  letter-spacing: -1.6px;
  font-weight: 800;
}
.home h3 {
  letter-spacing: -0.45px;
}
.home h2 em {
  font-family: var(--ui);
  font-weight: 400;
  color: var(--acento);
  font-size: 1.12em;
}
.home button,
.home input,
.home select,
.home textarea {
  font: inherit;
}
.home button {
  cursor: pointer;
}
.home button:disabled {
  cursor: not-allowed;
}
.home a {
  text-decoration: none;
}
.home fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.home .wrap {
  width: min(1100px, calc(100% - 64px));
  margin-inline: auto;
}
.home .eyebrow {
  font:
    700 10px/1.5 "Inter",
    sans-serif;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #7a8597;
}
.hero-shell {
  background: var(--navy);
  color: white;
  background-image: linear-gradient(
    90deg,
    transparent 49.8%,
    #ffffff02 50%,
    transparent 50.2%
  );
  background-size: 90px 100%;
}
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: white !important;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.brand-icon {
  width: 25px;
  height: 25px;
  background: #3152f4;
  border-radius: 5px;
  padding: 3px;
  margin-right: 9px;
  display: inline-flex;
}
.brand-icon svg {
  width: 100%;
  height: 100%;
}
.brand-dot {
  color: var(--gold);
}
.home-header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.home-header nav a {
  font-size: 12px;
  color: #d3dae7;
}
.home-header nav a:hover {
  color: white;
}
.home-header .nav-company {
  border: 1px solid #ffffff24;
  border-radius: 99px;
  padding: 7px 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 94px;
  align-items: start;
  padding-block: 62px 66px;
}
.location-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 99px;
  padding: 7px 12px;
  background: #1a2639;
  color: #d3dbea;
  font-size: 11px;
  margin-bottom: 24px;
}
.location-label > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #32cf9c;
}
.hero-copy h1 {
  font-size: 58px;
  line-height: 1.035;
  letter-spacing: -3.8px;
  font-weight: 800;
}
.hero-copy h1 em {
  font-family: var(--ui);
  color: var(--gold);
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -2px;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: #b3bdcd;
  max-width: 420px;
  margin-top: 28px;
}
.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.avatar-stack {
  display: flex;
  padding-left: 0;
}
.avatar-stack span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffbe49;
  border: 2px solid var(--navy);
  font-size: 10px;
  font-weight: 800;
  margin-left: -7px;
  color: var(--navy);
}
.avatar-stack span:first-child {
  margin-left: 0;
}
.avatar-stack span:nth-child(2) {
  background: #3354f2;
  color: white;
}
.avatar-stack span:nth-child(3) {
  background: #c5d4f5;
}
.avatar-stack span:last-child {
  background: #27364e;
  color: white;
  font-size: 9px;
}
.social-proof strong {
  display: block;
  font-size: 11px;
  line-height: 1.6;
}
.social-proof small {
  display: block;
  font-size: 10px;
  color: #9ba8ba;
}
.quote-card {
  background: white;
  color: var(--tinta);
  border-radius: 20px;
  position: relative;
  padding: 26px;
  box-shadow: 0 20px 50px #0003;
  margin-top: 4px;
  scroll-margin-top: 24px;
}
.whatsapp-note {
  position: absolute;
  top: -23px;
  right: -14px;
  background: var(--gold);
  padding: 9px 16px;
  border-radius: 8px;
  color: #4b3106;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 6px 14px #0002;
  transform: rotate(2deg);
  display: flex;
  align-items: center;
  gap: 7px;
}
.whatsapp-note svg {
  height: 14px;
  width: 14px;
}
.quote-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #697487;
  letter-spacing: 1px;
  font-weight: 700;
}
.quote-card h2 {
  font-size: 22px;
  letter-spacing: -0.8px;
  margin-top: 12px;
}
.step-progress {
  display: flex;
  height: 3px;
  gap: 4px;
  margin: 16px 0;
}
.step-progress span {
  flex: 1;
  background: #e9edf5;
  border-radius: 5px;
}
.step-progress span:first-child,
.step-progress span.done {
  background: var(--acento);
}
.mini-label,
.choice-field legend {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 7px;
}
.mini-label {
  margin-top: 16px;
}
.mini-label small {
  float: right;
  color: #8993a1;
  font-weight: 400;
}
.quote-card input:not([type="radio"]):not([type="checkbox"]),
.quote-card select,
.quote-card textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #dce1ea;
  border-radius: 7px;
  background: white;
  color: var(--tinta);
  min-height: 40px;
  outline-offset: 2px;
  font-size: 12px;
}
.quote-card textarea {
  resize: vertical;
}
.quote-card input[type="file"] {
  font-size: 10px !important;
  padding: 8px !important;
}
.commune-input {
  display: flex;
  align-items: center;
  border: 1px solid #dce1ea;
  background: #f6f7fa;
  border-radius: 7px;
  padding-left: 10px;
}
.commune-input > svg {
  width: 15px;
  height: 15px;
  color: var(--acento);
  flex-shrink: 0;
}
.quote-card .commune-input input {
  border: 0;
  background: transparent;
  min-width: 0;
}
.commune-input button {
  border: 0;
  background: transparent;
  color: var(--acento);
  padding: 8px;
  display: flex;
}
.commune-input button svg {
  width: 15px;
  height: 15px;
}
.choice-field {
  margin-top: 18px !important;
}
.choice-grid {
  display: grid;
  gap: 7px;
}
.choice-grid label {
  position: relative;
  cursor: pointer;
  min-width: 0;
}
.choice-grid input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.choice-grid span {
  display: block;
  border: 1px solid #dce1ea;
  border-radius: 7px;
  padding: 10px 8px;
  font-size: 11px;
  line-height: 1.3;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.choice-grid input:checked + span {
  background: #edf0ff;
  border-color: var(--acento);
  color: #2447e0;
  box-shadow: inset 0 0 0 1px var(--acento);
}
.choice-grid input:focus-visible + span {
  outline: 2px solid #3152f4;
  outline-offset: 2px;
}
.project-options {
  grid-template-columns: 1fr 1fr;
}
.segmented {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #eff2f7;
  border-radius: 7px;
  padding: 3px;
}
.segmented span {
  border: 0;
  text-align: center;
  padding: 9px 4px;
}
.segmented input:checked + span {
  background: white;
  box-shadow: 0 1px 5px #14264520;
  color: var(--tinta);
}
.quantities {
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.wizard-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.wizard-next {
  border: 0;
  flex: 1;
  border-radius: 8px;
  color: white;
  background: var(--acento);
  padding: 12px 16px;
  font-size: 12px !important;
  font-weight: 800;
}
.wizard-next:hover {
  background: #2343db;
}
.wizard-next span {
  margin-left: 10px;
}
.wizard-back {
  background: #f1f3f8;
  color: #657188;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px !important;
}
.wizard-error {
  background: #fff0ed;
  color: #a93c31;
  border-radius: 5px;
  padding: 9px !important;
  font-size: 12px;
  margin: 10px 0 !important;
}
.wizard-step .mini-label:first-of-type {
  margin-top: 0;
}
.quote-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}
.field-note {
  color: #8993a1;
  font-size: 10px;
}
.phone-input {
  display: flex;
  border: 1px solid #dce1ea;
  border-radius: 7px;
  align-items: center;
  overflow: hidden;
}
.phone-input > span {
  padding-left: 11px;
  font-size: 12px;
  color: #778396;
}
.quote-card .phone-input input {
  border: 0 !important;
}
.quote-consent {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 18px;
  color: #687386;
}
.quote-consent input {
  margin-top: 3px;
  accent-color: var(--acento);
  flex-shrink: 0;
}
.contact-intro {
  color: #6a7586;
  font-size: 12px;
}
.chosen-summary {
  font-size: 11px;
  color: var(--acento);
  margin-top: 12px !important;
}
.bot-trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.project-shortcuts {
  padding-bottom: 48px;
}
.project-shortcuts > .eyebrow {
  margin-bottom: 12px;
  color: #8a9bb4;
}
.project-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.project-shortcut-grid button {
  border: 1px solid #ffffff08;
  background: #172235;
  color: white;
  border-radius: 11px;
  padding: 15px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.project-shortcut-grid button:hover {
  background: #22324c;
}
.project-icon {
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #26334b;
  color: var(--gold);
  flex-shrink: 0;
}
.project-icon svg {
  width: 19px;
  height: 19px;
}
.project-shortcut-grid strong {
  display: block;
  font-size: 11px;
}
.project-shortcut-grid small {
  display: block;
  font-size: 10px;
  color: #9faec2;
  margin-top: 3px;
}
.section-space {
  padding-block: 74px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}
.section-heading > p {
  max-width: 330px;
  font-size: 13px;
  color: #768093;
  line-height: 1.8;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid #edf0f5;
}
.step-art {
  height: 190px;
  position: relative;
  overflow: hidden;
}
.art-form {
  background: #ebefff;
  display: grid;
  place-items: center;
}
.mini-form {
  width: 70%;
  height: 148px;
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 8px 18px #25337026;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  transform: rotate(-2deg);
}
.mini-form b {
  background: #dbe1f0;
  height: 6px;
  grid-column: 1/-1;
  width: 75%;
  align-self: center;
}
.mini-form i {
  border: 1px solid #dfe4ef;
  border-radius: 3px;
  height: 22px;
}
.mini-form i:first-of-type {
  background: #3152f4;
  border-color: #3152f4;
}
.mini-form span {
  background: #3152f4;
  width: 40%;
  height: 17px;
  border-radius: 4px;
  grid-column: 1/-1;
  justify-self: center;
}
.mini-form strong {
  height: 19px;
  background: #0e1725;
  border-radius: 3px;
  grid-column: 1/-1;
}
.art-map {
  background-color: #fff2d9;
  background-image:
    linear-gradient(
      85deg,
      transparent 46%,
      #ead7b0 46%,
      #ead7b0 49%,
      transparent 49%
    ),
    linear-gradient(
      -5deg,
      transparent 45%,
      #ead7b0 45%,
      #ead7b0 49%,
      transparent 49%
    );
  background-size: 115px 87px;
}
.art-map span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 26px;
  height: 30px;
  border-radius: 15px 15px 15px 2px;
  transform: rotate(-40deg);
  background: var(--acento);
  color: white;
  font-size: 12px;
  left: 28%;
  top: 30%;
  box-shadow: 0 5px 10px #3152f422;
}
.art-map span:nth-of-type(2) {
  left: 70%;
  top: 20%;
}
.art-map span:nth-of-type(3) {
  left: 58%;
  top: 64%;
}
.art-map i {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 47%;
  top: 47%;
  border-radius: 50%;
  background: #0e1725;
  border: 4px solid #fff;
  box-shadow: 0 2px 5px #0003;
}
.art-chat {
  background: #e5f3eb;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
.art-chat > div {
  background: white;
  border-radius: 7px;
  padding: 12px;
  max-width: 95%;
  box-shadow: 0 3px 8px #234a3520;
}
.art-chat > div:last-child {
  margin-left: 18px;
}
.art-chat b {
  color: #2c845c;
  font-size: 9px;
}
.art-chat p {
  font-size: 10px;
  line-height: 1.4;
  margin-top: 3px;
}
.step-content {
  padding: 22px;
  min-height: 160px;
}
.step-content .eyebrow {
  color: var(--acento);
  font-size: 9px;
}
.step-content h3 {
  font-size: 17px;
  margin: 8px 0;
}
.step-content p {
  color: #768093;
  font-size: 12px;
  line-height: 1.8;
}
.directory-section {
  padding-top: 20px;
}
.directory-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 24px;
}
.directory-heading h2 {
  font-size: 34px;
  margin: 10px 0 13px;
}
.directory-heading p:not(.eyebrow) {
  font-size: 12px;
  color: #788295;
}
.directory-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.home .buscador {
  border: 1px solid #e0e5ee;
  height: 36px;
  border-radius: 99px;
  background: white;
  max-width: 245px;
  min-width: 200px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 7px;
  box-shadow: none;
}
.home .buscador > svg {
  width: 13px;
  height: 13px;
  color: #778395;
}
.home .buscador input {
  padding: 0;
  min-width: 0;
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
  height: 100%;
}
.home #limpiar {
  border: 0;
  background: none;
  display: flex;
  padding: 0;
}
.home #limpiar svg {
  width: 14px;
  height: 14px;
}
.directory-filters {
  background: #e8ebf2;
  padding: 4px;
  border-radius: 99px;
  display: flex;
}
.directory-filters button {
  border: 0;
  background: transparent;
  padding: 6px 11px;
  font-size: 10px;
  border-radius: 99px;
  color: #617087;
}
.directory-filters [aria-pressed="true"] {
  background: white;
  color: var(--tinta);
  box-shadow: 0 1px 5px #0e172512;
  font-weight: 700;
}
.selection-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: var(--navy);
  color: #e3e8f1;
  padding: 11px 12px 11px 18px;
  border-radius: 10px;
  margin-bottom: 16px;
  min-height: 54px;
}
.selection-bar > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.selection-bar strong {
  font-size: 16px;
  color: var(--gold);
  white-space: nowrap;
}
.selection-bar #selection-names {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.selection-bar button {
  border: 0;
  border-radius: 7px;
  background: var(--gold);
  padding: 10px 14px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
  color: #2c260f;
}
.selection-bar button:disabled {
  opacity: 0.55;
}
.selection-bar button span {
  margin-left: 10px;
}
.directory-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  align-items: start;
}
.home .lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home .ficha {
  padding: 14px 14px 14px 16px;
  background: white;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  display: flex;
  gap: 13px;
  align-items: center;
  box-shadow: none;
  min-height: 80px;
  position: relative;
  transition: border-color 0.2s;
}
.home .ficha.selected {
  border-color: var(--acento);
  box-shadow: 0 0 0 1px var(--acento);
}
.company-avatar {
  width: 43px;
  height: 43px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  position: relative;
  flex-shrink: 0;
}
.avatar-0 {
  background: #fff0d5;
  color: #8d6819;
}
.avatar-1 {
  background: #e5eaff;
  color: #344cc4;
}
.avatar-2 {
  background: #def1e9;
  color: #287659;
}
.avatar-3 {
  background: #ffe6df;
  color: #a15141;
}
.company-number {
  position: absolute;
  left: -8px;
  top: -8px;
  border: 2px solid white;
  width: 19px;
  height: 19px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  line-height: 1;
}
.selected .company-number {
  background: var(--acento);
}
.company-info {
  flex: 1;
  min-width: 0;
}
.home .ficha__nombre {
  font-size: 13px;
  line-height: 1.4;
  color: var(--tinta);
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
  margin: 0 0 5px;
}
.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 9px;
  color: #687387;
  line-height: 1.5;
  align-items: center;
}
.home .ficha__dist {
  font-size: 9px;
  position: static;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #344359;
  white-space: nowrap;
  font-weight: 700;
  min-width: 0;
  background: transparent;
  display: inline;
}
.home .ficha__dist:empty {
  display: none;
}
.material-labels {
  display: flex;
  gap: 4px;
}
.material-labels span {
  background: #edf0f5;
  padding: 1px 4px;
  border-radius: 3px;
  color: #3d485d;
  font-size: 8px;
  font-weight: 700;
}
.company-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 9px;
  margin-top: 4px;
}
.company-links:empty {
  display: none;
}
.company-links a {
  color: #7a8494;
}
.company-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.select-company {
  padding: 8px 9px;
  border: 1px solid #dfe5ee;
  background: white;
  color: #66748b;
  border-radius: 6px;
  font-size: 10px !important;
  font-weight: 700;
  white-space: nowrap;
}
.select-company[aria-pressed="true"] {
  background: var(--acento);
  color: white;
  border-color: var(--acento);
}
.select-company:disabled {
  font-size: 9px !important;
  color: #a8afba;
  background: #fafbfc;
}
.direct-whatsapp {
  display: grid;
  place-items: center;
  background: #07834c;
  color: white !important;
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.direct-whatsapp svg {
  height: 16px;
  width: 16px;
}
.text-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font:
    700 11px/1.6 "Inter",
    sans-serif;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  display: inline-block;
}
.directory-list > .text-link {
  margin-top: 18px;
}
.directory-count {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  color: #929baa;
  font-size: 10px;
  margin-top: 16px;
}
.directory-map {
  position: sticky;
  top: 20px;
  border-radius: 14px;
  background: #e9eef3;
  overflow: hidden;
}
.home #mapa {
  height: 512px;
  min-height: 0;
  background: #e9eef3;
}
.map-legend {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 500;
  border-radius: 7px;
  background: #fffffff0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 9px;
  font-size: 9px;
  color: #617188;
}
.map-legend > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.map-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acento);
}
.map-legend button {
  border: 0;
  background: none;
  font-size: 9px;
  color: #6e7d94;
  text-decoration: underline;
}
.home .leaflet-container {
  font-family: inherit;
}
.home .leaflet-control-attribution {
  font-size: 8px;
}
.map-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 29px;
  border-radius: 14px 14px 14px 3px;
  background: var(--navy);
  color: white;
  border: 2px solid white;
  font:
    800 11px "Inter",
    sans-serif;
  box-shadow: 0 3px 8px #17274740;
}
.map-number.is-selected {
  background: var(--acento);
}
.map-cluster {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  border: 4px solid #ffffffaa;
  background: var(--acento);
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.map-you {
  width: 13px;
  height: 13px;
  background: var(--acento);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #3152f425;
}
.guides-section {
  background: white;
}
.guides-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}
.guide-card {
  border-radius: 17px;
  padding: 29px;
  position: relative;
  overflow: hidden;
  min-height: 245px;
}
.guide-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 9px 0 13px;
  letter-spacing: -1px;
}
.guide-card p {
  font-size: 12px;
  line-height: 1.8;
}
.guide-card .text-link {
  margin-top: 22px;
}
.guide-dark {
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}
.guide-dark > div:first-child {
  max-width: 70%;
}
.guide-dark .eyebrow {
  color: var(--gold);
  font-size: 9px;
}
.guide-dark p {
  color: #a3afc2;
  max-width: 285px;
}
.glass-art {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
  min-width: 68px;
  height: 150px;
}
.glass-art i {
  height: 150px;
  width: 17px;
  background: #9db9fb;
  opacity: 0.85;
  box-shadow: inset 3px 0 #c1d5ff;
}
.glass-art:after {
  content: "⌇";
  position: absolute;
  left: 19px;
  top: 40%;
  color: var(--gold);
  font-size: 28px;
}
.glass-art span {
  font-size: 8px;
  line-height: 5.5;
  white-space: nowrap;
  padding-left: 7px;
}
.glass-art b {
  color: var(--gold);
  font-weight: 400;
}
.guide-gold {
  background: var(--gold);
  color: #1b2130;
}
.guide-gold .eyebrow {
  color: #9b631b;
  font-size: 9px;
}
.guide-gold .price-caption {
  font-size: 10px;
  margin: 18px 0 2px;
}
.price-text {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  display: block;
}
.guide-gold .text-link {
  margin-top: 6px;
}
.guide-light {
  background: #f4f5fa;
  min-height: 200px;
}
.guide-light h3 {
  font-size: 20px;
}
.guide-light .eyebrow {
  font-size: 9px;
}
.guide-light .text-link {
  color: var(--acento);
  font-size: 10px;
  margin-top: 15px;
}
.guide-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  line-height: 2.4;
  color: #5a6578;
}
.guide-card th {
  text-align: left;
  font-weight: 500;
}
.guide-card thead th {
  font-weight: 700;
  color: #1b2536;
}
.guide-card tr {
  border-bottom: 1px solid #e2e6ef;
}
.guide-card tr:last-child {
  border-bottom: 0;
}
.measure-card {
  padding-right: 100px;
}
.measure-card p {
  max-width: 250px;
  color: #788396;
}
.measure-art {
  position: absolute;
  right: 28px;
  top: 50px;
  width: 62px;
  height: 85px;
  color: #1c2b45;
  border-block: 1px solid var(--acento);
  padding-block: 8px;
}
.measure-art svg {
  height: 100%;
  width: 100%;
  stroke-width: 0.7;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 70px;
}
.faq-grid > div > p {
  max-width: 250px;
  font-size: 13px;
  color: #7c8798;
  margin-top: 18px;
}
.faq-list details {
  border-bottom: 1px solid #e1e5ec;
  padding: 18px 0;
}
.faq-list details:first-child {
  padding-top: 0;
}
.faq-list details:last-child {
  border-bottom: 0;
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #ebeff6;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}
.faq-list [open] summary span {
  transform: rotate(45deg);
  background: var(--navy);
  color: white;
}
.faq-list details p {
  font-size: 12px;
  line-height: 1.9;
  color: #7c8798;
  margin-top: 13px;
  padding-right: 45px;
}
.closing-section {
  padding-bottom: 76px;
}
.closing-cta {
  background: var(--acento);
  color: white;
  border-radius: 20px;
  padding: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 245px;
}
.closing-cta h2 {
  font-size: 38px;
  letter-spacing: -2px;
  z-index: 1;
}
.white-button,
.dark-button,
.outline-button {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 7px;
  font-size: 11px !important;
  font-weight: 800;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
}
.white-button {
  background: white;
  color: var(--tinta);
  position: relative;
  z-index: 1;
}
.dark-button {
  background: var(--navy);
  color: white !important;
}
.outline-button {
  border: 1px solid #dfe4ed;
  color: var(--tinta);
  background: white;
}
.closing-window {
  position: absolute;
  right: -16px;
  top: -30px;
  width: 290px;
  height: 330px;
  border: 18px solid #ffffff1a;
  transform: rotate(0deg);
}
.closing-window:before,
.closing-window:after {
  content: "";
  position: absolute;
  background: #ffffff1a;
}
.closing-window:before {
  width: 100%;
  height: 16px;
  top: 50%;
}
.closing-window:after {
  height: 100%;
  width: 16px;
  left: 50%;
}
.join-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e4e8ef;
  background: white;
  border-radius: 13px;
  padding: 22px;
  margin-top: 24px;
}
.join-icon {
  width: 40px;
  height: 42px;
  border-radius: 9px;
  background: #fff2db;
  color: #ad7b2a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-right: 6px;
}
.join-icon svg {
  width: 23px;
  height: 23px;
}
.join-bar h3 {
  font-size: 14px;
}
.join-bar p {
  font-size: 11px;
  color: #8892a2;
  margin-top: 4px;
}
.join-bar > div {
  margin-right: auto;
}
.join-bar .dark-button,
.join-bar .outline-button {
  font-size: 10px !important;
  padding: 11px 12px;
}
.home-footer {
  background: var(--navy);
  color: #a6b2c4;
  padding-block: 55px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 65px;
}
.home-footer .brand {
  font-size: 18px;
  margin-bottom: 13px;
}
.footer-grid p {
  font-size: 11px;
  max-width: 260px;
  line-height: 1.9;
}
.footer-grid h3 {
  font-size: 9px;
  letter-spacing: 1px;
  color: white;
  margin: 6px 0 14px;
}
.footer-grid > div > a:not(.brand),
.footer-grid button {
  display: block;
  background: none;
  border: 0;
  color: #c2cbd8;
  font-size: 10px;
  padding: 0;
  margin-top: 7px;
  text-align: left;
}
.footer-grid a:hover,
.footer-grid button:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid #ffffff0c;
  margin-top: 50px;
  padding-top: 22px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  font-size: 9px;
  color: #8795aa;
  line-height: 1.8;
}
.footer-bottom p {
  max-width: 720px;
}
.footer-bottom > span {
  white-space: nowrap;
}
.guide-dialog {
  width: min(640px, calc(100% - 32px));
  border: 1px solid #e3e7ee;
  border-radius: 20px;
  padding: 40px;
  color: var(--tinta);
  box-shadow: 0 20px 100px #0004;
  max-height: 85vh;
}
.guide-dialog::backdrop {
  background: #0b1327b3;
  backdrop-filter: blur(5px);
}
.guide-close {
  position: absolute;
  right: 15px;
  top: 10px;
  border: 0;
  background: #f0f3f8;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 22px !important;
}
.guide-dialog h2 {
  font-size: 30px;
  margin: 15px 0 24px;
}
.guide-dialog h3 {
  font-size: 16px;
  margin: 20px 0 8px;
}
.guide-dialog p,
.guide-dialog li {
  font-size: 14px;
  line-height: 1.8;
  color: #647086;
}
.guide-dialog .dark-button {
  margin-top: 24px;
}
.home .demo-notice {
  font-size: 10px;
  background: #e8edff;
  color: #2f48bd;
}
.home .paso__panel {
  font-family: "Inter", sans-serif;
}
@media (min-width: 1500px) {
  .home .wrap {
    width: min(1160px, calc(100% - 100px));
  }
  .hero {
    grid-template-columns: 1fr 460px;
    gap: 110px;
  }
  .hero-copy h1 {
    font-size: 64px;
  }
}
@media (max-width: 1100px) {
  .home-header nav {
    gap: 16px;
  }
  .hero {
    gap: 40px;
    grid-template-columns: 1fr 410px;
  }
  .hero-copy h1 {
    font-size: 51px;
    letter-spacing: -3px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .project-shortcut-grid button {
    padding: 12px;
    gap: 8px;
  }
  .project-shortcut-grid small {
    font-size: 9px;
  }
  .directory-tools {
    gap: 8px;
  }
  .directory-layout {
    grid-template-columns: 1.3fr 1fr;
  }
  .home .ficha {
    gap: 9px;
    padding: 12px;
  }
  .company-actions {
    gap: 4px;
  }
  .company-avatar {
    width: 34px;
    height: 38px;
  }
  .home .ficha__nombre {
    font-size: 12px;
  }
  .glass-art span {
    display: none;
  }
  .glass-art {
    margin-left: 5px;
  }
  .guide-card {
    padding: 24px;
  }
  .footer-grid {
    gap: 35px;
  }
}
@media (max-width: 850px) {
  .home .wrap {
    width: calc(100% - 40px);
  }
  .home-header {
    min-height: 72px;
  }
  .home-header nav a:not(.nav-company) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 360px;
    gap: 28px;
    padding-block: 45px;
  }
  .hero-copy h1 {
    font-size: 44px;
    letter-spacing: -2.8px;
  }
  .social-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .quote-card {
    padding: 22px;
  }
  .project-shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-heading {
    gap: 24px;
  }
  .home h2 {
    font-size: 30px;
  }
  .section-heading > p {
    max-width: 280px;
    font-size: 12px;
  }
  .step-art {
    height: 160px;
  }
  .step-content {
    padding: 18px;
  }
  .step-content h3 {
    font-size: 15px;
  }
  .directory-heading {
    align-items: flex-start;
  }
  .directory-tools {
    max-width: 240px;
  }
  .directory-layout {
    grid-template-columns: 1fr 1fr;
  }
  .home .ficha {
    flex-wrap: wrap;
    min-height: 110px;
  }
  .company-info {
    width: calc(100% - 65px);
  }
  .company-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .home #mapa {
    height: 710px;
  }
  .selection-bar #selection-names {
    max-width: 220px;
  }
  .guide-card h3 {
    font-size: 20px;
  }
  .glass-art {
    display: none;
  }
  .guide-dark > div:first-child {
    max-width: 100%;
  }
  .faq-grid {
    gap: 35px;
    grid-template-columns: 1fr 1.5fr;
  }
  .join-bar {
    flex-wrap: wrap;
  }
  .join-bar > div {
    flex: 1;
  }
  .join-bar .dark-button {
    margin-left: 56px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:first-child p {
    max-width: 500px;
  }
}
@media (max-width: 650px) {
  .home .wrap {
    width: calc(100% - 36px);
  }
  .home-header {
    min-height: 70px;
  }
  .home-header .brand {
    font-size: 18px;
  }
  .home-header .nav-company {
    font-size: 11px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding-block: 30px 38px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-copy h1 {
    font-size: 48px;
    letter-spacing: -3px;
    line-height: 1.02;
  }
  .hero-copy h1 br:nth-of-type(1) {
    display: none;
  }
  .hero-copy h1 br:nth-of-type(3) {
    display: none;
  }
  .hero-copy > p {
    max-width: 440px;
    font-size: 13px;
    margin-top: 23px;
    line-height: 1.8;
  }
  .location-label {
    margin-bottom: 20px;
    font-size: 10px;
    padding: 7px 10px;
  }
  .social-proof {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
  }
  .social-proof strong {
    font-size: 10px;
  }
  .social-proof small {
    font-size: 9px;
  }
  .quote-card {
    width: 100%;
    padding: 24px;
    border-radius: 17px;
    max-width: 470px;
    align-self: center;
  }
  .whatsapp-note {
    right: 6px;
    font-size: 10px;
  }
  .quote-card h2 {
    font-size: 22px;
  }
  .mini-label,
  .choice-field legend {
    font-size: 11px;
  }
  .choice-grid span {
    font-size: 11px;
    padding-block: 11px;
  }
  .project-shortcuts {
    padding-bottom: 32px;
  }
  .project-shortcut-grid {
    gap: 8px;
  }
  .project-shortcut-grid button {
    padding: 11px 8px;
    gap: 8px;
  }
  .project-shortcut-grid strong {
    font-size: 10px;
  }
  .project-shortcut-grid small {
    font-size: 8px;
    line-height: 1.5;
  }
  .project-icon {
    width: 26px;
    height: 30px;
  }
  .project-icon svg {
    width: 15px;
    height: 15px;
  }
  .section-space {
    padding-block: 48px;
  }
  .home h2 {
    font-size: 29px;
    letter-spacing: -1.4px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading > p {
    max-width: none;
    margin-top: 18px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-card {
    display: grid;
    grid-template-columns: 125px 1fr;
    min-height: 180px;
  }
  .step-art {
    height: 100%;
    min-height: 180px;
  }
  .step-content {
    min-height: 0;
    padding: 20px 17px;
  }
  .step-content h3 {
    font-size: 15px;
    margin: 8px 0;
  }
  .step-content p {
    font-size: 11px;
    line-height: 1.7;
  }
  .mini-form {
    width: 90%;
    height: 130px;
    padding: 10px;
    gap: 5px;
    transform: rotate(-4deg);
  }
  .art-chat {
    padding: 14px 7px;
    gap: 8px;
  }
  .art-chat > div {
    max-width: 100%;
    padding: 8px;
  }
  .art-chat > div:last-child {
    margin-left: 6px;
  }
  .art-chat p {
    font-size: 8px;
  }
  .art-chat b {
    font-size: 8px;
  }
  .art-map span {
    left: 15%;
    width: 23px;
    height: 26px;
  }
  .art-map span:nth-of-type(2) {
    left: 65%;
  }
  .directory-section {
    padding-top: 10px;
  }
  .directory-heading {
    display: block;
  }
  .directory-heading h2 {
    font-size: 30px;
  }
  .directory-tools {
    max-width: none;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: nowrap;
    gap: 7px;
  }
  .home .buscador {
    min-width: 0;
    max-width: none;
    width: 100%;
    padding-inline: 10px;
  }
  .home .buscador input {
    font-size: 10px;
  }
  .directory-filters button {
    font-size: 9px;
    padding-inline: 8px;
  }
  .selection-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
  .selection-bar > div {
    gap: 9px;
  }
  .selection-bar #selection-names {
    max-width: none;
    font-size: 10px;
  }
  .selection-bar button {
    width: 100%;
    font-size: 10px;
  }
  .directory-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .directory-map {
    width: 100%;
    position: relative;
    top: auto;
  }
  .home #mapa {
    height: 275px;
  }
  .directory-list {
    width: 100%;
  }
  .home .ficha {
    flex-wrap: nowrap;
    min-height: 88px;
    gap: 9px;
    padding: 12px;
  }
  .company-info {
    width: auto;
  }
  .company-avatar {
    width: 34px;
    height: 38px;
  }
  .home .ficha__nombre {
    font-size: 11px;
  }
  .company-actions {
    width: auto;
    justify-content: initial;
  }
  .select-company {
    font-size: 9px !important;
    padding: 8px;
  }
  .direct-whatsapp {
    width: 29px;
    height: 30px;
  }
  .company-meta {
    font-size: 9px;
  }
  .material-labels span {
    font-size: 7px;
  }
  .company-links {
    font-size: 8px;
    gap: 7px;
  }
  .directory-count {
    font-size: 9px;
  }
  .guides-section .section-heading .text-link {
    margin-top: 15px;
  }
  .guides-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .guide-card {
    padding: 26px;
    min-height: 215px;
  }
  .guide-card h3 {
    font-size: 23px;
  }
  .guide-dark {
    min-height: 260px;
  }
  .guide-dark > div:first-child {
    max-width: 72%;
  }
  .glass-art {
    display: flex;
    margin-left: auto;
    min-width: 45px;
    gap: 10px;
    height: 140px;
  }
  .glass-art i {
    width: 13px;
    height: 140px;
  }
  .glass-art:after {
    left: 13px;
  }
  .guide-light {
    min-height: 205px;
  }
  .measure-card {
    padding-right: 105px;
  }
  .measure-art {
    top: 52px;
  }
  .faq-grid {
    display: block;
  }
  .faq-grid > div > p {
    max-width: none;
    margin-top: 14px;
  }
  .faq-list {
    margin-top: 30px;
  }
  .faq-list summary {
    font-size: 11px;
  }
  .faq-list details p {
    font-size: 11px;
    padding-right: 20px;
  }
  .closing-section {
    padding-bottom: 48px;
  }
  .closing-cta {
    min-height: 260px;
    padding: 28px;
    display: block;
    border-radius: 15px;
  }
  .closing-cta h2 {
    font-size: 34px;
    position: relative;
    margin-bottom: 25px;
  }
  .closing-window {
    right: -100px;
    opacity: 0.8;
  }
  .white-button {
    font-size: 10px !important;
    padding: 12px 14px;
  }
  .join-bar {
    padding: 20px 16px;
    gap: 9px;
    margin-top: 18px;
    align-items: flex-start;
  }
  .join-icon {
    width: 31px;
    height: 35px;
    margin-right: 0;
  }
  .join-icon svg {
    width: 18px;
  }
  .join-bar h3 {
    font-size: 12px;
  }
  .join-bar p {
    font-size: 10px;
    line-height: 1.8;
  }
  .join-bar > div {
    flex-basis: calc(100% - 45px);
    margin: 0;
  }
  .join-bar .dark-button {
    margin-left: 40px;
    margin-top: 7px;
  }
  .join-bar .outline-button {
    margin-top: 7px;
  }
  .join-bar .dark-button,
  .join-bar .outline-button {
    font-size: 9px !important;
    padding: 10px;
  }
  .home-footer {
    padding-top: 40px;
  }
  .footer-grid {
    gap: 25px 16px;
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid h3 {
    font-size: 8px;
  }
  .footer-grid > div > a:not(.brand),
  .footer-grid button {
    font-size: 9px;
    line-height: 1.8;
  }
  .footer-grid p {
    font-size: 11px;
  }
  .footer-bottom {
    display: block;
    margin-top: 32px;
    font-size: 8px;
  }
  .footer-bottom > span {
    display: block;
    margin-top: 16px;
  }
  .guide-dialog {
    padding: 32px 24px;
  }
  .guide-dialog h2 {
    font-size: 25px;
  }
  .guide-dialog p,
  .guide-dialog li {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.home .buscador svg {
  position: static;
  transform: none;
  flex-shrink: 0;
}
.home #limpiar {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.quote-card .commune-input input:not([type="radio"]):not([type="checkbox"]) {
  border: 0;
  background: transparent;
}

/* Una sola familia, con espaciado óptico para facilitar la lectura. */
body {
  font-optical-sizing: auto;
  font-feature-settings:
    "liga" 1,
    "calt" 1;
}
.home h2 {
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.home .hero-copy h1 {
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.home .hero-copy h1 em,
.home h2 em {
  font-family: var(--ui);
  font-size: 1em;
  font-weight: 600;
  letter-spacing: inherit;
}
.home .hero-copy > p {
  line-height: 1.8;
}

/* Botones con relieve: luz superior, base y presión al interactuar. */
:root {
  --button-depth: 3px;
  --button-edge: rgb(8 17 38 / 24%);
  --button-shadow: rgb(8 17 38 / 16%);
}
:is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  a.white-button,
  a.dark-button,
  a.outline-button,
  a.direct-whatsapp,
  a.nav-company,
  a[role="button"],
  .subir__boton,
  .choice-grid label > span
) {
  background-image: linear-gradient(
    180deg,
    rgb(255 255 255 / 13%),
    transparent 52%,
    rgb(0 0 0 / 7%)
  );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 28%),
    inset 0 -1px 0 rgb(0 0 0 / 8%),
    0 var(--button-depth) 0 var(--button-edge),
    0 5px 10px var(--button-shadow);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    filter 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  :is(
      button,
      input[type="button"],
      input[type="submit"],
      input[type="reset"],
      a.btn,
      a.white-button,
      a.dark-button,
      a.outline-button,
      a.direct-whatsapp,
      a.nav-company,
      a[role="button"],
      .subir__boton
    ):not(:disabled):not([aria-disabled="true"]):hover,
  .choice-grid label:hover > span {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 35%),
      inset 0 -1px 0 rgb(0 0 0 / 8%),
      0 5px 0 var(--button-edge),
      0 9px 16px var(--button-shadow);
    filter: brightness(1.035);
  }
}
:is(
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    a.btn,
    a.white-button,
    a.dark-button,
    a.outline-button,
    a.direct-whatsapp,
    a.nav-company,
    a[role="button"],
    .subir__boton
  ):not(:disabled):not([aria-disabled="true"]):active,
.choice-grid label:active > span {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 4px rgb(0 0 0 / 12%),
    0 1px 0 var(--button-edge),
    0 2px 4px rgb(8 17 38 / 10%);
  filter: brightness(0.98);
}
.choice-grid input:checked + span {
  box-shadow:
    inset 0 0 0 1px var(--acento),
    inset 0 1px 0 rgb(255 255 255 / 40%),
    0 2px 0 rgb(36 66 180 / 22%),
    0 4px 8px rgb(36 66 180 / 10%);
}
:is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"]
):disabled,
[aria-disabled="true"] {
  background-image: none;
  box-shadow: inset 0 1px 2px rgb(8 17 38 / 8%);
  transform: none;
  filter: none;
}
/* Los botones invisibles que enlazan una tarjeta al mapa no dibujan relieve. */
.ficha__ver,
.ficha__ver:hover,
.ficha__ver:active {
  background-image: none;
  box-shadow: none;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  :is(
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    a.btn,
    a.white-button,
    a.dark-button,
    a.outline-button,
    a.direct-whatsapp,
    a.nav-company,
    a[role="button"],
    .subir__boton,
    .choice-grid label > span
  ) {
    transition: none;
  }
  :is(
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    a.btn,
    a.white-button,
    a.dark-button,
    a.outline-button,
    a.direct-whatsapp,
    a.nav-company,
    a[role="button"],
    .subir__boton
  ):is(:hover, :active),
  .choice-grid label:is(:hover, :active) > span {
    transform: none !important;
  }
}

/* El formulario principal conserva controles planos y una selección nítida. */
#quick-quote
  :is(
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .choice-grid label > span
  ),
#quick-quote .choice-grid label:is(:hover, :active) > span {
  background-image: none;
  box-shadow: none;
  transform: none;
  filter: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}
#quick-quote .choice-grid input:checked + span {
  box-shadow: inset 0 0 0 1px var(--acento);
}
.whatsapp-note {
  background: linear-gradient(120deg, #ffe9a5 0%, #ffc14b 45%, #ff9a25 100%);
  border: 1px solid rgb(255 255 255 / 45%);
  color: #4b3106;
}

/* Ventanal de PVC en la portada, con veladuras que preservan la lectura. */
.hero-shell {
  background-color: #0e1725;
  background-image:
    linear-gradient(
      180deg,
      rgb(9 18 30 / 28%),
      transparent 48%,
      rgb(9 18 30 / 65%)
    ),
    linear-gradient(
      90deg,
      rgb(9 18 30 / 85%) 0%,
      rgb(9 18 30 / 70%) 31%,
      rgb(9 18 30 / 32%) 64%,
      rgb(9 18 30 / 52%) 100%
    ),
    url("/assets/images/hero-ventanal-pvc.png");
  background-size: cover;
  background-position:
    center,
    center,
    center 52%;
  background-repeat: no-repeat;
}
.hero-copy > p {
  color: #d4dde8;
}
#whatsapp-note {
  position: absolute;
  top: -29px;
  right: -18px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px 10px 16px;
  max-width: calc(100% + 8px);
  border: 2px solid #76f8a0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #006c2b 0%,
    #008030 38%,
    #00892b 76%,
    #009025 100%
  );
  color: white;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
  box-shadow:
    inset 0 1px 1px rgb(230 255 230 / 45%),
    0 7px 24px rgb(0 65 25 / 12%);
  transform: rotate(1deg);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}
#whatsapp-note::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  top: -88%;
  width: 120%;
  height: 130%;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 45%),
    rgb(255 255 255 / 10%)
  );
  pointer-events: none;
}
#whatsapp-note::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 16%;
  width: 68%;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #d8ff72, transparent);
  pointer-events: none;
}
.whatsapp-note__icon {
  display: flex;
  align-items: center;
  padding-right: 11px;
  border-right: 1px solid rgb(151 255 171 / 65%);
  flex: none;
}
#whatsapp-note .whatsapp-note__icon svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 1px rgb(0 65 25 / 25%));
}
.whatsapp-note__text {
  display: block;
}
#whatsapp-note strong {
  font-size: 1.08em;
  font-weight: 800;
}
.whatsapp-note__arrow {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(180deg, #27b33b, #028d28);
  box-shadow:
    inset 0 1px 2px rgb(255 255 255 / 45%),
    0 2px 8px rgb(0 75 22 / 10%);
}
#whatsapp-note .whatsapp-note__arrow svg {
  width: 17px;
  height: 17px;
}
@media (hover: hover) and (pointer: fine) {
  #whatsapp-note:hover {
    transform: translateY(-1px) rotate(1deg);
    filter: brightness(1.04);
  }
}
#whatsapp-note:active {
  transform: translateY(2px) rotate(1deg);
  box-shadow:
    inset 0 1px 2px rgb(0 65 25 / 8%),
    0 3px 14px rgb(0 65 25 / 10%);
}
@media (max-width: 650px) {
  .hero-shell {
    background-image:
      linear-gradient(
        180deg,
        rgb(9 18 30 / 52%) 0%,
        rgb(9 18 30 / 70%) 45%,
        #0e1725 90%
      ),
      url("/assets/images/hero-ventanal-pvc.png");
    background-position:
      center,
      46% top;
    background-size:
      cover,
      auto 800px;
  }
  #whatsapp-note {
    right: 7px;
    top: -25px;
    max-width: calc(100% - 14px);
    padding: 8px 10px 8px 12px;
    font-size: 10.5px;
    gap: 8px;
  }
  .whatsapp-note__icon {
    padding-right: 8px;
  }
  #whatsapp-note .whatsapp-note__icon svg {
    width: 25px;
    height: 25px;
  }
  .whatsapp-note__arrow {
    width: 25px;
    height: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #whatsapp-note:is(:hover, :active) {
    transform: none;
  }
}

/* Cómo funciona: tres pasos ilustrados, con volumen y sombras suaves. */
#como-funciona.how-redesign {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 78px 0 68px;
  background:
    radial-gradient(ellipse at 90% 8%, rgb(188 219 255 / 55%), transparent 45%),
    radial-gradient(ellipse at 8% 70%, rgb(226 238 255 / 70%), transparent 42%),
    linear-gradient(150deg, #fbfdff, #f3f7ff 55%, #fbfdfc);
}
.how-heading {
  position: relative;
  min-height: 278px;
  padding-bottom: 34px;
}
.how-heading-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.how-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #d5e6ff;
  border-radius: 999px;
  background: linear-gradient(130deg, #ecf6ff, #dfecff);
  color: #1559e6;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 #fff;
}
.how-kicker svg {
  width: 20px;
  height: 20px;
  color: #168df9;
  filter: drop-shadow(0 2px 3px #8cc7ff);
}
#como-funciona h2 {
  margin: 20px 0 23px;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  font-weight: 800;
}
#como-funciona h2 em {
  position: relative;
  display: inline-block;
  font-size: 1.06em;
  font-weight: 750;
  color: #135dfa;
}
#como-funciona h2 em::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 4%;
  bottom: -8px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    transparent,
    #77b6ff 35%,
    #a5cdff 70%,
    transparent
  );
}
.how-heading-copy > p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.85;
  color: #435979;
}
#como-funciona .steps-grid {
  gap: 20px;
  position: relative;
  align-items: stretch;
}
#como-funciona .step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-width: 0;
  overflow: visible;
  border: 3px solid #fff;
  border-radius: 28px;
  box-shadow:
    0 10px 32px rgb(35 79 143 / 10%),
    0 2px 6px rgb(35 79 143 / 5%);
}
.how-step-blue {
  background: linear-gradient(160deg, #fff 4%, #f2f7ff 55%, #e3efff);
}
.how-step-amber {
  background: linear-gradient(160deg, #fffdfa 4%, #fff8ee 55%, #fff0da);
}
.how-step-green {
  background: linear-gradient(160deg, #f9fffd 4%, #edfbf4 55%, #cef5de);
}
#como-funciona .step-content {
  padding: 23px 22px 8px;
  min-height: 193px;
}
.how-step-number {
  display: inline-block;
  border: 1px solid #bdd9ff;
  border-radius: 999px;
  padding: 4px 12px;
  background: linear-gradient(160deg, #f4faff, #dbeeff);
  color: #095ff6;
  font: 800 11px/1.5 var(--ui);
  letter-spacing: 0.35px;
}
.how-step-amber .how-step-number {
  color: #d66a05;
  background: linear-gradient(160deg, #fffdf4, #fff1ce);
  border-color: #ffd799;
}
.how-step-green .how-step-number {
  color: #058d36;
  background: linear-gradient(160deg, #f0fff7, #d8ffe6);
  border-color: #9cebb9;
}
#como-funciona .step-content h3 {
  margin: 12px 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.7px;
}
#como-funciona .step-content p {
  color: #435979;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.how-step-art {
  position: relative;
  height: 216px;
  margin-top: auto;
  border-radius: 0 0 25px 25px;
  overflow: hidden;
}
.how-step-art > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.how-connector {
  position: absolute;
  z-index: 4;
  right: -34px;
  top: 55%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: white;
  color: #185dff;
  border: 1px solid #edf4ff;
  box-shadow: 0 5px 16px rgb(39 93 185 / 14%);
}
.how-connector svg {
  width: 21px;
  height: 21px;
}
.how-compare-art {
  display: grid;
  align-items: center;
  background: radial-gradient(ellipse at 90% 100%, #8be5ae, transparent 70%);
}
.how-compare-art::before,
.how-compare-art::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 110px;
  left: -10%;
  border-radius: 50%;
  transform: rotate(-14deg);
  background: rgb(183 246 207 / 55%);
  top: 32px;
}
.how-compare-art::after {
  top: 120px;
  left: 15%;
  background: rgb(122 223 164 / 20%);
}
.how-proposals {
  position: relative;
  z-index: 1;
  width: calc(100% - 32px);
  margin: 10px auto;
  transform: rotate(-3deg);
  border-radius: 17px;
  padding: 4px 5px 5px;
  background: linear-gradient(160deg, #fff, #f3fff8);
  box-shadow: 0 12px 24px rgb(19 145 73 / 15%);
}
.how-proposal {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 7px;
  border-bottom: 1px solid #e5f3ea;
  min-width: 0;
  position: relative;
}
.how-proposal:last-child {
  border: 0;
}
.how-proposal.is-best {
  border: 1px solid #54cf71;
  margin: -6px -6px 0;
  padding: 10px 13px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(33 181 80 / 12%);
}
.how-wa-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(150deg, #45d961, #05a646);
  color: white;
  box-shadow: 0 2px 6px rgb(19 145 73 / 15%);
}
.how-wa-icon svg {
  width: 19px;
  height: 19px;
}
.how-proposal strong {
  font-size: 10px;
  white-space: nowrap;
}
.how-proposal-status {
  margin-left: auto;
  padding: 4px 6px;
  border-radius: 7px;
  font-size: 8px;
  font-weight: 650;
  color: #306249;
  background: #e2f6e9;
  white-space: nowrap;
}
.how-proposal.is-best .how-proposal-status {
  color: #15692b;
  background: #cefacf;
}
.how-proposal-check {
  position: absolute;
  top: -11px;
  right: -7px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #25d839, #04942a);
  border: 2px solid white;
  color: white;
}
.how-proposal-check svg {
  width: 14px;
  height: 14px;
}
.how-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
  padding: 3px 0 5px;
}
#how-quote {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 9px 22px 9px 11px;
  border-radius: 999px;
  border: 2px solid #92efac;
  color: #fff;
  background: linear-gradient(145deg, #048538, #007d2e 55%, #079329);
  font: 600 16px/1.3 var(--ui);
  box-shadow:
    inset 0 1px 2px rgb(255 255 255 / 40%),
    0 7px 24px rgb(0 92 35 / 12%);
  transform: none;
  isolation: isolate;
  overflow: hidden;
}
#how-quote::before {
  content: "";
  position: absolute;
  inset: -58% -15% 49%;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 35%),
    rgb(255 255 255 / 8%)
  );
  z-index: -1;
}
#how-quote strong {
  font-weight: 800;
}
.how-action-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 1px 2px rgb(255 255 255 / 28%);
  flex: none;
}
.how-action-icon svg {
  width: 31px;
  height: 31px;
}
.how-action-arrow {
  width: 23px;
  height: 23px;
  margin-left: 8px;
  flex: none;
}
@media (hover: hover) and (pointer: fine) {
  #how-quote:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 2px rgb(255 255 255 / 40%),
      0 9px 28px rgb(0 92 35 / 15%);
  }
}
#how-quote:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 3px rgb(0 65 25 / 10%),
    0 3px 14px rgb(0 92 35 / 10%);
}
@media (min-width: 1500px) {
  #como-funciona .step-content {
    padding: 25px 25px 8px;
    min-height: 196px;
  }
  #como-funciona .step-content h3 {
    font-size: 21px;
  }
  #como-funciona .step-content p {
    font-size: 14px;
  }
  .how-step-art {
    height: 233px;
  }
}
@media (max-width: 1100px) {
  .how-heading-copy {
    max-width: 630px;
  }
  #como-funciona .step-content {
    padding: 22px 18px 8px;
    min-height: 218px;
  }
  #como-funciona .step-content h3 {
    font-size: 18px;
  }
  .how-proposal {
    gap: 5px;
    padding-inline: 4px;
  }
  .how-proposal.is-best {
    padding-inline: 10px;
  }
  .how-proposal strong {
    font-size: 9px;
  }
  .how-proposal-status {
    font-size: 7px;
    padding-inline: 4px;
  }
  .how-wa-icon {
    width: 23px;
    height: 23px;
  }
  .how-connector {
    right: -31px;
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 850px) {
  #como-funciona.how-redesign {
    padding: 58px 0;
  }
  .how-heading {
    min-height: 270px;
  }
  .how-heading-copy {
    max-width: 530px;
  }
  .how-heading-copy > p {
    max-width: 470px;
    font-size: 14px;
  }
  .how-desktop-break {
    display: none;
  }
  #como-funciona .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #como-funciona .step-card {
    display: grid;
    grid-template-columns: 1fr 260px;
    min-height: 235px;
    border-radius: 25px;
  }
  #como-funciona .step-content {
    padding: 25px;
    min-height: 0;
  }
  #como-funciona .step-content h3 {
    font-size: 22px;
  }
  #como-funciona .step-content p {
    font-size: 14px;
  }
  .how-step-art {
    height: 100%;
    min-height: 235px;
    border-radius: 0 22px 22px 0;
    margin: 0;
  }
  .how-connector {
    width: 38px;
    height: 38px;
    top: auto;
    right: calc(50% - 19px);
    bottom: -32px;
    transform: rotate(90deg);
  }
  .how-proposals {
    width: calc(100% - 24px);
  }
  .how-proposal strong {
    font-size: 9px;
  }
}
@media (max-width: 600px) {
  #como-funciona.how-redesign {
    padding: 45px 0 42px;
  }
  .how-heading {
    padding-bottom: 138px;
    min-height: 0;
  }
  .how-heading-copy {
    max-width: none;
  }
  .how-kicker {
    font-size: 10px;
    padding: 7px 10px;
    gap: 6px;
  }
  .how-kicker svg {
    width: 18px;
    height: 18px;
  }
  #como-funciona h2 {
    font-size: clamp(29px, 8vw, 35px);
    margin: 19px 0 22px;
  }
  .how-heading-copy > p {
    font-size: 13px;
    line-height: 1.85;
    max-width: none;
  }
  #como-funciona .steps-grid {
    gap: 24px;
  }
  #como-funciona .step-card {
    display: flex;
    min-height: 0;
    border-radius: 25px;
  }
  #como-funciona .step-content {
    padding: 23px 23px 10px;
    min-height: 173px;
  }
  #como-funciona .step-content h3 {
    font-size: 21px;
    margin-top: 13px;
  }
  #como-funciona .step-content p {
    font-size: 13px;
  }
  .how-step-art {
    height: 215px;
    min-height: 0;
    border-radius: 0 0 22px 22px;
  }
  .how-proposals {
    width: calc(100% - 40px);
    max-width: 300px;
  }
  .how-proposal strong {
    font-size: 11px;
  }
  .how-proposal-status {
    font-size: 8px;
  }
  .how-wa-icon {
    width: 28px;
    height: 28px;
  }
  .how-wa-icon svg {
    width: 20px;
    height: 20px;
  }
  .how-proposal {
    padding: 10px 7px;
  }
  .how-proposal.is-best {
    padding: 10px 13px;
  }
  .how-action {
    margin-top: 30px;
  }
  #how-quote {
    width: 100%;
    max-width: 370px;
    gap: 9px;
    padding: 8px 12px 8px 8px;
    font-size: 12px;
  }
  .how-action-icon {
    width: 34px;
    height: 34px;
  }
  .how-action-icon svg {
    width: 28px;
    height: 28px;
  }
  .how-action-arrow {
    width: 21px;
    height: 21px;
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  #how-quote:is(:hover, :active) {
    transform: none;
    transition: none;
  }
}
@media (min-width: 1101px) {
  #como-funciona .step-content {
    min-height: 218px;
  }
  #como-funciona .step-content h3 {
    font-size: 21px;
  }
  #como-funciona .step-content p {
    font-size: 14px;
    line-height: 1.8;
  }
}
@media (min-width: 1500px) {
}

/* Fotografía acotada a la mitad derecha, con bordes fundidos en blanco. */
#como-funciona.how-redesign {
  background: #fff;
  --how-photo-height: 580px;
}
#como-funciona.how-redesign::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 50%;
  height: var(--how-photo-height);
  background: url("/assets/images/como-funciona-ventanal-pvc.png") center
    center / cover no-repeat;
  opacity: 0.38;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent),
    linear-gradient(180deg, transparent, #000 14%, #000 66%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent),
    linear-gradient(180deg, transparent, #000 14%, #000 66%, transparent);
  mask-composite: intersect;
}
#como-funciona .how-heading {
  min-height: 278px;
}
@media (max-width: 850px) {
  #como-funciona .how-heading {
    min-height: 0;
    padding-bottom: 32px;
  }
}

/* Acerca el marco de la foto al título sin ampliar su tamaño. */
@media (min-width: 851px) {
  #como-funciona.how-redesign::before {
    right: clamp(100px, 14vw, 240px);
    -webkit-mask-image:
      linear-gradient(90deg, transparent, #000 14%, #000 78%, transparent),
      linear-gradient(180deg, transparent, #000 14%, #000 66%, transparent);
    mask-image:
      linear-gradient(90deg, transparent, #000 14%, #000 78%, transparent),
      linear-gradient(180deg, transparent, #000 14%, #000 66%, transparent);
  }
}

/* Directorio: tarjetas compactas, selección azul y mapa integrado. */
#directorio.directory-redesign {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 66px 0 68px;
  background: linear-gradient(180deg, #f7faff, #f3f8ff 65%, #fff);
}
#directorio > .wrap {
  width: min(1240px, calc(100% - 64px));
}
#directorio::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 62%;
  height: 230px;
  background: linear-gradient(
    145deg,
    rgb(137 192 255 / 65%),
    rgb(213 235 255 / 45%)
  );
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%);
  mask-image: linear-gradient(180deg, #000, transparent);
  pointer-events: none;
}
#directorio::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 31%;
  height: 205px;
  background:
    linear-gradient(180deg, rgb(36 129 247 / 10%), rgb(255 255 255 / 70%)),
    url("/assets/images/como-funciona-ventanal-pvc.png") 77% 25% / cover
      no-repeat;
  opacity: 0.48;
  mask-image:
    linear-gradient(90deg, transparent, #000 25%),
    linear-gradient(180deg, #000, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
#directorio .directory-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 22px;
  margin-bottom: 30px;
}
#directorio .eyebrow {
  color: #526394;
  font-size: 12px;
  letter-spacing: 1.5px;
}
#directorio h2 {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 9px 0 16px;
}
#directorio .directory-accent {
  position: relative;
  display: inline-block;
  color: #155cff;
}
#directorio .directory-accent::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 6%;
  bottom: -5px;
  height: 3px;
  border-radius: 50%;
  background: linear-gradient(90deg, #2773ff, #87b9ff, transparent);
}
#directorio .directory-heading p:not(.eyebrow) {
  font-size: 13px;
  color: #4b5d86;
  line-height: 1.8;
}
#directorio .directory-tools {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 13px;
  padding-bottom: 2px;
}
#directorio .buscador {
  flex: 1;
  width: 270px;
  min-width: 0;
  max-width: 310px;
  height: 43px;
  border: 1px solid #cbddff;
  border-radius: 999px;
  padding: 0 14px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 4px 12px rgb(45 104 200 / 12%);
}
#directorio .buscador > svg {
  width: 17px;
  height: 17px;
  color: #345097;
}
#directorio .buscador input {
  font-size: 12px;
  color: #253b6d;
}
#directorio .buscador input::placeholder {
  color: #546791;
}
#directorio .directory-filters {
  background: rgb(255 255 255 / 75%);
  padding: 0;
  gap: 0;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgb(45 104 200 / 12%);
  flex: none;
}
#directorio .directory-filters button {
  min-height: 43px;
  padding: 9px 16px;
  border: 1px solid #e0eaff;
  border-radius: 999px;
  color: #172855;
  font-size: 12px;
  font-weight: 650;
  background: linear-gradient(180deg, #fff, #f5f9ff);
  box-shadow: 0 2px 5px rgb(33 83 158 / 7%);
}
#directorio .directory-filters [aria-pressed="true"] {
  background: linear-gradient(120deg, #1556ff, #0099f9);
  color: white;
  border-color: #0875ff;
  box-shadow: 0 3px 9px rgb(27 100 255 / 20%);
}
#directorio .selection-bar {
  min-height: 73px;
  border-radius: 18px;
  padding: 12px 17px;
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid #1c57be;
  color: white;
  background: linear-gradient(165deg, #195eca 0%, #154497 48%, #0c2360 100%);
  box-shadow: 0 5px 14px rgb(25 81 171 / 17%);
}
#directorio .selection-bar > div {
  gap: 15px;
  flex: 1;
}
.selection-people {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #b5efff;
  background: linear-gradient(145deg, #00b5ff, #0668ff);
  border: 1px solid rgb(138 219 255 / 42%);
  box-shadow:
    inset 0 1px 2px rgb(255 255 255 / 15%),
    0 3px 10px rgb(0 23 82 / 15%);
}
.selection-people svg {
  width: 28px;
  height: 28px;
}
#directorio #selection-count {
  font-size: 24px;
  font-style: italic;
  color: #ffe15e;
  letter-spacing: -1px;
}
#directorio #selection-names {
  font-size: 12px;
  color: #fff;
}
#directorio #quote-selection {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  min-height: 43px;
  border: 1px solid #a8ed74;
  background: linear-gradient(100deg, #80ed3c, #ceff79);
  color: #102a20;
  font-size: 12px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 35%),
    0 3px 10px rgb(4 27 60 / 10%);
}
#directorio #quote-selection > svg {
  width: 17px;
  height: 17px;
  color: #237c3c;
  flex: none;
}
#directorio #quote-selection span {
  margin: 0;
}
#directorio #quote-selection > span:last-child {
  font-size: 21px;
  line-height: 1;
  margin-left: 3px;
}
#directorio #quote-selection:disabled {
  opacity: 0.58;
  box-shadow: none;
}
#directorio .directory-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 19px;
  align-items: start;
}
#directorio .lista {
  gap: 7px;
}
#directorio .ficha {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  min-height: 84px;
  padding: 12px 15px;
  border-radius: 16px;
  border: 1px solid #dbe7fc;
  background: linear-gradient(130deg, #fff, #f9fbff);
  box-shadow: 0 4px 13px rgb(35 92 172 / 7%);
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}
#directorio .ficha.selected {
  border-color: #52b6ff;
  background: linear-gradient(120deg, #ecf8ff, #e6f4ff);
  box-shadow: 0 4px 14px rgb(15 145 237 / 10%);
}
#directorio .company-check {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0 3px 0 0;
  padding: 0;
  border: 1.5px solid #9eb6db;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}
#directorio .company-check:checked {
  border-color: #1478fa;
  background: #1478fa
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-8' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
#directorio .company-check:focus-visible {
  outline: 3px solid #91c9ff;
  outline-offset: 3px;
}
#directorio .company-check:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
#directorio .company-avatar {
  width: 44px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(140deg, #02b6fb, #7fd9ff);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 52%),
    0 4px 10px rgb(0 139 224 / 16%);
}
#directorio .company-avatar svg {
  width: 30px;
  height: 30px;
  fill: rgb(255 255 255 / 12%);
  filter: drop-shadow(0 2px 2px rgb(0 65 143 / 18%));
}
#directorio .avatar-1 {
  background: linear-gradient(140deg, #6861ff, #b9c1ff);
}
#directorio .avatar-2 {
  background: linear-gradient(140deg, #70d957, #b7f6a1);
  color: #17752a;
}
#directorio .avatar-3 {
  background: linear-gradient(140deg, #ffbc4a, #ffe7a4);
  color: #d67d16;
}
#directorio .avatar-4 {
  background: linear-gradient(140deg, #ff75a7, #ffd1e1);
  color: #e92f6a;
}
#directorio .avatar-5 {
  background: linear-gradient(140deg, #955bff, #d9c3ff);
}
#directorio .company-number {
  display: none;
}
#directorio .company-info {
  flex: 1;
  min-width: 0;
}
#directorio .ficha__nombre {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: #0b1738;
  margin: 0 0 5px;
  letter-spacing: -0.35px;
}
#directorio .company-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #314568;
  font-size: 11px;
  line-height: 1.5;
}
.company-location-icon {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: #35588d;
}
.company-location-icon svg {
  width: 12px;
  height: 12px;
}
#directorio .ficha__dist {
  color: #20345c;
  font-size: 11px;
  font-weight: 600;
}
#directorio .material-labels {
  gap: 5px;
  margin-left: 5px;
}
#directorio .material-labels span {
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 9px;
  font-weight: 700;
}
#directorio .material-pvc {
  background: #d9e9ff;
  color: #1452e5;
}
#directorio .material-alu {
  background: #e4eaf4;
  color: #24334f;
}
#directorio .company-links {
  margin-top: 3px;
  gap: 8px;
  font-size: 9px;
}
#directorio .company-links a {
  color: #617da9;
}
#directorio .company-actions {
  display: flex;
  width: auto;
  align-items: center;
  gap: 10px;
  flex: none;
}
#directorio .select-company {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 85px;
  min-height: 37px;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid #d9e7ff;
  background: linear-gradient(180deg, #fff, #f5f9ff);
  color: #17294f;
  font-size: 11px !important;
  font-weight: 700;
  box-shadow: 0 3px 9px rgb(29 74 139 / 14%);
}
#directorio .select-company::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}
#directorio .select-company[aria-pressed="true"] {
  background: linear-gradient(120deg, #126fff, #2547e4);
  border-color: #246afa;
  color: #fff;
}
#directorio .select-company[aria-pressed="true"]::before {
  content: "✓";
  font-size: 12px;
}
#directorio .select-company:disabled {
  opacity: 0.45;
  background: #f3f6fb;
  box-shadow: none;
  font-size: 10px !important;
}
#directorio .select-company:disabled::before {
  display: none;
}
#directorio .direct-whatsapp {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  border: 1px solid #0cb53b;
  background: linear-gradient(155deg, #0cce44, #07992f);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 35%),
    0 4px 10px rgb(0 156 55 / 19%);
}
#directorio .direct-whatsapp svg {
  width: 21px;
  height: 21px;
}
#directorio .directory-map {
  top: 18px;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #e7f1fb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 9px 24px rgb(25 86 170 / 11%);
}
#directorio #mapa {
  height: 548px;
  min-height: 0;
  border-radius: 18px;
}
#directorio .map-legend {
  bottom: 25px;
  left: 15px;
  right: 15px;
  padding: 9px 11px;
  min-height: 34px;
  gap: 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 95%);
  color: #263e6a;
  box-shadow: 0 3px 10px rgb(24 67 128 / 8%);
  font-size: 10px;
}
#directorio .map-legend > span {
  gap: 6px;
}
#directorio .map-legend > span > svg {
  width: 13px;
  height: 13px;
  color: #196aff;
  flex: none;
}
#directorio #map-locate {
  color: #4c6a9a;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  font-size: 9px;
  white-space: nowrap;
}
#directorio .leaflet-control-zoom {
  border: 0;
  background: none;
  box-shadow: none;
}
#directorio .leaflet-control-zoom a {
  width: 34px;
  height: 34px;
  line-height: 34px;
  margin: 4px 0 7px 4px;
  border: 0;
  border-radius: 12px;
  background: white;
  color: #132c55;
  font-size: 23px;
  box-shadow: 0 3px 10px rgb(26 64 128 / 15%);
}
#directorio .leaflet-control-attribution {
  background: rgb(255 255 255 / 90%);
  font-size: 8px;
}
#directorio .directory-footer {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 23px;
  color: #4c628d;
  font-size: 12px;
}
#directorio #show-all {
  padding: 10px 17px;
  min-height: 39px;
  border: 1px solid #c9ddff;
  border-radius: 999px;
  color: #1254e6;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(180deg, #fff, #f0f6ff);
  box-shadow: 0 3px 10px rgb(29 83 169 / 12%);
}
#directorio .directory-order {
  margin-left: auto;
  font-size: 11px;
}
@media (hover: hover) and (pointer: fine) {
  #directorio .ficha:hover {
    border-color: #9dcfff;
    box-shadow: 0 5px 16px rgb(25 110 214 / 11%);
  }
  #directorio
    :is(
      .select-company,
      .direct-whatsapp,
      #quote-selection,
      #show-all,
      .directory-filters button
    ):not(:disabled):hover {
    transform: translateY(-1px);
    filter: brightness(1.025);
  }
}
#directorio
  :is(
    .select-company,
    .direct-whatsapp,
    #quote-selection,
    #show-all,
    .directory-filters button
  ):not(:disabled):active {
  transform: translateY(1px);
}
@media (max-width: 1150px) {
  #directorio .directory-heading {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  #directorio .directory-tools {
    justify-content: flex-end;
    margin-top: -40px;
  }
  #directorio .directory-heading > div:first-child {
    padding-right: 300px;
  }
  #directorio .directory-heading h2 {
    font-size: 32px;
  }
  #directorio .directory-heading p:not(.eyebrow) {
    max-width: 470px;
  }
  #directorio .directory-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 14px;
  }
  #directorio .ficha {
    padding: 11px 12px;
    gap: 10px;
  }
  #directorio .company-avatar {
    width: 39px;
    height: 42px;
  }
  #directorio .ficha__nombre {
    font-size: 12px;
  }
  #directorio .company-meta,
  #directorio .ficha__dist {
    font-size: 10px;
  }
  #directorio .material-labels {
    margin-left: 0;
  }
  #directorio .select-company {
    min-width: 70px;
    padding-inline: 8px;
    gap: 5px;
    font-size: 10px !important;
  }
  #directorio .direct-whatsapp {
    width: 35px;
    height: 36px;
    border-radius: 12px;
  }
  #directorio .company-actions {
    gap: 7px;
  }
  #directorio .company-check {
    width: 16px;
    height: 16px;
    margin-right: 0;
  }
}
@media (max-width: 850px) {
  #directorio {
    padding-block: 48px;
  }
  #directorio > .wrap {
    width: calc(100% - 40px);
  }
  #directorio .directory-heading > div:first-child {
    padding-right: 0;
  }
  #directorio .directory-tools {
    margin-top: 0;
    justify-content: flex-start;
  }
  #directorio .buscador {
    max-width: none;
  }
  #directorio .selection-bar {
    padding: 12px;
    gap: 13px;
  }
  #directorio .selection-bar > div {
    gap: 10px;
  }
  .selection-people {
    width: 36px;
    height: 38px;
  }
  #directorio #selection-count {
    font-size: 21px;
  }
  #directorio #selection-names {
    font-size: 10px;
  }
  #directorio #quote-selection {
    font-size: 10px;
    padding: 10px 12px;
    gap: 7px;
  }
  #directorio .directory-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
  #directorio .company-avatar {
    width: 31px;
    height: 35px;
    border-radius: 9px;
  }
  #directorio .company-avatar svg {
    width: 23px;
    height: 23px;
  }
  #directorio .ficha {
    gap: 8px;
    padding: 11px 10px;
  }
  #directorio .company-check {
    width: 14px;
    height: 14px;
  }
  #directorio .company-actions {
    gap: 5px;
  }
  #directorio .select-company {
    min-width: 58px;
    padding-inline: 7px;
    font-size: 9px !important;
  }
  #directorio .direct-whatsapp {
    width: 30px;
    height: 32px;
    border-radius: 10px;
  }
  #directorio .direct-whatsapp svg {
    width: 18px;
    height: 18px;
  }
  #directorio .ficha__nombre {
    font-size: 11px;
  }
  #directorio .material-labels span {
    font-size: 8px;
    padding-inline: 5px;
  }
  #directorio .directory-footer {
    gap: 18px;
    font-size: 11px;
  }
}
@media (max-width: 650px) {
  #directorio.directory-redesign {
    padding-block: 38px 45px;
  }
  #directorio > .wrap {
    width: calc(100% - 28px);
  }
  #directorio::after {
    width: 52%;
    opacity: 0.22;
  }
  #directorio .directory-heading {
    gap: 18px;
    margin-bottom: 22px;
  }
  #directorio h2 {
    font-size: 29px;
    letter-spacing: -1.1px;
    line-height: 1.2;
  }
  #directorio .eyebrow {
    font-size: 10px;
  }
  #directorio .directory-heading p:not(.eyebrow) {
    font-size: 12px;
  }
  #directorio .directory-tools {
    gap: 8px;
    flex-wrap: wrap;
  }
  #directorio .buscador {
    height: 42px;
    width: 100%;
    flex: 1 0 100%;
  }
  #directorio .buscador input {
    font-size: 12px;
  }
  #directorio .directory-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  #directorio .directory-filters button {
    min-height: 37px;
    font-size: 11px;
  }
  #directorio .selection-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    border-radius: 16px;
    padding: 12px;
  }
  #directorio .selection-bar > div {
    width: 100%;
  }
  #directorio .selection-people {
    width: 32px;
    height: 34px;
    border-radius: 10px;
  }
  #directorio .selection-people svg {
    width: 23px;
    height: 23px;
  }
  #directorio #selection-count {
    font-size: 21px;
  }
  #directorio #selection-names {
    font-size: 10px;
    max-width: none;
  }
  #directorio #quote-selection {
    font-size: 10px;
    min-height: 39px;
    padding: 9px 12px;
  }
  #directorio .directory-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
  }
  #directorio .directory-map {
    top: auto;
    width: 100%;
    position: relative;
    border-radius: 20px;
    padding: 4px;
  }
  #directorio #mapa {
    height: 295px;
    border-radius: 15px;
  }
  #directorio .map-legend {
    left: 12px;
    right: 12px;
    bottom: 23px;
    font-size: 9px;
    padding-inline: 10px;
  }
  #directorio .directory-list {
    width: 100%;
  }
  #directorio .ficha {
    min-height: 84px;
    padding: 11px 10px;
    gap: 8px;
    border-radius: 14px;
  }
  #directorio .company-check {
    width: 15px;
    height: 15px;
  }
  #directorio .company-avatar {
    width: 34px;
    height: 38px;
    border-radius: 10px;
  }
  #directorio .company-avatar svg {
    width: 25px;
    height: 25px;
  }
  #directorio .ficha__nombre {
    font-size: 11px;
    letter-spacing: -0.2px;
  }
  #directorio .company-actions {
    gap: 5px;
  }
  #directorio .select-company {
    min-width: 56px;
    min-height: 32px;
    border-radius: 13px;
    padding: 7px 6px;
    font-size: 9px !important;
    gap: 4px;
  }
  #directorio .select-company::before {
    font-size: 14px;
  }
  #directorio .select-company:disabled {
    min-width: 56px;
    font-size: 8px !important;
  }
  #directorio .direct-whatsapp {
    width: 30px;
    height: 32px;
  }
  #directorio .company-meta,
  #directorio .ficha__dist {
    font-size: 9px;
    gap: 4px;
  }
  #directorio .company-location-icon svg {
    width: 11px;
    height: 11px;
  }
  #directorio .material-labels span {
    font-size: 8px;
  }
  #directorio .company-links {
    font-size: 8px;
    gap: 6px;
  }
  #directorio .directory-footer {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
  }
  #directorio #show-all {
    padding: 10px 13px;
    font-size: 10px;
  }
  #directorio #cuenta {
    font-size: 10px;
    margin-left: auto;
  }
  #directorio .directory-order {
    margin-left: 0;
    width: 100%;
    text-align: right;
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  #directorio .company-avatar {
    width: 29px;
    height: 33px;
  }
  #directorio .company-avatar svg {
    width: 22px;
    height: 22px;
  }
  #directorio .ficha {
    padding-inline: 8px;
    gap: 6px;
  }
  #directorio .company-check {
    width: 13px;
    height: 13px;
  }
  #directorio .select-company {
    min-width: 49px;
    padding-inline: 5px;
    font-size: 8px !important;
  }
  #directorio .company-actions {
    gap: 4px;
  }
  #directorio .direct-whatsapp {
    width: 27px;
    height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #directorio :is(button, a.direct-whatsapp):is(:hover, :active) {
    transform: none !important;
    transition: none;
  }
}

/* Guías: tarjetas con ilustración, etiquetas con icono y botones píldora. */
#guias.guides-redesign {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0 72px;
  background: linear-gradient(180deg, #f5f9ff 0%, #f2f7ff 60%, #ffffff 100%);
}
#guias.guides-redesign::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto auto;
  width: 64%;
  height: 340px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(160 205 255 / 55%), transparent 62%),
    linear-gradient(160deg, rgb(214 233 255 / 0%) 30%, rgb(196 222 255 / 60%) 31%, rgb(236 245 255 / 0%) 75%);
  pointer-events: none;
}
#guias > .wrap {
  width: min(1240px, calc(100% - 64px));
}
#guias .guides-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
#guias .guides-heading h2 {
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -2px;
  color: #0b1530;
}
#guias .guides-heading h2 em {
  position: relative;
  display: inline-block;
  color: #1f5cf0;
  padding-right: 0.06em;
}
#guias .guides-heading h2 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 4%;
  bottom: -4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(90deg, #1f5cf0, #5d93ff 70%, rgb(93 147 255 / 0%));
}
#guias .guides-heading p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #4c5a78;
}
#guias .guides-all {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 12px 20px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: rgb(255 255 255 / 82%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #1450e6;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgb(31 92 240 / 14%);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
#guias .guides-all svg {
  width: 20px;
  height: 20px;
}
#guias .guides-all span {
  font-size: 16px;
  transition: transform 150ms ease;
}

/* Rejilla */
#guias .guides-grid {
  grid-template-columns: 1.27fr 1fr;
  gap: 22px;
}
#guias .guide-card {
  min-height: 0;
  padding: 34px 38px;
  border-radius: 22px;
}
#guias .guide-card h3 {
  margin: 18px 0 12px;
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: -1.3px;
}
#guias .guide-card p {
  font-size: 16px;
  line-height: 1.6;
}
#guias .guide-copy {
  position: relative;
  z-index: 1;
}

/* Etiquetas */
#guias :is(.guide-tag, .guide-pill, .guide-cta, .guides-all) {
  white-space: nowrap;
}
#guias .guide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: rgb(46 108 255 / 22%);
  border: 1px solid rgb(120 165 255 / 28%);
  color: #ffffff;
}
#guias .guide-tag svg {
  width: 19px;
  height: 19px;
  flex: none;
}
#guias .guide-tag-warm {
  background: #ffe9cf;
  border-color: #ffdcb4;
  color: #ea5b0c;
}
#guias .guide-tag-blue {
  background: #eaf2ff;
  border-color: #d6e5ff;
  color: #1450e6;
}

/* Botones píldora */
#guias .guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 11px 22px 11px 26px;
  border: 0;
  border-radius: 999px;
  font:
    700 17px/1.2 "Inter",
    sans-serif;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}
#guias .guide-pill span {
  font-size: 20px;
  line-height: 1;
  transition: transform 150ms ease;
}
#guias .guide-pill-light {
  background: #ffffff;
  color: #0b1530;
  box-shadow:
    inset 0 -2px 0 rgb(11 21 48 / 10%),
    0 8px 20px rgb(0 8 30 / 35%);
}
#guias .guide-pill-soft {
  background: linear-gradient(180deg, #ffffff, #f2f7ff);
  color: #1450e6;
  border: 1px solid #d3e2ff;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 6px 16px rgb(31 92 240 / 14%);
}

/* Tarjeta oscura: termopanel */
#guias .guide-dark {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 8px;
  padding-block: 30px;
  background:
    radial-gradient(70% 90% at 82% 30%, rgb(38 105 220 / 55%), transparent 70%),
    radial-gradient(60% 70% at 70% 120%, rgb(46 130 255 / 55%), transparent 70%),
    linear-gradient(115deg, #071a42 0%, #0b2a67 55%, #0c3a8a 100%);
  box-shadow: 0 18px 40px rgb(10 35 90 / 22%);
}
#guias .guide-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background:
    radial-gradient(120% 100% at 30% 140%, rgb(70 150 255 / 35%), transparent 60%);
  -webkit-mask-image: linear-gradient(170deg, transparent 38%, #000 62%);
  mask-image: linear-gradient(170deg, transparent 38%, #000 62%);
  pointer-events: none;
}
#guias .guide-dark > .guide-copy {
  max-width: none;
}
#guias .guide-dark h3 {
  color: #ffffff;
}
#guias .guide-dark p {
  max-width: 470px;
  color: #c9d6ee;
}
#guias .thermo-art {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 270px;
}
#guias .thermo-svg {
  position: absolute;
  left: -34px;
  bottom: -12px;
  width: 232px;
  height: auto;
  filter: drop-shadow(0 14px 18px rgb(0 10 40 / 35%));
}
#guias .thermo-label {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}
#guias .thermo-label i {
  display: block;
  height: 1px;
  margin-right: 8px;
  background: rgb(255 255 255 / 70%);
  position: relative;
}
#guias .thermo-label i::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}
#guias .thermo-in {
  top: 22%;
}
#guias .thermo-in i {
  width: 58px;
}
#guias .thermo-air {
  top: 47%;
}
#guias .thermo-air i {
  width: 44px;
  background: #ffb13d;
}
#guias .thermo-air i::before {
  background: #ffb13d;
}
#guias .thermo-air b {
  padding: 5px 10px;
  border: 1px solid #ffb13d;
  border-radius: 8px;
  background: rgb(214 104 10 / 55%);
  color: #ffd79a;
  font-weight: 600;
}
#guias .thermo-out {
  top: 70%;
}
#guias .thermo-out i {
  width: 66px;
}

/* Tarjeta precio */
#guias .guide-price {
  background:
    radial-gradient(80% 70% at 65% 110%, rgb(255 196 120 / 50%), transparent 70%),
    linear-gradient(135deg, #ffffff 0%, #fff8ef 60%, #ffeeda 100%);
  border: 1px solid #ffffff;
  color: #0b1530;
  box-shadow: 0 16px 36px rgb(31 70 140 / 12%);
}
#guias .guide-price .guide-copy {
  max-width: 76%;
}
#guias .guide-price h3 {
  font-size: 28px;
}
#guias .guide-price p {
  color: #4c5a78;
  margin: 0;
}
#guias .price-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: url("/assets/images/como-funciona-ventanal-pvc.png") 88% 40% / auto 150% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 55%) 32%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 55%) 32%, #000 62%);
  pointer-events: none;
}
#guias .guide-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 15px 30px 15px 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8a1f 0%, #f26a06 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 35%),
    inset 0 -2px 0 rgb(150 50 0 / 22%),
    0 10px 22px rgb(242 106 6 / 35%);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}
#guias .guide-cta span {
  font-size: 24px;
  line-height: 1;
  transition: transform 150ms ease;
}
#guias .guide-minor {
  display: block;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #8a4b12;
  font:
    600 13px/1.4 "Inter",
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transform: none;
  filter: none;
}

/* Tarjetas claras */
#guias .guide-soft {
  background: linear-gradient(160deg, rgb(255 255 255 / 92%), rgb(246 250 255 / 92%));
  border: 1px solid #e3ecfa;
  color: #0b1530;
  box-shadow: 0 14px 34px rgb(31 70 140 / 9%);
}
#guias .guide-soft p {
  color: #4c5a78;
}

/* Comparación */
#guias .guide-materials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}
#guias .guide-materials > .guide-tag {
  justify-self: start;
}
#guias .guide-materials > h3 {
  margin-bottom: 0;
}
#guias .compare {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 0 14px;
  margin-top: -6px;
}
#guias .compare-labels,
#guias .compare-col {
  display: grid;
  grid-template-rows: 46px 46px 46px;
}
#guias .compare-col {
  position: relative;
  border: 1px solid #e3e9f3;
  border-radius: 12px;
  background: #fbfcff;
  text-align: center;
}
#guias .compare-labels > span,
#guias .compare-col > span {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #56637d;
}
#guias .compare-col > span {
  justify-content: center;
}
#guias .compare-labels > span + span,
#guias .compare-col > span + span {
  border-top: 1px solid #e8edf5;
}
#guias .compare-labels > span {
  gap: 10px;
  color: #1b2742;
  font-weight: 500;
}
#guias .compare-labels svg {
  width: 20px;
  height: 20px;
  color: #3a4660;
}
#guias .compare-col > .compare-head {
  font-size: 18px;
  font-weight: 700;
  color: #0b1530;
  background: #f1f4f9;
  border-radius: 11px 11px 0 0;
}
#guias .compare-pvc {
  border-color: #b9d2ff;
  background: #edf4ff;
  box-shadow: 0 8px 18px rgb(31 92 240 / 12%);
}
#guias .compare-pvc > span {
  color: #1b2742;
}
#guias .compare-pvc > .compare-head {
  background: linear-gradient(180deg, #d7e6ff, #e6efff);
}
#guias .compare-check {
  position: absolute;
  top: -13px;
  right: -11px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1f5cf0;
  border: 2px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 4px 10px rgb(31 92 240 / 35%);
}
#guias .compare-check svg {
  width: 16px;
  height: 16px;
}
#guias .guide-materials .guide-pill {
  justify-self: start;
  margin-top: 18px;
}

/* Medidas */
#guias .guide-measure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 18px;
}
#guias .guide-measure p {
  max-width: 360px;
}
#guias .measure-window svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Interacción */
@media (hover: hover) and (pointer: fine) {
  #guias :is(.guides-all, .guide-pill, .guide-cta):hover {
    transform: translateY(-2px);
  }
  #guias :is(.guides-all, .guide-pill, .guide-cta):hover span {
    transform: translateX(3px);
  }
  #guias .guide-pill-light:hover {
    box-shadow:
      inset 0 -2px 0 rgb(11 21 48 / 10%),
      0 12px 26px rgb(0 8 30 / 42%);
  }
  #guias .guide-pill-soft:hover,
  #guias .guides-all:hover {
    box-shadow: 0 10px 22px rgb(31 92 240 / 20%);
  }
  #guias .guide-cta:hover {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 35%),
      inset 0 -2px 0 rgb(150 50 0 / 22%),
      0 14px 28px rgb(242 106 6 / 42%);
  }
  #guias .guide-minor:hover {
    color: #ea5b0c;
    transform: none;
    box-shadow: none;
  }
}
#guias :is(.guide-pill, .guide-cta, .guides-all):active {
  transform: translateY(1px);
}
#guias :is(.guide-pill, .guide-cta, .guides-all, .guide-minor):focus-visible {
  outline: 3px solid #5d93ff;
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1150px) {
  #guias .guides-heading h2 {
    font-size: 40px;
  }
  #guias .guide-card {
    padding: 30px;
  }
  #guias .guide-card h3 {
    font-size: 27px;
  }
  #guias .guide-dark {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  #guias .thermo-svg {
    left: -30px;
    width: 170px;
  }
  #guias .thermo-label {
    font-size: 13px;
  }
  #guias .compare-labels > span,
  #guias .compare-col > span {
    font-size: 13px;
  }
  #guias .compare-col > .compare-head {
    font-size: 16px;
  }
  #guias .guide-measure {
    grid-template-columns: minmax(0, 1fr) 160px;
  }
}
@media (max-width: 1024px) {
  #guias .guides-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #guias .guide-dark {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}
@media (max-width: 850px) {
  #guias.guides-redesign {
    padding: 48px 0 56px;
  }
  #guias > .wrap {
    width: calc(100% - 40px);
  }
  #guias .guides-heading {
    display: block;
    margin-bottom: 26px;
  }
  #guias .guides-heading h2 {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  #guias .guides-heading p {
    font-size: 15px;
    margin-top: 12px;
  }
  #guias .guides-all {
    margin-top: 18px;
    padding: 10px 16px;
    font-size: 13px;
  }
}
@media (max-width: 650px) {
  #guias .guides-heading h2 {
    font-size: 30px;
  }
  #guias .guide-card {
    padding: 26px 22px;
    border-radius: 18px;
  }
  #guias .guide-card h3 {
    font-size: 24px;
    letter-spacing: -1px;
    margin-top: 14px;
  }
  #guias .guide-card p {
    font-size: 14px;
  }
  #guias .guide-tag {
    font-size: 11px;
    padding: 6px 11px 6px 9px;
  }
  #guias .guide-tag svg {
    width: 16px;
    height: 16px;
  }
  #guias .guide-pill {
    font-size: 15px;
    padding: 10px 18px 10px 22px;
  }
  #guias .guide-dark {
    display: block;
    padding-bottom: 0;
  }
  #guias .thermo-art {
    min-height: 220px;
    margin: 6px -22px 0;
  }
  #guias .thermo-svg {
    left: 14px;
    width: 175px;
    bottom: -10px;
  }
  #guias .thermo-label {
    right: 20px;
    font-size: 13px;
  }
  #guias .thermo-in i {
    width: 100px;
  }
  #guias .thermo-air i {
    width: 80px;
  }
  #guias .thermo-out i {
    width: 92px;
  }
  #guias .compare {
    margin-top: 22px;
  }
  #guias .guide-price .guide-copy {
    max-width: none;
  }
  #guias .price-photo {
    width: 60%;
    opacity: 0.35;
  }
  #guias .guide-cta {
    font-size: 17px;
    padding: 13px 24px 13px 26px;
  }
  #guias .compare {
    grid-template-columns: minmax(84px, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 8px;
  }
  #guias .compare-labels,
  #guias .compare-col {
    grid-template-rows: 42px 42px 42px;
  }
  #guias .compare-labels > span,
  #guias .compare-col > span {
    font-size: 12px;
  }
  #guias .compare-labels > span {
    gap: 6px;
  }
  #guias .compare-labels svg {
    width: 16px;
    height: 16px;
  }
  #guias .compare-col > .compare-head {
    font-size: 14px;
  }
  #guias .compare-check {
    width: 24px;
    height: 24px;
    top: -10px;
    right: -6px;
  }
  #guias .guide-measure {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #guias :is(.guides-all, .guide-pill, .guide-cta, .guide-pill span, .guide-cta span) {
    transition: none;
    transform: none !important;
  }
}

/* Preguntas frecuentes: tarjetas con icono, acordeón y burbujas. */
#preguntas.faq-redesign {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 84px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 40%, #eef4ff 100%);
}
#preguntas.faq-redesign::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(40% 55% at 12% 78%, rgb(120 170 255 / 28%), transparent 70%),
    linear-gradient(150deg, transparent 52%, rgb(206 226 255 / 50%) 52.2%, rgb(236 244 255 / 0%) 82%);
  pointer-events: none;
}
#preguntas > .wrap {
  width: min(1240px, calc(100% - 64px));
}
#preguntas .faq-grid {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
}
#preguntas .faq-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: #e9f1ff;
  border: 1px solid #d8e6ff;
  color: #0b1530;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
#preguntas .faq-tag svg {
  width: 22px;
  height: 22px;
  color: #1f5cf0;
}
#preguntas .faq-intro h2 {
  margin-top: 22px;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -2.4px;
  color: #0b1530;
}
#preguntas .faq-intro h2 em {
  font-style: normal;
  color: #1f5cf0;
}
#preguntas .faq-grid > .faq-intro > p {
  max-width: 280px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: #4c5a78;
}
#preguntas .faq-art {
  width: 100%;
  max-width: 300px;
  margin-top: 34px;
}
#preguntas .faq-art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Acordeón */
#preguntas .faq-list {
  display: grid;
  gap: 14px;
  margin: 0;
}
#preguntas .faq-list details {
  padding: 0;
  border: 1px solid #e6edf8;
  border-radius: 20px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 10px 26px rgb(31 70 140 / 8%);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}
#preguntas .faq-list details[open] {
  border-color: #8fb4ff;
  background: linear-gradient(180deg, #f1f6ff, #e9f1ff);
  box-shadow:
    0 0 0 1px rgb(31 92 240 / 12%),
    0 14px 32px rgb(31 92 240 / 14%);
}
#preguntas .faq-list summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 22px;
  padding: 20px 26px 20px 22px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -0.4px;
  color: #0b1530;
  border-radius: 20px;
}
#preguntas .faq-list details[open] summary {
  align-items: start;
  padding-bottom: 0;
}
#preguntas .faq-list summary span {
  width: auto;
  height: auto;
  display: block;
  background: none;
  border-radius: 0;
  font-size: inherit;
  transform: none;
  color: inherit;
}
#preguntas .faq-list summary .faq-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #edf3ff;
  color: #1f5cf0;
}
#preguntas .faq-list details[open] .faq-icon {
  background: #ffffff;
  border: 1px solid #dbe7ff;
  box-shadow: 0 4px 10px rgb(31 92 240 / 10%);
}
#preguntas .faq-icon svg {
  width: 30px;
  height: 30px;
}
#preguntas .faq-list details[open] .faq-q {
  padding-top: 14px;
}
#preguntas .faq-list summary .faq-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef2f8;
  color: #1b2742;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}
#preguntas .faq-list details[open] .faq-toggle {
  margin-top: 6px;
  background: #1f5cf0;
  color: #ffffff;
  transform: rotate(180deg);
  box-shadow: 0 6px 14px rgb(31 92 240 / 35%);
}
#preguntas .faq-toggle svg {
  width: 20px;
  height: 20px;
}
#preguntas .faq-list details p {
  margin: 0;
  padding: 8px 92px 24px 102px;
  font-size: 17px;
  line-height: 1.65;
  color: #4c5a78;
}
#preguntas .faq-list summary:focus-visible {
  outline: 3px solid #5d93ff;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  #preguntas .faq-list details:not([open]):hover {
    border-color: #c9dbff;
    box-shadow: 0 14px 30px rgb(31 70 140 / 12%);
  }
  #preguntas .faq-list details:not([open]):hover .faq-toggle {
    background: #e2ebff;
    color: #1f5cf0;
  }
}

/* Responsive */
@media (max-width: 1150px) {
  #preguntas .faq-grid {
    gap: 36px;
  }
  #preguntas .faq-intro h2 {
    font-size: 44px;
  }
  #preguntas .faq-list summary {
    font-size: 18px;
  }
  #preguntas .faq-list details p {
    font-size: 15px;
    padding-right: 70px;
  }
}
@media (max-width: 900px) {
  #preguntas .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  #preguntas .faq-intro {
    position: relative;
    padding-right: 190px;
  }
  #preguntas .faq-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 180px;
    margin: 0;
  }
}
@media (max-width: 850px) {
  #preguntas.faq-redesign {
    padding: 52px 0 60px;
  }
  #preguntas > .wrap {
    width: calc(100% - 40px);
  }
}
@media (max-width: 650px) {
  #preguntas .faq-intro {
    padding-right: 118px;
  }
  #preguntas .faq-art {
    width: 118px;
    bottom: -6px;
  }
  #preguntas .faq-tag {
    font-size: 13px;
    padding: 7px 14px 7px 11px;
  }
  #preguntas .faq-tag svg {
    width: 18px;
    height: 18px;
  }
  #preguntas .faq-intro h2 {
    margin-top: 16px;
    font-size: 36px;
    letter-spacing: -1.6px;
  }
  #preguntas .faq-grid > .faq-intro > p {
    margin-top: 14px;
    font-size: 15px;
  }
  #preguntas .faq-list {
    gap: 10px;
  }
  #preguntas .faq-list details {
    border-radius: 16px;
  }
  #preguntas .faq-list summary {
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    gap: 12px;
    padding: 14px 14px 14px 14px;
    font-size: 15px;
    border-radius: 16px;
  }
  #preguntas .faq-list summary .faq-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  #preguntas .faq-icon svg {
    width: 22px;
    height: 22px;
  }
  #preguntas .faq-list details[open] .faq-q {
    padding-top: 10px;
  }
  #preguntas .faq-list summary .faq-toggle {
    width: 34px;
    height: 34px;
  }
  #preguntas .faq-list details[open] .faq-toggle {
    margin-top: 4px;
  }
  #preguntas .faq-toggle svg {
    width: 17px;
    height: 17px;
  }
  #preguntas .faq-list details p {
    padding: 6px 16px 18px 68px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #preguntas .faq-list :is(details, .faq-toggle) {
    transition: none;
  }
}

/* Cierre: banda de cotización con ventana y tarjeta para fabricantes. */
.closing-redesign {
  padding: 30px 0 80px;
  background: linear-gradient(180deg, #eef4ff 0%, #f4f8ff 55%, #f7f9fd 100%);
}
.closing-redesign > .wrap {
  width: min(1240px, calc(100% - 64px));
}
.closing-redesign .cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px) auto;
  align-items: center;
  gap: 24px;
  min-height: 290px;
  padding: 34px 40px 34px 52px;
  border-radius: 26px;
  color: #ffffff;
  background:
    radial-gradient(55% 90% at 62% 40%, rgb(80 150 255 / 55%), transparent 70%),
    radial-gradient(40% 70% at 100% 100%, rgb(70 170 255 / 45%), transparent 70%),
    linear-gradient(115deg, #0a2d82 0%, #0f49c7 48%, #1764ea 100%);
  box-shadow: 0 22px 46px rgb(16 64 170 / 28%);
}
.closing-redesign .cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -60%;
  width: 70%;
  height: 120%;
  border-radius: 50%;
  border-top: 2px solid rgb(140 200 255 / 35%);
  background: radial-gradient(60% 50% at 50% 0%, rgb(100 180 255 / 30%), transparent 70%);
}
.closing-redesign .cta-copy {
  position: relative;
  z-index: 1;
}
.closing-redesign .cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(160 200 255 / 40%);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.closing-redesign .cta-tag svg {
  width: 18px;
  height: 18px;
  color: #8fd0ff;
}
.closing-redesign .cta-band h2 {
  margin-top: 16px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -1.8px;
  color: #ffffff;
}
.closing-redesign .cta-band h2 em {
  position: relative;
  display: inline-block;
  color: #5fd3ff;
}
.closing-redesign .cta-band h2 em::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: -5px;
  height: 3px;
  border-radius: 50%;
  background: linear-gradient(90deg, #5fd3ff, rgb(95 211 255 / 20%));
}
.closing-redesign .cta-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.closing-redesign .cta-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #e3edff;
  white-space: nowrap;
}
.closing-redesign .cta-points li:first-child {
  padding-left: 0;
}
.closing-redesign .cta-points li + li {
  border-left: 1px solid rgb(180 210 255 / 35%);
}
.closing-redesign .cta-points svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Ventana */
.closing-redesign .cta-window {
  position: relative;
  z-index: 0;
  align-self: stretch;
  perspective: 700px;
}
.closing-redesign .cta-frame {
  position: absolute;
  left: -50px;
  right: -40px;
  top: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #eef3fb 55%, #cfd9ea 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 70%),
    14px 0 0 -2px #b9c6dc,
    0 26px 40px rgb(3 20 70 / 45%);
  transform: rotateY(-20deg) rotateX(4deg);
  transform-origin: 30% 50%;
}
.closing-redesign .cta-frame i {
  position: relative;
  border: 5px solid #f4f7fc;
  box-shadow: inset 0 0 0 1px #c6d2e5;
  background:
    linear-gradient(125deg, rgb(255 255 255 / 55%) 0%, rgb(255 255 255 / 0%) 32%, rgb(255 255 255 / 0%) 60%, rgb(255 255 255 / 20%) 70%, rgb(255 255 255 / 0%) 78%),
    url("/assets/images/como-funciona-ventanal-pvc.png") 62% 42% / auto 260% no-repeat;
}
.closing-redesign .cta-frame i + i {
  background-position: 0 0, 82% 42%;
}
.closing-redesign .cta-frame i::after {
  content: "";
  position: absolute;
  top: 46%;
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: #d5ddea;
}
.closing-redesign .cta-frame i:first-child::after {
  right: 6px;
}
.closing-redesign .cta-frame i + i::after {
  left: 6px;
}

/* Botón principal */
.closing-redesign .cta-start {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 26px 8px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1530;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 0 0 4px rgb(95 211 255 / 45%),
    0 14px 30px rgb(3 20 70 / 35%);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}
.closing-redesign .cta-start-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2f7bff, #1550e0);
  color: #ffffff;
}
.closing-redesign .cta-start-icon svg {
  width: 21px;
  height: 21px;
}
.closing-redesign .cta-arrow {
  font-size: 21px;
  transition: transform 150ms ease;
}

/* Tarjeta fabricantes */
.closing-redesign .join-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 26px 30px;
  border: 1px solid #e3ecfa;
  border-radius: 22px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 14px 34px rgb(31 70 140 / 9%);
  scroll-margin-top: 90px;
}
.closing-redesign .join-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(160deg, #eaf1ff, #dbe7ff);
  border: 1px solid #d2e1ff;
  color: #1f5cf0;
  box-shadow: 0 6px 14px rgb(31 92 240 / 12%);
}
.closing-redesign .join-badge svg {
  width: 36px;
  height: 36px;
}
.closing-redesign .join-text {
  flex: 1;
  min-width: 0;
  padding-left: 24px;
  border-left: 2px solid #1f5cf0;
}
.closing-redesign .join-text h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #0b1530;
}
.closing-redesign .join-text p {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: #4c5a78;
}
.closing-redesign .join-actions {
  display: flex;
  gap: 14px;
  flex: none;
}
.closing-redesign :is(.join-primary, .join-secondary) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}
.closing-redesign :is(.join-primary, .join-secondary) svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.closing-redesign .join-primary {
  background: linear-gradient(180deg, #1f63f0, #0f43c9);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 25%),
    0 10px 22px rgb(15 67 201 / 32%);
}
.closing-redesign .join-primary span {
  font-size: 19px;
  transition: transform 150ms ease;
}
.closing-redesign .join-secondary {
  background: #ffffff;
  color: #0b1530;
  border: 1px solid #cfdcf3;
  box-shadow: 0 6px 14px rgb(31 70 140 / 10%);
}
.closing-redesign .join-secondary svg {
  color: #1f5cf0;
}

/* Interacción */
@media (hover: hover) and (pointer: fine) {
  .closing-redesign :is(.cta-start, .join-primary, .join-secondary):hover {
    transform: translateY(-2px);
  }
  .closing-redesign .cta-start:hover {
    box-shadow:
      0 0 0 5px rgb(95 211 255 / 60%),
      0 18px 34px rgb(3 20 70 / 40%);
  }
  .closing-redesign .cta-start:hover .cta-arrow,
  .closing-redesign .join-primary:hover span {
    transform: translateX(3px);
  }
  .closing-redesign .join-primary:hover {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 25%),
      0 14px 26px rgb(15 67 201 / 40%);
  }
  .closing-redesign .join-secondary:hover {
    border-color: #9dbcff;
    box-shadow: 0 10px 20px rgb(31 70 140 / 14%);
  }
}
.closing-redesign :is(.cta-start, .join-primary, .join-secondary):active {
  transform: translateY(1px);
}
.closing-redesign :is(.cta-start, .join-primary, .join-secondary):focus-visible {
  outline: 3px solid #5d93ff;
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1150px) {
  .closing-redesign .cta-band {
    grid-template-columns: minmax(0, 1fr) 200px;
    padding: 34px 36px;
  }
  .closing-redesign .cta-start {
    grid-column: 1;
    justify-self: start;
  }
  .closing-redesign .cta-window {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .closing-redesign .cta-frame {
    left: 0;
    right: -50px;
    top: 50%;
    bottom: auto;
    height: 190px;
    margin-top: -95px;
  }
  .closing-redesign .join-card {
    flex-wrap: wrap;
  }
  .closing-redesign .join-text {
    flex-basis: calc(100% - 94px);
  }
  .closing-redesign .join-actions {
    width: 100%;
    padding-left: 94px;
  }
}
@media (max-width: 850px) {
  .closing-redesign {
    padding: 20px 0 56px;
  }
  .closing-redesign > .wrap {
    width: calc(100% - 40px);
  }
  .closing-redesign .cta-band h2 {
    font-size: 34px;
  }
  .closing-redesign .cta-points {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .closing-redesign .cta-points li {
    padding: 0;
  }
  .closing-redesign .cta-points li + li {
    border-left: 0;
  }
}
@media (max-width: 650px) {
  .closing-redesign .cta-band {
    display: block;
    padding: 26px 22px 28px;
    border-radius: 20px;
    min-height: 0;
  }
  .closing-redesign .cta-window {
    position: absolute;
    right: -46px;
    top: 26px;
    width: 150px;
    height: 150px;
    opacity: 0.55;
  }
  .closing-redesign .cta-frame {
    inset: 0;
  }
  .closing-redesign .cta-tag {
    font-size: 11px;
  }
  .closing-redesign .cta-band h2 {
    font-size: 29px;
    letter-spacing: -1.2px;
  }
  .closing-redesign .cta-points {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
  }
  .closing-redesign .cta-points li {
    padding: 0;
    font-size: 14px;
  }
  .closing-redesign .cta-points li + li {
    border-left: 0;
  }
  .closing-redesign .cta-start {
    margin-top: 24px;
    font-size: 16px;
    gap: 10px;
    padding-right: 20px;
  }
  .closing-redesign .cta-start-icon {
    width: 40px;
    height: 40px;
  }
  .closing-redesign .join-card {
    gap: 16px;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .closing-redesign .join-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .closing-redesign .join-badge svg {
    width: 28px;
    height: 28px;
  }
  .closing-redesign .join-text {
    flex-basis: calc(100% - 68px);
    padding-left: 14px;
  }
  .closing-redesign .join-text h3 {
    font-size: 20px;
  }
  .closing-redesign .join-text p {
    font-size: 14px;
  }
  .closing-redesign .join-actions {
    padding-left: 0;
    flex-direction: column;
  }
  .closing-redesign :is(.join-primary, .join-secondary) {
    justify-content: center;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .closing-redesign :is(.cta-start, .join-primary, .join-secondary, .cta-arrow, .join-primary span) {
    transition: none;
    transform: none !important;
  }
}

/* Pie de página: azul profundo, columnas con icono y ventana iluminada. */
.footer-redesign.home-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0 30px;
  color: #c3cfe4;
  background:
    radial-gradient(45% 70% at 92% 40%, rgb(40 110 255 / 30%), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgb(30 90 220 / 28%), transparent 70%),
    linear-gradient(180deg, #071431 0%, #08183a 55%, #061230 100%);
}
.footer-redesign::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
}
.footer-redesign::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -15%;
  right: -15%;
  bottom: -40px;
  height: 260px;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  background: radial-gradient(60% 80% at 50% 100%, rgb(40 110 255 / 30%), transparent 75%);
  pointer-events: none;
}
.footer-redesign > .wrap {
  width: min(1240px, calc(100% - 64px));
}
.footer-redesign .footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(0, 1fr)) 190px;
  gap: 0;
  align-items: start;
}
.footer-redesign .footer-brand {
  padding-right: 36px;
}
.footer-redesign .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.2px;
  text-decoration: none;
  white-space: nowrap;
}
.footer-redesign .footer-logo .brand-dot {
  color: #ff9a2e;
}
.footer-redesign .footer-logo-icon {
  margin-right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(160deg, #5fb0ff, #1f5cf0);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 35%),
    0 0 18px rgb(60 150 255 / 45%);
}
.footer-redesign .footer-logo-icon svg {
  width: 26px;
  height: 26px;
}
.footer-redesign .footer-brand p {
  max-width: 300px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #c3cfe4;
}
.footer-redesign .footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgb(120 170 255 / 30%);
  background: rgb(40 100 230 / 22%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}
.footer-redesign .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 210px;
  padding-left: 34px;
  border-left: 1px solid rgb(140 175 230 / 14%);
}
.footer-redesign .footer-col h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-transform: none;
  color: #ffffff;
}
.footer-redesign .footer-col h3 svg {
  width: 26px;
  height: 26px;
  color: #3f8cff;
  flex: none;
}
.footer-redesign .footer-col :is(a, button) {
  display: inline-block;
  margin: 0;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #d4def0;
  font:
    400 16px/1.4 "Inter",
    sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transform: none;
  filter: none;
  transition: color 150ms ease;
}
.footer-redesign .footer-col :is(a, button):hover {
  color: #ffffff;
  transform: none;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Ventana iluminada */
.footer-redesign .footer-art {
  position: relative;
  height: 210px;
  perspective: 600px;
}
.footer-redesign .footer-window {
  position: absolute;
  right: 0;
  top: 0;
  width: 170px;
  height: 170px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(140deg, #f4f8ff, #b9cdf0);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 70%),
    10px 8px 0 -1px #6f90cf,
    0 0 50px rgb(60 150 255 / 55%),
    0 24px 40px rgb(0 0 0 / 40%);
  transform: rotateY(-24deg) rotateZ(6deg);
}
.footer-redesign .footer-window i {
  border: 4px solid #e7eefb;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #9fb3d8;
  background:
    linear-gradient(125deg, rgb(255 255 255 / 50%) 0%, rgb(255 255 255 / 0%) 35%),
    url("/assets/images/como-funciona-ventanal-pvc.png") 64% 45% / auto 330% no-repeat;
}
.footer-redesign .footer-window i + i {
  background-position: 0 0, 80% 45%;
}

/* Ciudades */
.footer-redesign .footer-cities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 44px;
}
.footer-redesign .footer-cities span {
  margin-right: 4px;
  font-size: 14px;
  color: #8fa2c4;
}
.footer-redesign .footer-cities a {
  padding: 6px 13px;
  border: 1px solid rgb(140 175 230 / 20%);
  border-radius: 999px;
  background: rgb(255 255 255 / 4%);
  color: #d4def0;
  font-size: 14px;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}
.footer-redesign .footer-cities a:hover {
  border-color: rgb(100 160 255 / 60%);
  background: rgb(40 100 230 / 25%);
  color: #ffffff;
}

/* Barra inferior */
.footer-redesign .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgb(80 140 240 / 15%), rgb(90 160 255 / 75%) 50%, rgb(80 140 240 / 15%)) 1;
}
.footer-redesign .footer-bottom p {
  max-width: 760px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8fa2c4;
}
.footer-redesign .footer-meta {
  display: flex;
  align-items: center;
  flex: none;
  gap: 22px;
  font-size: 15px;
  color: #ffffff;
}
.footer-redesign .footer-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-redesign .footer-country {
  padding-left: 22px;
  border-left: 1px solid rgb(140 175 230 / 30%);
}
.footer-redesign .footer-country svg {
  width: 27px;
  height: 18px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 20%);
}
.footer-redesign :is(a, button):focus-visible {
  outline: 2px solid #6aa8ff;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .footer-redesign .footer-cta:hover {
    background: rgb(40 100 230 / 40%);
    border-color: rgb(120 170 255 / 55%);
  }
}

/* Responsive */
@media (max-width: 1150px) {
  .footer-redesign .footer-main {
    grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(0, 1fr));
  }
  .footer-redesign .footer-art {
    display: none;
  }
  .footer-redesign .footer-col {
    padding-left: 26px;
  }
}
@media (max-width: 850px) {
  .footer-redesign.home-footer {
    padding: 48px 0 28px;
  }
  .footer-redesign > .wrap {
    width: calc(100% - 40px);
  }
}
@media (max-width: 1024px) {
  .footer-redesign .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 34px;
  }
  .footer-redesign .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-redesign .footer-col {
    min-height: 0;
    padding-left: 0;
    border-left: 0;
  }
  .footer-redesign .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 650px) {
  .footer-redesign .footer-logo {
    font-size: 26px;
  }
  .footer-redesign .footer-logo-icon {
    width: 40px;
    height: 40px;
  }
  .footer-redesign .footer-brand p {
    font-size: 15px;
  }
  .footer-redesign .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-redesign .footer-col:last-of-type {
    grid-column: 1 / -1;
  }
  .footer-redesign .footer-col h3 {
    font-size: 16px;
  }
  .footer-redesign .footer-col :is(a, button) {
    font-size: 15px;
  }
  .footer-redesign .footer-cities {
    margin-top: 34px;
  }
  .footer-redesign .footer-cities a,
  .footer-redesign .footer-cities span {
    font-size: 13px;
  }
  .footer-redesign .footer-bottom p {
    font-size: 12px;
  }
  .footer-redesign .footer-meta {
    font-size: 14px;
  }
}

/* Termopanel: perfil fotográfico con etiquetas. */
#guias .guide-dark {
  grid-template-columns: minmax(0, 1fr) 300px;
  background:
    radial-gradient(90% 60% at 40% 120%, rgb(20 90 200 / 55%), transparent 70%),
    linear-gradient(110deg, #021d4c 0%, #012f6c 42%, #01214f 72%, #012b62 100%);
}
#guias .thermo-art {
  align-self: end;
  width: 300px;
  height: 280px;
  min-height: 0;
  margin: 0 0 -30px;
  --s: 0.7;
}
#guias .thermo-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(248px * var(--s));
  height: calc(400px * var(--s));
  max-width: none;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 22%, #000 88%, transparent),
    linear-gradient(180deg, transparent 0, #000 10%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 22%, #000 88%, transparent),
    linear-gradient(180deg, transparent 0, #000 10%);
  mask-composite: intersect;
}
#guias .thermo-label {
  right: auto;
  transform: translateY(-50%);
  font-size: 14px;
}
#guias .thermo-label i::before {
  display: none;
}
#guias .thermo-in {
  left: calc(226px * var(--s));
  top: calc(145px * var(--s));
}
#guias .thermo-in i {
  width: 26px;
}
#guias .thermo-air {
  left: calc(226px * var(--s));
  top: calc(185px * var(--s));
}
#guias .thermo-air i {
  width: 26px;
}
#guias .thermo-out {
  left: calc(226px * var(--s));
  top: calc(233px * var(--s));
}
#guias .thermo-out i {
  width: 26px;
}
@media (max-width: 1150px) and (min-width: 1025px) {
  #guias .guide-dark {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  #guias .thermo-art {
    width: 260px;
    height: 240px;
    --s: 0.6;
  }
  #guias .thermo-label {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  #guias .thermo-art {
    width: 100%;
    height: 240px;
    margin: 8px 0 0;
    --s: 0.6;
  }
  #guias .thermo-label {
    font-size: 13px;
  }
}

/* Contenido enriquecido de las guías. */
.guide-dialog {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.guide-dialog:has(.gd-lead) {
  width: min(720px, calc(100% - 32px));
}
.guide-dialog .gd-lead {
  font-size: 15px;
  color: #3f4b63;
}
.guide-dialog .gd-spec {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 6px;
  margin: 20px 0 10px;
}
.guide-dialog .gd-spec > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, #e3efff, #c9defc);
  border: 1px solid #b7d0f7;
}
.guide-dialog .gd-spec .gd-spec-air {
  background: #fff6ea;
  border: 1px dashed #f5a54a;
}
.guide-dialog .gd-spec b {
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
  color: #0b1530;
}
.guide-dialog .gd-spec-air b {
  color: #d9670b;
}
.guide-dialog .gd-spec span {
  font-size: 11px;
  line-height: 1.3;
  color: #4c5a78;
}
.guide-dialog .gd-note {
  font-size: 13px;
  color: #6b7891;
}
.guide-dialog .gd-note strong {
  color: #0b1530;
}
.guide-dialog .gd-list,
.guide-dialog .gd-check {
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-dialog .gd-list li,
.guide-dialog .gd-check li {
  position: relative;
  padding: 4px 0 4px 26px;
}
.guide-dialog .gd-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f5cf0;
}
.guide-dialog .gd-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e5f6ec;
  color: #14894a;
  font-size: 11px;
  font-weight: 800;
}
.guide-dialog .gd-list strong,
.guide-dialog .gd-check strong {
  color: #0b1530;
}
.guide-dialog .gd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.guide-dialog .gd-grid > div {
  padding: 14px 16px;
  border: 1px solid #e3ecfa;
  border-radius: 14px;
  background: #f6f9ff;
}
.guide-dialog .gd-grid strong {
  display: block;
  font-size: 14px;
  color: #1450e6;
}
.guide-dialog .gd-grid span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: #56637d;
}
@media (max-width: 650px) {
  .guide-dialog .gd-lead {
    font-size: 13px;
  }
  .guide-dialog .gd-spec {
    grid-template-columns: 1fr 1.25fr 1fr;
  }
  .guide-dialog .gd-spec > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px;
  }
  .guide-dialog .gd-spec b {
    font-size: 22px;
  }
  .guide-dialog .gd-spec span {
    font-size: 10px;
  }
  .guide-dialog .gd-grid {
    grid-template-columns: 1fr;
  }
  .guide-dialog .gd-grid span,
  .guide-dialog .gd-note {
    font-size: 12px;
  }
}
.guide-dialog .guide-close {
  position: sticky;
  top: -24px;
  z-index: 2;
  float: right;
  margin: -24px -24px 0 0;
}
.guide-dialog .gd-list + .gd-note {
  margin-top: 14px;
}
@media (max-width: 650px) {
  .guide-dialog .guide-close {
    top: -16px;
    margin: -16px -8px 0 0;
  }
}

.guide-dialog .gd-figure {
  margin: 18px 0 8px;
}
.guide-dialog .gd-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: #e9eff9;
  box-shadow: 0 8px 22px rgb(16 40 90 / 14%);
}
.guide-dialog .gd-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7891;
}

/* Guía "Cómo medir tus vanos": pop-up ancho con pasos, fotos y medidas. */
.guide-dialog[data-guide="medidas"] {
  width: min(1180px, calc(100% - 32px));
  padding: 30px 36px 32px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}
.guide-dialog[data-guide="medidas"] > .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3eaf6;
  font-size: 15px;
  letter-spacing: 1.6px;
  color: #0b1530;
}
.guide-dialog[data-guide="medidas"] > .eyebrow::before {
  content: "";
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 11px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 15.5 12-12 5 5-12 12Z'/%3E%3Cpath d='m13 6 2 2M10.5 8.5l1.3 1.3M8 11l2 2M5.5 13.5l1.3 1.3'/%3E%3C/svg%3E")
      center / 24px no-repeat,
    linear-gradient(160deg, #3d7bff, #1446d6);
  box-shadow: 0 6px 14px rgb(31 92 240 / 30%);
}
.guide-dialog[data-guide="medidas"] > h2 {
  margin: 0 0 2px;
  font-size: 34px;
  letter-spacing: -1.6px;
}
.guide-dialog[data-guide="medidas"] > #guide-quote {
  display: none;
}
.gm-sub {
  margin: 0 0 16px;
  font-size: 16px;
  color: #4c5a78;
}
.gm-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.gm-steps {
  position: sticky;
  top: 0;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 18px;
  background: #eef3fc;
}
.guide-dialog .gm-steps button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 8px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  color: #1b2742;
  font:
    600 15px/1.2 "Inter",
    sans-serif;
  text-align: left;
  cursor: pointer;
  transform: none;
}
.guide-dialog .gm-steps button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #dde6f6;
  font-size: 13px;
  font-weight: 800;
}
.guide-dialog .gm-steps button.is-active {
  background: linear-gradient(120deg, #1d4fe0, #2f6bff);
  color: #fff;
  box-shadow: 0 8px 18px rgb(29 79 224 / 30%);
}
.guide-dialog .gm-steps button.is-active span {
  background: #fff;
  color: #1d4fe0;
}
.guide-dialog .gm-steps button:not(.is-active):hover {
  background: #e1e9f8;
}
.gm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gm-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #e3eaf6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(31 70 140 / 7%);
  scroll-margin-top: 12px;
}
.gm-card header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.gm-card header > b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(160deg, #3d7bff, #1446d6);
  color: #fff;
  font-size: 16px;
}
.guide-dialog .gm-card h3,
.guide-dialog .gm-info h3 {
  margin: 2px 0 4px;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: #0b1530;
}
.guide-dialog .gm-card header p,
.guide-dialog .gm-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #56637d;
}
.gm-fig {
  position: relative;
  margin: auto 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e9eef6;
}
.gm-fig img {
  display: block;
  width: 100%;
  height: auto;
}
.gm-fig svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gm-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 3px 9px;
  border: 1.5px solid #c7d6f6;
  border-radius: 999px;
  background: #fff;
  color: #0b1530;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgb(0 0 0 / 12%);
}
.gm-tag-v {
  padding: 4px 8px;
  border-color: #f6cfae;
  border-radius: 9px;
  text-align: center;
}
.gm-reg {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid #e3eaf6;
  border-radius: 14px;
  background: #f8faff;
}
.gm-reg-fila {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 2px;
}
.gm-reg-fila + .gm-reg-fila {
  border-top: 1px solid #e6ecf6;
}
.gm-reg-ico {
  width: 30px;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}
.gm-reg-fila > div {
  flex: 1;
  min-width: 0;
}
.gm-reg-fila strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}
.gm-nums {
  display: flex;
  gap: 6px;
}
.gm-nums span {
  flex: 1;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #d5deec;
  border-radius: 8px;
  background: #fff;
  color: #0b1530;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.gm-azul {
  color: #1d4fe0;
}
.gm-naranjo {
  color: #e2660a;
}
.guide-dialog .gm-reg-nota {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7891;
}
.gm-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  margin-top: 14px;
  border: 1px solid #e3eaf6;
  border-radius: 18px;
  background: #fff;
}
.gm-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  scroll-margin-top: 12px;
}
.gm-info + .gm-info {
  border-left: 1px solid #e3eaf6;
}
.gm-info-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: #eef3fc;
  color: #1b2742;
}
.gm-info-ico svg {
  width: 26px;
  height: 26px;
}
.gm-amarillo {
  background: #fff4dc;
  color: #d88a00;
}
.gm-importante {
  position: relative;
  padding-right: 290px;
}
.gm-polaroid {
  position: absolute;
  right: 18px;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  transform: translateY(-50%);
}
.gm-polaroid img {
  width: 116px;
  height: auto;
  padding: 5px 5px 14px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 6px 16px rgb(0 0 0 / 18%);
  transform: rotate(-3deg);
}
.gm-polaroid figcaption {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
  color: #0b1530;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  transform: rotate(-4deg);
}
.gm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 14px 14px 22px;
  border-radius: 16px;
  background: #eef3fc;
}
.guide-dialog .gm-bar p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  color: #3f4b63;
}
.gm-bar p svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: #1d4fe0;
}
.gm-bar strong {
  color: #0b1530;
}
.gm-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 14px 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2a62f2, #1340c8);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 25%),
    0 10px 22px rgb(19 64 200 / 32%);
  transition: transform 150ms ease;
}
.gm-cta svg {
  width: 22px;
  height: 22px;
}
.gm-cta span {
  font-size: 20px;
}
@media (hover: hover) and (pointer: fine) {
  .gm-cta:hover {
    transform: translateY(-2px);
  }
}
@media (max-width: 1100px) {
  .gm-layout {
    grid-template-columns: 1fr;
  }
  .gm-steps {
    display: none;
  }
}
@media (max-width: 900px) {
  .guide-dialog[data-guide="medidas"] {
    padding: 24px 20px;
  }
  .guide-dialog[data-guide="medidas"] > h2 {
    font-size: 30px;
  }
  .gm-cards {
    grid-template-columns: 1fr 1fr;
  }
  .gm-cards > :last-child {
    grid-column: 1 / -1;
  }
  .gm-row {
    grid-template-columns: 1fr;
  }
  .gm-info + .gm-info {
    border-left: 0;
    border-top: 1px solid #e3eaf6;
  }
}
@media (max-width: 650px) {
  .guide-dialog[data-guide="medidas"] > .eyebrow {
    font-size: 12px;
  }
  .guide-dialog[data-guide="medidas"] > .eyebrow::before {
    width: 36px;
    height: 36px;
  }
  .guide-dialog[data-guide="medidas"] > h2 {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .gm-sub {
    font-size: 14px;
  }
  .gm-cards {
    grid-template-columns: 1fr;
  }
  .gm-importante {
    padding-right: 20px;
    flex-wrap: wrap;
  }
  .gm-polaroid {
    position: static;
    transform: none;
    margin: 6px 0 0 62px;
  }
  .gm-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .gm-cta {
    justify-content: center;
    font-size: 16px;
  }
  .gm-nums span {
    min-width: 0;
    flex: 1;
  }
}
.gm-card,
.gm-info > div {
  min-width: 0;
}
.gm-importante > div {
  flex: 1 1 200px;
}

/* Guía "PVC o aluminio": dos tarjetas con corte de perfil. */
.guide-dialog[data-guide="materiales"] {
  width: min(1120px, calc(100% - 32px));
  padding: 30px 36px 32px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}
.guide-dialog[data-guide="materiales"] > .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 1.6px;
  color: #0b1530;
}
.guide-dialog[data-guide="materiales"] > .eyebrow::before {
  content: "";
  width: 32px;
  height: 32px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1530' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.guide-dialog[data-guide="materiales"] > h2 {
  margin: 0 0 2px;
  font-size: 36px;
  letter-spacing: -1.4px;
}
.guide-dialog[data-guide="materiales"] > #guide-quote {
  display: none;
}
.gx-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.gx-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  grid-template-areas: "text img" "list list" "ask ask";
  gap: 0 12px;
  padding: 22px 22px 18px;
  border: 1px solid #d9e4f7;
  border-radius: 20px;
  background: linear-gradient(160deg, #f4f8ff, #ffffff 60%);
  box-shadow: 0 10px 26px rgb(31 70 140 / 8%);
  overflow: hidden;
}
.gx-alu {
  background: linear-gradient(160deg, #f2f4f7, #ffffff 60%);
  border-color: #dfe3ea;
}
.gx-text {
  grid-area: text;
}
.gx-img {
  grid-area: img;
  align-self: start;
  justify-self: end;
  width: 150px;
  height: auto;
  margin: -8px -6px -40px 0;
  filter: drop-shadow(0 12px 14px rgb(15 35 80 / 22%));
}
.gx-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, #3d7bff, #1446d6);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  box-shadow: 0 8px 18px rgb(29 79 224 / 28%);
}
.gx-alu .gx-chip {
  background: linear-gradient(160deg, #5a6578, #3a4352);
  box-shadow: 0 8px 18px rgb(40 50 70 / 25%);
}
.gx-chip svg {
  width: 24px;
  height: 24px;
}
.guide-dialog .gx-text p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #2c3852;
}
.gx-text strong {
  color: #0b1530;
}
.guide-dialog .gx-list {
  grid-area: list;
  display: grid;
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.guide-dialog .gx-list li {
  position: relative;
  padding: 8px 12px 8px 42px;
  border-radius: 10px;
  background: rgb(232 240 252 / 60%);
  font-size: 15px;
  color: #1b2742;
}
.gx-alu .gx-list li {
  background: rgb(236 239 244 / 75%);
}
.guide-dialog .gx-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E")
      center / 13px no-repeat,
    #22a559;
}
.guide-dialog .gx-ask {
  grid-area: ask;
  margin: 12px 2px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7891;
}
.gx-choose {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid #e3eaf6;
  border-radius: 18px;
  background: #fff;
}
.gx-choose-ico {
  color: #1d4fe0;
}
.gx-choose-ico svg {
  width: 46px;
  height: 46px;
}
.guide-dialog .gx-choose h3 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: #0b1530;
}
.guide-dialog .gx-choose-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4c5a78;
}
.guide-dialog .gx-crit {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid #e3eaf6;
  list-style: none;
}
.guide-dialog .gx-crit li {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 112px;
  text-align: center;
}
.gx-crit svg {
  width: 30px;
  height: 30px;
  color: #1d4fe0;
}
.gx-crit strong {
  font-size: 14px;
  color: #1b2742;
}
.gx-crit span {
  font-size: 11.5px;
  line-height: 1.3;
  color: #6b7891;
}
.gx-foot {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.gx-foot .gm-cta {
  padding: 15px 40px;
}
@media (max-width: 900px) {
  .guide-dialog[data-guide="materiales"] {
    padding: 24px 20px;
  }
  .guide-dialog[data-guide="materiales"] > h2 {
    font-size: 28px;
  }
  .gx-cards {
    grid-template-columns: 1fr;
  }
  .gx-choose {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .guide-dialog .gx-crit {
    grid-column: 1 / -1;
    justify-content: space-around;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid #e3eaf6;
  }
}
@media (max-width: 650px) {
  .guide-dialog[data-guide="materiales"] > .eyebrow {
    font-size: 12px;
  }
  .guide-dialog[data-guide="materiales"] > h2 {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .gx-card {
    grid-template-columns: minmax(0, 1fr) 96px;
    padding: 18px 16px 16px;
  }
  .gx-img {
    width: 96px;
    margin-bottom: -20px;
  }
  .gx-chip {
    font-size: 18px;
    padding: 7px 14px 7px 11px;
  }
  .guide-dialog .gx-text p {
    font-size: 14px;
  }
  .guide-dialog .gx-list li {
    font-size: 14px;
  }
  .gx-choose {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .gx-choose-ico {
    display: none;
  }
  .guide-dialog .gx-crit li {
    width: auto;
    flex: 1;
  }
  .gx-foot .gm-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* Guía de precios: factores en tarjetas con ícono. */
.guide-dialog[data-guide="precios"] {
  width: min(1120px, calc(100% - 32px));
  padding: 30px 36px 32px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}
.guide-dialog[data-guide="precios"] > .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3eaf6;
  font-size: 15px;
  letter-spacing: 1.6px;
  color: #0b1530;
}
.guide-dialog[data-guide="precios"] > .eyebrow::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='1.5'/%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
      center / 22px no-repeat,
    linear-gradient(160deg, #3d7bff, #1446d6);
}
.guide-dialog[data-guide="precios"] > h2 {
  margin: 0 0 4px;
  font-size: 36px;
  letter-spacing: -1.4px;
}
.guide-dialog[data-guide="precios"] > #guide-quote {
  display: none;
}
.gp-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.gp-hero {
  width: 100%;
  height: auto;
  margin-left: -8px;
  filter: drop-shadow(0 16px 18px rgb(15 35 80 / 20%));
}
.gp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gp-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e3eaf6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(31 70 140 / 7%);
}
.gp-card > div:last-child {
  min-width: 0;
}
.gp-ico {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 16px;
  background: linear-gradient(160deg, #f1f6ff, #e6eefc);
}
.gp-ico svg {
  width: 56px;
  height: 56px;
}
.gp-ico-img {
  position: relative;
  overflow: hidden;
}
.gp-ico-img img {
  position: absolute;
  bottom: -4px;
  width: 50px;
  height: auto;
  filter: drop-shadow(0 4px 4px rgb(0 0 0 / 18%));
}
.gp-ico-img img:first-child {
  left: -2px;
}
.gp-ico-img img:last-child {
  right: -4px;
  bottom: -16px;
}
.guide-dialog .gp-card h3 {
  margin: 2px 0 6px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: #0b1530;
}
.guide-dialog .gp-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #56637d;
}
.gp-tip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0 192px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #eaf1ff;
}
.gp-tip-ico svg {
  width: 30px;
  height: 30px;
  color: #1d4fe0;
}
.gp-tip-chip {
  flex: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: #0f3aa8;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.guide-dialog .gp-tip p {
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid #c4d4f2;
  font-size: 15px;
  line-height: 1.5;
  color: #1b2742;
}
@media (max-width: 1000px) {
  .gp-layout {
    grid-template-columns: 1fr;
  }
  .gp-hero {
    display: none;
  }
  .gp-tip {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .guide-dialog[data-guide="precios"] {
    padding: 24px 20px;
  }
  .guide-dialog[data-guide="precios"] > h2 {
    font-size: 28px;
  }
  .gp-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .guide-dialog[data-guide="precios"] > .eyebrow {
    font-size: 12px;
  }
  .guide-dialog[data-guide="precios"] > h2 {
    font-size: 24px;
    letter-spacing: -0.8px;
  }
  .gp-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gp-card {
    padding: 14px;
  }
  .gp-ico {
    width: 60px;
    height: 60px;
  }
  .gp-ico svg {
    width: 44px;
    height: 44px;
  }
  .gp-tip {
    flex-wrap: wrap;
    padding: 14px;
  }
  .guide-dialog .gp-tip p {
    flex-basis: 100%;
    padding-left: 0;
    border-left: 0;
    font-size: 14px;
  }
}

/* Directorio: logo de la empresa y dominio del sitio web. */
#directorio .company-avatar.has-logo {
  display: grid;
  place-items: center;
  padding: 3px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e8f3;
  box-shadow: 0 3px 8px rgb(29 74 139 / 10%);
}
#directorio .company-avatar.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
#directorio .company-avatar.has-logo svg {
  display: none;
}
#directorio .company-links a.company-web {
  color: #0b1530;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
#directorio .company-links a.company-web:hover {
  color: #1d4fe0;
}
