:root {
    --ec-cat-turquoise: #5ce1e6;
    --ec-cat-navy: #123b4a;
    --ec-cat-orange: #ff8a3d;
    --ec-cat-light: #f3fafa;
    --ec-cat-text: #26383d;
    --ec-cat-white: #fff;
    --ec-cat-border: rgba(18, 59, 74, .16);
    --ec-cat-shadow: 0 22px 55px rgba(8, 38, 48, .14);
}

.ec-category,
.ec-category * { box-sizing: border-box; }
body.page-template-page-template-ec-category,
body.page-template-page-template-ec-category-php { background: #fff !important; }
body.page-template-page-template-ec-category #page,
body.page-template-page-template-ec-category-php #page,
body.page-template-page-template-ec-category #content > .ast-container,
body.page-template-page-template-ec-category-php #content > .ast-container { width: 100% !important; max-width: none !important; }
body.page-template-page-template-ec-category #content > .ast-container,
body.page-template-page-template-ec-category-php #content > .ast-container { display: block !important; padding: 0 !important; }
body.page-template-page-template-ec-category #primary,
body.page-template-page-template-ec-category-php #primary { width: 100%; margin: 0; }
.ec-category { width: 100%; max-width: none; overflow: hidden; color: var(--ec-cat-text); background: var(--ec-cat-light); font-size: 17px; line-height: 1.58; }
.ec-category :where(h1, h2, h3, h4, p, ul, ol) { margin-top: 0; }
.ec-category :where(h1, h2, h3, h4) { color: var(--ec-cat-navy); font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.02; letter-spacing: -.025em; }
.ec-category a { text-underline-offset: 3px; }
.ec-cat-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ec-cat-section { padding: clamp(64px, 7vw, 104px) 0; }
.ec-cat-kicker { margin-bottom: 12px; color: #007e84; font-size: .75rem; font-weight: 900; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }

.ec-cat-hero { position: relative; padding: clamp(42px, 5vw, 74px) 0 clamp(58px, 6vw, 88px); color: #fff; background: var(--ec-cat-navy); }
.ec-cat-hero::after { position: absolute; right: -100px; bottom: 12%; width: 380px; height: 380px; border: 1px solid rgba(92, 225, 230, .14); border-radius: 50%; content: ""; pointer-events: none; }
.ec-cat-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .93fr) minmax(440px, 1.07fr); gap: clamp(42px, 6vw, 84px); align-items: center; }
.ec-cat-breadcrumb { display: flex; gap: 9px; align-items: center; margin-bottom: 30px; color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 700; }
.ec-cat-breadcrumb a { color: #fff; text-decoration: none; }
.ec-cat-hero .ec-cat-kicker { color: var(--ec-cat-turquoise); }
.ec-cat-hero h1 { max-width: 720px; margin-bottom: 20px; color: #fff; font-size: clamp(2.65rem, 4.2vw, 4.65rem); }
.ec-cat-hero__copy { max-width: 690px; margin-bottom: 26px; color: rgba(255,255,255,.89); font-size: clamp(1rem, 1.25vw, 1.17rem); }
.ec-cat-actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.ec-cat-button { display: inline-flex; min-height: 50px; padding: 11px 20px; border: 2px solid transparent; border-radius: 999px; align-items: center; justify-content: center; gap: 7px; color: var(--ec-cat-navy); font-size: .78rem; font-weight: 900; letter-spacing: .035em; line-height: 1.15; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform .18s ease, background .18s ease, color .18s ease; }
.ec-cat-button:hover { transform: translateY(-2px); }
.ec-cat-button span { display: inline-block; font-size: .68rem; letter-spacing: 0; }
.ec-cat-button--call { background: var(--ec-cat-orange); }
.ec-cat-button--call:hover { color: var(--ec-cat-navy); background: #ff9d5d; }
.ec-cat-button--book { background: var(--ec-cat-turquoise); }
.ec-cat-button--book:hover { color: var(--ec-cat-navy); background: #87edf0; }
.ec-cat-button--outline { color: #fff; border-color: rgba(255,255,255,.75); background: transparent; }
.ec-cat-button--outline:hover { color: var(--ec-cat-navy); background: #fff; }
.ec-cat-button--text { min-height: 44px; padding-inline: 9px; color: #fff; }
.ec-cat-button--text:hover { color: var(--ec-cat-turquoise); }
.ec-cat-trust { display: flex; max-width: 630px; margin: 28px 0 0; padding: 23px 0 0; border-top: 1px solid rgba(255,255,255,.22); list-style: none; }
.ec-cat-trust li { min-width: 0; padding: 0 24px; border-right: 1px solid rgba(255,255,255,.18); }
.ec-cat-trust li:first-child { padding-left: 0; }
.ec-cat-trust li:last-child { border-right: 0; }
.ec-cat-trust strong, .ec-cat-trust span { display: block; }
.ec-cat-trust strong { color: #fff; font-size: .86rem; }
.ec-cat-trust span { color: rgba(255,255,255,.68); font-size: .7rem; }
.ec-cat-hero__visual { position: relative; min-width: 0; }
.ec-cat-hero__visual picture { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.25); background: #e5f7f8; }
.ec-cat-hero__visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ec-category--carpet-repair-stretching .ec-cat-hero__visual img,
.ec-category--natural-stone-restoration .ec-cat-hero__visual img { object-position: center; }
.ec-cat-hero__badge { position: absolute; left: -26px; bottom: -20px; max-width: 260px; padding: 17px 21px; border-top: 4px solid var(--ec-cat-turquoise); border-radius: 16px; color: var(--ec-cat-navy); background: #fff; box-shadow: var(--ec-cat-shadow); }
.ec-cat-hero__badge strong, .ec-cat-hero__badge span { display: block; }
.ec-cat-hero__badge strong { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.ec-cat-hero__badge span { margin-top: 2px; color: #507078; font-size: .7rem; }
.ec-cat-dryer-art { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.22); }

.ec-cat-questions { padding: clamp(58px, 6vw, 82px) 0; background: #e8f8f8; }
.ec-cat-questions__heading { margin-bottom: clamp(28px, 4vw, 42px); }
.ec-cat-questions__heading h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2.25rem, 3.5vw, 3.6rem); }
.ec-cat-answers { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
.ec-cat-answer { min-height: 0; padding: 23px; border: 1px solid rgba(92,225,230,.22); border-radius: 22px; color: var(--ec-cat-text); background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.1); }
.ec-cat-answer--featured { border-color: var(--ec-cat-orange); background: var(--ec-cat-orange); }
.ec-cat-answer__heading { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 13px; align-items: start; margin-bottom: 13px; }
.ec-cat-answer__heading svg { width: 42px; height: 42px; fill: none; stroke: var(--ec-cat-navy); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.ec-cat-answer--featured .ec-cat-answer__heading svg circle { fill: var(--ec-cat-navy); }
.ec-cat-answer--featured .ec-cat-answer__heading svg path { stroke: #fff; }
.ec-cat-answer h2 { margin: 2px 0 0; font-size: clamp(1.32rem, 1.65vw, 1.65rem); }
.ec-cat-answer p { margin-bottom: 0; color: #49646b; font-size: .9rem; line-height: 1.52; }
.ec-cat-answer--featured p { color: var(--ec-cat-text); }

.ec-cat-section--aqua { background: #e8f8f8; }
.ec-cat-section--light { background: var(--ec-cat-light); }
.ec-cat-section--navy { color: #fff; background: var(--ec-cat-navy); }
.ec-cat-section--navy :where(h2,h3), .ec-cat-final :where(h2,h3) { color: #fff; }
.ec-cat-section--navy .ec-cat-kicker, .ec-cat-final .ec-cat-kicker { color: var(--ec-cat-turquoise); }
.ec-cat-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .65fr); gap: clamp(30px, 7vw, 90px); margin-bottom: clamp(36px, 5vw, 58px); align-items: end; }
.ec-cat-heading h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2.25rem, 3.5vw, 3.6rem); }
.ec-cat-heading > p { max-width: 570px; margin-bottom: 3px; color: #536d73; }
.ec-cat-heading--center { align-items: center; }
.ec-cat-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ec-cat-service { min-height: 0; padding: clamp(22px, 2.4vw, 29px); border: 1px solid var(--ec-cat-border); border-radius: 20px; background: #fff; }
.ec-cat-service h3 { margin: 2px 0 12px; font-size: clamp(1.45rem, 2vw, 1.9rem); }
.ec-cat-service p { margin-bottom: 17px; color: #4a636a; font-size: .91rem; }
.ec-cat-service a { color: #007d83; font-size: .76rem; font-weight: 900; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.ec-cat-surfaces { display: grid; margin-top: 18px; padding: clamp(28px, 4vw, 46px); border-radius: 22px; grid-template-columns: 1.15fr 1fr 1fr; gap: 30px; color: #fff; background: var(--ec-cat-navy); }
.ec-cat-surfaces .ec-cat-kicker { color: var(--ec-cat-turquoise); }
.ec-cat-surfaces :where(h3,h4) { color: #fff; }
.ec-cat-surfaces h3 { margin-bottom: 0; font-size: 2rem; }
.ec-cat-surfaces h4 { margin-bottom: 8px; font-size: 1.3rem; }
.ec-cat-surfaces p { margin-bottom: 0; color: rgba(255,255,255,.76); font-size: .87rem; }

.ec-cat-local { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, .82fr); gap: clamp(42px, 7vw, 94px); align-items: center; }
.ec-cat-local h2 { margin-bottom: 20px; font-size: clamp(2.35rem, 3.7vw, 3.8rem); }
.ec-cat-local__content > p:not(.ec-cat-kicker) { color: rgba(255,255,255,.78); }
.ec-cat-local__points { display: grid; gap: 16px; margin-top: 31px; }
.ec-cat-local__points article { display: grid; grid-template-columns: 38px 1fr; gap: 14px; }
.ec-cat-local__points article > span { display: grid; width: 34px; height: 34px; border-radius: 50%; place-items: center; color: var(--ec-cat-navy); background: var(--ec-cat-turquoise); font-size: .8rem; font-weight: 900; }
.ec-cat-local__points h3 { margin: 1px 0 4px; font-size: 1.25rem; }
.ec-cat-local__points p { margin-bottom: 0; color: rgba(255,255,255,.7); font-size: .87rem; }
.ec-cat-media { overflow: hidden; border-radius: 25px; background: #fff; box-shadow: 0 26px 65px rgba(0,0,0,.24); }
.ec-cat-media picture { display: block; aspect-ratio: 4 / 3; }
.ec-cat-media img, .ec-cat-media video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #071e27; }
.ec-cat-media .ec-cat-dryer-art { border-radius: 0; box-shadow: none; }
.ec-cat-media > p { margin: 0; padding: 18px 22px 20px; }
.ec-cat-media > p strong, .ec-cat-media > p span { display: block; }
.ec-cat-media > p strong { color: var(--ec-cat-navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.ec-cat-media > p span { margin-top: 3px; color: #60767b; font-size: .74rem; }

.ec-cat-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin: 0; padding: 0; list-style: none; }
.ec-cat-process li { min-height: 224px; padding: 30px; border-top: 5px solid var(--ec-cat-turquoise); border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(18,59,74,.08); }
.ec-cat-process li > span { display: inline-block; margin-bottom: 34px; color: #008b91; font-size: .75rem; font-weight: 900; }
.ec-cat-process h3 { margin-bottom: 10px; font-size: 1.55rem; }
.ec-cat-process p { margin-bottom: 0; color: #566e74; font-size: .89rem; }

.ec-cat-section--reviews { color: #fff; background: var(--ec-cat-navy); }
.ec-cat-section--reviews h2 { color: #fff; }
.ec-cat-section--reviews .ec-cat-kicker { color: var(--ec-cat-turquoise); }
.ec-cat-section--reviews .ec-cat-heading > p { color: rgba(255,255,255,.75); }
.ec-cat-review-widget { min-height: 150px; }
.ec-cat-faq__grid { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(42px, 7vw, 95px); align-items: start; }
.ec-cat-faq h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 3.5vw, 3.55rem); }
.ec-cat-faq__grid > div:first-child > p:not(.ec-cat-kicker) { margin-bottom: 26px; color: #526b71; }
.ec-cat-faq .ec-cat-button--call { color: var(--ec-cat-navy); }
.ec-cat-faq__items { border-top: 1px solid rgba(18,59,74,.23); }
.ec-cat-faq details { border-bottom: 1px solid rgba(18,59,74,.23); }
.ec-cat-faq summary { display: grid; padding: 23px 4px; grid-template-columns: 1fr 30px; gap: 20px; align-items: center; color: var(--ec-cat-navy); cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.12rem, 1.5vw, 1.35rem); font-weight: 700; line-height: 1.2; list-style: none; }
.ec-cat-faq summary::-webkit-details-marker { display: none; }
.ec-cat-faq summary span { display: grid; width: 28px; height: 28px; border-radius: 50%; place-items: center; color: #fff; background: var(--ec-cat-navy); font-family: Arial, sans-serif; font-size: 1rem; transition: transform .18s ease; }
.ec-cat-faq details[open] summary span { transform: rotate(45deg); }
.ec-cat-faq details p { max-width: 850px; padding: 0 46px 24px 4px; margin-bottom: 0; color: #4f686e; font-size: .93rem; }
.ec-cat-section--navy.ec-cat-faq .ec-cat-faq__grid > div:first-child > p:not(.ec-cat-kicker),
.ec-cat-section--navy.ec-cat-faq details p { color: rgba(255,255,255,.75); }
.ec-cat-section--navy.ec-cat-faq .ec-cat-faq__items,
.ec-cat-section--navy.ec-cat-faq details { border-color: rgba(255,255,255,.22); }
.ec-cat-section--navy.ec-cat-faq summary { color: #fff; }
.ec-cat-section--navy.ec-cat-faq summary span { color: var(--ec-cat-navy); background: var(--ec-cat-turquoise); }

.ec-cat-final { padding: clamp(60px, 6vw, 84px) 0; color: var(--ec-cat-navy); background: var(--ec-cat-orange); }
.ec-cat-final__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .75fr); gap: clamp(35px, 6vw, 80px); align-items: center; }
.ec-cat-final h2 { max-width: 760px; margin-bottom: 13px; color: var(--ec-cat-navy); font-size: clamp(2.1rem, 3.2vw, 3.25rem); }
.ec-cat-final .ec-cat-kicker { color: var(--ec-cat-navy); }
.ec-cat-final p:not(.ec-cat-kicker) { margin-bottom: 0; color: rgba(18,59,74,.82); }
.ec-cat-final .ec-cat-actions { justify-content: flex-end; }
.ec-cat-final .ec-cat-button--call { color: #fff; background: var(--ec-cat-navy); }
.ec-cat-final .ec-cat-button--call:hover { color: #fff; background: #1d5264; }
.ec-cat-final .ec-cat-button--outline { color: var(--ec-cat-navy); border-color: var(--ec-cat-navy); }
.ec-cat-final .ec-cat-button--outline:hover { color: var(--ec-cat-navy); background: #fff; }
.ec-cat-final .ec-cat-button--text { color: var(--ec-cat-navy); }

@media (max-width: 1040px) {
    .ec-cat-hero__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .ec-cat-answers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-cat-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-cat-local { grid-template-columns: 1fr 1fr; gap: 38px; }
}

@media (max-width: 820px) {
    .ec-category { font-size: 16px; }
    .ec-cat-wrap { width: min(100% - 30px, 720px); }
    .ec-cat-hero__grid, .ec-cat-heading, .ec-cat-local, .ec-cat-faq__grid, .ec-cat-final__inner { grid-template-columns: 1fr; }
    .ec-cat-hero__visual { max-width: 680px; }
    .ec-cat-hero__badge { left: 16px; }
    .ec-cat-heading { gap: 20px; }
    .ec-cat-surfaces { grid-template-columns: 1fr 1fr; }
    .ec-cat-surfaces > div { grid-column: 1 / -1; }
    .ec-cat-process { grid-template-columns: 1fr; }
    .ec-cat-process li { min-height: 0; }
    .ec-cat-final .ec-cat-actions { justify-content: flex-start; }
}

@media (max-width: 580px) {
    .ec-cat-wrap { width: min(100% - 24px, 520px); }
    .ec-cat-section { padding: 56px 0; }
    .ec-cat-hero { padding-top: 29px; }
    .ec-cat-breadcrumb { margin-bottom: 22px; overflow: hidden; white-space: nowrap; }
    .ec-cat-hero h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
    .ec-cat-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .ec-cat-button { width: 100%; padding-inline: 12px; }
    .ec-cat-button--call { grid-column: 1 / -1; }
    .ec-cat-trust li { padding: 0 11px; }
    .ec-cat-trust strong { font-size: .75rem; }
    .ec-cat-trust span { font-size: .61rem; }
    .ec-cat-hero__visual picture { aspect-ratio: 1 / .9; }
    .ec-cat-answers { grid-template-columns: 1fr; }
    .ec-cat-answer { min-height: 0; }
    .ec-cat-answer__heading { grid-template-columns: minmax(0, 1fr) 38px; }
    .ec-cat-answer__heading svg { width: 38px; height: 38px; }
    .ec-cat-services { grid-template-columns: 1fr; }
    .ec-cat-service { padding: 22px 19px; }
    .ec-cat-surfaces { grid-template-columns: 1fr; }
    .ec-cat-surfaces > div { grid-column: auto; }
    .ec-cat-final .ec-cat-actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    .ec-category *, .ec-category *::before, .ec-category *::after { scroll-behavior: auto !important; transition: none !important; }
}
