/*
 * Area Gym — stilurile primei pagini (hero cu nava, banda de cifre, sectiuni, FAQ).
 * Se incarca doar pe pagina de start (functions.php: areagym_acasa_assets).
 * Sursa: docs/snippets/gen-page-css.js din repo; nu edita de mana, regenereaza.
 */

body.home #sub-header { display: none; }
@keyframes agFloat { 50% { transform: rotateY(-9deg) rotateX(7deg) translateY(-12px); } }
@keyframes agShine { 0%, 55% { background-position: 100% 0%; } 85%, 100% { background-position: 0% 0%; } }
.ag-logo3d { animation: agFloat 7s ease-in-out infinite; }
.ag-l3-shine { animation: agShine 6s ease-in-out infinite; }

/* ===== Hero: nava extraterestra care lumineaza logo-ul (ciclu de 8s) ===== */
@property --agRingA { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
/* lumina: palpaie la pornire, creste, se tine, scade */
@keyframes agLight { 0%{opacity:.18} 6%{opacity:.18} 7%{opacity:.75} 8.5%{opacity:.22} 10%{opacity:.9} 11.5%{opacity:.35} 14%{opacity:1} 46%{opacity:1} 58%{opacity:.4} 64%{opacity:.18} 100%{opacity:.18} }
/* logo-ul devine argintiu odata cu lumina */
@keyframes agSilver { 0%{opacity:0} 6%{opacity:0} 7%{opacity:.7} 8.5%{opacity:.05} 10%{opacity:.9} 11.5%{opacity:.2} 14%{opacity:1} 46%{opacity:1} 58%{opacity:.3} 64%{opacity:0} 100%{opacity:0} }
/* neonul din spate e tare cand lumina e jos */
@keyframes agNeon { 0%{opacity:1} 6%{opacity:1} 7%{opacity:.6} 8.5%{opacity:.95} 10%{opacity:.5} 14%{opacity:.38} 46%{opacity:.38} 58%{opacity:.8} 64%{opacity:1} 80%{opacity:.92} 81%{opacity:1} 100%{opacity:1} }
@keyframes agEyes { 0%,6%{opacity:.35} 7%{opacity:1} 8.5%{opacity:.4} 10%{opacity:1} 14%,46%{opacity:1} 64%,100%{opacity:.35} }
@keyframes agRingDown { 0%{transform:translateX(-50%) translateY(0) scale(.35);opacity:0} 15%{opacity:.85} 100%{transform:translateX(-50%) translateY(280%) scale(1);opacity:0} }
@keyframes agShipBob { 50%{transform:translateX(-50%) translateY(-6px)} }
@keyframes agBlink { 0%,100%{opacity:.2} 50%{opacity:1} }
@keyframes agChase { 0%,100%{opacity:.15;transform:scale(.8)} 12%{opacity:1;transform:scale(1.25)} 30%{opacity:.15;transform:scale(.8)} }
@keyframes agSpin { to{--agRingA:360deg} }

body.home .ag-beam { opacity: 1; animation: agLight 8s linear infinite; }
body.home .ag-l3-silver { animation: agSilver 8s linear infinite; }
body.home .ag-l3-neonwrap { opacity: .38; animation: agNeon 8s linear infinite; }
body.home .ag-halo { animation: agNeon 8s linear infinite; }
/* masca logo-ului 3D din fișierul temei (clasa globală Elementor ag-l3-layer are adresa spre uploads) */
body.home .elementor .ag-l3-layer { -webkit-mask-image: url("../img/areagym-logo-white-mare.png"); mask-image: url("../img/areagym-logo-white-mare.png"); }

/* nava */
body.home .ag-ufo { position:absolute; left:50%; top:-58%; width:112%; height:32%; padding:0; min-width:0; transform:translateX(-50%); z-index:3; filter:drop-shadow(0 18px 26px rgba(0,0,0,.9)); animation:agShipBob 6s ease-in-out infinite; }
body.home .ag-ufo .e-div-block-base { padding:0; min-width:0; }
body.home .ag-ax-aura { position:absolute; left:12%; right:12%; top:62%; height:40%; border-radius:50%; background:radial-gradient(ellipse at center,rgba(61,240,225,.55),rgba(0,209,193,.15) 55%,transparent 72%); filter:blur(8px); animation:agLight 8s linear infinite; }
body.home .ag-ax-dome { position:absolute; left:50%; top:0; width:38%; height:56%; transform:translateX(-50%); border-radius:50% 50% 12% 12%/100% 100% 14% 14%; background:radial-gradient(ellipse 70% 90% at 50% 95%,#123536 0%,#081516 45%,#030708 100%); box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -6px 14px rgba(61,240,225,.25),0 0 0 1px rgba(61,240,225,.25); }
body.home .ag-ax-dome::before { content:""; position:absolute; left:18%; top:10%; width:30%; height:22%; border-radius:50%; background:radial-gradient(ellipse,rgba(255,255,255,.35),transparent 70%); }
body.home .ag-ax-eye { position:absolute; top:42%; width:24%; height:26%; border-radius:60% 40% 60% 40%/70% 50% 50% 30%; background:radial-gradient(ellipse at 50% 60%,#e9fffd 0%,#3DF0E1 40%,#00a99c 75%); box-shadow:0 0 10px 2px rgba(61,240,225,.8); animation:agEyes 8s linear infinite; }
body.home .ag-ax-eye-l { left:22%; transform:rotate(18deg); }
body.home .ag-ax-eye-r { right:22%; transform:scaleX(-1) rotate(18deg); }
body.home .ag-ax-antenna { position:absolute; left:50%; top:-14%; width:2px; height:16%; transform:translateX(-50%); background:linear-gradient(180deg,#9fb2b3,#2a3637); }
body.home .ag-ax-antenna::after { content:""; position:absolute; left:50%; top:-3px; width:5px; height:5px; transform:translateX(-50%); border-radius:50%; background:#3DF0E1; box-shadow:0 0 8px #3DF0E1; animation:agBlink 1.6s ease-in-out infinite; }
body.home .ag-ax-hull { position:absolute; left:0; right:0; top:38%; height:44%; border-radius:50%; background:repeating-radial-gradient(ellipse 50% 50% at 50% 50%,rgba(255,255,255,.07) 0 1px,transparent 1px 7px),linear-gradient(180deg,#9db0b1 0%,#55696a 18%,#24302f 42%,#0d1314 68%,#050809 100%); box-shadow:inset 0 1px 0 rgba(255,255,255,.75),inset 0 -3px 8px rgba(0,0,0,.6),0 0 0 1px rgba(61,240,225,.3); }
body.home .ag-ax-band { position:absolute; left:3%; right:3%; top:57%; height:10%; border-radius:50%; border-bottom:2px solid rgba(61,240,225,.75); box-shadow:0 3px 10px -2px rgba(61,240,225,.6); }
body.home .ag-ax-rim { position:absolute; inset:0; }
body.home .ag-ax-light { position:absolute; width:5px; height:5px; margin:-2.5px 0 0 -2.5px; border-radius:50%; background:#e9fffd; box-shadow:0 0 6px #3DF0E1,0 0 12px rgba(61,240,225,.6); animation:agChase 1.6s linear infinite; }
body.home .ag-ax-light:nth-child(1) { left:4.3%; top:59.8%; animation-delay:0.00s; }
body.home .ag-ax-light:nth-child(2) { left:7.0%; top:63.3%; animation-delay:0.12s; }
body.home .ag-ax-light:nth-child(3) { left:12.1%; top:66.5%; animation-delay:0.24s; }
body.home .ag-ax-light:nth-child(4) { left:19.5%; top:69.2%; animation-delay:0.36s; }
body.home .ag-ax-light:nth-child(5) { left:28.6%; top:71.3%; animation-delay:0.48s; }
body.home .ag-ax-light:nth-child(6) { left:39.0%; top:72.6%; animation-delay:0.60s; }
body.home .ag-ax-light:nth-child(7) { left:50.0%; top:73.0%; animation-delay:0.72s; }
body.home .ag-ax-light:nth-child(8) { left:61.0%; top:72.6%; animation-delay:0.84s; }
body.home .ag-ax-light:nth-child(9) { left:71.4%; top:71.3%; animation-delay:0.96s; }
body.home .ag-ax-light:nth-child(10) { left:80.5%; top:69.2%; animation-delay:1.08s; }
body.home .ag-ax-light:nth-child(11) { left:87.9%; top:66.5%; animation-delay:1.20s; }
body.home .ag-ax-light:nth-child(12) { left:93.0%; top:63.3%; animation-delay:1.32s; }
body.home .ag-ax-light:nth-child(13) { left:95.7%; top:59.8%; animation-delay:1.44s; }
body.home .ag-ax-emitter { position:absolute; left:50%; top:70%; width:22%; height:24%; transform:translateX(-50%); border-radius:50%; background:conic-gradient(from var(--agRingA),#3DF0E1 0 6%,transparent 6% 12.5%,#3DF0E1 12.5% 18.5%,transparent 18.5% 25%,#3DF0E1 25% 31%,transparent 31% 37.5%,#3DF0E1 37.5% 43.5%,transparent 43.5% 50%,#3DF0E1 50% 56%,transparent 56% 62.5%,#3DF0E1 62.5% 68.5%,transparent 68.5% 75%,#3DF0E1 75% 81%,transparent 81% 87.5%,#3DF0E1 87.5% 93.5%,transparent 93.5%); -webkit-mask:radial-gradient(closest-side,transparent 55%,#000 60%,#000 98%,transparent 100%); mask:radial-gradient(closest-side,transparent 55%,#000 60%,#000 98%,transparent 100%); filter:drop-shadow(0 0 5px #3DF0E1); animation:agSpin 5s linear infinite,agLight 8s linear infinite; }
body.home .ag-ax-core { position:absolute; left:50%; top:76%; width:10%; height:12%; transform:translateX(-50%); border-radius:50%; background:#effffd; box-shadow:0 0 14px 6px rgba(200,255,250,.9),0 0 46px 16px rgba(61,240,225,.5); animation:agLight 8s linear infinite; }
/* inelele fasciculului tractor */
body.home .ag-ufo-ring { position:absolute; left:50%; top:-28%; width:58%; height:14px; padding:0; min-width:0; border-radius:50%; border:2px solid rgba(190,255,250,.8); box-shadow:0 0 12px rgba(61,240,225,.7); opacity:0; z-index:2; pointer-events:none; animation:agRingDown 2.4s linear infinite; }
body.home .ag-ufo-ring-2 { animation-delay:.8s; }
body.home .ag-ufo-ring-3 { animation-delay:1.6s; }

/* miscare redusa: scena statica, in starea luminata */
@media (prefers-reduced-motion: reduce) {
  .ag-logo3d, .ag-l3-shine, .ag-beam, .ag-l3-silver, .ag-l3-neonwrap, .ag-halo, .ag-ufo, .ag-ax-aura, .ag-ax-eye, .ag-ax-antenna::after, .ag-ax-light, .ag-ax-emitter, .ag-ax-core { animation: none !important; }
  .ag-l3-silver { opacity: 1 !important; }
  .ag-ufo-ring { display: none !important; }
}

/* titlurile de sectiune centrate (titlu + text + butoane), pe o singura coloana si pe desktop */
body.home .elementor-element:has(> .e-con > .ag-h2) { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; row-gap: 28px; }
body.home .elementor-element:has(> .e-con > .ag-h2) > :not(:has(.ag-h3)) { justify-self: center; max-width: 760px; text-align: center; }
body.home .elementor-element:has(> .e-con > .ag-h2) > :has(.ag-h3) { justify-self: stretch; }
body.home .e-con:has(> .ag-h2) { position: static !important; align-items: center; align-self: center; text-align: center; margin-inline: auto; }
body.home .e-con:has(> .ag-h2) > .ag-row { justify-content: center; }
/* cardurile de facilitati: titlu si text centrate */
body.home .e-con:has(> .ag-h3 + .ag-body) { text-align: center; align-items: center; }
/* comparatia pe mobil: carusel orizontal (o sala pe ecran, urmatoarea se vede pe margine) */
@media (max-width: 767px) {
  body.home .elementor-element-1eefc856 { flex-direction: row !important; flex-wrap: nowrap !important; width: calc(100% + 32px) !important; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  body.home .elementor-element-1eefc856::-webkit-scrollbar { display: none; }
  body.home .elementor-element-1eefc856 > .e-con { flex: 0 0 86%; scroll-snap-align: start; }
}
/* antrenorii: acelasi tratament pe toate pozele (alb-negru cu tenta turcoaz), color la hover */
/* brandurile: banda care deruleaza continuu (6 branduri + aceleasi 6 copiate, bucla fara cusatura) */
@keyframes agMarquee { to { transform: translateX(-50%); } }
body.home .elementor-element-26cc26c7 { position: relative; overflow: hidden; }
/* Branduri urcate în „Ce găsești în fiecare sală” (2026-10-05): fraza e centrată, cu aer deasupra benzii */
body.home .elementor-element-26cc26c7 { margin-top: 56px; }
body.home .elementor-element-878a8c2 { display: block !important; text-align: center; max-width: 680px; margin: 0 auto 32px; padding-inline: 16px; }
body.home .elementor-element-878a8c2 .ag-lead { text-align: center; }
body.home .elementor-element-426ef6da { display: flex !important; flex-wrap: nowrap; width: max-content !important; max-width: none; gap: 0; animation: agMarquee 40s linear infinite; }
body.home .elementor-element-426ef6da > * { flex: 0 0 220px; }
body.home .elementor-element-426ef6da:hover { animation-play-state: paused; }
body.home .elementor-element-26cc26c7::before, body.home .elementor-element-26cc26c7::after { content: ""; position: absolute; top: auto !important; bottom: 0 !important; left: auto; width: 120px; height: 170px !important; z-index: 2; pointer-events: none; }
body.home .elementor-element-26cc26c7::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
body.home .elementor-element-26cc26c7::after { right: 0; background: linear-gradient(-90deg, #000, transparent); }
@media (max-width: 767px) {
  body.home .elementor-element-426ef6da > * { flex-basis: 150px; }
  body.home .elementor-element-26cc26c7::before, body.home .elementor-element-26cc26c7::after { width: 48px; height: 110px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .elementor-element-426ef6da { animation: none; width: auto !important; flex-wrap: wrap; justify-content: center; }
  body.home .elementor-element-426ef6da > :nth-child(n+7) { display: none; }
  body.home .elementor-element-26cc26c7::before, body.home .elementor-element-26cc26c7::after { display: none; }
}
/* cardurile salilor pe mobil: "Vezi sala" compact, text langa sageata */
@media (max-width: 767px) {
  body.home .elementor-element-d420601, body.home .elementor-element-50c0d5b8, body.home .elementor-element-2cffe121 { width: auto !important; align-self: flex-start; }
  body.home .elementor-element-d420601 .ag-cta-text, body.home .elementor-element-50c0d5b8 .ag-cta-text, body.home .elementor-element-2cffe121 .ag-cta-text { flex: 0 0 auto; text-align: left; }
}
/* banda de sub hero: starea programului (textul il pune scriptul Custom Code 991170) */
body.home .ag-hours-status { display: none; align-items: center; gap: 7px; font-family: var(--ag-body); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #A3AFAE; margin-top: 2px; }
body.home .ag-hours-status.is-ready { display: inline-flex; }
body.home .ag-hours-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5b6869; flex: 0 0 auto; }
body.home .ag-hours-status.is-open { color: #3DF0E1; }
body.home .ag-hours-status.is-open::before { background: #3DF0E1; box-shadow: 0 0 0 3px rgba(61,240,225,.18), 0 0 8px #3DF0E1; animation: agBlink 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { body.home .ag-hours-status.is-open::before { animation: none; } }
/* tabelul de program construit de script: fiecare sala cu starea ei; textul static ramane doar fara JavaScript */
body.home .ag-hours-value.is-replaced, body.home .ag-hours-label.is-replaced, body.home .ag-hours-status.is-replaced { display: none !important; }
body.home .ag-hours-table { display: grid; gap: 12px; width: 100%; max-width: 340px; }
body.home .ag-ht-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
body.home .ag-ht-k { font-family: var(--ag-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A3AFAE; }
body.home .ag-ht-day { font-family: var(--ag-body); font-size: 12px; font-weight: 700; color: #3DF0E1; }
body.home .ag-ht-club { display: grid; gap: 4px; }
/* programul: numele sălii + coloana orelor, de lățime fixă și aliniată la dreapta, ca orele din rânduri diferite să se termine pe aceeași linie */
body.home .ag-ht-line { display: grid; grid-template-columns: minmax(0, 1fr) 4.7em; align-items: baseline; gap: 12px; }
body.home .ag-ht-name { font-family: var(--ag-body); font-size: 13px; font-weight: 600; color: #FFFFFF; }
body.home .ag-ht-v { font-family: var(--ag-display); font-size: 16px; line-height: 1; color: #FFFFFF; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
body.home .ag-ht-c { display: inline-block; width: .95em; text-align: center; }
body.home .ag-ht-s { display: inline-block; width: .65em; text-align: center; }
body.home .ag-ht-st { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ag-body); font-size: 12px; font-weight: 600; color: #A3AFAE; }
body.home .ag-ht-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF4D5A; box-shadow: 0 0 0 3px rgba(255, 77, 90, .16), 0 0 7px rgba(255, 77, 90, .7); flex: 0 0 auto; } /* închis: punct roșu (doar punctul) */
body.home .ag-ht-st.is-open { color: #3DF0E1; }
body.home .ag-ht-st.is-open::before { background: #3DF0E1; box-shadow: 0 0 0 3px rgba(61,240,225,.18), 0 0 8px #3DF0E1; animation: agBlink 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { body.home .ag-ht-st.is-open::before { animation: none; } }
body.home .ag-hours-table { gap: 0; }
body.home .ag-ht-grp { position: relative; display: grid; gap: 14px; margin-top: 18px; padding: 18px 10px 12px; border: 1px solid rgba(61, 240, 225, .28); border-radius: 16px; }
body.home .ag-ht-city { position: absolute; top: -10px; left: 12px; padding: 2px 12px; background: #04090a; border: 1px solid rgba(61, 240, 225, .4); border-radius: 999px; color: #3DF0E1; font-family: var(--ag-body); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
body.home .ag-ht-prog { font-family: var(--ag-body); font-size: 12px; color: #8E9A99; }
/* icoana de ceas pe rândul programului: 11px + 3px = 14px, ca textul să stea sub textul stării (după punctul de 7px + 7px) */
body.home .ag-ht-prog.ag-ico-clock::before { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; }
body.home .ag-ht-grp .ag-ht-line { gap: 6px; grid-template-columns: minmax(0, 1fr) 4.5em; }
body.home .ag-ht-grp .ag-ht-name { font-size: 12px; letter-spacing: -.005em; }
body.home .ag-ht-club + .ag-ht-club { padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .12); }
@media (max-width: 767px) {
  body.home .elementor-element-78559b2b { grid-column: 1 / -1; padding-inline-start: 0 !important; border-inline-start-width: 0 !important; }
  body.home .ag-hours-table { max-width: none; }
}
/* banda de cifre: fiecare celula centrata (vizual sus, text dedesubt), toate la aceeasi inaltime */
body.home .elementor-element-ff4ac8b { align-items: stretch !important; }
body.home .elementor-element-ff4ac8b > .e-con { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center; gap: 14px !important; }
body.home .elementor-element-ff4ac8b > .e-con > * { align-self: center !important; }
/* pastila „Nou · presale” din hero: cât textul ei (width: fit-content din Elementor nu mai e scris în CSS-ul generat) */
body.home .elementor-element-3c6c9173 { width: fit-content; max-width: 100%; }
/* liniile fine pierdute la regenerarea CSS-ului Elementor (proprietățile border-left/top-style|color nu mai sunt scrise): banda de cifre și grila de branduri (2026-10-06) */
body.home .elementor-element-ff4ac8b { border-block-start-style: solid; border-block-start-color: rgba(255, 255, 255, 0.12); }
body.home .elementor-element-33b87e03, body.home .elementor-element-21537894, body.home .elementor-element-78559b2b { border-inline-start-style: solid; border-inline-start-color: rgba(255, 255, 255, 0.08); }
body.home .elementor-element-426ef6da { border-block-start-style: solid; border-block-start-color: var(--ag-line); }
body.home .e-5f35e510-4605 { border-inline-end-style: solid; border-inline-end-color: var(--ag-line); border-block-end-style: solid; border-block-end-color: var(--ag-line); }
body.home .elementor-element-57b2864e { margin-block: 6px 0 !important; }
body.home .elementor-element-57b2864e { isolation: isolate; overflow: visible; }
/* halou turcoaz în spatele hărții (ca pe /locatii/): sub imagine și sub puncte; mărimea explicită, fiindcă Elementor fixează ::before pe containere la 100% */
/* Harta Acasă: păstrează iconurile vizibile */
body.home .elementor .e-159099fb-6c56,
body.home .elementor .e-fd41799-ed6d {
  max-width: none;
}

/* Păstrează textele în pilule și orașele pe un singur rând */
body.home .elementor .e-2c37847-ec88,
body.home .elementor .e-79658eea-55c7,
body.home .elementor .e-70dd1eab-1b71,
body.home .elementor .e-36788bea-5a58 {
  white-space: nowrap;
}
body.home .elementor-element-57b2864e::before { content: ""; position: absolute; left: -24% !important; top: -16% !important; right: auto !important; bottom: auto !important; width: 148% !important; height: 132% !important; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 209, 193, 0.72) 0%, rgba(0, 209, 193, 0.3) 50%, rgba(0, 209, 193, 0) 80%); }
body.home .ag-hours-table { text-align: left; }
@media (max-width: 767px) {
  body.home .elementor-element-ff4ac8b { row-gap: 32px !important; }
  body.home .elementor-element-ff4ac8b > .e-con { padding: 0 !important; border-inline-start-width: 0 !important; }
  body.home .elementor-element-33b87e03 { border-inline-end: 1px solid rgba(255,255,255,.08) !important; }
  body.home .elementor-element-78559b2b { padding-top: 28px !important; border-top: 1px solid rgba(255,255,255,.1); }
  body.home .elementor-element-57b2864e { margin-block: 8px 0 !important; }
}
/* hero: pe tableta si mobil textul sta sub logo, centrat */
@media (max-width: 1024px) {
  body.home .elementor-element-1bd48d3d { align-items: center; text-align: center; margin-inline: auto; }
  body.home .elementor-element-1bd48d3d > .elementor-element-3c6c9173 { align-self: center; text-align: left; }
  body.home .elementor-element-4b38c1f8 { justify-content: center; }
}
/* continuitate: halo încheiere → FAQ → footer (2026-10-05). Halo-ul de jos al încheierii continuă sus în FAQ, iar cel de jos al FAQ-ului continuă în footer; liniile dintre ele dispar */
body.home .elementor .elementor-element-77e042bc.ag-glow-sec { border-top-width: 0 !important; background-repeat: no-repeat !important;
  background-image: radial-gradient(ellipse 60% 410px at 50% 0%, rgba(0, 209, 193, 0.28) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 60% 448px at 50% 100%, rgba(0, 209, 193, 0.16) 0%, rgba(0, 0, 0, 0) 100%) !important; }
body.home .ag-footer { border-top-width: 0 !important; }
/* halo-ul încheierii pe toată lățimea secțiunii (cutia veche a halo-ului era mai îngustă și avea margini vizibile): îl mutăm pe secțiune */
body.home .elementor-element-32e37b32 { background-image: none !important; }
@media (max-width: 767px) { body.home .elementor .elementor-element-77e042bc.ag-glow-sec { background-image: radial-gradient(ellipse 60% 297px at 50% 0%, rgba(0, 209, 193, 0.28) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 60% 400px at 50% 100%, rgba(0, 209, 193, 0.16) 0%, rgba(0, 0, 0, 0) 100%) !important; } }
/* halo în zigzag între secțiuni (2026-10-05): fiecare îmbinare are o lumină la aceeași margine în secțiunea de sus (jos) și în cea de jos (sus), apoi trece pe partea opusă — ca un comutator: poveste ↘ dreapta · carduri ↙ stânga · facilități ↘ dreapta · recenzii ↙ stânga · antrenori ↘ dreapta · încheiere (dreapta sus + centru jos) */
body.home .elementor .elementor-element-4817a31b { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 50% 380px at 12% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 50% 380px at 88% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
body.home .elementor .elementor-element-5ad1b974 { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 50% 380px at 88% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 50% 380px at 12% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
body.home .elementor .elementor-element-7bb1ebb1 { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 50% 380px at 12% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 50% 380px at 88% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
body.home .elementor .elementor-element-21235caf { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 50% 380px at 88% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 50% 380px at 12% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
body.home .elementor .elementor-element-fec42d6 { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 50% 380px at 12% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 50% 380px at 88% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
body.home .elementor .elementor-element-58d26ac8 { background-image: radial-gradient(ellipse 50% 380px at 88% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 60% 410px at 50% 100%, rgba(0, 209, 193, 0.28) 0%, rgba(0, 209, 193, 0) 100%) !important; }
@media (max-width: 767px) {
  body.home .elementor .elementor-element-4817a31b { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 85% 300px at 12% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 85% 300px at 88% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
  body.home .elementor .elementor-element-5ad1b974 { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 85% 300px at 88% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 85% 300px at 12% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
  body.home .elementor .elementor-element-7bb1ebb1 { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 85% 300px at 12% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 85% 300px at 88% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
  body.home .elementor .elementor-element-21235caf { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 85% 300px at 88% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 85% 300px at 12% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
  body.home .elementor .elementor-element-fec42d6 { border-top-width: 0 !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: radial-gradient(ellipse 85% 300px at 12% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 85% 300px at 88% 100%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%) !important; }
  body.home .elementor .elementor-element-58d26ac8 { background-image: radial-gradient(ellipse 85% 300px at 88% 0%, rgba(0, 209, 193, 0.22) 0%, rgba(0, 209, 193, 0) 100%), radial-gradient(ellipse 60% 297px at 50% 100%, rgba(0, 209, 193, 0.28) 0%, rgba(0, 209, 193, 0) 100%) !important; }
}
/* banda de branduri: marginile se estompează cu mască (nu cu degradeu negru), ca să nu apară dreptunghiuri negre peste halo */
body.home .elementor-element-26cc26c7::before, body.home .elementor-element-26cc26c7::after { display: none !important; }
body.home .elementor-element-26cc26c7 { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
body.home .elementor .elementor-element-21235caf { background-color: #000 !important; } /* era #060A0A: făcea o linie la îmbinarea cu facilitățile */
body.home .elementor .elementor-element-58d26ac8 { border-top-width: 0 !important; }
/* distanța dintre „Devino membru” (încheiere) și „Întrebări frecvente” pe desktop: era ~285px */
@media (min-width: 768px) {
  body.home .elementor .elementor-element-58d26ac8 { padding-bottom: 56px !important; }
  body.home .elementor .elementor-element-77e042bc { padding-top: 64px !important; }
}
/* extraterestrul la bară, în fața animației navă + logo (2026-10-05): strat decorativ ancorat de scena navei (.ag-stage), la stânga ei, cu logo-ul „în spate” */
body.home .ag-stage::after { content: ""; position: absolute; z-index: -1; pointer-events: none; left: -62%; bottom: -17%; width: 66%; aspect-ratio: 2 / 3; background: url("/wp-content/themes/areagym/assets/img/alien-bara.webp") center bottom / contain no-repeat; filter: drop-shadow(0 0 14px rgba(0, 209, 193, .35)); animation: agAlienGlow 8s linear infinite; /* același ciclu de 8s ca nava, fasciculul și logo-ul (agLight): se stinge, pâlpâie, se aprinde, se stinge */ }
@keyframes agAlienGlow { 0%, 6% { filter: brightness(.32) drop-shadow(0 0 4px rgba(0, 209, 193, .08)); } 7% { filter: brightness(.85) drop-shadow(0 0 18px rgba(61, 240, 225, .55)); } 8.5% { filter: brightness(.36) drop-shadow(0 0 6px rgba(0, 209, 193, .15)); } 10% { filter: brightness(1) drop-shadow(0 0 24px rgba(61, 240, 225, .75)); } 11.5% { filter: brightness(.5) drop-shadow(0 0 10px rgba(0, 209, 193, .3)); } 14%, 46% { filter: brightness(1.08) drop-shadow(0 0 28px rgba(61, 240, 225, .8)); } 58% { filter: brightness(.6) drop-shadow(0 0 12px rgba(0, 209, 193, .3)); } 64%, 100% { filter: brightness(.32) drop-shadow(0 0 4px rgba(0, 209, 193, .08)); } }
@media (max-width: 1024px) { body.home .ag-stage::after { left: -50%; width: 62%; } }
@media (max-width: 767px) { body.home .ag-stage::after { left: -32%; width: 50%; bottom: -12%; } }
@media (prefers-reduced-motion: reduce) { body.home .ag-stage::after { animation: none; } }
@media (min-width: 1025px) and (max-width: 1199px) { body.home .ag-stage::after { left: -50%; width: 56%; } } /* laptop mic: lasă aer între titlu/subtitlu și bara extraterestrului */
@media (max-width: 360px) { body.home .ag-stage::after { left: -21%; width: 46%; } } /* telefoane înguste: bara nu mai iese din ecran */
/* al doilea extraterestru, cu haltera, în dreapta logo-ului, la același nivel și la aceeași proporție ca cel de la bară; aceeași animație de glow (sincron cu nava) */
body.home .ag-stage::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: auto !important; right: auto !important; left: clamp(244px, calc(50vw - 464px), 320px) !important; bottom: -17% !important; width: 56% !important; height: auto !important; aspect-ratio: 2 / 3 !important; background: url("/wp-content/themes/areagym/assets/img/alien-haltera.webp") center bottom / contain no-repeat; animation: agAlienGlow 8s linear infinite; }
@media (min-width: 1025px) and (max-width: 1199px) { body.home .ag-stage::before { left: 58% !important; width: 46% !important; } }
@media (max-width: 1024px) { body.home .ag-stage::before { left: 84% !important; width: 53% !important; bottom: -17% !important; } }
@media (max-width: 767px) { body.home .ag-stage::before { left: 85.5% !important; width: 43% !important; bottom: -12% !important; } }
@media (max-width: 360px) { body.home .ag-stage::before { left: 82% !important; width: 39% !important; } }
@media (prefers-reduced-motion: reduce) { body.home .ag-stage::before { animation: none; filter: drop-shadow(0 0 14px rgba(0, 209, 193, .35)); } }
/* hero simetric pe ecrane late (2026-10-06): conținutul hero-ului (text + bandă de cifre) se lărgește la 1320px, aproape cât meniul, iar scena navă + logo + extratereștri se trage spre stânga ca să nu iasă peste marginea din dreapta */
@media (min-width: 1441px) {
  body.home .elementor-element-491b5ead { max-width: 1320px !important; }
  body.home .elementor-element-3dffe74e { translate: calc(-1 * clamp(0px, (100vw - 1440px) * .5, 58px)) 0; }
}
@media (min-width: 1200px) and (max-width: 1439px) { body.home .ag-stage::before { left: calc(50vw - 450px) !important; } } /* laptop: figura cu haltera rămâne în ecran */
@media (max-width: 340px) { body.home .ag-stage::after { left: -10% !important; width: 40% !important; } body.home .ag-stage::before { left: 80% !important; width: 37% !important; } } /* telefoane 320: nicio figură tăiată la margine */
/* spațiu între scena cu extratereștri și titlu: era 13–16px */
@media (max-width: 1024px) { body.home .elementor-element-1dd324f8 { padding-top: 532px !important; } }
@media (max-width: 767px) { body.home .elementor-element-1dd324f8 { padding-top: 418px !important; } }
