/* =========================================================
   TRAKKY HOME — hero banner, shortcuts, categorías, carrousels,
   banda promocional, cómo funciona (estilo Farmatodo)
   ========================================================= */

.tk-home-section { padding: 28px 0 8px; }

/* ============ SECTION HEAD ============ */
.tk-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 18px;
}
.tk-section-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.tk-rail-eyebrow {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--orange);
	font-weight: 700;
	margin-bottom: 2px;
}
.link-more { font-size: 13.5px; color: var(--orange); font-weight: 600; white-space: nowrap; }
.link-more:hover { color: var(--orange-deep); }

/* ============ HERO — banner azul degradado ============ */
.tk-hero { padding: 24px 0 0; }
.tk-hero-banner {
	position: relative;
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 24px;
	align-items: center;
	background: linear-gradient(120deg, #9E83FD 0%, #7C5CFC 55%, #5B3FE0 100%);
	border-radius: 18px;
	overflow: hidden;
	padding: 34px 40px;
	color: #fff;
}
.tk-hero-banner::before {
	content: '';
	position: absolute;
	top: -120px; right: -80px;
	width: 380px; height: 380px;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
}
.tk-hero-banner::after {
	content: '';
	position: absolute;
	bottom: -140px; left: 40%;
	width: 300px; height: 300px;
	border-radius: 50%;
	background: rgba(255,221,86,.10);
}

.tk-hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255,255,255,.16);
	border: 1px solid rgba(255,255,255,.35);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .02em;
}
.tk-hero-pill-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--yellow);
	box-shadow: 0 0 0 3px rgba(253,215,86,.35);
	animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.tk-hero-title {
	font-size: 34px;
	line-height: 1.08;
	color: #fff;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 14px 0 10px;
}
.tk-hero-title .tk-hero-accent { color: var(--yellow); }
.tk-hero-sub { font-size: 16px; color: rgba(255,255,255,.88); margin: 0 0 22px; max-width: 460px; }

.tk-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-white {
	background: rgba(255,255,255,0);
	border: 1.5px solid rgba(255,255,255,.7);
	color: #fff;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.12); color: #fff; }

.tk-hero-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 18px; flex-wrap: wrap; }
.tk-hero-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.9); }
.tk-hero-trust svg { color: var(--yellow); }

/* Visual: disco con producto + badge -20% */
.tk-hero-visual { position: relative; display: flex; justify-content: center; z-index: 1; }
.tk-hero-disc {
	width: 220px; height: 220px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 24px 40px -18px rgba(100,60,200,.35);
	border: 6px solid rgba(255,255,255,.6);
}
.tk-hero-disc img { width: 82%; height: 82%; object-fit: contain; }
.tk-hero-disc-logo { font-size: 80px; color: var(--orange); }
@media (max-width: 767px) {
	.tk-hero-banner { grid-template-columns: 1fr; padding: 24px 18px; text-align: center; }
	.tk-hero-title { font-size: 24px; }
	.tk-hero-ctas { justify-content: center; }
	.tk-hero-trust { justify-content: center; gap: 12px; margin-top: 16px; }
	.tk-hero-sub { margin-left: auto; margin-right: auto; font-size: 14px; margin-bottom: 16px; }
	.tk-hero-visual { margin-top: 4px; }
	.tk-hero-disc { width: 140px; height: 140px; }
}

/* ============ SHORTCUTS (accesos rápidos circulares) ============ */
.tk-shortcuts {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	padding: 22px 4px;
	scrollbar-width: none;
}
.tk-shortcuts::-webkit-scrollbar { display: none; }
.tk-shortcut {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 74px;
	color: var(--ink);
}
.tk-shortcut-icon {
	width: 64px; height: 64px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	box-shadow: var(--shadow-card);
	border: 1px solid var(--line);
	transition: transform .2s, box-shadow .2s;
}
.tk-shortcut:hover .tk-shortcut-icon { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.tk-shortcut-label { font-size: 12px; font-weight: 500; text-align: center; }

/* ============ CATEGORÍAS — tiles de color ============ */
.tk-cats-featured { padding-top: 10px; }
.tk-cats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
@media (min-width: 992px) { .tk-cats-grid { grid-template-columns: repeat(6, 1fr); } }
.tk-cat-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--tile-bg, var(--orange-soft));
	aspect-ratio: 1;
	border-radius: 14px;
	overflow: hidden;
	padding: 14px;
	transition: transform .2s, box-shadow .2s;
}
.tk-cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.tk-cat-tile-name { font-size: 16px; font-weight: 800; color: var(--tile-fg, var(--orange-deep)); line-height: 1.15; z-index: 1; }
.tk-cat-tile-count { font-size: 11px; color: var(--tile-fg, var(--orange-deep)); opacity: .75; margin-top: 2px; z-index: 1; }
.tk-cat-tile-arrow {
	position: absolute;
	top: 12px; right: 12px;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: rgba(255,255,255,.85);
	color: var(--tile-fg, var(--orange-deep));
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}
.tk-cat-tile-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tk-cat-tile-media img { width: 72%; height: 72%; object-fit: contain; opacity: .18; }

/* ============ RAILS — carousel en caja blanca ============ */
.tk-rail { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin: 28px 0 0; }
.tk-rail-box { background: #fff; }
.tk-rail-scroll {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding: 4px 2px 10px;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}
.tk-rail-scroll::-webkit-scrollbar { display: none; }
.tk-rail-scroll .product-card { min-width: 0; flex: 0 0 150px; flex-shrink: 0; scroll-snap-align: start; }
@media (min-width: 768px) { .tk-rail-scroll .product-card { flex: 0 0 200px; } }

/* ============ BANDA PROMOCIONAL (amarillo) ============ */
.tk-promo-band {
	background: linear-gradient(120deg, #FDD756 0%, #FCE5A6 60%, #FDD756 110%);
	color: var(--ink);
	margin: 28px 0 28px;
	padding: 26px 0;
}
.tk-promo-band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.tk-promo-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #8A5A00;
	margin-bottom: 4px;
}
.tk-promo-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #B26A00; }
.tk-promo-title { font-size: 30px; margin: 0; color: var(--ink); letter-spacing: -0.02em; }
.tk-promo-sub { margin: 6px 0 0; font-size: 15px; color: rgba(25,46,90,.75); max-width: 480px; }

/* ============ CÓMO FUNCIONA ============ */
.tk-home-section.tk-how { padding: 48px 0 56px; }
.tk-how-head { text-align: center; max-width: 560px; margin: 0 auto 34px; }
.tk-how-eyebrow {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--orange);
	font-weight: 700;
}
.tk-how-head h2 { font-size: 28px; margin: 8px 0 10px; }
.tk-how-head p { color: var(--muted); font-size: 14.5px; margin: 0; }

.tk-how-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
@media (min-width: 992px) { .tk-how-steps { grid-template-columns: repeat(4, 1fr); } }
.tk-how-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 24px 20px 20px;
}
.tk-how-step:hover { box-shadow: var(--shadow-card-hover); }
.tk-how-num {
	position: absolute;
	top: -12px; left: 20px;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--orange);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tk-how-icon {
	width: 52px; height: 52px;
	border-radius: 14px;
	background: var(--orange-soft);
	color: var(--orange-deep);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.tk-how-icon-wa { background: var(--wa-soft); color: var(--wa-dark); }
.tk-how-step h3 { font-size: 16px; margin: 0 0 6px; }
.tk-how-step p { font-size: 13.5px; color: var(--muted); margin: 0; }

.tk-how-cta { text-align: center; margin-top: 32px; }