/* Página de subida de fotos (usa los estilos base de home.css) */

.bf-hero {
	background: var(--cream);
	padding: clamp(64px, 10vw, 110px) 0 clamp(56px, 8vw, 90px);
	text-align: center;
}
.bf-hero__icon {
	width: 76px;
	height: 76px;
	margin: 0 auto 26px;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	color: var(--gold-dark);
}
.bf svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.bf-hero__icon svg {
	width: 36px;
	height: 36px;
}
.bf-hero .bh-title {
	font-size: clamp(42px, 7vw, 72px);
	margin-bottom: 20px;
}
.bf-hero__text {
	font-size: 17px;
	line-height: 1.7;
	max-width: 520px;
	margin-inline: auto !important;
}

.bf-main {
	padding: clamp(48px, 7vw, 80px) 0 clamp(80px, 10vw, 120px);
	background: #fff;
}
.bf-card {
	position: relative;
	background: #fff;
	border-radius: 24px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: 0 30px 70px -30px rgba(42, 26, 16, .35);
	border: 1px solid #f0e6da;
}

.bf-field {
	display: block;
	margin-bottom: 22px;
}
.bf-field span {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--ink);
	margin-bottom: 8px;
}
.bf-field em {
	font-weight: 400;
	color: var(--muted);
}
.bf-field input {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid #e4d9cf;
	border-radius: 12px;
	font-size: 16px;
	color: var(--ink);
	background: #fff;
	transition: border-color .3s, box-shadow .3s;
}
.bf-field input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(168, 116, 16, .12);
}

.bf-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 220px;
	padding: 30px 20px;
	border: 2px dashed var(--line);
	border-radius: 18px;
	background: var(--cream);
	text-align: center;
	cursor: pointer;
	transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.bf-drop:hover,
.bf-drop.is-over {
	border-color: var(--gold);
	background: #f8eee1;
}
.bf-drop.is-over {
	transform: scale(1.01);
}
.bf-drop input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.bf-drop__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	display: grid;
	place-items: center;
	margin-bottom: 10px;
	box-shadow: 0 12px 30px -12px rgba(136, 92, 9, .7);
	transition: transform .4s var(--ease);
}
.bf-drop:hover .bf-drop__icon {
	transform: translateY(-4px);
}
.bf-drop__icon svg {
	width: 30px;
	height: 30px;
	stroke-width: 2;
}
.bf-drop__title {
	font-family: var(--serif);
	font-size: 26px;
	color: var(--ink);
}
.bf-drop__hint {
	font-size: 14px;
	color: var(--muted);
}

.bf-list {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.bf-list:empty {
	display: none;
}
.bf-item {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 14px;
	align-items: center;
	padding: 10px;
	border-radius: 14px;
	background: #fcf9f5;
	animation: bf-in .5s var(--ease);
}
@keyframes bf-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
}
.bf-item__thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--sand);
	display: grid;
	place-items: center;
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
}
.bf-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bf-item__info {
	min-width: 0;
	display: grid;
	gap: 4px;
}
.bf-item__name {
	font-size: 14px;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bf-item__state {
	font-size: 12.5px;
	color: var(--muted);
}
.bf-item__bar {
	height: 4px;
	border-radius: 4px;
	background: #efe5d8;
	overflow: hidden;
}
.bf-item__bar span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--gold);
	transition: width .3s;
}
.bf-item.is-done .bf-item__state {
	color: #3c7a46;
}
.bf-item.is-done .bf-item__bar span {
	background: #5a9a64;
}
.bf-item.is-error {
	background: #fdf1ef;
}
.bf-item.is-error .bf-item__state {
	color: #b3412d;
}
.bf-item.is-error .bf-item__bar {
	display: none;
}
.bf-item__retry {
	background: none;
	border: 0;
	padding: 0;
	color: var(--gold-dark);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.bf-summary {
	margin-top: 22px;
}
.bf-summary__bar {
	height: 8px;
	border-radius: 8px;
	background: #efe5d8;
	overflow: hidden;
}
.bf-summary__bar span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--gold-soft), var(--gold));
	transition: width .3s;
}
.bf-summary p {
	margin: 10px 0 0 !important;
	font-size: 14px;
	color: var(--muted);
	text-align: center;
}

.bf-done {
	margin-top: 26px;
	text-align: center;
	padding: 28px 10px 6px;
	border-top: 1px solid #f0e6da;
	animation: bf-in .6s var(--ease);
}
.bf-done svg {
	width: 56px;
	height: 56px;
	color: #5a9a64;
	stroke-width: 2;
}
.bf-done h2 {
	font-size: 34px;
	margin: 10px 0 6px;
}
.bf-done p {
	color: var(--muted);
}
.bf-done[hidden],
.bf-summary[hidden] {
	display: none;
}

.bf-tip {
	margin-top: 22px !important;
	text-align: center;
	font-size: 13.5px;
	color: var(--muted);
}
