/* =========================================================================
   Todo en Acero — variante "Familiar" — hoja de estilos del tema
   Diseño propio. Sin frameworks ni fuentes externas.
   ========================================================================= */

:root {
	--c-ink: #1f2933;
	--c-ink-soft: #52606d;
	--c-navy: #1c2c4c;
	--c-navy-dark: #10192f;
	--c-navy-tint: #e8ecf6;
	--c-warm: #bd6a35;
	--c-warm-dark: #8a4d24;
	--c-warm-tint: #fbeee2;
	--c-steel: #5b6472;
	--c-border: #dbe1ea;
	--c-paper: #ffffff;
	--c-paper-alt: #f3f5f8;
	--c-wa: #25d366;
	--c-wa-dark: #128c7e;

	--radius: 10px;
	--radius-lg: 18px;
	--container: 1120px;
	--container-narrow: 760px;

	--shadow-sm: 0 1px 2px rgba(16, 24, 32, .06), 0 1px 3px rgba(16, 24, 32, .10);
	--shadow-md: 0 6px 20px rgba(16, 24, 32, .10), 0 2px 6px rgba(16, 24, 32, .06);
	--shadow-lg: 0 18px 40px rgba(16, 24, 32, .16);

	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--c-ink);
	background: var(--c-paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--c-ink); }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.15rem); margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(3rem, 2rem + 6vw, 5.5rem) 0; }
.section--alt { background: var(--c-paper-alt); }
.section__eyebrow {
	display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em;
	text-transform: uppercase; color: var(--c-warm-dark); margin: 0 0 .6rem;
}
.section__head { max-width: 720px; margin: 0 0 2.5rem; }
.section__head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section__title { margin-bottom: .35em; }
.section__intro { color: var(--c-ink-soft); font-size: 1.075rem; margin: 0; }
.section__note { text-align: center; color: var(--c-ink-soft); margin: 2rem 0 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--c-navy-dark); color: #fff; padding: .75rem 1rem; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }

.teaf-icon { width: 1.4em; height: 1.4em; flex: 0 0 auto; vertical-align: middle; }

/* ----- Botones ----- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .8rem 1.35rem; border-radius: var(--radius);
	font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none;
	border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-navy); color: #fff; }
.btn--primary:hover { background: var(--c-navy-dark); }
.btn--wa { background: var(--c-wa); color: #05391f; }
.btn--wa:hover { background: #1fbe5b; }
.btn--wa-alt { background: var(--c-wa-dark); color: #fff; }
.btn--wa-alt:hover { background: #0f7568; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; margin-bottom: .6rem; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .4rem; font-weight: 700;
	text-decoration: none; color: var(--c-navy-dark);
}
.link-arrow:hover { gap: .65rem; }
.link-arrow .teaf-icon { width: 1.1em; height: 1.1em; }

:where(a, button, summary, input, [tabindex]):focus-visible {
	outline: 3px solid var(--c-warm); outline-offset: 2px; border-radius: 4px;
}

/* ----- Cabecera ----- */
.site-header {
	position: sticky; top: 0; z-index: 500;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.1) blur(6px);
	border-bottom: 1px solid var(--c-border);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.site-brand { margin-right: auto; }
.site-brand__link { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.site-brand__logo, .custom-logo { max-height: 48px; width: auto; }
.site-brand__text { display: flex; flex-direction: column; font-weight: 800; color: var(--c-navy); font-size: .92rem; letter-spacing: .01em; line-height: 1.25; }
.site-brand__text small { font-weight: 500; color: var(--c-ink-soft); font-size: .68rem; text-transform: none; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav__list { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav__list a:hover { color: var(--c-navy); }
.site-nav__cta { padding: .6rem 1rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .2s; }
.nav-toggle__bar { top: 21px; left: 11px; }
.nav-toggle__bar::before { top: -7px; left: 0; }
.nav-toggle__bar::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

/* ----- 1. Hero (foto grande) ----- */
.hero {
	position: relative;
	min-height: min(88vh, 780px);
	display: flex;
	align-items: flex-end;
	background: var(--hero-bg, none) center / cover no-repeat, var(--c-navy);
}
.hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(10, 15, 28, .88) 0%, rgba(10, 15, 28, .55) 45%, rgba(10, 15, 28, .25) 70%, rgba(10, 15, 28, .35) 100%);
}
.hero__inner { position: relative; padding: clamp(3rem, 6vw, 5rem) 20px clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.hero__title { color: #fff; max-width: 16ch; }
.hero__lead { color: rgba(255, 255, 255, .92); font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem); max-width: 46ch; }
.hero__actions { margin: 1.6rem 0 1.5rem; }
.hero__badges { color: rgba(255, 255, 255, .8); font-size: .92rem; font-weight: 600; }
.hero__badges span { opacity: .6; margin: 0 .3em; }

/* ----- 2. Somos una empresa familiar ----- */
.family__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.family__media-wrap { position: relative; }
.family__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.family__sample-badge {
	position: absolute; top: .75rem; left: .75rem; right: .75rem; text-align: center;
	background: #b91c1c; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .02em;
	padding: .5rem .75rem; border-radius: 8px; box-shadow: var(--shadow-md);
}
.family__placeholder {
	border: 2px dashed var(--c-border); border-radius: var(--radius-lg); aspect-ratio: 4 / 3;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	background: var(--c-paper-alt); color: var(--c-ink-soft); padding: 2rem; gap: .5rem;
}
.family__placeholder .teaf-icon { width: 2.5rem; height: 2.5rem; color: var(--c-warm); margin-bottom: .5rem; }
.family__placeholder-hint { font-size: .82rem; color: var(--c-steel); margin: 0; }
.family__lead { font-size: 1.2rem; font-weight: 700; color: var(--c-navy); }
.family__text p { color: var(--c-ink-soft); }

/* ----- 3. Productos ----- */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.product-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--c-paper-alt); }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__emoji {
	position: absolute; bottom: -18px; left: 18px; width: 44px; height: 44px; border-radius: 12px;
	background: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.product-card__body { padding: 1.6rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card__text { color: var(--c-ink-soft); font-size: .95rem; flex: 1; }

/* ----- 4. Calidad industrial / Trato familiar ----- */
.compare__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; }
.compare__col { border-radius: var(--radius-lg); padding: 2rem; }
.compare__col h3 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.compare__col li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.compare__col--industrial { background: var(--c-navy); color: #fff; }
.compare__col--industrial h3 { color: #fff; }
.compare__col--industrial .teaf-icon { color: #9db2e0; flex: 0 0 auto; margin-top: .15em; }
.compare__col--familiar { background: var(--c-warm-tint); color: var(--c-ink); }
.compare__col--familiar h3 { color: var(--c-warm-dark); }
.compare__col--familiar .teaf-icon { color: var(--c-warm); flex: 0 0 auto; margin-top: .15em; }
.compare__vs {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--c-paper); border: 2px solid var(--c-border); color: var(--c-steel); font-weight: 800; font-size: 1.2rem;
	align-self: center;
}

/* ----- 5. Proceso ----- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; grid-template-columns: repeat(4, 1fr); counter-reset: none; }
.process__step { position: relative; text-align: center; }
.process__media { position: relative; width: 128px; height: 128px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem;
	background: var(--c-navy-tint); display: flex; align-items: center; justify-content: center;
	border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.process__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process__icon { color: var(--c-navy); }
.process__icon .teaf-icon { width: 2rem; height: 2rem; }
.process__num { display: block; font-weight: 800; color: var(--c-warm); font-size: .85rem; letter-spacing: .1em; margin-bottom: .3rem; }
.process__text { color: var(--c-ink-soft); font-size: .92rem; }
.process__arrow { display: flex; position: absolute; top: 56px; right: -1.1rem; color: var(--c-border); }

/* ----- 6. Novedades (feed de Facebook) ----- */
.btn--ghost { background: transparent; color: var(--c-navy-dark); border-color: var(--c-border); }
.btn--ghost:hover { border-color: var(--c-navy); background: var(--c-navy-tint); }
.section__foot { text-align: center; margin-top: 2.25rem; }

.fb-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fb-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.fb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fb-card__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.fb-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--c-paper-alt); overflow: hidden; }
.fb-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fb-card__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.fb-card__text { color: var(--c-ink); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fb-card__meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .82rem; color: var(--c-steel); }
.fb-card__cta { font-weight: 700; color: var(--c-navy-dark); }
.fb-feed__empty { text-align: center; background: var(--c-paper-alt); border: 1px dashed var(--c-border); border-radius: var(--radius-lg); padding: 2.5rem 1.5rem; }
.fb-feed__empty p { color: var(--c-ink-soft); max-width: 46ch; margin: 0 auto 1.25rem; }

/* ----- CTA final ----- */
.cta-final { background: linear-gradient(160deg, var(--c-navy-dark), var(--c-navy)); color: #fff; padding: clamp(3rem, 2rem + 6vw, 5rem) 0; }
.cta-final__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, .88); }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 1.75rem; }
.pay-icons { list-style: none; margin: 1.1rem 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pay { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 38px; padding: 0 .75rem; background: #fff; border-radius: 8px; font-weight: 800; font-size: .8rem; line-height: 1; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.pay svg { height: 22px; width: auto; }
.pay--visa { color: #1a1f71; font-style: italic; font-size: 1rem; letter-spacing: .02em; }
.pay--amex { background: #016fd0; color: #fff; letter-spacing: .04em; }
.pay--diners { color: #0079be; }
.pay--img { width: 88px; padding: 0; overflow: hidden; }
.pay--img img { display: block; width: auto; max-width: none; flex: none; }
.pay--pse img { height: 32px; }
.pay--nequi img { height: 16px; }
.pay--daviplata img { height: 38px; }
.pay--breb img { height: 54px; }
.pay--rappipay img { height: 35px; }
/* ----- Pie de página ----- */
.site-footer { background: #0c1526; color: #cdd6de; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr; padding: 3rem 20px; }
.site-footer__logo { background: #fff; border-radius: 12px; padding: 6px; margin-bottom: .9rem; }
.site-footer__brand { font-weight: 800; color: #fff; font-size: 1.05rem; margin-bottom: .6rem; }
.site-footer__heading { font-weight: 700; color: #fff; margin-bottom: .9rem; }
.site-footer__muted { color: #9fb0bd; font-size: .92rem; display: flex; gap: .45rem; align-items: flex-start; }
.site-footer__muted .teaf-icon { flex: 0 0 auto; margin-top: .15em; color: var(--c-wa); }
.site-footer__legal { display: block; margin-top: 1rem; line-height: 1.7; }
.site-footer__links { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .55rem; }
.site-footer__links a { color: #cdd6de; text-decoration: none; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }
.site-footer__fb { display: inline-flex; align-items: center; gap: .5rem; color: #cdd6de; text-decoration: none; margin-top: .5rem; font-weight: 600; }
.site-footer__fb:hover { color: #fff; }
.site-footer__legal a { color: #cdd6de; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__legal a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center;  padding: 1.25rem 0; font-size: .85rem; }
.site-footer__bottom p { margin: .15rem 0; }

/* ----- Botón flotante de WhatsApp ----- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.wa-float__toggle { display: inline-flex; align-items: center; gap: .55rem; background: var(--c-wa); color: #05391f; border: none; border-radius: 999px; padding: .8rem 1.1rem; font-weight: 800; font-size: .95rem; cursor: pointer; box-shadow: var(--shadow-lg); }
.wa-float__toggle .teaf-icon { width: 1.5em; height: 1.5em; }
.wa-float__menu { display: flex; flex-direction: column; gap: .5rem; }
.wa-float__option { display: flex; align-items: center; gap: .6rem; background: #fff; color: var(--c-ink); border: 1px solid var(--c-border); border-radius: 14px; padding: .7rem .9rem; text-decoration: none; box-shadow: var(--shadow-md); font-size: .88rem; line-height: 1.25; }
.wa-float__option .teaf-icon { color: var(--c-wa-dark); width: 1.7em; height: 1.7em; }
.wa-float__option:hover { border-color: var(--c-wa); }

/* ----- Prosa (páginas legales) ----- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.page-title { margin-bottom: .3em; }
.page-entry__meta { color: var(--c-steel); font-size: .9rem; margin-top: 0; }
.page-entry__back { margin-top: 2.5rem; }
.page-entry__back a { font-weight: 700; text-decoration: none; }

/* ----- Responsivo ----- */
@media (max-width: 980px) {
	.family__grid { grid-template-columns: 1fr; }
	.family__media { order: -1; }
	.process { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
	.process__arrow { display: none !important; }
	.compare__grid { grid-template-columns: 1fr; }
	.compare__vs { display: none; }
}
@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
		gap: 0; background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-md);
		padding: .5rem 20px 1.25rem; transform: translateY(-140%); transition: transform .25s ease; max-height: calc(100vh - 74px); overflow-y: auto;
	}
	.site-nav.is-open { transform: translateY(0); }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list li { border-bottom: 1px solid var(--c-border); }
	.site-nav__list a { display: block; padding: .95rem 0; }
	.site-nav__cta { margin-top: 1rem; }
	.site-brand__text { display: none; }
}
@media (max-width: 620px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.wa-float__label { display: none; }
	.cta-final__actions .btn { flex: 1 1 100%; }
	.process { grid-template-columns: 1fr; }
	.hero { min-height: 92vh; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
