/* ==========================================================================
   SOTO RESIDENCIAL · Sistema visual
   --------------------------------------------------------------------------
   1. Tokens de marca           6. Hero
   2. Base y tipografía          7. Secciones de la landing
   3. Estructura Divi            8. Theme Builder: cabecera y pie
   4. Utilidades                 9. Páginas legales
   5. Botones Divi              10. Movimiento / accesibilidad
   Móvil primero: los estilos base son para móvil; se amplían con min-width.
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
	/* Colores corporativos */
	--sr-green: #61a60e;          /* Verde claro corporativo */
	--sr-teal: #003032;           /* Verde oscuro corporativo */
	/* Derivados (contraste AA verificado) */
	--sr-green-text: #3e720a;     /* verde para texto sobre claro (5,2:1 sobre crema) */
	--sr-green-soft: #e8f2da;
	--sr-green-light: #86c43a;    /* verde para texto sobre --sr-teal-2 (5,2:1) */
	--sr-teal-2: #0b4447;
	--sr-teal-3: #00262a;
	--sr-cream: #f6f3ec;
	--sr-sand: #ebe4d6;
	--sr-white: #ffffff;
	--sr-ink: #1f3436;            /* texto principal (11:1) */
	--sr-muted: #536b6c;          /* texto secundario (5,1:1) */
	--sr-on-dark: #dce7e6;        /* texto secundario sobre oscuro */
	--sr-line: rgba(0, 48, 50, .12);
	--sr-line-dark: rgba(255, 255, 255, .16);

	/* Tipografía (Adobe Fonts) */
	--sr-font: "proxima-nova", "Proxima Nova", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--sr-fs-body: 1.0625rem;      /* 17px */
	--sr-fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
	--sr-fs-h1: clamp(2.35rem, 1.5rem + 3.9vw, 4.5rem);
	--sr-fs-h2: clamp(1.9rem, 1.35rem + 2.3vw, 3.2rem);
	--sr-fs-h3: clamp(1.15rem, 1.08rem + .3vw, 1.35rem);

	/* Espaciado y forma */
	--sr-maxw: 1240px;
	--sr-gutter: clamp(20px, 4vw, 40px);
	--sr-sec: clamp(64px, 9vw, 128px);
	--sr-radius: 18px;
	--sr-radius-sm: 10px;
	--sr-shadow: 0 24px 60px -28px rgba(0, 48, 50, .45);
	--sr-shadow-sm: 0 10px 30px -18px rgba(0, 48, 50, .4);
	--sr-header-h: 72px;
	--sr-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body,
body.et_divi_theme {
	font-family: var(--sr-font);
	font-size: var(--sr-fs-body);
	font-weight: 400;
	line-height: 1.65;
	color: var(--sr-ink);
	background: var(--sr-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body h1, body h2, body h3, body h4, body h5, body h6,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3, .et_pb_module h4 {
	font-family: var(--sr-font);
	color: var(--sr-teal);
	padding-bottom: 0;
	margin: 0 0 .5em;
	text-wrap: balance;
}
body h1, .et_pb_module h1 { font-size: var(--sr-fs-h1); font-weight: 300; line-height: 1.04; letter-spacing: -.025em; }
body h2, .et_pb_module h2 { font-size: var(--sr-fs-h2); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
body h3, .et_pb_module h3 { font-size: var(--sr-fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
h1 strong, h2 strong { font-weight: 600; }

body p { padding-bottom: 0; margin: 0 0 1em; }
body p:last-child { margin-bottom: 0; }
.et_pb_text_inner > *:last-child { margin-bottom: 0; }
body strong, body b { font-weight: 600; }

a { color: var(--sr-green-text); text-underline-offset: .18em; }
a:hover { color: var(--sr-teal); }

::selection { background: var(--sr-green); color: var(--sr-teal); }

/* Foco visible y consistente (teclado) */
:focus { outline: none; }
:focus-visible {
	outline: 3px solid var(--sr-green);
	outline-offset: 3px;
	border-radius: 4px;
}
.sr-sec--teal :focus-visible, .sr-sec--teal-2 :focus-visible, .sr-hero :focus-visible, .sr-footer :focus-visible { outline-color: #fff; }

.sr-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100000;
	padding: 12px 18px; border-radius: var(--sr-radius-sm);
	background: var(--sr-teal); color: #fff; font-weight: 600; text-decoration: none;
	transition: top .2s;
}
.sr-skip:focus { top: 12px; color: #fff; }

img { max-width: 100%; height: auto; }

/* Listas de componentes: sin viñetas ni sangría de Divi */
ul[class^="sr-"], ol[class^="sr-"], ul[class*=" sr-"], ol[class*=" sr-"] { list-style: none !important; padding: 0 !important; margin-left: 0; }
ul[class^="sr-"] > li, ol[class^="sr-"] > li, ul[class*=" sr-"] > li, ol[class*=" sr-"] > li { list-style: none !important; }

/* Anclas: compensan la cabecera fija */
[id] { scroll-margin-top: calc(var(--sr-header-h) + 12px); }

/* 3. ESTRUCTURA DIVI ------------------------------------------------------- */
#page-container, #et-main-area, #main-content { background: transparent; }
#main-content .container { padding-top: 0; }
.et_pb_section.sr-sec {
	position: relative;
	padding: var(--sr-sec) 0;
	background-color: var(--sr-white);
}
.sr-sec .et_pb_row,
.sr-header .et_pb_row,
.sr-footer .et_pb_row {
	width: calc(100% - 2 * var(--sr-gutter));
	max-width: var(--sr-maxw);
	padding: 0;
	margin-left: auto;
	margin-right: auto;
}
.sr-sec .et_pb_row + .et_pb_row { margin-top: clamp(32px, 5vw, 64px); }
.sr-sec .et_pb_column { margin-bottom: 0; }
.sr-sec .et_pb_module { margin-bottom: 0; }
.sr-sec .et_pb_column > .et_pb_module + .et_pb_module { margin-top: 28px; }

/* Filas de 2 columnas como grid (móvil: una columna) */
.sr-split,
.sr-hero__row,
.sr-midform,
.sr-story__chapter,
.sr-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}
.sr-split > .et_pb_column,
.sr-hero__row > .et_pb_column,
.sr-midform > .et_pb_column,
.sr-story__chapter > .et_pb_column,
.sr-grid > .et_pb_column {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}
.sr-split::after, .sr-grid::after, .sr-hero__row::after, .sr-midform::after, .sr-story__chapter::after { display: none; }

.sr-grid--4 { gap: 16px; align-items: stretch; }
@media (min-width: 600px) { .sr-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .sr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (min-width: 981px) {
	.sr-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sr-split.et_pb_row_2-5_3-5, .sr-split:has(> .et_pb_column_2_5) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.sr-split:has(> .et_pb_column_1_3) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
}

/* 4. UTILIDADES ------------------------------------------------------------ */
.sr-sec--white { background-color: var(--sr-white) !important; }
.sr-sec--cream { background-color: var(--sr-cream) !important; }
.sr-sec--sand { background-color: var(--sr-sand) !important; }
.sr-sec--teal { background-color: var(--sr-teal) !important; color: var(--sr-on-dark); }
.sr-sec--teal-2 { background-color: var(--sr-teal-2) !important; color: var(--sr-on-dark); }
.sr-sec--tight { padding: clamp(48px, 6vw, 80px) 0 !important; }
.sr-sec--teal h2, .sr-sec--teal h3, .sr-sec--teal-2 h2, .sr-sec--teal-2 h3 { color: #fff; }

.sr-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px !important;
	font-size: .8125rem; font-weight: 600; line-height: 1.3;
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--sr-green-text);
}
.sr-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sr-green); flex: none; }
.sr-eyebrow--light, .sr-sec--teal .sr-eyebrow { color: var(--sr-green); }
.sr-sec--teal-2 .sr-eyebrow { color: var(--sr-green-light); }

.sr-intro { font-size: var(--sr-fs-lead); color: var(--sr-muted); max-width: 62ch; }
.sr-head { max-width: 760px; }
.sr-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sr-head--center .sr-intro { margin-left: auto; margin-right: auto; }
.sr-head--center .sr-eyebrow { justify-content: center; }
.sr-sec--teal .sr-intro, .sr-sec--teal-2 .sr-intro, .sr-sec--teal .et_pb_text p, .sr-sec--teal-2 .et_pb_text p { color: var(--sr-on-dark); }

/* Iconos de marca (máscara SVG → heredan el color) */
.sr-ic {
	display: inline-block; flex: none;
	width: 24px; height: 24px;
	background-color: currentColor;
	-webkit-mask: var(--i) center / contain no-repeat;
	mask: var(--i) center / contain no-repeat;
}
.sr-ic--space   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E"); }
.sr-ic--light   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.sr-ic--kitchen { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M4 10h16M8 6.5h2M8 14v3'/%3E%3C/svg%3E"); }
.sr-ic--storage { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V8l9-5 9 5v13'/%3E%3Cpath d='M7 21v-8h10v8M7 17h10'/%3E%3C/svg%3E"); }
.sr-ic--road    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M8 3 4 21M16 3l4 18M12 5v2M12 11v2M12 17v2'/%3E%3C/svg%3E"); }
.sr-ic--river   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 8c3-2 6 2 9 0s6-2 9 0M3 14c3-2 6 2 9 0s6-2 9 0M3 20c3-2 6 2 9 0s6-2 9 0'/%3E%3C/svg%3E"); }
.sr-ic--leaf    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19C5 9 11 4 20 4c0 9-5 15-15 15z'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/svg%3E"); }
.sr-ic--city    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V9l5-3v15M8 21V4l7 3v14M15 21v-9l6 2v7M2 21h20'/%3E%3C/svg%3E"); }
.sr-ic--check   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }

.sr-pending {
	background: #fff3b0; color: #5a4a00;
	padding: .05em .35em; border-radius: 4px;
	font-weight: 600; font-size: .92em;
}

/* 5. BOTONES DIVI -----------------------------------------------------------
   El aspecto (colores, borde, radio) lo definen los presets globales de Divi 5
   «Soto · Principal / Contorno / Contorno claro». Aquí solo se normaliza el
   comportamiento de Divi (sin salto de padding al pasar el ratón). */
.et_pb_button_module_wrapper { line-height: 1; }
body .et_pb_button,
body .et_pb_button:hover {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px;
	padding: 15px 30px !important;
	font-family: var(--sr-font) !important;
	line-height: 1.2 !important;
	text-align: center;
	transition: background-color .25s var(--sr-ease), color .25s var(--sr-ease), border-color .25s var(--sr-ease), transform .25s var(--sr-ease), box-shadow .25s var(--sr-ease);
}
body .et_pb_button::after, body .et_pb_button::before { display: none !important; }
body .et_pb_button:hover { transform: translateY(-1px); box-shadow: var(--sr-shadow-sm); }
body .et_pb_button:active { transform: none; }
.sr-center-btn { margin: 0 auto; }
.sr-row--cta { text-align: center; }

/* 6. HERO ------------------------------------------------------------------ */
.et_pb_section.sr-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 7vw, 88px) 0 clamp(96px, 12vw, 150px);
	background: var(--sr-teal) !important;
	color: #fff;
	isolation: isolate;
}
.sr-hero .sr-hero__mediarow {
	position: absolute !important; inset: 0;
	width: 100% !important; max-width: none !important; margin: 0 !important;
	z-index: -1; pointer-events: none;
}
.sr-hero__mediarow .et_pb_column, .sr-hero__mediarow .et_pb_module, .sr-hero__mediarow .et_pb_code_inner { height: 100%; width: 100%; margin: 0; }
.sr-hero__media { position: absolute; inset: 0; }
.sr-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sr-hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 38, 42, .55) 0%, rgba(0, 38, 42, .35) 40%, rgba(0, 38, 42, .9) 100%),
		linear-gradient(90deg, rgba(0, 38, 42, .75) 0%, rgba(0, 38, 42, .1) 70%);
}
/* Fondo de marca (mientras las infografías no sean públicas) */
.sr-hero__brand {
	position: absolute; inset: 0;
	background:
		radial-gradient(60% 70% at 85% 20%, rgba(97, 166, 14, .38) 0%, rgba(97, 166, 14, 0) 60%),
		radial-gradient(50% 60% at 10% 100%, rgba(97, 166, 14, .18) 0%, rgba(97, 166, 14, 0) 60%),
		linear-gradient(160deg, #004447 0%, #003032 45%, #00262a 100%);
}
.sr-hero__brand::after {
	content: ""; position: absolute;
	right: -8vw; bottom: -12vw; width: min(70vw, 820px); aspect-ratio: 1;
	background: url("assets/img/simbolo-soto-blanco.svg") center / contain no-repeat;
	opacity: .07; transform: rotate(-8deg);
}

.sr-hero__row { position: relative; z-index: 1; }
.sr-hero__copy .sr-hero__title { color: #fff; margin-bottom: 22px; max-width: 13ch; }
.sr-hero__lead { font-size: var(--sr-fs-lead); color: rgba(255, 255, 255, .88); max-width: 56ch; }
.sr-hero__badges {
	list-style: none; margin: 26px 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 10px;
}
.sr-hero__badges li {
	padding: 9px 16px; border-radius: 999px;
	border: 1px solid var(--sr-line-dark);
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(6px);
	font-size: .9375rem; line-height: 1.2; color: #fff;
}
.sr-hero__badges li:first-child { background: var(--sr-green); border-color: var(--sr-green); color: var(--sr-teal); }
.sr-hero__badges li:first-child span { font-weight: 400; }
.sr-hero__badges li:first-child strong { font-weight: 700; }
.sr-hero__col-copy .et_pb_button_module_wrapper { margin-top: 28px !important; }
@media (max-width: 980px) { .sr-hero__col-copy .et_pb_button_module_wrapper { display: none; } }

@media (min-width: 981px) {
	.et_pb_section.sr-hero { min-height: min(calc(100svh - var(--sr-header-h)), 900px); display: flex; align-items: center; }
	.sr-hero .sr-hero__row { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr); width: calc(100% - 2 * var(--sr-gutter)); }
}

/* 7. SECCIONES ------------------------------------------------------------- */

/* Cifras clave (se superponen al hero) */
.et_pb_section.sr-sec--figures { padding: 0 !important; background: transparent !important; z-index: 2; }
.sr-sec--figures .et_pb_row { margin-top: calc(-1 * clamp(56px, 8vw, 90px)) !important; }
.sr-figures {
	list-style: none; margin: 0; padding: 8px;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
	background: #fff; border-radius: var(--sr-radius);
	box-shadow: var(--sr-shadow);
}
.sr-figures li { padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--sr-line); }
.sr-figures li:nth-child(odd) { border-right: 1px solid var(--sr-line); }
.sr-figures li:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.sr-figures strong { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); font-weight: 600; color: var(--sr-teal); line-height: 1.1; letter-spacing: -.01em; }
.sr-figures span { font-size: .875rem; color: var(--sr-muted); line-height: 1.35; }
@media (min-width: 981px) {
	.sr-figures { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 12px; }
	.sr-figures li { padding: 22px 26px; border-bottom: 0; border-right: 1px solid var(--sr-line); }
	.sr-figures li:last-child { grid-column: auto; }
}

/* Tarjetas de ventajas */
.sr-card {
	height: 100%;
	padding: clamp(24px, 3vw, 34px) !important;
	background: #fff; border-radius: var(--sr-radius);
	border: 1px solid var(--sr-line);
	transition: transform .35s var(--sr-ease), box-shadow .35s var(--sr-ease);
}
.sr-card:hover { transform: translateY(-4px); box-shadow: var(--sr-shadow); }
.sr-card p:has(> .sr-ic) { margin: 0 !important; line-height: 0; }
.sr-card .sr-ic {
	display: block;
	position: relative;
	width: 52px; height: 52px; margin-bottom: 22px;
	border-radius: 14px;
	background: var(--sr-green-soft);
	-webkit-mask: none; mask: none;
}
.sr-card .sr-ic::after {
	content: ""; position: absolute; inset: 13px;
	background: var(--sr-green-text);
	-webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.sr-card h3 { margin-bottom: 10px; }
.sr-card p { color: var(--sr-muted); font-size: 1rem; }
.sr-grid--4 > .et_pb_column > .et_pb_module { height: 100%; }

/* Storytelling */
.sr-story { overflow: hidden; }
.sr-story .sr-story__lead { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.6rem); color: #fff; }
.sr-story__sub { font-size: var(--sr-fs-lead); color: var(--sr-green) !important; font-weight: 600; }
.sr-story__chapter { position: relative; }
.sr-story__num {
	display: block; margin-bottom: 14px;
	font-size: .875rem; font-weight: 600; letter-spacing: .2em; color: var(--sr-green);
}
.sr-story__num::after { content: ""; display: inline-block; vertical-align: middle; width: 48px; height: 1px; margin-left: 14px; background: var(--sr-line-dark); }
.sr-story__text {
	font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.1rem);
	font-weight: 300; line-height: 1.35; color: #fff !important;
	max-width: 24ch;
}
.sr-story__text em { font-style: normal; color: var(--sr-green); font-weight: 600; }
.sr-story .sr-media { aspect-ratio: 16 / 10; border-radius: var(--sr-radius); overflow: hidden; margin: 0; }
.sr-story .sr-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 981px) {
	.sr-story .sr-media { aspect-ratio: 4 / 3; }
	.sr-story__chapter { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important; }
	.sr-story__chapter--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important; }
	.sr-story__chapter--rev > .sr-story__col-media { order: 2; }
	.sr-story__chapter--rev > .sr-story__col-text { order: 1; justify-self: end; }
}
.sr-story__end { text-align: center; }
.sr-story__final {
	font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem); font-weight: 300; line-height: 1.2;
	color: #fff !important; max-width: 22ch; margin: 0 auto !important;
}
.sr-story__final strong { color: var(--sr-green); font-weight: 600; }

/* Formulario intermedio */
.sr-midform__copy h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 10px; }
.sr-midform__copy p { color: #455c5d; }

/* Ubicación */
.sr-connect {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.sr-connect li {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 14px; border-radius: var(--sr-radius-sm);
	background: #fff; border: 1px solid var(--sr-line);
	font-size: .9375rem; font-weight: 600; line-height: 1.25; color: var(--sr-teal);
}
.sr-connect .sr-ic { width: 20px; height: 20px; color: var(--sr-green-text); }
@media (max-width: 400px) { .sr-connect { grid-template-columns: 1fr; } }

/* VPO */
.sr-price {
	display: inline-grid; gap: 2px; margin-top: 12px;
	padding: 22px 30px; border-radius: var(--sr-radius);
	background: var(--sr-teal); color: #fff;
	box-shadow: var(--sr-shadow);
}
.sr-price__from { font-size: .8125rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sr-green); font-weight: 600; }
.sr-price__amount { font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #fff; }
.sr-price__note { font-size: 1rem; color: var(--sr-on-dark); }
.sr-vpo__col-copy .et_pb_button_module_wrapper { margin-top: 30px !important; }

.sr-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; }
.sr-steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--sr-green), var(--sr-green-soft)); }
.sr-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 0 0 30px; }
.sr-steps li:last-child { padding-bottom: 0; }
.sr-steps__n {
	width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center;
	background: #fff; border: 2px solid var(--sr-green);
	font-size: 1.125rem; font-weight: 700; color: var(--sr-teal);
	position: relative; z-index: 1;
}
.sr-steps h3 { margin: 12px 0 6px; }
.sr-steps p { color: var(--sr-muted); }

/* FAQ (acordeón nativo de Divi) */
.sr-faq.et_pb_accordion { display: flex; flex-direction: column; gap: 12px !important; }
.sr-faq .et_pb_toggle {
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--sr-line) !important;
	border-radius: var(--sr-radius-sm);
	background: #fff !important;
	overflow: hidden;
}
.sr-faq .et_pb_toggle_title {
	position: relative; margin: 0 !important;
	padding: 20px 56px 20px 22px !important;
	font-size: 1.0625rem !important; font-weight: 600; line-height: 1.35;
	color: var(--sr-teal) !important; cursor: pointer;
}
.sr-faq .et_pb_toggle_title::before {
	content: "+" !important; font-family: var(--sr-font) !important; display: grid !important;
	right: 22px !important; top: 50% !important; margin-top: 0 !important; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--sr-green-soft); color: var(--sr-green-text) !important;
	font-size: 20px !important; line-height: 1 !important; font-weight: 400;
}
.sr-faq .et_pb_toggle_open .et_pb_toggle_title::before { content: "–" !important; background: var(--sr-green); color: var(--sr-teal) !important; }
.sr-faq .et_pb_toggle_content { padding: 0 22px 22px !important; color: var(--sr-muted); }

/* Contacto final */
.et_pb_section.sr-sec--contact {
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(97, 166, 14, .22) 0%, rgba(97, 166, 14, 0) 60%),
		var(--sr-teal) !important;
}
.sr-ticklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.sr-ticklist li { position: relative; padding-left: 36px; color: #fff; font-weight: 600; }
.sr-ticklist li::before {
	content: ""; position: absolute; left: 0; top: .1em;
	width: 24px; height: 24px; border-radius: 50%; background: var(--sr-green);
}
.sr-ticklist li::after {
	content: ""; position: absolute; left: 5px; top: calc(.1em + 5px); width: 14px; height: 14px;
	background: var(--sr-teal);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 8. THEME BUILDER: CABECERA Y PIE ------------------------------------------ */
.et-l--header {
	position: sticky; top: 0; z-index: 9990;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s var(--sr-ease), border-color .3s;
}
.admin-bar .et-l--header { top: 32px; }
@media (max-width: 782px) { .admin-bar .et-l--header { top: 0; } }
.sr-scrolled .et-l--header { box-shadow: 0 8px 30px -20px rgba(0, 48, 50, .5); border-bottom-color: var(--sr-line); }
.et_pb_section.sr-header { padding: 0 !important; background: transparent !important; }
.sr-header .sr-header__row {
	display: flex !important; align-items: center; justify-content: space-between; gap: 20px;
	min-height: 72px;
}
.sr-header .et_pb_column { width: auto !important; margin: 0 !important; float: none !important; }
.sr-header__col-nav { flex: 1 1 auto; }
.sr-header__col-cta { flex: 0 0 auto; }
.sr-nav .et_pb_menu__logo-wrap, .sr-nav .et_pb_menu__logo { flex: 0 0 auto; width: auto !important; max-width: none !important; }
.sr-nav .et_pb_menu__wrap { flex: 1 1 auto; }
.sr-nav .et_pb_menu__logo img { height: 44px; width: auto !important; max-width: none; max-height: none; transition: height .3s var(--sr-ease); }
.sr-scrolled .sr-nav .et_pb_menu__logo img { height: 38px; }
.sr-nav.et_pb_menu .et_pb_menu__logo-wrap { margin-right: 32px; }
.sr-nav .et-menu > li { padding-left: 14px; padding-right: 14px; }
.sr-nav .et-menu > li > a {
	padding: 26px 0 !important;
	font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
	color: var(--sr-teal) !important; opacity: 1 !important;
	background: linear-gradient(var(--sr-green), var(--sr-green)) left calc(100% - 18px) / 0 2px no-repeat;
	transition: background-size .3s var(--sr-ease);
}
.sr-nav .et-menu > li > a::after { display: none !important; }
.sr-nav .et-menu > li > a:hover,
.sr-nav .et-menu > li.sr-active > a { background-size: 100% 2px; }
/* WordPress marca todos los enlaces-ancla como página actual: se neutraliza */
.sr-nav .et-menu > li.current-menu-item:not(.sr-active) > a { color: var(--sr-teal) !important; }
.sr-header__cta { font-size: 15px !important; min-height: 46px !important; padding: 12px 22px !important; }

/* Menú móvil de Divi */
.sr-nav .mobile_menu_bar {
	position: relative; display: block; width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
}
/* Icono hamburguesa dibujado con CSS: evita descargar la fuente de iconos de Divi (≈90 KB) */
.sr-nav .mobile_menu_bar::before {
	content: "" !important; font-family: inherit !important;
	position: absolute !important; left: 11px; top: 21px !important; width: 22px; height: 2px;
	background: var(--sr-teal); border-radius: 2px;
	box-shadow: 0 -7px 0 var(--sr-teal), 0 7px 0 var(--sr-teal);
	transition: transform .25s, box-shadow .25s;
}
.sr-nav .mobile_nav.opened .mobile_menu_bar::before { transform: rotate(45deg); box-shadow: 0 0 0 var(--sr-teal); }
.sr-nav .mobile_nav.opened .mobile_menu_bar::after {
	content: ""; position: absolute; left: 11px; top: 21px; width: 22px; height: 2px;
	background: var(--sr-teal); border-radius: 2px; transform: rotate(-45deg);
}
.sr-nav .et_mobile_nav_menu { margin: 0; }
.sr-nav .et_mobile_menu {
	/* La cabecera (backdrop-filter) es el bloque contenedor: el menú ocupa todo el ancho bajo ella */
	position: fixed !important; top: 100% !important; left: 0 !important; right: 0 !important; width: auto !important;
	max-height: calc(100dvh - var(--sr-header-h)); overflow-y: auto;
	border-top: 3px solid var(--sr-green) !important;
	border-radius: 0 0 var(--sr-radius-sm) var(--sr-radius-sm);
	padding: 8px 0 !important;
	box-shadow: var(--sr-shadow);
}
.sr-nav .et_mobile_menu li a {
	padding: 15px 22px !important; font-size: 1.0625rem; font-weight: 600;
	color: var(--sr-teal) !important; border-bottom: 1px solid var(--sr-line) !important;
}
.sr-nav .et_mobile_menu li:last-child a { border-bottom: 0 !important; }
@media (max-width: 980px) {
	.sr-header .sr-header__row { min-height: 64px; }
	.sr-nav .et_pb_menu__logo img { height: 36px; }
	.sr-nav .et_pb_menu__wrap { justify-content: flex-end; }
	.sr-nav .et_pb_menu_inner_container { display: flex; align-items: center; }
	.sr-nav .et_pb_menu__logo-wrap { flex: 1; }
}
@media (max-width: 767px) {
	.sr-header__col-cta { display: none; }
}

/* Pie */
.et_pb_section.sr-footer {
	padding: clamp(56px, 7vw, 88px) 0 32px !important;
	background: var(--sr-teal-3) !important;
	color: var(--sr-on-dark);
	font-size: .9375rem;
}
.sr-footer .sr-footer__row { display: grid !important; grid-template-columns: 1fr; gap: 36px; }
.sr-footer .et_pb_column { width: auto !important; margin: 0 !important; float: none !important; }
.sr-footer .et_pb_module { margin-bottom: 0 !important; }
.sr-footer .et_pb_column > .et_pb_module + .et_pb_module { margin-top: 20px; }
.sr-footer__logo img { width: 200px; height: auto; }
.sr-footer p { color: var(--sr-on-dark); }
.sr-footer__title { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sr-green) !important; margin-bottom: 14px !important; }
.sr-footer__links { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 8px; }
.sr-footer__links a { color: #fff; text-decoration: none; }
.sr-footer__links a:hover { color: var(--sr-green); text-decoration: underline; }
.sr-footer .sr-footer__row--bottom { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--sr-line-dark); display: block !important; }
.sr-footer__disclaimer { font-size: .8125rem; line-height: 1.55; color: rgba(220, 231, 230, .8) !important; max-width: 110ch; }
.sr-footer__copy { font-size: .8125rem; margin-top: 12px !important; }
@media (min-width: 768px) { .sr-footer .sr-footer__row:not(.sr-footer__row--bottom) { grid-template-columns: 1.4fr 1fr 1fr; } }
/* Pie por defecto de Divi (no se usa: el pie es del Theme Builder) */
#main-footer { display: none; }

/* 9. PÁGINAS LEGALES --------------------------------------------------------- */
.sr-legal { max-width: 820px !important; }
.sr-legal__head h1 { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.2rem); }
.sr-legal__updated { color: var(--sr-muted); font-size: .9375rem; }
.sr-legal__body h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2em; }
.sr-legal__body ul { padding-left: 1.2em; margin: 0 0 1em; }
.sr-legal__body li { margin-bottom: .4em; }
.sr-legal__data { list-style: none; padding: 20px 24px !important; background: var(--sr-cream); border-radius: var(--sr-radius-sm); }
.sr-legal__notice { padding: 16px 20px; border-left: 4px solid #e0b400; background: #fff9db; border-radius: 6px; margin-bottom: 2em; }

/* 10. MOVIMIENTO ------------------------------------------------------------- */
.sr-reveal-ready .sr-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--sr-ease), transform .8s var(--sr-ease); }
.sr-reveal-ready .sr-reveal.is-visible { opacity: 1; transform: none; }
.sr-reveal-ready .sr-reveal--zoom .sr-media img { transform: scale(1.08); transition: transform 1.6s var(--sr-ease); }
.sr-reveal-ready .sr-reveal--zoom.is-visible .sr-media img { transform: none; }
.sr-grid--4 > .et_pb_column:nth-child(2) .sr-reveal { transition-delay: .08s; }
.sr-grid--4 > .et_pb_column:nth-child(3) .sr-reveal { transition-delay: .16s; }
.sr-grid--4 > .et_pb_column:nth-child(4) .sr-reveal { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.sr-reveal-ready .sr-reveal { opacity: 1; transform: none; }
}

/* 404 */
.sr-404 { min-height: 60vh; display: flex; align-items: center; }
.sr-404 .sr-intro { margin-bottom: 28px; }
