/* Tema de Crăciun, peste paleta recolorată de aithink-craciun.php. Sursa: copii/craciun/. */

/* ---------- atmosfera ---------- */
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(70rem 34rem at 50% -10%,rgba(207,34,64,.26),transparent 68%),
    radial-gradient(44rem 30rem at 100% 100%,rgba(242,199,92,.07),transparent 62%)}
.ait-eyebrow{color:var(--glow)}
.ait-eyebrow::before{content:"✦";margin-right:.6em}
.ait-erou__cap .ait-eyebrow{font-size:.8rem;letter-spacing:.14em}
em.ait-hi{background:linear-gradient(95deg,#F7DC8E,#F2C75C 55%,#E8A93A);-webkit-background-clip:text;background-clip:text;color:transparent}
::selection{background:#CF2240;color:#fff}

/* Căciula de pe logo stă pe vârful triunghiului. */
.ait-brand{position:relative}
.ait-brand::before{content:"";position:absolute;left:4px;top:-11px;width:25px;height:20px;z-index:1;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32'%3E%3Cpath fill='%23D81E3F' d='M7 24C8 11 16 4 25 5c5 .6 8 5 9 11-3-3-5-4-7-3 1 4 1 7 1 11z'/%3E%3Crect x='3' y='21' width='28' height='8' rx='4' fill='%23FFFAF0'/%3E%3Ccircle cx='34' cy='18' r='4' fill='%23FFFAF0'/%3E%3C/svg%3E") center/contain no-repeat;transform:rotate(-8deg)}

/* Brazii de deasupra subsolului. */
.ait-foot::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:78px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='78'%3E%3Crect y='72' width='420' height='6' fill='%230B2A20'/%3E%3Cpath fill='%230B2A20' d='M30 34l17 15h-7l12 15h-7l14 15H10l14 -15h-7l12 -15h-7z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M30 34l6 5l-6 -1l-6 1z'/%3E%3Cpath fill='%230B2A20' d='M92 22l19 19h-8l14 18h-8l16 18H69l16 -18h-8l14 -18h-8z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M92 22l6 6l-6 -1l-6 1z'/%3E%3Cpath fill='%230B2A20' d='M168 38l16 14h-6l11 13h-6l13 13H149l13 -13h-6l11 -13h-6z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M168 38l5 5l-5 -1l-5 1z'/%3E%3Cpath fill='%230B2A20' d='M232 26l18 18h-7l13 17h-7l15 17H210l15 -17h-7l13 -17h-7z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M232 26l6 6l-6 -1l-6 1z'/%3E%3Cpath fill='%230B2A20' d='M300 40l15 13h-6l11 13h-6l13 13H282l13 -13h-6l11 -13h-6z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M300 40l5 4l-5 -1l-5 1z'/%3E%3Cpath fill='%230B2A20' d='M366 28l18 17h-7l13 16h-7l15 16H344l15 -16h-7l13 -16h-7z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M366 28l6 6l-6 -1l-6 1z'/%3E%3Cpath fill='%23124033' d='M58 12l21 22h-8l15 22h-8l18 22H33l18 -22h-8l15 -22h-8z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M58 12l7 7l-7 -1l-7 1z'/%3E%3Cpath fill='%23124033' d='M132 28l18 17h-7l13 16h-7l15 16H111l15 -16h-7l13 -16h-7z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M132 28l6 6l-6 -1l-6 1z'/%3E%3Cpath fill='%23124033' d='M204 6l23 24h-9l16 24h-9l19 24H177l19 -24h-9l16 -24h-9z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M204 6l8 8l-8 -1l-8 1z'/%3E%3Cpath fill='%23124033' d='M272 30l17 16h-7l12 16h-7l14 16H252l14 -16h-7l12 -16h-7z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M272 30l6 5l-6 -1l-6 1z'/%3E%3Cpath fill='%23124033' d='M340 16l20 21h-8l14 20h-8l17 20H316l17 -20h-8l14 -20h-8z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M340 16l7 7l-7 -1l-7 1z'/%3E%3Cpath fill='%23124033' d='M396 32l17 16h-7l12 15h-7l14 15H376l14 -15h-7l12 -15h-7z'/%3E%3Cpath fill='%23FFFAF0' opacity='.85' d='M396 32l6 5l-6 -1l-6 1z'/%3E%3C/svg%3E") bottom/420px 78px repeat-x}

/* ---------- auditul: cadoul ---------- */
/* Formularul urcă primul în chenar: pe laptop butonul ieșea sub marginea ecranului. */
body .ait-erou__chenar{display:flex;flex-direction:column;max-width:660px;
  margin-top:clamp(38px,4.4vw,46px);padding:26px 16px 16px;border-color:transparent;
  background:
    linear-gradient(90deg,transparent calc(50% - 15px),rgba(207,34,64,.32) calc(50% - 15px) calc(50% + 15px),transparent calc(50% + 15px)),
    linear-gradient(165deg,rgba(78,20,38,.86),rgba(30,8,16,.86) 55%,rgba(58,14,28,.86));
  box-shadow:0 0 70px -8px rgba(242,199,92,.4),0 46px 90px -40px rgba(207,34,64,.95),inset 0 1px 0 rgba(255,255,255,.1)}
body .ait-erou__chenar::before{inset:-2px;padding:2px;
  background:linear-gradient(140deg,#F7DC8E,#C98F2B 30%,#F2C75C 55%,#B57A1E 78%,#F7DC8E)}
/* Funda. */
body .ait-erou__chenar::after{content:"";position:absolute;left:50%;top:-30px;width:96px;height:56px;margin-left:-48px;z-index:2;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 56'%3E%3Cpath fill='%23A81A33' d='M44 27 28 52l10-3 6 6 7-27zM52 27l16 25-10-3-6 6-7-27z'/%3E%3Cpath fill='%23CF2240' stroke='%23F2C75C' stroke-width='1.5' d='M48 25C38 5 12 1 8 11c-3 10 20 19 40 14zM48 25C58 5 84 1 88 11c3 10-20 19-40 14z'/%3E%3Cpath fill='%238E1229' d='M42 23C33 13 21 9 16 12c7 0 17 5 26 11zM54 23c9-10 21-14 26-11-7 0-17 5-26 11z'/%3E%3Crect x='40' y='16' width='16' height='16' rx='6' fill='%23F2C75C' stroke='%23A9781C' stroke-width='1'/%3E%3C/svg%3E") center/contain no-repeat}
/* Raportul are nevoie de liniște: panglica dispare, altfel s-ar vedea prin casetele translucide. */
body .ait-erou__chenar:has(.aitx__rez.on){background:linear-gradient(165deg,rgba(78,20,38,.86),rgba(30,8,16,.86) 55%,rgba(58,14,28,.86))}
/* Fereastra demonstrației e opacă: panglica trece pe sub ea, nu prin ea. */
body .ait-erou__chenar .aitsc__fereastra{background:linear-gradient(165deg,#2C0E19,#14060B)}
body .ait-erou__chenar>.aitx__box,body .ait-erou__chenar>.aitx__scan,body .ait-erou__chenar>.aitx__rez{order:-1}
body .ait-erou__chenar .aitx__box{margin:0 0 16px}
body .ait-erou__chenar .aitx__scan{margin:0 4px 16px}
body .ait-erou__chenar .aitx__rez{margin:0 0 8px}
body .ait-erou__chenar:has(.aitx__rez.on) .aitx__box{margin:0 0 4px}

/* Capsula e deschisă la culoare: cel mai luminos lucru din primul ecran. */
body .ait-erou__chenar .aitx__box .aitx__row{padding:6px;border:2px solid #F2C75C;background:#FFF8EA;
  animation:ait-cr-respira 2.8s ease-in-out infinite}
@keyframes ait-cr-respira{0%,100%{box-shadow:0 0 0 0 rgba(242,199,92,.45),0 10px 30px -10px rgba(0,0,0,.6)}
  50%{box-shadow:0 0 0 7px rgba(242,199,92,0),0 0 34px -2px rgba(242,199,92,.65)}}
body .ait-erou__chenar .aitx__row:focus-within{animation:none;border-color:#F7DC8E;box-shadow:0 0 0 5px rgba(242,199,92,.35)}
body .ait-erou__chenar .aitx__field i{color:#8F6F68}
body .ait-erou__chenar .aitx__field input{color:#2A0F1A;font-weight:500;font-size:1.06rem;caret-color:#CF2240}
body .ait-erou__chenar .aitx__field input::placeholder{color:#8F6F68;opacity:1}
body .ait-erou__chenar .aitx__field input:-webkit-autofill,body .ait-erou__chenar .aitx__field input:-webkit-autofill:focus{
  -webkit-text-fill-color:#2A0F1A;caret-color:#CF2240;box-shadow:0 0 0 40px #FFF8EA inset}
body .ait-erou__chenar .aitx__field input:autofill{box-shadow:0 0 0 40px #FFF8EA inset}
/* Butonul: plin, nu transparent. */
body .ait-erou__chenar .aitx__box .aitx__row .aitx__go{padding:13px 20px 13px 22px;font-size:1rem;font-weight:700;color:#fff;
  background:linear-gradient(180deg,#E8324F,#B8152F);border:1px solid #8E1229;
  box-shadow:0 8px 20px -8px rgba(207,34,64,.95),inset 0 1px 0 rgba(255,255,255,.3)}
body .ait-erou__chenar .aitx__box .aitx__row .aitx__go:hover{color:#fff;border-color:#8E1229;
  background:linear-gradient(180deg,#F23E5B,#C81A36);box-shadow:0 10px 26px -6px rgba(207,34,64,1),inset 0 1px 0 rgba(255,255,255,.35)}
body .ait-erou__chenar .aitx__box .aitx__row .aitx__go:disabled{color:#fff;background:linear-gradient(180deg,#C81A36,#9C1129)}
body .ait-erou__chenar .aitx__go:focus-visible{outline:2px solid #2A0F1A;outline-offset:2px}
body .ait-erou__chenar .aitx__repere{margin-top:14px}
body .ait-erou__chenar .aitx__repere li{color:#FBF3E6;font-size:.86rem}
body .ait-erou__chenar .aitx__repere svg{stroke:#F2C75C}
body .ait-erou__chenar .aitx__note{color:#CDB6A8}

/* Butonul din meniu, pe toate paginile: plin și cu lumină aurie. */
.ait-links a.ait-cta{color:#fff;background:linear-gradient(180deg,#E8324F,#B8152F);
  box-shadow:inset 0 0 0 1px rgba(247,220,142,.7),0 6px 22px -6px rgba(207,34,64,.95)}
.ait-links a.ait-cta:hover{background:linear-gradient(180deg,#F23E5B,#C81A36);
  box-shadow:inset 0 0 0 1px #F7DC8E,0 8px 28px -6px rgba(242,199,92,.7)}
.ait-cta::before{background:conic-gradient(from var(--ait-ung),transparent 0 62%,#FFF4CF 84%,transparent 100%)}

/* Pe telefon, același buton stă în bară, lângă meniu. Îl pune scriptul din aithink-craciun.php. */
.ait-cta-tel{display:none}
@media(max-width:860px){
  .ait-cta-tel{display:inline-flex;align-items:center;margin-left:auto;margin-right:-6px;padding:9px 14px;border-radius:999px;
    font-size:.86rem;font-weight:700;line-height:1;white-space:nowrap;text-decoration:none;color:#fff;
    background:linear-gradient(180deg,#E8324F,#B8152F);box-shadow:inset 0 0 0 1px rgba(247,220,142,.7)}
  html.ait-meniu-deschis .ait-cta-tel{display:none}
}

@media(max-width:560px){
  .ait-erou__cap .ait-eyebrow{font-size:.7rem;letter-spacing:.1em}
  body .ait-erou__chenar{padding:24px 9px 14px;margin-top:34px}
  body .ait-erou__chenar::after{top:-25px;width:80px;height:46px;margin-left:-40px}
  body .ait-erou__chenar .aitx__box .aitx__row .aitx__go{padding:12px 15px 12px 16px}
  body .ait-erou__chenar .aitx__repere li{font-size:.8rem}
  .ait-foot::before{height:60px;background-size:323px 60px}
}
/* Telefoanele foarte înguste: adresa are nevoie de loc, iar scorul demonstrației nu are voie să iasă din pagină. */
@media(max-width:360px){
  body .ait-erou__chenar .aitx__box .aitx__row .aitx__go{padding:12px 14px}
  body .ait-erou__chenar .aitx__go svg{display:none}
  body .ait-erou__chenar .aitsc__rez{max-width:calc(100% - 8px)}
  body .ait-erou__chenar .aitsc__sumar span{white-space:normal}
}
@media(prefers-reduced-motion:reduce){body .ait-erou__chenar .aitx__box .aitx__row{box-shadow:0 0 26px -4px rgba(242,199,92,.6)}}
