*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Gotham Narrow', Arial, sans-serif;
	font-weight: 500;
	background: #00380d;
	color: #fff;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font-family: inherit;
}

input:focus,
select:focus,
button:focus {
	outline: none;
}

/* ── Header ── */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 40px;
	gap: 20px;
	min-height: 60px;
}

.header-logo img {
	height: 36px;
	width: auto;
}

.header-nav {
	display: flex;
	gap: 28px;
}

.header-nav a {
	font-weight: 900;
	font-size: 13px;
	color: #1a4728;
	letter-spacing: 0.04em;
	transition: color 0.2s;
}

.header-nav a:hover {
	color: #6db33f;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-icon {
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
}

.header-icon img {
	height: 36px;
	width: auto;
}

.header-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 4px;
}

.header-hamburger span {
	display: block;
	height: 3px;
	background: #1a4728;
	border-radius: 2px;
	transition: transform 0.3s, opacity 0.3s;
}

.header-hamburger.open span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.header-hamburger.open span:nth-child(2) {
	opacity: 0;
}

.header-hamburger.open span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
	background: #00380d;
	padding-top: 60px;
}

.hero-mobile {
	display: none;
}

.hero-desk {
	position: relative;
	max-width: 1100px;
	margin: 5vh auto;
}

.hero-img {
	width: 100%;
}

.hero-img[data-action="participar"] {
	cursor: pointer;
}

/* ── Cargá y Ganá ── */
.carga {
	background: #fff;
	padding: 60px 40px 0;
}

.carga-titulo {
	text-align: center;
	font-weight: 900;
	font-size: clamp(28px, 4vw, 48px);
	color: #1a4728;
	letter-spacing: 0.04em;
	margin-bottom: 24px;
}

.carga-form-wrap {
	width: 100%;
	position: relative;
	transition: opacity 0.3s ease;
}

.carga-form-wrap.is-locked {
	opacity: 0.45;
	cursor: pointer;
}

.carga-form-wrap.is-locked .carga-form-fieldset {
	pointer-events: none;
}

.carga-form-fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.carga-login-hint {
	text-align: center;
	font-weight: 700;
	font-size: 13px;
	color: #1a4728;
	margin: -12px 0 16px;
	letter-spacing: 0.02em;
}

.carga-titulo strong {
	color: #6db33f;
}

.carga-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	max-width: 1100px;
	margin: 0 auto;
	align-items: start;
}

.carga-producto {
	position: relative;
	z-index: 2;
}

.carga-producto img {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	margin-top: -90px;
}

.carga-form-box {
	background: #72b942;
	border-radius: 24px;
	padding: 28px 32px 32px;
}

.carga-form-box h3 {
	font-weight: 900;
	font-size: 18px;
	color: #fff;
	text-align: center;
	margin-bottom: 20px;
	letter-spacing: 0.04em;
}

.field-label {
	display: block;
	font-weight: 700;
	font-size: 12px;
	color: #fff;
	margin-bottom: 8px;
	letter-spacing: 0.03em;
}

.select-wrap select {
	width: 100%;
	padding: 12px 16px;
	background: #1a4728;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	border: 2px solid #fff;
	border-radius: 12px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f7ee2e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

.upload-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
	padding: 32px 20px;
	border: 2px dashed rgba(255, 255, 255, 0.7);
	border-radius: 16px;
	cursor: pointer;
	transition: background 0.2s;
	min-height: 140px;
}

.upload-area:hover,
.upload-area.dragover {
	background: rgba(255, 255, 255, 0.1);
}

.upload-icon {
	font-size: 28px;
	color: #fff;
	opacity: 0.8;
}

.upload-text-desk {
	font-weight: 700;
	font-size: 13px;
	color: #fff;
	text-align: center;
}

.upload-text-mobile {
	display: none;
	font-weight: 700;
	font-size: 13px;
	color: #fff;
	text-align: center;
}

.upload-hint {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.8);
}

.upload-filename {
	font-size: 12px;
	color: #f7ee2e;
	font-weight: 700;
	word-break: break-all;
	text-align: center;
}

.carga-fields {
	display: flex;
	gap: 20px;
	margin-top: 24px;
}

.field-group {
	flex: 1;
}

.field-group label {
	display: block;
	font-weight: 900;
	font-size: 14px;
	color: #1a4728;
	margin-bottom: 8px;
	letter-spacing: 0.04em;
}

.field-group input[type="text"] {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #1a4728;
	border-radius: 12px;
	font-weight: 700;
	font-size: 16px;
	color: #1a4728;
	background: #fff;
}

.hora-inputs {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hora-inputs input {
	flex: 1;
	text-align: center;
	padding: 14px 8px;
	border: 2px solid #1a4728;
	border-radius: 12px;
	font-weight: 700;
	font-size: 16px;
	color: #1a4728;
	background: #fff;
}

.hora-sep {
	font-weight: 900;
	font-size: 20px;
	color: #1a4728;
}

.form-error {
	color: #c0392b;
	font-weight: 700;
	font-size: 13px;
	text-align: center;
	margin-top: 12px;
}

.btn-cargar {
	display: block;
	width: 100%;
	max-width: 280px;
	margin: 28px auto 0;
	padding: 16px;
	background: #1a4728;
	color: #fff;
	font-weight: 900;
	font-size: 18px;
	letter-spacing: 0.06em;
	border: 0;
	border-radius: 50px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-cargar:hover {
	background: #0a2318;
}

.btn-cargar:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ── Cinta infinita ── */
.cinta-wrap {
	background: #f7ee2e;
	overflow: hidden;
	padding: 10px 0;
}

.cinta-marquee {
	overflow: hidden;
	width: 100%;
}

.cinta-track {
	display: flex;
	width: max-content;
	transform: translateX(100%);
	animation:
		cinta-enter 1.2s ease-out forwards,
		cinta-scroll 12s linear 1.2s infinite;
}

.cinta-set {
	display: flex;
	align-items: center;
	gap: 56px;
	flex-shrink: 0;
}

.cinta-segment {
	display: block;
	height: 34px;
	width: auto;
	flex-shrink: 0;
	mix-blend-mode: screen;
}

@keyframes cinta-enter {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes cinta-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cinta-track {
		transform: none;
		animation: none;
		justify-content: center;
		width: 100%;
	}

	.cinta-set[aria-hidden="true"] {
		display: none;
	}

	.cinta-set .cinta-segment[aria-hidden="true"] {
		display: none;
	}
}

@media (max-width: 900px) {
	.cinta-wrap {
		padding: 8px 0;
	}

	.cinta-set {
		gap: 36px;
	}

	.cinta-segment {
		height: 26px;
	}
}

/* ── Productos / Footer ── */
.productos {
	background: #00380d;
	padding-bottom: 40px;
}

.productos-mobile {
	display: none;
}

.productos-desk {
	width: 100%;
	max-width: 1100px;
	margin: 5vh auto;
}

.legal {
	max-width: 900px;
	margin: 30px auto 0;
	padding: 0 40px;
}

.legal p {
	font-size: 11px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
}

.legal a {
	color: #a8d94a;
	text-decoration: underline;
}

.legal a:hover {
	color: #fff;
}

/* ── Popups ── */
.popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(10, 35, 24, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}

.popup-overlay[hidden] {
	display: none;
}

.popup {
	position: relative;
	width: 100%;
	max-width: 680px;
}

.popup.popup-wide {
	max-width: min(920px, 96vw);
}

.popup-panel {
	position: relative;
}

.popup-panel[hidden] {
	display: none;
}

.popup-close {
	position: absolute;
	top: -10px;
	right: -10px;
	z-index: 10;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
	width: 44px;
	height: 44px;
}

.popup-close img {
	width: 100%;
	height: 100%;
}

.popup-header {
	text-align: center;
	margin-bottom: 16px;
	max-width: 100%;
}

.popup-logo {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

.popup-title {
	text-align: center;
	font-weight: 900;
	font-size: clamp(32px, 6vw, 52px);
	color: #fff;
	letter-spacing: 0.04em;
	margin-bottom: 24px;
}

/* Login popup */
.popup-form-login {
	background: rgba(255, 255, 255, 0.6);
	border-radius: 20px;
	padding: 28px 32px 32px;
}

.login-field {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.login-ico {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.login-field input {
	flex: 1;
	padding: 14px 20px;
	background: rgba(114, 185, 66, 0.5);
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 50px;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	text-align: center;
	letter-spacing: 0.04em;
}

.login-field input::placeholder {
	color: rgba(255, 255, 255, 0.9);
}

.popup-error {
	color: #ffcccc;
	font-weight: 700;
	font-size: 13px;
	text-align: center;
	margin: 8px 0;
}

.popup-submit {
	display: block;
	width: 100%;
	max-width: 240px;
	margin: 20px auto 0;
	padding: 14px;
	background: #1a4728;
	color: #fff;
	font-weight: 900;
	font-size: 15px;
	letter-spacing: 0.06em;
	border: 2px solid #fff;
	border-radius: 50px;
	cursor: pointer;
	transition: background 0.2s;
}

.popup-submit:hover {
	background: #0a2318;
}

/* Registro popup */
.popup-form-registro {
	padding: 0 10px;
}

.registro-grid {
	display: flex;
	gap: 16px;
	align-items: stretch;
}

.registro-icons {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: rgba(114, 185, 66, 0.6);
	border-radius: 50px;
	padding: 14px 10px;
	flex-shrink: 0;
}

.registro-icons img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.registro-fields {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.registro-fields input,
.registro-fields select {
	width: 100%;
	padding: 13px 18px;
	background: rgba(114, 185, 66, 0.45);
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 50px;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.03em;
	appearance: none;
}

.registro-fields input::placeholder {
	color: rgba(255, 255, 255, 0.9);
}

.registro-fields select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23fff' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

.registro-fields select option {
	background: #1a4728;
	color: #fff;
}

/* Success popup */
.popup-panel-success .success-mobile {
	display: none;
}

/* Bases y Condiciones popup */
.popup-panel-bases {
	background: #fff;
	border-radius: 20px;
	padding: 28px 24px 24px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
}

.popup-panel-bases .popup-close {
	top: 8px;
	right: 8px;
}

.popup-title-bases {
	color: #1a4728;
	font-size: clamp(22px, 4vw, 32px);
	margin-bottom: 16px;
	padding-right: 40px;
}

.popup-bases-scroll {
	overflow-y: auto;
	flex: 1;
	padding-right: 8px;
}

.bases-body p {
	font-size: 13px;
	line-height: 1.55;
	color: #1a4728;
	margin-bottom: 14px;
	text-align: justify;
}

.bases-anexo-title {
	font-weight: 900;
	font-size: 15px;
	color: #1a4728;
	margin: 24px 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.bases-table-wrap {
	overflow-x: auto;
	margin-bottom: 8px;
}

/* Alerta popup */
.popup-panel-alerta {
	text-align: center;
}

.popup-alerta-box {
	background: rgba(255, 255, 255, 0.6);
	border-radius: 20px;
	padding: 24px 28px;
	margin-bottom: 8px;
}

.popup-alerta-box p {
	color: #1a4728;
	font-weight: 700;
	font-size: clamp(14px, 2.5vw, 16px);
	line-height: 1.5;
	margin: 0;
}

.popup-panel-alerta .popup-submit {
	margin-top: 8px;
}

.bases-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 11px;
}

.bases-table th,
.bases-table td {
	border: 1px solid #c5ddb0;
	padding: 6px 8px;
	text-align: left;
	vertical-align: top;
	color: #1a4728;
}

.bases-table th {
	background: #72b942;
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.bases-table tbody tr:nth-child(even) {
	background: #f4f9ef;
}

.bases-empty {
	text-align: center;
	color: #1a4728;
}

.success-desk {
	position: relative;
}

.success-img {
	width: 100%;
	border-radius: 12px;
}

.success-img[data-action="otro-producto"] {
	cursor: pointer;
}

.btn-otro-producto {
	display: inline-block;
	padding: 12px 32px;
	background: #0a2318;
	color: #fff;
	font-weight: 900;
	font-size: 13px;
	letter-spacing: 0.05em;
	border: 2px solid #fff;
	border-radius: 50px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-otro-producto:hover {
	background: #1a4728;
}

/* ── Mobile ── */
@media (max-width: 900px) {
	.site-header {
		position: fixed;
	}

	.header-inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		padding: 10px 14px;
		min-height: 52px;
		gap: 8px;
	}

	.header-logo {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		position: static;
		transform: none;
		max-width: 140px;
	}

	.header-logo img {
		height: 28px;
		margin: 0 auto;
	}

	.header-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		background: #fff;
		padding: 12px 16px 20px;
		gap: 0;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
		z-index: 110;
		max-height: calc(100vh - 52px);
		overflow-y: auto;
	}

	.header-nav.open {
		display: flex;
	}

	.header-nav a {
		display: block;
		font-size: 14px;
		line-height: 1.2;
		padding: 12px 8px;
		border-bottom: 1px solid rgba(26, 71, 40, 0.1);
		text-align: center;
	}

	.header-nav a:last-child {
		border-bottom: 0;
	}

	.header-nav a[data-popup="bases"] {
		font-size: 12px;
		line-height: 1.35;
		padding: 14px 8px;
	}

	.header-actions {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		gap: 6px;
		flex-shrink: 0;
	}

	.header-actions .header-icon {
		display: none;
	}

	.header-actions .header-user {
		display: flex;
	}

	.header-icon img {
		height: 28px;
	}

	.header-hamburger {
		display: flex;
		width: 36px;
		height: 36px;
		padding: 6px;
		flex-shrink: 0;
	}

	.hero {
		padding-top: 52px;
	}

	.hero-desk {
		display: none;
	}

	.hero-mobile {
		display: block;
		position: relative;
	}

	.hero-mobile .hero-img {
		width: 85%;
		margin: 24px auto;
	}

	.carga {
		padding: 40px 20px 50px;
	}

	.carga-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.carga-producto {
		order: 2;
	}

	.carga-producto img {
		margin-top: -40px;
	}

	.carga-form-wrap {
		order: 1;
	}

	.upload-text-desk {
		display: none;
	}

	.upload-text-mobile {
		display: block;
	}

	.carga-fields {
		flex-direction: column;
		gap: 16px;
	}

	.field-hora .hora-inputs input {
		flex: 1;
	}

	.productos-desk {
		display: none;
	}

	.productos-mobile {
		display: block;
		width: 85%;
		margin: 24px auto;
	}

	.legal {
		padding: 0 20px;
	}

	.popup {
		max-width: 100%;
	}

	.popup-close {
		top: 0;
		right: 0;
	}

	.registro-grid {
		flex-direction: column;
	}

	.registro-icons {
		flex-direction: row;
		border-radius: 50px;
		padding: 10px 20px;
		justify-content: space-around;
	}

	.popup-panel-success .success-desk {
		display: none;
	}

	.popup-panel-success .success-mobile {
		display: block;
		text-align: center;
		padding: 20px 10px;
	}

	.success-vamos {
		font-weight: 900;
		font-size: 36px;
		color: #a8d94a;
		font-style: italic;
		margin: 16px 0 8px;
	}

	.success-titulo {
		font-weight: 900;
		font-size: 28px;
		color: #fff;
		line-height: 1.1;
		margin-bottom: 8px;
	}

	.success-sub {
		font-weight: 700;
		font-size: 16px;
		color: #fff;
		margin-bottom: 24px;
	}

	.success-sub strong {
		color: #a8d94a;
	}
}

@media (max-width: 480px) {
	.carga-form-box {
		padding: 20px 18px 24px;
		border-radius: 18px;
	}
}
