/*
 * Campania „Sărbători cu gust de acasă” — stiluri.
 * Pozițiile din pagina principală sunt cele din Figma (desktop 1440 px, mobil 393 px), în unități --u
 * proporționale cu lățimea ecranului. Desktop de la 1100 px în sus; sub 1100 px, macheta de mobil.
 */

body.azc-body { margin: 0; background: #fff; }
body.azc-body::before { display: none !important; }
body.azc-body:has(.azc-modal) { overflow: hidden; }

.azc, .azc * { box-sizing: border-box; }
.azc { --navy: #081b41; --navy2: #071943; --red: #cc191c; --ph: #435979; font-family: Montserrat, Arial, sans-serif; color: var(--navy); position: relative; }
.azc h1, .azc h2, .azc p, .azc ul, .azc li, .azc form, .azc fieldset, .azc legend { margin: 0; padding: 0; border: 0; letter-spacing: 0; font-family: inherit; background: none; }
.azc a { color: inherit; }
.azc img { max-width: none; border: 0; box-shadow: none; border-radius: 0; }
.azc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.azc-red { color: var(--red); }
.azc-navy { color: var(--navy); }

/* ---------- Scena (pagina principală) ---------- */
.azc-wrap { position: relative; overflow: hidden; overflow: clip; container-type: inline-size; background: #fff; }
.azc-stage { position: relative; --u: calc(100cqw / 1440); height: calc(1401 * var(--u)); }
.azc-stage .p {
	position: absolute;
	left: calc(var(--l) * var(--u));
	top: calc(var(--t) * var(--u));
	width: calc(var(--w) * var(--u));
	height: calc(var(--h) * var(--u));
}
.azc-stage .cover, .azc-stage .contain { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.azc-stage .contain { object-fit: contain; }
.azc-stage .crop { overflow: hidden; }
.azc-stage .crop > img { position: absolute; display: block; }
.azc-stage .azc-rot { display: flex; align-items: center; justify-content: center; }
.azc-stage .azc-in { position: relative; flex: none; width: calc(var(--iw) * var(--u)); height: calc(var(--ih) * var(--u)); }
.azc-stage .m-only { display: none; }
.azc-anchor { visibility: hidden; pointer-events: none; scroll-margin-top: 12px; }

.azc-logo { display: block; }
.azc-navpos .azc-nav { display: flex; gap: calc(28 * var(--u)); white-space: nowrap; }
.azc-nav a { font-weight: 700; font-size: calc(16 * var(--u)); color: #081841; text-decoration: none; text-transform: uppercase; line-height: 1.25; }
.azc-nav a:hover, .azc-nav a:focus-visible { color: var(--red); }

.azc-h1 { font-weight: 900; font-size: calc(51.75 * var(--u)); line-height: 1; color: var(--navy2); text-transform: uppercase; }
.azc-sub { font-weight: 700; font-size: calc(23 * var(--u)); line-height: 1.09; }
.azc-poti { font-weight: 700; font-size: calc(25 * var(--u)); line-height: 1; text-align: center; color: var(--navy2); }
.azc-mare { font-weight: 900; font-size: calc(35 * var(--u)); line-height: 1; text-align: center; color: var(--navy2); text-transform: uppercase; }
.azc-sapt, .azc-zil { font-weight: 900; font-size: calc(40 * var(--u)); line-height: 1; text-align: center; text-transform: uppercase; }
.azc-zil .azc-x { font-size: calc(30 * var(--u)); }
.azc-zil-sub { font-weight: 700; font-size: calc(26 * var(--u)); color: var(--navy); display: inline-block; }

.azc .azc-pill { display: flex; align-items: center; justify-content: center; background: url(../img/buton-titlu.webp) center / 100% 100% no-repeat; border-radius: calc(14 * var(--u)); color: #fff; font-weight: 700; font-size: calc(25 * var(--u)); line-height: 1; text-align: center; }
.azc .azc-mec { font-size: max(13px, calc(16 * var(--u))); line-height: 1.22; color: var(--navy); white-space: nowrap; }
.azc br.m-br { display: none; }
.azc-mec strong { font-weight: 700; }
.azc-mec strong.sb { font-weight: 600; }

/* ---------- Formularul ---------- */
.azc-form fieldset { min-width: 0; }
.azc-form fieldset:disabled { opacity: .55; }
.azc-grid { display: grid; grid-template-columns: repeat(2, calc(326 * var(--u))); column-gap: calc(35 * var(--u)); row-gap: calc(22 * var(--u)); }
.azc-field { position: relative; }
.azc-f-bon { order: 1; } .azc-f-data_bon { order: 2; } .azc-f-prenume { order: 3; } .azc-f-nume { order: 4; } .azc-f-telefon { order: 5; } .azc-f-email { order: 6; }
.azc-field label { display: block; font-weight: 700; font-size: max(11px, calc(13 * var(--u))); line-height: 1.2; margin-bottom: calc(8 * var(--u)); white-space: nowrap; }
.azc input[type=text] {
	display: block; width: 100%; height: calc(37 * var(--u)); min-height: 30px; margin: 0;
	padding: 0 calc(14 * var(--u)); background: #fff; color: var(--navy);
	border: .5px solid var(--navy2); border-radius: calc(10 * var(--u)); box-shadow: 0 2px 0 var(--navy);
	font: 400 max(13px, calc(14 * var(--u))) / 1.2 Montserrat, Arial, sans-serif; outline: 0;
	-webkit-appearance: none; appearance: none;
}
.azc input[type=text]::placeholder { color: var(--ph); opacity: 1; }
.azc input[type=text]:focus { border-color: var(--red); box-shadow: 0 2px 0 var(--red); }
.azc .has-err input[type=text] { border-color: var(--red); box-shadow: 0 2px 0 var(--red); }
.azc-ferr { position: absolute; left: 0; top: 100%; margin-top: 4px; font-size: max(10.5px, calc(11.5 * var(--u))); line-height: 1.2; color: var(--red); font-weight: 600; }
.azc-ferr:empty { display: none; }
.azc-oblig { margin: calc(19 * var(--u)) 0 0 calc(9 * var(--u)) !important; font-size: max(10.5px, calc(12 * var(--u))); color: var(--ph); }
.azc-check { position: relative; display: flex; align-items: flex-start; gap: calc(9 * var(--u)); margin: calc(12 * var(--u)) 0 0 calc(9 * var(--u)); font-size: max(11px, calc(13 * var(--u))); line-height: 1.22; }
.azc-check + .azc-check { margin-top: calc(10 * var(--u)); }
.azc-check input { flex: none; width: max(12px, calc(13 * var(--u))); height: max(12px, calc(13 * var(--u))); margin: .15em 0 0; accent-color: var(--navy); }
.azc .azc-check label { cursor: pointer; font-weight: 400; margin: 0; font-size: inherit; line-height: inherit; color: var(--navy); white-space: nowrap; }
.azc .azc-check label a { text-decoration: none; }
.azc .azc-check label a:hover, .azc .azc-check label a:focus-visible { text-decoration: underline; }
.azc-check .azc-ferr { position: static; display: block; margin: 2px 0 0; }
.azc-check.has-err { flex-wrap: wrap; }
.azc-check.has-err .azc-ferr { flex-basis: 100%; padding-left: calc(22 * var(--u)); }
.azc-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.azc-altcha { position: absolute !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.azc-submit { margin-top: calc(16 * var(--u)); text-align: center; }
.azc-submit button {
	width: calc(256 * var(--u)); height: calc(37 * var(--u)); min-height: 32px; padding: 0 12px;
	background: #081841; color: #fff; border: .5px solid var(--navy2); border-radius: calc(10 * var(--u)); box-shadow: 0 2px 0 var(--navy);
	font: 700 max(13px, calc(15 * var(--u))) / 1 Montserrat, Arial, sans-serif; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.azc-submit button:hover { background: #0d2a63; }
.azc-submit button[aria-busy=true] { opacity: .7; cursor: progress; }
.azc-formerr { position: absolute; left: 0; right: 0; top: 100%; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fff3f3; border: 1px solid var(--red); color: var(--red); font-weight: 600; font-size: 14px; text-align: center; }

/* ---------- Mobil (sub 1100 px): macheta de 393 px, cel mult 560 px lățime ---------- */
@media (max-width: 1099px) {
	.azc-wrap { background: #f4f8fd url(../img/fundal-iarna.webp) center top / auto 745px no-repeat; }
	.azc-stage { --u: calc(min(100cqw, 560px) / 393); width: min(100%, 560px); margin: 0 auto; height: calc(2278 * var(--u)); }
	.azc-stage .p {
		left: calc(var(--ml) * var(--u));
		top: calc(var(--mt) * var(--u));
		width: calc(var(--mw) * var(--u));
		height: calc(var(--mh) * var(--u));
	}
	.azc-stage .d-only { display: none; }
	.azc-stage .m-only { display: block; }
	.azc-stage br.m-only { display: inline; }
	.azc-navpos .azc-nav { justify-content: center; gap: calc(17 * var(--u)); }
	.azc-nav a { font-size: calc(11 * var(--u)); }
	.azc-h1 { font-size: calc(30 * var(--u)); text-align: center; }
	.azc-sub { font-size: calc(16 * var(--u)); line-height: 1.06; text-align: center; }
	.azc-poti { font-size: calc(17 * var(--u)); }
	.azc-mare { font-size: calc(24 * var(--u)); }
	.azc-sapt { font-size: calc(30 * var(--u)); }
	.azc-sapt-lei { font-size: calc(27 * var(--u)); }
	.azc-zil { font-size: calc(30 * var(--u)); }
	.azc-zil .azc-x { font-size: calc(18 * var(--u)); }
	.azc-zil-sub { font-size: calc(22 * var(--u)); }
	.azc-pill { font-size: calc(20 * var(--u)); }
	.azc .azc-mec { font-size: calc(16 * var(--u)); white-space: normal; }
	.azc br.d-br { display: none; }
	.azc br.m-br { display: inline; }
	.azc .azc-check label { white-space: normal; }
	.azc-grid { grid-template-columns: 1fr; row-gap: calc(22 * var(--u)); }
	.azc-f-nume { order: 3; } .azc-f-prenume { order: 4; }
	.azc-field label { font-size: calc(13 * var(--u)); white-space: normal; }
	.azc input[type=text] { font-size: 16px; padding: 0 calc(14 * var(--u)); }
	.azc-oblig { margin: calc(22 * var(--u)) 0 0 !important; font-size: calc(12 * var(--u)); }
	.azc-check { margin-left: 0; font-size: calc(13 * var(--u)); }
	.azc-submit button { width: calc(188 * var(--u)); height: calc(37 * var(--u)); background: #fff; color: var(--navy); border: 1px solid var(--navy); font-size: calc(15 * var(--u)); }
	.azc-submit button:hover { background: #eef3fb; }
}

/* ---------- Ferestrele de stare ---------- */
.azc-has-modal .azc-page { filter: blur(7px); }
.azc-modal { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.azc-mbackdrop { position: fixed; inset: 0; background: rgba(255, 255, 255, .28); }
.azc-card {
	position: relative; width: min(1000px, 100%); margin: auto; container-type: inline-size;
	border: 8px solid #fff; border-radius: 32px; overflow: hidden; background: #d9e6f5;
	box-shadow: 4px 10px 22px rgba(0, 0, 0, .25); font-family: Poppins, Arial, sans-serif; color: var(--navy);
	aspect-ratio: 1000 / 627;
}
.azc-card-ok, .azc-card-duplicat { aspect-ratio: 1000 / 796; }
.azc-card > * { --k: calc(100cqw / 984); }
.azc-cart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.azc .azc-close { position: absolute; border-radius: 50%; box-shadow: none; outline-offset: 2px; z-index: 2; left: calc(909 * var(--k)); top: calc(15 * var(--k)); width: calc(43 * var(--k)); height: calc(43 * var(--k)); min-width: 30px; min-height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.azc-close img { width: 100%; height: 100%; display: block; }
.azc-ctext { position: absolute; left: calc(57 * var(--k)); top: calc(350 * var(--k)); width: calc(890 * var(--k)); text-align: center; }
.azc-cbig { font-size: calc(40 * var(--k)); line-height: calc(45 * var(--k)); font-weight: 400; }
.azc-cbig strong { font-weight: 900; }
.azc-c30 { font-size: calc(30 * var(--k)); line-height: calc(38 * var(--k)); }
.azc-cmed { margin-top: calc(38 * var(--k)) !important; font-weight: 500; font-size: calc(25 * var(--k)); line-height: calc(30 * var(--k)); }
.azc-card-final .azc-cmed { margin-top: calc(30 * var(--k)) !important; }
.azc-cmed a { text-decoration: underline; font-weight: 700; }

.azc-cprizes { position: absolute; inset: 0; font-family: Montserrat, Arial, sans-serif; }
.azc-cprizes > * { position: absolute; }
.azc-cpoti { left: calc(298 * var(--k)); top: calc(58 * var(--k)); width: calc(365.88 * var(--k)); text-align: center; font-weight: 700; font-size: calc(25 * var(--k)); line-height: 1; color: var(--navy2); }
.azc-cbanda { left: calc(213 * var(--k)); top: calc(129 * var(--k)); width: calc(558 * var(--k)); height: calc(147 * var(--k)); overflow: hidden; }
.azc-cbanda img { position: absolute; left: -14.8%; top: -31.97%; width: 129.6%; height: 163.95%; }
.azc-c10k { left: calc(277 * var(--k)); top: calc(109 * var(--k)); width: calc(436 * var(--k)); height: calc(145 * var(--k)); object-fit: cover; }
.azc-cmare { left: calc(298 * var(--k)); top: calc(91 * var(--k)); width: calc(365.88 * var(--k)); text-align: center; font-weight: 900; font-size: calc(35 * var(--k)); line-height: 1; color: var(--navy2); text-transform: uppercase; }
.azc-c6, .azc-c47 { top: calc(319 * var(--k)); width: calc(427 * var(--k)); text-align: center; font-weight: 900; font-size: calc(40 * var(--k)); line-height: 1; text-transform: uppercase; }
.azc-c6 { left: calc(76 * var(--k)); }
.azc-c47 { left: calc(425 * var(--k)); }
.azc-c6 .azc-big { font-size: calc(50 * var(--k)); }
.azc-cprizes .azc-x { font-size: calc(30 * var(--k)); }
.azc-c47s { display: inline-block; font-weight: 700; font-size: calc(26 * var(--k)); line-height: 1; }
.azc-cline { width: calc(190 * var(--k)); height: calc(13 * var(--k)); overflow: hidden; }
.azc-cline img { position: absolute; left: -17.37%; top: -278.12%; width: 134.74%; height: 656.25%; }
.azc-cline1 { left: calc(198 * var(--k)); top: calc(453 * var(--k)); }
.azc-cline2 { left: calc(548 * var(--k)); top: calc(455 * var(--k)); }
.azc-card-ok .azc-ctext, .azc-card-duplicat .azc-ctext { left: calc(46 * var(--k)); top: calc(523 * var(--k)); }
.azc-ctitle { font-weight: 900; font-size: calc(40 * var(--k)); line-height: calc(42 * var(--k)); }
.azc-cbody { margin-top: calc(24 * var(--k)) !important; font-size: calc(20 * var(--k)); line-height: calc(28 * var(--k)); padding: 0 calc(6 * var(--k)); }

@media (max-width: 760px) {
	.azc-card, .azc-card-ok, .azc-card-duplicat { aspect-ratio: auto; border-width: 5px; border-radius: 22px; width: min(520px, 100%); }
	.azc-ctext, .azc-card-ok .azc-ctext, .azc-card-duplicat .azc-ctext { position: relative; left: auto; top: auto; width: auto; padding: 0 18px 26px; }
	.azc-card-pre .azc-ctext, .azc-card-final .azc-ctext { margin-top: calc(345 * var(--k)); }
	.azc-card-ok .azc-ctext, .azc-card-duplicat .azc-ctext { margin-top: calc(495 * var(--k)); }
	.azc-cbig { font-size: 21px; line-height: 1.22; }
	.azc-c30 { font-size: 17px; line-height: 1.3; }
	.azc-cmed, .azc-card-final .azc-cmed { margin-top: 14px !important; font-size: 15px; line-height: 1.4; }
	.azc-ctitle { font-size: 22px; line-height: 1.2; }
	.azc-ctitle br, .azc-cbody br { display: none; }
	.azc-cbody { margin-top: 10px !important; font-size: 14.5px; line-height: 1.45; padding: 0; }
	.azc-cprizes { bottom: auto; height: calc(500 * var(--k)); }
	.azc-card { background: #f7fafe; }
	.azc-cart { height: auto; object-fit: initial; }
}

/* ---------- Paginile de text (regulament, confidențialitate, câștigători) ---------- */
.azc-lhero { position: relative; height: clamp(420px, 44.5vw, 680px); overflow: hidden; background: #dce9f7; }
.azc-lbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.azc-ltheo { position: absolute; left: 63%; top: 11%; height: 89%; width: auto; }
.azc .azc-lsemn { position: absolute; left: 55%; top: 21%; width: 10.7%; max-width: 154px; height: auto; }
.azc-lsnow { position: absolute; left: -4%; top: 74%; width: 108%; height: auto; }
.azc-lhead { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 3.1vw 7vw 0 12.8vw; }
.azc-llogo img { display: block; width: clamp(150px, 22.2vw, 320px); height: auto; }
.azc-lhead .azc-nav { display: flex; gap: clamp(12px, 1.95vw, 28px); padding-top: .4vw; }
.azc-lhead .azc-nav a { font-size: clamp(11px, 1.11vw, 16px); }
.azc-ltitle { position: relative; z-index: 2; margin: clamp(22px, 3.2vw, 46px) 0 0 12.8vw !important; max-width: 41vw; font-weight: 800; font-size: clamp(24px, 3.2vw, 46px); line-height: 1.13; color: var(--navy2); }
.azc-ltitle span { display: block; font-weight: 900; text-transform: uppercase; }
.azc-ltitle small { display: block; font-weight: 600; font-size: .62em; line-height: 1.3; }
.azc-view-castigatori .azc-ltitle { text-transform: uppercase; font-weight: 900; }
.azc-view-castigatori .azc-ltitle small { text-transform: none; }
.azc-lbody { position: relative; padding: 24px 20px 90px; background: #fff url(../img/zapada.webp) center top / 1600px auto no-repeat; }
.azc-text { max-width: 860px; margin: 0 auto; font-size: 15px; line-height: 1.6; color: #1d2b4a; }
.azc-text h2 { font-size: 22px; line-height: 1.3; font-weight: 800; color: var(--navy2); margin: 36px 0 12px !important; }
.azc-text h3 { font-size: 17px; line-height: 1.35; font-weight: 800; color: var(--navy2); margin: 28px 0 10px !important; }
.azc-text h4 { font-size: 15px; font-weight: 700; margin: 20px 0 8px !important; }
.azc-text p, .azc-text ul, .azc-text ol { margin: 0 0 12px !important; }
.azc-text ul, .azc-text ol { padding-left: 22px !important; }
.azc-text li { margin: 0 0 4px; }
.azc-text table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; display: block; overflow-x: auto; }
.azc-text th, .azc-text td { border: 1px solid #c7d3e6; padding: 8px 10px; text-align: left; vertical-align: top; }
.azc-text th { background: #eef3fa; }
.azc-text hr { border: 0; border-top: 1px solid #d7e0ee; margin: 32px 0; }

.azc-winners { max-width: 640px; margin: 0 auto; text-align: center; padding-top: 10px; }
.azc-wempty { font-size: 17px; line-height: 1.5; font-weight: 600; padding: 30px 0; }
.azc-wcat { margin: 0 0 54px; scroll-margin-top: 16px; }
.azc-wprize { position: relative; width: min(100%, 558px); margin: 0 auto 18px; aspect-ratio: 558 / 220; container-type: inline-size; }
.azc-wprize > * { --k: calc(100cqw / 558); position: absolute; }
.azc-wprize .azc-cpoti { left: calc(96 * var(--k)); top: 0; }
.azc-wprize .azc-cmare { left: calc(96 * var(--k)); top: calc(33 * var(--k)); }
.azc-wprize .azc-cbanda { left: 0; top: calc(71 * var(--k)); }
.azc-wprize .azc-c10k { left: calc(64 * var(--k)); top: calc(51 * var(--k)); }
.azc-whead { font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; }
.azc-whead .azc-big { font-size: 36px; }
.azc-whead .azc-x { font-size: 22px; }
.azc-wsub { font-weight: 700; font-size: 20px; }
.azc-wline { position: relative; width: 190px; height: 13px; margin: 6px auto 22px; overflow: hidden; }
.azc-wline img { position: absolute; left: -17.37%; top: -278.12%; width: 134.74%; height: 656.25%; }
.azc-wlist { list-style: none; }
.azc-wlist li { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 22px; margin: 0 0 14px !important; padding: 15px 20px; background: #fff; border: .5px solid var(--navy2); border-radius: 10px; box-shadow: 0 3px 0 var(--navy); font-size: 16px; line-height: 1.3; }
.azc-wn { font-weight: 700; }
.azc-wo { font-weight: 500; }
.azc-wd { font-weight: 700; text-transform: uppercase; }
.azc-pag { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.azc-pag a, .azc-pag span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--navy); font-weight: 700; text-decoration: none; }
.azc-pag span { background: var(--navy); color: #fff; }

@media (max-width: 760px) {
	.azc-lhero { height: 430px; }
	.azc-lhead { flex-direction: column-reverse; align-items: center; gap: 12px; padding: 18px 12px 0; }
	.azc-lhead .azc-nav { gap: 16px; padding-top: 0; }
	.azc-lhead .azc-nav a { font-size: 11px; }
	.azc-llogo img { width: 184px; }
	.azc-ltitle { margin: 14px 16px 0 !important; max-width: 58%; font-size: 21px; }
	.azc-ltheo { left: auto; right: -18%; top: auto; bottom: 0; height: 58%; }
	.azc-lsemn { display: none; }
	.azc-lsnow { top: 80%; width: 200%; left: -50%; }
	.azc-wlist li { font-size: 15px; padding: 13px 14px; }
}

/* ---------- Subsolul site-ului ---------- */
.azc-footer { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .azc * { scroll-behavior: auto !important; transition: none !important; } }
