/* ============================================================
   StackEcommerce — Design system C "Reporte editorial"
   Fraunces (display serif) + Inter (body). Esmeralda + oro.
   Full-bleed, editorial, ritmo variado, contraste AA.
   ============================================================ */

:root {
	--paper: #fbfbf9;
	--paper-2: #f3f2ec;
	--emerald: #0b5b45;
	--emerald-d: #073a2d;
	--emerald-l: #0f7a5c;
	--ink: #0f1512;
	--ink-soft: #3b453e;       /* cuerpo sobre claro (AA alto) */
	--muted: #66716a;          /* secundario (AA) */
	--gold: #9a6c16;           /* acento texto sobre claro (AA) */
	--gold-fill: #e8b84b;      /* acento relleno */
	--line: #e4e1d7;
	--on-emerald: #eef5f0;
	--on-emerald-soft: #aecabe;
	--maxw: 1180px;
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sec-section, .sec-section * { box-sizing: border-box; }

.sec-section {
	font-family: var(--font-body);
	color: var(--ink-soft);
	line-height: 1.65;
	width: 100%;
	margin: 0;
	padding: clamp(64px, 9vw, 132px) clamp(20px, 5vw, 44px);
	position: relative;
}
/* ritmo variado: modificadores de padding */
.sec-pad-sm { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.sec-pad-lg { padding-top: clamp(88px, 12vw, 168px); padding-bottom: clamp(88px, 12vw, 168px); }
.sec-inner { max-width: var(--maxw); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.sec-narrow { max-width: 880px; }

/* ---------- variantes de fondo ---------- */
.sec-paper { background: var(--paper); }
.sec-soft { background: var(--paper-2); }
.sec-emerald {
	background:
		radial-gradient(1100px 560px at 88% -20%, rgba(232,184,75,.16), transparent 62%),
		radial-gradient(820px 520px at 0% 120%, rgba(143,227,136,.12), transparent 60%),
		radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
		var(--emerald);
	background-size: auto, auto, 22px 22px, auto;
	color: var(--on-emerald);
	overflow: hidden;
}
/* aro decorativo tenue en secciones esmeralda */
.sec-emerald::after {
	content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.07); right: -160px; top: -160px; pointer-events: none;
}
.sec-emerald::before {
	content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
	border: 1px solid rgba(232,184,75,.10); left: -120px; bottom: -120px; pointer-events: none;
}
.sec-emerald .sec-lead, .sec-emerald .sec-standfirst { color: var(--on-emerald-soft); }

/* ---------- tipografía ---------- */
.sec-display, .sec-h1, .sec-h2, .sec-h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -.015em; margin: 0 0 .42em; color: var(--ink); text-wrap: balance; }
.sec-emerald .sec-h1, .sec-emerald .sec-h2, .sec-emerald .sec-h3 { color: #fff; }
.sec-h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.sec-h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.sec-h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.sec-em { font-style: italic; color: var(--emerald); }
.sec-emerald .sec-em { color: var(--gold-fill); }
.sec-lead { font-family: var(--font-body); font-size: clamp(1.1rem, 1.5vw, 1.34rem); line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.sec-standfirst { font-family: var(--font-body); font-size: 1.05rem; color: var(--muted); max-width: 62ch; }

/* dispositivo de marca: regla + etiqueta (uso puntual, no en cada sección) */
.sec-rule { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--gold); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.sec-rule::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.sec-emerald .sec-rule { color: var(--gold-fill); }

.sec-head { max-width: 760px; margin: 0 0 56px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin: 0 0 48px; flex-wrap: wrap; }
.sec-head-row .sec-h2 { margin: 0; }
.sec-head-row p { margin: 0; max-width: 38ch; }

/* ---------- botones ---------- */
.sec-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.sec-btn { display: inline-flex; align-items: center; gap: 9px; padding: 15px 30px; border-radius: 6px; font-weight: 600; font-size: 1rem; font-family: var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .35s cubic-bezier(.22,1,.36,1), background .25s ease, color .25s ease, border-color .25s ease; }
.sec-btn-primary { background: var(--emerald); color: #fff; }
.sec-btn-primary:hover { transform: translateY(-2px); background: var(--emerald-d); }
.sec-emerald .sec-btn-primary { background: var(--gold-fill); color: var(--emerald-d); }
.sec-emerald .sec-btn-primary:hover { background: #f0c969; }
.sec-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.sec-btn-ghost:hover { border-color: var(--emerald); color: var(--emerald); }
.sec-emerald .sec-btn-ghost { color: var(--on-emerald); border-color: rgba(255,255,255,.28); }
.sec-emerald .sec-btn-ghost:hover { border-color: var(--gold-fill); color: var(--gold-fill); }

/* ---------- HERO editorial ---------- */
.sec-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .sec-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.sec-hero-text .sec-h1 { margin-bottom: .3em; }
.sec-hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--muted); font-size: .9rem; }
.sec-hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.sec-hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-fill); }
.sec-hero-art svg { width: 100%; height: auto; display: block; border-radius: 14px; }

/* firma tipográfica: cifras grandes (editorial) */
.sec-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px; margin-top: 4px; }
@media (max-width: 540px) { .sec-figures { grid-template-columns: 1fr 1fr; } }
.sec-figure b { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--ink); display: block; line-height: 1; letter-spacing: -.02em; }
.sec-emerald .sec-figure b { color: #fff; }
.sec-figure span { font-size: .86rem; color: var(--muted); }
.sec-emerald .sec-figure span { color: var(--on-emerald-soft); }

/* ---------- SERVICIOS como lista editorial (no card grid) ---------- */
.sec-slist { border-top: 1px solid var(--line); }
.sec-emerald .sec-slist { border-color: rgba(255,255,255,.14); }
.sec-srow { display: grid; grid-template-columns: 48px 1fr 1.1fr auto; gap: 28px; align-items: start; padding: 30px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .25s ease, padding-left .25s ease; }
.sec-emerald .sec-srow { border-color: rgba(255,255,255,.14); }
.sec-srow:hover { background: rgba(11,91,69,.035); padding-left: 18px; }
.sec-emerald .sec-srow:hover { background: rgba(255,255,255,.04); }
@media (max-width: 820px) { .sec-srow { grid-template-columns: 40px 1fr; gap: 14px 18px; } .sec-srow .sec-srow-desc, .sec-srow .sec-srow-go { grid-column: 2; } }
.sec-srow-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--emerald); display: flex; align-items: center; justify-content: center; }
.sec-srow-ico svg { width: 22px; height: 22px; stroke: var(--gold-fill); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sec-srow h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin: 0 0 4px; line-height: 1.12; }
.sec-emerald .sec-srow h3 { color: #fff; }
.sec-srow-sub { color: var(--emerald); font-size: .92rem; font-weight: 500; }
.sec-emerald .sec-srow-sub { color: var(--gold-fill); }
.sec-srow-desc { color: var(--ink-soft); font-size: 1rem; }
.sec-emerald .sec-srow-desc { color: var(--on-emerald-soft); }
.sec-srow-go { color: var(--emerald); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.sec-emerald .sec-srow-go { color: var(--gold-fill); }
.sec-srow:hover .sec-srow-go { gap: 12px; }

/* ---------- MÉTODO: timeline vertical conectada ---------- */
.sec-timeline { display: grid; gap: 0; max-width: 820px; }
.sec-tl { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 40px; position: relative; }
.sec-tl:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: rgba(255,255,255,.16); }
.sec-paper .sec-tl:not(:last-child)::before, .sec-soft .sec-tl:not(:last-child)::before { background: var(--line); }
.sec-tl-num { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gold-fill); color: var(--gold-fill); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; background: var(--emerald); position: relative; z-index: 1; }
.sec-paper .sec-tl-num, .sec-soft .sec-tl-num { background: var(--paper); color: var(--emerald); border-color: var(--emerald); }
.sec-tl h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin: 8px 0 6px; color: var(--ink); }
.sec-emerald .sec-tl h3 { color: #fff; }
.sec-tl p { margin: 0; color: var(--ink-soft); }
.sec-emerald .sec-tl p { color: var(--on-emerald-soft); }

/* ---------- CASOS: filas editoriales ---------- */
.sec-cases { border-top: 1px solid var(--line); }
.sec-crow { display: grid; grid-template-columns: .8fr 1.4fr auto; gap: 32px; padding: 36px 8px; border-bottom: 1px solid var(--line); align-items: start; }
@media (max-width: 820px) { .sec-crow { grid-template-columns: 1fr; gap: 14px; } }
.sec-crow-sector { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--gold); text-transform: uppercase; }
.sec-crow h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; margin: 6px 0 0; color: var(--ink); line-height: 1.1; }
.sec-crow-body { color: var(--ink-soft); }
.sec-crow-body p { margin: 0 0 12px; }
.sec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sec-tag { display: inline-block; font-size: .8rem; font-weight: 500; color: var(--emerald); background: rgba(11,91,69,.07); border: 1px solid rgba(11,91,69,.16); border-radius: 5px; padding: 5px 11px; }
.sec-emerald .sec-tag { color: var(--gold-fill); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }

/* ---------- TESTIMONIOS: pull-quote protagonista + secundarios ---------- */
.sec-quotes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 880px) { .sec-quotes { grid-template-columns: 1fr; } }
.sec-quote-lead p { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.28; color: #fff; margin: 0 0 20px; }
.sec-quote-lead .sec-by { color: var(--on-emerald-soft); font-size: .95rem; }
.sec-quote-lead .sec-by b { color: var(--gold-fill); display: block; font-weight: 500; }
.sec-quote-sec { display: grid; gap: 18px; }
.sec-quote-sm { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }
.sec-quote-sm p { font-size: 1.02rem; color: var(--on-emerald); margin: 0 0 10px; line-height: 1.5; }
.sec-quote-sm .sec-by { color: var(--on-emerald-soft); font-size: .86rem; }
.sec-quote-sm .sec-by b { color: #fff; font-weight: 500; }

/* ---------- sectores ---------- */
.sec-sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sec-sectors span { border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 500; color: var(--ink-soft); }
.sec-emerald .sec-sectors span { border-color: rgba(255,255,255,.2); color: var(--on-emerald); }

/* ---------- recursos (lista editorial) ---------- */
.sec-rlist { border-top: 1px solid var(--line); }
.sec-rrow { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; padding: 28px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; align-items: baseline; transition: padding-left .25s ease, background .25s ease; }
.sec-rrow:hover { padding-left: 16px; background: rgba(11,91,69,.035); }
@media (max-width: 720px) { .sec-rrow { grid-template-columns: 1fr; gap: 8px; } }
.sec-rrow-topic { color: var(--gold); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sec-rrow h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--ink); margin: 0 0 4px; }
.sec-rrow p { margin: 0; color: var(--muted); font-size: .98rem; }
.sec-rrow-go { color: var(--emerald); font-weight: 600; white-space: nowrap; }

/* ---------- CTA ---------- */
.sec-cta-band .sec-inner { max-width: 820px; text-align: center; }
.sec-cta-band .sec-lead { margin: 0 auto; }
.sec-cta-band .sec-btns { justify-content: center; }

/* ---------- contacto + formulario ---------- */
.sec-contact { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .sec-contact { grid-template-columns: 1fr; } }
.sec-contact-info h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1.25rem; margin: 0 0 6px; }
.sec-contact-info p { color: var(--ink-soft); margin: 0 0 22px; }
.sec-form { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.sec-field { margin-bottom: 18px; }
.sec-field label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.sec-field input, .sec-field textarea, .sec-field select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 7px; font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.sec-field input:focus, .sec-field textarea:focus, .sec-field select:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(11,91,69,.14); }
.sec-field textarea { min-height: 140px; resize: vertical; }
.sec-hp { position: absolute; left: -9999px; }
.sec-form .sec-btn { width: 100%; justify-content: center; margin-top: 4px; }
.sec-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.sec-alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.sec-alert-ok { background: #e7f3ec; color: #0b5b45; border: 1px solid #b9ddca; }
.sec-alert-err { background: #fbeceb; color: #9a2820; border: 1px solid #f0c6c2; }

/* FAQ */
.sec-faq { max-width: 820px; }
.sec-faq-item { border-bottom: 1px solid var(--line); }
.sec-emerald .sec-faq-item { border-color: rgba(255,255,255,.16); }
.sec-faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sec-emerald .sec-faq-q { color: #fff; }
.sec-faq-q::after { content: "\002B"; font-family: var(--font-body); font-size: 1.4rem; color: var(--gold); transition: transform .25s ease; }
.sec-faq-item.open .sec-faq-q::after { transform: rotate(45deg); }
.sec-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.sec-faq-a p { padding: 0 0 22px; margin: 0; color: var(--ink-soft); max-width: 65ch; }
.sec-emerald .sec-faq-a p { color: var(--on-emerald-soft); }
.sec-faq-item.open .sec-faq-a { max-height: 460px; }

/* listas y prosa */
.sec-ul { list-style: none; margin: 0; padding: 0; }
.sec-ul li { position: relative; padding-left: 26px; margin-bottom: 11px; color: var(--ink-soft); }
.sec-ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 2px; background: var(--gold-fill); }
.sec-emerald .sec-ul li { color: var(--on-emerald-soft); }
.sec-prose { max-width: 70ch; }
.sec-prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; margin-top: 1.5em; color: var(--ink); }
.sec-prose p { color: var(--ink-soft); margin: 0 0 1.1em; }
.sec-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .sec-grid-2 { grid-template-columns: 1fr; } }

/* ---------- marquee ---------- */
.sec-marquee-sec { padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-marquee-label { text-align: center; font-size: .78rem; letter-spacing: .08em; color: var(--muted); margin: 0 0 18px; font-weight: 500; }
.sec-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.sec-marquee-track { display: inline-flex; white-space: nowrap; animation: sec-marq 32s linear infinite; }
.sec-marquee:hover .sec-marquee-track { animation-play-state: paused; }
.sec-marquee-track span { padding: 0 26px; font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1.25rem; }
.sec-marquee-track span b { color: var(--gold); margin-right: 6px; font-weight: 500; }
@keyframes sec-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* fix: autor y sector en líneas separadas en citas secundarias */
.sec-quote-sm .sec-by b { display: block; }

/* logos de tecnología en el marquee */
.sec-marquee-track span { display: inline-flex; align-items: center; gap: 9px; }
.sec-logo { width: 22px; height: 22px; object-fit: contain; opacity: .62; transition: opacity .2s ease; }
.sec-marquee:hover .sec-logo { opacity: .85; }

/* ---------- banda de cifras (editorial) ---------- */
.sec-figband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .sec-figband { grid-template-columns: 1fr 1fr; } }
.sec-figband > div { padding: 36px 24px; border-right: 1px solid var(--line); }
.sec-figband > div:last-child { border-right: 0; }
@media (max-width: 760px) { .sec-figband > div:nth-child(2n) { border-right: 0; } .sec-figband > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.sec-figband b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 3.4vw, 3rem); color: var(--emerald); line-height: 1; letter-spacing: -.02em; margin-bottom: 8px; }
.sec-figband span { font-size: .96rem; color: var(--ink-soft); }
.sec-figicon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: rgba(11,91,69,.08); align-items: center; justify-content: center; margin-bottom: 16px; }
.sec-figicon svg { width: 22px; height: 22px; stroke: var(--emerald); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- banda de cifras: variante techie ---------- */
.sec-techband { background: #062a20; color: #eaf3ee; position: relative; overflow: hidden; }
.sec-techband::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(120% 130% at 50% -10%, #000 38%, transparent 82%); mask-image: radial-gradient(120% 130% at 50% -10%, #000 38%, transparent 82%); pointer-events: none; }
.sec-techband::after { content: ""; position: absolute; width: 440px; height: 440px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(232,184,75,.16), transparent 70%); pointer-events: none; }
.sec-techband .sec-inner { position: relative; z-index: 1; }
.sec-techband-head { margin-bottom: 28px; }
.sec-techband-tag { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .76rem; letter-spacing: .14em; color: var(--gold-fill); text-transform: uppercase; }
.sec-figband-tech { border: 0; grid-template-columns: repeat(4, 1fr); }
.sec-figband-tech > div { border: 0; padding: 10px 30px; position: relative; }
.sec-figband-tech > div + div::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; border-left: 1px dashed rgba(255,255,255,.18); }
@media (max-width: 760px) { .sec-figband-tech { grid-template-columns: 1fr 1fr; gap: 32px 0; } .sec-figband-tech > div { padding: 10px 22px; } .sec-figband-tech > div:nth-child(odd)::before { display: none; } }
.sec-figband-tech .sec-figicon { background: rgba(232,184,75,.14); margin-bottom: 18px; }
.sec-figband-tech .sec-figicon svg { stroke: var(--gold-fill); }
.sec-techstat-idx { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .12em; color: rgba(234,243,238,.5); margin-bottom: 14px; }
.sec-figband-tech b { color: #fff; font-size: clamp(2.4rem, 4vw, 3.3rem); margin-bottom: 12px; }
.sec-techstat-label { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.55; color: rgba(234,243,238,.72); letter-spacing: .005em; }

/* ---------- pilares / enfoque ---------- */
.sec-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
@media (max-width: 760px) { .sec-pillars { grid-template-columns: 1fr; gap: 28px; } }
.sec-pillar { display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start; }
.sec-pillar-ico { width: 40px; height: 40px; border-radius: 9px; background: rgba(11,91,69,.08); display: flex; align-items: center; justify-content: center; }
.sec-emerald .sec-pillar-ico { background: rgba(255,255,255,.08); }
.sec-pillar-ico svg { width: 20px; height: 20px; stroke: var(--emerald); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sec-emerald .sec-pillar-ico svg { stroke: var(--gold-fill); }
.sec-pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--ink); margin: 0 0 6px; }
.sec-emerald .sec-pillar h3 { color: #fff; }
.sec-pillar p { margin: 0; color: var(--ink-soft); }
.sec-emerald .sec-pillar p { color: var(--on-emerald-soft); }

/* ---------- fundador ---------- */
.sec-founder { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 920px; }
@media (max-width: 720px) { .sec-founder { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; } .sec-founder .sec-btns { justify-content: center; } }
.sec-founder-avatar { width: 124px; height: 124px; border-radius: 50%; background: var(--gold-fill); color: var(--emerald-d); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 2.7rem; flex: 0 0 auto; box-shadow: 0 0 0 10px rgba(232,184,75,.12); }

/* ---------- sectores como rejilla de tarjetas ---------- */
.sec-sectorgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(234px, 1fr)); gap: 16px; }
.sec-sectile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; position: relative; overflow: hidden; transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, border-color .22s ease; }
.sec-sectile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--emerald), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .32s cubic-bezier(.22,1,.36,1); }
.sec-sectile:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -32px rgba(12,15,14,.3); border-color: #cfdac8; }
.sec-sectile:hover::before { transform: scaleX(1); }
.sec-sectile-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.sec-sectile-ico { width: 48px; height: 48px; border-radius: 13px; background: rgba(11,91,69,.07); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.sec-sectile:hover .sec-sectile-ico { background: rgba(11,91,69,.13); }
.sec-sectile-ico svg { width: 24px; height: 24px; stroke: var(--emerald); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sec-sectile-idx { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .8rem; letter-spacing: .08em; color: var(--muted); }
.sec-sectile-name { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; color: var(--ink); }
.sec-sectile-desc { font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.sec-emerald .sec-sectile { background: var(--ink-2); border-color: rgba(255,255,255,.1); }
.sec-emerald .sec-sectile-ico { background: rgba(255,255,255,.07); }
.sec-emerald .sec-sectile-ico svg { stroke: var(--gold-fill); }
.sec-emerald .sec-sectile-name { color: #fff; }
.sec-emerald .sec-sectile-desc { color: var(--on-emerald-soft); }
.sec-emerald .sec-sectile-idx { color: rgba(255,255,255,.45); }

/* ---------- clientes (logos) ---------- */
.sec-center .sec-rule { justify-content: center; }
.sec-clientgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.sec-client { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 108px; display: flex; align-items: center; justify-content: center; padding: 22px 26px; transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease, border-color .2s ease; }
.sec-client:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -28px rgba(12,15,14,.26); border-color: #cfdac8; }
.sec-client img { max-height: 58px; max-width: 100%; width: auto; object-fit: contain; opacity: .92; transition: opacity .25s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.sec-client:hover img { opacity: 1; transform: scale(1.04); }

/* ---------- clientes como marquesina ---------- */
.sec-clients-sec .sec-head { margin-bottom: 38px; }
.sec-clientmarquee { padding: 6px 0; }
.sec-clientmarquee .sec-marquee-track { animation-duration: 60s; align-items: stretch; }
.sec-clientmarquee .sec-client { flex: 0 0 auto; width: 198px; min-height: 104px; margin: 0 9px; }
@media (max-width: 640px) { .sec-clientmarquee .sec-client { width: 158px; min-height: 92px; } .sec-clientmarquee .sec-marquee-track { animation-duration: 42s; } }

/* ---------- decoración sutil de secciones claras ---------- */
.sec-soft { position: relative; overflow: hidden; }
.sec-soft::before {
	content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(11,91,69,.05), transparent 70%);
	right: -200px; top: -180px; pointer-events: none;
}

/* ---------- hero: puntos decorativos flotantes ---------- */
.sec-hero { position: relative; overflow: hidden; }
.sec-hero::before {
	content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
	background: radial-gradient(circle, rgba(232,184,75,.12), transparent 70%);
	right: 4%; top: -60px; pointer-events: none; animation: sec-float 11s ease-in-out infinite alternate;
}
.sec-hero-art { position: relative; }
.sec-hero-art::after {
	content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-fill);
	left: -8px; top: 30%; box-shadow: 0 0 0 6px rgba(232,184,75,.18); animation: sec-float 7s ease-in-out infinite alternate;
}
@keyframes sec-float { from { transform: translate(0,0); } to { transform: translate(-22px,24px); } }

/* count-up: evita salto de layout */
.sec-figband b { font-variant-numeric: tabular-nums; }

/* ---------- reveal (intencional, con variantes) ---------- */
html.sec-anim-ready .sec-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
html.sec-anim-ready .sec-reveal-l { transform: translateX(-26px); }
html.sec-anim-ready .sec-reveal-r { transform: translateX(26px); }
html.sec-anim-ready .sec-reveal.sec-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.sec-anim-ready .sec-reveal { opacity: 1; transform: none; transition: none; } .sec-marquee-track { animation: none; } }
