/* Pachete 2027: what the CMS adds on top of the design (hidden modules, contact / booking windows). */
[data-p27-off]{display:none!important}

.a9 .p27m .mbox{position:relative;width:100%;max-height:calc(100vh - 48px);overflow:auto;transform:translateY(12px);transition:transform .4s var(--e)}
.a9 .p27m .x{position:absolute;top:16px;right:16px;width:36px;height:36px;border:0;font-size:22px;line-height:1;cursor:pointer;color:inherit}
.a9 .p27m-wide .mbox{max-width:960px}
.p27-frame{position:relative;height:min(70vh,720px)}
.p27-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff}

.p27f{display:grid;gap:14px}
.p27f label{display:grid;gap:6px;font-size:14px}
.p27f label>span{color:var(--t2)}
.p27f input[type=text],.p27f input[type=email],.p27f input[type=tel],.p27f textarea{width:100%;min-height:48px;padding:12px 14px;font:400 15px Inter,sans-serif;color:var(--f-t1,#0E0F11);background:var(--f-canvas,#fff);border:0;border-radius:2px;box-shadow:inset 0 0 0 1px var(--f-mid,#CFCCC5);outline:none}
.p27f textarea{resize:vertical;min-height:110px}
.p27f input:focus,.p27f textarea:focus{box-shadow:inset 0 0 0 1.5px var(--f-inv,#0E0F11)}
.p27f .p27f-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.p27f .p27f-c{grid-template-columns:20px 1fr;align-items:start;gap:10px;cursor:pointer}
.p27f .p27f-c input{width:18px;height:18px;margin-top:2px}
.p27f em{font-style:normal;font-size:13px;color:#B42318;margin-top:-6px}
.p27f em:empty{display:none}
.p27f .p27f-msg{font-size:14px}
.p27f .p27f-msg:empty{display:none}
.p27f .p27f-msg.ok{color:#2E7D5B}
.p27f .p27f-msg.err{color:#B42318}
.p27f button[disabled]{opacity:.6;pointer-events:none}
.p27f.sent label,.p27f.sent .p27f-2,.p27f.sent button,.p27f.sent em{display:none}

html .a9 .p27m .x{background:var(--f-alt,#22252A);color:var(--f-t1)}
html .a9 .p27m .mbox{background:var(--f-canvas);color:var(--f-t1)}
.p27f em,.p27f .p27f-msg.err{color:var(--f-acc,#B42318)}
.p27f .p27f-msg.ok{color:var(--f-ok,#2E7D5B)}

@media (max-width:640px){.p27f .p27f-2{grid-template-columns:1fr}.a9 .p27m .mbox{padding:28px 20px}}

/* access code checked on the server (Admin -> Promo codes): message under the field, button while checking */
.a9 .p27-codeerr,.p27-codeerr{display:block;font-style:normal;font-size:13px;line-height:1.4;margin-top:8px;color:var(--f-acc,#D30043)}
.a9 .p27-codeerr:empty{display:none}
.p27-busy{opacity:.6;pointer-events:none}

/* header: chapter names without the 01 / 02 numbers; the per-chapter section bar (script-3.js .subbar) is hidden for now */
.a9 .links a.ch b{display:none}
.navw .subbar{display:none!important}
html{scroll-padding-top:80px!important}
/* chapter openings: no numbers in the 5-chapter bar (.chst) nor in the section list (.chtoc); the big .chn is already hidden by the design */
.a9 .chst a b,.a9 .chtoc a i{display:none}
/* header menu: centred with auto margins instead of justify-content:flex-end, which pushed "Instrumente" off the left edge (unscrollable) when the links don't fit */
.a9 .nav .links{justify-content:flex-start}
.a9 .nav .links>a.ch:first-child,.a9 .nav .links>a.tool+a.ch{margin-left:auto}
.a9 .nav .links>a:last-child{margin-right:auto}
/* header: no "Instrumente" link (desktop menu and the mobile "Capitole" list) */
.a9 .nav .links a.tool,.chdd a[href="#instrumente"]{display:none!important}
/* header logo = the Remote Group logo of the group header (149x49, 97x32 on mobile), in the text colour of the theme */
.a9 .brand.nb svg.lg-grp{display:block;flex:none;max-width:none}
.a9 .brand.nb svg.lg-grp--d{width:148.756px;height:49px}
.a9 .brand.nb svg.lg-grp--m{display:none;width:96.7153px;height:31.8577px}
@media(max-width:700px){.a9 .brand.nb svg.lg-grp--d{display:none}.a9 .brand.nb svg.lg-grp--m{display:block}}
/* booking modal of the site (GET /bookings/embed, cms.js): full-screen transparent iframe, shown once the modal is open */
.p27-bk{position:fixed;inset:0;width:100%;height:100%;border:0;margin:0;padding:0;background:transparent;color-scheme:light;z-index:2147483000;visibility:hidden;pointer-events:none}
.p27-bk.on{visibility:visible;pointer-events:auto}

/* package cards (#plans, built by script-2 plans(), wrappers added by gen_p27.py): top / button / details on a shared grid,
   so the buttons line up across the row (as the .pk cards); one button style, on one line */
.v6 .plans{row-gap:0}
.v6 .plan{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;margin-bottom:16px}
.v6 .plan>.p-top{display:flex;flex-direction:column;min-width:0}
.v6 .plan>.p-cta,.v6 .plan>.p-more{min-width:0}
.v6 .plan .p-cta .btn{white-space:nowrap;padding-left:12px;padding-right:12px}
/* members card: access code + "Acces" (cms.js checks it: Admin -> Promo codes) and the "no code" link */
.v6 .plan.mem .acrow{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.v6 .plan.mem .acrow input{flex:1;min-width:0;width:auto;margin:0;min-height:52px;font:inherit;font-size:14px;letter-spacing:.12em;text-transform:uppercase}
.v6 .plan.mem .acrow .btn{flex:none;width:auto;margin:0;min-height:52px;padding-left:20px;padding-right:20px}
.v6 .plan.mem .alt{display:block;margin-top:14px;padding:0;border:0;background:none;font:inherit;font-size:12.5px;line-height:1.5;text-align:left;color:var(--f-t2,#9A9DA3);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html.lt .v6 .plan.mem .acrow input{background:#fff;color:#0E0F11;box-shadow:inset 0 0 0 1px #CFCCC5}
/* code error under the field (cms.js codeError), in both members cards */
.acrow .p27-codeerr{order:3;flex:0 0 100%;margin-top:0}
.a9 .pk.locked .mo .acrow{flex-wrap:wrap}
/* members card of the full package list: the dark card with the faint stripes of the design (the import made it light) */
.a9 .pk.locked .mo{background:repeating-linear-gradient(135deg,transparent 0 14px,rgba(127,127,127,.05) 14px 15px)}
/* the recommended card is no longer lifted 12px (its button stays in line with the others) */
.v6 .plans .plan.hl{transform:none}
.v6 .plans .plan.hl:hover{transform:translateY(-3px)}
.v6 .plan.mem .acrow input{letter-spacing:.06em}
.v6 .plan.mem .acrow input::placeholder{letter-spacing:0;text-transform:none}
/* package cards as a slider: 3 cards and a bit of the 4th (2.2 under 1180px, 84% on phones); still one grid, so the
   three parts of the cards stay aligned; arrows under it (cms.js) */
.v6 .plans{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(3,auto);grid-auto-columns:calc((100% - 32px) / 3.25);column-gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding-top:16px}
.v6 .plans::-webkit-scrollbar{display:none}
.v6 .plans .plan{scroll-snap-align:start}
@media(max-width:1180px){.v6 .plans{grid-auto-columns:calc((100% - 16px) / 2.2)}}
@media(max-width:640px){.v6 .plans{grid-auto-columns:84%;column-gap:12px}.p27-slnav{display:none!important}}
.p27-sl{position:relative}
.p27-slnav{position:absolute;inset:0;pointer-events:none}
.p27-slnav[hidden]{display:none}
.p27-slnav button{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--f-t1,#F4F3EF);color:var(--f-canvas,#0E0F11);box-shadow:0 8px 24px rgba(0,0,0,.35);font-size:20px;line-height:1;cursor:pointer;pointer-events:auto;z-index:3;transition:opacity .2s,transform .2s}
.p27-slnav .p27-sl-prev{left:-76px}
.p27-slnav .p27-sl-next{right:-76px}
.p27-slnav button:hover{transform:translateY(-50%) scale(1.06)}
.p27-slnav button:disabled{opacity:.25;pointer-events:none}
/* not enough room beside the slider: the arrows go above it, on the right, never over the cards */
@media(max-width:1360px){
	.p27-sl{padding-top:64px}
	.p27-slnav{inset:0 0 auto auto;display:flex;gap:8px}
	.p27-slnav button{position:static;transform:none;width:48px;height:48px}
	.p27-slnav button:hover{transform:scale(1.06)}
}
@media(max-width:640px){.p27-sl{padding-top:0}}
.p27-sl:has(>.p27-slnav[hidden]){padding-top:0}
/* package card borders: the same thin line on every card (members card included); the strong border only on the card
   under the mouse, not fixed on the recommended one (two :not(#p..) to outrank figma.css, loaded after this file) */
html:not(#p27):not(#p28) .v6 .plans .plan{box-shadow:inset 0 0 0 1px var(--f-line)}
html:not(#p27):not(#p28) .v6 .plans .plan:hover{box-shadow:inset 0 0 0 1.5px var(--f-inv)}
/* white text on the pink (--f-pink) background: the "Recomandat pentru traseul dvs." badge was dark on the dark theme */
html:not(#p27):not(#p28) .v6 .plan .recb{color:#fff}
/* close (×) of the page windows (Acces la …, etc.): the import made its background the light colour, same as the × */
html .a9 .modal .x{background:var(--f-line,#383B41);color:var(--f-t1,#F4F3EF);border-radius:2px;transition:background .2s}
html .a9 .modal .x:hover{background:var(--f-mid,#4B4F56)}
/* project cards (#proiecte): the stages 01-09 a project used (.on) had light text on the light square; contrast text */
html .v6 .case .im9 i.on{color:var(--f-tinv,#0E0F11)}
/* portfolio cards (#portofoliu): the stage squares 01-09 look exactly like those of the project cards above (.case .im9) */
html .a9 .pfstrip i{aspect-ratio:5/3;padding:0;display:grid;place-items:center;border-radius:2px;font-size:10px;line-height:1;background:var(--f-line,#383B41)!important;color:var(--f-t3,#A6A39D)}
html .a9 .pfstrip i.on,html .a9 .pfstrip i.on.s{background:var(--f-inv,#F4F3EF)!important;color:var(--f-tinv,#0E0F11)}
/* package cards: on the sold-out card the "Sold out" chip goes on the row under the level (Strategic) */
.v6 .plan.sold .toprow{flex-wrap:wrap;row-gap:10px}
.v6 .plan.sold .toprow .chip{flex:0 0 100%;text-align:right}
/* language switch at the right of the header (common/fixed-lang-switch.blade.php): the other language's code, small text */
.navw .fx-lang{display:flex;align-items:center;gap:12px;margin-left:20px;flex:none}
.navw .fx-lang a{font:500 14px/1 Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--f-t2,#CFCCC5);text-decoration:none;padding:6px 0;transition:color .2s}
.navw .fx-lang a:hover,.navw .fx-lang a:focus-visible{color:var(--f-t1,#F4F3EF)}

/* ---- the page header as the subnav row of the Remote Group header (layout: common/group-header, section group-subnav
   of the view, wrapper .g-sub.g-sub--fixed). Looks like .g-sub (resources/assets/sass/components/group/_header.scss):
   64px bar (56 under 1024), links 14px at .85 opacity, the theme colours of the header
   (data-bs-theme: --color-text-*). Selectors start with html:not(#p27) .g-sub--fixed .a9.navw to win over figma.css,
   which loads after this file. ---- */
body.layout-group .g-hdr{z-index:50} /* as the old bar: the page windows (.a9 .modal 100, .seldr / .pfm 90, .cat-ov 80) stay above it */
html:not(#p27) .g-sub--fixed .a9.navw{position:relative;top:auto;z-index:auto;font-family:var(--font-body)}
html:not(#p27) .g-sub--fixed .a9.navw .nav,html:not(#p27) .g-sub--fixed .a9.navw .nav.dk{position:relative;z-index:auto;background:none!important;-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--color-text-primary)}
html:not(#p27) .g-sub--fixed .a9.navw .nav .wrap{max-width:calc(var(--g-max) + 2 * var(--g-pad));padding:0 var(--g-pad);height:64px;gap:24px}
/* no logo in the subnav (the group header above has it); hidden, not removed: script-3.js places .chm after .brand.nb */
html:not(#p27) .g-sub--fixed .a9.navw .brand.nb{display:none}
html:not(#p27) .g-sub--fixed .a9.navw .nav .links{align-self:center;align-items:center;gap:32px;justify-content:flex-start}
html:not(#p27) .g-sub--fixed .a9.navw .nav .links>a{margin:0}
html:not(#p27) .g-sub--fixed .a9.navw .nav .links a.ch{gap:6px;padding:22px 0;box-shadow:none;font-weight:400;opacity:.85;transition:opacity .2s}
html:not(#p27) .g-sub--fixed .a9.navw .nav .links a.ch span,html:not(#p27) .g-sub--fixed .a9.navw .nav .links a.ch.on span{font:400 14px var(--font-body);color:var(--color-text-primary)}
html:not(#p27) .g-sub--fixed .a9.navw .nav .links a.ch:hover,html:not(#p27) .g-sub--fixed .a9.navw .nav .links a.ch:focus-visible,html:not(#p27) .g-sub--fixed .a9.navw .nav .links a.ch.on{opacity:1}
html:not(#p27) .g-sub--fixed .a9.navw .nav .links a.ch i{display:none}
html:not(#p27) .g-sub--fixed .a9.navw .chm{font:400 13px var(--font-body);color:var(--color-text-secondary)}
html:not(#p27) .g-sub--fixed .a9.navw .chbtn{color:var(--color-text-primary);font-family:var(--font-body)}
html:not(#p27) .g-sub--fixed .chdd{top:calc(100% + 8px)}
@media (max-width:1023px){html:not(#p27) .g-sub--fixed .a9.navw .nav .wrap{height:56px}}
@media (max-width:599px){html:not(#p27) .g-sub--fixed .a9.navw .nav .links a.ch span{font-size:13px}}
