/* ==========================================================
   Procosa — landing
   Colores tomados del logotipo (rojo, amarillo, azul marino)
   ========================================================== */
:root {
	--red: #E10F22;
	--yellow: #FDB11B;
	--navy: #0B2C6B;
	--navy-dark: #071D49;
	--ink: #14223F;
	--muted: #4A5878;
	--paper: #FFFFFF;
	--soft: #F4F6FB;
	--cream: #FFF8E8;
	--radius: 1.25rem;
	--shadow: 0 12px 32px rgba(11, 44, 107, .12);
	--nav-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--paper);
	font-size: 1.0625rem;
	line-height: 1.65;
	overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Montserrat', 'Inter', sans-serif; color: var(--navy); line-height: 1.15; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; z-index: 2000; top: .5rem; left: .5rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: .5rem; }

/* ---------- Botón ---------- */
.btn-procosa {
	--bs-btn-color: #fff; --bs-btn-bg: var(--red); --bs-btn-border-color: var(--red);
	--bs-btn-hover-color: #fff; --bs-btn-hover-bg: #B90C1B; --bs-btn-hover-border-color: #B90C1B;
	--bs-btn-active-bg: #A00A17; --bs-btn-active-border-color: #A00A17; --bs-btn-active-color: #fff;
	font-family: 'Montserrat', sans-serif; font-weight: 700; border-radius: 999px;
	padding: .6rem 1.4rem; min-height: 44px; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
	box-shadow: 0 8px 18px rgba(225, 15, 34, .28);
}
.btn-procosa:hover { transform: translateY(-2px); }
.btn-procosa.btn-lg { padding: .85rem 2rem; }

/* ---------- Menú ---------- */
.site-nav { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 2px 18px rgba(11, 44, 107, .08); min-height: var(--nav-h); border-bottom: 4px solid transparent; border-image: linear-gradient(90deg, var(--red) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--navy) 66.6% 100%) 1; }
.navbar-brand img { height: 52px; width: auto; }
.site-nav .nav-link { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--navy); padding: .6rem .9rem; border-radius: 999px; min-height: 44px; display: flex; align-items: center; }
.site-nav .nav-link:hover { color: var(--red); }
.site-nav .nav-link.active { color: var(--red); background: rgba(225, 15, 34, .08); }
.navbar-toggler { border: 0; color: var(--navy); min-width: 44px; min-height: 44px; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
	.navbar-collapse { padding: .75rem 0 1rem; }
	.site-nav .btn-procosa { margin-top: .5rem; width: 100%; }
}

/* ---------- Blobs de color ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.blob-red { width: 340px; height: 340px; background: var(--red); left: -140px; bottom: -120px; opacity: .28; }
.blob-yellow { width: 420px; height: 420px; background: var(--yellow); right: -120px; top: -100px; opacity: .55; }
.blob-blue { width: 380px; height: 380px; background: #5B7FD1; left: -140px; top: -80px; opacity: .3; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; padding: 4.5rem 0 5.5rem;
	background:
		radial-gradient(circle at 1px 1px, rgba(11, 44, 107, .09) 1.5px, transparent 0) 0 0 / 26px 26px,
		linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%);
}
.hero-badge { display: inline-flex; flex-direction: column; background: var(--navy); border-radius: .75rem; padding: .55rem 1.2rem; margin-bottom: 1.4rem; box-shadow: var(--shadow); }
.hero-badge-top { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; }
.hero-badge-bottom { color: var(--yellow); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-title { font-weight: 800; font-size: clamp(2.2rem, 5.2vw, 3.8rem); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 1.2rem; }
.hero-title small { display: block; font-size: .5em; font-weight: 700; color: var(--muted); margin-top: .5rem; letter-spacing: .01em; }
.hero-lead { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--red); margin-bottom: .4rem; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin-bottom: 1.4rem; }
.hero-visual { position: relative; max-width: 560px; margin-inline: auto; }
.hero-visual::before {
	content: ""; position: absolute; inset: 6% 2% 4% 2%; border-radius: 50%;
	background: conic-gradient(from 200deg, var(--yellow), #FFE7A8, var(--navy) 55%, var(--red) 80%, var(--yellow));
	opacity: .35; filter: blur(8px); inset: -4% -4% -6% -4%;
}
.hero-visual img { position: relative; border-radius: 2rem; background: #fff; box-shadow: 0 24px 48px rgba(11, 44, 107, .22); border: 6px solid #fff; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Franja de beneficios ---------- */
.features { background: var(--navy); padding: 1.6rem 0; position: relative; margin-top: -1px; }
.features::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 14px, transparent 14px 28px); pointer-events: none; }
.feature { display: flex; align-items: center; gap: .9rem; height: 100%; color: #fff; padding: .4rem .2rem; position: relative; }
.feature-icon { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; }
.feature-text { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem; line-height: 1.3; }

/* ---------- Secciones ---------- */
.section { padding: 5.5rem 0; position: relative; overflow: hidden; }
.section-dots { background: radial-gradient(circle at 1px 1px, rgba(11, 44, 107, .08) 1.5px, transparent 0) 0 0 / 24px 24px, #fff; }
.section-soft { background: var(--soft); }
.eyebrow { display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; position: relative; padding-left: 2.2rem; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.6rem; height: 3px; background: var(--yellow); border-radius: 2px; }
.eyebrow-light { color: var(--yellow); }
.section-title { font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.2rem; }
.lead-text { font-size: 1.2rem; color: var(--ink); }
.body-text { color: var(--muted); }
.callout { margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-left: 6px solid var(--yellow); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); }
.check-list li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--navy); margin-bottom: .6rem; }
.check-list i { color: var(--red); font-size: 1.3rem; }

.stripe-top { position: absolute; top: 0; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(135deg, var(--yellow) 0 18px, var(--navy) 18px 36px); }

/* Foto con marco desplazado */
.photo-frame { position: relative; max-width: 440px; margin-inline: auto; }
.photo-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); background: var(--yellow); z-index: 0; }
.photo-frame::after { content: ""; position: absolute; width: 120px; height: 120px; left: -34px; top: -34px; border-radius: 50%; background: radial-gradient(circle at 1px 1px, var(--red) 2px, transparent 0) 0 0 / 14px 14px; z-index: 0; }
.photo-frame > img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.years-badge { position: absolute; z-index: 2; left: -18px; bottom: 28px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1rem 1.3rem; text-align: center; box-shadow: var(--shadow); border: 3px solid #fff; }
.years-badge strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 2.8rem; font-weight: 800; line-height: 1; color: var(--yellow); }
.years-badge span { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* Mini tarjetas */
.object-cover { object-fit: cover; }
.mini-card { height: 100%; min-height: 150px; border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; gap: .8rem; font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.25; box-shadow: var(--shadow); }
.mini-card i { font-size: 2rem; }
.mini-card-blue { background: var(--navy); color: #fff; }
.mini-card-blue i { color: var(--yellow); }
.mini-card-yellow { background: var(--yellow); color: var(--navy-dark); }
.mini-card-red { background: var(--red); color: #fff; }

/* ---------- Ventajas ---------- */
.section-navy {
	background:
		radial-gradient(circle at 12% 18%, rgba(253, 177, 27, .16), transparent 38%),
		radial-gradient(circle at 90% 85%, rgba(225, 15, 34, .22), transparent 40%),
		var(--navy);
	color: #fff;
}
.section-navy::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 28px); pointer-events: none; }
.value-card { height: 100%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; transition: transform .25s ease, background-color .25s ease, border-color .25s ease; }
.value-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .12); border-color: var(--yellow); }
.value-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1.1rem; }
.bg-yellow { background: var(--yellow); color: var(--navy); }
.value-card h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin: 0; }

/* ---------- Contacto ---------- */
.section-contact { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.section-contact .blob-yellow { right: -140px; top: auto; bottom: -160px; opacity: .45; }
.section-contact .blob-red { left: -160px; bottom: auto; top: -100px; opacity: .2; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; background: #fff; border-radius: var(--radius); padding: 2.2rem 1.5rem; text-decoration: none; box-shadow: var(--shadow); border-bottom: 6px solid var(--red); transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.col-md-6:nth-child(2) .contact-card { border-bottom-color: var(--navy); }
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(11, 44, 107, .2); }
.contact-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: .8rem; }
.contact-label { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--muted); }
.contact-value { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--navy); overflow-wrap: anywhere; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-dark); color: #fff; padding-top: 2.2rem; }
.footer-logo { height: 56px; width: auto; background: #fff; padding: .35rem .8rem; border-radius: .75rem; }
.site-footer .container { padding-bottom: 1.8rem; }
.cosmos-strip { background: #fff; padding: .6rem 0; color: #333; }
.cosmos-strip a { color: inherit; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.row > .reveal:nth-child(2) { transition-delay: .08s; }
.row > .reveal:nth-child(3) { transition-delay: .16s; }
.row > .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero-visual img { animation: none; }
	.btn-procosa, .value-card, .contact-card { transition: none; }
}
@media (max-width: 575.98px) {
	.section { padding: 4rem 0; }
	.hero { padding: 3rem 0 4rem; }
	.photo-frame::before { inset: 14px -10px -14px 10px; }
	.years-badge { left: -6px; }
}
