/* === Base / Reset === */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: #0f172a;
  background: #ffffff;
  line-height: 1.5;
}

/* === CSS Variables === */
:root{
  --bg: #ffffff;
  --muted: #64748b;
/*  --primary: #0ea5e9;
  --primary-700: #0369a1;*/
  --primary: #B3408C;
  --primary-700: #743073;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --ring: rgba(14,165,233,.25);
  --shadow: 0 10px 30px rgba(2, 6, 23, .07);
  --radius: 16px;
/*  --max-w: 1160px;*/
  --max-w: 1460px;
  --accent: #000000;
    
	
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-slate-50: oklch(98.4% 0.003 247.858);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-neutral-50: oklch(98.5% 0 0);
    --color-neutral-800: oklch(26.9% 0 0);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-6xl: 72rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --font-weight-light: 300;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -0.025em;
    --leading-tight: 1.25;
    --leading-relaxed: 1.625;
    --radius-md: 0.375rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-border: hsl(var(--border));
}
/*body {
  font-family: var(--font-sans);
  color: #0f172a;
  background: #ffffff;
  line-height: 1.5;
}*/
img {
  max-width: 100%;
  display: block;
}

/* Containers */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; transition: .2s ease;
}
.btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border 0.15s ease,
    transform 0.1s ease;
}

/*.btn--primary:hover { background: var(--primary-700);color:#ffffff; }*/
.btn--outline { border-color: #fff; color: #fff; background: transparent; }
.btn--outline:hover { background: #fff; color: #0c4a6e; }
.btn--primary { background: var(--primary-700); color: #fff; }
.btn--primary:hover { background: var(--primary);color:#ffffff;transform:translateY(-1px); }

.btn--outline2 { border-color: var(--primary); color: #0f172a; background: transparent; }
.btn--outline2:hover { border-color: var(--primary-700);background: #fff; color: var(--primary-700);transform:translateY(-1px); }

.btn-primary {
  background-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: #111827;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: #cbd5f5;
  color: #0f172a;
}

.btn-outline:hover {
  border-color: #020617;
}



/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 134px; }
.section { padding: 80px 0; }
.section-border {	border-top: 1px solid #f1f5f9;	}
.section--entreprise { padding:0px;text-align:center;max-height: 600px;overflow: hidden; }
.section--light { background: var(--surface); }
.section--accent { background: linear-gradient(180deg, #f0f9ff, #fff); border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.section__header {	margin-bottom: 28px;	}
.section__title { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.section__subtitle { color: var(--muted); margin-top: 8px; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 2rem;
}
.section-link {
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}


.logo { font-weight: 800; letter-spacing: .5px; color: #0c4a6e; text-decoration: none; font-size: 20px; }
.logo span { color: var(--primary); }
.logo img { height: 60px;margin-top:10px; }

.nav { position: relative; }
.nav__menu { display: flex; gap: 20px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__menu a { text-decoration: none; color: #0f172a; font-weight: 500; }
.nav__menu a:hover { color: var(--primary-700); }

.nav__toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #0f172a; margin: 5px 0; transition: .2s; border-radius: 2px; }

/* Elevation on scroll */
[data-elevate].elevated { box-shadow: var(--shadow); }

/* === Submenú fijo === */
.subnav {
  position: sticky;
  top: 134px; /* justo debajo del header principal */
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: rgba(0,0,0,0.04) 0 4px 12px;
}

.subnav__inner {
  display: flex;
  gap: 24px;
  height: 68px;
  align-items: center;
  overflow-x: auto;
}

.subnav__inner a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  white-space: nowrap;
}

.subnav__inner a:hover {
  color: var(--primary);
}
.subnav__inner a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav__menu a.active {
	text-decoration:underline;
}

/* Ocultar todos los controles excepto volumen */
/*video::-webkit-media-controls-enclosure {
overflow: hidden;
}
video::-webkit-media-controls-panel {
width: auto !important;
}
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-volume-slider {
display: block !important;
}*/
/*video::-webkit-media-controls-play-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-rewind-button,
video::-webkit-media-controls-forward-button {
display: none !important;
}*/
/* Contenedor del control de volumen */
.volume-wrapper {
/*  margin: 10px auto;
  padding: 10px 0;*/
  margin: 0px;
  padding: 0px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

#volumeSlider {
/*  width: 160px;*/
  width: 260px;
}

#muteBtn {
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Cards Grid */
.grid { display: grid; gap: 20px; }
.grid2 { display: grid; gap: 1rem; }
.grid--cards { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid #e2e8f0;text-decoration: none;	}
.card__img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card__body { padding: 16px; }
.card__title { margin: 0; font-size: 18px; }
.card__text { color: var(--muted); margin: 8px 0 12px; }
.card__link { font-weight: 600; color: var(--primary-700); text-decoration: none; }
.card-hover {	/*color: #94a3b8;*/color:#0f172a;transition: box-shadow 0.15s ease, transform 0.1s ease;	}
.card-hover:hover {	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);transform: translateY(-1px);	}
.card-arrow {	font-size: 1.25rem;color: #94a3b8;	}
.card-hover:hover .card-arrow {	color: #020617;	}
.card-image-only {	padding: 0;	}

/* Feature split */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.feature__p { color: var(--muted); }
.feature__list { margin: 14px 0 0; color: #0f172a; padding-left: 16px; }
.feature__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* Carousel */
/*.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow: hidden; scroll-behavior: smooth; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid #e2e8f0; background: #fff; box-shadow: var(--shadow); }
.project img { width: 100%; height: 360px; object-fit: cover; display: block; }*/
.carousel { position: relative;overflow:hidden; }
.carousel__track { display: flex; transition: transform .45s ease; will-change: transform; }
.project { flex: 0 0 100%;border-radius: var(--radius); overflow: hidden; border: 1px solid #e2e8f0; background: #fff; /*box-shadow: var(--shadow);*/ }
.project img { width: 100%; height: 360px; object-fit: cover; display: block; }
.project__caption { padding: 16px; }
.carousel__btn { position: absolute; z-index:10; top: 50%; transform: translateY(-50%); border: 0; background: rgba(15,23,42,.6); color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.carousel__btn:hover { background: rgba(15,23,42,.8); }
.carousel__btn.prev { left: 10px; }
.carousel__btn.next { right: 10px; }

/* News */
.grid--news { grid-template-columns: repeat(3, minmax(0,1fr)); }
.news { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.news__date { font-size: 12px; color: var(--muted); }
.news__title { margin: 4px 0 8px; font-size: 18px; }
.news__excerpt { color: var(--muted); }
.news__link { text-decoration: none; font-weight: 600; color: var(--primary-700); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact__form { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.form__row { display: grid; gap: 8px; margin-bottom: 12px; }
.form__row--full { grid-column: 1 / -1; }
.form__row2 { display: grid;grid-template-columns: auto 250px;  }
input, textarea { padding: 12px 14px; border-radius: 12px; border: 1px solid #cbd5e1; outline: none; font: inherit; }
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.form__actions { margin-top: 8px; display: flex; justify-content: flex-end; }
.form__note { margin-top: 8px; color: var(--muted); }
.option-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .option-buttons input[type="radio"] {
    display: none;
  }

  .option-buttons label {
    padding: 8px 16px;
    border: 1px solid var(--primary-700);
    border-radius: 6px;
    cursor: pointer;
    background: white;
    color: var(--primary-700);
    transition: 0.2s;
  }

  .option-buttons input[type="radio"]:checked + label {
    background: var(--primary);
    color: white;
  }

  #companyRow {
    /*display: none;*/
	max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.35s ease;
  }
#companyRow.visible {
    max-height: 200px; /* suficiente para el campo */
    opacity: 1;
    margin-top: 15px;
  }
/* Footer */
.footer { background: var(--surface-2); border-top: 1px solid #e2e8f0; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 20px; padding: 40px 0; }
.footer__p { color: var(--muted); }
.footer__nav h4, .footer__contact h4 { margin: 0 0 8px; }
.footer__nav ul { list-style: none; padding: 0; margin: 0; }
.footer__nav a { color: #0f172a; text-decoration: none; }
.footer__nav a:hover { color: var(--primary-700); }
.footer__bottom { text-align: center; font-size: 14px; color: var(--muted); padding: 14px; border-top: 1px solid #e2e8f0; }

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-4 {
/*  grid-template-columns: repeat(1, minmax(0, 1fr));*/
/*  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
grid-template-columns: repeat(4, minmax(100px, 1fr));
}

/* ARCHIVES con acordeón */

/*.archive-month {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  cursor: pointer;
}*/

.archive-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.archive-month-name {
  font-weight: 600;
}

.archive-arrow {
  font-size: 0.9rem;
  color: #334155;
  transition: transform 0.2s ease;
}

/* Listado oculto por defecto */
.archive-month .archive-list {
  display: none;
  padding-top: 0.75rem;
  padding-left: 0.5rem;
  color: var(--text-muted);
}

.archive-item {
  padding: 0.4rem 0;
}

/* Si el mes está abierto, mostrar la lista */
.archive-month.open .archive-list {
  display: block;
}

.archive-month.open .archive-arrow {
  transform: rotate(180deg);
}
.archive-item-mini {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #64748b;
    margin-top: 5px;
}
.archive-item > a {
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.archive-item > a:hover {
    color: #823b90;
}
/*aaa*/

/* CONTENEDOR */
#archives-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* BLOQUE MES */
.archive-month {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

/* MES ABIERTO */
.archive-month.open {
    border-color: #c7b0da;
    box-shadow: 0 3px 14px rgba(70, 40, 100, .07);
}

/* CABECERA */
.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 20px;
    cursor: pointer;
    background: #f8f9fb;
    transition: background .25s ease;
}

.archive-header:hover {
    background: #f1edf7;
}

.archive-month.open .archive-header {
    background: #f1eaf7;
}

/* NOMBRE DEL MES */
.archive-month-name {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.archive-month.open .archive-month-name {
    color: #703d93;
}

/* INDICADOR VERTICAL DEL MES ACTIVO */
.archive-month.open .archive-header {
    box-shadow: inset 4px 0 0 #7946a2;
}

/* FLECHA MODERNA */
.archive-arrow {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: #64748b;
}

/* Sustituye los caracteres ▼ ▶ por un chevron CSS */
.archive-arrow::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.archive-month.open .archive-arrow {
    color: #7946a2;
}

.archive-month.open .archive-arrow::after {
    transform: rotate(225deg);
}

/* LISTA DE NOTICIAS */
.archive-list {
    background: #ffffff;
}

/* CADA NOTICIA */
.archive-item {
    padding: 17px 20px;
    border-bottom: 1px solid #edf0f3;
    transition: background .2s ease;
}

.archive-item:last-child {
    border-bottom: none;
}

.archive-item:hover {
    background: #faf8fd;
}

/* ENLACE DE NOTICIA */
.archive-item > a {
    display: inline-block;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.archive-item > a:hover {
    color: #7946a2;
}

/* TEXTO DESCRIPTIVO */
.archive-item-mini {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: #718096;
}

/* MÓVIL */
@media (max-width: 768px) {
    .archive-header {
        padding: 14px 15px;
    }

    .archive-item {
        padding: 14px 15px;
    }
}

/* Hero */

.hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }
}
.hero-kicker {
/*  font-size: 0.75rem;*/
  font-size: 0.85rem;
  text-transform: uppercase;
  /*letter-spacing: 0.16em;*/
  letter-spacing: 0.5em;
  color: var(--text-muted);
  margin: 0;
}

.hero-title {
  margin-top: 0.5rem;
  font-size: clamp(2.5rem, 3.5vw + 1rem, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
}

.hero-title-strong {
  font-weight: 600;
}

.hero-subtitle {
  margin-top: 1rem;
/*  font-size: 1.05rem;*/
  font-size: 1.35rem;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image-wrapper {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-wrapper {
  background-color: #e5e7eb;
  overflow: hidden;
  border-radius: 0.9rem 0.9rem 0 0;
}

.card-image-wrapper img {
  width: 100%;
/*  height: 100%;*/
  height: 200px;
  object-fit: cover;
}
.card-body {
/*  padding-top: 0.9rem;*/
  padding: 0.9rem;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-weight: 600;
  margin: 0;
  color:#0f172a;
}
.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.card-arrow {
  font-size: 1.25rem;
  color: #94a3b8;
}

.card-hover:hover .card-arrow {
  color: #020617;
}

.card-image-only {
  padding: 0;
}
/*	ESTILO POPUP	*/
.float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #1c4cf3;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px; height: 60px;
  cursor: pointer;
  font-size: 28px;
  display: flex; justify-content: center; align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: 0.25s;
  z-index: 9999;
}
.float-btn:hover {	transform: scale(1.07);	}

/* Overlay */
.overlay {	position: fixed; top: 0; left: 0;width: 100%; height: 100%;background: rgba(0,0,0,0.55);backdrop-filter: blur(6px);display: none; justify-content: center; align-items: center;z-index: 99999;	}

/* Modal */
.modal {
  width: 760px;
  max-width: 95%;
  max-height: 95vh;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.modal-header {	display: flex;justify-content: space-between;margin-bottom: 10px;	}
.modal-header h2 {	font-size: 20px;margin: 0;color: #1c1c1c;	}

/* Close */
.close {	cursor: pointer;font-size: 30px;color: #333;	}

/* PDF frame */
.pdf-frame {	width: 100%;height: 70vh;border: none;border-radius: 10px;	}
/* Mobile fallback */
.mobile-warning {
  display: none;
  text-align: center;
  background: #fff3cd;
  color: #856404;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* Buttons */
.btn-area {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
}
.share-btn {
  background: #1c4cf3;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  transition: 0.2s;
}
.share-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .modal {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 15px;
  }
  .pdf-frame {
    height: calc(100vh - 180px);
  }
}
/*	FIN ESTILO POPUP	*/


/* === Responsive === */
@media (max-width: 1024px) {
.section { padding: 60px 0; }
  .grid--cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--news { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature { grid-template-columns: 1fr; }
  .project img { height: 300px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
.section { padding: 40px 0; }
.hero-subtitle {
  font-size: 1.05rem;
}

  .nav__toggle { display: inline-block; }
  .nav__menu { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; box-shadow: var(--shadow); display: none; flex-direction: column; gap: 8px; }
  .nav__menu.is-open { display: flex; }
  .grid--cards { grid-template-columns: 1fr; }
  .grid--news { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .subnav__inner {
    gap: 16px;
    height: 44px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.header__inner { height: 74px; }
.subnav { top: 74px; }
.logo img { height: 40px;margin-top:5px; }

.form__row2 { display: grid;grid-template-columns: auto;  }

}
@media (max-width:520px){
.section--entreprise { min-height: 200px; }
/*.section--entreprise img { width:auto;height:250px }*/
.section--entreprise img { transform: scale(1.4);margin-top: 30px; }

}


/* BOTÓN FLOTANTE */
/*.user-menu {
    position: fixed;
    right: 18px;
    bottom: 90px;
    width: 230px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    display: none;
    z-index: 9999;
    animation: fadeMenu .25s ease;
    font-family: "Poppins", sans-serif;
}
@keyframes fadeMenu {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}*/

.user-icon {
    color: white;
}

/* INICIALES (cuando está logueado) */
.user-initials {
    font-size: 18px;
    font-weight: 600;
    color: white;
    display: none;
}
/* EFECTO PULSE */
.user-float-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    background: #A78BFA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: pulse 1.8s infinite ease-in-out;
}
.user-float-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

@keyframes pulse {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(167,139,250,0.4); }
    50%  { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(167,139,250,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(167,139,250,0.4); }
}
/* aaaaaaaaaaaaaaaa*/
/* --- OVERLAY --- */
.uh-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
}

/* --- POPUP BOX --- */
.uh-modal-content {
    background: #fff;
    width: 350px;
    padding: 35px 30px 40px;
    border-radius: 16px;
    margin: 120px auto;
    position: relative;
    animation: uhFade 0.25s ease;
    font-family: "Poppins", sans-serif;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

@keyframes uhFade {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- ICONO FLOTANTE --- */
.uh-user-icon {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -70px auto 15px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

/* --- BOTÓN CERRAR --- */
.uh-close {
    position: absolute;
    right: 14px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #777;
    transition: 0.2s;
}
.uh-close:hover {
    color: #000;
}

/* --- FORMULARIO --- */
.uh-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.uh-login-form input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
}

/* --- BOTÓN LOGIN --- */
.uh-btn-login {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #111;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s;
}

.uh-btn-login:hover {
    background: #000;
}
/* Estado del registro */
.reg-status {
    margin-top: 12px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    text-align: center;
    min-height: 20px; /* evita el salto de contenido */
}

/* Mensaje OK */
.reg-status.ok {
    color: #2ecc71;
}

/* Mensaje Error */
.reg-status.error {
    color: #e74c3c;
}

/* Loader animado */
.reg-status.loading::after {
    content: "Comprobando…";
    color: #555;
    animation: blink 1.3s infinite;
}

@keyframes blink {
    0%   { opacity: 0.2; }
    50%  { opacity: 1; }
    100% { opacity: 0.2; }
}

/* aaaaaaaaaaaaaaaa*/

/* ESTILO GENERAL DEL MENÚ */
/*.user-menu {
    position: fixed;
    right: 18px;
    bottom: 90px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 200px;
    padding: 10px 0;
    display: none;
    z-index: 9999;
    animation: slideUpMenu .25s ease;
    font-family: "Poppins", sans-serif;
}*/

@keyframes slideUpMenu {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* MENÚ FLOTANTE */
.user-menu {
    position: fixed;
    right: 18px;
    bottom: 90px;
    width: 230px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    display: none;
    z-index: 9999;
    animation: fadeMenu .25s ease;
    font-family: "Poppins", sans-serif;
}

@keyframes fadeMenu {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/*.user-menu li {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: .15s;
}

.user-menu li:hover {
    background: #f3f3f3;
}

.user-menu a {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    width: 100%;
}
*/
.user-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-menu li {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: .15s;
}

.user-menu li:hover {
    background: #f3f3f3;
}

.user-menu a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.icon {
    /*margin-right: 12px;*/
    font-size: 18px;
}
/* HEADER DEL MENÚ */
.user-menu-header {
    background: #F9F9F9;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 16px;
    color: #222;
    border-bottom: 1px solid #eee;
}
/* SEPARADOR */
.separator {
padding:0px;
    height: 1px;
/*    background: #eee;*/
    margin: 4px 0;
    pointer-events: none;
}
.separator span {
    display: block;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}
/* ESTILOS DOCS */
.docs-section{
  padding:48px 20px 64px;
}

.docs-container{
  max-width:1440px;
  margin:0 auto;
}

.docs-header{
  margin-bottom:28px;
}

.docs-kicker{
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.24em;
  font-size:.78rem;
  color:var(--primary);
  font-weight:700;
}

.docs-header h1{
  margin:0;
  font-size:clamp(2.2rem,4vw,3.2rem);
  line-height:1.02;
  font-weight:300;
}

.docs-subtitle{
  margin:14px 0 0;
  max-width:760px;
  font-size:1.05rem;
  color:var(--muted);
}

/* TABS SUPERIORES */
.docs-types{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:rgba(255,255,255,.74);
  backdrop-filter:blur(8px);
  border:1px solid var(--border);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.doc-type{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:92px;
  padding:18px 14px;
  border:none;
  background:transparent;
  cursor:pointer;
  color:var(--text);
  font-weight:600;
  font-size:1.08rem;
  transition:color .2s ease;
}

.doc-type:hover{
  color:var(--primary-700);
}

.doc-type.active{
  color:var(--primary);
}

.doc-type-icon{
  font-size:1.9rem;
  line-height:1;
}

.type-indicator{
  position:absolute;
  left:0;
  bottom:0;
  width:33.3333%;
  height:4px;
  background:linear-gradient(90deg,var(--primary),#8e2cc2);
  border-radius:999px;
  transition:transform .28s ease;
}

/* GRID PRODUCTOS */
.docs-products{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--border);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
}

.doc-product{
  border:none;
  background:transparent;
  cursor:pointer;
  text-align:center;
  padding:4px 4px 10px;
  border-radius:18px;
  transition:transform .18s ease, background .18s ease;
}

.doc-product:hover{
  transform:translateY(-2px);
  background:#fcf9fc;
}

.doc-product.active{
  background:#fbf4f9;
}

.product-circle{
  width:152px;
  height:152px;
  border-radius:50%;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:3rem;
  box-shadow:inset 0 -18px 28px rgba(0,0,0,.06);
  border:3px solid transparent;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.doc-product.active .product-circle{
  border-color:var(--primary);
  box-shadow:0 10px 24px rgba(179,64,140,.16), inset 0 -18px 28px rgba(0,0,0,.04);
  transform:scale(1.03);
}

.product-label{
  display:block;
  font-size:.98rem;
  line-height:1.18;
  color:var(--text);
}

.bg-volet{ background:#F2C9CF; }
.bg-moustiquaires{ background:#C8D8E7; }
.bg-bso{ background:#E7E1A6; }
.bg-alu{ background:#CBD9E8; }
.bg-portes{ background:#D9D6DA; }
.bg-stores{ background:#CFE8DB; }
.bg-pergolas{ background:#DECFB0; }
.bg-garage{ background:#EDDCCB; }

/* LISTA */
.docs-list-card{
  margin-top:26px;
  background:rgba(255,255,255,.84);
  border:1px solid var(--border);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
}

.docs-list-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding-bottom:18px;
  border-bottom:1px dashed var(--primary-border);
}

.list-prefix{
  margin:0 0 6px;
  color:var(--primary);
  font-weight:600;
}

.docs-list-head h2{
  margin:0;
  font-size:1.7rem;
  font-weight:600;
  color:var(--primary);
}

.docs-tools input{
  width:280px;
  max-width:100%;
  padding:12px 16px;
  border:1px solid var(--border);
  border-radius:999px;
  outline:none;
  background:#fff;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.docs-tools input:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(179,64,140,.12);
}

.docs-list{
  display:flex;
  flex-direction:column;
  margin-top:8px;
}

.doc-item{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:18px 10px;
  border-bottom:1px solid #edf0f4;
}

.doc-item:last-child{
  border-bottom:none;
}

.doc-file{
  width:48px;
  height:54px;
  border-radius:12px;
  background:linear-gradient(180deg,#fff 0%,#f1f3f6 100%);
  border:1px solid #dfe4ea;
  position:relative;
  flex-shrink:0;
  box-shadow:0 6px 16px rgba(0,0,0,.04);
}

.doc-file::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:16px;
  height:16px;
  background:#eef1f5;
  clip-path:polygon(0 0,100% 0,100% 100%);
  border-top-right-radius:12px;
}

.doc-file::after{
  content:"PDF";
  position:absolute;
  left:50%;
  bottom:6px;
  transform:translateX(-50%);
  font-size:.63rem;
  font-weight:800;
  color:#fff;
  background:#ef4444;
  padding:2px 5px;
  border-radius:6px;
}

.doc-main{
  min-width:0;
}

.doc-name{
  margin:0 0 6px;
  font-size:1.08rem;
  font-weight:600;
  color:var(--text);
}

.doc-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  font-size:.93rem;
  color:var(--muted);
}

.doc-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.doc-action{
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.doc-action:hover{
  transform:translateY(-2px);
}

.doc-action.view{
  background:#f3e9f0;
  color:var(--primary);
  box-shadow:0 6px 16px rgba(179,64,140,.12);
}

.doc-action.download{
  background:linear-gradient(135deg,var(--primary),#9333ea);
  color:#fff;
  box-shadow:0 8px 20px rgba(147,51,234,.24);
}

.docs-empty{
  padding:26px 0 10px;
  color:var(--muted);
}

/* AYUDA */
.docs-help{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 20px;
  background:#f6f0f8;
  border:1px solid #eadbed;
  border-radius:18px;
}

.help-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  font-size:1.3rem;
  flex-shrink:0;
}

.docs-help p{
  margin:0;
  color:#4b5565;
}

.docs-help a{
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
}

/* MODAL PDF */
.pdf-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:1000;
}

.pdf-modal.is-open{
  display:block;
}

.pdf-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,22,31,.55);
  backdrop-filter:blur(4px);
}

.pdf-modal__dialog{
  position:relative;
  z-index:2;
  width:min(1100px,calc(100vw - 32px));
  height:min(88vh,860px);
  margin:4vh auto;
  background:#fff;
  border-radius:22px;
  box-shadow:0 24px 70px rgba(0,0,0,.25);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.pdf-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid #edf0f4;
}

.pdf-modal__header h3{
  margin:0;
  font-size:1.1rem;
}

.pdf-modal__close{
  border:none;
  background:transparent;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
  color:#667085;
}

.pdf-modal__body{
  flex:1;
  background:#f5f6f9;
}

.pdf-modal iframe{
  width:100%;
  height:100%;
  border:none;
}

/* FINESTILOS DOCS */

/* ▼▼▼ COMPORTAMIENTO POR TAMAÑO ▼▼▼ */

/* 📱 MÓVIL: iconos visibles, texto también visible */
@media (max-width: 768px) {
    .icon { display: inline-block;margin-right: 12px; }
    .label { display: inline-block; }
    /*.label { display: none; }*/
    .user-float-btn {	right: 22px;bottom: 22px;	}
    .user-menu {	bottom: 90px;	}
}

/* 🖥️ ESCRITORIO: ocultar iconos, mostrar solo texto */
@media (min-width: 769px) {
    /*.icon { display: none; }*/
    .icon { display: inline-block;margin-right: 12px; }
    .label { display: inline-block; }
    .user-float-btn {	right: 22px;top: 139px;	}
    .user-menu {	top:200px;bottom:auto;	}
}
@media (max-width: 700px) {
    .user-float-btn {	display: none;	}
	.user-float-btn:not(.logged-in) {	display: flex;	}
}



/* RESPONSIVE DOCS */
@media (max-width:1250px){
  .docs-products{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width:1000px){
  .docs-products{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }
  .product-circle{
    width:112px;
    height:112px;
    font-size:2.4rem;
  }
}
@media (max-width:820px){
  .docs-types{
    grid-template-columns:1fr;
  }

  .type-indicator{
    display:none;
  }

  .doc-type{
    min-height:74px;
    justify-content:flex-start;
    padding-inline:20px;
    border-bottom:1px solid #f0f2f6;
  }

  .doc-type:last-of-type{
    border-bottom:none;
  }

  .docs-products{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }

  .product-circle{
    width:92px;
    height:92px;
    font-size:2.4rem;
  }

  .docs-list-card{
    padding:20px 16px;
  }

  .docs-list-head{
    flex-direction:column;
    align-items:stretch;
  }

  .docs-tools input{
    width:100%;
  }

  .doc-item{
    grid-template-columns:auto 1fr;
  }

  .doc-actions{
    grid-column:1 / -1;
    justify-content:flex-end;
    padding-top:6px;
  }
}

@media (max-width:520px){
  .docs-section{
    padding:28px 12px 44px;
  }

  .docs-products{
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding:14px;
  }

  .product-label{
    font-size:.88rem;
  }

  .docs-list-head h2{
    font-size:1.35rem;
  }
}

@media (max-width:450px){
  .product-label{
    font-size:.68rem;
  }
}
.doc-subcategory {
  margin-top: 22px;
  padding: 0 0 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px dashed var(--primary-border);
}

.doc-subcategory:first-child {
  margin-top: 0;
}

/*	IDIOMA	*/
.nav__lang {
  position: relative;
}

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.nav__lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 120px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  z-index: 100;
}

.nav__lang-menu a {
  display: flex;
  gap: 8px;
  padding: 9px 10px;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.nav__lang-menu a:hover {
  background: #f6f6f6;
}

.nav__lang.is-open .nav__lang-menu {
  display: block;
}

/* móvil: el selector queda como un bloque dentro del menú */
@media (max-width: 720px) {
  .nav__lang {
    width: 100%;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid #eee;
  }

  .nav__lang-btn {
    width: 100%;
    justify-content: space-between;
  }

  .nav__lang-menu {
    position: static;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 8px;
    width: 100%;
  }
}

.flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,.08);
}
/*	blog	*/
.news-list {
/*  width: min(100% - 40px, 1100px);*/
  width: min(100% - 40px, var(--max-w));
  margin-inline: auto;
}

.news-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 32px;
  align-items: center;

  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  text-decoration: none;
  color: #0f172a;

  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  border-color: #d1d5db;
}

.news-image {
  overflow: hidden;
  border-radius: 14px;
  /*aspect-ratio: 4 / 3;*/
  background: #f1f5f9;
}

.news-image img {
  width: 100%;
/*  height: 100%;*/
  object-fit: cover;
  transition: transform .6s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.06);
}

.news-content h2 {
  margin: 0;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.15;
  font-weight: 300;
  color: #111827;
}
.news-content h3 {
  margin: 0;
  font-size: clamp(24px, 2vw, 26px);
  line-height: 1.15;
  font-weight: 410;
  color: #111827;
}

.news-content p {
  margin: 16px 0 0;
  color: #64748b;
  line-height: 1.75;
  font-size: 16px;
}

.news-arrow {
  font-size: 34px;
  color: #94a3b8;
  transition: transform .35s ease, color .35s ease;
}

.news-item:hover .news-arrow {
  transform: translateX(8px);
  color: #111827;
}

@media (max-width: 820px) {
  .news-list {
    width: min(100% - 28px, 1100px);
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .news-arrow {
    display: none;
  }

  .news-content h2 {
    font-size: 24px;
  }
}

.article-page {
  background: #ffffff;
  color: #0f172a;
}

.article-hero {
/*  width: min(100% - 40px, 1180px);*/
  width: min(100% - 40px, var(--max-w));
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.article-layout {
/*  width: min(100% - 40px, 980px);*/
  width: min(100% - 40px, var(--max-w));
  margin: 54px auto 90px;
}

.article-content {
  font-size: 17px;
  line-height: 1.85;
  color: #334155;
}

.article-content h1 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.03em;
/*  color: #0f172a;*/
  color: var(--primary-700);
  text-transform: uppercase;
}

.article-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 500;
/*  color: #dc2626;*/
/*  color: var(--primary-700);*/
  color: #0f172a;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content strong {
  color: #0f172a;
  font-weight: 600;
}

.article-content ul {
  margin: 16px 0 28px;
  padding-left: 22px;
}

.article-content li {
  margin: 6px 0;
}

.article-content a {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Bloques destacados opcionales */
.article-content .highlight {
  margin: 36px 0;
  padding: 28px;
  border-left: 4px solid #0f172a;
  background: #f8fafc;
  border-radius: 0 16px 16px 0;
}

.article-content .highlight p {
  margin: 0;
  color: #334155;
}

/* Imagen dentro del texto */
.article-content figure {
  margin: 44px 0;
}

.article-content figure img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.article-content figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #64748b;
  text-align: center;
}
.article-focus{
    margin:50px 0;
    padding:35px 40px;
/*    border-left:6px solid #c62828;*/
    border-left:6px solid var(--primary-700);
/*    background:#fff5f5;*/
/*    background:#F8EEF8;*/
    background:#FBF5FB;
    border-radius:0 18px 18px 0;
}

.table-premium{	width:100%;margin:50px 0;border-collapse:collapse;font-size:17px;color:#334155;overflow:hidden;border-radius:18px;background:white;box-shadow:0 10px 35px rgba(0,0,0,.05);	}
.table-premium thead{	background:#f5f5f5;	}
.table-premium th{	padding:22px 28px;text-align:left;font-size:19px;font-weight:600;color:#0f172a;	}
.table-premium td{	padding:22px 28px;border-top:1px solid #ececec;	}
.table-premium tbody tr{	transition:.25s;	}
.table-premium tbody tr:hover{	background:#fafafa;	}
.table-premium td:first-child{	font-weight:600;color:#0f172a;	}

/*.article-list{	list-style:none;padding:0;display:grid;gap:12px;	}
.article-list li{	background:#fafafa;border:1px solid #ececec;border-radius:12px;padding:14px 18px;transition:.25s;	}
.article-list li:hover{	background:white;border-color:#d5d5d5;transform:translateX(6px);	}
*/
.article-list{	margin:30px 0;padding:0;list-style:none;	}
.article-list li{	position:relative;padding-left:42px;margin:18px 0;line-height:1.7;color:#334155;	}
.article-list li::before{	content:"✓";position:absolute;left:0;top:2px;width:24px;height:24px;border-radius:50%;background:#f1f5f9;color:#0f172a;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:bold;	}
/* Responsive */
@media (max-width: 768px) {
  .article-hero {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .article-layout {
    width: min(100% - 28px, 980px);
    margin: 36px auto 64px;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.75;
  }

  .article-content h1 {
    font-size: 30px;
  }

  .article-content h2 {
    margin-top: 34px;
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .article-layout {
    width: min(100% - 22px, 980px);
  }

  .article-content {
    font-size: 15.5px;
  }

  .article-content h1 {
    font-size: 27px;
  }
}
@media(max-width:900px){
	.table-premium{	font-size:15px;	}
	.table-premium th, .table-premium td{	padding:16px;	}
}

@media (max-width: 820px) {
  /*.table-premium {
    display: block;
    overflow-x: auto;
    border-radius: 14px;
    font-size: 14px;
  }

  .table-premium th,
  .table-premium td {
    padding: 14px 16px;
    min-width: 180px;
  }*/

  .table-comparison th:first-child,
  .table-comparison td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
  }

  .table-comparison thead th:first-child {
    background: #e5e5e2;
    z-index: 3;
  }
}
/*	fi blog	*/


/* =========================================================
   HERO - INFOS & ACTUALITÉS
========================================================= */

.section--infos {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 330px;
    display: flex;
    align-items: center;
}

/* Imagen de fondo */
.section--infos .infos-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
}

/* Contenido */
.section--infos .infos-content {
    position: relative;
    z-index: 1;

    width: 100%;
    padding: 40px 6%;
}

/* TÍTULO */
.section--infos h1 {
    margin: 0;

    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.05;

    font-weight: 600;
    letter-spacing: -2px;

    color: #07133f;
}

/* & en lila */
.section--infos h1 span {
    color: #a83db5;
    font-weight: 500;
}

/* SUBTÍTULO */
.section--infos h2 {
    margin: 14px 0 0;

    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.3;

    font-weight: 400;
    color: #7d879d;
}

/* Pequeña línea decorativa */
.infos-line {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 28px;
}

.infos-line span {
    display: block;
    width: 105px;
    height: 5px;

    border-radius: 10px;
    background: #a83db5;
}

.infos-line i {
    display: block;

    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #a83db5;
}

@media (max-width: 700px) {

    .section--infos {
        min-height: 280px;
        align-items: flex-start;
    }

    .section--infos .infos-bg {
        object-position: 65% center;
    }

    .section--infos .infos-content {
        padding: 35px 24px;
    }

    .section--infos h1 {
        font-size: 38px;
        letter-spacing: -1px;
        max-width: 330px;
    }

    .section--infos h2 {
        font-size: 17px;
        max-width: 300px;
        margin-top: 10px;
    }

    .infos-line {
        margin-top: 22px;
    }

    .infos-line span {
        width: 75px;
        height: 4px;
    }

    .infos-line i {
        width: 7px;
        height: 7px;
    }
}

@media (min-width: 701px) {

    .section--infos {
        justify-content: flex-start;
        text-align: left;
    }

    .section--infos .infos-content {
/*        width: 100%;*/
        padding-left: 14%;
        padding-right: 6%;
        text-align: left;
    }

    .section--infos h1,
    .section--infos h2 {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .section--infos .infos-line {
        justify-content: flex-start;
    }
}
@media (max-width: 1440px) {
    .section--infos .infos-content {
/*        width: 100%;*/
        padding-left: 4%;
        padding-right: 6%;
        text-align: left;
    }
}

@media (min-width: 701px) {

    /* Versión texto a la derecha */
    .section--infos.section--infos-right {
        justify-content: flex-end;
    }

    .section--infos.section--infos-right .infos-content {
        width: 50%;
        padding-left: 4%;
        padding-right: 6%;
        text-align: left;
    }

    .section--infos.section--infos-right h1,
    .section--infos.section--infos-right h2 {
        text-align: left;
    }

    .section--infos.section--infos-right .infos-line {
        justify-content: flex-start;
    }
}
.btn-sav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 6px 9px;

    border: 1px solid #e2d5f2;
    border-radius: 7px;

    background: #f8f3ff;
    color: #8135a5;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-sav:hover {
    background: #8135a5;
    color: white;
    border-color: #8135a5;
}

.btn-sav span:first-child {
    font-size: 14px;
}


/* ======================================
   COMUNICACIONES - CAMPANA
====================================== */

.header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comu {
    position: relative;
    flex-shrink: 0;
}

.comu__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #823b90;
    cursor: pointer;
    transition: background .2s;
}

.comu__btn:hover,
.comu__btn[aria-expanded="true"] {
    background: #f6edf8;
}

.comu__count {
    position: absolute;
    top: 0;
    right: -3px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 12px;
    background: #b43f89;
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comu__count[hidden],
.comu__panel[hidden] {
    display: none !important;
}

/* PANEL DESPLEGABLE */

.comu__panel {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 380px;
    max-height: min(520px, 75vh);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e9e2eb;
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0,0,0,.14);
    z-index: 200;
}

.comu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-bottom: 1px solid #eee;
    color: #302639;
}

.comu__head button {
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.comu__list {
    overflow-y: auto;
    padding: 10px;
}

.comu__item {
    padding: 14px;
    border-radius: 10px;
    border-bottom: 1px solid #f0edf1;
}

.comu__item:last-child {
    border-bottom: 0;
}

.comu__item-title {
    font-size: 14px;
    font-weight: 600;
    color: #302639;
    margin-bottom: 7px;
}

.comu__item-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #873d90;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.comu__item-text {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    overflow-wrap: anywhere;
}

.comu__item-text strong {
    font-weight: 700;
}

/* MOVIL */

@media (max-width: 720px) {

    .header__actions {
        gap: 5px;
    }

    .comu__btn {
        width: 40px;
        height: 40px;
    }

    .comu__panel {
        position: fixed;
        top: 74px;
        right: 0;
        width: 100%;
        height: calc(100dvh - 74px);
        max-height: none;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .comu__list {
        flex: 1;
    }
}

/* MENU EN 2 FILAS - TABLET Y PC PEQUEÑO */
@media (min-width: 721px) and (max-width: 1250px) {

    .nav__menu {
        display: grid;
        grid-template-columns: repeat(4, max-content) max-content max-content;
        grid-template-rows: auto auto;
        column-gap: 15px;
        row-gap: 12px;
        align-items: center;
    }

    /* PRIMERA FILA */
    .nav__menu > li:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .nav__menu > li:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .nav__menu > li:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
    }

    .nav__menu > li:nth-child(4) {
        grid-column: 4;
        grid-row: 1;
    }

    /* SEGUNDA FILA */
    .nav__menu > li:nth-child(5) {
        grid-column: 1;
        grid-row: 2;
    }

    .nav__menu > li:nth-child(6) {
        grid-column: 2;
        grid-row: 2;
    }

    .nav__menu > li:nth-child(7) {
        grid-column: 3;
        grid-row: 2;
    }

    .nav__menu > li:nth-child(8) {
        grid-column: 4;
        grid-row: 2;
    }

    /* CONTACT: OCUPA LAS DOS FILAS */
    .nav__menu > li:nth-child(9) {
        grid-column: 5;
        grid-row: 1 / 3;
        align-self: center;
    }

    /* IDIOMA: OCUPA LAS DOS FILAS */
    .nav__menu > li:nth-child(10) {
        grid-column: 6;
        grid-row: 1 / 3;
        align-self: center;
    }

    .nav__menu > li {
        white-space: nowrap;
    }

}



/* ==========================================
   UNIVERS HOME - COMUNICACIONES
   BARRAS Y VENTANAS FLOTANTES
========================================== */

/* BARRAS DEBAJO DE SUBNAV */

.comu-barras:empty,
.comu-flotantes:empty {
    display: none;
}

.comu-barras {
    position: relative;
    z-index: 20;
}

.comu-barra {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    background: #f8f2fa;
    border-bottom: 1px solid #e8d8eb;
    color: #302639;
}

.comu-barra--informacion {
    background: #edf5ff;
    border-color: #d5e6fc;
}

.comu-barra--incidencia,
.comu-barra--urgente {
    background: #fff3e5;
    border-color: #f0d6b4;
}

.comu-barra--promocion {
    background: #f8f0fa;
    border-color: #e7d6eb;
}

.comu-barra__contenido {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
}

.comu-barra__titulo {
    font-weight: 700;
    margin-right: 10px;
}

.comu-barra__texto {
    display: inline;
    overflow-wrap: anywhere;
}

.comu-cerrar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #62596a;
    font-size: 22px;
    cursor: pointer;
}

.comu-cerrar:hover {
    background: rgba(0,0,0,.07);
}

/* VENTANAS FLOTANTES */

.comu-flotantes {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: min(370px, calc(100vw - 32px));
    max-height: min(70vh, 600px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
}

.comu-flotante {
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e8d9ec;
    border-left: 4px solid #873d90;
    border-radius: 13px;
    box-shadow: 0 12px 38px rgba(31,20,40,.15);
    padding: 16px;
}

.comu-flotante--informacion {
    border-left-color: #3478c0;
}

.comu-flotante--incidencia {
    border-left-color: #d58a24;
}

.comu-flotante--urgente {
    border-left-color: #c83f49;
}

.comu-flotante--promocion {
    border-left-color: #873d90;
}

.comu-flotante__cabecera {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.comu-flotante__info {
    flex: 1;
    min-width: 0;
}

.comu-flotante__tipo {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #873d90;
    margin-bottom: 4px;
}

.comu-flotante__titulo {
    font-size: 15px;
    font-weight: 700;
    color: #302639;
}

.comu-flotante__texto {
    font-size: 13px;
    line-height: 1.65;
    color: #555;
    overflow-wrap: anywhere;
}

/* REAPERTURA DE AVISOS CERRADOS */

.comu-recuperar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 5px 16px;
    font-size: 12px;
}

.comu-recuperar button {
    background: #fff;
    color: #873d90;
    border: 1px solid #e8d8eb;
    border-radius: 20px;
    padding: 6px 12px;
    font: inherit;
    cursor: pointer;
}

.comu-recuperar--flotante {
    flex-shrink: 0;
    padding: 0;
}

/* MOVIL */

@media (max-width: 720px) {

    .comu-barra {
        padding: 10px 14px;
        gap: 8px;
        align-items: flex-start;
    }

    .comu-barra__contenido {
        font-size: 12px;
        line-height: 1.5;
    }

    .comu-barra__titulo {
        display: block;
        margin-bottom: 3px;
    }

    .comu-flotantes {
        right: 10px;
        bottom: 12px;
        width: calc(100vw - 20px);
        max-height: 45dvh;
        gap: 8px;
    }

    .comu-flotante {
        padding: 12px 14px;
    }

    .comu-flotante__titulo {
        font-size: 14px;
    }

    .comu-flotante__texto {
        font-size: 12px;
    }
}
.comu-barras:empty,
.comu-flotantes:empty {
    display: none;
}

/* ========================================
   COMUNICACIONES - RETOQUES DISEÑO PC
======================================== */

@media (min-width: 721px) {

    /* Fondo a todo el ancho */
    .comu-barras {
        background: #f9f5fa;
        border-bottom: 1px solid #eee5f0;
    }

    /* Contenido alineado con el menú */
    .comu-barra {
        width: 100%;
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 15px 20px;
        background: transparent;
        border: 0;
        align-items: flex-start;
        gap: 20px;
    }

    .comu-barra--informacion,
    .comu-barra--incidencia,
    .comu-barra--urgente,
    .comu-barra--promocion {
        background: transparent;
        border: 0;
    }

    .comu-barra__contenido {
        flex: 1;
        min-width: 0;
    }

    /* Primera línea */
    .comu-barra__cabecera {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 5px;
    }

    .comu-barra__icono {
        color: #823b90;
        font-size: 21px;
        line-height: 1;
    }

    .comu-barra__titulo {
        display: block;
        margin: 0;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.35;
        color: #60326c;
    }

    /* Segunda línea */
    .comu-barra__texto {
        display: block;
        padding-left: 30px;
        font-size: 15px;
        line-height: 1.6;
        color: #59515e;
    }

    /* Botón cerrar */
    .comu-barra > .comu-cerrar {
        margin-top: 2px;
    }

    /* Recuperador alineado con el menú */
    .comu-recuperar:not(.comu-recuperar--flotante) {
        width: 100%;
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 7px 20px;
    }

    /* Flotante más grande y elegante */
    .comu-flotantes {
        width: 410px;
        right: 25px;
        bottom: 25px;
    }

/*    .comu-flotante {
        padding: 21px 23px;
        border: 1px solid #e9e1eb;
        border-radius: 14px;
        box-shadow: 0 12px 35px rgba(30, 20, 40, .12);
    }*/
.comu-flotante {
    padding: 21px 23px;
    border: 1px solid #e9e1eb;
    border-left: 4px solid #873d90;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(30, 20, 40, .12);
}

/* Color del borde según el tipo */
.comu-flotante--informacion {
    border-left-color: #3478c0;
}

.comu-flotante--incidencia {
    border-left-color: #d58a24;
}

.comu-flotante--urgente {
    border-left-color: #c83f49;
}

.comu-flotante--promocion {
    border-left-color: #873d90;
}
    .comu-flotante__titulo {
        font-size: 17px;
        line-height: 1.4;
    }

    .comu-flotante__texto {
        font-size: 14px;
        line-height: 1.7;
    }

    .comu-flotante__tipo {
        font-size: 11px;
        margin-bottom: 6px;
    }
}
/* Fondo de las barras en PC y móvil */
.comu-barras {
    background: #f9f5fa;
}

.comu-barra,
.comu-barra--informacion,
.comu-barra--incidencia,
.comu-barra--urgente,
.comu-barra--promocion {
    background: transparent;
    border-bottom-color: #eee5f0;
}
/* Icono y título en la misma línea, también en móvil */
.comu-barra__cabecera {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.comu-barra__icono {
    flex-shrink: 0;
    color: #823b90;
    font-size: 19px;
    line-height: 1;
}

.comu-barra__titulo {
    display: block;
    margin: 0;
    font-weight: 700;
}

/* Texto debajo del título */
.comu-barra__texto {
    display: block;
}
/* Animación de entrada de la barra */
@keyframes comuBarraEntrada {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comu-barra {
    animation: comuBarraEntrada 0.7s ease-out both;
}

/* Respetar preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .comu-barra {
        animation: none;
    }
}
/* Despliegue suave del contenedor completo */
#comuBarras {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows 0.7s ease,
        opacity 0.7s ease;
}

#comuBarras.comu-barras--visible {
    grid-template-rows: 1fr;
    opacity: 1;
}

/* Contenedor interior */
.comu-barras__interior {
    min-height: 0;
    overflow: hidden;
}

/* Evitar que :empty oculte el contenedor */
#comuBarras:empty {
    display: grid;
}

@media (prefers-reduced-motion: reduce) {
    #comuBarras {
        transition: none;
    }
}
.comu-barras__interior {
    width: 100%;
}

/* =====================================
   IMÁGENES DE COMUNICACIONES
===================================== */

/* BARRA */

.comu-barra__imagen {
    width: 110px;
    height: 85px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.comu-barra--con-imagen {
    align-items: center;
}

/* FLOTANTE */

.comu-flotante__imagen {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}

/* MÓVIL */

@media (max-width: 720px) {

    .comu-barra__imagen {
        width: 75px;
        height: 75px;
        border-radius: 6px;
    }

    .comu-barra--con-imagen {
        align-items: flex-start;
    }

    .comu-flotante__imagen {
        max-height: 150px;
        margin-bottom: 10px;
    }
}


/* ==========================================
   UNIVERS HOME - LANDING GOOGLE ADS
   HERO PROFESSIONNELS / PARTICULIERS
========================================== */

.uh-landing-hero {
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #fbf9fc 55%,
        #f5eff7 100%
    );
    overflow: hidden;
}

.uh-landing-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(30px, 5vw, 85px);
    padding-top: 65px;
    padding-bottom: 65px;
    min-height: 580px;
}

/* CONTENIDO */

.uh-landing-hero__content {
    min-width: 0;
}

.uh-landing-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #823b90;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.uh-landing-hero__eyebrow-line {
    width: 28px;
    height: 2px;
    background: #823b90;
    flex-shrink: 0;
}

/* TITULO */

.uh-landing-hero__title, .uh-landing-hero__title2 {
    font-size: clamp(30px, 3.1vw, 39px);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -1.3px;
    color: #172033;
    margin: 0 0 25px;
}

.uh-landing-hero__title span {
    /*display: block;*/
    color: #823b90;
}
.uh-landing-hero__title2 span {
    display: block;
    color: #823b90;
}

/* DESCRIPCION */

.uh-landing-hero__description {
    font-size: 16px;
    line-height: 1.85;
    color: #586174;
    max-width: 540px;
    margin: 0 0 25px;
}

/* VENTAJAS */

.uh-landing-hero__advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: 30px;
}

.uh-landing-hero__advantage {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.uh-landing-hero__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #f0e4f3;
    color: #823b90;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* BOTON */

.uh-landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.uh-landing-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 25px;
    background: #823b90;
    color: #ffffff;
    border: 1px solid #823b90;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.uh-landing-hero__button:hover {
    background: #672c73;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(130,59,144,.22);
}

.uh-landing-hero__button:focus-visible {
    outline: 3px solid #b887c4;
    outline-offset: 3px;
}

/* IMAGEN */

.uh-landing-hero__visual {
    position: relative;
    min-width: 0;
/*    height: 480px;*/
    height: 380px;
    border-radius: 18px;
    overflow: hidden;
    background: #e9e5ea;
    box-shadow: 0 18px 48px rgba(30,20,40,.10);
}

.uh-landing-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.uh-landing-hero__visual:hover .uh-landing-hero__image {
    transform: scale(1.035);
}

/* ETIQUETA SOBRE IMAGEN */

.uh-landing-hero__image-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border-radius: 9px;
    background: rgba(255,255,255,.94);
    color: #302639;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.uh-landing-hero__label-dot {
    width: 8px;
    height: 8px;
    background: #823b90;
    border-radius: 50%;
    flex-shrink: 0;
}

/* TABLET */

@media (max-width: 1000px) {

    .uh-landing-hero__grid {
        gap: 28px;
        padding-top: 45px;
        padding-bottom: 45px;
        min-height: auto;
    }

    .uh-landing-hero__title, .uh-landing-hero__title2 {
/*        font-size: clamp(28px, 3.6vw, 38px);*/
        font-size: clamp(23px, 3.6vw, 33px);
    }

    .uh-landing-hero__visual {
/*        height: 400px;*/
        height: 380px;
    }
}

/* MOVIL */

@media (max-width: 720px) {

    .uh-landing-hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .uh-landing-hero__eyebrow {
        font-size: 10px;
        letter-spacing: .8px;
        margin-bottom: 17px;
    }

    .uh-landing-hero__title, .uh-landing-hero__title2 {
        /*font-size: clamp(29px, 7vw, 38px);*/
        font-size: clamp(22px, 7vw, 22px);
        letter-spacing: -.7px;
        margin-bottom: 18px;
    }

    .uh-landing-hero__description {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 20px;
    }

    .uh-landing-hero__advantages {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    .uh-landing-hero__advantage {
        font-size: 13px;
    }

    .uh-landing-hero__button {
        width: 100%;
        padding: 15px 20px;
    }

    .uh-landing-hero__visual {
/*        height: 310px;*/
        height: 300px;
        border-radius: 13px;
    }

    .uh-landing-hero__image-label {
        left: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
        padding: 9px 11px;
        font-size: 9px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .uh-landing-hero__button,
    .uh-landing-hero__image {
        transition: none;
    }
}

#popupImage {
    display: none;

    width: auto;
    height: auto;

    max-width: calc(100vw - 60px);
    max-height: calc(100dvh - 190px);

    object-fit: contain;
    object-position: center;

    margin: auto;
}
@media (max-width: 720px) {
	#popupImage {
		max-height: calc(100dvh - 100px);
	}
}
/* El contenedor del visor debe permitir
   que la imagen utilice el espacio disponible */
#pdfPopup .popup-content {
    min-height: 0;
}
