/*! Zao Construction main stylesheet. Mobile-first. Blueprint-inspired. */

/* ---------- 1. Design tokens ---------- */
:root {
	--c-navy: #0E2740;
	--c-navy-deep: #091C30;
	--c-blue: #245589;
	--c-orange: #F26A1B;
	--c-orange-hover: #FF7F36;
	--c-orange-text: #C2410C;
	--c-ink: #1D2935;
	--c-muted: #566472;
	--c-paper: #F2F4F5;
	--c-line: #D5DADF;
	--c-white: #fff;
	--c-ok: #17703F;
	--c-err: #B3261E;

	--ff-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--ff-body: Barlow, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
	--s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 6.5rem;

	--radius: 2px;
	--container: 1200px;
	--content: 760px;
	--header-h: 72px;
	--grid-line: rgba(255, 255, 255, .07);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; font-family: var(--ff-body); font-size: 1.0625rem; line-height: 1.65; color: var(--c-ink); background: var(--c-white); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
iframe { max-width: 100%; border: 0; }
a { color: var(--c-blue); text-underline-offset: .2em; }
a:hover { color: var(--c-navy); }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s6) 0; }

h1, h2, h3, h4, h5, h6, .h3 { font-family: var(--ff-head); font-weight: 700; line-height: 1.05; color: var(--c-navy); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3, .h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: .75rem 1.25rem; background: var(--c-white); color: var(--c-navy); z-index: 100000; top: 8px; left: 8px; box-shadow: 0 0 0 3px var(--c-orange); }
.skip-link:focus { position: fixed; }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: var(--content); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--paper { background: var(--c-paper); }
.section--navy { background: var(--c-navy); color: #DCE5EE; }
.section--navy h2, .section--navy h3 { color: var(--c-white); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: var(--s6); } }

.layout--sidebar { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; } }

.section-head { max-width: 40rem; margin-bottom: var(--s7); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); }
.section-head--split > div { max-width: 40rem; }
.section-title { margin-bottom: .35em; }
.section-title::after { content: ""; display: block; width: 64px; height: 12px; margin-top: .6rem; border-left: 2px solid var(--c-orange); border-right: 2px solid var(--c-orange); background: linear-gradient(var(--c-orange), var(--c-orange)) center / 100% 2px no-repeat; }
.section-intro { font-size: 1.1875rem; color: var(--c-muted); }
.section--navy .section-intro { color: #B8C7D6; }

/* ---------- 4. Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.5rem; min-height: 48px; font: 600 1rem/1.2 var(--ff-body); text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--c-orange); color: var(--c-navy); }
.btn--primary:hover { background: var(--c-orange-hover); color: var(--c-navy); }
.btn--dark { background: var(--c-navy); color: var(--c-white); }
.btn--dark:hover { background: var(--c-blue); color: var(--c-white); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--c-white); }
.btn--ghost:hover { background: var(--c-white); color: var(--c-navy); }
.btn--outline { border-color: var(--c-navy); color: var(--c-navy); }
.btn--outline:hover { background: var(--c-navy); color: var(--c-white); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ---------- 5. Top bar, header, navigation ---------- */
.topbar { display: none; background: var(--c-navy-deep); color: #C5D2DF; font-size: .9rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--c-white); text-decoration: underline; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); min-height: 40px; }
.topbar__list, .social-links { display: flex; flex-wrap: wrap; gap: .25rem var(--s5); list-style: none; margin: 0; padding: 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner { display: flex; align-items: center; gap: var(--s3); min-height: var(--header-h); }
.site-branding { margin-right: auto; }
.site-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--c-navy); }
.site-logo__img { max-height: 48px; width: auto; }
.site-logo__mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--c-navy); color: var(--c-orange); font: 700 1.7rem/1 var(--ff-head); border-bottom: 4px solid var(--c-orange); }
.site-logo__text { font: 700 1.55rem/1 var(--ff-head); letter-spacing: .01em; }

.header-call, .nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: var(--c-navy); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s, background-color .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; background: var(--c-white); padding: var(--s5) 1rem var(--s7); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
.main-nav.is-open { transform: none; visibility: visible; }
body.nav-open { overflow: hidden; }
.main-nav .menu, .footer-menu { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.main-nav .menu a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--c-line); font: 600 1.35rem/1.2 var(--ff-head); color: var(--c-navy); text-decoration: none; }
.main-nav .sub-menu { list-style: none; padding-left: 1rem; }
.main-nav .current-menu-item > a, .main-nav .menu a:hover { color: var(--c-orange-text); }
.main-nav__cta { width: 100%; }

@media (min-width: 1024px) {
	.topbar { display: block; }
	.header-call, .nav-toggle { display: none; }
	.main-nav { position: static; inset: auto; padding: 0; overflow: visible; transform: none; visibility: visible; background: none; display: flex; align-items: center; gap: var(--s5); }
	.main-nav .menu { display: flex; gap: var(--s5); margin: 0; }
	.main-nav .menu a { padding: .5rem 0; border: 0; font: 600 1.0625rem/1 var(--ff-body); border-bottom: 3px solid transparent; }
	.main-nav .menu a:hover, .main-nav .current-menu-item > a { border-bottom-color: var(--c-orange); color: var(--c-navy); }
	.main-nav .menu > li { position: relative; }
	.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 220px; margin: 0; padding: .5rem 0; background: var(--c-white); border: 1px solid var(--c-line); border-top: 3px solid var(--c-orange); z-index: 10; }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
	.main-nav .sub-menu a { padding: .6rem 1rem; border: 0; font-weight: 500; }
	.main-nav__cta { width: auto; }
}

/* ---------- 6. Hero (blueprint grid + dimension line) ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(86svh, 780px); padding-top: var(--s8); color: var(--c-white); background-color: var(--c-navy); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 48px 48px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 39, 64, .94) 0%, rgba(14, 39, 64, .72) 55%, rgba(14, 39, 64, .4) 100%); }
.hero:not(.hero--photo) .hero__overlay { background: linear-gradient(180deg, transparent 50%, rgba(9, 28, 48, .7)); }
.hero__inner { padding-bottom: var(--s7); }
.hero__title { max-width: 14ch; color: var(--c-white); margin-bottom: .3em; }
.hero__text { max-width: 36rem; font-size: 1.25rem; color: #D6E1EC; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.dimline { display: flex; align-items: center; gap: var(--s4); margin: 0 0 var(--s5); color: #C5D2DF; font-size: .95rem; }
.dimline::before, .dimline::after { content: ""; flex: 1; height: 14px; border-left: 1px solid rgba(255, 255, 255, .5); border-right: 1px solid rgba(255, 255, 255, .5); background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) center / 100% 1px no-repeat; }
.dimline span { white-space: nowrap; }

/* ---------- 7. Services ---------- */
.service { padding: var(--s5) 0 0; border-top: 2px solid var(--c-navy); }
.service__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s4); background: var(--c-navy); color: var(--c-orange); }
.service__title { font-size: 1.55rem; }
.service p { color: var(--c-muted); margin: 0; }

/* ---------- 8. Cards ---------- */
.card { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-line); }
.card__media { display: block; overflow: hidden; background: var(--c-paper); aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s5); }
.card__title { font-size: 1.55rem; margin-bottom: .4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-color: var(--c-orange); text-decoration-thickness: 3px; }
.card__text { color: var(--c-muted); }
.card__link { margin-top: auto; font-weight: 600; }
.meta { display: flex; flex-wrap: wrap; gap: .15rem var(--s4); margin: 0 0 .6rem; font-size: .9375rem; color: var(--c-muted); }
.meta__item + .meta__item { padding-left: var(--s4); border-left: 1px solid var(--c-line); }

.project-card { position: relative; background: var(--c-white); }
.project-card__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-navy); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-orange); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 32px 32px; }
.project-card__body { padding-top: var(--s4); }
.project-card__cat { margin: 0 0 .2rem; font-weight: 600; font-size: .9375rem; color: var(--c-orange-text); }
.project-card__title { font-size: 1.6rem; margin-bottom: .2em; }
.project-card__title a { color: inherit; text-decoration: none; }
.project-card__title a::after { content: ""; position: absolute; inset: 0; }
.project-card__title a:hover { text-decoration: underline; text-decoration-color: var(--c-orange); text-decoration-thickness: 3px; }

.pills ul { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0 0 var(--s6); padding: 0; }
.pills a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-navy); font-weight: 500; text-decoration: none; background: var(--c-white); }
.pills a:hover { border-color: var(--c-navy); }
.pills a[aria-current="page"] { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }

/* ---------- 9. About ---------- */
.about { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.about__media img, .about__placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__placeholder { display: grid; place-items: center; color: var(--c-orange); background-color: var(--c-navy); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 32px 32px; }
.about__media { position: relative; }
.about__media::after { content: ""; position: absolute; right: -12px; bottom: -12px; width: 40%; height: 40%; border-right: 4px solid var(--c-orange); border-bottom: 4px solid var(--c-orange); pointer-events: none; }
.checklist { list-style: none; margin: var(--s5) 0; padding: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { flex: none; margin-top: .2rem; color: var(--c-orange-text); stroke-width: 2.4; }
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); margin: var(--s8) 0 0; padding-top: var(--s6); border-top: 2px solid var(--c-navy); }
@media (min-width: 800px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figures__item { display: flex; flex-direction: column-reverse; }
.figures__value { margin: 0; font: 700 clamp(2.4rem, 5vw, 3.5rem)/1 var(--ff-head); color: var(--c-navy); }
.figures__label { color: var(--c-muted); }

/* ---------- 10. Testimonials (scroll-snap, no JS) ---------- */
.testimonials { display: flex; gap: var(--s5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s4); -webkit-overflow-scrolling: touch; }
.testimonial { flex: 0 0 min(88%, 400px); scroll-snap-align: start; margin: 0; padding: var(--s5) 0 0 var(--s5); border-left: 4px solid var(--c-orange); display: flex; flex-direction: column; }
.testimonial__stars { margin: 0 0 var(--s3); color: var(--c-orange); letter-spacing: .15em; font-size: 1.1rem; }
.testimonial__quote { margin: 0 0 var(--s4); font-size: 1.2rem; color: var(--c-white); }
.testimonial__quote p:last-child { margin: 0; }
.testimonial__who { margin-top: auto; display: flex; flex-direction: column; color: #B8C7D6; }
.testimonial__who strong { color: var(--c-white); font-weight: 600; }
@media (min-width: 1024px) { .testimonial { flex-basis: calc((100% - 2 * var(--s5)) / 3); } }
.testimonials:focus-visible { outline-offset: 6px; }

/* ---------- 11. Call to action ---------- */
.cta { background-color: var(--c-orange); color: var(--c-navy); padding-block: var(--s7); }
.cta__inner { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1fr auto; } }
.cta__title { margin-bottom: .2em; }
.cta p { margin: 0; font-size: 1.1875rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.cta .btn--primary { background: var(--c-navy); color: var(--c-white); }
.cta .btn--primary:hover { background: var(--c-navy-deep); color: var(--c-white); }
.cta .btn--ghost { border-color: var(--c-navy); color: var(--c-navy); }
.cta .btn--ghost:hover { background: var(--c-navy); color: var(--c-white); }

/* ---------- 12. Contact and forms ---------- */
.contact { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.1fr; gap: var(--s8); align-items: start; } }
.contact-details { margin: var(--s5) 0; display: grid; gap: var(--s4); }
.contact-details dt { font-weight: 600; color: var(--c-navy); }
.contact-details dd { margin: 0; }
.map { margin-top: var(--s5); border: 1px solid var(--c-line); }
.map iframe { width: 100%; height: 280px; }
.contact__form { background: var(--c-white); padding: clamp(1.25rem, 4vw, 2.5rem); border-top: 4px solid var(--c-navy); }
.form__row { margin-bottom: var(--s4); }
.form__grid { display: grid; gap: 0 var(--s4); }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form label, .comment-form label { display: block; margin-bottom: .3rem; font-weight: 600; color: var(--c-navy); }
.req { font-weight: 400; color: var(--c-muted); font-size: .875rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], select, textarea { width: 100%; padding: .75rem .9rem; min-height: 48px; font: inherit; color: var(--c-ink); background: var(--c-white); border: 1px solid #8895A2; border-radius: var(--radius); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--c-orange); outline-offset: 1px; border-color: var(--c-navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin-bottom: var(--s5); padding: var(--s4); border-left: 4px solid; font-weight: 500; }
.notice--ok { background: #E6F4EC; border-color: var(--c-ok); color: #0E4D2B; }
.notice--error { background: #FCEBEA; border-color: var(--c-err); color: #7A1A14; }

.search-form { display: flex; gap: var(--s2); margin-bottom: var(--s5); }
.search-form__field { flex: 1; min-width: 0; }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--c-navy-deep); color: #B8C7D6; }
.site-footer a { color: #DCE5EE; }
.site-footer a:hover { color: var(--c-orange); }
.site-footer__grid { display: grid; gap: var(--s7); padding-block: var(--s8) var(--s7); }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .site-logo { color: var(--c-white); margin-bottom: var(--s4); }
.site-footer .site-logo__mark { background: var(--c-orange); color: var(--c-navy); border-color: var(--c-white); }
.site-footer .widget__title { color: var(--c-white); font-size: 1.35rem; }
.footer-menu li { margin-bottom: .5rem; }
.contact-list { font-style: normal; }
.contact-list p { margin-bottom: .6rem; }
.social-links--footer { margin-top: var(--s4); }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9375rem; }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); padding-block: var(--s4); }
.site-footer__bar p { margin: 0; }

.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .85rem; background: #1F9D55; color: #fff; font-weight: 600; text-decoration: none; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.whatsapp-float:hover { background: #17803f; color: #fff; }
.whatsapp-float > span:not(.screen-reader-text) { display: none; }
@media (min-width: 640px) { .whatsapp-float { padding: .8rem 1.2rem; } .whatsapp-float > span:not(.screen-reader-text) { display: inline; } }

/* ---------- 14. Inner pages ---------- */
.page-hero { background-color: var(--c-navy); color: var(--c-white); padding-block: clamp(2.5rem, 7vw, 4.5rem); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 48px 48px; border-bottom: 4px solid var(--c-orange); }
.page-hero__title { color: var(--c-white); margin: 0; max-width: 22ch; font-size: clamp(2.2rem, 5.5vw, 3.75rem); }
.page-hero__sub { margin: .75rem 0 0; max-width: 40rem; font-size: 1.1875rem; color: #C5D2DF; }

.entry-content { font-size: 1.125rem; }
.entry-content > * { margin-block: 0 1.4em; }
.page .entry-content > *, .page-template .entry-content > * { width: min(100% - 2rem, var(--content)); margin-inline: auto; }
.page .entry-content > .alignwide { width: min(100% - 2rem, var(--container)); }
.page .entry-content > .alignfull { width: 100%; max-width: none; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { height: auto; }
.entry-content figcaption, .wp-caption-text { font-size: .9375rem; color: var(--c-muted); }
.entry-content blockquote { margin-inline: 0; padding-left: var(--s5); border-left: 4px solid var(--c-orange); font-size: 1.25rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .6rem .8rem; border: 1px solid var(--c-line); text-align: left; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-block-button__link { font-weight: 600; }
.entry-figure { margin: 0 0 var(--s6); }
.entry-footer { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--c-line); }
.page-links { margin: var(--s5) auto; text-align: center; }

.pagination, .post-navigation { margin-top: var(--s7); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.page-numbers { display: inline-block; min-width: 44px; padding: .55rem .9rem; border: 1px solid var(--c-line); text-align: center; text-decoration: none; color: var(--c-navy); font-weight: 500; }
.page-numbers.current, .page-numbers:hover { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: var(--s5); }
.post-navigation a { font: 600 1.3rem/1.2 var(--ff-head); color: var(--c-navy); text-decoration: none; }
.post-navigation a:hover { color: var(--c-orange-text); }

.sidebar .widget { margin-bottom: var(--s6); }
.widget__title { font-size: 1.4rem; padding-bottom: .4rem; border-bottom: 2px solid var(--c-navy); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: .45rem 0; border-bottom: 1px solid var(--c-line); }
.widget a { text-decoration: none; }
.widget--cta { padding: var(--s5); background: var(--c-navy); color: #D6E1EC; }
.widget--cta .widget__title { color: var(--c-white); border-color: var(--c-orange); }

.empty, .notfound { text-align: left; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

/* ---------- 15. Single project ---------- */
.project-layout { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .project-layout { grid-template-columns: minmax(0, 1fr) 340px; } .project-layout__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; } }
.spec { background: var(--c-paper); padding: var(--s5); border-top: 4px solid var(--c-orange); }
.spec__title { font-size: 1.5rem; }
.spec__list { margin: 0 0 var(--s5); }
.spec__row { display: flex; justify-content: space-between; gap: var(--s4); padding: .6rem 0; border-bottom: 1px solid var(--c-line); }
.spec__row dt { color: var(--c-muted); }
.spec__row dd { margin: 0; font-weight: 600; text-align: right; }
.project-gallery { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (min-width: 640px) { .project-gallery { grid-template-columns: repeat(3, 1fr); } }
.project-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-paper); }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.project-gallery a:hover img { transform: scale(1.05); }

.lightbox { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(9, 28, 48, .92); }
.lightbox img { max-width: 100%; max-height: 88vh; margin: auto; object-fit: contain; }
.lightbox__close { position: absolute; top: -44px; right: 0; width: 44px; height: 44px; font-size: 2rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }

/* ---------- 16. Comments ---------- */
.comments { margin-top: var(--s7); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: var(--s5); }
.comment-body { padding: var(--s4) 0; border-bottom: 1px solid var(--c-line); }
.comment-meta { font-size: .9375rem; color: var(--c-muted); }
.comment-form input[type="submit"] { padding: .8rem 1.5rem; background: var(--c-orange); color: var(--c-navy); font-weight: 600; border: 0; cursor: pointer; }

/* ---------- 17. Accessibility, motion, print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header, .site-footer, .whatsapp-float, .cta, .contact__form { display: none !important; }
	body { color: #000; }
}

/* ======================================================================
   Home page upgrade: trust band, process, projects, video, testimonials,
   FAQ, mobile action bar
   ====================================================================== */

/* Trust band (key figures + credentials) */
.trust { background: var(--c-paper); border-bottom: 1px solid var(--c-line); padding-block: var(--s6); }
.trust .figures { margin: 0; padding: 0; border: 0; gap: var(--s5) 0; }
.trust .figures__item { padding: 0 var(--s5); border-left: 1px solid var(--c-line); }
.trust .figures__item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 799px) { .trust .figures__item:nth-child(odd) { border-left: 0; padding-left: 0; } }
.credentials { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); list-style: none; margin: var(--s5) 0 0; padding: var(--s4) 0 0; border-top: 1px solid var(--c-line); }
.credentials li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--c-navy); }
.credentials .icon { color: var(--c-orange-text); stroke-width: 2.4; }

/* Process (numbered, because it is a real sequence) */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6); counter-reset: step; }
.process__step { position: relative; counter-increment: step; padding-top: var(--s5); border-top: 2px solid var(--c-navy); }
.process__step::before { content: counter(step); position: absolute; top: -1.45rem; left: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--c-orange); color: var(--c-navy); font: 700 1.5rem/1 var(--ff-head); }
.process__title { font-size: 1.55rem; padding-top: var(--s2); }
.process__step p { color: var(--c-muted); margin: 0; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); gap: var(--s7) var(--s6); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(4, 1fr); gap: var(--s6); } }

/* Projects: filter, badge, specs */
.pills button { padding: .45rem 1rem; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-white); color: var(--c-navy); font: 500 1rem/1.4 var(--ff-body); cursor: pointer; }
.pills button:hover { border-color: var(--c-navy); }
.pills button[aria-pressed="true"] { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }
.pills[hidden] { display: none; }
.badge { position: absolute; top: var(--s3); left: 0; z-index: 2; padding: .3rem .8rem; font: 600 .9375rem/1.2 var(--ff-body); background: var(--c-white); color: var(--c-navy); border-left: 4px solid var(--c-blue); pointer-events: none; }
.badge--ongoing { border-left-color: var(--c-orange); }
.project-card__specs { display: flex; flex-wrap: wrap; gap: .25rem var(--s4); list-style: none; margin: .6rem 0 0; padding: .6rem 0 0; border-top: 1px solid var(--c-line); font-size: .9375rem; color: var(--c-ink); }
.project-card__specs li { display: inline-flex; align-items: center; gap: .4rem; }
.project-card__specs .icon { color: var(--c-blue); }
@media (min-width: 960px) {
	.projects-grid > .project-card:first-child { grid-column: span 2; }
	.projects-grid > .project-card:first-child .project-card__media { aspect-ratio: 16 / 9; }
}

/* Video (click to load) */
.video { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .video { grid-template-columns: 1fr 1.5fr; gap: var(--s8); } }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--c-navy-deep); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video__play { position: absolute; inset: 0; display: block; }
.video__play img { width: 100%; height: 100%; object-fit: cover; }
.video__play::after { content: ""; position: absolute; inset: 0; background: rgba(9, 28, 48, .35); transition: background-color .2s; }
.video__play:hover::after { background: rgba(9, 28, 48, .15); }
.video__button { position: absolute; z-index: 1; top: 50%; left: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--c-orange); }
.video__button::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--c-navy); }
.video__play:focus-visible { outline-offset: -6px; }

/* About quote */
.about__quote { margin: var(--s4) 0 0; padding: var(--s4) var(--s5); background: var(--c-navy); color: var(--c-white); border-left: 4px solid var(--c-orange); }
.about__quote blockquote { margin: 0; font: 600 1.5rem/1.25 var(--ff-head); }
.about__quote p { margin: 0; }
.about__quote figcaption { margin-top: .5rem; font-size: .9375rem; color: #B8C7D6; }
@media (min-width: 900px) { .about__quote { position: absolute; left: -1.5rem; bottom: -1.5rem; max-width: 80%; margin: 0; } }

/* Testimonials: rating summary, carousel controls, author row */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem var(--s3); margin: 0; color: #B8C7D6; }
.rating-summary__score { font: 700 2.2rem/1 var(--ff-head); color: var(--c-white); }
.rating-summary__stars { color: var(--c-orange); letter-spacing: .1em; }
.carousel-controls { display: flex; gap: var(--s2); }
.carousel-controls[hidden] { display: none; }
.carousel-controls__btn { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 2px solid rgba(255, 255, 255, .5); color: var(--c-white); font-size: 1.8rem; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.carousel-controls__btn:hover { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-navy); }
.testimonials { scrollbar-width: thin; scrollbar-color: var(--c-orange) transparent; }
.testimonial__who { flex-direction: row; align-items: center; gap: var(--s3); padding-top: var(--s4); }
.testimonial__who > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.testimonial__avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--c-orange); color: var(--c-navy); font: 700 1.4rem/1 var(--ff-head); }
.testimonial__role, .testimonial__source { font-size: .9375rem; }
.testimonial__source { color: var(--c-orange); }

/* FAQ */
.faq { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1.6fr; gap: var(--s8); align-items: start; } }
.faq__areas-title { margin-top: var(--s6); font-size: 1.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.chips li { padding: .35rem .9rem; background: var(--c-white); border: 1px solid var(--c-line); border-left: 3px solid var(--c-orange); color: var(--c-navy); font-weight: 500; }
.faq__item { background: var(--c-white); border: 1px solid var(--c-line); border-left: 4px solid var(--c-navy); margin-bottom: var(--s3); }
.faq__item[open] { border-left-color: var(--c-orange); }
.faq__item summary { position: relative; padding: 1rem 3.25rem 1rem 1.25rem; font: 600 1.35rem/1.2 var(--ff-head); color: var(--c-navy); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--ff-body); color: var(--c-orange-text); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--c-muted); }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 767px) {
	.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; background: var(--c-navy); border-top: 3px solid var(--c-orange); padding-bottom: env(safe-area-inset-bottom, 0); }
	.action-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 54px; padding: .5rem; color: var(--c-white); font-weight: 600; text-decoration: none; border-left: 1px solid rgba(255, 255, 255, .15); }
	.action-bar a:first-child { border-left: 0; }
	.action-bar .action-bar__quote { background: var(--c-orange); color: var(--c-navy); }
	body { padding-bottom: 60px; }
	.whatsapp-float { display: none; }
}

/* ======================================================================
   Site photos and certificates
   ====================================================================== */
.registrations { display: grid; gap: var(--s5); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--c-line); align-items: center; }
.trust .credentials { margin: 0; padding: 0; border: 0; flex-direction: column; align-items: flex-start; }
@media (min-width: 900px) { .registrations { grid-template-columns: 1fr auto; } }
.certs { display: flex; gap: var(--s4); list-style: none; margin: 0; padding: 0; }
.certs a { display: block; width: 150px; text-decoration: none; color: var(--c-navy); font-size: .9375rem; font-weight: 500; }
.certs img { width: 100%; height: auto; border: 1px solid var(--c-line); background: var(--c-white); transition: border-color .15s; }
.certs a:hover img { border-color: var(--c-orange); }
.certs span { display: block; margin-top: .35rem; line-height: 1.3; }

.mosaic { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.mosaic figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
.mosaic a { display: block; flex: 1; overflow: hidden; background: var(--c-navy); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic a:hover img { transform: scale(1.03); }
.mosaic figcaption { padding-top: .5rem; font-size: .9375rem; color: var(--c-muted); }
.mosaic li { min-height: 0; }
@media (max-width: 639px) { .mosaic img { aspect-ratio: 4 / 3; } .mosaic li:nth-child(2) img { aspect-ratio: 4 / 5; } }
@media (min-width: 640px) {
	.mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); }
	.mosaic li:nth-child(1) { grid-column: span 2; }
	.mosaic li:nth-child(2) { grid-row: span 2; }
	.mosaic li:nth-child(3) { grid-column: span 2; }
	.mosaic li:nth-child(n+4) { grid-column: span 1; }
}
.js-lightbox a:focus-visible { outline-offset: -4px; }
