/* CCFS theme styles.
 * Header: the floating pill + Nav Menu animations from the template (elementor/README.md in the template repo).
 * Hooks: container class .ccfs-pill, Nav Menu class .ccfs-menu, menu item classes ico-{fas|fab}-*, mm-cta, mm-phone; .ccfs-lang (language pill). */

/* ─────────── Global utilities ─────────── */
html{scroll-behavior:smooth;scroll-padding-top:100px}
.ccfs-accent{color:var(--e-global-color-primary)}
::selection{background:rgba(117,199,67,.25)}
:focus-visible{outline:2px solid var(--e-global-color-primary);outline-offset:3px;border-radius:3px}

/* Pages not built with Elementor (posts, archives): clear the fixed header pill */
body:not(.elementor-page) #content{padding-top:120px}

/* ─────────── Footer ─────────── */
.ccfs-footer .elementor-social-icon{transition:color .2s,border-color .2s,background-color .2s}
.ccfs-footer .elementor-nav-menu--main .elementor-item{transition:color .2s}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

:root{--ccfs-g:var(--e-global-color-primary,#75c743);--ccfs-g2:var(--e-global-color-ccgrnbr,#8dd455);--ccfs-gd:var(--e-global-color-ccgrndp,#4a8a25);--ccfs-ease:cubic-bezier(.22,1,.36,1)}

/* ─────────── Floating glass pill ─────────── */
.ccfs-pill{position:fixed!important;top:20px;left:50%;transform:translateX(-50%);z-index:999;width:min(var(--container-max-width,1230px),calc(100vw - 32px))!important;max-width:none;border-radius:14px;gap:12px}
.ccfs-pill>.ccfs-menu{margin-left:auto} /* logo left; menu + language pushed right */
.ccfs-pill .elementor-widget-image img{height:auto;aspect-ratio:480/88} /* logo sized by width only: never distort */
@media(min-width:1025px) and (max-width:1180px){ /* small laptop: make room for the language pill */
  .ccfs-pill .elementor-nav-menu--main .elementor-item{padding-left:9px!important;padding-right:9px!important}
  .ccfs-pill .ccfs-lang__globe{display:none}
  .ccfs-pill .elementor-widget-image img{max-width:230px}
}
.admin-bar .ccfs-pill{top:52px}
/* Glass lives on a pseudo-element: a backdrop-filter on the pill itself would trap the fixed mobile overlay inside it */
.ccfs-pill::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:rgba(255,255,255,.85);border:1px solid rgba(0,0,0,.09);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 8px 32px rgba(0,0,0,.11),0 2px 8px rgba(0,0,0,.06)}
.ccfs-pill .elementor-nav-menu--main>.elementor-nav-menu{flex-wrap:nowrap}
.ccfs-pill .elementor-nav-menu--main .elementor-item{white-space:nowrap}
@media(max-width:1024px){ /* hamburger menu on tablet + mobile (Nav Menu "Breakpoint: Tablet") */
  .ccfs-pill{top:16px;left:16px;right:16px;transform:none;max-width:none;width:auto!important;justify-content:space-between}
  .admin-bar .ccfs-pill{top:62px}
}

/* ─────────── Sliding highlight (element added by the script) ─────────── */
.ccfs-menu .elementor-nav-menu--main{position:relative}
.ccfs-menu .elementor-nav-menu--main .elementor-item{position:relative;z-index:1;border-radius:8px}
.ccfs-menu .ccfs-ind{position:absolute;left:0;top:0;width:0;height:0;z-index:0;pointer-events:none;border-radius:8px;background:rgba(117,199,67,.12);opacity:0;transition:left .38s var(--ccfs-ease),width .38s var(--ccfs-ease),top .38s var(--ccfs-ease),height .38s var(--ccfs-ease),opacity .2s}
.ccfs-menu .ccfs-ind.on{opacity:1}

/* ─────────── Submenu arrow rotates ─────────── */
.ccfs-menu .elementor-nav-menu--main .sub-arrow{display:inline-flex;opacity:.55;transition:opacity .22s}
.ccfs-menu .elementor-nav-menu--main>ul>li>a .sub-arrow svg{transition:transform .22s var(--ccfs-ease)} /* rotate the icon, not the span: its padding is asymmetric (10px, 0 on the end side) */
.ccfs-menu .elementor-nav-menu--main>ul>li.menu-item-has-children:hover>a .sub-arrow,
.ccfs-menu .elementor-nav-menu--main>ul>li.menu-item-has-children:focus-within>a .sub-arrow{opacity:1}
.ccfs-menu .elementor-nav-menu--main>ul>li.menu-item-has-children:hover>a .sub-arrow svg,
.ccfs-menu .elementor-nav-menu--main>ul>li.menu-item-has-children:focus-within>a .sub-arrow svg{transform:rotate(180deg)}

/* ─────────── Desktop dropdown: right-aligned with its trigger; fade + slide + scale, 260 ms close delay ─────────── */
.ccfs-menu .elementor-nav-menu--main .sub-menu{
  display:block!important; /* Elementor toggles display; we animate visibility instead */
  top:calc(100% + 12px)!important;left:auto!important;right:0!important;transform-origin:top right;margin:0!important;
  width:max-content!important;min-width:180px!important;max-width:none!important;
  padding:8px!important;background:#fff!important;border-radius:14px;
  border:1px solid rgba(0,0,0,.08)!important;box-shadow:0 12px 40px rgba(0,0,0,.13),0 0 0 1px rgba(0,0,0,.04)!important;
  opacity:0;visibility:hidden;transform:translateY(-8px) scale(.96);
  transition:opacity .2s var(--ccfs-ease) .26s,transform .2s var(--ccfs-ease) .26s,visibility 0s linear .46s;
}
.ccfs-menu .elementor-nav-menu--main .elementor-nav-menu>li>ul.sub-menu{inset-inline-start:auto!important;inset-inline-end:0!important} /* beats Pro's li:not(:first-child)>ul{inset-inline-start:…!important} */
.ccfs-menu .elementor-nav-menu--main .sub-menu::before{content:'';position:absolute;top:-16px;left:-14px;right:-14px;height:22px} /* hover bridge over the gap */
.ccfs-menu .elementor-nav-menu--main .menu-item-has-children:hover>.sub-menu,
.ccfs-menu .elementor-nav-menu--main .menu-item-has-children:focus-within>.sub-menu{
  opacity:1;visibility:visible;transform:translateY(0) scale(1);transition-delay:0s;
}
.ccfs-menu .elementor-nav-menu--main .sub-menu .elementor-sub-item{
  display:flex;align-items:center;gap:10px;padding:10px 14px!important;border:0!important;border-radius:8px;
  font-size:.92rem;font-weight:600;white-space:nowrap;color:#111827!important;background:transparent!important;
  transition:background .15s,color .15s;
}
.ccfs-menu .elementor-nav-menu--main .sub-menu .elementor-sub-item:hover,
.ccfs-menu .elementor-nav-menu--main .sub-menu .elementor-sub-item:focus{background:#f5faf2!important;color:var(--ccfs-gd)!important}

/* ─────────── Menu-item icons ───────────
 * Class ico-{fas|far|fab}-{name} on a menu item → the CCFS plugin prepends <span class="ccfs-mi"><svg/></span>
 * (Font Awesome 5 from Elementor, inline SVG). Browse them in CCFS → Icons. */
.ccfs-mi{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}
.ccfs-mi svg{width:1em;height:1em;fill:currentColor}
.ccfs-menu .ccfs-mi{width:30px;height:30px;border-radius:8px;background:rgba(117,199,67,.12);color:var(--ccfs-g);font-size:.82rem;transition:background .15s,color .15s}
.ccfs-menu a:hover>.ccfs-mi{background:rgba(117,199,67,.22);color:var(--ccfs-gd)}
.ccfs-menu .elementor-nav-menu--main>ul>li>a>.ccfs-mi{display:none} /* no icons on the top bar */

/* ─────────── Language pill (CCFS plugin shortcode [ccfs_lang_switcher]) ───────────
 * Since 2026-10-03 it sits INSIDE the header pill (shortcode widget .ccfs-lang-wrap after the menu):
 * desktop/tablet → right end of the pill; mobile → hidden until the full-screen menu opens, then top-left,
 * on the row of the close button (html.ccfs-menu-open is set by ccfs.js).
 * Previous version (may come back): a separate header container before the pill, the pill fixed at
 * top:18px;left:20px (admin-bar 50px) on all sizes, and on mobile top:84px;left:16px — below the full-width pill. */
.ccfs-lang{display:flex;align-items:center;gap:3px;padding:4px;border-radius:10px;background:rgba(117,199,67,.06);border:1px solid rgba(0,0,0,.07)}
.ccfs-lang__globe{display:inline-flex;margin:0 4px 0 6px;color:var(--ccfs-g);font-size:.82rem}
.ccfs-lang__globe svg{width:1em;height:1em;fill:currentColor}
.ccfs-lang__btn{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:7px;font:600 .76rem/1 var(--e-global-typography-text-font-family,'Inter'),sans-serif;letter-spacing:.04em;color:#6b7280;text-decoration:none;transition:color .15s,background .15s}
a.ccfs-lang__btn:hover{color:var(--ccfs-g)}
.ccfs-lang__btn.is-active{background:rgba(117,199,67,.14);color:#5aab2a}
.ccfs-lang__btn.is-disabled{opacity:.4;cursor:not-allowed}
@media(max-width:1024px){
  .ccfs-pill>.ccfs-lang-wrap{position:fixed;top:28px;left:20px;z-index:100002;margin:0;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}
  .admin-bar .ccfs-pill>.ccfs-lang-wrap{top:74px}
  html.ccfs-menu-open .ccfs-pill>.ccfs-lang-wrap{opacity:1;visibility:visible}
  .ccfs-lang{background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.06)}
  .ccfs-lang__btn{padding:8px 13px;font-size:.8rem}
}

/* Mobile-only items */
.ccfs-menu .elementor-nav-menu--main .mm-cta,.ccfs-menu .elementor-nav-menu--main .mm-phone{display:none!important}

/* ─────────── Hamburger button ─────────── */
.ccfs-menu .elementor-menu-toggle{position:relative;z-index:100001;width:48px;height:48px;border-radius:10px;background:rgba(255,255,255,.95)!important;border:1px solid rgba(0,0,0,.09);box-shadow:0 2px 10px rgba(0,0,0,.08);transition:transform .2s ease,border-color .2s ease}
.ccfs-menu .elementor-menu-toggle:active{transform:scale(.9);border-color:rgba(117,199,67,.5)}
.ccfs-menu .elementor-menu-toggle.elementor-active{border-radius:50%}
.ccfs-menu .elementor-menu-toggle.elementor-active:active{transform:scale(.9) rotate(90deg)}

/* ─────────── Mobile full-screen glass menu ─────────── */
.ccfs-menu .elementor-nav-menu--dropdown.elementor-nav-menu__container{
  position:fixed!important;inset:0;z-index:100000;margin:0!important;
  max-height:none!important;height:100vh;height:100dvh;overflow-y:auto!important;transform:none!important;
  padding:92px 20px 30px;box-sizing:border-box;
  background:rgba(255,255,255,.9)!important;backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4);
  opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease!important;
}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown.elementor-nav-menu__container{opacity:1;visibility:visible}
.ccfs-menu .elementor-nav-menu--dropdown>ul{display:flex!important;flex-direction:column;gap:9px}
.ccfs-menu .elementor-nav-menu--dropdown>ul::before{content:'Meniu';font-size:.7rem;color:var(--ccfs-g);text-transform:uppercase;letter-spacing:.18em;font-weight:700;margin-bottom:3px}
.ccfs-menu .elementor-nav-menu--dropdown>ul>li>a{
  display:flex!important;align-items:center;gap:14px;padding:12px 14px!important;border-radius:14px;
  background:rgba(255,255,255,.92)!important;border:1px solid rgba(0,0,0,.07)!important;box-shadow:0 2px 10px rgba(0,0,0,.04);
  color:#111827!important;font-size:1.02rem;font-weight:600;transition:background .2s,border-color .2s,transform .15s;
}
.ccfs-menu .elementor-nav-menu--dropdown>ul>li>a:active{background:rgba(117,199,67,.1)!important;border-color:rgba(117,199,67,.45)!important;transform:scale(.98)}
.ccfs-menu .elementor-nav-menu--dropdown>ul>li>a>.ccfs-mi{width:38px;height:38px;border-radius:11px;border:1px solid rgba(117,199,67,.22);color:var(--ccfs-gd);font-size:.9rem}
.ccfs-menu .elementor-nav-menu--dropdown>ul>li:not(.menu-item-has-children):not(.mm-cta):not(.mm-phone)>a::after{content:''!important;position:static!important;display:block!important;flex:none;width:7px!important;height:7px!important;margin:0 4px 0 auto;padding:0;opacity:1!important;background:none!important;border:solid #9ca3af;border-width:0 2px 2px 0;transform:rotate(-45deg)!important} /* chevron-right */
.ccfs-menu .elementor-nav-menu--dropdown .sub-arrow{margin-left:auto}
.ccfs-menu .elementor-nav-menu--dropdown .sub-menu{margin-top:6px!important;padding-left:12px!important;background:transparent!important}
.ccfs-menu .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item{display:flex!important;align-items:center;gap:10px;border-radius:10px;background:transparent!important;color:#111827!important;border:0!important}
.ccfs-menu .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item:active{background:#f5faf2!important;color:var(--ccfs-gd)!important}
/* CTA + phone */
.ccfs-menu .elementor-nav-menu--dropdown>ul>li.mm-cta>a{justify-content:center;gap:9px;margin-top:9px;padding:15px 24px!important;border:0!important;border-radius:12px;color:#fff!important;font-weight:700;background:linear-gradient(135deg,var(--ccfs-g),var(--ccfs-g2))!important;box-shadow:0 6px 24px rgba(117,199,67,.4)}
.ccfs-menu .elementor-nav-menu--dropdown>ul>li.mm-cta>a>.ccfs-mi{width:auto;height:auto;background:none;border:0;color:#fff}
.ccfs-menu .elementor-nav-menu--dropdown>ul>li.mm-phone>a{justify-content:center;gap:8px;background:transparent!important;border:0!important;box-shadow:none;color:#374151!important;font-size:.9rem}
.ccfs-menu .elementor-nav-menu--dropdown>ul>li.mm-phone>a>.ccfs-mi{width:auto;height:auto;background:none;border:0}
/* Staggered spring entrance */
@keyframes ccfsIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul::before,
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li{animation:ccfsIn .45s cubic-bezier(.22,1.25,.36,1) both}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(1){animation-delay:.05s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(2){animation-delay:.09s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(3){animation-delay:.13s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(4){animation-delay:.17s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(5){animation-delay:.21s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(6){animation-delay:.25s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(7){animation-delay:.29s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(8){animation-delay:.33s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(9){animation-delay:.38s}
.ccfs-menu .elementor-menu-toggle.elementor-active+.elementor-nav-menu--dropdown>ul>li:nth-child(n+10){animation-delay:.44s}

@media(prefers-reduced-motion:reduce){
  .ccfs-menu *,.ccfs-menu *::before{animation:none!important;transition:none!important}
}

/* ═══════════ Page components (classes set on Elementor containers/widgets → Advanced → CSS Classes) ═══════════ */

/* Entrance animation: Elementor's "Fade In Up" moves by 100% of the element's height; use a short slide instead */
@keyframes ccfsFadeInUp{from{opacity:0;transform:translate3d(0,28px,0)}to{opacity:1;transform:none}}
.elementor-element.animated.fadeInUp{animation-name:ccfsFadeInUp;animation-duration:.8s;animation-timing-function:cubic-bezier(.22,1,.36,1)}

/* Faint green grid + glow behind a section (hero, service hero) */
.ccfs-grid-bg{position:relative;isolation:isolate}
.ccfs-grid-bg::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(117,199,67,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(117,199,67,.07) 1px,transparent 1px);background-size:60px 60px;-webkit-mask-image:linear-gradient(to bottom,#000 60%,transparent);mask-image:linear-gradient(to bottom,#000 60%,transparent)}
.ccfs-grid-bg::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 60% 55% at 72% 40%,rgba(117,199,67,.09),transparent 65%),radial-gradient(ellipse 45% 60% at 5% 80%,rgba(180,220,160,.18),transparent 65%)}

/* Pill badge with a pulsing dot (Icon List widget, icon = circle) */
.ccfs-pulse .elementor-icon-list-icon svg{animation:ccfsDot 2.2s ease-out infinite;border-radius:50%}
@keyframes ccfsDot{0%{box-shadow:0 0 0 0 rgba(117,199,67,.55)}70%{box-shadow:0 0 0 7px rgba(117,199,67,0)}100%{box-shadow:0 0 0 0 rgba(117,199,67,0)}}

/* Hero image fading into the page on its left edge */
.ccfs-fade-left img{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 18%,#000 84%,transparent),linear-gradient(to bottom,#000 78%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 18%,#000 84%,transparent),linear-gradient(to bottom,#000 78%,transparent);mask-composite:intersect}

/* Generic hover lift for cards */
.ccfs-lift{transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s cubic-bezier(.16,1,.3,1),border-color .35s}
.ccfs-lift:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(0,0,0,.09)}

/* Service card (Home / Servicii): container link with an illustration on the right */
.ccfs-svc-card{position:relative;overflow:hidden;isolation:isolate;transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s cubic-bezier(.16,1,.3,1),border-color .45s}
.ccfs-svc-card::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(145deg,rgba(117,199,67,.08),transparent 70%);opacity:0;transition:opacity .45s}
.ccfs-svc-card:hover{transform:translateY(-4px);border-color:rgba(117,199,67,.35)!important;box-shadow:0 20px 50px rgba(0,0,0,.1),0 0 0 1px rgba(117,199,67,.25)!important}
.ccfs-svc-card:hover::before{opacity:1}
.ccfs-svc-card>.e-con-inner,.ccfs-svc-card>.elementor-widget:not(.ccfs-svc-card__img){position:relative;z-index:2}
.ccfs-svc-card__img{position:absolute!important;right:4px;top:14px;bottom:52px;width:44%!important;z-index:1;pointer-events:none;opacity:.92;transition:transform .45s cubic-bezier(.16,1,.3,1),opacity .45s}
.ccfs-svc-card__img img{width:100%!important;height:100%!important;object-fit:contain;object-position:center right;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 44%);mask-image:linear-gradient(to right,transparent 0,#000 44%)}
.ccfs-svc-card:hover .ccfs-svc-card__img{transform:scale(1.05);opacity:1}
.ccfs-svc-card .elementor-widget-heading,.ccfs-svc-card .elementor-widget-icon-list{max-width:58%}
.ccfs-svc-card .elementor-widget-icon .elementor-icon{transition:transform .35s cubic-bezier(.16,1,.3,1)}
.ccfs-svc-card:hover .elementor-widget-icon .elementor-icon{transform:scale(1.12) rotate(-6deg)}
.ccfs-svc-card__arrow .elementor-icon{transition:background .35s,color .35s,fill .35s,transform .35s}
.ccfs-svc-card:hover .ccfs-svc-card__arrow .elementor-icon{background:var(--ccfs-g)!important;fill:#fff!important;color:#fff!important;transform:translateX(3px)}

/* Value icons (Home "Abordarea noastră") */
.ccfs-value .elementor-icon{background:linear-gradient(135deg,var(--ccfs-g),var(--ccfs-g2))!important;box-shadow:0 6px 20px rgba(117,199,67,.35);transition:transform .3s}
.ccfs-value:hover .elementor-icon{transform:scale(1.1) rotate(-5deg)}

/* Contact channel rows (Icon Box, icon left) */
.ccfs-ci{transition:background .3s,border-color .3s,transform .3s}
.ccfs-ci:hover{background:rgba(117,199,67,.06)!important;border-color:rgba(117,199,67,.35)!important;transform:translateX(5px)}
.ccfs-ci .elementor-icon{transition:background .3s,box-shadow .3s,fill .3s,color .3s}
.ccfs-ci:hover .elementor-icon{background:var(--ccfs-g)!important;fill:#fff!important;color:#fff!important;box-shadow:0 0 0 8px rgba(117,199,67,.14)}
.ccfs-ci .elementor-icon-box-title a,.ccfs-ci .elementor-icon-box-description{color:inherit}

/* Team card: photo area with initials behind the photo (shown when no photo) */
.ccfs-team-card{transition:box-shadow .22s,transform .22s}
.ccfs-team-card:hover{box-shadow:0 8px 28px rgba(0,0,0,.1)!important;transform:translateY(-3px)}
.ccfs-team-photo{position:relative;overflow:hidden}
.ccfs-team-photo .elementor-widget-image{position:absolute!important;inset:0;z-index:2}
.ccfs-team-photo .elementor-widget-image img{width:100%;height:100%;object-fit:cover;object-position:top center}
.ccfs-initials .elementor-heading-title{display:flex;align-items:center;justify-content:center;width:82px;height:82px;border-radius:50%;background:linear-gradient(135deg,var(--ccfs-g),var(--ccfs-g2));box-shadow:0 4px 16px rgba(117,199,67,.35)}

/* "Trusted by" marquee: two identical groups scroll left forever */
.ccfs-marquee{overflow:hidden;position:relative}
.ccfs-marquee::before,.ccfs-marquee::after{content:'';position:absolute;top:0;bottom:0;width:180px;z-index:2;pointer-events:none}
.ccfs-marquee::before{left:0;background:linear-gradient(to right,var(--e-global-color-ccbgsft,#f5f7f3),transparent)}
.ccfs-marquee::after{right:0;background:linear-gradient(to left,var(--e-global-color-ccbgsft,#f5f7f3),transparent)}
.ccfs-marquee__track{width:max-content!important;flex-wrap:nowrap!important;animation:ccfsMarquee 38s linear infinite}
.ccfs-marquee:hover .ccfs-marquee__track{animation-play-state:paused}
.ccfs-marquee__group{min-width:100vw;flex-wrap:nowrap!important}
.ccfs-marquee__group .elementor-heading-title{white-space:nowrap;transition:color .3s}
.ccfs-marquee__group .elementor-heading-title:hover{color:var(--ccfs-g)!important}
@keyframes ccfsMarquee{to{transform:translateX(-50%)}}

/* Service CTA band: photos left + right, full height, fading toward the centre (template .cta-img) */
.ccfs-cta-band{position:relative;overflow:hidden;isolation:isolate}
.ccfs-cta-img{position:absolute!important;top:0;bottom:0;width:52%!important;max-width:760px;z-index:-1;opacity:.95;pointer-events:none}
.ccfs-cta-img img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center}
.ccfs-cta-img--l{left:0}
.ccfs-cta-img--r{right:0}
.ccfs-cta-img--l img{-webkit-mask-image:linear-gradient(to right,#000 52%,rgba(0,0,0,.55) 78%,transparent 96%);mask-image:linear-gradient(to right,#000 52%,rgba(0,0,0,.55) 78%,transparent 96%)}
.ccfs-cta-img--r img{-webkit-mask-image:linear-gradient(to left,#000 52%,rgba(0,0,0,.55) 78%,transparent 96%);mask-image:linear-gradient(to left,#000 52%,rgba(0,0,0,.55) 78%,transparent 96%)}
@media(max-width:767px){.ccfs-cta-img--l{width:72%!important;max-width:none;opacity:.3}.ccfs-cta-img--r{display:none}}

/* Service hero photo: top-right corner, full hero height, fading out under the grid (template .svc-hero-img) */
.ccfs-svc-hero-img{position:absolute!important;top:0;right:0;bottom:0;width:74%!important;max-width:1020px;z-index:-2;opacity:.95;pointer-events:none}
.ccfs-svc-hero-img img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center;-webkit-mask-image:radial-gradient(ellipse 125% 138% at 100% 0%,#000 30%,rgba(0,0,0,.45) 56%,transparent 78%);mask-image:radial-gradient(ellipse 125% 138% at 100% 0%,#000 30%,rgba(0,0,0,.45) 56%,transparent 78%)}
@media(max-width:767px){.ccfs-svc-hero-img{width:88%!important;opacity:.45}}

/* FAQ (Nested Accordion) */
.ccfs-faq .e-n-accordion-item{border:1px solid rgba(0,0,0,.08);border-radius:12px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.ccfs-faq .e-n-accordion-item[open]{border-color:rgba(117,199,67,.35);box-shadow:0 8px 24px rgba(0,0,0,.05)}
.ccfs-faq .e-n-accordion-item-title{padding:18px 22px!important;border:0!important;background:transparent!important}
.ccfs-faq .e-n-accordion-item-title-text{font-weight:600;color:var(--e-global-color-secondary)}
.ccfs-faq .e-n-accordion-item-title-icon{color:var(--ccfs-g);fill:var(--ccfs-g)}
.ccfs-faq .e-n-accordion-item>.e-con{padding:0 22px 20px!important;border:0!important}

/* Brand band under the team section: photo washed in green, grid lines, fading in from the white page */
.ccfs-brand-band{position:relative;isolation:isolate;overflow:hidden}
.ccfs-brand-band::after{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(rgba(117,199,67,.08) 1px,transparent 1px) 0 0/50px 50px,linear-gradient(90deg,rgba(117,199,67,.08) 1px,transparent 1px) 0 0/50px 50px,radial-gradient(ellipse 78% 125% at 50% 50%,rgba(240,247,234,.93) 0%,rgba(239,246,232,.85) 52%,rgba(236,245,230,.66) 100%)}
.ccfs-brand-band::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,#fff 0%,rgba(255,255,255,.82) 10%,rgba(255,255,255,.35) 22%,transparent 36%)}

/* Legal text (Politica de confidențialitate) */
.ccfs-legal h2{font-size:1.3rem;line-height:1.3;margin:34px 0 12px;padding-top:26px;border-top:1px solid rgba(0,0,0,.07)}
.ccfs-legal p{margin-bottom:14px}
.ccfs-legal a{color:var(--ccfs-gd);text-decoration:underline;text-underline-offset:2px}

/* HubSpot form: rendered in an iframe; its styles are passed via the embed's `css` option (template "CCFS — Formular HubSpot") */
.ccfs-hubspot{min-height:420px}

@media(prefers-reduced-motion:reduce){
  .ccfs-marquee__track,.ccfs-pulse .elementor-icon-list-icon svg{animation:none}
  .elementor-element.animated.fadeInUp{animation:none}
}

/* Floating WhatsApp button (Icon widget in the CCFS Footer template) */
.ccfs-wa-wrap{padding:0!important}
.ccfs-wa{position:fixed!important;right:24px;bottom:28px;z-index:990;width:auto!important}
.ccfs-wa .elementor-icon{box-shadow:0 6px 24px rgba(37,211,102,.45);transition:transform .3s}
.ccfs-wa .elementor-icon:hover{transform:scale(1.1) rotate(-6deg)}
.ccfs-wa .elementor-icon::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:50%;background:#25D366;animation:ccfsRing 2.5s infinite}
.ccfs-wa .elementor-icon{position:relative}
@keyframes ccfsRing{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.6);opacity:0}}
@media(max-width:767px){.ccfs-wa{right:16px;bottom:20px}}
@media(prefers-reduced-motion:reduce){.ccfs-wa .elementor-icon::before{animation:none}}

/* Inline links in running text (e.g. Home "Despre noi") */
.ccfs-links a{color:var(--e-global-color-accent);font-weight:500;text-decoration:underline;text-decoration-color:rgba(117,199,67,.45);text-underline-offset:3px;transition:text-decoration-color .2s}
.ccfs-links a:hover{text-decoration-color:currentColor}

/* Blog post card (Loop Item) */
.ccfs-post-card__img img{width:100%;display:block}
.ccfs-post-card .elementor-heading-title a{color:inherit}
.ccfs-post-card .elementor-heading-title a:hover{color:var(--e-global-color-accent)}

/* Home hero image: full height, runs to the right edge, fades in from the left (template .hero-img) */
.ccfs-hero-right{position:relative}
.ccfs-hero-img{position:absolute!important;inset:0}
.ccfs-hero-img img{width:100%!important;height:100%!important}
.ccfs-hero-img img{display:block;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 14%);mask-image:linear-gradient(to right,transparent 0,#000 14%)}

/* Lists in text widgets: check list (.ccfs-check) and dot list (.ccfs-dots) */
.ccfs-check,.ccfs-dots{list-style:none;margin:0;padding:0}
.ccfs-check li,.ccfs-dots li{position:relative;padding-left:30px;margin:0 0 12px}
.ccfs-check li:last-child,.ccfs-dots li:last-child{margin-bottom:0}
.ccfs-check li::before{content:'';position:absolute;left:0;top:.2em;width:19px;height:19px;border-radius:50%;background:rgba(117,199,67,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234a8a25' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.6L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat}
.ccfs-dots li{padding-left:20px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.06)}
.ccfs-dots li:last-child{border-bottom:0;padding-bottom:0}
.ccfs-dots li::before{content:'';position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--ccfs-g)}
.ccfs-dots li strong{display:block;color:var(--e-global-color-secondary);margin-bottom:4px}
.ccfs-dots .ccfs-sub{list-style:none;margin:6px 0 0;padding:0}
.ccfs-dots .ccfs-sub li{border:0;margin:0 0 4px;padding:0 0 0 16px;font-size:.95em;color:#4b5563}
.ccfs-dots .ccfs-sub li::before{width:5px;height:5px;background:rgba(117,199,67,.55);top:.65em}
.ccfs-links p:last-child{margin-bottom:0}

/* City / industry pills (Rețeaua partenerilor, Portofoliu) */
.ccfs-pills{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.ccfs-pills li{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;background:#fff;border:1px solid rgba(117,199,67,.25);font-weight:600;font-size:.95rem;color:var(--e-global-color-secondary)}
.ccfs-pills li::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--ccfs-g)}
.ccfs-pills--links li{padding:0;border-color:rgba(0,0,0,.1)}
.ccfs-pills--links li::before{display:none}
.ccfs-pills--links a{display:block;padding:9px 18px;color:inherit;transition:color .2s}
.ccfs-pills--links li:hover{border-color:rgba(117,199,67,.5)}
.ccfs-pills--links a:hover{color:var(--ccfs-gd)}

/* Breadcrumbs (Rank Math) */
.ccfs-crumbs .rank-math-breadcrumb p{margin:0;font-size:13px;color:#6b7280}
.ccfs-crumbs .rank-math-breadcrumb a{color:#4a8a25}
.ccfs-crumbs .separator{margin:0 6px;color:#9ca3af}

/* Blog article body (Single Post template) */
.ccfs-article{font-size:17px;line-height:1.75;color:#374151}
.ccfs-article p{margin:0 0 1.15em}
.ccfs-article h2{font-size:28px;line-height:1.25;margin:1.8em 0 .6em;color:var(--e-global-color-secondary)}
.ccfs-article h3{font-size:22px;line-height:1.3;margin:1.5em 0 .5em;color:var(--e-global-color-secondary)}
.ccfs-article h4{font-size:18px;margin:1.3em 0 .4em}
.ccfs-article ul,.ccfs-article ol{margin:0 0 1.2em;padding-left:1.3em}
.ccfs-article li{margin:0 0 .45em}
.ccfs-article li::marker{color:var(--ccfs-g)}
.ccfs-article a{color:var(--ccfs-gd);text-decoration:underline;text-decoration-color:rgba(117,199,67,.45);text-underline-offset:3px}
.ccfs-article a:hover{text-decoration-color:currentColor}
.ccfs-article img{border-radius:12px;height:auto}
.ccfs-article blockquote{margin:1.5em 0;padding:16px 22px;border-left:3px solid var(--ccfs-g);background:#f5faf2;border-radius:0 12px 12px 0}
.ccfs-article table{width:100%;border-collapse:collapse;margin:0 0 1.4em;font-size:15px}
.ccfs-article th,.ccfs-article td{padding:10px 12px;border:1px solid rgba(0,0,0,.09);text-align:left}
.ccfs-article th{background:#f5faf2;color:var(--e-global-color-secondary)}
.ccfs-article .wp-block-rank-math-toc-block{margin:0 0 2em;padding:20px 24px;border:1px solid rgba(117,199,67,.2);border-radius:12px;background:#f8fbf6}
.ccfs-article .wp-block-rank-math-toc-block h2{margin:0 0 10px;font-size:18px}
.ccfs-article .wp-block-rank-math-toc-block ul{margin:0}
.ccfs-article-img img{width:100%;max-height:520px;object-fit:cover}
@media(max-width:767px){.ccfs-article{font-size:16px}.ccfs-article h2{font-size:24px}.ccfs-article h3{font-size:20px}}

/* ─────────── CCFS content types in Loop Grids (Servicii / Echipă / Testimoniale, 2026-10-10) ─────────── */
/* [ccfs_post field="icon"]: same look as the stacked Icon widget it replaces */
.ccfs-post-icon{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:10px;background:rgba(117,199,67,.12);transition:transform .35s cubic-bezier(.16,1,.3,1)}
.ccfs-post-icon svg{width:15px;height:15px;fill:var(--e-global-color-primary)}
.ccfs-svc-card:hover .ccfs-post-icon{transform:scale(1.12) rotate(-6deg)}
.ccfs-svc-card .elementor-widget-shortcode{max-width:58%}
.e-loop-item>.ccfs-svc-card,.e-loop-item>.ccfs-team-card,.e-loop-item>.ccfs-testi-card{height:100%}
/* [ccfs_post field="photo"]: photo fills the card top, or the initials disc */
.ccfs-team-photo .ccfs-team-photo__img,.ccfs-team-photo .elementor-shortcode{position:static!important}
.ccfs-team-photo .elementor-shortcode>img{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:cover;object-position:top center}
.ccfs-initials{display:flex;align-items:center;justify-content:center;width:82px;height:82px;border-radius:50%;background:linear-gradient(135deg,var(--ccfs-g),var(--ccfs-g2));box-shadow:0 4px 16px rgba(117,199,67,.35);color:#fff;font-family:Satoshi,sans-serif;font-size:26px;font-weight:800}
.ccfs-team-bio p{margin:0 0 .6em}.ccfs-team-bio p:last-child{margin:0}
/* [ccfs_post field="links"]: same look as the Social Icons widget */
.ccfs-person-links{display:flex;gap:7px}
.ccfs-person-links a{display:inline-flex;align-items:center;justify-content:center;width:2.24em;height:2.24em;border-radius:7px;background:rgba(0,0,0,.04);font-size:13px;transition:background .2s}
.ccfs-person-links svg{width:13px;height:13px;fill:#6B7280;transition:fill .2s}
.ccfs-person-links a:hover{background:rgba(117,199,67,.14)}.ccfs-person-links a:hover svg{fill:#4A8A25}
/* testimonial company logo (270×190 JPGs on a light background) */
.ccfs-testi-logo img{width:64px;height:48px;object-fit:contain;background:#fff;border:1px solid rgba(0,0,0,.06);padding:4px}

/* Elementor forms: same fields as the HubSpot form (hubspot-form.css) and the template's .input.
   Colours, label type, border, radius and padding come from Site Settings → Form Fields; this adds what the kit can't. */
.elementor-widget-form .elementor-field-textual{min-height:46px;transition:border-color .18s,box-shadow .18s}
.elementor-widget-form .elementor-field-textual::placeholder{color:#9ca3af;opacity:1}
.elementor-widget-form .elementor-field-textual:focus{outline:0;box-shadow:0 0 0 3px rgba(117,199,67,.15)}
.elementor-widget-form textarea.elementor-field-textual{min-height:130px;resize:vertical}
.elementor-widget-form .elementor-mark-required .elementor-field-label:after{color:#dc2626}
.elementor-widget-form .elementor-field-subgroup .elementor-field-option{display:inline-flex;align-items:center;gap:8px;margin:0 14px 8px 0}
.elementor-widget-form .elementor-field-subgroup input{width:17px;height:17px;margin:0;accent-color:#75c743;cursor:pointer}
.elementor-widget-form .elementor-field-subgroup label{font-size:14px;color:#374151;cursor:pointer}

/* Contact map (Google Maps widget .ccfs-map): dark, green-tinted like the template's MapLibre map.
   invert + hue-rotate turns Google's light map dark, then the template's tile filter tints it green. */
.ccfs-map{border-radius:16px;overflow:hidden;border:1px solid rgba(0,0,0,.08);box-shadow:0 8px 30px rgba(0,0,0,.06)}
.ccfs-map iframe{display:block;filter:invert(.92) hue-rotate(180deg) sepia(.75) saturate(2.6) hue-rotate(74deg) brightness(1.05) contrast(1.08)}
