/* ROA Mejoras 2026: solo se carga en vista previa o una vez activado. */

/* Una sola familia: fuera la tipografía de máquina. */
.roa-mejoras .roa-eyebrow,
.roa-mejoras .roa-tech-label,
.roa-mejoras .roa-spec,
.roa-mejoras .roa-sheet,
.roa-mejoras .roa-top,
.roa-mejoras .roa-tech input,
.roa-mejoras .roa-tech select,
.roa-mejoras .roa-hero-photo figcaption,
.roa-mejoras .roa-route-code,
.roa-mejoras .roa-brief-phone {
	font-family: 'Public Sans', system-ui, sans-serif;
	letter-spacing: normal;
}
.roa-mejoras .roa-tech-label { display: none; }
.roa-mejoras .roa-eyebrow { text-transform: none; }

/* Texto y zonas de toque en móvil. */
@media (max-width: 700px) {
	.roa-mejoras { font-size: 17px; }
	.roa-mejoras .roa-button,
	.roa-mejoras input,
	.roa-mejoras select,
	.roa-mejoras textarea { min-height: 44px; }
	.roa-mejoras .roa-button { font-size: 15px; }
}

/* Botón secundario en contorno. */
.roa-button.roa-button-outline {
	background: transparent;
	border-color: var(--roa-green);
	color: var(--roa-green) !important;
}
.roa-button.roa-button-outline:hover { background: var(--roa-paper); }

/* Inicio corto. */
.roa-home-2026 { --roa26-dark: #163a26; --roa26-accent: #8cc63f; background: #fff; }
.roa-home-2026 img { display: block; max-width: 100%; }
.roa26-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--roa-green); }
.roa26-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 6px; font-weight: 700; font-size: 16px; text-decoration: none !important; transition: transform .2s, background .2s, box-shadow .2s; }
.roa26-btn span { transition: transform .2s; }
.roa26-btn:hover { transform: translateY(-2px); }
.roa26-btn:hover span { transform: translateX(3px); }
.roa26-btn-primary { background: var(--roa26-accent); color: var(--roa26-dark) !important; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.roa26-btn-primary:hover { background: #a0d65a; }
.roa26-btn-ghost { border: 2px solid rgba(255,255,255,.85); color: #fff !important; }
.roa26-btn-ghost:hover { background: rgba(255,255,255,.12); }
.roa26-btn-light { background: #fff; color: var(--roa26-dark) !important; }

/* Portada a toda anchura. */
.roa26-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--roa26-dark); }
.roa26-hero-media, .roa26-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.roa26-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,40,25,.92) 0%, rgba(14,40,25,.7) 45%, rgba(14,40,25,.15) 100%), linear-gradient(0deg, rgba(14,40,25,.6), transparent 50%); }
.roa26-hero-inner { position: relative; z-index: 1; padding-block: 120px 96px; max-width: 1200px; }
.roa26-hero .roa26-kicker { color: var(--roa26-accent); }
.roa26-hero h1 { margin: 0 0 20px; max-width: 13ch; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.02em; font-weight: 700; color: #fff; }
.roa26-lead { max-width: 52ch; margin: 0 0 32px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: rgba(255,255,255,.88); }
.roa26-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Cifras. */
.roa26-stats { position: relative; z-index: 2; margin-top: -48px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(18,45,34,.14); overflow: hidden; }
.roa26-stats div { padding: 28px 26px; border-left: 1px solid var(--roa-line); }
.roa26-stats div:first-child { border-left: 0; }
.roa26-stats strong { display: block; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--roa-green); letter-spacing: -.02em; }
.roa26-stats span { display: block; margin-top: 8px; color: var(--roa-muted); font-size: 15px; line-height: 1.4; }

/* Secciones. */
.roa26-section { padding-block: 96px 0; }
.roa26-head { margin-bottom: 36px; }
.roa26-head h2, .roa26-why h2, .roa26-contact h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.02em; color: var(--roa-ink); }

/* Mosaico de servicios. */
.roa26-tiles { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 620px; }
.roa26-tile { position: relative; display: block; overflow: hidden; border-radius: 10px; color: #fff !important; text-decoration: none !important; background: var(--roa26-dark); min-height: 280px; }
.roa26-tile-big { grid-row: span 2; }
.roa26-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--roa-ease); }
.roa26-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,32,20,.9) 0%, rgba(10,32,20,.35) 55%, rgba(10,32,20,.05) 100%); }
.roa26-tile:hover img { transform: scale(1.05); }
.roa26-tile-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; }
.roa26-tile h3 { margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 30px); color: #fff; }
.roa26-tile p { margin: 0 0 14px; max-width: 42ch; color: rgba(255,255,255,.85); line-height: 1.5; }
.roa26-more { font-weight: 700; color: var(--roa26-accent); }

.roa26-tile-light { background: #eef4e6; color: var(--roa-ink) !important; display: flex; flex-direction: column; }
.roa26-tile-light::after { display: none; }
.roa26-tile-light h3 { color: var(--roa-ink); }
.roa26-tile-light p { color: var(--roa-muted); }
.roa26-tile-light .roa26-more { color: var(--roa-green); }
.roa26-tile-light .roa26-tile-text { position: relative; padding-top: 0; }
.roa26-products { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: center; padding: 24px 28px 12px; }
.roa26-products span { aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-radius: 8px; box-shadow: 0 4px 14px rgba(18,45,34,.08); transition: transform .3s var(--roa-ease); }
.roa26-products img { position: static; width: 78%; height: 78%; object-fit: contain; }
.roa26-tile-light:hover .roa26-products span { transform: translateY(-3px); }
.roa26-tile-light:hover img { transform: none; }
@media (max-width: 600px) { .roa26-products { grid-template-columns: repeat(3, 1fr); } }

/* Por qué nosotros. */
.roa26-why { margin-top: 96px; padding-block: 96px; background: var(--roa26-dark); color: rgba(255,255,255,.85); }
.roa26-why h2 { color: #fff; margin-bottom: 28px; }
.roa26-why .roa26-kicker { color: var(--roa26-accent); }
.roa26-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.roa26-why-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.roa26-why-list { list-style: none; counter-reset: why; margin: 0 0 32px; padding: 0; }
.roa26-why-list li { counter-increment: why; position: relative; padding: 16px 0 16px 56px; border-top: 1px solid rgba(255,255,255,.14); line-height: 1.5; }
.roa26-why-list li::before { content: counter(why, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-weight: 700; color: var(--roa26-accent); }
.roa26-why-list strong { color: #fff; }

/* Galería. */
.roa26-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.roa26-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 8px; }
.roa26-gallery .roa26-g1 { grid-column: span 2; grid-row: span 2; }
.roa26-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--roa-ease); }
.roa26-gallery figure:hover img { transform: scale(1.05); }
.roa26-gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--roa-ink); font-size: 14px; font-weight: 600; }

/* Contacto. */
.roa26-contact { margin-block: 96px; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; border-radius: 14px; background: linear-gradient(120deg, var(--roa-green), var(--roa26-dark)); color: rgba(255,255,255,.88); }
.roa26-contact h2 { color: #fff; margin-bottom: 12px; }
.roa26-contact p { margin: 0 0 16px; }
.roa26-contact a:not(.roa26-btn) { color: #fff; }
.roa26-phone { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -.01em; text-decoration: none; margin-bottom: 8px; }

/* La franja de contacto del pie repetiría la de arriba. */
.roa-mejoras.home .roa-contact-band { display: none; }

@media (max-width: 900px) {
	.roa26-stats { grid-template-columns: 1fr 1fr; }
	.roa26-stats div:nth-child(3) { border-left: 0; }
	.roa26-stats div:nth-child(n+3) { border-top: 1px solid var(--roa-line); }
	.roa26-tiles { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
	.roa26-tile-big { grid-row: auto; min-height: 380px; }
	.roa26-why-grid, .roa26-contact { grid-template-columns: 1fr; gap: 32px; }
	.roa26-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}
@media (max-width: 600px) {
	.roa26-hero { min-height: 640px; }
	.roa26-hero::after { background: linear-gradient(0deg, rgba(14,40,25,.95) 0%, rgba(14,40,25,.75) 55%, rgba(14,40,25,.3) 100%); }
	.roa26-hero-inner { padding-block: 96px 88px; }
	.roa26-cta { display: grid; }
	.roa26-btn { justify-content: center; }
	.roa26-stats div { padding: 20px 16px; }
	.roa26-section { padding-top: 64px; }
	.roa26-why { margin-top: 64px; padding-block: 64px; }
	.roa26-contact { margin-block: 64px; padding: 32px 24px; border-radius: 0; margin-inline: -16px; }
}

/* Banner de cookies más bajo. Aceptar y Rechazar quedan al mismo nivel (criterio de la AEPD);
   solo Configurar pasa a enlace. */
.roa-mejoras #cookie-law-info-bar { padding: 10px 16px !important; font-size: 14px; }
.roa-mejoras #cookie-law-info-bar #cookie_action_close_header_reject {
	background: transparent !important;
	color: var(--roa-green) !important;
	border: 1px solid var(--roa-green) !important;
}
.roa-mejoras #cookie-law-info-bar .cli_settings_button {
	background: transparent !important;
	color: inherit !important;
	text-decoration: underline;
	box-shadow: none;
}
