/*
 * Certificados de regalo y "Tu regalo" (Figma 215:299, 215:520, 215:719, 215:872).
 * Ancho de contenido = 1120px, el mismo del logo y el menu del header.
 */

.cgc-cert,
.cgc-tr {
	--cgc-red: #f82c1f;
	--cgc-lime: #c1fe01;
	--cgc-bg: #ececec;
	--cgc-ink: #000;
	--cgc-muted: #444;
	--cgc-line: #c9c9c9;
	--cgc-display: "Saira Extra Condensed", "Saira ExtraCondensed", Impact, sans-serif;
	--cgc-ui: "Bricolage Grotesque", system-ui, sans-serif;
	--cgc-text: "Anek Latin", system-ui, sans-serif;
	background: var(--cgc-bg);
	color: var(--cgc-ink);
	font-family: var(--cgc-text);
	padding-top: 120px; /* el header del sitio flota encima */
	box-sizing: border-box;
}

.cgc-cert *,
.cgc-tr * {
	box-sizing: border-box;
}

.cgc-cert h1,
.cgc-cert h2,
.cgc-cert p,
.cgc-tr h1,
.cgc-tr h2,
.cgc-tr p {
	margin: 0;
}

.cgc-cert button,
.cgc-tr button,
.cgc-tr a.cgc-tr-btn {
	white-space: nowrap;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
	box-shadow: none;
}

.cgc-cert svg,
.cgc-tr svg {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ------------------------------------------------------------------
 * Tarjeta de regalo (pieza compartida). Todo se mide en cqw para que
 * la misma tarjeta escale igual en el hero, la vista previa y el movil.
 * Referencia: 420 x 252 px.
 * ---------------------------------------------------------------- */

.cgc-gcard-wrap {
	container-type: inline-size;
	width: 420px;
	max-width: 100%;
}

.cgc-gcard {
	position: relative;
	overflow: hidden;
	aspect-ratio: 420 / 252;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 5.714cqw 6.667cqw;
	border-radius: 3.81cqw;
	border: 1.5px solid rgba(248, 44, 31, .85);
	background: linear-gradient(160deg, #1d1c1c 0%, #0b0b0b 45%, #151414 100%);
	box-shadow: 0 5.7cqw 9.5cqw rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
	color: #fff;
}

.cgc-gcard__foil {
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: 75.48cqw;
	width: 9.52cqw;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .14) 35%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(90deg, #4a0703 0%, #ef3a2d 100%);
	box-shadow: 0 0 1.9cqw rgba(0, 0, 0, .55);
}

.cgc-gcard__seam {
	position: absolute;
	top: -1px;
	bottom: -1px;
	width: 1px;
	background: rgba(255, 191, 178, .28);
}

.cgc-gcard__seam--a { left: 76.19cqw; }
.cgc-gcard__seam--b { left: 84.05cqw; }

.cgc-gcard__seal {
	position: absolute;
	left: 70.71cqw;
	top: 18.57cqw;
	width: 19.05cqw;
	height: 19.05cqw;
	border-radius: 50%;
	border: .6cqw solid #e8e8e8;
	background: #0d0d0d;
	box-shadow: 0 1.9cqw 3.8cqw rgba(0, 0, 0, .6);
	overflow: hidden;
	z-index: 1;
}

.cgc-gcard__seal img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cgc-gcard__top,
.cgc-gcard__bottom {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	gap: 2cqw;
}

.cgc-gcard__top { align-items: center; }
.cgc-gcard__bottom { align-items: flex-end; }

.cgc-gcard__brand {
	font-family: var(--cgc-display);
	font-weight: 800;
	font-size: 5.714cqw;
	line-height: .82;
	text-transform: uppercase;
	color: #fff;
}

.cgc-gcard__brand em {
	font-style: normal;
	color: var(--cgc-red);
}

.cgc-gcard__label {
	font-family: var(--cgc-ui);
	font-weight: 800;
	font-size: 2.857cqw;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--cgc-lime);
	white-space: nowrap;
}

.cgc-gcard__amount {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	font-family: var(--cgc-display);
	font-weight: 800;
	font-size: 20.95cqw;
	line-height: 1;
	background: linear-gradient(180deg, #8c8c8c 0%, #fff 35%, #bdbdbd 55%, #6e6e6e 80%, #e8e8e8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 .5cqw 0 rgba(0, 0, 0, .9));
	white-space: nowrap;
}

.cgc-gcard__amount.is-text {
	font-size: 11cqw;
	white-space: normal;
	max-width: 62cqw;
}

.cgc-gcard__to {
	font-family: var(--cgc-text);
	font-weight: 600;
	font-size: 3.81cqw;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 45cqw;
}

.cgc-gcard__code {
	font-family: var(--cgc-ui);
	font-weight: 800;
	font-size: 3.333cqw;
	letter-spacing: .1em;
	color: #bdbdbd;
	white-space: nowrap;
}

/* ------------------------------------------------------------------
 * Certificados: hero
 * ---------------------------------------------------------------- */

.cgc-cert-hero {
	background: #000;
	color: #fff;
	padding: 88px 20px;
}

.cgc-cert-hero__in {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 64px;
}

.cgc-cert-hero__text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cgc-cert-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--cgc-ui);
	font-weight: 800;
	font-size: 16px;
	letter-spacing: .25em;
	text-transform: uppercase;
	color: var(--cgc-lime);
}

.cgc-cert-eyebrow b { font-weight: inherit; }
.cgc-only-mob { display: none; }

.cgc-cert-eyebrow span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	flex: none;
}

.cgc-cert-hero__title {
	font-family: var(--cgc-display);
	font-weight: 800;
	font-size: 96px;
	line-height: .9;
	text-transform: uppercase;
	color: #fff;
	max-width: 620px;
}

.cgc-cert-hero__lead {
	font-size: 21px;
	line-height: 1.1;
	color: #fff;
}

.cgc-cert-hero__cards {
	flex: 0 0 420px;
	display: flex;
	flex-direction: column;
	padding: 20px 0;
}

.cgc-cert-hero__card--a { transform: rotate(-6deg); }
.cgc-cert-hero__card--b { transform: rotate(4deg); margin: -120px 0 0 22px; }

/* ------------------------------------------------------------------
 * Certificados: formulario y lateral
 * ---------------------------------------------------------------- */

.cgc-cert-body {
	padding: 80px 20px;
}

.cgc-cert-body__in {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	gap: 40px;
	align-items: start;
}

.cgc-cert-form {
	background: #fff;
	border-radius: 12px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cgc-cert-h2 {
	font-family: var(--cgc-display);
	font-weight: 800;
	font-size: 38px;
	line-height: 1.1;
	text-transform: uppercase;
	color: #000;
}

.cgc-cert-h3 {
	font-family: var(--cgc-display);
	font-weight: 800;
	font-size: 32px;
	line-height: 1.1;
	text-transform: uppercase;
}

.cgc-cert-amounts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.cgc-cert-amount {
	height: 72px;
	border-radius: 12px;
	border: 1.5px solid var(--cgc-line);
	background: #fff;
	color: #000;
	font-family: var(--cgc-display) !important;
	font-weight: 800;
	font-size: 32px;
	line-height: 1;
	padding: 0 8px;
	transition: background .15s, border-color .15s, color .15s;
}

.cgc-cert-amount--other {
	font-family: var(--cgc-ui) !important;
	font-size: 16px;
}

.cgc-cert-amount:hover { border-color: #000; }

.cgc-cert-amount.is-on {
	background: #000;
	border-color: #000;
	color: #fff;
}

.cgc-cert-note {
	font-size: 14px;
	line-height: 1.1;
	color: var(--cgc-muted);
	margin-top: -12px !important;
}

.cgc-cert-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.cgc-cert-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.cgc-cert-field[hidden],
.cgc-cert-note[hidden],
.cgc-cert-error[hidden] {
	display: none;
}

.cgc-cert-field > span {
	font-weight: 600;
	font-size: 14px;
	color: #000;
}

.cgc-cert-field input,
.cgc-cert-field textarea,
.cgc-tr-field input {
	width: 100%;
	height: 52px;
	border: 1px solid var(--cgc-line);
	border-radius: 10px;
	background: #fff;
	padding: 0 16px;
	font-family: var(--cgc-text);
	font-size: 16px;
	color: #000;
	box-shadow: none;
	margin: 0;
}

.cgc-cert-field textarea {
	height: 96px;
	padding: 14px 16px;
	resize: vertical;
}

.cgc-cert-field input::placeholder,
.cgc-cert-field textarea::placeholder,
.cgc-tr-field input::placeholder {
	color: #bdbdbd;
}

.cgc-cert-field input:focus,
.cgc-cert-field textarea:focus,
.cgc-tr-field input:focus {
	outline: none;
	border-color: #000;
}

.cgc-cert-when {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.cgc-cert-pill {
	height: 49px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 18px;
	border-radius: 99px;
	border: 1.5px solid var(--cgc-line);
	background: #fff;
	color: #000;
	font-family: var(--cgc-text) !important;
	font-weight: 600;
	font-size: 16px;
}

.cgc-cert-pill:hover { border-color: #000; }

.cgc-cert-pill.is-on {
	background: #000;
	border-color: #000;
	color: #fff;
}

.cgc-cert-pill.is-on svg { color: var(--cgc-lime); }

.cgc-cert-error {
	background: #fff1f0;
	border: 1px solid var(--cgc-red);
	color: #a3150b;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 15px;
	line-height: 1.3;
}

.cgc-cert-submit {
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 24px;
	border: 0;
	border-radius: 99px;
	background: var(--cgc-red);
	color: #fff;
	font-family: var(--cgc-ui) !important;
	font-weight: 800;
	font-size: 18px;
}

.cgc-cert-submit:hover { background: #e0190d; }
.cgc-cert-submit[disabled] { opacity: .7; cursor: wait; }

.cgc-cert-side {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cgc-cert-preview {
	background: #1a1a1a;
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cgc-cert-preview__label {
	font-family: var(--cgc-ui);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--cgc-lime);
}

.cgc-cert-preview .cgc-gcard-wrap { width: 100%; }

.cgc-cert-preview__msg {
	font-size: 15px;
	line-height: 1.15;
	color: #bdbdbd;
	overflow-wrap: anywhere;
}

.cgc-cert-how {
	background: #fff;
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.cgc-cert-step {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.cgc-cert-step__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cgc-red);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.cgc-cert-step div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cgc-cert-step strong {
	font-weight: 700;
	font-size: 17px;
	line-height: 1.1;
}

.cgc-cert-step span {
	font-size: 15px;
	line-height: 1.15;
	color: var(--cgc-muted);
}

.cgc-cert-check {
	background: var(--cgc-red);
	color: #fff;
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cgc-cert-check p {
	font-size: 16px;
	line-height: 1.1;
}

.cgc-cert-check input {
	height: 48px;
	border: 0;
	border-radius: 99px;
	padding: 0 20px;
	font-family: var(--cgc-text);
	font-size: 16px;
	text-transform: uppercase;
	width: 100%;
}

.cgc-cert-check input[hidden] { display: none; }

.cgc-cert-check__btn {
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 99px;
	background: #fff;
	color: #000;
	font-family: var(--cgc-ui) !important;
	font-weight: 800;
	font-size: 17px;
	padding: 0 24px;
}

/* ------------------------------------------------------------------
 * Tu regalo
 * ---------------------------------------------------------------- */

.cgc-tr-main {
	padding: 88px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.cgc-tr-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	max-width: 640px;
}

.cgc-tr-head .cgc-cert-eyebrow { color: var(--cgc-red); }

.cgc-tr-title {
	font-family: var(--cgc-display);
	font-weight: 800;
	font-size: 104px;
	line-height: .9;
	text-transform: uppercase;
	color: #000;
}

.cgc-tr-title em {
	font-style: normal;
	color: var(--cgc-red);
}

.cgc-tr-lead {
	font-size: 20px;
	line-height: 1.1;
	color: var(--cgc-muted);
}

.cgc-tr .cgc-gcard-wrap { width: 546px; }

.cgc-tr-box {
	width: 100%;
	max-width: 640px;
	background: #fff;
	border-radius: 12px;
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cgc-tr-quote {
	font-weight: 600;
	font-size: 22px;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.cgc-tr-from {
	font-size: 15px;
	color: var(--cgc-muted);
}

.cgc-tr-stats {
	width: 100%;
	max-width: 640px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.cgc-tr-stat {
	background: #fff;
	border-radius: 12px;
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cgc-tr-stat__label {
	font-family: var(--cgc-ui);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--cgc-red);
}

.cgc-tr-stat__value {
	font-family: var(--cgc-display);
	font-weight: 800;
	font-size: 32px;
	line-height: 1.1;
}

.cgc-tr-stat__value.is-off { color: var(--cgc-red); }

.cgc-tr-qr {
	width: 100%;
	max-width: 640px;
	background: #fff;
	border-radius: 12px;
	padding: 24px 32px;
	display: flex;
	align-items: center;
	gap: 24px;
}

.cgc-tr-qr img {
	width: 132px;
	height: 132px;
	flex: none;
	display: block;
}

.cgc-tr-qr div {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cgc-tr-qr strong {
	font-weight: 700;
	font-size: 18px;
}

.cgc-tr-qr span {
	font-size: 15px;
	line-height: 1.2;
	color: var(--cgc-muted);
}

.cgc-tr-qr a {
	font-family: var(--cgc-ui);
	font-weight: 800;
	font-size: 15px;
	color: #000;
	text-decoration: underline;
	white-space: nowrap;
}

.cgc-tr-how {
	width: 100%;
	max-width: 640px;
	background: #000;
	color: #fff;
	border-radius: 12px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cgc-tr-how .cgc-cert-h3 { color: #fff; }

.cgc-tr-how ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cgc-tr-how li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 17px;
	line-height: 1.1;
	min-height: 30px;
	padding-top: 6px;
}

.cgc-tr-how li b {
	width: 30px;
	height: 30px;
	margin-top: -6px;
	border-radius: 50%;
	background: var(--cgc-red);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	font-family: var(--cgc-ui);
	font-weight: 800;
	font-size: 14px;
}

.cgc-tr-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.cgc-tr .cgc-tr-btn {
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	border-radius: 99px;
	font-family: var(--cgc-ui) !important;
	font-weight: 800;
	font-size: 18px;
	text-decoration: none;
	border: 1.5px solid #000;
	background: transparent;
	color: #000;
}

.cgc-tr .cgc-tr-btn--red {
	background: var(--cgc-red);
	border-color: var(--cgc-red);
	color: #fff;
}

.cgc-tr .cgc-tr-btn--black {
	height: 52px;
	background: #000;
	color: #fff;
	font-size: 17px;
}

.cgc-tr-other {
	width: 100%;
	max-width: 640px;
	background: #fff;
	border-radius: 12px;
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.cgc-tr-other__title {
	font-weight: 700;
	font-size: 18px;
}

.cgc-tr-other__row {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.cgc-tr-field {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.cgc-tr-field span {
	font-weight: 600;
	font-size: 14px;
}

.cgc-tr-field input { text-transform: uppercase; }

/* ------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------- */

@media (max-width: 1119px) {
	.cgc-cert-hero__title { font-size: 80px; }
	.cgc-cert-hero__cards { flex-basis: 360px; }
	.cgc-cert-body__in { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
	.cgc-cert-form { padding: 32px; }
	.cgc-cert-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cgc-cert-when { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
	.cgc-cert,
	.cgc-tr { padding-top: 96px; }
	.cgc-cert-hero__in { flex-direction: column; align-items: stretch; gap: 32px; }
	.cgc-cert-hero__cards { flex-basis: auto; align-items: center; }
	.cgc-cert-body__in { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.cgc-cert,
	.cgc-tr { padding-top: 76px; }

	.cgc-cert-hero { padding: 40px 16px; }
	.cgc-cert-eyebrow { font-size: 13px; }
	.cgc-only-desk { display: none; }
	.cgc-only-mob { display: inline; }
	.cgc-cert-hero__title { font-size: 52px; }
	.cgc-cert-hero__lead { font-size: 17px; }
	.cgc-cert-hero__cards { padding: 16px 0; }
	.cgc-cert-hero__cards .cgc-gcard-wrap { width: 344px; }
	.cgc-cert-hero__card--b { margin: -150px 0 0 14px; }

	.cgc-cert-body { padding: 32px 16px; }
	.cgc-cert-body__in { gap: 24px; }
	.cgc-cert-form { padding: 24px 20px; }
	.cgc-cert-h2 { font-size: 30px; }
	.cgc-cert-row { grid-template-columns: 1fr; }

	.cgc-tr-main { padding: 40px 16px; gap: 24px; }
	.cgc-tr-title { font-size: 56px; }
	.cgc-tr-lead { font-size: 17px; }
	.cgc-tr .cgc-gcard-wrap { width: 100%; }
	.cgc-tr-box { padding: 20px; }
	.cgc-tr-quote { font-size: 19px; }
	.cgc-tr-stats { grid-template-columns: 1fr; }
	.cgc-tr-qr { padding: 20px; }
	.cgc-tr-how { padding: 24px 20px; }
	.cgc-tr-actions { flex-direction: column; width: 100%; }
	.cgc-tr .cgc-tr-btn { width: 100%; }
	.cgc-tr-other { padding: 20px; }
	.cgc-tr-other__row .cgc-tr-btn { width: auto; }
}

@media (max-width: 479px) {
	.cgc-cert-hero__cards .cgc-gcard-wrap { width: 88%; }
	.cgc-tr-qr { flex-direction: column; align-items: flex-start; }
}
