/*
Theme Name: Astra Child
Theme URI: https://xadsites.com
Author: XAD
Author URI: https://xadsites.com
Description: Construmundo: a construction and renovation site for property turns, rehabs and improvements. Three services, a project gallery with before-and-after pages, the team, and a three-step quote form that saves and emails every request. Every section, the header and the footer included, is an Elementor widget whose every text, image and button has its own Style controls.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: construmundo
Tags: one-column, custom-colors, custom-logo, featured-images, translation-ready
*/

/* ════════════════════════════════════════════════════════════════════
   0 · Tokens. The brand's colours, read from Elementor's Global Colors
   once Build has put them there (inc/palette.php), the design's values
   until then. Declared on body: that is where Elementor prints them.

   HOUSE RULE: no element is styled through more than TWO classes. Elementor's
   own rules carry four, so whatever the client sets in a widget's Style tab
   always wins, and anything left empty keeps the design.
   ════════════════════════════════════════════════════════════════════ */

body {
	--white: var(--e-global-color-cmtwhite, #FFFFFF);
	--soft: var(--e-global-color-cmtsoft, #F5F7FB);
	--tint: var(--e-global-color-cmttint, #EEF1FE);
	--ink: var(--e-global-color-cmtink, #111827);
	--body: var(--e-global-color-cmtbody, #4B5563);
	--line: var(--e-global-color-cmtline, #E5E9F0);
	--blue: var(--e-global-color-cmtblue, #0000FF);
	--blue-hover: var(--e-global-color-cmthover, #0A1FBF);
	--navy: var(--e-global-color-cmtnavy, #0C1330);
	--lift: var(--e-global-color-cmtlift, #8FA3FF);
	--on-dark: var(--e-global-color-cmtondark, #D5DAE6);
	/* Not --display: Elementor sets that on every container, for its own flex layout. */
	--font-display: var(--e-global-typography-cmtdisplay-font-family, Montserrat), Montserrat, "Segoe UI", Arial, sans-serif;
	--font-text: var(--e-global-typography-cmttext-font-family, Poppins), Poppins, "Segoe UI", Arial, sans-serif;
	--side: 44px;
}

/* ════════════════════════════════════════════════════════════════════
   1 · Base
   ════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--body); font-family: var(--font-text); font-size: 16px; line-height: 1.65; overflow-x: clip; }
:where(h1, h2, h3) { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
:where(p) { margin: 0; }
:where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(figure, blockquote) { margin: 0; }
:where(a) { color: inherit; text-decoration: none; }
:where(img, svg) { display: block; }
:where(img) { max-width: 100%; height: auto; }
:where(em) { color: var(--blue); font-style: normal; }
:where(button, input, select, textarea) { color: inherit; font: inherit; }
:where(button) { border: 0; background: none; cursor: pointer; }
:where(button:disabled) { cursor: default; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
.cmt-skip { position: fixed; top: -90px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--navy); color: #fff; }
.cmt-skip:focus { top: 10px; }
.cmt-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }

/* A definite width: a flex column otherwise measures a widget with short text at its narrow max-content width, and keeps that taller height. */
.elementor-widget[data-widget_type^="cmt_"] { width: 100%; }
.cmt-wrap { width: min(var(--wrap, 1240px), calc(100% - var(--side) * 2)); margin-inline: auto; }
.cmt-section { padding-block: clamp(64px, 8vw, 112px); }
/* Twice: Elementor's ".elementor img { height: auto }" outranks one class, and would leave photographs short of their frames. */
.cmt-img.cmt-img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); }

.cmt-band--white { background: var(--white); }
.cmt-band--soft { background: var(--soft); }
.cmt-band--tint { background: var(--tint); }
.cmt-band--navy { background: var(--navy); color: var(--on-dark); }
.cmt-band--navy .cmt-title { color: #fff; }
.cmt-band--navy .cmt-eyebrow { color: var(--lift); }

.cmt-eyebrow { display: block; margin-bottom: 16px; color: var(--blue); font-family: var(--font-display); font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.cmt-title { margin-bottom: 44px; font-size: clamp(32px, 4vw, 52px); }
.cmt-note { margin-top: 12px; padding: 8px 12px; background: #FEF5E7; color: #7A4B00; font-size: 13px; line-height: 1.4; }

.cmt-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cmt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px; border: 2px solid var(--blue); border-radius: 6px; background: var(--blue); color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.2; transition: background-color .2s, border-color .2s, color .2s; }
.cmt-btn:hover { border-color: var(--blue-hover); background: var(--blue-hover); color: #fff; }
.cmt-btn__arrow { line-height: 1; }
.cmt-btn--ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.cmt-btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.cmt-btn--light { border-color: #fff; background: transparent; color: #fff; }
.cmt-btn--light:hover { border-color: #fff; background: #fff; color: var(--navy); }

.cmt-card { display: flex; flex-direction: column; gap: 14px; padding: 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .2s, transform .2s; }
a.cmt-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.cmt-card__icon { display: block; color: var(--blue); }
.cmt-card__icon svg { width: inherit; height: inherit; }
.cmt-card__title { font-size: 21px; line-height: 1.2; letter-spacing: -.015em; overflow-wrap: anywhere; }
.cmt-card__text { font-size: 15px; }
.cmt-card__link { margin-top: auto; padding-top: 8px; color: var(--blue); font-family: var(--font-display); font-size: 14px; font-weight: 700; }

/* ════════════════════════════════════════════════════════════════════
   2 · Header
   ════════════════════════════════════════════════════════════════════ */

.cmt-part--header:has(.is-sticky) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; }
.cmt-part--header { position: relative; z-index: 60; }
.cmt-header { background: var(--white); border-bottom: 1px solid var(--line); }
.cmt-header__in { display: flex; align-items: center; gap: 32px; width: min(var(--wrap, 1320px), calc(100% - var(--side) * 2)); min-height: 84px; margin-inline: auto; }
.cmt-brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.cmt-brand__logo { display: block; width: 180px; max-width: 100%; }
.cmt-brand__logo .cmt-img { height: auto; object-fit: contain; }
.cmt-brand__name { color: var(--ink); font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1; letter-spacing: .01em; }
.cmt-brand__em { color: var(--blue); }

.cmt-nav { display: flex; align-items: center; gap: 30px; margin-inline: auto; }
.cmt-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.cmt-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.cmt-nav__link:hover::after { transform: scaleX(1); }
.cmt-nav__link--drop::before { content: ""; order: 2; width: 7px; height: 7px; margin: -3px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.cmt-nav__item { position: relative; }
.cmt-nav__menu { position: absolute; top: 100%; left: -18px; z-index: 5; display: grid; min-width: 320px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 20px 40px -20px rgba(17, 24, 39, .3); opacity: 0; visibility: hidden; transition: opacity .15s; }
.cmt-nav__item:hover .cmt-nav__menu, .cmt-nav__item:focus-within .cmt-nav__menu { opacity: 1; visibility: visible; }
.cmt-nav__sub { display: block; padding: 11px 12px; border-radius: 5px; color: var(--ink); font-size: 14px; line-height: 1.35; }
.cmt-nav__sub:hover { background: var(--tint); color: var(--blue); }

.cmt-header__act { display: flex; align-items: center; gap: 18px; flex: none; }
.cmt-header__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-family: var(--font-display); font-size: 14px; font-weight: 700; white-space: nowrap; }
.cmt-header__tel:hover { color: var(--blue); }
.cmt-header__btn { min-height: 46px; padding: 10px 20px; font-size: 14px; white-space: nowrap; }
.cmt-burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 6px; }
.cmt-burger i { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.cmt-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cmt-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.cmt-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.cmt-part { position: relative; }
.cmt-part__edit { position: absolute; top: 8px; right: 8px; z-index: 70; padding: 6px 12px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 12px; }

/* ════════════════════════════════════════════════════════════════════
   3 · Hero and page headings
   ════════════════════════════════════════════════════════════════════ */

.cmt-hero { position: relative; display: flex; align-items: center; min-height: min(86vh, 780px); overflow: hidden; background: var(--navy); }
.cmt-hero__photo, .cmt-pagehead__photo { position: absolute; inset: 0; --fy: 62%; }
.cmt-hero__shade, .cmt-pagehead__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 19, 48, .94) 0%, rgba(12, 19, 48, .9) 58%, rgba(12, 19, 48, .15) 100%); }
.cmt-hero__in { position: relative; padding-block: 90px; }
.cmt-hero__copy { max-width: 720px; }
.cmt-hero__eyebrow, .cmt-pagehead__eyebrow { margin-bottom: 20px; color: #EAF0FF; font-family: var(--font-display); font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.cmt-hero__title { color: #fff; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -.03em; }
.cmt-hero__slogan { margin-top: 22px; color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cmt-hero__lead { max-width: 600px; margin: 18px 0 34px; color: #fff; font-size: 18px; line-height: 1.6; }

.cmt-pagehead { position: relative; overflow: hidden; background: var(--navy); }
.cmt-pagehead__in { position: relative; padding-block: clamp(64px, 8vw, 104px); }
.cmt-pagehead__title { max-width: 820px; color: #fff; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
.cmt-pagehead__lead { max-width: 640px; margin-top: 20px; color: #fff; font-size: 18px; line-height: 1.6; }

/* ════════════════════════════════════════════════════════════════════
   4 · Sections
   ════════════════════════════════════════════════════════════════════ */

.cmt-stats { padding-block: 52px; }
.cmt-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.cmt-stats__number { display: block; color: var(--blue); font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.cmt-stats__label { display: block; margin-top: 8px; font-size: 14px; }

.cmt-audience { padding-block: 52px; }
.cmt-audience .cmt-eyebrow { text-align: center; }
.cmt-audience__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cmt-audience__item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cmt-audience__icon { display: block; color: var(--blue); }
.cmt-audience__icon svg { width: inherit; height: inherit; }
.cmt-audience__label { color: var(--ink); font-family: var(--font-display); font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; }

.cmt-services__grid, .cmt-cards__grid, .cmt-reach__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cmt-reach { padding-block: 56px 0; }

.cmt-service__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.cmt-service__number { display: block; margin-bottom: 18px; color: var(--blue); font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: .06em; }
.cmt-service__title { font-size: clamp(32px, 3.8vw, 50px); }
.cmt-service__lead { margin-top: 20px; }
.cmt-service__btn { margin-top: 30px; }
.cmt-service__rows { border-top: 2px solid var(--ink); }
.cmt-service__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.cmt-service__name { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.cmt-service__text { font-size: 15px; }

.cmt-compare__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.cmt-ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--line); --pos: 50%; }
.cmt-ba > .cmt-img { position: absolute; inset: 0; }
.cmt-ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cmt-ba__tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 4px; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; pointer-events: none; }
.cmt-ba__tag--b { left: 14px; }
.cmt-ba__tag--a { right: 14px; background: var(--blue); }
.cmt-ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.cmt-ba__handle { position: absolute; top: 50%; left: var(--pos); display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 20px; line-height: 1; box-shadow: 0 6px 18px rgba(12, 19, 48, .35); pointer-events: none; }
.cmt-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmt-ba:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.cmt-compare__name { margin-top: 18px; font-size: 19px; letter-spacing: -.01em; }
.cmt-compare__text { margin-top: 4px; font-size: 14px; }
.cmt-compare__hint { margin-top: 20px; font-size: 13px; }
.cmt-compare__btn { margin-top: 24px; }

.cmt-split__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 80px); align-items: center; }
.cmt-split .cmt-title { margin-bottom: 20px; }
.is-flipped .cmt-split__photo { order: -1; }
.cmt-split__photo { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 10px; }
.cmt-split__list { display: grid; gap: 12px; margin-top: 26px; }
.cmt-split__line { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; line-height: 1.45; }
.cmt-split__line svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }

.cmt-process__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; border-top: 2px solid var(--ink); }
.cmt-process__step { padding-top: 24px; }
.cmt-process__number { display: block; margin-bottom: 18px; color: var(--blue); font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.cmt-process__name { font-size: 19px; letter-spacing: -.01em; }
.cmt-process__text { margin-top: 10px; font-size: 15px; }

.cmt-promise { background: var(--navy); text-align: center; }
.cmt-promise__title { max-width: 980px; margin-inline: auto; color: #fff; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.03em; }
.cmt-promise__text { max-width: 680px; margin: 22px auto 0; color: var(--on-dark); font-size: 17px; }

.cmt-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cmt-reviews__card { display: flex; flex-direction: column; gap: 18px; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.cmt-reviews__quote { color: var(--ink); font-size: 17px; line-height: 1.55; }
.cmt-reviews__name { display: block; color: var(--ink); font-family: var(--font-display); font-size: 14px; font-weight: 700; font-style: normal; }
.cmt-reviews__role { display: block; font-size: 13px; }

.cmt-faq__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.cmt-faq .cmt-title { margin-bottom: 0; }
.cmt-faq__list { border-top: 2px solid var(--ink); }
.cmt-faq__item { border-bottom: 1px solid var(--line); }
.cmt-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding-block: 20px; color: var(--ink); font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.cmt-faq__q::-webkit-details-marker { display: none; }
.cmt-faq__mark { flex: none; color: var(--blue); font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] > .cmt-faq__q .cmt-faq__mark { transform: rotate(45deg); }
.cmt-faq__a { padding-bottom: 22px; font-size: 15px; }

.cmt-cta { padding-block: 0 clamp(56px, 7vw, 96px); background: var(--white); }
.cmt-cta__band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 60px); border-radius: 14px; background: var(--blue); }
.cmt-cta__title { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.cmt-cta__text { max-width: 620px; margin-top: 12px; color: #fff; font-size: 16px; }
.cmt-cta__btn { flex: none; border-color: #fff; background: #fff; color: var(--blue); }
.cmt-cta__btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.cmt-section + .cmt-cta, .cmt-band--soft + .cmt-cta { padding-top: clamp(56px, 7vw, 96px); }

/* ════════════════════════════════════════════════════════════════════
   5 · The gallery
   ════════════════════════════════════════════════════════════════════ */

.cmt-featured { padding-bottom: clamp(16px, 2vw, 32px); }
.cmt-featured__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cmt-featured__title { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
.cmt-featured__text { max-width: 480px; margin: 20px 0 30px; }
.cmt-featured__media { position: relative; padding-bottom: 8%; padding-left: 8%; }
.cmt-featured__photo { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 10px 10px 10px 34%; }
.cmt-featured__inset { position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 1 / 1; overflow: hidden; border: 8px solid var(--white); border-radius: 50%; background: var(--white); }

.cmt-projects__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cmt-pcard { display: block; overflow: hidden; border-radius: 8px; background: var(--navy); }
.cmt-pcard__photo { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--line); }
.cmt-pcard__photo .cmt-img { transition: transform .3s; }
.cmt-pcard:hover .cmt-img { transform: scale(var(--zoom, 1.05)); }
.cmt-pcard__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(12, 19, 48, .62); color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 700; opacity: 0; transition: opacity .2s; }
.cmt-pcard:hover .cmt-pcard__more, .cmt-pcard:focus-visible .cmt-pcard__more { opacity: 1; }
.cmt-pcard__bar { display: block; padding: 14px 12px; text-align: center; }
.cmt-pcard__name { display: block; color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.3; }
.cmt-projects__btn { margin-top: 30px; }

.cmt-project__back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 22px; color: var(--blue); font-size: 14px; font-weight: 500; }
.cmt-project__back::before { content: "←"; margin-right: 8px; }
.cmt-project__back:hover { color: var(--blue-hover); text-decoration: underline; }
.cmt-project__title { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.cmt-project__place { margin-top: 10px; font-weight: 500; }
.cmt-project__text { max-width: 720px; margin-top: 16px; }
.cmt-project__pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.cmt-project__pairs.is-single { grid-template-columns: minmax(0, 860px); }
.cmt-project__label { justify-self: start; padding: 6px 16px; border-radius: 4px; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cmt-project__label--a { background: var(--blue); }
.cmt-project__photo, .cmt-project__wphoto { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--soft); }
.cmt-project__photo a, .cmt-project__wphoto a { display: block; width: 100%; height: 100%; }
.cmt-project__wlabel { margin: 56px 0 22px; font-size: clamp(24px, 3vw, 34px); }
.cmt-project__work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* ════════════════════════════════════════════════════════════════════
   6 · The team and the area
   ════════════════════════════════════════════════════════════════════ */

.cmt-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 270px)); justify-content: center; gap: 30px; }
.cmt-team__photo { aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: 8px; background: var(--soft); }
.cmt-team__blank { display: grid; place-items: center; width: 100%; height: 100%; color: #8A94A6; }
.cmt-team__name { margin-top: 16px; font-size: 19px; text-align: center; letter-spacing: -.01em; }
.cmt-team__role { margin-top: 3px; font-size: 14px; text-align: center; }

.cmt-areas__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cmt-areas .cmt-title { margin-bottom: 18px; }
.cmt-areas__towns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cmt-areas__town { padding: 7px 14px; border-radius: 99px; background: var(--tint); color: var(--ink); font-size: 14px; }

/* ════════════════════════════════════════════════════════════════════
   7 · The quote form
   ════════════════════════════════════════════════════════════════════ */

.cmt-brief .cmt-title { margin-bottom: 32px; }
.cmt-brief__in { max-width: 860px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.cmt-brief__steps { display: flex; gap: 8px 26px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.cmt-brief__step { color: var(--body); font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.cmt-brief__step.is-now { color: var(--blue); }
.cmt-brief__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.cmt-field { display: block; margin-bottom: 20px; }
.cmt-field__label { color: var(--ink); font-size: 14px; font-weight: 600; }
.cmt-field__req { color: var(--blue); }
.cmt-field__input { display: block; width: 100%; min-height: 52px; margin-top: 7px; padding: 12px 14px; border: 1px solid #A9B2C2; border-radius: 6px; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.4; }
.cmt-field__input::placeholder { color: #667085; }
.cmt-field__input:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px rgba(0, 0, 255, .16); }
.cmt-brief__set { margin: 0 0 20px; padding: 0; border: 0; }
.cmt-brief__set legend { padding: 0; }
.cmt-brief__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 9px; }
.cmt-choice { position: relative; display: block; cursor: pointer; }
.cmt-choice__input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cmt-choice__box { display: flex; align-items: center; min-height: 54px; padding: 12px 14px; border: 1px solid #A9B2C2; border-radius: 6px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.3; transition: border-color .15s, background-color .15s; }
.cmt-choice__input:checked + .cmt-choice__box { border-color: var(--blue); background: var(--tint); box-shadow: inset 0 0 0 1px var(--blue); }
.cmt-choice__input:focus-visible + .cmt-choice__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.cmt-brief__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
.cmt-brief__back { min-height: 48px; padding: 10px 6px; border: 0 solid transparent; color: var(--ink); font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.cmt-brief__back:hover { color: var(--blue); }
.cmt-brief__msg { color: #B42318; font-size: 14px; }
.cmt-brief__msg:not(:empty) { margin-bottom: 14px; }
.cmt-brief__privacy { margin-top: 18px; font-size: 13px; }
.cmt-brief__plink { text-decoration: underline; }
.cmt-brief__ttitle { font-size: 28px; }
.cmt-brief__ttext { margin-top: 10px; }
.cmt-brief__tref { margin-top: 14px; font-size: 14px; }
.cmt-brief__thanks:focus { outline: 0; }

/* ════════════════════════════════════════════════════════════════════
   8 · Text pages, 404, footer
   ════════════════════════════════════════════════════════════════════ */

.cmt-prose { max-width: 780px; }
.cmt-prose h2, .cmt-prose h3 { margin: 34px 0 10px; font-size: 22px; letter-spacing: -.01em; }
.cmt-prose p, .cmt-prose li { margin-bottom: 14px; }
.cmt-prose a { color: var(--blue); text-decoration: underline; }
.cmt-prose ul { padding-left: 20px; list-style: disc; }
.cmt-results li { border-bottom: 1px solid var(--line); }
.cmt-results a { display: block; padding-block: 18px; }
.cmt-results b { display: block; color: var(--ink); font-family: var(--font-display); }

.cmt-404__title { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.03em; }
.cmt-404__lead { max-width: 600px; margin: 18px 0 30px; font-size: 18px; }

.cmt-footer { padding-block: 72px 30px; background: var(--navy); color: var(--on-dark); }
.cmt-footer__grid { display: grid; grid-template-columns: 1.5fr 1.4fr .8fr 1fr; gap: 44px; }
.cmt-footer .cmt-brand__name { color: #fff; }
.cmt-footer .cmt-brand__em { color: var(--lift); }
.cmt-footer__about { max-width: 340px; margin-top: 14px; font-size: 14px; }
.cmt-footer__slogan { margin-top: 14px; color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cmt-footer__h { margin-bottom: 16px; color: #fff; font-size: 14px; letter-spacing: .02em; }
.cmt-footer__list { display: grid; gap: 4px; }
.cmt-footer__link { display: inline-flex; align-items: center; min-height: 34px; color: var(--on-dark); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
a.cmt-footer__link:hover { color: #fff; text-decoration: underline; }
.cmt-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
.cmt-footer__copy { font-size: 13px; }
.cmt-footer__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.cmt-footer__small, .cmt-footer__top { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--on-dark); font-size: 13px; }
.cmt-footer__small:hover, .cmt-footer__top:hover { color: #fff; text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════
   9 · Smaller screens
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 1120px) {
	.cmt-header__in { justify-content: space-between; gap: 14px; min-height: 72px; }
	.cmt-burger { display: flex; }
	.cmt-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px var(--side) 22px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 20px 30px -22px rgba(17, 24, 39, .4); }
	.cmt-nav.is-open { display: flex; }
	.cmt-nav__link { min-height: 50px; font-size: 16px; }
	.cmt-nav__link::after { display: none; }
	.cmt-nav__link--drop::before { display: none; }
	.cmt-nav__menu { position: static; min-width: 0; padding: 0 0 8px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; }
	.cmt-nav__sub { padding: 10px 0; }
	.cmt-header__tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.cmt-header__tel { justify-content: center; width: 46px; border: 1px solid var(--line); border-radius: 6px; }
	.cmt-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.cmt-service__in, .cmt-faq__in, .cmt-split__in, .cmt-featured__in, .cmt-areas__in { grid-template-columns: minmax(0, 1fr); }
	.is-flipped .cmt-split__photo { order: 0; }
	.cmt-services__grid, .cmt-cards__grid, .cmt-reach__grid, .cmt-reviews__grid { grid-template-columns: minmax(0, 1fr); }
	.cmt-audience__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cmt-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cmt-projects__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cmt-cta__band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	body { --side: 20px; }
	html { scroll-padding-top: 84px; }
	.cmt-hero { min-height: 600px; }
	.cmt-hero__shade, .cmt-pagehead__shade { background: linear-gradient(180deg, rgba(12, 19, 48, .92) 0%, rgba(12, 19, 48, .88) 70%, rgba(12, 19, 48, .6) 100%); }
	.cmt-hero__in { padding-block: 64px; }
	.cmt-hero__lead, .cmt-pagehead__lead { font-size: 16px; }
	.cmt-actions .cmt-btn { width: 100%; }
	.cmt-header__btn { display: none; }
	.cmt-btn { width: 100%; }
	.cmt-header .cmt-btn { width: auto; }
	.cmt-audience__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cmt-compare__grid, .cmt-brief__row, .cmt-brief__choices { grid-template-columns: minmax(0, 1fr); }
	.cmt-process__grid { grid-template-columns: minmax(0, 1fr); }
	.cmt-service__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.cmt-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cmt-project__pairs { gap: 6px; }
	.cmt-project__work { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.cmt-pcard__name { font-size: 14px; }
	.cmt-card { padding: 26px; }
	.cmt-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.cmt-brief__actions .cmt-btn { width: auto; }
}

/* In the editor: the bar stays put and every step of the form shows, so each can be styled. */
.cmt-editing .cmt-part--header { position: relative; top: auto; }

@media (hover: none) {
	a.cmt-card:hover { transform: none; }
}

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