/* ==========================================================================
   EveryCode — additions on top of the original theme stylesheet (style.css).
   Palette kept from the theme: #3E4753 dark, #585F69 slate, #84C86A green,
   #6DAD54 green-dark, #F3F5F7 light grey, #f1c40f yellow, #7f8c8d asbestos.
   ========================================================================== */
:root {
  --ec-dark: #3E4753; --ec-slate: #585F69; --ec-green: #84C86A; --ec-green-d: #6DAD54;
  --ec-grey: #F3F5F7; --ec-yellow: #f1c40f; --ec-text: #474e57; --ec-red: #E63F3F;
  --ec-radius: 4px; --ec-shadow: 0 10px 30px rgba(62, 71, 83, .12);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { line-height: 1.6; }
img { max-width: 100%; height: auto; }
#page { display: flow-root; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10000; background: #fff; padding: 10px 16px; clip: auto; width: auto; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(132, 200, 106, .6); outline-offset: 2px; }

/* ---------- Sticky header ---------- */
#masthead { position: sticky; top: 0; z-index: 1000; float: none; transition: box-shadow .3s, height .3s, background .3s; }
#masthead.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .12); background: rgba(255, 255, 255, .97); }
@supports (backdrop-filter: blur(6px)) { #masthead.is-scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); } }
#masthead .site-branding .logo > img { transition: height .3s; }
#masthead .menu-item.current-menu-item > a, #masthead .menu-item.current-menu-ancestor > a { color: var(--ec-green) !important; }
#masthead .menu-item.cta-menu-item.current-menu-item > a { color: #fff !important; }
#masthead #site-navigation .desktop-navigation .menu > .menu-item:not(.cta-menu-item) > a { position: relative; padding-left: 14px; padding-right: 14px; }
#masthead #site-navigation .desktop-navigation .menu > .menu-item:not(.cta-menu-item) > a:after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 26px; height: 2px; background: var(--ec-green);
  transform: scaleX(0); transform-origin: left; transition: transform .3s; }
#masthead #site-navigation .desktop-navigation .menu > .menu-item:not(.cta-menu-item) > a:hover:after,
#masthead #site-navigation .desktop-navigation .menu > .menu-item.current-menu-item > a:after { transform: scaleX(1); }
@media (min-width: 992px) and (max-width: 1199px) {
  #masthead #site-navigation .desktop-navigation .menu > .menu-item > a { font-size: 14px; padding-left: 9px !important; padding-right: 9px !important; }
}
.nav-icon { background: none; border: 0; padding: 0; }
@media only screen and (max-width: 991px) {
  #masthead .mobile-navigation { display: block; max-height: 0; height: auto; transition: max-height .35s ease; }
  #masthead .mobile-navigation.open { max-height: 80vh; overflow-y: auto; }
  #masthead .nav-dark-overlay { position: fixed; top: 80px; display: block; pointer-events: none; transition: opacity .3s; }
  #masthead .nav-dark-overlay.show { opacity: .55; pointer-events: auto; }
}

/* ---------- Generic helpers ---------- */
.ec-section-title { font-family: museo-sans-rounded; font-weight: 900; text-align: center; margin: 30px 0 10px; }
.ec-lead { text-align: center; font-size: 18px; color: #6b7480; max-width: 760px; margin: 0 auto 35px; }
.dark-section .ec-lead, .asbestos-section .ec-lead { color: rgba(255, 255, 255, .85); }
.ec-eyebrow { display: inline-block; font-family: museo-sans-rounded; font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ec-green); margin-bottom: 6px; }
.vertical-padding-60 { padding: 60px 0; }
.ec-btn-outline { display: inline-block; padding: 0 25px; line-height: 38px; border: 2px solid var(--ec-green); color: var(--ec-green); border-radius: 3px; font-family: museo-sans-rounded; font-weight: 900; text-transform: uppercase; text-decoration: none; transition: all .3s; }
.ec-btn-outline:hover, .ec-btn-outline:focus { background: var(--ec-green); color: #fff; text-decoration: none; }
.dark-section .ec-btn-outline { color: #fff; }
.cta-button.no-margin { margin: 0; }
.text-muted-ec { color: #8a939c; }
.row-flex { display: flex; flex-wrap: wrap; }
.row-flex > [class*='col-'] { display: flex; flex-direction: column; }
.row-flex:before, .row-flex:after { display: none; }

/* ---------- Hero tweaks ---------- */
.hero-image-wrapper .hero-content { z-index: 2; }
.hero-heading .hero-typed { color: var(--ec-yellow); }
.hero-heading .typed-cursor { color: var(--ec-yellow); }
.some-of-the-tasks .task-line { transition: background .3s, padding .3s; }
.some-of-the-tasks .task-line:not(:first-of-type):hover { background: rgba(255, 255, 255, .06); padding-left: 6px; }
.some-of-the-tasks .task-line:first-of-type { color: #aab2bb; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.hero-scroll { position: absolute; bottom: 18px; left: 50%; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; }
.hero-scroll:before { content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: ec-scroll 1.6s infinite; }
@keyframes ec-scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
.archive-hero.page-hero { height: 300px; background-size: cover !important; background-position: center !important; }
.page-hero .page-hero-inner { padding-top: 70px; }
.page-hero .page-hero-title { font-family: museo-sans-rounded; font-weight: 900; font-size: 40px; text-transform: uppercase; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); margin: 0 0 10px; color: #fff; }
.page-hero .page-hero-sub { font-size: 19px; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); max-width: 760px; }
@media (max-width: 767px) { .page-hero .page-hero-title { font-size: 28px; } .page-hero .page-hero-inner { padding-top: 50px; } .archive-hero.page-hero { height: 260px; } }
.search-field.compact { padding: 0; margin-top: 20px; max-width: 620px; }
.breadcrumbs-wrapper { background: #fff; }
.breadcrumbs-wrapper .h1 { margin-top: 10px; font-size: 24px; padding: 9px 0; text-transform: uppercase; font-family: museo-sans-rounded; font-weight: 900; color: var(--ec-dark); }
#breadcrumbs a { text-decoration: none; }
@media only screen and (max-width: 992px) { #breadcrumbs { text-align: left; margin: 0 0 10px; } }

/* ---------- Stats / counters ---------- */
.ec-stats { background: var(--ec-dark); color: #fff; padding: 45px 0 35px; }
.ec-stat { text-align: center; margin-bottom: 15px; }
.ec-stat .num { display: block; font-family: museo-sans-rounded; font-weight: 900; font-size: 48px; line-height: 1.1; color: var(--ec-green); }
.ec-stat .lbl { display: block; font-size: 15px; color: rgba(255, 255, 255, .8); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Feature / service cards ---------- */
.ec-card { position: relative; background: #fff; border-radius: var(--ec-radius); box-shadow: 0 2px 6px rgba(62, 71, 83, .08); padding: 28px 26px; margin-bottom: 30px; width: 100%; flex: 1; transition: transform .3s, box-shadow .3s; border-top: 3px solid transparent; }
.ec-card:hover { transform: translateY(-6px); box-shadow: var(--ec-shadow); border-top-color: var(--ec-green); }
.ec-card .ec-card-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(132, 200, 106, .14); color: var(--ec-green-d); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; transition: background .3s, color .3s; }
.ec-card:hover .ec-card-icon { background: var(--ec-green); color: #fff; }
.ec-card h3 { font-family: museo-sans-rounded; font-weight: 900; font-size: 21px; margin: 0 0 12px; }
.ec-card h3 a { color: var(--ec-dark); text-decoration: none; }
.ec-card p { margin-bottom: 14px; }
.ec-card .ec-card-link { font-family: museo-sans-rounded; font-weight: 900; text-transform: uppercase; font-size: 14px; text-decoration: none; }
.ec-card .ec-card-link i { transition: transform .3s; }
.ec-card:hover .ec-card-link i { transform: translateX(5px); }
.ec-card .ec-card-img { margin: -28px -26px 20px; border-radius: var(--ec-radius) var(--ec-radius) 0 0; overflow: hidden; }
.ec-card .ec-card-img img { width: 100%; height: 190px; object-fit: cover; transition: transform .6s; }
.ec-card:hover .ec-card-img img { transform: scale(1.05); }
.grey-section .ec-card { box-shadow: 0 2px 8px rgba(62, 71, 83, .07); }
.ec-check-list { list-style: none; padding: 0; margin: 0 0 15px; display: block; }
.ec-check-list li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.ec-check-list li:before { content: '\f00c'; font-family: 'FontAwesome'; position: absolute; left: 0; top: 1px; color: var(--ec-green); }
.service-section .services-panel.with-photo { padding-top: 40px; }
.service-section .services-panel.with-photo img { border-radius: 6px; box-shadow: var(--ec-shadow); width: 100%; max-height: none; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- Process timeline ---------- */
.ec-process { counter-reset: step; position: relative; }
.ec-step { position: relative; padding: 0 10px 30px 70px; }
.ec-step:before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--ec-green); color: #fff; font-family: museo-sans-rounded; font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(132, 200, 106, .2); }
.ec-step:after { content: ''; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px; background: rgba(132, 200, 106, .35); }
.ec-step:last-child:after { display: none; }
.ec-step h3 { margin-top: 8px; font-size: 20px; font-weight: 900; }

/* ---------- Accordion (FAQ) ---------- */
.ec-accordion { margin-bottom: 30px; }
.ec-accordion details { background: #fff; border: 1px solid #e6e9ed; border-radius: var(--ec-radius); margin-bottom: 10px; transition: box-shadow .3s; }
.ec-accordion details[open] { box-shadow: var(--ec-shadow); border-color: transparent; }
.ec-accordion summary { cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; position: relative; font-family: museo-sans-rounded; font-weight: 700; font-size: 18px; color: var(--ec-dark); }
.ec-accordion summary::-webkit-details-marker { display: none; }
.ec-accordion summary:after { content: '\f067'; font-family: 'FontAwesome'; position: absolute; right: 20px; top: 50%; margin-top: -11px; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: rgba(132, 200, 106, .15); color: var(--ec-green-d); font-size: 12px; transition: transform .3s, background .3s; }
.ec-accordion details[open] summary:after { transform: rotate(45deg); background: var(--ec-green); color: #fff; }
.ec-accordion .ec-acc-body { padding: 0 20px 18px; }
.ec-accordion .ec-acc-body p:last-child { margin-bottom: 0; }
.ec-faq-filter { text-align: center; margin-bottom: 25px; }

/* ---------- Pills / filters ---------- */
.ec-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.ec-pills button { border: 1px solid #d9dde2; background: #fff; color: var(--ec-dark); padding: 6px 16px; border-radius: 20px; font-family: museo-sans-rounded; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s; }
.ec-pills button:hover { border-color: var(--ec-green); color: var(--ec-green-d); }
.ec-pills button.active { background: var(--ec-green); border-color: var(--ec-green); color: #fff; }
.is-hidden { display: none !important; }

/* ---------- Pricing ---------- */
.ec-price-card { position: relative; background: #fff; border-radius: 6px; padding: 32px 28px 28px; margin-bottom: 30px; width: 100%; flex: 1; box-shadow: 0 2px 8px rgba(62, 71, 83, .08); border: 1px solid #edf0f2; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.ec-price-card:hover { transform: translateY(-6px); box-shadow: var(--ec-shadow); }
.ec-price-card.featured { border: 2px solid var(--ec-green); }
.ec-price-card .ec-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ec-green); color: #fff; font-family: museo-sans-rounded; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 4px 14px; border-radius: 14px; white-space: nowrap; }
.ec-price-card h3 { font-weight: 900; font-size: 22px; margin: 0 0 8px; }
.ec-price-card .ec-price { font-family: museo-sans-rounded; font-weight: 900; font-size: 38px; color: var(--ec-dark); line-height: 1.1; margin: 10px 0 2px; }
.ec-price-card .ec-price small { font-size: 15px; color: #8a939c; font-weight: 700; }
.ec-price-card .ec-price-note { color: #8a939c; font-size: 14px; margin-bottom: 18px; }
.ec-price-card .ec-check-list { flex: 1; }
.ec-price-card .cta-button { margin: 10px 0 0; text-align: center; }

/* ---------- Estimator ---------- */
.ec-estimator { background: #fff; border-radius: 6px; box-shadow: var(--ec-shadow); padding: 30px; }
.ec-estimator label { font-family: museo-sans-rounded; font-weight: 700; color: var(--ec-dark); display: block; margin-bottom: 8px; }
.ec-estimator select, .ec-estimator input[type=range] { width: 100%; }
.ec-estimator select { height: 42px; border: 1px solid #ccc; border-radius: 3px; padding: 0 10px; background: #fff; }
.ec-estimator .ec-field { margin-bottom: 22px; }
.ec-estimator .ec-checks label { font-family: inherit; font-weight: 400; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; cursor: pointer; }
.ec-estimator input[type=range] { accent-color: var(--ec-green); }
.ec-estimate-result { background: var(--ec-dark); color: #fff; border-radius: 6px; padding: 28px; text-align: center; position: sticky; top: 100px; }
.ec-estimate-result .ec-range { font-family: museo-sans-rounded; font-weight: 900; font-size: 36px; color: var(--ec-green); margin: 8px 0; transition: transform .25s; }
.ec-estimate-result .ec-range.bump { transform: scale(1.06); }
.ec-estimate-result .ec-weeks { font-size: 17px; margin-bottom: 18px; }
.ec-estimate-result .cta-button { margin: 10px 0 0; }

/* ---------- Article ---------- */
.blog-post .article-content h2 { font-weight: 900; font-size: 27px; margin: 38px 0 14px; scroll-margin-top: 100px; }
.blog-post .article-content h3 { font-weight: 700; font-size: 21px; margin: 26px 0 10px; scroll-margin-top: 100px; }
.blog-post .article-content p, .blog-post .article-content li { line-height: 1.7; }
.blog-post .article-content blockquote { border-left: 4px solid var(--ec-green); background: #fff; padding: 16px 22px; font-size: 18px; font-style: italic; color: #555; margin: 24px 0; }
.blog-post .article-content blockquote p { margin: 0; }
.blog-post .article-content pre { background: #2b313a; color: #e6e6e6; border: 0; border-radius: 4px; padding: 18px; font-size: 14px; line-height: 1.55; overflow-x: auto; margin: 18px 0 22px; }
.blog-post .article-content pre code { background: none; color: inherit; padding: 0; font-size: 14px; white-space: pre; }
.blog-post .article-content code { background: #e9edf1; color: #c0392b; padding: 1px 5px; border-radius: 3px; font-size: 90%; }
.ec-table-wrap { width: 100%; overflow-x: auto; margin: 18px 0 26px; -webkit-overflow-scrolling: touch; }
.ec-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; min-width: 520px; }
.ec-table th { background: var(--ec-dark); color: #fff; font-family: museo-sans-rounded; font-weight: 700; padding: 11px 14px; text-align: left; }
.ec-table td { padding: 10px 14px; border-bottom: 1px solid #e7eaee; vertical-align: top; }
.ec-table tbody tr:nth-child(even) td { background: #f8f9fa; }
.ec-table tbody tr:hover td { background: #eef7ea; }
.ec-takeaways { background: #fff; border: 1px solid #e3e7eb; border-left: 5px solid var(--ec-green); border-radius: 4px; padding: 18px 24px 8px; margin: 10px 0 26px; }
.ec-takeaways h4 { margin: 0 0 10px; font-weight: 900; font-size: 18px; }
.ec-callout { background: #fff9e0; border: 1px solid #f6e3a1; border-radius: 4px; padding: 16px 20px; margin: 20px 0; font-size: 17px; }
.ec-callout strong { color: #9a7600; }
.ec-featured { margin: 0 0 22px; border-radius: 6px; overflow: hidden; box-shadow: var(--ec-shadow); }
.ec-featured img { width: 100%; height: auto; max-height: 440px; object-fit: cover; display: block; }
.ec-featured figcaption { font-size: 13px; color: #8a939c; padding: 6px 10px; background: #fff; }
.ec-toc { background: #fff; border: 1px solid #e3e7eb; border-radius: 4px; padding: 16px 22px; margin-bottom: 26px; }
.ec-toc summary { cursor: pointer; font-family: museo-sans-rounded; font-weight: 900; color: var(--ec-dark); font-size: 18px; }
.ec-toc ol { margin: 12px 0 4px; padding-left: 22px; display: block; }
.ec-toc li { margin-bottom: 5px !important; }
.ec-toc a { color: var(--ec-text); font-size: 16px !important; text-decoration: none; }
.ec-toc a:hover, .ec-toc a.active { color: var(--ec-green-d); }
.blog-post .article-meta .reading { display: block; float: left; margin-right: 10px; font-weight: 500; color: #969696; font-size: 15px; line-height: 23px; }
.blog-post .article-meta .tags { padding-top: 6px; }
.ec-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 10px; }
.ec-share span { font-family: museo-sans-rounded; font-weight: 900; margin-right: 4px; }
.ec-share a, .ec-share button { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ec-slate); color: #fff; border: 0; font-size: 16px; text-decoration: none; transition: background .25s, transform .25s; cursor: pointer; }
.ec-share a:hover, .ec-share button:hover { background: var(--ec-green); transform: translateY(-3px); color: #fff; }
.ec-author-box { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid #e3e7eb; border-radius: 6px; padding: 20px; margin: 26px 0; }
.ec-author-box img { width: 70px; height: 70px; flex: 0 0 70px; }
.ec-author-box h4 { margin: 0 0 4px; font-weight: 900; }
.ec-author-box p { margin: 0; font-size: 15px !important; }
.ec-related h3 { font-weight: 900; margin-bottom: 20px; }
.ec-post-cta { background: var(--ec-dark); color: #fff; border-radius: 6px; padding: 28px; margin: 30px 0 10px; text-align: center; }
.ec-post-cta h3 { color: #fff; font-weight: 900; margin-top: 0; }
.ec-post-cta .cta-button { margin: 12px 0 0; }
#ec-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--ec-green), var(--ec-yellow)); z-index: 2000; transition: width .1s linear; }
.sidebar .widget .widget-title { font-size: 22px; }
.sidebar .sticky-box { position: sticky; top: 100px; }
.sidebar .ec-sidebar-cta { background: var(--ec-dark); color: #fff; border-radius: 6px; padding: 22px; text-align: center; }
.sidebar .ec-sidebar-cta h4 { color: #fff; font-weight: 900; margin-top: 0; }
.sidebar .ec-sidebar-cta .cta-button { margin: 10px 0 0; }
.sidebar .widget_categories li { padding: 6px 0; border-bottom: 1px dashed #dde1e5; }
.sidebar .widget_categories li a { color: var(--ec-dark); text-decoration: none; }
.sidebar .widget_categories li a:hover { color: var(--ec-green); }
.post-snippet { transition: transform .3s; }
.post-snippet .featured-image { overflow: hidden; border-radius: 4px; }
.post-snippet .featured-image img { transition: transform .6s; }
.post-snippet:hover .featured-image img { transform: scale(1.05); }
.post-snippet .snippet-content .cat { display: inline-block; color: var(--ec-green-d); font-family: museo-sans-rounded; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Policy pages ---------- */
.policy-content h2 { font-size: 25px !important; }
.policy-updated { color: #8a939c; font-size: 15px !important; }

/* ---------- Forms (shared with the planner's original gform styles) ---------- */
.gform_wrapper ul.gform_fields { list-style: none; margin: 0; padding: 0; display: block; }
.gform_wrapper .gfield { margin-bottom: 16px; }
.gform_wrapper .gfield_label { font-family: museo-sans-rounded; font-weight: 700; color: var(--ec-dark); margin-bottom: 6px; display: block; }
.gform_wrapper .gfield_required { color: var(--ec-red); margin-left: 3px; }
.gform_wrapper .gsection { padding-top: 10px; }
.gform_wrapper .gsection_title { font-weight: 900; margin: 6px 0 4px; font-size: 22px; }
.gform_wrapper .gsection_description { color: #7a838d; margin-bottom: 14px; }
.gform_wrapper select { width: 95%; border: 1px solid #ccc; border-radius: 3px; min-height: 35px; padding: 3px 10px; background: #fff; }
.gform_wrapper .gfield_radio { list-style: none; padding: 0; margin: 0; display: block; }
.planner .planner-content ul.gform_fields li .gfield_radio li { width: 100%; float: none; display: block; margin: 0 0 6px; }
.planner .planner-content ul.gform_fields li .gfield_radio li input, .gform_wrapper input[type=checkbox] { width: auto !important; min-height: 0; margin-right: 8px; vertical-align: middle; accent-color: var(--ec-green); }
.gform_wrapper .gfield_radio label { font-weight: 400; cursor: pointer; margin: 0; }
.gform_wrapper .gfield_description { font-size: 13px; color: #8a939c; margin-top: 4px; }
.gform_wrapper .validation_message { display: none; color: var(--ec-red); font-size: 14px; margin-top: 5px; }
.gform_wrapper .gfield_error .validation_message { display: block; }
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea, .gform_wrapper .gfield_error select, .gform_wrapper .gfield_error .gform_drop_area { border: 2px solid var(--ec-red) !important; }
.gform_wrapper .gfield_valid input, .gform_wrapper .gfield_valid textarea, .gform_wrapper .gfield_valid select { border-color: var(--ec-green) !important; }
.gform_wrapper .ec-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gform_wrapper .ec-consent { font-size: 14px; color: #6b7480; }
.gform_wrapper .ec-consent label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.planner .planner-content ul.gform_fields li.ec-consent input { width: auto !important; min-height: 0; margin-top: 4px; }
.gform_wrapper .ec-counter { float: right; font-size: 12px; color: #8a939c; }
.gform_wrapper .gform_drop_area { transition: background .2s, border-color .2s; cursor: pointer; }
.gform_wrapper .gform_drop_area.drag { background: #eef7ea; border-color: var(--ec-green) !important; }
.gform_wrapper .ec-file-list { list-style: none; padding: 0; margin: 0 0 8px; display: block; font-size: 14px; }
.gform_wrapper .ec-file-list li { background: #fff; border: 1px solid #e3e7eb; border-radius: 3px; padding: 5px 10px; margin-bottom: 5px; display: flex; justify-content: space-between; align-items: center; width: 97.5% !important; float: none !important; }
.gform_wrapper .ec-file-list button { background: none; border: 0; color: var(--ec-red); cursor: pointer; }
.gform_footer .gform_button[disabled] { opacity: .7; cursor: wait; }
.planner .planner-content { background: #fff; }
.planner .planner-tabs li a { border-radius: 0; padding: 14px 6px; display: block; text-decoration: none; }
.planner-aside { padding: 10px 10px 10px 30px; }
.planner-aside img { width: 170px; display: block; margin: 0 auto 10px; }
.planner-aside h3 { font-weight: 900; font-size: 20px; }
@media (max-width: 991px) { .planner-aside { padding: 20px 0 0; border-top: 1px solid #eee; margin-top: 20px; } }
.planner .ec-progress-steps { display: flex; gap: 6px; margin: 4px 0 18px; }
.planner .ec-progress-steps span { flex: 1; height: 6px; border-radius: 3px; background: #e3e7eb; transition: background .3s; }
.planner .ec-progress-steps span.done { background: var(--ec-green); }
.ec-form-card { background: #fff; border-radius: 6px; box-shadow: var(--ec-shadow); padding: 30px; }
.ec-form-card ul.gform_fields li input, .ec-form-card ul.gform_fields li textarea, .ec-form-card ul.gform_fields li select { width: 100%; border: 1px solid #ccc; border-radius: 3px; min-height: 40px; padding: 6px 12px; }
.ec-form-card ul.gform_fields li textarea { min-height: 150px; }
.ec-form-card ul.gform_fields li.ec-consent input { width: auto; min-height: 0; }
.ec-form-card .gform_footer input.button, .ec-btn-submit { padding: 0 28px; background: var(--ec-green); color: #fff; border-radius: 3px; border: none; border-bottom: 1px solid #54B22D; text-shadow: 1px 1px 0 #5F5F5F; font-size: 16px; text-transform: uppercase; line-height: 42px; font-family: museo-sans-rounded; font-weight: 900; cursor: pointer; transition: background .3s; }
.ec-form-card .gform_footer input.button:hover, .ec-btn-submit:hover { background: var(--ec-green-d); }
.ec-contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.ec-contact-item .ec-card-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: rgba(132, 200, 106, .15); color: var(--ec-green-d); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.ec-contact-item h4 { margin: 2px 0 4px; font-weight: 900; }

/* footer newsletter (original theme styles .stay-in-touch) */
.site-footer .stay-in-touch .form-group #subscribe-email { height: 34px; padding-left: 10px; border: 1px solid #585F69; color: #333; }
.site-footer .widget-area .ec-social { display: flex; gap: 8px; margin-top: 16px; }
.site-footer .widget-area .ec-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .25s; text-decoration: none; }
.site-footer .widget-area .ec-social a:hover { background: var(--ec-green); }
.site-footer .copyright a { color: #cfd5da; }
.site-footer .copyright a:hover { color: var(--ec-green); }
.site-footer .copyright .ec-legal-links { float: right; }
@media (max-width: 767px) { .site-footer .copyright .ec-legal-links { float: none; display: block; margin-top: 6px; } }
.site-footer .widget-area .widget .quick-links .menu .menu-item a { text-decoration: none; transition: color .25s, padding .25s; }
.site-footer .widget-area .widget .quick-links .menu .menu-item a:hover { color: var(--ec-green); padding-left: 4px; }
.site-footer .widget-area .widget .recent-articles .article-snippet .article-thumb img { height: 60px; object-fit: cover; }
.ec-footer-about { font-size: 15px; color: rgba(255, 255, 255, .85); }
.ec-footer-about img { height: 46px; margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.ec-cta-band { position: relative; color: #fff; padding: 70px 0; text-align: center; background-size: cover; background-position: center; background-attachment: fixed; }
@media (max-width: 991px), (hover: none) { .ec-cta-band { background-attachment: scroll; } }
.ec-cta-band:before { content: ''; position: absolute; inset: 0; background: rgba(62, 71, 83, .82); }
.ec-cta-band .container { position: relative; }
.ec-cta-band h2 { color: #fff; font-weight: 900; font-size: 34px; margin-top: 0; }
.ec-cta-band p { font-size: 19px; max-width: 700px; margin: 0 auto 10px; }
.ec-cta-band .cta-button { margin: 18px 8px 0; }

/* ---------- Portfolio grid extras ---------- */
.portfolio-block .portfolio-item .overlay .project-title, .portfolio-block .portfolio-item .overlay .project-link { display: block; opacity: 0; transform: translateY(15px); transition: opacity .35s, transform .35s; }
.portfolio-block .portfolio-item .overlay:hover .project-title, .portfolio-block .portfolio-item .overlay:hover .project-link { opacity: 1; transform: none; }
.portfolio-block .portfolio-item .overlay .project-link { color: var(--ec-green); text-decoration: none; }
.portfolio-archive-item .image-wrapper a { display: block; }
.portfolio-item-intro { position: relative; color: #fff; padding: 50px 0 80px; }
.portfolio-item-intro h1 { color: #fff; font-weight: 900; }
.portfolio-item-intro .hero-item img { aspect-ratio: 1 / 1; object-fit: cover; }
.tech-icons span { transition: background .25s, transform .25s; }
.tech-icons span:hover { background: var(--ec-green); transform: translateY(-2px); }

/* ---------- Testimonials ---------- */
.reviews-block .owl-carousel .item { padding: 10px 0 20px; }
.reviews-block .review-panel { font-size: 19px; font-style: italic; line-height: 1.6; color: #555; position: relative; padding: 0 20px; }
.reviews-block .review-panel:before { content: '\f10d'; font-family: 'FontAwesome'; display: block; color: var(--ec-green); font-size: 26px; font-style: normal; margin-bottom: 6px; }
.reviews-block .owl-theme .owl-dots .owl-dot.active span, .reviews-block .owl-theme .owl-dots .owl-dot:hover span { background: var(--ec-green); }
.reviews-carousel:not(.owl-loaded) .item + .item { display: none; }
.clients .logo-container img { transition: opacity .3s, filter .3s, transform .3s; filter: grayscale(1); }
.clients .logo-container img:hover { opacity: 1; filter: none; transform: scale(1.05); }

/* ---------- Back to top / cookie / toast ---------- */
#ec-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ec-green); color: #fff; font-size: 20px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; z-index: 1500; cursor: pointer; }
#ec-top.show { opacity: 1; visibility: visible; transform: none; }
#ec-top:hover { background: var(--ec-green-d); }
#ec-cookie { position: fixed; left: 20px; bottom: 20px; max-width: 420px; background: var(--ec-dark); color: #fff; padding: 20px 22px; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); z-index: 1600; transform: translateY(150%); transition: transform .5s cubic-bezier(.2, .9, .3, 1.2); font-size: 15px; }
#ec-cookie.show { transform: none; }
#ec-cookie a { color: var(--ec-green); }
#ec-cookie .ec-cookie-actions { display: flex; gap: 10px; margin-top: 12px; }
#ec-cookie button { border: 0; border-radius: 3px; padding: 7px 16px; font-family: museo-sans-rounded; font-weight: 900; cursor: pointer; }
#ec-cookie .accept { background: var(--ec-green); color: #fff; }
#ec-cookie .decline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
@media (max-width: 480px) { #ec-cookie { left: 10px; right: 10px; bottom: 10px; } }
#ec-toast { position: fixed; top: 96px; left: 50%; transform: translate(-50%, -20px); background: var(--ec-dark); color: #fff; padding: 10px 20px; border-radius: 4px; opacity: 0; transition: all .3s; z-index: 3000; pointer-events: none; }
#ec-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Thank you / 404 / search ---------- */
.ec-center-page { text-align: center; padding: 70px 0; }
.ec-center-page .big-icon { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 25px; background: rgba(132, 200, 106, .15); color: var(--ec-green); font-size: 50px; display: flex; align-items: center; justify-content: center; animation: ec-pop .6s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes ec-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.ec-center-page h1 { font-weight: 900; font-size: 40px; }
.ec-center-page .lead { max-width: 640px; margin: 0 auto 20px; }
.ec-center-page .cta-button { margin: 10px 6px; }
.ec-404-num { font-family: museo-sans-rounded; font-weight: 900; font-size: 140px; line-height: 1; color: var(--ec-dark); letter-spacing: -4px; }
.ec-404-num span { color: var(--ec-green); display: inline-block; animation: ec-wobble 2.4s ease-in-out infinite; }
@keyframes ec-wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.ec-search-results { list-style: none; padding: 0; display: block; }
.ec-search-results li { background: #fff; border-radius: 4px; padding: 18px 22px; margin-bottom: 14px; box-shadow: 0 2px 6px rgba(62, 71, 83, .07); }
.ec-search-results h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.ec-search-results h3 a { color: var(--ec-dark); }
.ec-search-results .type { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ec-green-d); font-weight: 700; }
.ec-search-results mark { background: #fff3b0; padding: 0 2px; }

/* ---------- Why / values ---------- */
.ec-split-img { border-radius: 6px; box-shadow: var(--ec-shadow); width: 100%; object-fit: cover; }
.ec-compare .bad li:before { content: '\f00d'; color: var(--ec-red); }
.ec-facts dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; }
.ec-facts dt { font-family: museo-sans-rounded; font-weight: 700; color: var(--ec-dark); }
.ec-facts dd { margin: 0; }
@media (max-width: 600px) { .ec-facts dl { grid-template-columns: 1fr; } .ec-facts dd { margin-bottom: 8px; } }

/* AOS fallback: never leave content invisible if JS fails */
html:not(.aos-ready) [data-aos] { opacity: 1 !important; transform: none !important; }

/* service headings demoted from h1 to h2 for a single-h1 outline */
.service-section .overview-title { margin-bottom: 30px; font-size: 32px; }
@media (max-width: 767px) { .service-section .overview-title { font-size: 26px; } }
.returned-clients h2 { font-size: 25px; margin: 20px 0 0; }

/* star rating */
.ec-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.ec-stars input { position: absolute; opacity: 0; width: 1px !important; height: 1px; min-height: 0 !important; }
.ec-stars label { font-size: 30px; color: #d5d9de; cursor: pointer; transition: color .15s, transform .15s; }
.ec-stars label:hover, .ec-stars label:hover ~ label, .ec-stars input:checked ~ label { color: var(--ec-yellow); }
.ec-stars label:hover { transform: scale(1.15); }
.ec-stars input:focus-visible + label { outline: 2px solid var(--ec-green); border-radius: 3px; }
.planner .planner-content ul.gform_fields li fieldset ul.gfield_radio li { width: 100%; }
.planner .planner-content ul.gform_fields li select { width: 95%; }
.planner .planner-content ul.gform_fields li input[type=date] { width: 47.5% !important; }
@media (max-width: 768px) { .planner .planner-content ul.gform_fields li input[type=date] { width: 100% !important; } }

/* Font Awesome 4.5–4.7 icons not present in the theme's bundled FA 4.4 rules */
.fa-handshake-o:before { content: "\f2b5"; }
.fa-shopping-bag:before { content: "\f290"; }
.fa-universal-access:before { content: "\f29a"; }

/* hero task list: let it grow with the substitute font instead of clipping */
.some-of-the-tasks { height: auto; margin-top: 30px; }
.reviews-block blockquote.review-panel { border: 0; margin: 0 0 10px; }
.blog-post .ec-share, .blog-post .ec-author-box, .blog-post .ec-post-cta, .blog-post .ec-toc { clear: both; }
.blog-post .ec-share, .blog-post .ec-author-box, .blog-post .ec-post-cta { float: left; width: 100%; }
.recent-articles .article-snippet .article-title-link { display: block; overflow: hidden; }
.gform_drop_area input[type=file] { display: none !important; }
