/* Lunch de Bienvenida · v1.0.0 */
.clunch-wrap {
	--cl-c1: #1e3a8a;
	--cl-c2: #3b5bdb;
	--cl-ink: #0f172a;
	--cl-muted: #64748b;
	--cl-line: #e2e8f0;
	--cl-soft: #f1f5ff;
	--cl-err: #dc2626;
	--cl-radius: 18px;
	max-width: 1400px;
	margin: 0 auto;
	color: var(--cl-ink);
	font-size: 16px;
	line-height: 1.5;
	container-type: inline-size;
	container-name: clunch;
}
.clunch-wrap *, .clunch-wrap *::before, .clunch-wrap *::after { box-sizing: border-box; }
.clunch-wrap [hidden] { display: none !important; }

/* Hero */
.clunch-hero {
	position: relative;
	overflow: hidden;
	padding: 34px 32px 30px;
	border-radius: var(--cl-radius);
	background: linear-gradient(135deg, var(--cl-c1), var(--cl-c2));
	color: #fff;
	margin-bottom: 22px;
	box-shadow: 0 18px 40px -22px rgba(30, 58, 138, .65);
}
.clunch-hero::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
	pointer-events: none;
}
.clunch-hero__eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.clunch-hero__titlerow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 6px 0 10px; }
.clunch-hero__title { margin: 0 !important; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 800; color: #fff !important; letter-spacing: -.01em; }
.clunch-hero__date {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 15px;
	border-radius: 999px;
	background: #fff;
	color: var(--cl-c1);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: 0 8px 20px -10px rgba(15, 23, 42, .5);
}
.clunch-hero__place {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	margin: 0 0 14px;
	padding: 9px 14px 9px 12px;
	border-radius: 14px;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.3);
	font-size: 15px;
	line-height: 1.35;
}
.clunch-hero__place strong { font-weight: 800; letter-spacing: .02em; margin-right: 6px; }
.clunch-hero__addr { opacity: .9; }
.clunch-hero__free {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding: 10px 24px 10px 18px;
	border-radius: 16px;
	background: linear-gradient(135deg, #10b981, #059669);
	color: #fff;
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: .04em;
	text-transform: uppercase;
	box-shadow: 0 14px 30px -12px rgba(5, 150, 105, .75), inset 0 0 0 2px rgba(255,255,255,.35);
}
.clunch-hero__free-icon { font-size: .9em; }
.clunch-hero__place + .clunch-hero__free, .clunch-hero__titlerow + .clunch-hero__free { display: flex; width: fit-content; }
.clunch-hero__sub { margin: 0 0 14px; max-width: 760px; opacity: .92; }
.clunch-hero__sub:last-child { margin-bottom: 0; }
.clunch-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.clunch-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: 14px; font-weight: 600; }

/* Cards */
.clunch-card {
	background: #fff;
	border: 1px solid var(--cl-line);
	border-radius: var(--cl-radius);
	padding: 26px;
	margin-bottom: 20px;
	box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35);
}
.clunch-card__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.clunch-num { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--cl-c1), var(--cl-c2)); }
.clunch-card__title { margin: 0 !important; font-size: 20px; font-weight: 800; line-height: 1.25; color: var(--cl-ink); }
.clunch-card__desc { margin: 3px 0 0; color: var(--cl-muted); font-size: 15px; }

/* Menú */
.clunch-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); gap: 14px; }
.clunch-section {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 16px 18px;
	border-radius: 14px;
	background: linear-gradient(160deg, #f8faff, #eef2ff);
	border: 1px solid #dbe3ff;
}
.clunch-section__n { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--cl-c1); background: #fff; border: 2px solid #c7d2fe; }
.clunch-section__t { margin: 3px 0 4px !important; font-size: 16.5px; font-weight: 800; line-height: 1.3; color: var(--cl-ink); }
.clunch-section__d { margin: 0; font-size: 14.5px; color: #334155; line-height: 1.45; }

/* Campos */
.clunch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.clunch-field label, .clunch-label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; color: var(--cl-ink); }
.clunch-req { color: var(--cl-err); }
.clunch-opt { color: var(--cl-muted); font-weight: 500; }
.clunch-field input[type="text"],
.clunch-field input[type="email"],
.clunch-field input[type="tel"],
.clunch-field textarea {
	width: 100% !important;
	max-width: 100%;
	padding: 12px 14px !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 12px !important;
	font-size: 16px !important;
	font-family: inherit !important;
	line-height: 1.4;
	color: var(--cl-ink);
	background: #fff !important;
	box-shadow: none !important;
	margin: 0 !important;
	transition: border-color .15s, box-shadow .15s;
}
.clunch-field textarea { resize: vertical; min-height: 64px; }
.clunch-field input:focus, .clunch-field textarea:focus { outline: none; border-color: var(--cl-c2) !important; box-shadow: 0 0 0 4px rgba(59, 91, 219, .15) !important; }
.clunch-field.has-error input, .clunch-field.has-error textarea { border-color: var(--cl-err) !important; }
.clunch-field--obs { margin: 18px 0 14px; }
.clunch-error { margin: 6px 0 0; color: var(--cl-err); font-size: 13.5px; font-weight: 600; }
.clunch-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Opciones de comida */
.clunch-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.clunch-option { position: relative; display: block; cursor: pointer; margin: 0 !important; }
.clunch-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.clunch-option__box {
	--tone: var(--cl-c2);
	--tone-bg: #eef2ff;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	height: 100%;
	padding: 20px 16px 18px;
	border: 2px solid var(--cl-line);
	border-radius: 16px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s, background .15s, transform .15s;
}
.clunch-option--vegetariano .clunch-option__box { --tone: #16a34a; --tone-bg: #ecfdf3; }
.clunch-option--sintacc .clunch-option__box { --tone: #ea580c; --tone-bg: #fff4ec; }
.clunch-option:hover .clunch-option__box { border-color: var(--tone); transform: translateY(-1px); }
.clunch-option__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--tone-bg); margin-bottom: 4px; }
.clunch-option__txt { display: flex; flex-direction: column; gap: 2px; }
.clunch-option__name { font-size: 17px; font-weight: 800; color: var(--cl-ink); }
.clunch-option__desc { font-size: 14px; color: var(--cl-muted); }
.clunch-option__check {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 14px;
	font-weight: 800;
	color: #fff;
	background: var(--tone);
	opacity: 0;
	transform: scale(.6);
	transition: opacity .15s, transform .15s;
}
.clunch-option input:checked + .clunch-option__box { border-color: var(--tone); background: var(--tone-bg); box-shadow: 0 14px 28px -18px var(--tone); }
.clunch-option input:checked + .clunch-option__box .clunch-option__icon { background: #fff; }
.clunch-option input:checked + .clunch-option__box .clunch-option__check { opacity: 1; transform: scale(1); }
.clunch-option input:focus-visible + .clunch-option__box { outline: 3px solid rgba(59, 91, 219, .35); outline-offset: 2px; }
.clunch-options.has-error .clunch-option__box { border-color: #fecaca; }

.clunch-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 600 !important; font-size: 15.5px !important; cursor: pointer; padding: 14px 16px; border-radius: 12px; background: var(--cl-soft); margin: 0 !important; }
.clunch-check input { width: 20px; height: 20px; margin: 1px 0 0 !important; accent-color: var(--cl-c2); flex: 0 0 auto; }
.clunch-field.has-error .clunch-check { background: #fef2f2; }

.clunch-actions { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.clunch-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 260px;
	padding: 16px 30px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, var(--cl-c1), var(--cl-c2)) !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	box-shadow: 0 14px 28px -14px rgba(30, 58, 138, .8);
	transition: transform .15s, box-shadow .15s, opacity .15s;
}
.clunch-submit:hover { transform: translateY(-1px); }
.clunch-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.clunch-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: clunch-spin .7s linear infinite; }
.clunch-submit.is-loading .clunch-spinner { display: inline-block; }
@keyframes clunch-spin { to { transform: rotate(360deg); } }
.clunch-form-msg { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fef2f2; color: var(--cl-err); font-weight: 600; font-size: 14.5px; }

/* Estados */
.clunch-closed, .clunch-success { text-align: center; padding: 40px 26px; }
.clunch-closed h3, .clunch-success h3 { margin: 8px 0 !important; font-size: 26px; font-weight: 800; color: var(--cl-ink); }
.clunch-closed p { color: var(--cl-muted); max-width: 560px; margin: 0 auto; }
.clunch-closed__icon { font-size: 40px; }
.clunch-success:focus { outline: none; }
.clunch-success__icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 14px 28px -14px rgba(5, 150, 105, .8); }
.clunch-success__code { font-size: 16px; color: var(--cl-muted); margin: 0 0 10px; }
.clunch-success__code strong { color: var(--cl-c1); font-size: 18px; }
.clunch-success__food { display: inline-block; margin: 0 0 14px; padding: 8px 16px; border-radius: 999px; background: var(--cl-soft); color: var(--cl-c1); font-weight: 800; }
.clunch-success__free { margin: 0 0 14px; font-size: 20px; font-weight: 900; color: #047857; text-transform: uppercase; letter-spacing: .04em; }
.clunch-success__note { color: var(--cl-muted); max-width: 560px; margin: 0 auto 16px; }
.clunch-btn-new { display: inline-flex; padding: 12px 20px; border-radius: 12px !important; font-weight: 800 !important; font-size: 15px !important; background: #fff !important; color: var(--cl-c1) !important; border: 2px solid var(--cl-line) !important; cursor: pointer; }

@container clunch (max-width: 640px) {
	.clunch-hero { padding: 26px 20px 22px; border-radius: 16px; }
	.clunch-card { padding: 20px 16px; border-radius: 16px; }
	.clunch-grid { grid-template-columns: 1fr; }
	.clunch-submit { width: 100%; min-width: 0; }
	.clunch-hero__place { align-items: flex-start; }
	.clunch-hero__place strong, .clunch-hero__addr { display: block; }
	.clunch-option__box { flex-direction: row; text-align: left; align-items: center; gap: 12px; padding: 14px 44px 14px 14px; }
	.clunch-option__icon { flex: 0 0 46px; width: 46px; height: 46px; font-size: 24px; margin: 0; }
	.clunch-option__check { top: 50%; margin-top: -13px; }
}
@media (max-width: 640px) {
	.clunch-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.clunch-wrap * { transition: none !important; animation-duration: .01ms !important; }
}
