/* =========================================================
   Ever Fresh Cleaners — main.css
   Réplica del mockup: navy #0a2038 / verde #44a248
   ========================================================= */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/inter-latin.woff2') format('woff2');
}

:root {
	--navy-950: #081c30;
	--navy-900: #0a2038;
	--navy-800: #0b2440;
	--navy-700: #123256;
	--green: #44a248;
	--green-dark: #37913c;
	--ink: #13253a;
	--body: #4d5d6e;
	--muted: #6b7a8a;
	--line: #e5eaf0;
	--bg-alt: #f2f5f8;
	--radius: 5px;
	--container: 1200px;
	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--body);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--green); text-decoration: none; }

::selection { background: var(--green); color: #fff; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.container--narrow { max-width: 820px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	z-index: 999;
	width: auto; height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--navy-900);
	color: #fff;
	border-radius: 4px;
}

/* Acento verde dentro de iconos line-art */
.ic { flex-shrink: 0; }
.ic .ic-a { stroke: var(--green); }
.ic .ic-a[fill='currentColor'] { fill: var(--green); }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 22px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn--lg { padding: 14px 22px; font-size: 12px; }
.btn--block { width: 100%; }

.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--green .ic { stroke: #fff; }
.btn--green .ic .ic-a { stroke: #fff; }

.btn--ghost {
	border: 1.5px solid rgba(255, 255, 255, .85);
	color: #fff;
	background: rgba(255, 255, 255, .04);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }

.btn--outline {
	border: 1.5px solid var(--navy-800);
	color: var(--navy-800);
	background: transparent;
}
.btn--outline:hover { background: var(--navy-800); color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
	background: var(--navy-950);
	color: rgba(255, 255, 255, .85);
	font-size: 12px;
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 36px;
	flex-wrap: wrap;
	padding-top: 4px;
	padding-bottom: 4px;
}

.topbar__spacer { flex: 1; }

.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, .85);
	white-space: nowrap;
}

.topbar__item .ic { stroke: var(--green); }
.topbar__item .ic .ic-a { stroke: #fff; }
a.topbar__item:hover { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(10, 32, 56, .08); }

.site-header__inner {
	display: flex;
	align-items: center;
	min-height: 68px;
	gap: 18px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }

.brand__name {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--navy-800);
	white-space: nowrap;
}

.brand__name em { font-style: normal; color: var(--green); }

.brand__sub {
	font-size: 9.5px;
	font-weight: 600;
	/* justificado al ancho de EVER FRESH (medido: 120.9px / 12 chars) */
	letter-spacing: .497em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 3px;
	white-space: nowrap;
}

.site-nav { margin-left: auto; }

.site-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.site-nav .menu > li { position: relative; }

.site-nav .menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 24px 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #2c4257;
	white-space: nowrap;
}

.site-nav .menu > li > a:hover { color: var(--green); }

/* chevron para items con submenu */
.site-nav .menu > li.menu-item-has-children > a::after {
	content: '';
	width: 7px; height: 7px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .55;
}

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--green);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 14px 30px rgba(10, 32, 56, .14);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 210;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu,
.site-nav li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-size: 12.5px;
	font-weight: 500;
	color: #35506a;
}

.site-nav .sub-menu a:hover { background: var(--bg-alt); color: var(--green); }

.site-header__cta { flex-shrink: 0; padding: 12px 16px; font-size: 11.5px; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 10px;
	background: none;
	border: 0;
	cursor: pointer;
}

.nav-toggle__bar {
	width: 24px; height: 2.5px;
	background: var(--navy-800);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background:
		linear-gradient(90deg, var(--navy-900) 30%, rgba(10, 32, 56, .92) 44%, rgba(10, 32, 56, .42) 66%, rgba(10, 32, 56, .16) 100%),
		var(--hero-img) right 28% / cover no-repeat;
	color: #fff;
}

.hero__inner {
	display: flex;
	align-items: center;
	min-height: 520px;
	padding-top: 48px;
	padding-bottom: 150px;
}

.hero__content { max-width: 660px; }

.hero__title {
	color: #fff;
	font-size: clamp(34px, 4.2vw, 52px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.01em;
}

@media (max-width: 1000px) {
	.hero__title br { display: none; }
}

.hero__subtitle {
	margin-top: 20px;
	max-width: 520px;
	font-size: 16.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .88);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.hero__badges {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	background: rgba(8, 25, 42, .78);
	backdrop-filter: blur(5px);
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero__badges-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.hero-badge { text-align: center; }

.hero-badge .ic { stroke: #fff; }

.hero-badge__title {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
}

.hero-badge__text {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .72);
}

/* ---------- Secciones ---------- */
.section { padding: 78px 0; }

.section--alt { background: var(--bg-alt); }

.section--dark {
	background: var(--navy-900);
}

.section-title {
	text-align: center;
	font-size: 27px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--ink);
}

.section-title::after {
	content: '';
	display: block;
	width: 54px; height: 3px;
	background: var(--green);
	border-radius: 2px;
	margin: 14px auto 0;
}

.section-title--light { color: #fff; }

.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }

/* ---------- Servicios ---------- */
.section--services .section-title { margin-bottom: 44px; }

.services-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
}

.svc-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.svc-card:hover {
	box-shadow: 0 14px 30px rgba(10, 32, 56, .12);
	transform: translateY(-3px);
}

.svc-card__media { aspect-ratio: 5 / 3.1; overflow: hidden; }

.svc-card__media img { width: 100%; height: 100%; object-fit: cover; }

.svc-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	margin: -23px auto 0;
	position: relative;
	z-index: 1;
	background: var(--navy-800);
	border: 3px solid #fff;
	border-radius: 50%;
	color: #fff;
}

.svc-card__icon .ic { stroke: #fff; }
.svc-card__icon .ic .ic-a { stroke: #8fd693; }

.svc-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 12px 14px 18px;
	text-align: center;
}

.svc-card__title {
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--navy-800);
	line-height: 1.4;
}

.svc-card__text {
	margin-top: 8px;
	font-size: 12.5px;
	line-height: 1.55;
}

.svc-card__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 14px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--green);
}

.svc-card__more:hover { color: var(--green-dark); }

/* ---------- Industrias ---------- */
.section--alt .section-title { margin-bottom: 46px; }

.industries-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 26px 18px;
}

.industry { text-align: center; }

.industry__icon { color: var(--navy-800); display: inline-flex; }

.industry__title {
	margin-top: 12px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--green);
	line-height: 1.4;
}

.industry__text {
	margin-top: 7px;
	font-size: 12.5px;
	line-height: 1.55;
}

/* ---------- Why ---------- */
.section--dark .section-title { margin-bottom: 48px; }

.why-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 30px 20px;
}

.why-item { text-align: center; }

.why-item__icon { color: #fff; display: inline-flex; }

.why-item__title {
	margin-top: 12px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.45;
}

.why-item__text {
	margin-top: 7px;
	font-size: 12.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .68);
}

/* ---------- Numbers ---------- */
#numbers .section-title { margin-bottom: 46px; }

.numbers-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}

.number {
	text-align: center;
	padding: 6px 14px;
	border-left: 1px solid var(--line);
}

.number:first-child { border-left: 0; }

.number__icon { color: var(--navy-800); display: inline-flex; }

.number__value {
	margin-top: 10px;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--green);
	line-height: 1.15;
}

.number__label {
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--navy-800);
	line-height: 1.35;
	margin-top: 2px;
}

.number__text {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.5;
}

/* ---------- Proceso + cards ---------- */
.section--process { padding-top: 64px; }

.process-grid {
	display: grid;
	grid-template-columns: 0.92fr 1.5fr 1fr;
	gap: 26px;
	align-items: start;
}

.process-steps .section-title { margin-bottom: 30px; font-size: 24px; }

.steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }

.step { display: flex; gap: 14px; }

.step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px; height: 30px;
	flex-shrink: 0;
	background: var(--green);
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.step__title {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--navy-800);
}

.step__text { margin-top: 3px; font-size: 12.5px; line-height: 1.55; }

/* Card recurso (navy) */
.resource-card {
	display: grid;
	grid-template-columns: 42% 1fr;
	gap: 22px;
	background: var(--navy-800);
	border-radius: 6px;
	padding: 26px;
	scroll-margin-top: 120px;
}

.resource-card__media img {
	width: 100%;
	border-radius: 4px;
	box-shadow: 0 16px 34px rgba(0, 0, 0, .38);
}

.resource-card__kicker {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #9be09e;
}

.resource-card__title {
	margin-top: 8px;
	font-size: 19px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #fff;
	line-height: 1.3;
}

.resource-card__text {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .78);
}

.resource-card .btn { margin-top: 18px; }

/* Card propuesta (borde verde) */
.proposal-card {
	background: #fff;
	border: 2px solid var(--green);
	border-radius: 6px;
	padding: 26px;
	scroll-margin-top: 120px;
}

.proposal-card__title {
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--navy-800);
	line-height: 1.3;
}

.proposal-card__text { margin-top: 10px; font-size: 13px; line-height: 1.6; }

.proposal-card .btn { margin-top: 18px; }

.proposal-card__call {
	margin-top: 12px;
	text-align: center;
	font-size: 12.5px;
}

.proposal-card__call a { font-weight: 800; }

/* Listas con check */
.check-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-top: 16px;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.45;
}

.check-list__ic { stroke: var(--green); margin-top: 2px; }

.check-list--light li { color: rgba(255, 255, 255, .9); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy-950);
	color: rgba(255, 255, 255, .65);
	font-size: 13px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr .9fr 1.15fr 1.15fr;
	gap: 38px;
	padding-top: 58px;
	padding-bottom: 44px;
}

.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255, 255, 255, .5); }

.footer-tagline {
	margin-top: 16px;
	font-size: 13px;
	line-height: 1.6;
	max-width: 240px;
}

.footer-social { display: flex; gap: 10px; margin-top: 18px; }

.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	color: #fff;
	transition: border-color .18s ease, background .18s ease;
}

.footer-social a:hover { border-color: var(--green); background: rgba(68, 162, 72, .18); }

.footer-col__title {
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 16px;
}

.footer-col__title--gap { margin-top: 26px; }

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }

.footer-col ul a { color: rgba(255, 255, 255, .65); }
.footer-col ul a:hover { color: var(--green); }

.footer-contact a,
.footer-contact span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.footer-contact .ic { stroke: var(--green); }
.footer-contact .ic .ic-a { stroke: rgba(255, 255, 255, .8); }

.footer-col--cta p { line-height: 1.6; margin-bottom: 18px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); }

.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 18px;
	padding-bottom: 18px;
	font-size: 12px;
	color: rgba(255, 255, 255, .5);
}

.footer-legal__menu { display: flex; gap: 22px; }

.footer-legal__menu a { color: rgba(255, 255, 255, .5); }
.footer-legal__menu a:hover { color: var(--green); }

/* ---------- Páginas internas ---------- */
.page-hero {
	background: linear-gradient(100deg, var(--navy-950), var(--navy-700));
	padding: 64px 0;
}

.page-hero__title {
	color: #fff;
	font-size: 32px;
	font-weight: 800;
}

.entry-content { font-size: 15.5px; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h2, .entry-content h3 { margin: 1.6em 0 .6em; }

.post-teaser { padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-teaser__title a { color: var(--navy-800); }
.post-teaser__title a:hover { color: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
	.services-grid { grid-template-columns: repeat(3, 1fr); }
	.industries-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
	.numbers-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
	.number:nth-child(4) { border-left: 0; }
	.process-grid { grid-template-columns: 1fr 1fr; }
	.process-steps { grid-column: 1 / -1; }
	/* pasos 1-4 en 2 columnas mientras ocupan el ancho completo */
	.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
	.site-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1000px) {
	.site-nav {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		width: min(320px, 85vw);
		background: #fff;
		box-shadow: -18px 0 40px rgba(10, 32, 56, .18);
		transform: translateX(105%);
		transition: transform .25s ease;
		overflow-y: auto;
		padding: 84px 0 40px;
		margin: 0;
		z-index: 190;
	}

	body.nav-open .site-nav { transform: translateX(0); }

	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }

	.site-nav .menu > li > a {
		padding: 13px 26px;
		font-size: 14px;
		justify-content: space-between;
	}

	.site-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 3px solid var(--green);
		border-radius: 0;
		margin: 0 0 6px 26px;
		padding: 0;
		display: none;
	}

	.site-nav li.is-open > .sub-menu { display: block; }

	.nav-toggle { display: flex; margin-left: auto; z-index: 220; }
	.site-nav + .site-header__cta, .site-header__cta { margin-left: 0; }
	.site-header__cta { display: none; }

	.hero__inner { min-height: 460px; }
	.hero__badges { position: static; }
	.hero__badges-grid { grid-template-columns: repeat(2, 1fr); }
	.hero { background-position: 72% center; }
	.hero__inner { padding-bottom: 56px; }
}

@media (max-width: 720px) {
	.section { padding: 56px 0; }
	.section-title { font-size: 22px; }

	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.industries-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
	.numbers-grid { grid-template-columns: repeat(2, 1fr); }
	.number { border-left: 0; }
	.process-grid { grid-template-columns: 1fr; }
	.resource-card { grid-template-columns: 1fr; }
	.resource-card__media { max-width: 260px; margin: 0 auto; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }

	.topbar__inner { justify-content: center; gap: 12px; }
	.topbar__area { flex-basis: 100%; justify-content: center; }
	.topbar__spacer { display: none; }
}

@media (max-width: 560px) {
	.steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.services-grid, .industries-grid, .why-grid, .numbers-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero__badges-grid { grid-template-columns: 1fr; }
	.hero__title { font-size: 30px; }
}
