/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme of Hello Elementor for the Optic Marketing build.
Author: Uniek Digital
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ---- Optic Marketing custom styles below ---- */

html { scroll-behavior: smooth; }

/* spacing tokens (from style_example.css) */
:root { --pad-xs: 25px; --pad-sm: clamp(25px, 2.385vw, 45px); --pad-md: clamp(25px, 3.2vw, 72px); --pad-lg: clamp(25px, 6.2vw, 100px); --pad-xl: clamp(25px, 8vw, 150px); --pad-xxl: clamp(25px, 12.5vw, 250px); }
.pad_xs { padding-top: var(--pad-xs); padding-bottom: var(--pad-xs); }
.pad_sm { padding-top: var(--pad-sm); padding-bottom: var(--pad-sm); }
.pad_md { padding-top: var(--pad-md); padding-bottom: var(--pad-md); }
.pad_lg { padding-top: var(--pad-lg); padding-bottom: var(--pad-lg); }
.pad_xl { padding-top: var(--pad-xl); padding-bottom: var(--pad-xl); }
.pad_xxl { padding-top: var(--pad-xxl); padding-bottom: var(--pad-xxl); }

/* buttons: .btn1/.btn2 sit on a wrapper (paragraph/div), the <a> inside is styled */
.btn1, .btn2 { display: inline-flex; flex-shrink: 0; white-space: nowrap; margin: 0; }
.btn1 a { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 600; color: #1F2A1F; background-color: #78AB77; padding: 16px 28px; border: none; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.btn1 a::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .55s ease; pointer-events: none; }
.btn1 a:hover { background-color: #8DBD8C; color: #1F2A1F; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(120,171,119,.4); }
.btn1 a:hover::after { left: 130%; }
.btn1 a:active { transform: translateY(-1px); }
.btn2 a { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 0; overflow: hidden; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 500; color: #ffffff; background-color: transparent; padding: 16px 28px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; text-decoration: none; white-space: nowrap; transition: color .3s ease, border-color .3s ease, transform .25s ease, box-shadow .25s ease; }
.btn2 a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #222222; transform: translateX(-101%); transition: transform .32s ease; }
.btn2 a::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .55s ease; pointer-events: none; }
.btn2 a:hover { border-color: #ffffff; color: #ffffff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.btn2 a:hover::before { transform: translateX(0); }
.btn2 a:hover::after { left: 130%; }
.btn2 a:active { transform: translateY(-1px); }

/* header: doubled/chained classes only to outrank Elementor container defaults */
.elementor-location-header { position: sticky; top: 0; z-index: 999; }
.header-bar { width: 100%; background: rgba(54,54,54,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-bar.header-bar { padding: 0; }
.header-bar .header-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 14px 24px; }
.header-inner .logo-wrap { flex: 0 0 auto; width: auto; padding: 0; }
.logo-wrap .logo-dot { display: block; width: 10px; height: 10px; min-width: 0; padding: 0; border-radius: 50%; background: #78AB77; flex-shrink: 0; }
.logo-text { margin: 0; }
.logo-text a { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; color: #F2F2F0; letter-spacing: -0.01em; text-decoration: none; }
.header-inner .btn1 a { font-size: 14px; padding: 11px 20px; }

/* header nav (v3 nav-menu widget) */
/* main-nav is a v3 widget _css_class, not a g-* class — needs 2-class specificity to beat .elementor-widget defaults */
.header-inner .main-nav.main-nav { display: flex; flex-direction: row; justify-content: center; align-items: center; flex: 1 1 auto; min-width: 0; width: auto; padding: 0; }
.main-nav .elementor-nav-menu--main .elementor-nav-menu { display: flex; flex-wrap: nowrap; gap: 28px; white-space: nowrap; }
.main-nav .elementor-nav-menu--main .elementor-item { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 500; color: #C5C5C5; padding: 0; }
.main-nav .elementor-nav-menu--main .elementor-item:hover, .main-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { color: #ffffff; }
.main-nav .elementor-nav-menu--main .elementor-nav-menu a.elementor-item { padding: 0; transition: padding .15s ease, margin .15s ease; }
.main-nav .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:hover, .main-nav .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:focus, .main-nav .elementor-nav-menu--main .elementor-nav-menu a.elementor-item.highlighted { padding: 13px 20px; margin: -13px 0; }
.main-nav .elementor-menu-toggle { color: #ffffff; }
.main-nav .elementor-nav-menu--dropdown { background: #363636; padding: 8px 0; }
.main-nav .elementor-nav-menu--dropdown .elementor-item { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500; color: #C5C5C5; padding: 12px 24px; }
.main-nav .elementor-nav-menu--dropdown .elementor-item:hover { color: #ffffff; background: rgba(255,255,255,.05); }

/* hero */
.herow { position: relative; overflow: hidden; background: #363636; text-align: center; scroll-margin-top: 80px; }
.herow.herow { padding: var(--pad-lg) 24px calc(var(--pad-sm) + 96px); }
.herow .hero-deco { padding: 0; position: absolute; top: -220px; right: -160px; width: 520px; height: 520px; border: 44px solid rgba(120,171,119,.08); border-radius: 50%; pointer-events: none; }
.herow .hero-eyebrow { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #78AB77; margin: 0 0 16px; }
.hero-title, .hero-title h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(36px, 5vw, 72px); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: #F2F2F0; }
.herow .hero-title { max-width: 920px; margin: 0; }
.hero-title em { color: #78AB77; font-style: normal; }
.herow .hero-intro { font-family: 'Montserrat', sans-serif; font-size: 18px; color: #C5C5C5; max-width: 620px; margin: 20px 0 0; }
.herow .hero-actions { margin: 30px 0 0; padding: 0; }
.hero-actions .btn1 a { min-width: 300px; }
.hero-actions .btn2 a { min-width: 190px; }
.herow .hero-note { font-family: 'Montserrat', sans-serif; font-size: 14px; color: #C5C5C5; margin: 22px 0 0; }
.herow .hero-badge { margin: 16px 0 0; }
.hero-badge a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: 'Montserrat', sans-serif; font-size: 14px; color: #F2F2F0; background: #2E2E2E; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 8px 18px; min-width: 350px; text-decoration: none; }
.hero-badge a strong { font-size: 16px; font-weight: 700; color: #ffffff; }
.hero-badge a i { font-style: normal; font-size: 14px; letter-spacing: 2px; color: #F5B301; }
.hero-badge a b { font-weight: 700; color: #ffffff; }

/* results + stats card */
.results { background: #F7F7F5; scroll-margin-top: 80px; }
.results.results { padding: var(--pad-lg) 24px; }
.results .stats-card { width: 100%; max-width: 1100px; margin: calc(-96px - var(--pad-lg)) auto 64px; padding: 0; background: #78AB77; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); position: relative; z-index: 1; }
.stats-card .stat-cell { flex: 1 1 0; width: auto; padding: 28px; text-align: center; }
.stats-card .stat-cell + .stat-cell { border-left: 1px solid rgba(255,255,255,.25); }
.stat-num { font-family: 'Montserrat', sans-serif; font-size: clamp(30px, 2.8vw, 40px); font-weight: 700; color: #ffffff; margin: 0; }
.stat-cap { font-family: 'Montserrat', sans-serif; font-size: 15px; color: #ffffff; max-width: 280px; margin: 6px 0 0; }
.results .results-title, .results .results-title h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(30px, 3.1vw, 44px); font-weight: 700; color: #363636; text-align: center; margin: 0; }
.results .results-intro { font-family: 'Montserrat', sans-serif; font-size: 17px; color: #555555; text-align: center; max-width: 560px; margin: 12px auto 0; }

/* row1 - results case cards */
.row1 .row1-cards { width: 100%; max-width: 1100px; margin: 48px auto 0; padding: 0; }
.row1 .row1-card { flex: 1 1 0; min-width: 0; width: auto; padding: 0; background: #ffffff; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.04); overflow: hidden; }
.row1-card .rc-media { display: block; aspect-ratio: 16/10; min-height: 0; padding: 16px; background: #F4F6F8; }
.row1-card .rc-body { width: 100%; padding: 28px; }
.rc-body .rc-num { font-family: 'Montserrat', sans-serif; font-size: clamp(34px, 3.2vw, 46px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: #5F9660; margin: 0; }
.rc-body .rc-label { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; color: #363636; margin: 0; }
.rc-body .rc-text { font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.6; color: #555555; margin: 0; }
.rc-body .rc-more { display: none; }
.row1-card.open .rc-more { display: flex; width: 100%; padding: 0; }
.rc-more p { font-family: 'Montserrat', sans-serif; font-size: 14px; line-height: 1.55; color: #555555; margin: 0; padding-left: 14px; position: relative; }
.rc-more p::before { content: "\2022"; position: absolute; left: 0; color: #5F9660; }
.rc-more .rc-note { padding-left: 0; font-style: italic; color: #777777; }
.rc-more .rc-note::before { content: none; }
.rc-body .rc-foot { width: 100%; padding: 14px 0 0; border-top: 1px solid rgba(0,0,0,.08); }
.rc-foot .rc-client { font-family: 'Montserrat', sans-serif; font-size: 13px; color: #777777; margin: 0; }
.rc-foot .rc-toggle { margin: 0; flex-shrink: 0; }
.rc-toggle a { white-space: nowrap; }
.rc-toggle a { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: #4F8550; text-decoration: none; }
.rc-toggle a:hover { text-decoration: underline; }

/* row2 - what we offer carousel */
.offer { background: #ffffff; scroll-margin-top: 80px; }
.offer.offer { padding: var(--pad-lg) 24px calc(var(--pad-lg) + 96px); }
.offer .offer-title, .offer .offer-title h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(30px, 3.1vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #363636; text-align: center; margin: 0; }
.offer .offer-intro { font-family: 'Montserrat', sans-serif; font-size: 17px; line-height: 1.55; color: #555555; text-align: center; max-width: 820px; margin: 12px auto 0; }
.offer .offer-track, .offer .offer-track.offer-track { width: 100%; max-width: 1200px; margin: 48px auto 0; padding: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.offer-track::-webkit-scrollbar { display: none; }
.offer-track .offer-card { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; padding: 32px; background: #F4F6F4; border: 1px solid rgba(0,0,0,.06); border-radius: 12px; scroll-snap-align: start; }
.offer-card .oc-tile { width: 48px; height: 48px; min-height: 0; padding: 0; background: #E4EEE4; border-radius: 12px; }
.oc-tile .oc-icon { width: 24px; height: 24px; min-width: 0; min-height: 0; padding: 0; background-color: #4F8550; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.oc-icon.i-target { -webkit-mask-image: url("icons/target.svg"); mask-image: url("icons/target.svg"); }
.oc-icon.i-video { -webkit-mask-image: url("icons/video.svg"); mask-image: url("icons/video.svg"); }
.oc-icon.i-play { -webkit-mask-image: url("icons/play.svg"); mask-image: url("icons/play.svg"); }
.oc-icon.i-page { -webkit-mask-image: url("icons/page.svg"); mask-image: url("icons/page.svg"); }
.oc-icon.i-db { -webkit-mask-image: url("icons/db.svg"); mask-image: url("icons/db.svg"); }
.oc-icon.i-chart { -webkit-mask-image: url("icons/chart.svg"); mask-image: url("icons/chart.svg"); }
.offer-card .oc-title, .offer-card .oc-title h3 { font-family: 'Montserrat', sans-serif; font-size: 21px; font-weight: 600; line-height: 1.25; color: #363636; margin: 0; }
.offer-card .oc-text { font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.6; color: #555555; margin: 0; }
.offer .offer-nav { width: 100%; max-width: 1200px; margin: 28px auto 0; padding: 0; }
.offer-nav .offer-prev, .offer-nav .offer-next { margin: 0; }
.offer-nav a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-family: 'Montserrat', sans-serif; font-size: 18px; line-height: 1; text-decoration: none; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.offer-nav .offer-prev a { color: #363636; background: transparent; border: 1px solid rgba(0,0,0,.25); }
.offer-nav .offer-next a { color: #ffffff; background: #78AB77; border: 1px solid #78AB77; }
.offer-nav .offer-prev a:hover { border-color: #363636; transform: translateY(-2px); }
.offer-nav .offer-next a:hover { background: #6A9C69; border-color: #6A9C69; transform: translateY(-2px); }

/* row3 - green band + our work */
.cta-band .btn2 a { color: #ffffff; background: #363636; border-color: #363636; }
.cta-band .btn2 a::before { background: #222222; }
.cta-band .btn2 a:hover { color: #ffffff; border-color: #363636; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.work { background: #363636; scroll-margin-top: 80px; }
.work.work { padding: var(--pad-lg) 24px; }
.work .cta-band, .work .cta-band.cta-band { width: 100%; max-width: 1100px; margin: calc(-96px - var(--pad-lg)) auto 64px; padding: 40px; background: #78AB77; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.25); position: relative; z-index: 1; }
.cta-band .band-text { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 500; line-height: 1.6; color: #1F2A1F; max-width: 760px; margin: 0; }
.work .work-title, .work .work-title h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(30px, 3.1vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #F2F2F0; text-align: center; margin: 0; }
.work-title em { color: #78AB77; font-style: normal; }
.work .work-intro { font-family: 'Montserrat', sans-serif; font-size: 17px; line-height: 1.55; color: #C5C5C5; text-align: center; margin: 12px auto 0; }
.work .work-clips { width: 100%; max-width: 1200px; margin: 40px auto 0; padding: 0; }
.work-clips .work-clip { flex: 1 1 0; min-width: 0; width: auto; padding: 0; }
.work-clip .wc-tile { aspect-ratio: 9/16; min-width: 0; min-height: 0; padding: 0; background: linear-gradient(160deg, #3D3D3D 0%, #2E2E2E 100%); border-radius: 12px; overflow: hidden; }
.wc-tile .wc-play { width: 56px; height: 56px; min-width: 0; min-height: 0; padding: 0; background: #78AB77; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.wc-play::after { content: ""; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #1F2A1F; margin-left: 3px; }
.work-clip .wc-cap { font-family: 'Montserrat', sans-serif; font-size: 14px; line-height: 1.5; color: #C5C5C5; margin: 0; }
.work .work-logos { width: 100%; max-width: 1200px; margin: 48px auto 0; padding: 0; }
.work-logos .work-logo { flex: 1 1 0; min-width: 0; width: auto; height: 96px; padding: 8px 16px; background: #ffffff; border-radius: 8px; }
.work-logo .wl-name { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; line-height: 1.35; color: #555555; text-align: center; margin: 0; }

/* row4 - how it works */
.process { background: #F4F6F4; scroll-margin-top: 80px; }
.process.process { padding: var(--pad-lg) 24px; }
.process .process-inner, .process .process-inner.process-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0; }
.process-inner .process-left, .process-inner .process-left.process-left { flex: 0 0 40%; width: auto; padding: 0; position: sticky; top: 104px; }
.process-left .p-title, .process-left .p-title h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(30px, 3.1vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #363636; margin: 0; }
.process-left .p-intro { font-family: 'Montserrat', sans-serif; font-size: 17px; line-height: 1.55; color: #555555; margin: 16px 0 0; }
.process-left .btn1 { margin: 28px 0 0; }
.process-inner .process-steps, .process-inner .process-steps.process-steps { flex: 1 1 0; min-width: 0; width: auto; padding: 0; position: relative; }
.process-steps .p-card + .p-card::before { content: ""; position: absolute; top: -28px; left: 64px; width: 0; right: auto; height: 28px; border-left: 2px dashed #A9C7A8; }
.process-steps .p-card, .process-steps .p-card.p-card { width: 100%; padding: 32px 36px; background: #ffffff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.06); position: relative; z-index: 1; }
.p-card .p-num { flex: 0 0 56px; width: 56px; height: 56px; min-width: 0; min-height: 0; padding: 0; font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; color: #ffffff; background: #78AB77; border-radius: 50%; margin: 0; }
.p-card .p-body { flex: 1 1 0; min-width: 0; width: auto; padding: 0; }
.p-body .p-name, .p-body .p-name h3 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 600; line-height: 1.25; color: #363636; margin: 0; }
.p-body .p-text { font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.6; color: #555555; margin: 10px 0 0; }
.p-body .p-pill { display: inline-flex; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; line-height: 1.4; color: #3F6D40; background: #E4EEE4; border-radius: 999px; padding: 7px 14px; margin: 14px 0 0; }

/* row5 - about */
.about { background: #2E2E2E; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); scroll-margin-top: 80px; }
.about.about { padding: var(--pad-lg) 24px; }
.about .about-inner, .about .about-inner.about-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0; }
.about-inner .about-photo, .about-inner .about-photo.about-photo { flex: 0 0 auto; width: 100%; max-width: 480px; aspect-ratio: 4/5; padding: 0; background: linear-gradient(160deg, #3A3A3A 0%, #2C2C2C 100%); border-radius: 12px; overflow: hidden; }
.about-photo::after { content: "Joe's photo"; font-family: 'Montserrat', sans-serif; font-size: 14px; color: #555555; }
.about-inner .about-body, .about-inner .about-body.about-body { flex: 1 1 0; min-width: 0; width: auto; padding: 0; }
.about-body .a-title, .about-body .a-title h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(30px, 3.1vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #F2F2F0; margin: 0; }
.a-title em { color: #78AB77; font-style: normal; }
.about-body .a-text { font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.65; color: #C5C5C5; margin: 0; }
.about-body .a-sign { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.6; color: #F2F2F0; margin: 0; }
.a-sign em { color: #78AB77; font-style: normal; }

/* row6 - faqs */
.faqs { background: #ffffff; scroll-margin-top: 80px; }
.faqs.faqs { padding: var(--pad-lg) 24px; }
.faqs .faqs-title, .faqs .faqs-title h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(30px, 3.1vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #363636; text-align: center; margin: 0; }
.faqs .faqs-list, .faqs .faqs-list.faqs-list { width: 100%; max-width: 820px; margin: 48px auto 0; padding: 0; }
.faqs-list .faqs-item { border-top: 1px solid rgba(0,0,0,.12); }
.faqs-list .faqs-item:last-of-type { border-bottom: 1px solid rgba(0,0,0,.12); }
.faqs-item .faqs-q, .faqs-item .faqs-q.faqs-q { width: 100%; padding: 22px 40px 22px 0; cursor: pointer; list-style: none; position: relative; }
.faqs-q::-webkit-details-marker { display: none; }
/* summary::before does not paint in Blink; vertical bar lives on the question span instead */
.faqs-item .faqs-q::after, .faqs-item .faqs-qt::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: #78AB77; border-radius: 2px; transition: transform .25s ease; }
.faqs-item .faqs-qt::after { transform: rotate(90deg); }
.faqs-item[open] .faqs-qt::after { transform: rotate(180deg); }
.faqs-q .e-accordion-item-title-base { position: static !important; }
.faqs-q .faqs-qt { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 600; line-height: 1.5; color: #363636; margin: 0; padding: 0; }
.faqs-item .faqs-a, .faqs-item .faqs-a.faqs-a { padding: 0 40px 22px 0; }
.faqs-a .faqs-at { font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.6; color: #555555; margin: 0; }
.faqs-item { interpolate-size: allow-keywords; }
.faqs-item::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s ease allow-discrete; }
.faqs-item[open]::details-content { height: auto; }

/* footer (theme builder template 148) - layout lives on the global classes */
.footer { background: #2A2A2A; border-top: 1px solid rgba(255,255,255,.08); }
.footer.footer { padding: 64px 32px 32px; }
.footer .footer-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0; }
.footer-inner .f-brand, .footer-inner .f-col { flex: 1 1 0; min-width: 0; width: auto; padding: 0; }
.f-brand .logo-text a { font-size: 26px; color: #F2F2F0; }
.f-brand .f-info { font-family: 'Montserrat', sans-serif; font-size: 14px; line-height: 1.7; color: #C5C5C5; margin: 0; padding: 0; }
.f-brand .f-contact { margin: 0; padding: 0; }
.footer .f-contact a { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; color: #F2F2F0; text-decoration: none; transition: color .2s ease; }
.footer .f-contact a:hover { color: #78AB77; }
.f-col .f-head { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #78AB77; margin: 0 0 6px; padding: 0; }
.f-col .f-link { margin: 0; padding: 0; }
.footer .f-link a { font-family: 'Montserrat', sans-serif; font-size: 14px; line-height: 1.5; color: #C5C5C5; text-decoration: none; transition: color .2s ease; }
.footer .f-link a:hover { color: #ffffff; }
.footer .footer-bottom { width: 100%; max-width: 1200px; margin: 48px auto 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .f-note { font-family: 'Montserrat', sans-serif; font-size: 13px; line-height: 1.5; color: #C5C5C5; margin: 0; padding: 0; }

/* ===== Final CTA #book ===== */
.book.book { background: #363636; border-top: 1px solid rgba(255,255,255,.08); padding: 104px 32px; }
.book-inner.book-inner { max-width: 1200px; margin: 0 auto; }
.book-inner .book-left, .book-inner .book-left.book-left { flex: 1 1 0; min-width: 0; }
.book-inner .quiz-card, .book-inner .quiz-card.quiz-card { flex: 1 1 0; min-width: 0; background: #fff; border-radius: 16px; padding: 36px 32px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.book-title.book-title { font-family: 'Montserrat', sans-serif; font-size: 52px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: #F2F2F0; margin: 0; }
.book-title em { color: #78AB77; font-style: normal; }
.book-intro.book-intro { font-family: 'Montserrat', sans-serif; font-size: 18px; line-height: 1.6; color: #C5C5C5; margin: 0; }
.book-ticks.book-ticks { padding-left: 0; padding-right: 0; }
.book-tick.book-tick { position: relative; font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.55; color: #F2F2F0; margin: 0; padding-left: 30px; }
.book-tick::before { content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: #78AB77; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.4'/%3E%3Cpath d='M7.2 12.4l3.1 3.1 6.3-7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.4'/%3E%3Cpath d='M7.2 12.4l3.1 3.1 6.3-7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.book-contact.book-contact { font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.6; color: #C5C5C5; margin: 0; }
.book-contact a { color: #78AB77; font-weight: 600; text-decoration: none; }
.book-contact a:hover { color: #6A9C69; text-decoration: underline; }

/* quiz card internals (Fluent Forms) */
.quiz-card .qs-head { margin-bottom: 14px; }
.quiz-card .qs-count, .quiz-card .qs-time { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #555; margin: 0; }
.quiz-card .fluentform { font-family: 'Montserrat', sans-serif; }
.quiz-card .ff_screen_reader_title, .quiz-card .ff-el-progress-title, .quiz-card .ff-el-progress-status { display: none !important; }
.quiz-card .ff-el-progress { height: 5px; background: #E6E6E2; border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.quiz-card .ff-el-progress-bar { background: #78AB77; border-radius: 3px; height: 100%; transition: width .3s ease; }
.quiz-card .ff-el-progress-bar span { display: none; }
.quiz-card .qs-title { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 600; line-height: 1.3; color: #363636; margin: 0 0 6px; }
.quiz-card .qs-help { font-family: 'Montserrat', sans-serif; font-size: 15px; color: #5F9660; margin: 0 0 20px; }
.quiz-card .fluentform-step { display: flex !important; flex-direction: column; }
.quiz-card .fluentform-step[style*='none'] { display: none !important; }
.quiz-card .ff-el-group { margin-bottom: 14px; }
.quiz-card .ff-opts .ff-el-input--content { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-card .ff-el-form-check { margin: 0; }
.quiz-card .ff-el-form-check-label { position: relative; display: flex; align-items: center; width: 100%; height: 100%; padding: 16px 18px; border: 1px solid rgba(0,0,0,.18); border-radius: 8px; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500; line-height: 1.4; color: #363636; cursor: pointer; transition: border-color .15s ease, background .15s ease; box-sizing: border-box; }
.quiz-card .ff-el-form-check-label:hover { border-color: #78AB77; }
.quiz-card .ff-el-form-check-label:has(input:checked) { border-color: #78AB77; background: #E4EEE4; }
.quiz-card .ff-el-form-check-input { position: absolute; opacity: 0; width: 0; height: 0; }
.quiz-card .ff-el-form-check-label span { flex: 1 1 auto; }
.quiz-card .ff-el-input--label { margin-bottom: 6px; }
.quiz-card .ff-el-input--label label { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500; color: #363636; }
.quiz-card .ff-el-form-control { padding: 14px 16px; border: 1px solid rgba(0,0,0,.18); border-radius: 8px; font-family: 'Montserrat', sans-serif; font-size: 15px; color: #363636; background: #fff; }
.quiz-card .ff-el-form-control:focus { border-color: #78AB77; outline: none; box-shadow: 0 0 0 3px rgba(120,171,119,.18); }
.quiz-card .ff-t-container { margin-bottom: 14px; gap: 10px; }
.quiz-card .step-nav { display: flex; justify-content: space-between; align-items: center; order: 5; margin-top: 8px; }
.quiz-card .step-nav .ff-btn { float: none; }
.quiz-card .ff-btn.ff-btn-next, .quiz-card .ff-btn-submit, .quiz-card button[type='submit'], .quiz-card .ff-btn-submit.ff-btn-submit { background-color: #78AB77 !important; color: #fff; border: none; border-radius: 999px; padding: 14px 30px; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .15s ease; }
.quiz-card .ff-btn.ff-btn-next:hover, .quiz-card .ff-btn-submit:hover, .quiz-card button[type='submit']:hover { background-color: #6A9C69 !important; }
.quiz-card .ff-btn.ff-btn-prev { background: transparent; border: none; color: #555; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500; padding: 8px 4px; cursor: pointer; box-shadow: none; }
.quiz-card .ff-btn.ff-btn-prev:hover { color: #363636; background: transparent; }
.quiz-card .ff-btn.ff-btn-prev:empty { display: none; }
.quiz-card .fluentform-step > .ff-el-group:has(> .qs-note) { order: 10; }
.quiz-card .ff-el-group:focus, .quiz-card .ff-el-group:focus-visible { outline: none; }
.quiz-card .ff-el-group.ff-custom_html { border: none; padding: 0; }
.quiz-card .qs-note { font-family: 'Montserrat', sans-serif; font-size: 13px; line-height: 1.5; color: #5F9660; margin: 10px 0 0; }

#results, #offer, #work, #process, #about, #faqs, #book { scroll-margin-top: 80px; }

/* entrance animations: elements with Elementor "in" interactions start hidden; the interactions runtime (motion.js) animates opacity/transform inline. Failsafe in js/custom.js reveals them if the runtime never initializes */
body:not(.elementor-editor-active):not(.elementor-edit-mode) :is(.header-bar, .hero-deco, .hero-eyebrow, .hero-title, .hero-intro, .hero-actions, .hero-note, .hero-badge, .stats-card, .results-title, .results-intro, .row1-card, .offer-title, .offer-intro, .offer-card, .offer-nav, .cta-band, .work-title, .work-intro, .work-clip, .work-logo, .process-left, .p-card, .about-photo, .about-body, .faqs-title, .faqs-list) { opacity: 0; }

/* tablet */
@media (max-width: 1024px) {
.work .work-clips, .work .work-logos { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.work-clips::-webkit-scrollbar, .work-logos::-webkit-scrollbar { display: none; }
.work-clips .work-clip { flex: 0 0 44%; scroll-snap-align: start; }
.footer-inner .f-brand, .footer-inner .f-col { flex: 0 0 calc(50% - 20px); }
.work-logos .work-logo { flex: 0 0 30%; scroll-snap-align: start; }

.process-inner .process-left, .process-inner .process-left.process-left { flex: 0 0 auto; width: 100%; position: static; }

.about-inner .about-photo { align-self: center; }

.book-inner .quiz-card, .book-inner .quiz-card.quiz-card { max-width: 600px; margin: 0 auto; width: 100%; }
.book-inner .book-left, .book-inner .book-left.book-left { width: 100%; }
}

/* mobile */
@media (max-width: 767px) {
.header-bar .header-inner { padding: 12px 20px; }
.header-inner .btn1 a { font-size: 13px; padding: 9px 16px; }
.herow.herow, .results.results, .offer.offer, .work.work, .process.process, .about.about, .faqs.faqs { padding-left: 20px; padding-right: 20px; }
.herow .hero-actions { width: 100%; }
.hero-actions .btn1, .hero-actions .btn2 { width: 100%; }
.hero-actions .btn1 a, .hero-actions .btn2 a { width: 100%; min-width: 0; }
.hero-badge a { min-width: 0; }
.results .stats-card { margin-bottom: 48px; }
.row1 .row1-card { flex: 0 0 auto; }
.stats-card .stat-cell + .stat-cell { border-left: none; border-top: 1px solid rgba(255,255,255,.25); }

.offer-track .offer-card { flex: 0 0 86%; width: 86%; padding: 28px; }
.offer .offer-nav { margin-top: 22px; }

.work-clips .work-clip { flex: 0 0 68%; }
.work-logos .work-logo { flex: 0 0 42%; }
.work .cta-band, .work .cta-band.cta-band { padding: 32px; margin-bottom: 56px; }
.cta-band .band-text { font-size: 16px; }
.cta-band .band-btn, .cta-band .band-btn.band-btn { min-width: 0; flex-shrink: 1; white-space: normal; }
.cta-band .band-btn a { min-width: 0; white-space: normal; text-align: center; }

.process-steps .p-card, .process-steps .p-card.p-card { padding: 24px; }
.footer-inner .f-brand, .footer-inner .f-col { flex: 0 0 auto; }
.footer.footer { padding-left: 20px; padding-right: 20px; }
.process-steps .p-card + .p-card::before { left: 52px; }
}

/* animation fallback: never leave content hidden when scripting is off or reduced motion is preferred */
@media (prefers-reduced-motion: reduce), (scripting: none) {
	.header-bar, .hero-deco, .hero-eyebrow, .hero-title, .hero-intro, .hero-actions, .hero-note, .hero-badge, .stats-card, .results-title, .results-intro, .row1-card, .offer-title, .offer-intro, .offer-card, .offer-nav, .cta-band, .work-title, .work-intro, .work-clip, .work-logo, .process-left, .p-card, .about-photo, .about-body, .faqs-title, .faqs-list { opacity: 1 !important; transform: none !important; scale: 1 !important; }
	.faqs-item::details-content { transition: none; }
}
