/* =============================================================================
   PRIDO — Home Modern · CSS principal
   -----------------------------------------------------------------------------
   CSS único del módulo. Se carga SOLO cuando la página activa usa el template
   "Prido Home Modern" (ver inc/home-modern/loader.php).

   CONVENCIONES
   ------------
   - Scope:   TODO vive bajo `.prido-home-modern` para no pisar otros estilos
              del sitio ni los de la home legacy.
   - Tokens:  variables locales bajo el selector raíz, así es trivial hacer
              variantes (tema claro/oscuro, breakpoints alternos) sin tocar
              los valores uno a uno.
   - Orden:   las secciones se comentan con el mismo prefijo numérico que los
              partials (01-hero, 02-services, ...) para que sea trivial
              localizar reglas al leer el archivo.

   ESTRATEGIA DE PARIDAD VISUAL CON LA HOME LEGACY
   -----------------------------------------------
   Fase 1: replicamos las mismas clases que usa el shortcode legacy
           (.prido-hero-*, .prido-catv3-*, etc.), permitiendo que
           css-maestro.css siga aportando estilos durante la transición.
   Fase 2: absorbemos las reglas relevantes de css-maestro.css en este
           archivo y quitamos la dependencia del maestro.
   Fase 3: desencolamos css-maestro.css dentro del loader para liberar
           al navegador de 250 KB de CSS que ya no necesitamos.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Design tokens + tema + tipografía base migrados desde css-maestro.css.
   Fuente: css-maestro.css líneas 26-285 (snapshot 2026-04-16).
   Se copia el bloque completo porque, en el maestro, las variables `--prido-*`
   están acopladas a defaults globales de fondo/tipografía usados por la home.
   Este CSS solo se encola en el template `home-modern`, así que el alcance
   sigue siendo local a esa página aunque existan selectores globales.
   -------------------------------------------------------------------------- */
:root {
	/* Paleta principal */
	--prido-primary: var(--wd-primary-color, #5e81a2);
	--prido-secondary: var(--wd-secondary-color, #2dc6c1);
	--prido-dark: #1a2a3a;
	--prido-white: #ffffff;

	/* Paleta contextual */
	--prido-muted: #6b7d8e;
	--prido-bg-tint: #f2f6f9;
	--prido-bg-light: #fafcfd;
	--prido-bg-product: #f8fafc;
	--prido-border-light: #e2e8ed;

	/* Alias semánticos */
	--prido-blue: var(--prido-primary);
	--prido-teal: var(--prido-secondary);
	--text-muted: var(--prido-muted);
	--border-light: var(--prido-border-light);

	/* Sistema adaptativo de tema */
	color-scheme: light;
	--prido-theme-name: light;
	--prido-theme-ink: #1a2a3a;
	--prido-theme-muted: #66788d;
	--prido-theme-border: rgba(201, 212, 221, 0.74);
	--prido-theme-border-strong: rgba(188, 201, 212, 0.9);
	--prido-theme-canvas: #f8fafc;
	--prido-theme-canvas-soft: #f2f6f9;
	--prido-theme-surface: rgba(255, 255, 255, 0.82);
	--prido-theme-surface-soft: rgba(255, 255, 255, 0.74);
	--prido-theme-surface-strong: rgba(255, 255, 255, 0.94);
	--prido-theme-surface-alt: #f8fbfd;
	--prido-theme-overlay: rgba(18, 29, 42, 0.22);
	--prido-theme-shadow: 0 20px 44px rgba(18, 29, 42, 0.08);
	--prido-theme-shadow-soft: 0 12px 24px rgba(18, 29, 42, 0.05);
	--prido-theme-glass-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 251, 253, 0.88));
	--prido-theme-glass-fill-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(249, 251, 253, 0.78));
	--prido-theme-glass-fill-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 253, 0.94));
	--prido-theme-chip-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.92));
	--prido-theme-chip-fill-hover: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(236, 245, 247, 0.94));
	--prido-glass-surface: var(--prido-theme-surface);
	--prido-glass-surface-soft: var(--prido-theme-surface-soft);
	--prido-glass-surface-strong: var(--prido-theme-surface-strong);
	--prido-glass-chip: var(--prido-theme-chip-fill);
	--prido-glass-chip-hover: var(--prido-theme-chip-fill-hover);
	--prido-glass-border: var(--prido-theme-border);
	--prido-glass-border-strong: var(--prido-theme-border-strong);
	--prido-glass-shadow: var(--prido-theme-shadow);
	--prido-glass-shadow-soft: var(--prido-theme-shadow-soft);
	--prido-glass-backdrop: saturate(138%) blur(18px);
	--prido-glass-backdrop-strong: saturate(150%) blur(24px);
	--prido-glass-accent-border: color-mix(in srgb, var(--prido-secondary) 22%, var(--prido-theme-border-strong) 78%);
	--prido-glass-accent-border-strong: color-mix(in srgb, var(--prido-secondary) 34%, var(--prido-theme-border-strong) 66%);
	--prido-glass-accent-fill: color-mix(in srgb, var(--prido-secondary) 9%, var(--prido-theme-chip-fill-hover) 91%);
	--prido-glass-accent-fill-strong: color-mix(in srgb, var(--prido-secondary) 14%, var(--prido-theme-chip-fill-hover) 86%);
	--prido-glass-shell: color-mix(in srgb, var(--prido-theme-surface-strong) 84%, var(--prido-theme-canvas) 16%);
	--prido-glass-shell-soft: color-mix(in srgb, var(--prido-theme-surface) 78%, var(--prido-theme-canvas) 22%);
	--prido-glass-shell-muted: color-mix(in srgb, var(--prido-theme-surface-soft) 74%, var(--prido-theme-canvas) 26%);
	--prido-glass-radius-pill: 999px;
	--prido-glass-radius-card: 24px;
	--prido-glass-radius-panel: 32px;
	--prido-theme-arrow-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2366788d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

	/* Sistema tipografico global — escala inspirada en Fibonacci / proporcion aurea */
	--prido-font-body: 'Noto Sans', sans-serif;
	--prido-font-heading: 'Outfit', sans-serif;
	--prido-font-ui: 'Noto Sans', sans-serif;

	--prido-weight-regular: 400;
	--prido-weight-medium: 500;
	--prido-weight-semibold: 600;
	--prido-weight-bold: 700;
	--prido-weight-heavy: 800;

	--prido-type-overline: clamp(0.6875rem, 0.67rem + 0.08vw, 0.75rem);
	--prido-type-small: clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);
	--prido-type-base: clamp(0.9375rem, 0.91rem + 0.12vw, 1rem);
	--prido-type-medium: clamp(1rem, 0.97rem + 0.16vw, 1.125rem);
	--prido-type-large: clamp(1.1875rem, 1.12rem + 0.28vw, 1.3125rem);
	--prido-type-h6: clamp(1rem, 0.98rem + 0.15vw, 1.125rem);
	--prido-type-h5: clamp(1.1875rem, 1.12rem + 0.28vw, 1.3125rem);
	--prido-type-h4: clamp(1.3125rem, 1.22rem + 0.42vw, 1.625rem);
	--prido-type-h3: clamp(1.625rem, 1.44rem + 0.72vw, 2.125rem);
	--prido-type-h2: clamp(2.125rem, 1.82rem + 1.15vw, 3.4375rem);
	--prido-type-h1: clamp(2.625rem, 2.18rem + 1.55vw, 4.5rem);
	--prido-type-hero: clamp(3rem, 2.4rem + 2.2vw, 5.5rem);

	--prido-leading-display: 0.92;
	--prido-leading-heading: 1.08;
	--prido-leading-ui: 1.2;
	--prido-leading-copy: 1.62;
	--prido-leading-copy-relaxed: 1.78;

	--prido-tracking-overline: 0.14em;
	--prido-tracking-tight: -0.04em;
	--prido-tracking-display: -0.065em;

	--prido-space-2xs: clamp(0.5rem, 0.47rem + 0.1vw, 0.625rem);
	--prido-space-xs: clamp(0.8125rem, 0.78rem + 0.08vw, 0.875rem);
	--prido-space-sm: clamp(1rem, 0.95rem + 0.12vw, 1.125rem);
	--prido-space-md: clamp(1.3125rem, 1.24rem + 0.28vw, 1.5rem);
	--prido-space-lg: clamp(2.125rem, 1.96rem + 0.52vw, 2.625rem);
	--prido-space-xl: clamp(3.4375rem, 3.1rem + 1vw, 4.5rem);

	--prido-flow-heading-to-ui: var(--prido-space-xs);
	--prido-flow-heading-to-copy: var(--prido-space-sm);
	--prido-flow-copy-to-copy: var(--prido-space-sm);
	--prido-flow-section: var(--prido-space-lg);
}

:root[data-theme="light"] {
	color-scheme: light;
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--prido-theme-name: dark;
	--prido-theme-ink: #edf4f8;
	--prido-theme-muted: #9fb0bf;
	--prido-theme-border: rgba(255, 255, 255, 0.1);
	--prido-theme-border-strong: rgba(255, 255, 255, 0.16);
	--prido-theme-canvas: #111821;
	--prido-theme-canvas-soft: #151d27;
	--prido-theme-surface: rgba(19, 26, 34, 0.86);
	--prido-theme-surface-soft: rgba(19, 26, 34, 0.74);
	--prido-theme-surface-strong: rgba(24, 32, 41, 0.94);
	--prido-theme-surface-alt: #18202a;
	--prido-theme-overlay: rgba(4, 8, 12, 0.56);
	--prido-theme-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
	--prido-theme-shadow-soft: 0 14px 28px rgba(0, 0, 0, 0.26);
	--prido-theme-glass-fill: linear-gradient(180deg, rgba(24, 32, 42, 0.94), rgba(17, 23, 31, 0.9));
	--prido-theme-glass-fill-soft: linear-gradient(180deg, rgba(25, 34, 44, 0.86), rgba(17, 23, 31, 0.8));
	--prido-theme-glass-fill-strong: linear-gradient(180deg, rgba(28, 37, 48, 0.98), rgba(18, 24, 32, 0.94));
	--prido-theme-chip-fill: linear-gradient(180deg, rgba(30, 39, 49, 0.96), rgba(20, 26, 34, 0.92));
	--prido-theme-chip-fill-hover: linear-gradient(180deg, rgba(36, 48, 60, 0.98), rgba(21, 28, 36, 0.94));
	--prido-glass-surface: var(--prido-theme-surface);
	--prido-glass-surface-soft: var(--prido-theme-surface-soft);
	--prido-glass-surface-strong: var(--prido-theme-surface-strong);
	--prido-glass-chip: var(--prido-theme-chip-fill);
	--prido-glass-chip-hover: var(--prido-theme-chip-fill-hover);
	--prido-glass-border: var(--prido-theme-border);
	--prido-glass-border-strong: var(--prido-theme-border-strong);
	--prido-glass-shadow: var(--prido-theme-shadow);
	--prido-glass-shadow-soft: var(--prido-theme-shadow-soft);
	--prido-glass-backdrop: saturate(138%) blur(18px);
	--prido-glass-backdrop-strong: saturate(150%) blur(24px);
	--prido-glass-accent-border: color-mix(in srgb, var(--prido-secondary) 26%, var(--prido-theme-border-strong) 74%);
	--prido-glass-accent-border-strong: color-mix(in srgb, var(--prido-secondary) 38%, var(--prido-theme-border-strong) 62%);
	--prido-glass-accent-fill: color-mix(in srgb, var(--prido-secondary) 12%, var(--prido-theme-chip-fill-hover) 88%);
	--prido-glass-accent-fill-strong: color-mix(in srgb, var(--prido-secondary) 18%, var(--prido-theme-chip-fill-hover) 82%);
	--prido-glass-radius-pill: 999px;
	--prido-glass-radius-card: 24px;
	--prido-glass-radius-panel: 32px;
	--prido-theme-arrow-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d8e4ec' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--prido-theme-name: dark;
		--prido-theme-ink: #edf4f8;
		--prido-theme-muted: #9fb0bf;
		--prido-theme-border: rgba(255, 255, 255, 0.1);
		--prido-theme-border-strong: rgba(255, 255, 255, 0.16);
		--prido-theme-canvas: #111821;
		--prido-theme-canvas-soft: #151d27;
		--prido-theme-surface: rgba(19, 26, 34, 0.86);
		--prido-theme-surface-soft: rgba(19, 26, 34, 0.74);
		--prido-theme-surface-strong: rgba(24, 32, 41, 0.94);
		--prido-theme-surface-alt: #18202a;
		--prido-theme-overlay: rgba(4, 8, 12, 0.56);
		--prido-theme-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
		--prido-theme-shadow-soft: 0 14px 28px rgba(0, 0, 0, 0.26);
		--prido-theme-glass-fill: linear-gradient(180deg, rgba(24, 32, 42, 0.94), rgba(17, 23, 31, 0.9));
		--prido-theme-glass-fill-soft: linear-gradient(180deg, rgba(25, 34, 44, 0.86), rgba(17, 23, 31, 0.8));
		--prido-theme-glass-fill-strong: linear-gradient(180deg, rgba(28, 37, 48, 0.98), rgba(18, 24, 32, 0.94));
		--prido-theme-chip-fill: linear-gradient(180deg, rgba(30, 39, 49, 0.96), rgba(20, 26, 34, 0.92));
		--prido-theme-chip-fill-hover: linear-gradient(180deg, rgba(36, 48, 60, 0.98), rgba(21, 28, 36, 0.94));
		--prido-glass-surface: var(--prido-theme-surface);
		--prido-glass-surface-soft: var(--prido-theme-surface-soft);
		--prido-glass-surface-strong: var(--prido-theme-surface-strong);
		--prido-glass-chip: var(--prido-theme-chip-fill);
		--prido-glass-chip-hover: var(--prido-theme-chip-fill-hover);
		--prido-glass-border: var(--prido-theme-border);
		--prido-glass-border-strong: var(--prido-theme-border-strong);
		--prido-glass-shadow: var(--prido-theme-shadow);
		--prido-glass-shadow-soft: var(--prido-theme-shadow-soft);
		--prido-glass-backdrop: saturate(138%) blur(18px);
		--prido-glass-backdrop-strong: saturate(150%) blur(24px);
		--prido-glass-accent-border: color-mix(in srgb, var(--prido-secondary) 26%, var(--prido-theme-border-strong) 74%);
		--prido-glass-accent-border-strong: color-mix(in srgb, var(--prido-secondary) 38%, var(--prido-theme-border-strong) 62%);
		--prido-glass-accent-fill: color-mix(in srgb, var(--prido-secondary) 12%, var(--prido-theme-chip-fill-hover) 88%);
		--prido-glass-accent-fill-strong: color-mix(in srgb, var(--prido-secondary) 18%, var(--prido-theme-chip-fill-hover) 82%);
		--prido-glass-radius-pill: 999px;
		--prido-glass-radius-card: 24px;
		--prido-glass-radius-panel: 32px;
		--prido-theme-arrow-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d8e4ec' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	}
}

html,
body {
	background: var(--prido-theme-canvas);
	color: var(--prido-theme-ink);
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--prido-font-body);
	font-size: var(--prido-type-base);
	line-height: var(--prido-leading-copy-relaxed);
}

.website-wrapper {
	background: transparent;
}

body.home :is(.wd-page-title, .page-title) {
	display: none !important;
}

body.home :is(.main-page-wrapper, .wd-page-content, .wd-content-area.site-content, .content-layout-wrapper) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.home .main-page-wrapper {
	padding-bottom: 0 !important;
}

:where(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	color: var(--prido-theme-ink);
	font-family: var(--prido-font-heading);
	font-weight: var(--prido-weight-bold);
	line-height: var(--prido-leading-heading);
	letter-spacing: var(--prido-tracking-tight);
	text-wrap: balance;
}

:where(h1) { font-size: var(--prido-type-h1); }
:where(h2) { font-size: var(--prido-type-h2); }
:where(h3) { font-size: var(--prido-type-h3); }
:where(h4) { font-size: var(--prido-type-h4); }
:where(h5) { font-size: var(--prido-type-h5); }
:where(h6) { font-size: var(--prido-type-h6); }

:where(p, li, dd, dt, blockquote) {
	font-size: var(--prido-type-base);
	line-height: var(--prido-leading-copy-relaxed);
}

:where(p) {
	margin: 0 0 var(--prido-flow-copy-to-copy);
}

:where(p:last-child) {
	margin-bottom: 0;
}

:where(small, label, .prido-type-small) {
	font-size: var(--prido-type-small);
	line-height: 1.45;
}

:where(button, .button, input, select, textarea) {
	font-family: var(--prido-font-ui);
}

/* =============================================================================
   REDISEÑO HOME V1 (handoff Claude Design, 2026-06-12)
   -----------------------------------------------------------------------------
   Layout del mockup "Home PRIDO v1.html" con tokens del sitio:
   Outfit (titulares) + Noto Sans (cuerpo), acento #2dc6c1, theme-aware
   (claro/oscuro vía data-theme + prefers-color-scheme).
   Todas las clases nuevas usan prefijo `phm-` y viven bajo `.prido-home-modern`.
   ============================================================================= */

.prido-home-modern {
	/* layout */
	--phm-wrap-max: 1360px;
	--phm-wrap-pad: clamp(18px, 3vw, 40px);
	--phm-sec-pad: clamp(56px, 7vw, 92px);
	--phm-sec-gap: clamp(36px, 4.5vw, 56px);

	/* acento (teal de marca) */
	--phm-acc: var(--prido-secondary);
	--phm-acc-deep: color-mix(in srgb, var(--prido-secondary) 72%, var(--prido-theme-ink) 28%);
	--phm-acc-soft: color-mix(in srgb, var(--prido-secondary) 9%, var(--prido-theme-canvas) 91%);
	--phm-acc-line: color-mix(in srgb, var(--prido-secondary) 26%, var(--prido-theme-canvas) 74%);

	/* texto */
	--phm-fg: var(--prido-theme-ink);
	--phm-fg-2: color-mix(in srgb, var(--prido-theme-ink) 76%, var(--prido-theme-muted) 24%);
	--phm-fg-muted: var(--prido-theme-muted);

	/* superficies y bordes */
	--phm-border: var(--prido-theme-border);
	--phm-border-strong: var(--prido-theme-border-strong);
	--phm-surface: #ffffff;
	--phm-band: var(--prido-theme-canvas-soft);
	--phm-img-bg: #f2f4f6;
	--phm-ink-panel: #0b1e2e;

	/* oferta */
	--phm-promo: #b7301a;
	--phm-promo-bg: #fff1ed;

	/* botones */
	--phm-btn-bg: var(--prido-dark);
	--phm-btn-fg: #ffffff;
	--phm-btn-hover: #16314a;
	--phm-acc-btn: color-mix(in srgb, var(--prido-secondary) 62%, #07514e 38%);
	--phm-acc-btn-hover: color-mix(in srgb, var(--prido-secondary) 74%, #07514e 26%);

	--phm-shadow-sm: 0 10px 24px -14px rgba(11, 30, 46, 0.3);
	--phm-shadow-lift: 0 14px 30px -18px rgba(11, 30, 46, 0.35);

	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	isolation: isolate;
}

:root[data-theme="dark"] .prido-home-modern {
	--phm-acc-deep: color-mix(in srgb, var(--prido-secondary) 78%, #ffffff 22%);
	--phm-surface: var(--prido-theme-surface-alt);
	--phm-img-bg: #16212c;
	--phm-promo: #e58e81;
	--phm-promo-bg: rgba(192, 57, 43, 0.16);
	--phm-btn-bg: color-mix(in srgb, var(--prido-secondary) 52%, #06302e 48%);
	--phm-btn-hover: color-mix(in srgb, var(--prido-secondary) 64%, #06302e 36%);
	--phm-shadow-sm: 0 12px 28px -14px rgba(0, 0, 0, 0.55);
	--phm-shadow-lift: 0 16px 34px -18px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .prido-home-modern {
		--phm-acc-deep: color-mix(in srgb, var(--prido-secondary) 78%, #ffffff 22%);
		--phm-surface: var(--prido-theme-surface-alt);
		--phm-img-bg: #16212c;
		--phm-promo: #e58e81;
		--phm-promo-bg: rgba(192, 57, 43, 0.16);
		--phm-btn-bg: color-mix(in srgb, var(--prido-secondary) 52%, #06302e 48%);
		--phm-btn-hover: color-mix(in srgb, var(--prido-secondary) 64%, #06302e 36%);
		--phm-shadow-sm: 0 12px 28px -14px rgba(0, 0, 0, 0.55);
		--phm-shadow-lift: 0 16px 34px -18px rgba(0, 0, 0, 0.6);
	}
}

/* ocultar título nativo de página en la home (paridad con versión anterior) */
body.home :is(.wd-page-title, .page-title) { display: none !important; }
body.home :is(.main-page-wrapper, .wd-page-content, .wd-content-area.site-content, .content-layout-wrapper) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.home .main-page-wrapper { padding-bottom: 0 !important; }

.prido-home-modern .prido-hm-missing { border-radius: 4px; }

/* -----------------------------------------------------------------------------
   Primitivas compartidas
   -------------------------------------------------------------------------- */
.prido-home-modern,
.prido-home-modern *,
.prido-home-modern *::before,
.prido-home-modern *::after {
	box-sizing: border-box;
}

.prido-home-modern .phm-wrap {
	max-width: var(--phm-wrap-max);
	margin-inline: auto;
	padding-inline: var(--phm-wrap-pad);
}

.prido-home-modern .phm-eyebrow {
	display: inline-block;
	font-family: var(--prido-font-ui);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--phm-acc-deep);
}

.prido-home-modern .phm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 24px;
	border-radius: 6px;
	border: 1px solid transparent;
	font-family: var(--prido-font-ui);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 140ms, color 140ms, border-color 140ms, transform 140ms;
}
.prido-home-modern .phm-btn:active { transform: translateY(1px); }
.prido-home-modern .phm-btn-solid { background: var(--phm-btn-bg); color: var(--phm-btn-fg); border-color: var(--phm-btn-bg); }
.prido-home-modern .phm-btn-solid:hover { background: var(--phm-btn-hover); border-color: var(--phm-btn-hover); color: var(--phm-btn-fg); }
.prido-home-modern .phm-btn-ghost { background: transparent; color: var(--phm-fg); border-color: var(--phm-border-strong); }
.prido-home-modern .phm-btn-ghost:hover { border-color: var(--phm-acc); color: var(--phm-acc-deep); background: transparent; }
.prido-home-modern .phm-btn-acc { background: var(--phm-acc-btn); color: #fff; border-color: var(--phm-acc-btn); }
.prido-home-modern .phm-btn-acc:hover { background: var(--phm-acc-btn-hover); border-color: var(--phm-acc-btn-hover); color: #fff; }

.prido-home-modern .phm-linkmore {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--prido-font-ui);
	font-size: 14px;
	font-weight: 700;
	color: var(--phm-acc-deep);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-decoration: none;
	transition: gap 140ms;
}
.prido-home-modern .phm-linkmore:hover { gap: 12px; color: var(--phm-acc-deep); }

.prido-home-modern .phm-arr {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid var(--phm-border-strong);
	background: transparent;
	color: var(--phm-fg-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color 140ms, color 140ms, background 140ms;
}
.prido-home-modern .phm-arr:hover { border-color: var(--phm-acc); color: var(--phm-acc-deep); background: var(--phm-acc-soft); }

/* secciones */
.prido-home-modern .phm-sec { padding: var(--phm-sec-pad) 0 0; }
.prido-home-modern .phm-sec-head { max-width: 720px; margin-bottom: clamp(26px, 3vw, 40px); }
.prido-home-modern .phm-sec-head.center { margin-inline: auto; text-align: center; }
.prido-home-modern .phm-sec-head .phm-eyebrow { margin-bottom: 12px; }
.prido-home-modern .phm-sec-h {
	font-family: var(--prido-font-heading);
	font-size: clamp(29px, 3.2vw, 42px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--phm-fg);
	margin: 0 0 14px;
	text-wrap: balance;
}
.prido-home-modern .phm-sec-sub {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--phm-fg-muted);
	text-wrap: pretty;
}
.prido-home-modern .phm-sec-foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 44px); }

/* -----------------------------------------------------------------------------
   [01] Hero — slider split
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-hero {
	background: var(--phm-surface);
	border-bottom: 1px solid var(--phm-border);
	overflow: hidden;
}
.prido-home-modern .phm-hero-in {
	display: grid;
	grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
	gap: 48px;
	align-items: stretch;
}
.prido-home-modern .phm-hero-copy {
	position: relative;
	padding: 64px 0 96px;
	/* La altura del hero la define la columna de imagen (aspect-ratio); esto es
	   solo un piso para que el texto nunca desborde. */
	min-height: 480px;
	display: flex;
}
.prido-home-modern .phm-hs-txt {
	position: absolute;
	inset: 64px 0 96px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity 480ms ease, transform 480ms ease;
}
.prido-home-modern .phm-hs-txt.on { opacity: 1; transform: none; pointer-events: auto; }
.prido-home-modern .phm-hs-txt .phm-eyebrow { margin-bottom: 16px; }
.prido-home-modern .phm-hero-h {
	font-family: var(--prido-font-heading);
	font-size: clamp(33px, 4.2vw, 56px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.025em;
	color: var(--phm-fg);
	margin: 0 0 18px;
	text-wrap: balance;
}
.prido-home-modern .phm-hs-txt p {
	margin: 0 0 26px;
	max-width: 440px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--phm-fg-2);
	text-wrap: pretty;
}
.prido-home-modern .phm-hs-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.prido-home-modern .phm-hs-price .was {
	font-size: 16px;
	color: var(--phm-fg-muted);
	text-decoration: line-through;
	font-variant-numeric: tabular-nums;
}
.prido-home-modern .phm-hs-price .now {
	font-size: clamp(27px, 2.6vw, 34px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--phm-fg);
	font-variant-numeric: tabular-nums;
}
.prido-home-modern .phm-hs-price .off {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--phm-promo);
	background: var(--phm-promo-bg);
	padding: 4px 8px;
	border-radius: 4px;
}

.prido-home-modern .phm-hero-ctl {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 18px;
}
.prido-home-modern .phm-h-dots { display: flex; align-items: center; gap: 7px; }
.prido-home-modern .phm-h-dot {
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: var(--phm-border-strong);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 200ms, width 200ms;
}
.prido-home-modern .phm-h-dot.on { width: 34px; background: var(--phm-acc); }
.prido-home-modern .phm-h-count {
	font-size: 12px;
	color: var(--phm-fg-muted);
	letter-spacing: 0.08em;
	margin-left: auto;
	font-variant-numeric: tabular-nums;
}

.prido-home-modern .phm-hero-media {
	/* El cuadrado de la imagen DICTA la altura del hero: aspect-ratio 1 sobre el
	   ancho de columna, con techo de viewport. align-self start evita que el
	   stretch del grid pise el aspect-ratio. Así el borde inferior del hero
	   coincide con el de la imagen (pedido del usuario 2026-06-12). */
	position: relative;
	align-self: start;
	aspect-ratio: 1;
	max-height: clamp(540px, calc(100svh - var(--prido-hs-offset, 126px)), 880px);
}
.prido-home-modern .phm-hs-img {
	/* Las slides llenan el contenedor (que ya es cuadrado o capado por alto);
	   el contain con object-position top mantiene la silla pegada al header.
	   Sin padding: el parallax visible es ±2-3px, no recorta. */
	position: absolute;
	inset: 0;
	padding: 0;
	overflow: hidden;
	opacity: 0;
	transition: opacity 600ms ease;
}
.prido-home-modern .phm-hs-img.on { opacity: 1; }
.prido-home-modern .phm-hs-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
	display: block;
	will-change: transform;
}

/* -----------------------------------------------------------------------------
   [02] Trust band + envíos expandible
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-trust {
	background: var(--phm-band);
	border-bottom: 1px solid var(--phm-border);
}
.prido-home-modern .phm-trust-in {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--phm-border);
}
.prido-home-modern .phm-t-card {
	background: var(--phm-band);
	padding: 34px 36px;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	text-decoration: none;
	transition: background 160ms;
}
.prido-home-modern .phm-t-card:hover { background: var(--phm-surface); }
.prido-home-modern .phm-t-ic {
	width: 46px;
	height: 46px;
	border-radius: 11px;
	flex-shrink: 0;
	background: var(--phm-acc-soft);
	border: 1px solid var(--phm-acc-line);
	color: var(--phm-acc-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.prido-home-modern .phm-t-card h3 {
	margin: 0 0 5px;
	font-family: var(--prido-font-ui);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--phm-fg);
}
.prido-home-modern .phm-t-card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: var(--phm-fg-muted); }
.prido-home-modern .phm-t-card .phm-linkmore { font-size: 13px; }

.prido-home-modern .phm-ship {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 360ms ease;
}
.prido-home-modern .phm-ship.open { grid-template-rows: 1fr; }
.prido-home-modern .phm-ship-in { overflow: hidden; }
.prido-home-modern .phm-ship-card {
	margin: 0 0 40px;
	background: var(--phm-surface);
	border: 1px solid var(--phm-border-strong);
	border-radius: 14px;
	padding: 32px 36px;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
}
.prido-home-modern .phm-ship-card h3 { margin: 0 0 12px; font-family: var(--prido-font-ui); font-size: 19px; font-weight: 800; color: var(--phm-fg); }
.prido-home-modern .phm-ship-card p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; color: var(--phm-fg-2); }
.prido-home-modern .phm-ship-card p:last-child { margin-bottom: 0; }
.prido-home-modern .phm-ship-card h4 {
	margin: 0 0 14px;
	font-family: var(--prido-font-ui);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--phm-acc-deep);
}
.prido-home-modern .phm-carriers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.prido-home-modern .phm-carriers li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--phm-fg); }
.prido-home-modern .phm-carriers li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--phm-acc); }

/* -----------------------------------------------------------------------------
   [03] Reviews (TrustIndex) — header nuevo + reglas heredadas del widget
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-trustindex {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: clamp(0.5rem, 1.5vw, 1.5rem) 0;
}
.prido-home-modern .phm-trustindex .ti-widget {
	margin-left: auto !important;
	margin-right: auto !important;
	display: flex !important;
	justify-content: center !important;
}
.prido-home-modern .phm-trustindex .ti-widget-container { margin: 0 auto !important; justify-content: center !important; }

/* dark: invertir el árbol del widget y revertir imágenes (mismo truco que la
   versión anterior — perseguir selectores del plugin es frágil) */
:root[data-theme="dark"] .prido-home-modern .phm-trustindex .ti-widget { filter: invert(1); }
:root[data-theme="dark"] .prido-home-modern .phm-trustindex .ti-widget img,
:root[data-theme="dark"] .prido-home-modern .phm-trustindex .ti-widget trustindex-image { filter: invert(1); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .prido-home-modern .phm-trustindex .ti-widget { filter: invert(1); }
	:root:not([data-theme="light"]) .prido-home-modern .phm-trustindex .ti-widget img,
	:root:not([data-theme="light"]) .prido-home-modern .phm-trustindex .ti-widget trustindex-image { filter: invert(1); }
}

/* tarjetas nativas de reseñas (estilo mockup) en carrusel deslizable —
   mismo patrón que el rail de categorías: scroll-snap + swipe + flechas */
.prido-home-modern .phm-tm-nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.prido-home-modern .phm-tm-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 44px) / 3);
	gap: 22px;
	overflow-x: auto;
	padding-bottom: 10px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.prido-home-modern .phm-tm-rail::-webkit-scrollbar { display: none; }
.prido-home-modern .phm-tm {
	scroll-snap-align: start;
	background: var(--phm-surface);
	border: 1px solid var(--phm-border-strong);
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.prido-home-modern .phm-tm-stars { display: flex; gap: 4px; color: var(--phm-acc); }
.prido-home-modern .phm-tm-text {
	margin: 0;
	flex: 1;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--phm-fg-2);
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-wrap: pretty;
}
.prido-home-modern .phm-tm-who { display: flex; align-items: center; gap: 12px; }
.prido-home-modern .phm-tm-av {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	flex-shrink: 0;
	object-fit: cover;
	background: var(--phm-acc-soft);
	border: 1px solid var(--phm-acc-line);
}
.prido-home-modern .phm-tm-av--ini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 800;
	color: var(--phm-acc-deep);
}
.prido-home-modern .phm-tm-who .nm { display: block; font-size: 13.5px; font-weight: 700; color: var(--phm-fg); }
.prido-home-modern .phm-tm-who .rl { display: block; font-size: 12px; color: var(--phm-fg-muted); }
.prido-home-modern .phm-tm-foot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 30px;
}
.prido-home-modern .phm-tm-score { display: inline-flex; align-items: center; gap: 7px; color: var(--phm-acc); }
.prido-home-modern .phm-tm-score b { font-size: 15px; font-weight: 800; color: var(--phm-fg); font-variant-numeric: tabular-nums; }

/* -----------------------------------------------------------------------------
   [04] Categorías — carrusel 2 filas
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-cats-in { position: relative; }
.prido-home-modern .phm-cat-nav { position: absolute; top: 0; right: var(--phm-wrap-pad); display: flex; gap: 8px; }
.prido-home-modern .phm-cat-rail {
	display: grid;
	grid-template-rows: repeat(2, auto);
	grid-auto-flow: column;
	grid-auto-columns: 256px;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 10px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.prido-home-modern .phm-cat-rail::-webkit-scrollbar { display: none; }
.prido-home-modern .phm-cat {
	scroll-snap-align: start;
	background: var(--phm-surface);
	border: 1px solid var(--phm-border-strong);
	border-radius: 12px;
	padding: 22px 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 128px;
	text-decoration: none;
	transition: border-color 160ms, transform 160ms, box-shadow 160ms;
}
.prido-home-modern .phm-cat:hover { border-color: var(--phm-acc); transform: translateY(-3px); box-shadow: var(--phm-shadow-sm); }
.prido-home-modern .phm-cat .n { font-size: 12px; color: var(--phm-fg-muted); font-variant-numeric: tabular-nums; }
.prido-home-modern .phm-cat .n b { font-size: 17px; color: var(--phm-acc-deep); font-weight: 600; }
.prido-home-modern .phm-cat .nm { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--phm-fg); flex: 1; }
.prido-home-modern .phm-cat .go { font-size: 12.5px; font-weight: 700; color: var(--phm-acc-deep); display: inline-flex; align-items: center; gap: 6px; }

/* -----------------------------------------------------------------------------
   [05] Más vendidos — grilla de cards
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-pgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.prido-home-modern .phm-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--phm-surface);
	border: 1px solid var(--phm-border-strong);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 160ms, transform 160ms, box-shadow 160ms;
}
.prido-home-modern .phm-pcard:hover { border-color: var(--phm-border-strong); transform: translateY(-4px); box-shadow: var(--phm-shadow-lift); }
.prido-home-modern .phm-pmedia {
	position: relative;
	aspect-ratio: 1;
	background: var(--phm-img-bg);
	overflow: hidden;
	display: block;
}
.prido-home-modern .phm-pmedia img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 420ms ease;
}
.prido-home-modern .phm-pcard:hover .phm-pmedia img { transform: scale(1.05); }
.prido-home-modern .phm-poff {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	background: var(--phm-promo);
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
}
:root[data-theme="dark"] .prido-home-modern .phm-poff { background: #c0392b; }
.prido-home-modern .phm-pcoupon {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.05em;
	background: var(--phm-acc-btn);
	color: #fff;
	padding: 4px 8px;
	border-radius: 999px;
}
.prido-home-modern .phm-pship {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 1;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	background: var(--phm-acc-soft);
	color: var(--phm-acc-deep);
	border: 1px solid var(--phm-acc-line);
	padding: 4px 8px;
	border-radius: 999px;
	backdrop-filter: blur(3px);
}
.prido-home-modern .phm-pbody { display: flex; flex-direction: column; flex: 1; gap: 5px; padding: 16px 17px 18px; }
.prido-home-modern .phm-pcat {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--phm-fg-muted);
	margin: 0;
}
.prido-home-modern .phm-pname {
	font-family: var(--prido-font-ui);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	margin: 0;
	flex: 1;
}
.prido-home-modern .phm-pname a { color: var(--phm-fg); text-decoration: none; transition: color 120ms; }
.prido-home-modern .phm-pname a:hover { color: var(--phm-acc-deep); }
.prido-home-modern .phm-pprice { display: flex; align-items: baseline; gap: 9px; margin-top: 6px; flex-wrap: wrap; }
.prido-home-modern .phm-pprice .was { font-size: 12.5px; color: var(--phm-fg-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.prido-home-modern .phm-pprice .was :is(.amount, bdi) { color: inherit; font-size: inherit; }
.prido-home-modern .phm-pprice .now { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--phm-fg); font-variant-numeric: tabular-nums; }
.prido-home-modern .phm-pprice .now :is(.amount, bdi) { color: inherit; font-size: inherit; font-weight: inherit; }
.prido-home-modern .phm-pgo {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 10px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--phm-acc-deep);
	text-decoration: none;
}
.prido-home-modern .phm-pgo svg { transition: transform 160ms; }
.prido-home-modern .phm-pcard:hover .phm-pgo svg { transform: translateX(3px); }

/* -----------------------------------------------------------------------------
   [06] Clientes — marquee de logos
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-clients {
	background: var(--phm-band);
	border-block: 1px solid var(--phm-border);
	padding: var(--phm-sec-pad) 0;
	margin-top: var(--phm-sec-pad);
}
.prido-home-modern .phm-clients .phm-sec-head { margin-bottom: 34px; }
.prido-home-modern .phm-mq {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.prido-home-modern .phm-mq-track {
	display: flex;
	align-items: center;
	gap: 72px;
	width: max-content;
	padding-block: 8px;
	animation: phm-mq-roll 38s linear infinite;
}
.prido-home-modern .phm-mq:hover .phm-mq-track { animation-play-state: paused; }
@keyframes phm-mq-roll { to { transform: translateX(calc(-50% - 36px)); } }
.prido-home-modern .phm-mq-track img {
	height: 34px;
	width: auto;
	max-width: none;
	flex-shrink: 0;
	filter: grayscale(1);
	opacity: 0.6;
	transition: filter 200ms, opacity 200ms;
}
.prido-home-modern .phm-mq-track img:hover { filter: none; opacity: 1; }
:root[data-theme="dark"] .prido-home-modern .phm-mq-track img { filter: grayscale(1) invert(1) brightness(1.5); opacity: 0.55; }
:root[data-theme="dark"] .prido-home-modern .phm-mq-track img:hover { opacity: 0.9; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .prido-home-modern .phm-mq-track img { filter: grayscale(1) invert(1) brightness(1.5); opacity: 0.55; }
	:root:not([data-theme="light"]) .prido-home-modern .phm-mq-track img:hover { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
	.prido-home-modern .phm-mq-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* -----------------------------------------------------------------------------
   [07] Destacados — filas editoriales
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-feat { display: flex; flex-direction: column; gap: var(--phm-sec-gap); }
.prido-home-modern .phm-f-row {
	display: grid;
	grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
	gap: 56px;
	align-items: center;
}
/* en las filas invertidas hay que invertir TAMBIÉN los anchos de columna:
   con solo order:2 la imagen caía en la columna del 42% (la del texto) y se
   veía más chica que en las filas normales */
.prido-home-modern .phm-f-row.flip { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
.prido-home-modern .phm-f-row.flip .phm-f-media { order: 2; }
.prido-home-modern .phm-f-media {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: var(--phm-img-bg);
	aspect-ratio: 16/10;
}
.prido-home-modern .phm-f-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 700ms ease;
}
.prido-home-modern .phm-f-row:hover .phm-f-media img { transform: scale(1.035); }
.prido-home-modern .phm-f-copy .phm-eyebrow { margin-bottom: 12px; }
.prido-home-modern .phm-f-h {
	font-family: var(--prido-font-heading);
	font-size: clamp(29px, 2.9vw, 38px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--phm-fg);
	margin: 0 0 14px;
}
.prido-home-modern .phm-f-copy > p {
	margin: 0 0 20px;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--phm-fg-2);
	text-wrap: pretty;
}
.prido-home-modern .phm-f-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.prido-home-modern .phm-f-list li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--phm-fg);
	line-height: 1.45;
}
.prido-home-modern .phm-f-list svg { flex-shrink: 0; margin-top: 2px; color: var(--phm-acc-deep); }

/* -----------------------------------------------------------------------------
   [08] Blog — tarjetas de texto
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prido-home-modern .phm-blog-card {
	background: var(--phm-surface);
	border: 1px solid var(--phm-border-strong);
	border-radius: 12px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: border-color 160ms, transform 160ms, box-shadow 160ms;
}
.prido-home-modern .phm-blog-card:hover { border-color: var(--phm-acc); transform: translateY(-3px); box-shadow: var(--phm-shadow-sm); }
.prido-home-modern .phm-b-meta { display: flex; align-items: center; gap: 12px; }
.prido-home-modern .phm-b-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: var(--phm-acc-soft);
	border: 1px solid var(--phm-acc-line);
	flex-shrink: 0;
}
.prido-home-modern .phm-b-date b { font-size: 19px; font-weight: 800; line-height: 1; color: var(--phm-acc-deep); font-variant-numeric: tabular-nums; }
.prido-home-modern .phm-b-date span { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--phm-acc-deep); }
.prido-home-modern .phm-b-cat {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--phm-fg-muted);
}
.prido-home-modern .phm-blog-card h3 {
	margin: 0;
	font-family: var(--prido-font-ui);
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.prido-home-modern .phm-blog-card h3 a { color: var(--phm-fg); text-decoration: none; transition: color 120ms; }
.prido-home-modern .phm-blog-card h3 a:hover { color: var(--phm-acc-deep); }
.prido-home-modern .phm-blog-card p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--phm-fg-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.prido-home-modern .phm-blog-card .phm-linkmore { font-size: 13px; }

/* -----------------------------------------------------------------------------
   [B2B] Banner corporativo editorial — render order 2 (archivo 09-b2b.php)
   Rediseño jun-2026 (Claude Design "Banner Empresas PRIDO"): panel ampliado
   tipo banner con brand lockup + fila de confianza. Panel ink fijo en ambos
   temas → colores on-ink hardcodeados.
   -------------------------------------------------------------------------- */
.prido-home-modern .phm-b2b { padding: 0; }
.prido-home-modern .phm-b2b-panel {
	position: relative;
	border-radius: 0;
	overflow: hidden;
	background: var(--phm-ink-panel);
	display: grid;
	grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
	align-items: stretch;
	min-height: clamp(420px, 37.5vw, 600px);
}
.prido-home-modern .phm-b2b-copy {
	padding: clamp(40px, 4.6vw, 76px);
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* brand lockup */
.prido-home-modern .phm-b2b-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.prido-home-modern .phm-b2b-brand img { height: 30px; width: auto; display: block; }
.prido-home-modern .phm-b2b-brand .phm-rule { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.2); }
.prido-home-modern .phm-b2b-copy .phm-eyebrow { color: color-mix(in srgb, var(--prido-secondary) 72%, #ffffff 28%); margin: 0; }

.prido-home-modern .phm-b2b-h {
	font-family: var(--prido-font-heading);
	color: #fff;
	font-size: clamp(34px, 4vw, 58px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.02;
	margin: 0 0 14px;
}
.prido-home-modern .phm-b2b-sub { color: rgba(255, 255, 255, 0.92); font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; margin: 0 0 16px; }
.prido-home-modern .phm-b2b-copy > p:not(.phm-b2b-sub) {
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(15px, 1.18vw, 18px);
	line-height: 1.65;
	margin: 0 0 30px;
	max-width: 52ch;
	text-wrap: pretty;
}
.prido-home-modern .phm-b2b-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.prido-home-modern .phm-b2b-cta .phm-btn-acc { padding: 16px 28px; font-size: 13.5px; }
.prido-home-modern .phm-b2b-tel {
	color: #fff;
	font-weight: 700;
	font-size: 14.5px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	padding: 13px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	text-decoration: none;
	transition: border-color 140ms;
}
.prido-home-modern .phm-b2b-tel:hover { border-color: #fff; color: #fff; }

/* fila de confianza (on-ink) */
.prido-home-modern .phm-b2b-trust {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-top: clamp(22px, 2.4vw, 34px);
	padding-top: clamp(18px, 2vw, 26px);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.prido-home-modern .phm-b2b-trust .phm-item {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: rgba(231, 240, 244, 0.82);
	white-space: nowrap;
}
.prido-home-modern .phm-b2b-trust .phm-item svg { width: 17px; height: 17px; color: #6CD4D0; flex: none; }
.prido-home-modern .phm-b2b-trust .phm-dot { width: 4px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.24); }

.prido-home-modern .phm-b2b-img { align-self: stretch; position: relative; min-height: 320px; }
.prido-home-modern .phm-b2b-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 42%; }
.prido-home-modern .phm-b2b-img::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to right, var(--phm-ink-panel) 4%, rgba(6, 15, 24, 0.35) 32%, transparent 56%);
}

/* -----------------------------------------------------------------------------
   Motion — reveals (respeta prefers-reduced-motion)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.prido-home-modern .phm-rv {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity 640ms ease, transform 640ms ease;
		transition-delay: var(--d, 0ms);
	}
	.prido-home-modern .phm-rv.in { opacity: 1; transform: none; }
}

/* -----------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.prido-home-modern .phm-pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.prido-home-modern .phm-blog-grid { grid-template-columns: repeat(2, 1fr); }
	.prido-home-modern .phm-f-row { gap: 36px; }
}

@media (max-width: 960px) {
	.prido-home-modern .phm-hero-in { grid-template-columns: 1fr; gap: 0; }
	.prido-home-modern .phm-hero-media {
		order: -1;
		align-self: auto;
		aspect-ratio: auto;
		height: clamp(320px, 48svh, 560px);
		margin: 0 calc(-1 * var(--phm-wrap-pad));
	}
	.prido-home-modern .phm-hs-img img {
		object-fit: cover;
	}
	.prido-home-modern .phm-hero-copy { padding: 40px 0 84px; min-height: 380px; }
	.prido-home-modern .phm-hs-txt { inset: 40px 0 84px; }
	.prido-home-modern .phm-hero-ctl { bottom: 22px; }
	.prido-home-modern .phm-trust-in { grid-template-columns: 1fr; }
	.prido-home-modern .phm-t-card { padding: 24px 28px; }
	.prido-home-modern .phm-ship-card { grid-template-columns: 1fr; gap: 24px; padding: 26px 28px; }
	.prido-home-modern .phm-tm-rail { grid-auto-columns: calc((100% - 22px) / 2); }
	.prido-home-modern .phm-tm-nav { display: none; }
	.prido-home-modern .phm-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.prido-home-modern .phm-f-row,
	.prido-home-modern .phm-f-row.flip { grid-template-columns: 1fr; gap: 24px; }
	.prido-home-modern .phm-f-row.flip .phm-f-media { order: 0; }
	.prido-home-modern .phm-b2b-panel { grid-template-columns: 1fr; }
	.prido-home-modern .phm-b2b-copy { padding: clamp(34px, 5vw, 44px) clamp(26px, 5vw, 36px); }
	.prido-home-modern .phm-b2b-img { min-height: 260px; order: -1; }
	.prido-home-modern .phm-b2b-img::before { background: linear-gradient(to top, var(--phm-ink-panel), transparent 55%); }
	.prido-home-modern .phm-cat-nav { display: none; }
}

@media (max-width: 640px) {
	.prido-home-modern .phm-hero-media { height: clamp(280px, 42svh, 440px); }
	.prido-home-modern .phm-hero-copy { min-height: 420px; }
	.prido-home-modern .phm-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.prido-home-modern .phm-pbody { padding: 13px 14px 15px; }
	.prido-home-modern .phm-pname { font-size: 14px; }
	.prido-home-modern .phm-blog-grid { grid-template-columns: 1fr; }
	.prido-home-modern .phm-cat-rail { grid-auto-columns: 218px; }
	.prido-home-modern .phm-tm-rail { grid-auto-columns: 86%; }
	.prido-home-modern .phm-b2b-copy { padding: 34px 24px; }
	.prido-home-modern .phm-mq-track { gap: 48px; }
	.prido-home-modern .phm-mq-track img { height: 26px; }
}

/* -----------------------------------------------------------------------------
   Modal de envíos (#modal-envios-home) — UX refinada.
   Sobrescribe los defaults del sistema de modales para este caso específico:
   centrado vertical real, animación suave y tamaño apropiado para texto.
   -------------------------------------------------------------------------- */
.prido-home-modern #modal-envios-home.prido-glass-overlay,
.prido-home-modern #modal-envios-home.prido-glass-overlay.is-active {
	align-items: center !important;
	justify-content: center !important;
	padding: clamp(18px, 4vw, 52px) !important;
	overflow: hidden !important;
}

.prido-home-modern #modal-envios-home .prido-glass-modal-content {
	width: min(100%, 560px) !important;
	max-width: 560px !important;
	max-height: min(84vh, 760px) !important;
	transform: translateY(16px) scale(0.98);
	opacity: 0;
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
	            opacity 220ms ease;
}

.prido-home-modern #modal-envios-home.prido-glass-overlay.is-active .prido-glass-modal-content {
	transform: translateY(0) scale(1);
	opacity: 1;
}

@media (max-width: 640px) {
	.prido-home-modern #modal-envios-home .prido-glass-modal-content {
		max-height: min(88vh, 760px) !important;
		padding: 26px !important;
	}
}
