/* ==========================================================================
   ROLDEG — main.css
   Paleta y tipografía tomadas del sitio Wix original.
   Todas las clases del sistema usan el prefijo .rg-
   ========================================================================== */

/* 1. TOKENS
   ------------------------------------------------------------------------ */
:root {
	/* Marca */
	--rg-green: #73b956;       /* verde principal (Wix color_18) */
	--rg-green-dark: #4b8035;  /* verde oscuro (color_19) */
	--rg-green-deep: #25401a;  /* verde muy oscuro (color_20) */
	--rg-green-soft: #d0e8c7;  /* verde claro (color_16) */
	--rg-lime: #a3cd57;        /* lima (color_32) */
	--rg-lime-dark: #7fa932;   /* lima oscuro (color_33) */

	/* Neutros */
	--rg-black: #000000;
	--rg-dark: #323232;
	--rg-gray: #5c5d5d;
	--rg-gray-mid: #808080;
	--rg-gray-light: #ececec;
	--rg-off: #eff1f2;
	--rg-white: #ffffff;

	/* Tipografía (Montserrat ~ titulares Wix, Josefin Sans ~ Brandon Grotesque Light, Nunito Sans ~ Avenir Light) */
	--rg-font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--rg-font-heading: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
	--rg-font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

	/* Escala */
	--rg-fs-xs: 0.8125rem;
	--rg-fs-sm: 0.9375rem;
	--rg-fs-base: 1.0625rem;
	--rg-fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
	--rg-fs-h4: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--rg-fs-h3: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
	--rg-fs-h2: clamp(2rem, 1.5rem + 2vw, 2.75rem);
	--rg-fs-h1: clamp(2.5rem, 1.8rem + 3vw, 4rem);
	--rg-fs-xl: clamp(3rem, 2rem + 5vw, 5.5rem);

	/* Layout */
	--rg-container: 1200px;
	--rg-container-narrow: 820px;
	--rg-container-wide: 1440px;
	--rg-gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
	--rg-section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
	--rg-gap: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
	--rg-radius: 14px;
	--rg-radius-pill: 999px;
	--rg-header-h: 96px;

	--rg-ease: cubic-bezier(.2, .7, .2, 1);
	--rg-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35);
}

/* 2. BASE
   ------------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--rg-header-h); }

body {
	margin: 0;
	font-family: var(--rg-font-body);
	font-size: var(--rg-fs-base);
	font-weight: 300;
	line-height: 1.7;
	color: var(--rg-black);
	background: var(--rg-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
svg { height: auto; }
a { color: var(--rg-green-dark); text-decoration: none; transition: color .2s var(--rg-ease); }
a:hover { color: var(--rg-green); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--rg-font-heading);
	font-weight: 300;
	line-height: 1.2;
	text-transform: uppercase;
	color: inherit;
}
h1 { font-size: var(--rg-fs-h1); }
h2 { font-size: var(--rg-fs-h2); }
h3 { font-size: var(--rg-fs-h3); }
h4 { font-size: var(--rg-fs-h4); }

::selection { background: var(--rg-lime); color: var(--rg-black); }

:focus-visible { outline: 2px solid var(--rg-lime); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rg-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--rg-lime); color: var(--rg-black); padding: .75rem 1rem; }
.rg-skip:focus { left: 1rem; top: 1rem; }

/* 3. HEADER
   ------------------------------------------------------------------------ */
.rg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--rg-black);
	color: var(--rg-white);
	transition: box-shadow .3s var(--rg-ease), background .3s var(--rg-ease);
}
.admin-bar .rg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rg-header { top: 46px; } }
.rg-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }

.rg-header__inner {
	max-width: var(--rg-container-wide);
	margin: 0 auto;
	padding: 0 var(--rg-gutter);
	min-height: var(--rg-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.rg-brand .custom-logo-link { display: block; }
.rg-brand .custom-logo { max-height: 72px; width: auto; transition: max-height .3s var(--rg-ease); }
.rg-header.is-scrolled .custom-logo { max-height: 56px; }

.rg-brand__text {
	display: inline-flex; align-items: baseline; flex-wrap: wrap;
	font-family: var(--rg-font-heading); font-weight: 400; font-size: 1.75rem;
	letter-spacing: .04em; color: var(--rg-white); line-height: 1;
}
.rg-brand__text:hover { color: var(--rg-white); }
.rg-brand__r { color: var(--rg-lime); font-weight: 600; }
.rg-brand__text small { flex-basis: 100%; font-size: .625rem; letter-spacing: .12em; text-transform: lowercase; color: rgba(255, 255, 255, .7); margin-top: .25rem; }

/* Nav */
.rg-nav { display: flex; align-items: center; gap: 2rem; }
.rg-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.75rem); }
.rg-menu li { position: relative; }
.rg-menu a {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .75rem 0;
	font-family: var(--rg-font-body); font-weight: 400; font-size: 1.0625rem;
	color: var(--rg-white);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
	text-decoration-color: rgba(255, 255, 255, .55);
}
.rg-menu a:hover,
.rg-menu .current-menu-item > a,
.rg-menu .current_page_item > a,
.rg-menu .current-menu-ancestor > a,
.rg-menu .current_page_ancestor > a { color: var(--rg-green); text-decoration-color: var(--rg-green); }

.rg-menu .menu-item-has-children > a::after,
.rg-menu .page_item_has_children > a::after {
	content: ""; width: 6px; height: 6px; margin-left: .15rem;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
}

.rg-menu .sub-menu,
.rg-menu .children {
	list-style: none; margin: 0; padding: .5rem 0;
	position: absolute; top: 100%; left: -1.25rem; min-width: 240px;
	background: var(--rg-black); border-top: 3px solid var(--rg-green);
	box-shadow: var(--rg-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s var(--rg-ease), transform .2s var(--rg-ease), visibility .2s;
}
.rg-menu li:hover > .sub-menu,
.rg-menu li:focus-within > .sub-menu,
.rg-menu li:hover > .children,
.rg-menu li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.rg-menu .sub-menu a,
.rg-menu .children a { display: block; padding: .6rem 1.25rem; font-size: .9375rem; text-decoration: none; }
.rg-menu .sub-menu a:hover,
.rg-menu .children a:hover { background: rgba(115, 185, 86, .12); }

/* Burger */
.rg-burger {
	display: none; width: 44px; height: 44px; padding: 10px; margin-right: -10px;
	background: none; border: 0; cursor: pointer; color: var(--rg-white);
	flex-direction: column; justify-content: center; gap: 6px;
}
.rg-burger > span:not(.screen-reader-text) { display: block; height: 2px; width: 100%; background: currentColor; transition: transform .3s var(--rg-ease), opacity .2s; }
.rg-burger[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
.rg-burger[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.rg-burger[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
	:root { --rg-header-h: 76px; }
	.rg-brand .custom-logo { max-height: 56px; }
	.rg-burger { display: flex; }
	.rg-nav {
		position: fixed; inset: var(--rg-header-h) 0 0 0;
		flex-direction: column; align-items: stretch; gap: 1.5rem;
		padding: 1.5rem var(--rg-gutter) 3rem;
		background: var(--rg-black); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .25s var(--rg-ease), transform .25s var(--rg-ease), visibility .25s;
	}
	.admin-bar .rg-nav { top: calc(var(--rg-header-h) + 46px); }
	.rg-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.rg-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.rg-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.rg-menu a { padding: 1rem 0; font-size: 1.25rem; text-decoration: none; width: 100%; justify-content: space-between; }
	.rg-menu .sub-menu,
	.rg-menu .children {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 .75rem 1rem; display: none; min-width: 0;
	}
	.rg-menu li.is-open > .sub-menu,
	.rg-menu li.is-open > .children { display: block; }
	.rg-menu .sub-menu a, .rg-menu .children a { padding: .55rem 0; font-size: 1.0625rem; color: rgba(255, 255, 255, .8); }
	.rg-header__cta { align-self: flex-start; }
	body.rg-nav-open { overflow: hidden; }
}

/* 4. LAYOUT DE CONTENIDO
   ------------------------------------------------------------------------ */
.rg-main { display: block; }

/* Lienzo: cada bloque directo es una sección a ancho completo */
.rg-main { min-height: 40vh; }
.rg-canvas-content > * { margin-top: 0; margin-bottom: 0; }
.rg-canvas-content > p:empty { display: none; }
.rg-empty { border: 2px dashed #c9cdd0; margin: 2rem var(--rg-gutter); border-radius: var(--rg-radius); }

/* Elementor: secciones a ancho completo sin padding/gap por defecto */
.rg-canvas-content .elementor .e-con,
.rg-canvas-content .elementor .e-con-inner { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0; --row-gap: 0; --column-gap: 0; --container-max-width: 100%; --content-width: 100%; }
.rg-canvas-content .elementor .elementor-widget-html,
.rg-canvas-content .elementor .elementor-widget-html > .elementor-widget-container { width: 100%; margin: 0; padding: 0; }
.rg-canvas-content .elementor-section.elementor-section-boxed > .elementor-container { max-width: 100%; }
.rg-canvas-content .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0; }
.rg-canvas-content .elementor-widget:not(:last-child) { margin-bottom: 0; }

/* Que el kit global de Elementor no pise la tipografía del tema */
body[class*="elementor-kit-"] { font-family: var(--rg-font-body); color: var(--rg-black); }

.rg-container { width: 100%; max-width: var(--rg-container); margin-inline: auto; padding-inline: var(--rg-gutter); }
.rg-container--narrow { max-width: var(--rg-container-narrow); }
.rg-container--wide { max-width: var(--rg-container-wide); }
.rg-container--full { max-width: none; }

.rg-section { position: relative; padding-block: var(--rg-section-y); }
.rg-section--sm { padding-block: calc(var(--rg-section-y) * .55); }
.rg-section--lg { padding-block: calc(var(--rg-section-y) * 1.4); }
.rg-section--flush { padding-block: 0; }
.rg-section--top0 { padding-top: 0; }
.rg-section--bottom0 { padding-bottom: 0; }

/* Fondos */
.rg-bg-black { background: var(--rg-black); color: var(--rg-white); }
.rg-bg-dark  { background: var(--rg-dark); color: var(--rg-white); }
.rg-bg-green { background: var(--rg-green); color: var(--rg-black); }
.rg-bg-green-dark { background: var(--rg-green-dark); color: var(--rg-white); }
.rg-bg-lime  { background: var(--rg-lime); color: var(--rg-black); }
.rg-bg-soft  { background: var(--rg-green-soft); }
.rg-bg-light { background: var(--rg-off); }
.rg-bg-white { background: var(--rg-white); }

/* Fondo con imagen: style="--rg-bg:url('...')" */
.rg-bg-image {
	background-image: var(--rg-bg);
	background-size: cover; background-position: center;
	color: var(--rg-white); isolation: isolate;
}
.rg-bg-image::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(0, 0, 0, var(--rg-overlay, .45));
}
.rg-bg-fixed { background-attachment: fixed; }
@media (hover: none) { .rg-bg-fixed { background-attachment: scroll; } }

/* Texto */
.rg-center { text-align: center; }
.rg-center .rg-btn-row { justify-content: center; }
.rg-right { text-align: right; }
.rg-text-green { color: var(--rg-green) !important; }
.rg-text-lime { color: var(--rg-lime) !important; }
.rg-text-white { color: var(--rg-white) !important; }
.rg-text-black { color: var(--rg-black) !important; }
.rg-text-muted { color: var(--rg-gray) !important; }
.rg-bg-black .rg-text-muted, .rg-bg-dark .rg-text-muted { color: rgba(255, 255, 255, .7) !important; }

/* Titular de marca: bold, mayúsculas, tracking amplio (como "ORGÁNICOS", "CONTÁCTANOS") */
.rg-title {
	font-family: var(--rg-font-display);
	font-weight: 800;
	font-size: var(--rg-fs-h2);
	letter-spacing: .18em;
	text-transform: uppercase;
	line-height: 1.15;
	margin: 0 0 .6em;
}
.rg-title--xl { font-size: var(--rg-fs-xl); letter-spacing: .12em; }
.rg-title--lg { font-size: var(--rg-fs-h1); }
.rg-title--md { font-size: var(--rg-fs-h3); }
.rg-title--sm { font-size: var(--rg-fs-h4); letter-spacing: .22em; }

/* Subtítulo ligero (como "DATOS Y CIFRAS", "EXPORTAMOS A MÁS DE 9 PAÍSES") */
.rg-heading {
	font-family: var(--rg-font-heading);
	font-weight: 300;
	text-transform: uppercase;
	line-height: 1.25;
	letter-spacing: .02em;
	margin: 0 0 .5em;
}
.rg-heading--xl { font-size: var(--rg-fs-h1); }
.rg-heading--lg { font-size: var(--rg-fs-h2); }
.rg-heading--md { font-size: var(--rg-fs-h3); }
.rg-heading--sm { font-size: var(--rg-fs-h4); }

.rg-eyebrow {
	display: inline-block;
	font-family: var(--rg-font-display); font-weight: 600; font-size: var(--rg-fs-xs);
	letter-spacing: .28em; text-transform: uppercase; margin-bottom: 1rem;
}
.rg-lead { font-size: var(--rg-fs-lead); line-height: 1.65; }
.rg-measure { max-width: 62ch; }
.rg-center .rg-measure { margin-inline: auto; }

.rg-divider { width: 64px; height: 3px; background: var(--rg-green); border: 0; margin: 1.5rem 0; }
.rg-center .rg-divider { margin-inline: auto; }
.rg-bg-green .rg-divider, .rg-bg-lime .rg-divider { background: var(--rg-black); }

/* 5. BOTONES — píldora negra, texto tracked + flecha (estilo Wix)
   ------------------------------------------------------------------------ */
.rg-btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.rg-btn {
	--btn-bg: var(--rg-black); --btn-fg: var(--rg-white); --btn-bd: var(--rg-black);
	display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem;
	padding: 1.15rem 2.5rem;
	font-family: var(--rg-font-display); font-weight: 700; font-size: .9375rem;
	letter-spacing: .3em; text-transform: uppercase; line-height: 1;
	color: var(--btn-fg) !important; background: var(--btn-bg);
	border: 2px solid var(--btn-bd); border-radius: var(--rg-radius-pill);
	cursor: pointer; text-decoration: none !important;
	transition: transform .25s var(--rg-ease), background .25s var(--rg-ease), color .25s var(--rg-ease), border-color .25s var(--rg-ease);
}
.rg-btn svg { width: 48px; flex: none; transition: transform .3s var(--rg-ease); }
.rg-btn:hover { --btn-bg: var(--rg-green); --btn-bd: var(--rg-green); --btn-fg: var(--rg-black); }
.rg-btn:hover svg { transform: translateX(6px); }
.rg-btn:active { transform: scale(.98); }

.rg-btn--green { --btn-bg: var(--rg-green); --btn-bd: var(--rg-green); --btn-fg: var(--rg-black); }
.rg-btn--green:hover { --btn-bg: var(--rg-white); --btn-bd: var(--rg-white); }
.rg-btn--lime { --btn-bg: var(--rg-lime); --btn-bd: var(--rg-lime); --btn-fg: var(--rg-black); }
.rg-btn--lime:hover { --btn-bg: var(--rg-black); --btn-bd: var(--rg-black); --btn-fg: var(--rg-white); }
.rg-btn--white { --btn-bg: var(--rg-white); --btn-bd: var(--rg-white); --btn-fg: var(--rg-black); }
.rg-btn--outline { --btn-bg: transparent; --btn-bd: currentColor; --btn-fg: currentColor; }
.rg-bg-black .rg-btn--outline, .rg-bg-dark .rg-btn--outline, .rg-bg-image .rg-btn--outline { --btn-fg: var(--rg-white); --btn-bd: var(--rg-white); }
.rg-btn--outline:hover { --btn-bg: var(--rg-green); --btn-bd: var(--rg-green); --btn-fg: var(--rg-black); }
.rg-btn--sm { padding: .8rem 1.5rem; font-size: .75rem; letter-spacing: .22em; gap: .75rem; }
.rg-btn--sm svg { width: 32px; }
.rg-btn--lg { padding: 1.6rem 3.25rem; font-size: clamp(1rem, .8rem + .8vw, 1.375rem); letter-spacing: .35em; }
.rg-btn--block { display: flex; width: 100%; }

/* Enlace con flecha */
.rg-link {
	display: inline-flex; align-items: center; gap: .75rem;
	font-family: var(--rg-font-display); font-weight: 700; font-size: .8125rem;
	letter-spacing: .22em; text-transform: uppercase; color: inherit;
}
.rg-link svg { width: 36px; transition: transform .3s var(--rg-ease); }
.rg-link:hover { color: var(--rg-green); }
.rg-link:hover svg { transform: translateX(6px); }

/* 6. GRIDS
   ------------------------------------------------------------------------ */
.rg-grid { display: grid; gap: var(--rg-gap); }
.rg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rg-grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rg-grid--gap0 { gap: 0; }
.rg-grid--middle { align-items: center; }

@media (max-width: 1024px) {
	.rg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.rg-grid--2, .rg-grid--3, .rg-grid--4 { grid-template-columns: 1fr; }
}

/* Split: imagen + texto */
.rg-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--rg-gap); }
.rg-split--60 { grid-template-columns: 3fr 2fr; }
.rg-split--40 { grid-template-columns: 2fr 3fr; }
.rg-split--flush { gap: 0; align-items: stretch; }
.rg-split--reverse > :first-child { order: 2; }
@media (max-width: 860px) {
	.rg-split, .rg-split--60, .rg-split--40 { grid-template-columns: 1fr; }
	.rg-split--reverse > :first-child { order: 0; }
}

.rg-pad { padding: clamp(2rem, 1rem + 4vw, 5rem); }

/* 7. COMPONENTES
   ------------------------------------------------------------------------ */

/* Hero */
.rg-hero {
	position: relative; display: flex; align-items: center;
	min-height: clamp(460px, 78vh, 820px);
	padding-block: var(--rg-section-y);
	overflow: hidden;
}
.rg-hero--short { min-height: clamp(320px, 48vh, 520px); }
.rg-hero__media { position: absolute; inset: 0; z-index: -2; }
.rg-hero__media img, .rg-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.rg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, var(--rg-overlay, .35)); }
.rg-hero { isolation: isolate; color: var(--rg-white); }
.rg-hero__logo { width: clamp(140px, 22vw, 300px); margin-bottom: 1.5rem; }

/* Media / imágenes */
.rg-media { position: relative; overflow: hidden; border-radius: var(--rg-radius); }
.rg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rg-ease); }
.rg-media--square { aspect-ratio: 1; }
.rg-media--wide { aspect-ratio: 16 / 9; }
.rg-media--tall { aspect-ratio: 4 / 5; }
.rg-media--fill { height: 100%; min-height: 320px; border-radius: 0; }
.rg-media--zoom:hover img { transform: scale(1.05); }
.rg-rounded { border-radius: var(--rg-radius); }
.rg-shadow { box-shadow: var(--rg-shadow); }

/* Tile de producto (ORGÁNICOS / 100% NATURAL) */
.rg-product-tile {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
	padding: clamp(2rem, 1rem + 4vw, 4.5rem) var(--rg-gutter);
	text-align: center; color: inherit; overflow: hidden;
}
.rg-product-tile img { width: min(320px, 70%); transition: transform .6s var(--rg-ease); }
.rg-product-tile:hover img { transform: translateY(-8px) rotate(-3deg); }

/* Stats / cifras */
.rg-stat { display: flex; flex-direction: column; gap: 1.25rem; }
.rg-stat__icon { width: auto; height: 96px; object-fit: contain; align-self: flex-start; }
.rg-center .rg-stat__icon, .rg-stat--center .rg-stat__icon { align-self: center; }
.rg-stat--center { text-align: center; align-items: center; }
.rg-stat__number {
	font-family: var(--rg-font-display); font-weight: 800; line-height: 1;
	font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); letter-spacing: .02em; color: var(--rg-green);
}
.rg-stat__label { font-family: var(--rg-font-heading); font-weight: 300; font-size: var(--rg-fs-h3); text-transform: uppercase; line-height: 1.25; margin: 0; }

/* Bloques alternos negro / lima (estilo "Datos y cifras" Wix) */
.rg-tiles { display: grid; grid-template-columns: 1fr 1fr; }
.rg-tiles > * { padding: clamp(2rem, 1rem + 4vw, 5rem); min-height: 280px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) { .rg-tiles { grid-template-columns: 1fr; } .rg-tiles > * { min-height: 0; } }

/* Card */
.rg-card { display: flex; flex-direction: column; background: var(--rg-white); color: var(--rg-black); border-radius: var(--rg-radius); overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 30px -18px rgba(0,0,0,.25); transition: transform .3s var(--rg-ease), box-shadow .3s var(--rg-ease); }
.rg-card:hover { transform: translateY(-4px); box-shadow: var(--rg-shadow); }
.rg-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rg-off); }
.rg-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rg-card__media--contain img { object-fit: contain; padding: 1.5rem; }
.rg-card__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.rg-card__title { font-family: var(--rg-font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.rg-card__title a { color: inherit; }
.rg-card__meta { font-size: var(--rg-fs-sm); color: var(--rg-gray); }
.rg-card .rg-link { margin-top: auto; padding-top: .75rem; }

/* Tabla de especificaciones de producto */
.rg-specs { width: 100%; border-collapse: collapse; font-size: var(--rg-fs-sm); }
.rg-specs th, .rg-specs td { text-align: left; padding: .75rem 0; border-bottom: 1px solid rgba(0, 0, 0, .1); vertical-align: top; }
.rg-specs th { font-family: var(--rg-font-display); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; width: 40%; }
.rg-bg-black .rg-specs th, .rg-bg-black .rg-specs td { border-color: rgba(255, 255, 255, .15); }

/* Lista con check */
.rg-checklist { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .75rem; }
.rg-checklist li { position: relative; padding-left: 2rem; }
.rg-checklist li::before {
	content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: .6rem;
	border-left: 2.5px solid var(--rg-green); border-bottom: 2.5px solid var(--rg-green);
	transform: rotate(-45deg) translateY(-2px);
}
.rg-bg-green .rg-checklist li::before, .rg-bg-lime .rg-checklist li::before { border-color: var(--rg-black); }

/* Logos de certificaciones */
.rg-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.rg-logos img { height: clamp(56px, 4rem + 2vw, 110px); width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.rg-logos img:hover, .rg-logos--color img { filter: none; opacity: 1; }

/* Bloque de contacto */
.rg-contact-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; }
.rg-contact-list li { display: flex; align-items: center; gap: .85rem; }
.rg-contact-list svg { width: 22px; height: 22px; color: var(--rg-green); flex: none; }
.rg-contact-list a { color: inherit; }
.rg-contact-list a:hover { color: var(--rg-green); }

/* Social */
.rg-social { list-style: none; margin: 0; padding: 0; display: flex; gap: .75rem; }
.rg-center .rg-social { justify-content: center; }
.rg-social a {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	border-radius: 50%; border: 1px solid currentColor; color: inherit;
	transition: background .2s, color .2s, border-color .2s;
}
.rg-social a:hover { background: var(--rg-green); border-color: var(--rg-green); color: var(--rg-black); }
.rg-social svg { width: 18px; height: 18px; }

/* Formularios (CF7, WPForms, Fluent) */
.rg-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.rg-form select,
.rg-form textarea,
.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7 select,
.wpcf7 textarea {
	width: 100%; padding: .95rem 1.1rem;
	font: inherit; font-weight: 400; color: var(--rg-black);
	background: var(--rg-white); border: 1px solid #cfd3d5; border-radius: 10px;
	transition: border-color .2s, box-shadow .2s;
}
.rg-form textarea, .wpcf7 textarea { min-height: 150px; resize: vertical; }
.rg-form :is(input, select, textarea):focus,
.wpcf7 :is(input, select, textarea):focus { outline: none; border-color: var(--rg-green); box-shadow: 0 0 0 3px rgba(115, 185, 86, .25); }
.rg-form label, .wpcf7 label { display: block; font-weight: 600; font-size: var(--rg-fs-sm); margin-bottom: .35rem; }
.rg-form [type="submit"], .wpcf7 [type="submit"] {
	padding: 1.1rem 2.5rem; border: 0; border-radius: var(--rg-radius-pill); cursor: pointer;
	font-family: var(--rg-font-display); font-weight: 700; font-size: .875rem; letter-spacing: .3em; text-transform: uppercase;
	background: var(--rg-black); color: var(--rg-white); transition: background .2s, color .2s;
}
.rg-form [type="submit"]:hover, .wpcf7 [type="submit"]:hover { background: var(--rg-green); color: var(--rg-black); }
.rg-bg-black .rg-form [type="submit"], .rg-bg-black .wpcf7 [type="submit"] { background: var(--rg-green); color: var(--rg-black); }

/* Mapa / embed */
.rg-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--rg-radius); }
.rg-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Espaciadores */
.rg-mt-0 { margin-top: 0 !important; } .rg-mt-1 { margin-top: 1rem !important; } .rg-mt-2 { margin-top: 2rem !important; } .rg-mt-3 { margin-top: 3rem !important; }
.rg-mb-0 { margin-bottom: 0 !important; } .rg-mb-1 { margin-bottom: 1rem !important; } .rg-mb-2 { margin-bottom: 2rem !important; } .rg-mb-3 { margin-bottom: 3rem !important; }

/* Visibilidad responsive */
@media (max-width: 760px) { .rg-hide-mobile { display: none !important; } }
@media (min-width: 761px) { .rg-hide-desktop { display: none !important; } }

/* 8. PÁGINAS DE TEXTO
   ------------------------------------------------------------------------ */
.rg-pagehead { background: var(--rg-black); color: var(--rg-white); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-bottom: 6px solid var(--rg-lime); }
.rg-pagehead .rg-title { margin: 0; }

.rg-prose { max-width: var(--rg-container-narrow); }
.rg-prose h2 { font-size: var(--rg-fs-h3); margin-top: 2em; }
.rg-prose h3 { font-size: var(--rg-fs-h4); margin-top: 1.75em; }
.rg-prose ul, .rg-prose ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.rg-prose li { margin-bottom: .4em; }
.rg-prose a { text-decoration: underline; text-underline-offset: 3px; }
.rg-prose img { border-radius: var(--rg-radius); }
.rg-feature { margin: 0 0 2rem; }

.rg-pagination .nav-links { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.rg-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: var(--rg-radius-pill); border: 1px solid #ddd; color: var(--rg-black); }
.rg-pagination .page-numbers.current, .rg-pagination .page-numbers:hover { background: var(--rg-black); color: var(--rg-white); border-color: var(--rg-black); }

.rg-404 { min-height: 60vh; display: flex; align-items: center; }

/* 9. FOOTER
   ------------------------------------------------------------------------ */
.rg-footer { color: var(--rg-white); background: var(--rg-black); }
.rg-footer__band { height: 56px; background: var(--rg-lime); }
.rg-footer__main { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.rg-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--rg-gap); align-items: start; }
.rg-footer__brand .custom-logo { max-height: 90px; width: auto; margin-bottom: 1rem; }
.rg-footer__logo { display: inline-block; }
.rg-footer__logo img { max-height: 110px; width: auto; transition: opacity .2s; }
.rg-footer__logo:hover img { opacity: .85; }
.rg-footer__brand p { color: rgba(255, 255, 255, .65); font-size: var(--rg-fs-sm); max-width: 32ch; margin-top: .75rem; }
.rg-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; font-size: var(--rg-fs-sm); }
.rg-footer__contact li { display: flex; align-items: center; gap: .75rem; }
.rg-footer__contact svg { width: 20px; height: 20px; color: var(--rg-green); flex: none; }
.rg-footer a { color: var(--rg-white); }
.rg-footer a:hover { color: var(--rg-green); }
.rg-footer__nav { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-end; }
.rg-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; text-align: right; font-size: var(--rg-fs-sm); }
.rg-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.25rem; font-size: var(--rg-fs-xs); color: rgba(255, 255, 255, .6); }
.rg-footer__bottom .rg-container { display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
	.rg-footer__grid { grid-template-columns: 1fr; }
	.rg-footer__nav { align-items: flex-start; }
	.rg-footer__menu { text-align: left; }
	.rg-footer__bottom .rg-container { justify-content: flex-start; }
}

/* 10. ANIMACIÓN DE ENTRADA (añadir .rg-reveal a cualquier elemento)
   ------------------------------------------------------------------------ */
.rg-js .rg-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--rg-ease), transform .8s var(--rg-ease); transition-delay: var(--rg-delay, 0s); }
.rg-js .rg-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rg-js .rg-reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 11. EDITOR (vista previa en Gutenberg)
   ------------------------------------------------------------------------ */
.editor-styles-wrapper { font-family: var(--rg-font-body); }
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block-html { max-width: none; }
