/* ==========================================================================
   Swarajya Construction – main stylesheet
   Palette taken from the logo: saffron tower, sindoor wordmark, roof blue.
   ========================================================================== */

:root {
	--saffron: #f68712;
	--sindoor: #f14623;
	--sindoor-deep: #c9341a;
	--roof: #3871c2;
	--roof-light: #8fb4ea;
	--navy: #102542;
	--navy-deep: #0a1a31;
	--ink: #1a2432;
	--muted: #556173;
	--concrete: #eef1f5;
	--line: #d6dce5;
	--white: #fff;

	--font-display: "Rajdhani", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-body: "Mukta", "Segoe UI", system-ui, sans-serif;

	--wrap: 1220px;
	--gutter: clamp(1.1rem, 4vw, 2rem);
	--section: clamp(4rem, 9vw, 7rem);
	--radius: 6px;
	--header-h: 96px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--roof); text-underline-offset: 3px; }
a:hover { color: var(--sindoor-deep); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.08;
	color: var(--navy);
	margin: 0 0 .5em;
	letter-spacing: -.005em;
}

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 8px; left: 8px;
	padding: .6rem 1rem; background: var(--white); color: var(--navy);
}

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .7rem 1.4rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn .swc-icon { width: 18px; height: 18px; }
.btn--primary { background: var(--sindoor-deep); color: var(--white); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--saffron); color: var(--navy-deep); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }
.btn--whatsapp { background: #1f9d55; color: var(--white); margin-top: 1rem; }
.btn--whatsapp:hover { background: #157a41; color: var(--white); }
.btn--block { width: 100%; }

.link-arrow {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--sindoor-deep);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}
.link-arrow:hover { color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #c6d0de; font-size: .9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar a { color: inherit; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--saffron); }
.topbar .swc-icon { width: 15px; height: 15px; color: var(--saffron); }
.social-links { display: flex; gap: .35rem; }
.social-links a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; }
.social-links a:hover { color: var(--saffron); background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(16,37,66,.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.site-branding .custom-logo { width: auto; height: 82px; transition: height .2s; }
.site-header.is-scrolled .custom-logo { height: 64px; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav .menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu a {
	display: block;
	padding: .6rem .8rem;
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--navy);
	text-decoration: none;
}
.primary-nav .menu > li > a { position: relative; }
.primary-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: .8rem; right: .8rem; bottom: .3rem;
	height: 2px;
	background: var(--saffron);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s;
}
.primary-nav .menu > li > a:hover::after,
.primary-nav .menu > .current-menu-item > a::after,
.primary-nav .menu > .current_page_item > a::after,
.primary-nav .menu > .current-menu-ancestor > a::after,
.primary-nav .menu > .current-menu-parent > a::after,
.page-template-template-service .primary-nav .menu > .menu-item-has-children:has(.sub-menu .current-menu-item) > a::after { transform: scaleX(1); }

.primary-nav .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 230px;
	list-style: none;
	margin: 0; padding: .5rem 0;
	background: var(--white);
	border-top: 3px solid var(--saffron);
	box-shadow: 0 14px 30px rgba(16,37,66,.14);
	opacity: 0; visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { font-size: 1.05rem; padding: .5rem 1.1rem; }
.primary-nav .sub-menu a:hover { background: var(--concrete); color: var(--sindoor-deep); }

.submenu-toggle {
	width: 24px; height: 24px; padding: 0;
	border: 0; background: none; cursor: pointer; color: var(--navy);
	margin-left: -.5rem;
}
.submenu-toggle::before {
	content: "";
	display: block; width: 8px; height: 8px; margin: auto;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: #dbe4f0;
	background-color: var(--navy);
	background-image:
		linear-gradient(rgba(143,180,234,.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(143,180,234,.09) 1px, transparent 1px),
		linear-gradient(rgba(143,180,234,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(143,180,234,.045) 1px, transparent 1px);
	background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
	overflow: hidden;
}
.hero--photo {
	background-image: linear-gradient(90deg, rgba(10,26,49,.94) 0%, rgba(10,26,49,.8) 50%, rgba(10,26,49,.45) 100%), var(--hero-img);
	background-size: cover;
	background-position: center;
}
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
}
.hero--photo .hero__inner { padding-block: clamp(4rem, 10vw, 8rem); align-items: center; }

.hero__tag {
	display: flex; align-items: center; gap: .75rem;
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--saffron);
	margin-bottom: 1rem;
}
.hero__tag::before { content: ""; width: 40px; height: 2px; background: currentColor; }
.hero__title {
	font-size: clamp(2.5rem, 5.4vw, 4.4rem);
	line-height: 1;
	color: var(--white);
	max-width: 14ch;
	margin-bottom: 1.25rem;
	text-wrap: balance;
}
.hero__text { font-size: 1.15rem; max-width: 56ch; color: #c6d2e2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.hero__drawing { margin-top: 2.5rem; max-width: 640px; }
.blueprint { width: 100%; height: auto; display: block; }
.blueprint .bp-fine { stroke: rgba(143,180,234,.55); }
.blueprint .bp-main { stroke: #e7eef8; }
.blueprint .bp-tower { stroke: var(--saffron); }
.blueprint .bp-roof { stroke: var(--roof-light); }
.blueprint .bp-text { font-family: var(--font-display); font-size: 13px; font-weight: 600; fill: rgba(199,214,236,.75); }
.blueprint .bp-text circle { fill: none; stroke: rgba(143,180,234,.55); }

.blueprint .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .blueprint .draw { stroke-dashoffset: 1; animation: bp-draw 1.6s cubic-bezier(.6,.05,.3,1) forwards; }
.js .blueprint .bp-fine .draw { animation-delay: .1s; }
.js .blueprint .bp-tower .draw { animation-delay: .35s; }
.js .blueprint .bp-roof .draw { animation-delay: .8s; }
.js .blueprint g.bp-main .draw { animation-delay: 1s; }
.js .blueprint .bp-text { opacity: 0; animation: bp-fade .6s 1.4s forwards; }
@keyframes bp-draw { to { stroke-dashoffset: 0; } }
@keyframes bp-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.js .blueprint .draw { animation: none; stroke-dashoffset: 0; }
	.js .blueprint .bp-text { animation: none; opacity: 1; }
}

.hero__form {
	position: relative;
	background: var(--white);
	color: var(--ink);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--radius);
	border-top: 6px solid var(--saffron);
	box-shadow: 0 30px 60px rgba(0,0,0,.28);
}
@media (min-width: 1000px) { .hero:not(.hero--photo) .hero__form { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Enquiry form ---------- */
.enquiry__title { font-size: 1.9rem; margin-bottom: .25rem; }
.enquiry__intro { color: var(--muted); font-size: 1rem; }
.enquiry__form { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 500; font-size: .95rem; color: var(--navy); }
.field input,
.field select,
.field textarea,
.search-form input[type="search"],
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: .6rem .85rem;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--roof); outline: 3px solid rgba(56,113,194,.2); outline-offset: 0; }
.field input:user-invalid { border-color: var(--sindoor-deep); }
.hp { position: absolute; left: -9999px; }

.notice { padding: .8rem 1rem; border-radius: var(--radius); font-weight: 500; }
.notice--success { background: #e6f5ec; color: #12603a; border-left: 4px solid #1f9d55; }
.notice--error { background: #fdecea; color: #8a1f0e; border-left: 4px solid var(--sindoor-deep); }

/* ---------- Stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; align-items: baseline; gap: .9rem; padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--sindoor-deep); }
.stat__label { font-weight: 500; color: var(--navy); line-height: 1.3; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-bottom: 0; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-title { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
.section-lead { font-size: 1.15rem; color: var(--muted); margin: 0; }

/* What we build */
.build-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.build-card { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius); }
.build-card--commercial { background: var(--navy); color: #c9d4e3; }
.build-card--commercial .build-card__title { color: var(--white); }
.build-card--commercial .build-card__icon { color: var(--saffron); }
.build-card--residential { background: var(--concrete); }
.build-card--residential .build-card__icon { color: var(--roof); }
.build-card__icon .swc-icon { width: 64px; height: 64px; margin-bottom: 1.25rem; }
.build-card__title { font-size: 2rem; }
.build-card__types { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.build-card__types li {
	padding: .3rem .85rem;
	border-radius: 999px;
	font-weight: 500;
	font-size: .95rem;
	border: 1.5px solid currentColor;
}
.build-card--commercial .build-card__types li { color: #e9eef6; border-color: rgba(255,255,255,.3); }
.build-card--residential .build-card__types li { color: var(--navy); border-color: #b9c4d4; background: var(--white); }

/* Design services */
.section--design { padding-top: 0; }
.design-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--navy); }
.design-item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 1.25rem;
	padding: 1.75rem 1.5rem 1.75rem 0;
	border-bottom: 1px solid var(--line);
}
.design-item:nth-child(even) { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--line); }
.design-item__icon { color: var(--roof); }
.design-item__icon .swc-icon { width: 52px; height: 52px; }
.design-item__title { font-size: 1.55rem; margin-bottom: .3rem; }
.design-item p { margin: 0; color: var(--muted); }
.design-item--feature { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; }
.design-item--feature .design-item__icon { color: var(--sindoor-deep); }

/* Turnkey band */
.turnkey { background: var(--sindoor-deep); color: #ffe9e3; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.turnkey__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.turnkey__title { color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); }
.turnkey__text p { font-size: 1.1rem; max-width: 50ch; margin-bottom: 1.75rem; }
.turnkey__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; }
.turnkey__list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--white); font-weight: 500; line-height: 1.35; }
.turnkey__list .swc-icon { flex: none; width: 22px; height: 22px; color: var(--navy-deep); background: var(--saffron); border-radius: 50%; padding: 3px; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; counter-reset: step; }
.process__step { counter-increment: step; position: relative; padding-top: 3.5rem; }
.process__step::before {
	content: counter(step, decimal-leading-zero);
	position: absolute; top: 0; left: 0;
	font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1;
	color: var(--saffron);
}
.process__step::after { content: ""; position: absolute; top: 1.3rem; left: 4rem; right: 0; height: 1px; background: var(--line); }
.process__title { font-size: 1.5rem; margin-bottom: .35rem; }
.process__step p { color: var(--muted); margin: 0; }

/* Why */
.section--why { background: var(--concrete); }
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 32px); }
.why__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2rem; }
.why__item { border-top: 3px solid var(--roof); padding-top: 1rem; }
.why__item dt { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--navy); line-height: 1.15; margin-bottom: .4rem; }
.why__item dd { margin: 0; color: var(--muted); }

/* Projects */
.section--projects { padding-top: 0; }
.project-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.project-card__media, .post-card__media {
	position: relative; display: block; aspect-ratio: 18 / 13; overflow: hidden;
	border-radius: var(--radius); background: var(--navy);
}
.project-card__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card__media:hover img, .post-card__media:hover img { transform: scale(1.04); }
.project-card__placeholder {
	display: grid; place-items: center; height: 100%;
	color: rgba(143,180,234,.6);
	background-image: linear-gradient(rgba(143,180,234,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(143,180,234,.1) 1px, transparent 1px);
	background-size: 24px 24px;
}
.project-card__placeholder .swc-icon { width: 72px; height: 72px; }
.project-card__status {
	position: absolute; left: .75rem; top: .75rem;
	background: var(--saffron); color: var(--navy-deep);
	font-family: var(--font-display); font-weight: 700; font-size: .95rem;
	padding: .2rem .65rem; border-radius: 4px;
}
.project-card__body, .post-card__body { padding-top: 1rem; }
.project-card__type, .post-card__date { margin: 0 0 .2rem; font-size: .95rem; color: var(--sindoor-deep); font-weight: 500; }
.project-card__title, .post-card__title { font-size: 1.5rem; margin-bottom: .3rem; }
.project-card__title a, .post-card__title a { color: inherit; text-decoration: none; }
.project-card__title a:hover, .post-card__title a:hover { color: var(--sindoor-deep); }
.project-card__meta { display: flex; align-items: center; gap: .35rem; color: var(--muted); margin: 0; }
.project-card__meta .swc-icon { width: 16px; height: 16px; }

.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter a { padding: .4rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 500; }
.filter a[aria-current="page"], .filter a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Reviews */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 390px); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.review { margin: 0; scroll-snap-align: start; padding: 2rem; border: 1.5px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.review blockquote { margin: 0; font-size: 1.05rem; }
.review blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--saffron); margin-bottom: .5rem; }
.review figcaption { display: flex; align-items: center; gap: .75rem; }
.review figcaption strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.review figcaption small { color: var(--muted); font-size: .9rem; }
.review__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* CTA */
.cta {
	background-color: var(--navy);
	background-image: linear-gradient(rgba(143,180,234,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(143,180,234,.08) 1px, transparent 1px);
	background-size: 48px 48px;
	color: #c6d2e2;
	padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta__inner { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta--compact .cta__inner { grid-template-columns: 1fr auto; }
.cta__title { color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); max-width: 20ch; }
.cta__text p { font-size: 1.1rem; max-width: 52ch; }
.cta__phone a { color: var(--saffron); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-decoration: none; margin-left: .3rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta__form { background: var(--white); color: var(--ink); padding: 2rem; border-radius: var(--radius); border-top: 6px solid var(--saffron); }

/* ---------- Inner pages ---------- */
.page-hero {
	background-color: var(--navy);
	background-image: linear-gradient(rgba(143,180,234,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(143,180,234,.08) 1px, transparent 1px);
	background-size: 48px 48px;
	padding-block: clamp(3rem, 7vw, 5rem);
	border-bottom: 6px solid var(--saffron);
}
.page-hero__title { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0; max-width: 22ch; }
.page-hero__text { color: #c6d2e2; font-size: 1.15rem; max-width: 60ch; margin: 1rem 0 0; }
.page-hero__meta { color: var(--saffron); font-weight: 500; margin-bottom: .5rem; }

.entry-content > * { max-width: 72ch; }
.entry-content > .alignwide, .entry-content > .alignfull, .entry-content > figure, .entry-content > .wp-block-columns { max-width: none; }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.5rem; margin-top: 1.4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid var(--saffron); font-size: 1.15rem; }
.single-media { margin: 0 0 2rem; }
.single-media img { border-radius: var(--radius); width: 100%; }

.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about__card { background: var(--concrete); border-radius: var(--radius); padding: 2rem; }
.about__card img { margin-inline: auto; border-radius: 4px; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.contact__list li { display: flex; gap: 1rem; }
.contact__list .swc-icon { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--concrete); color: var(--sindoor-deep); }
.contact__list span { display: block; font-size: .9rem; color: var(--muted); }
.contact__list a, .contact__list p { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy); text-decoration: none; margin: 0; line-height: 1.3; }
.contact__list a:hover { color: var(--sindoor-deep); }
.contact__form { background: var(--white); border: 1.5px solid var(--line); border-top: 6px solid var(--saffron); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.contact__form .enquiry__form { grid-template-columns: 1fr 1fr; }
.contact__form .field--full, .contact__form .btn { grid-column: 1 / -1; }
.contact__map { margin-top: 3rem; }
.contact__map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }

.project-single { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.project-single__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; justify-items: start; }
.facts { margin: 0; width: 100%; border-top: 2px solid var(--navy); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; }

.blog-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.blog-layout:has(.blog-layout__side) { grid-template-columns: 1fr 300px; }
.blog-layout:has(.blog-layout__side) .post-grid { grid-template-columns: repeat(2, 1fr); }
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1.3rem; border-bottom: 2px solid var(--saffron); padding-bottom: .4rem; }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: .35rem 0; border-bottom: 1px solid var(--line); }

.nav-links { display: flex; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 .75rem; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 500; }
.nav-links .current, .nav-links a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 500; }

.empty { text-align: left; max-width: 560px; }
.search-form { display: flex; gap: .5rem; }
.search-form .search-submit, .comment-form .submit { min-height: 48px; padding: .6rem 1.2rem; border: 0; border-radius: var(--radius); background: var(--sindoor-deep); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.comments { margin-top: 3rem; }
.comment-list { padding-left: 1rem; }

.admin-hint { padding: 1.5rem; border: 2px dashed var(--saffron); border-radius: var(--radius); background: #fff8ef; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.admin-hint p { margin: 0; max-width: 70ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9b6c8; font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 5rem); }
.site-footer__logo { display: inline-block; background: var(--white); padding: .6rem .9rem; border-radius: var(--radius); margin-bottom: 1.25rem; }
.site-footer__logo .custom-logo { height: 92px; width: auto; }
.site-footer__brand p { max-width: 42ch; }
.site-footer__title { font-size: 1.3rem; color: var(--white); margin-bottom: 1rem; }
.footer-menu, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #c9d3e1; text-decoration: none; }
.site-footer a:hover { color: var(--saffron); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .swc-icon { flex: none; width: 18px; height: 18px; margin-top: .25rem; color: var(--saffron); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.25rem; font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
.site-footer .social-links { margin-top: 1rem; margin-left: -.4rem; }

/* Floating call / WhatsApp */
.quick-contact { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: .6rem; }
.quick-contact a { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.quick-contact__wa { background: #1f9d55; }
.quick-contact__call { background: var(--sindoor-deep); }
.quick-contact__call .swc-icon { width: 24px; height: 24px; }
.quick-contact a:hover { color: var(--white); filter: brightness(1.1); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.primary-nav .menu a { padding: .6rem .55rem; font-size: 1.08rem; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 999px) {
	:root { --header-h: 76px; }
	.site-branding .custom-logo, .site-header.is-scrolled .custom-logo { height: 60px; }

	.nav-toggle {
		display: grid; place-items: center;
		width: 48px; height: 48px; padding: 0;
		border: 1.5px solid var(--line); border-radius: var(--radius);
		background: var(--white); color: var(--navy); cursor: pointer;
	}
	.nav-toggle .swc-icon { width: 24px; height: 24px; }
	.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }

	.primary-nav {
		position: fixed;
		inset: var(--nav-top, var(--header-h)) 0 0 0;
		flex-direction: column; align-items: stretch; gap: 1rem;
		padding: 1rem var(--gutter) 2rem;
		background: var(--white);
		overflow-y: auto;
		visibility: hidden; opacity: 0;
		transition: opacity .2s, visibility .2s;
	}
	.nav-open .primary-nav { visibility: visible; opacity: 1; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { flex: 1; padding: .9rem 0; font-size: 1.3rem; }
	.primary-nav .menu > li > a::after { display: none; }
	.submenu-toggle { width: 48px; height: 48px; margin: 0; }
	.primary-nav .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: 100%; padding: 0 0 .75rem 1rem; }
	.primary-nav li.is-open > .sub-menu { display: block; }
	.primary-nav li:hover > .sub-menu { display: none; }
	.primary-nav li.is-open:hover > .sub-menu { display: block; }
	.primary-nav__cta { margin-top: .5rem; }
	body.nav-open { overflow: hidden; }

	.hero__inner, .cta__inner, .turnkey__inner, .why, .about, .contact, .project-single { grid-template-columns: 1fr; }
	.cta--compact .cta__inner { grid-template-columns: 1fr; }
	.hero__drawing { margin-top: 2rem; }
	.why__head, .project-single__side { position: static; }
	.project-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.process { grid-template-columns: repeat(2, 1fr); }
	.blog-layout:has(.blog-layout__side) { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	body { font-size: 1rem; }
	.topbar .topbar__email, .topbar .social-links { display: none; }
	.stats__inner { grid-template-columns: 1fr; }
	.stat { border-left: 0; border-top: 1px solid var(--line); padding: 1.1rem 0; }
	.stat:first-child { border-top: 0; }
	.build-grid, .design-list, .why__list, .turnkey__list, .project-grid, .post-grid, .process,
	.blog-layout:has(.blog-layout__side) .post-grid { grid-template-columns: 1fr; }
	.design-item, .design-item:nth-child(even) { padding: 1.5rem 0; border-left: 0; grid-template-columns: 52px 1fr; }
	.design-item__icon .swc-icon { width: 44px; height: 44px; }
	.contact__form .enquiry__form { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.quick-contact a { width: 50px; height: 50px; }
	.hero__actions .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Service pages
   ========================================================================== */
.build-card__title a, .design-item__title a { color: inherit; text-decoration: none; }
.build-card__title a:hover, .design-item__title a:hover { color: var(--sindoor-deep); }
.build-card--commercial .build-card__title a:hover { color: var(--saffron); }
.build-card__more {
	display: inline-block; margin-top: 1.75rem;
	font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
	text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
	color: var(--sindoor-deep);
}
.build-card--commercial .build-card__more { color: var(--saffron); }
.build-card__more:hover { color: var(--navy); }
.build-card--commercial .build-card__more:hover { color: var(--white); }

/* Services listing */
.service-group + .service-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.service-group__title {
	font-size: 1.6rem; color: var(--navy);
	padding-bottom: .75rem; margin-bottom: 1.5rem;
	border-bottom: 2px solid var(--navy);
}
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
	position: relative;
	display: flex; flex-direction: column;
	padding: 2rem 1.75rem 1.75rem;
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	transition: border-color .2s;
}
.service-card:hover, .service-card:focus-within { border-color: var(--roof); }
.service-card__icon { color: var(--roof); margin-bottom: 1.1rem; }
.service-card__icon .swc-icon { width: 56px; height: 56px; }
.service-card__title { font-size: 1.6rem; margin-bottom: .4rem; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; }
.service-card p { color: var(--muted); flex: 1; }
.service-card__more {
	align-self: flex-start;
	font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
	color: var(--sindoor-deep); border-bottom: 2px solid currentColor; padding-bottom: 1px;
}
.service-card:hover .service-card__title { color: var(--sindoor-deep); }
.section--alt { background: var(--concrete); }
.section--alt .service-card { border-color: transparent; }
.section--alt .service-card:hover { border-color: var(--roof); }

/* Single service */
.page-hero__service { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.page-hero__icon { color: var(--saffron); flex: none; }
.page-hero__icon .swc-icon { width: clamp(80px, 12vw, 150px); height: auto; stroke-width: 1.2; }
.breadcrumb { display: flex; gap: .5rem; font-size: .95rem; margin-bottom: .75rem; color: #8ea2bf; }
.breadcrumb a { color: #c6d2e2; text-decoration: none; }
.breadcrumb a:hover { color: var(--saffron); }

.service-single { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.service-single__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
.side-form { background: var(--white); border: 1.5px solid var(--line); border-top: 6px solid var(--saffron); border-radius: var(--radius); padding: 1.75rem; }
.side-form .enquiry__title { font-size: 1.6rem; }
.side-call { background: var(--navy); color: #c6d2e2; border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.side-call p { margin-bottom: .35rem; }
.side-call__phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-decoration: none; }
.side-call__phone .swc-icon { width: 22px; height: 22px; color: var(--saffron); }
.side-call__phone:hover { color: var(--saffron); }
.side-call .btn--whatsapp { margin-top: 1rem; }

.service-content { font-size: 1.1rem; }
.service-content > p:first-child { font-size: 1.25rem; color: var(--navy); line-height: 1.55; }
.service-content h2 { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.entry-content ul.is-style-checks { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.75rem; max-width: none; }
.entry-content ul.is-style-checks li { position: relative; padding-left: 2rem; line-height: 1.4; }
.entry-content ul.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: .1rem;
	width: 1.3rem; height: 1.3rem; border-radius: 50%;
	background: var(--saffron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a31' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l5 5L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

@media (max-width: 999px) {
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.service-single { grid-template-columns: 1fr; }
	.service-single__side { position: static; }
}
@media (max-width: 720px) {
	.service-grid, .entry-content ul.is-style-checks { grid-template-columns: 1fr; }
	.page-hero__icon { display: none; }
}
@media (min-width: 721px) {
	.service-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
	.service-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}
