/* Río Envíos — cabecera, pie y portada */
:root {
	--rs-deep: color-mix(in srgb, var(--rioe-color, #7a1c2e) 74%, #000);
	--rs-ink: #231a1c;
	--rs-muted: #7a6a6d;
	--rs-paper: #faf6f5;
	--rs-line: #ece3e4;
	--rs-cream: #f6ece6;
	--rs-green: #2e8b57;
}
body.rioe-site {
	margin: 0;
	background: #efe7e8;
	color: var(--rs-ink);
	font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	-webkit-font-smoothing: antialiased;
}
body.rioe-site--home { background: var(--rs-paper); }
.rioe-site *, .rioe-site *::before, .rioe-site *::after { box-sizing: border-box; }
.rioe-site a:focus-visible { outline: 3px solid color-mix(in srgb, var(--rioe-color) 45%, #fff); outline-offset: 2px; border-radius: 6px; }

/* ---------- Cabecera ---------- */
.rioe-head { background: var(--rioe-color); color: #fff; position: sticky; top: 0; z-index: 20; }
.admin-bar .rioe-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .rioe-head { top: 0; position: relative; } }
.rioe-head__in {
	max-width: 1120px; margin: 0 auto; padding: 12px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.rioe-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.rioe-brand__r {
	display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px;
	background: var(--rs-cream); color: var(--rs-deep); font: 700 24px/1 Georgia, 'Times New Roman', serif;
}
.rioe-brand__name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.rioe-nav { display: flex; align-items: center; gap: 4px; }
.rioe-nav a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.rioe-nav a:hover, .rioe-nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .12); }
.rioe-nav .rioe-nav__app { background: #fff; color: var(--rs-deep); margin-left: 6px; }
.rioe-nav .rioe-nav__app:hover { background: var(--rs-cream); color: var(--rs-deep); }
@media (max-width: 600px) {
	.rioe-head__in { padding: 10px 14px; }
	.rioe-brand__name { display: none; }
	.rioe-nav a { padding: 8px 9px; font-size: .88rem; }
	.rioe-nav .rioe-nav__app { margin-left: 2px; }
}

/* ---------- Contenido ---------- */
.rioe-main { min-height: 60vh; padding: 24px 16px 48px; }
.rioe-site--home .rioe-main { padding: 0; }
.rioe-standalone .rioe-head, .rioe-standalone .rioe-foot { display: none; }
.rioe-standalone .rioe-main { padding: 0; }
@media (max-width: 480px) {
	.rioe-main { padding: 0 0 24px; }
	.rioe-main .rioe.rioe-phone { border-radius: 0; max-width: none !important; margin: 0 !important; box-shadow: none; }
	.rioe-main .rioe-phone .rioe-bar { display: none; }
	.rioe-main .rioe-phone .rioe-sheet { margin-top: 0; border-radius: 0; }
	.rioe-main .rioe-login .rioe-login__top { padding-top: 28px; }
	.rioe-main .rioe-login__sheet { border-radius: 26px 26px 0 0; }
}

/* ---------- Pie ---------- */
.rioe-foot { background: #1f1416; color: #e9dfe0; }
.rioe-foot__in {
	max-width: 1120px; margin: 0 auto; padding: 36px 20px 28px;
	display: grid; grid-template-columns: 1.2fr 2fr; gap: 24px 40px;
}
.rioe-foot__brand { display: flex; gap: 14px; align-items: flex-start; }
.rioe-foot__brand strong { font-size: 1.1rem; }
.rioe-foot__brand p { margin: 4px 0 0; color: #b9a9ac; font-size: .92rem; max-width: 30ch; }
.rioe-foot__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: start; justify-content: flex-end; }
.rioe-foot__nav a { color: #e9dfe0; text-decoration: none; font-weight: 600; }
.rioe-foot__nav a:hover { color: #fff; text-decoration: underline; }
.rioe-foot__copy { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid #3a2a2d; font-size: .85rem; color: #9c8a8d; }
@media (max-width: 700px) {
	.rioe-foot__in { grid-template-columns: 1fr; }
	.rioe-foot__nav { justify-content: flex-start; flex-direction: column; }
}

/* ---------- Portada ---------- */
.rioe-home { max-width: none; font-size: 17px; }
.rioe-home h1, .rioe-home h2, .rioe-home h3 { margin: 0; letter-spacing: -.02em; line-height: 1.12; }
.rioe-home p { margin: 0; }

.rioe-hbtn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 15px 24px; border-radius: 14px; font-weight: 800; font-size: 1rem;
	text-decoration: none; transition: filter .15s, transform .1s;
}
.rioe-hbtn:active { transform: scale(.98); }
.rioe-hbtn--main { background: var(--rs-deep); color: #fff !important; }
.rioe-hbtn--main:hover { filter: brightness(1.18); }
.rioe-hbtn--ghost { color: #fff !important; border: 2px solid rgba(255, 255, 255, .5); }
.rioe-hbtn--ghost:hover { border-color: #fff; }
.rioe-hbtn--light { background: #fff; color: var(--rs-deep) !important; }
.rioe-hbtn--ghost-dark { color: var(--rs-deep) !important; border: 2px solid var(--rs-line); }
.rioe-hbtn--center { display: flex; width: max-content; margin: 28px auto 0; }

/* Hero */
.rioe-hero { background: var(--rioe-color); color: #fff; overflow: hidden; }
.rioe-hero__in {
	max-width: 1120px; margin: 0 auto; padding: 56px 20px 72px;
	display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.rioe-hero__live {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px !important;
	padding: 6px 12px; border-radius: 99px; background: rgba(0, 0, 0, .18); font-size: .85rem; font-weight: 700;
}
.rioe-hero .rioe-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #6fe3a1; box-shadow: 0 0 0 4px rgba(111, 227, 161, .25); }
.rioe-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; max-width: 15ch; }
.rioe-hero__lead { margin-top: 18px !important; font-size: 1.15rem; line-height: 1.5; color: rgba(255, 255, 255, .86); max-width: 38ch; }
.rioe-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rioe-hero .rioe-hbtn--main { background: #fff; color: var(--rs-deep) !important; }
.rioe-hero__from { margin-top: 18px !important; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.rioe-hero__from b { color: #fff; }

/* Ilustración: tarjeta de pedido como la que recibe el chofer */
.rioe-hero__art { position: relative; min-height: 300px; display: grid; place-items: center; }
.rioe-hero__art > .rioe-van {
	position: absolute; right: -30px; bottom: -6px; width: 300px; height: auto;
	color: rgba(0, 0, 0, .2);
}
.rioe-ticket {
	position: relative; z-index: 1; width: min(300px, 100%); padding: 20px;
	background: #fff; color: var(--rs-ink); border-radius: 22px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
	transform: rotate(-3deg);
}
.rioe-ticket__top { font-size: .85rem; color: var(--rs-muted); }
.rioe-ticket .rioe-trip { margin: 12px 0 0; }
.rioe-ticket__price { margin-top: 12px !important; font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rioe-ticket__btn { display: block; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--rs-deep); color: #fff; text-align: center; font-weight: 800; }

/* Secciones */
.rioe-sec { max-width: 1120px; margin: 0 auto; padding: 72px 20px 0; }
.rioe-sec > h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
.rioe-sec__lead { margin-top: 10px !important; color: var(--rs-muted); max-width: 60ch; line-height: 1.55; }

.rioe-steps { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 0; padding: 0; }
.rioe-steps li { counter-increment: paso; padding: 24px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--rs-line); }
.rioe-steps li::before {
	content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
	border-radius: 12px; background: var(--rioe-color); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.rioe-steps strong { display: block; font-size: 1.12rem; font-weight: 800; }
.rioe-steps p { margin-top: 6px !important; color: var(--rs-muted); line-height: 1.5; }

.rioe-fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.rioe-fleet-card { padding: 26px 22px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--rs-line); }
.rioe-fleet-card .rioe-van { width: 92px; height: 52px; color: var(--rioe-color); }
.rioe-fleet-card h3 { margin-top: 14px; font-size: 1.4rem; font-weight: 800; }
.rioe-fleet-card__cap { margin-top: 2px !important; font-weight: 700; color: var(--rs-muted); font-size: .92rem; }
.rioe-fleet-card__use { margin-top: 10px !important; line-height: 1.45; min-height: 2.9em; }
.rioe-fleet-card__price { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--rs-line); color: var(--rs-muted); }
.rioe-fleet-card__price b { color: var(--rs-ink); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.rioe-band { margin-top: 80px; background: var(--rs-deep); color: #fff; }
.rioe-band__in {
	max-width: 1120px; margin: 0 auto; padding: 36px 20px;
	display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
}
.rioe-band img { border-radius: 18px; }
.rioe-band h2 { font-size: 1.6rem; font-weight: 800; }
.rioe-band p { margin-top: 6px !important; color: rgba(255, 255, 255, .8); }

.rioe-drive {
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center;
	padding-bottom: 80px;
}
.rioe-drive h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.rioe-drive p { margin-top: 10px !important; color: var(--rs-muted); line-height: 1.55; max-width: 48ch; }
.rioe-drive__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

@media (max-width: 860px) {
	.rioe-hero__in { grid-template-columns: 1fr; padding: 36px 20px 48px; gap: 28px; }
	.rioe-hero__art { min-height: 0; }
	.rioe-hero__art > .rioe-van { width: 220px; right: -40px; }
	.rioe-steps, .rioe-fleet-grid { grid-template-columns: 1fr; }
	.rioe-fleet-card__use { min-height: 0; }
	.rioe-band__in { grid-template-columns: auto 1fr; }
	.rioe-band__in .rioe-hbtn { grid-column: 1 / -1; }
	.rioe-drive { grid-template-columns: 1fr; }
	.rioe-drive__cta { justify-content: flex-start; }
	.rioe-sec { padding-top: 52px; }
}
@media (max-width: 480px) {
	.rioe-hero__cta .rioe-hbtn { flex: 1 1 100%; }
	.rioe-ticket { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rioe-hbtn { transition: none; }
}
.rioe-nav a { white-space: nowrap; }
@media (max-width: 420px) {
	.rioe-nav__long { display: none; }
	.rioe-nav { gap: 0; }
	.rioe-nav a { padding: 8px 8px; font-size: .86rem; }
}
