/*
Theme Name: PCPL
Theme URI: https://www.pranavconstructions.com/
Author: Pranav Constructions Limited
Description: Lightweight custom construction theme for Pranav Constructions Limited. Projects, testimonials and enquiries are managed from the dashboard; every home page text, the logo and brand colours are editable in Appearance → Customize → PCPL theme options. No page builder, no jQuery, one stylesheet and one small script.
Version: 2.1.0
Requires at least: 6.3
Tested up to: 6.8
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: pcpl
*/

/* ==========================================================================
   Tokens — colours from the PCPL logo (white on navy)
   ========================================================================== */
:root {
	--primary: #16233A;
	--accent: #2F6FB2;
	--primary-deep: color-mix(in srgb, var(--primary) 75%, #000);
	--primary-2: color-mix(in srgb, var(--primary) 85%, #fff);
	--accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
	--tint: #F2F5F9;
	--line: #DDE3EB;
	--ink: #1B2433;
	--text: #4D5868;
	--on-dark: #FFFFFF;
	--on-dark-2: #BAC5D6;
	--font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gutter: clamp(18px, 4vw, 30px);
	--section: clamp(64px, 8vw, 100px);
	--shadow: 0 10px 30px rgba(14, 25, 45, .08);
	--shadow-lg: 0 18px 40px rgba(14, 25, 45, .16);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.75; color: var(--text); background: #fff; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--primary); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.lead { font-size: 17px; }
.muted { color: var(--text); }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--primary); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.icon { flex: none; }

/* Section heading: small line, big uppercase title, short bar */
.sec-heading { margin-bottom: clamp(30px, 4vw, 50px); }
.sec-heading.align-center { text-align: center; }
.sec-sub { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.sec-title { font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.sec-bar { display: block; width: 70px; height: 3px; background: var(--accent); margin-top: 18px; position: relative; }
.sec-bar::after { content: ""; position: absolute; left: 80px; top: 0; width: 14px; height: 3px; background: var(--primary); }
.align-center .sec-bar { margin-inline: auto; left: -12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 30px; border: 2px solid transparent; border-radius: 2px; font-family: var(--font-head); font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--primary); color: #fff; }
.header-cta { white-space: nowrap; padding-inline: 22px; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary); color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { background: var(--accent); color: #fff; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--primary); color: var(--on-dark-2); font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.topbar-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.topbar-contact li, .topbar-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-2); }
.topbar-contact a:hover { color: #fff; }
.topbar-contact .icon { color: #fff; }
.social { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--on-dark-2); }
.social a:hover { color: #fff; background: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(14, 25, 45, .12); }
.admin-bar .site-header { top: 32px; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.logo { display: inline-flex; flex: none; }
.logo-img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; color: var(--primary); font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.site-nav .menu > li > a { padding: 34px 9px; position: relative; }
.site-nav .menu > li > a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 24px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.site-nav .menu > li > a:hover::after, .site-nav .menu > .current-menu-item > a::after, .site-nav .menu > .current-menu-ancestor > a::after, .site-nav .menu > .current-menu-parent > a::after { transform: scaleX(1); }
.site-nav .menu > li > a:hover, .site-nav .menu > .current-menu-item > a, .site-nav .menu > .current-menu-ancestor > a { color: var(--accent); }
.site-nav .menu-item-has-children > a { padding-right: 24px !important; }
.site-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 320px; background: #fff; border-top: 3px solid var(--accent); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 11px 22px; font-size: 13px; text-transform: none; letter-spacing: .02em; white-space: normal; }
.site-nav .sub-menu a:hover { background: var(--tint); color: var(--accent); }
.nav-toggle { display: none; background: var(--primary); border: 0; color: #fff; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle-close { display: none; }

@media (max-width: 1240px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 14px; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 140px); overflow-y: auto; }
	.nav-open .site-nav { display: flex; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.site-nav .menu { flex-direction: column; align-items: stretch; }
	.site-nav .menu > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a::after, .site-nav .menu-item-has-children > a::before { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.site-nav .sub-menu a { padding: 10px 4px; border-bottom: 1px solid var(--line); }
	.masthead-inner { min-height: 76px; }
	.logo-img { height: 48px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 860px) { .topbar-address { display: none !important; } }
@media (max-width: 560px) { .topbar .social, .topbar-contact li:first-child { display: none; } }

/* ==========================================================================
   Banner slider
   ========================================================================== */
.hero { position: relative; background: var(--primary); }
.slider { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: block; }
.slide.is-active { opacity: 1; visibility: visible; }
.hero .slide img { width: 100%; height: auto; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 54px; height: 54px; border: 0; background: rgba(22, 35, 58, .55); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.slider-arrow:hover { background: var(--accent); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 70px; }
.slider-dots { display: flex; justify-content: center; gap: 10px; }
.hero .slider-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; }
.slider-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; position: relative; }
.slider-dots button::before { content: ""; position: absolute; inset: -16px; }
.slider-dots button[aria-current="true"] { background: #fff; }
.hero-static img { width: 100%; height: auto; }
.hero-empty { min-height: 420px; display: flex; align-items: center; justify-content: center; padding: 60px; }
.hero-empty img { width: min(460px, 70%); opacity: .25; }

/* Call / WhatsApp / Enquire — fixed side tab like the live site */
.hero-quick { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.hero-quick a { width: 50px; min-height: 50px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); }
.hero-quick a:hover { background: var(--accent); color: #fff; }
.hero-quick .hero-quick-enquire { writing-mode: vertical-rl; transform: rotate(180deg); padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .2em; background: var(--accent); border: 0; }
@media (max-width: 760px) {
	.slider-arrow { width: 40px; height: 40px; }
	.slider-arrow.prev { left: 8px; }
	.slider-arrow.next { right: 8px; }
	.hero .slider-dots { bottom: 10px; }
	.hero-quick { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; }
	.hero-quick a { flex: 1; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.15); }
	.hero-quick .hero-quick-enquire { writing-mode: horizontal-tb; transform: none; flex: 2; padding: 0; }
	body { padding-bottom: 50px; }
}

/* ==========================================================================
   Feature boxes (overlap the banner)
   ========================================================================== */
.features { position: relative; z-index: 4; margin-top: -60px; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); box-shadow: var(--shadow-lg); padding-inline: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.feature { display: flex; gap: 20px; align-items: flex-start; padding: 38px 34px; background: var(--primary); color: var(--on-dark-2); }
.feature:nth-child(2) { background: var(--accent); color: #E8F0FA; }
.feature:nth-child(3) { background: var(--primary-deep); }
.feature-icon { flex: none; width: 66px; height: 66px; border: 2px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; color: #fff; }
.feature h3 { color: #fff; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) { .features { margin-top: 0; } .features-grid { grid-template-columns: 1fr; padding: 0; } .features .wrap { padding: 0; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-foot { margin: 46px 0 0; text-align: center; }
.prose > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 26px; margin-top: 1.4em; }
.entry-content h3 { font-size: 20px; margin-top: 1.2em; }
.entry-content ul { padding-left: 20px; }

/* About */
.about { padding-top: calc(var(--section) + 10px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.about-media { position: sticky; top: 130px; }
.about-media { position: relative; padding: 0 0 30px 30px; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 75%; height: 80%; border: 8px solid var(--accent); }
.about-frame { position: relative; box-shadow: var(--shadow-lg); background: var(--primary); }
.about-frame img { width: 100%; height: auto; }
.about-empty { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 18%; }
.about-badge { position: absolute; right: -14px; bottom: 54px; background: var(--primary); color: #fff; padding: 22px 26px; text-align: center; box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--accent); }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; }
.about-badge span { font-family: var(--font-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.about-lead { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--accent); margin: -16px 0 18px; }
.about-text { margin-bottom: 26px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-media { position: relative; top: 0; } .about-badge { right: 10px; } }

/* Counters on photo background */
.counters { position: relative; padding-block: var(--section); color: #fff; overflow: hidden; background: var(--primary); }
.counters-bg { position: absolute; inset: 0; }
.counters-bg img { width: 100%; height: 100%; object-fit: cover; }
.counters-bg::after { content: ""; position: absolute; inset: 0; background: rgba(16, 26, 44, .88); }
.counters-inner { position: relative; }
.counters .sec-title { color: #fff; }
.counters .sec-bar::after { background: #fff; }
.counters-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: center; }
.counter { padding: 34px 26px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.03); }
.counter-num { display: block; font-family: var(--font-head); font-size: clamp(52px, 6vw, 72px); font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.counter-label { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8FBDEB; margin: 12px 0 10px; }
.counter p { margin: 0; color: var(--on-dark-2); font-size: 15px; line-height: 1.6; }
.counters-note { text-align: center; color: var(--on-dark-2); font-size: 14px; margin: 34px 0 0; }
@media (max-width: 800px) { .counters-grid { grid-template-columns: 1fr; } }

/* Project categories */
.cats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.cat { position: relative; display: block; overflow: hidden; background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.cat-media { display: block; aspect-ratio: 4 / 3.3; }
.cat-media img, .cat-media .img-empty { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 24px; background: linear-gradient(to top, rgba(14, 22, 38, .95), rgba(14, 22, 38, 0)); display: flex; flex-direction: column; gap: 4px; }
.cat-count { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8FBDEB; font-weight: 600; }
.cat-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; text-transform: uppercase; line-height: 1.3; }
.cat-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cat:hover { color: #fff; }
.cat:hover .cat-more { color: #8FBDEB; }
@media (max-width: 900px) { .cats-grid { grid-template-columns: minmax(0, 1fr); } }

/* Filter */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -14px 0 40px; }
.filter-btn, .chip { min-height: 44px; padding: 8px 20px; border: 1px solid var(--line); background: #fff; color: var(--primary); font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.filter-btn:hover, .chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn[aria-pressed="true"], .chip[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-links { justify-content: flex-start; margin: 0 0 40px; }
.chip-count { opacity: .7; }

/* Project cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 30px; }
.card { display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card[hidden] { display: none; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--primary); }
.card-media > img, .img-empty { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.img-empty { display: flex; align-items: center; justify-content: center; padding: 22%; background: var(--primary); }
.img-empty img { opacity: .3; }
.card-overlay { position: absolute; inset: 0; background: rgba(22, 35, 58, .7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.card:hover .card-overlay { opacity: 1; }
.card-overlay-btn { border: 2px solid #fff; color: #fff; padding: 12px 22px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-status { position: absolute; left: 0; top: 18px; background: var(--accent); color: #fff; padding: 6px 14px; font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card-body { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-bottom: 3px solid var(--primary); }
.card:hover .card-body { border-bottom-color: var(--accent); }
.card-title { font-size: 18px; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 4px; }
.card-title a { color: var(--primary); }
.card-title a:hover { color: var(--accent); }
.card-config { margin: 0; font-weight: 600; color: var(--ink); }
.card-loc { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 14.5px; }
.card-loc .icon { color: var(--accent); }
.card-rera { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; line-height: 1.5; }
.card-rera strong { display: block; color: var(--primary); font-size: 13px; }
.card-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.card-link:hover { color: var(--accent); }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; padding-block: clamp(48px, 6vw, 70px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 64ch; color: #E8F0FA; }

/* Map */
.map-figure { margin: 0; text-align: center; }
.map-figure img { margin: 0 auto; box-shadow: var(--shadow); }
.map-figure figcaption { font-size: 14px; margin-top: 16px; }

/* Testimonials */
.testi-slider { max-width: 900px; margin: 0 auto; }
.testi { margin: 0; text-align: center; background: #fff; padding: clamp(30px, 5vw, 54px); box-shadow: var(--shadow); position: relative; }
.testi-quote { display: inline-flex; color: var(--accent); margin-bottom: 14px; }
.testi-quote .icon { fill: currentColor; stroke: none; }
.testi blockquote { margin: 0 0 26px; font-size: 17px; font-style: italic; line-height: 1.8; color: var(--ink); }
.testi blockquote p:last-child { margin: 0; }
.testi figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.testi-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.testi figcaption strong { display: block; font-family: var(--font-head); color: var(--primary); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.testi figcaption em { font-style: normal; font-size: 14px; color: var(--accent); }
.testi-slider .slider-dots { margin-top: 30px; }
.testi-slider .slider-dots button { border-color: var(--primary); }
.testi-slider .slider-dots button[aria-current="true"] { background: var(--primary); }

/* Enquiry */
.enquire-band { padding-block: var(--section); background: #fff; }
.enquire-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-quick { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-quick a { display: flex; align-items: center; gap: 16px; color: var(--primary); font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.contact-quick a:hover { color: var(--accent); }
.contact-quick span { overflow-wrap: anywhere; }
.cq-icon { width: 54px; height: 54px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--accent); }
.contact-quick small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--text); }
.enquire-form, .enquire-inline { background: var(--primary); padding: clamp(26px, 3.5vw, 42px); border-top: 4px solid var(--accent); }
.enquire-inline { max-width: 680px; margin-block: 30px; }
.enquire-form h3 { color: #fff; text-transform: uppercase; letter-spacing: .04em; font-size: 22px; margin-bottom: 20px; }
.enquiry .field { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.enquiry label { font-size: 13.5px; font-weight: 600; color: #fff; }
.enquiry input, .enquiry select, .enquiry textarea, .search-form input { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; font: inherit; color: var(--ink); background: #fff; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus, .search-form input:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.enquiry .btn { width: 100%; background: var(--accent); color: #fff; }
.enquiry .btn:hover { background: #fff; color: var(--primary); }
.enquiry-msg { padding: 12px 16px; font-weight: 600; }
.enquiry-msg.is-ok { background: #E3F1E8; color: #14532D; }
.enquiry-msg.is-error { background: #FBE6E4; color: #8A1C12; }
@media (max-width: 900px) { .enquire-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { background: var(--primary); color: var(--on-dark-2); padding-block: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.newsletter-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.newsletter h2 { color: #fff; font-size: 24px; letter-spacing: .06em; margin-bottom: 4px; }
.newsletter p { margin: 0; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0; flex: 0 1 520px; }
.newsletter-form input[type="email"] { flex: 1 1 240px; min-height: 54px; padding: 0 18px; border: 0; font: inherit; }
.newsletter-form .btn { min-height: 54px; border-radius: 0; background: var(--accent); color: #fff; }
.newsletter-form .btn:hover { background: #fff; color: var(--primary); }
.newsletter-msg { flex-basis: 100%; margin: 10px 0 0; color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--primary-deep); color: var(--on-dark-2); font-size: 14.5px; }
.site-footer a { color: var(--on-dark-2); }
.site-footer a:hover { color: #fff; }
.seo-links { border-bottom: 1px solid rgba(255,255,255,.08); padding-block: 34px 18px; }
.seo-group { margin-bottom: 16px; }
.seo-group h2 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; }
.seo-group p { margin: 0; line-height: 2; font-size: 13px; }
.seo-group a { display: inline-block; margin-right: 6px; padding-right: 10px; border-right: 1px solid rgba(255,255,255,.18); }
.seo-group a:last-child { border-right: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.5fr; gap: 40px; padding-block: 64px 40px; }
.footer-brand .logo-img { height: 70px; margin-bottom: 22px; }
.footer-brand .social { margin: 18px 0 0 -8px; }
.footer-title { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 26px; position: relative; padding-bottom: 14px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; background: var(--accent); }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a::before { content: "›"; margin-right: 8px; color: #8FBDEB; }
.reg-no { margin: 16px 0 0; font-size: 13px; color: #fff; }
.with-icon { display: flex; align-items: flex-start; gap: 12px; }
.with-icon .icon { margin-top: 4px; color: #8FBDEB; }
.phone-line { display: block; margin-bottom: 4px; }
.phone-line a { white-space: nowrap; }
.phone-line strong { color: #fff; font-weight: 600; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding-block: 30px; }
.footer-legal .footer-title { font-size: 14px; margin-bottom: 14px; }
.disclaimer { margin: 0; font-size: 13px; line-height: 1.7; }
.footer-bottom { background: rgba(0,0,0,.25); font-size: 13.5px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.to-top { position: fixed; right: 64px; bottom: 20px; z-index: 70; width: 46px; height: 46px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--primary); color: #fff; }
@media (max-width: 760px) { .to-top { right: 14px; bottom: 64px; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; background: var(--primary); color: #fff; padding-block: clamp(54px, 7vw, 90px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px); }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 40px solid rgba(255,255,255,.04); transform: rotate(45deg); }
.page-hero-inner { position: relative; z-index: 1; }
.page-title { color: #fff; font-size: clamp(30px, 4.4vw, 48px); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 14px; }
.page-hero .lead, .page-hero .post-meta { color: var(--on-dark-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-head); font-weight: 600; margin-bottom: 14px; color: var(--on-dark-2); }
.crumbs a { color: #8FBDEB; }
.crumbs a:hover { color: #fff; }
.post-meta { font-size: 14px; margin-bottom: 8px; }
.project-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 16px; }
.project-facts li { display: flex; align-items: center; gap: 8px; }
.project-facts .icon { color: #8FBDEB; }

.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(30px, 4vw, 54px); align-items: start; }
.project-image { margin: 0 0 34px; box-shadow: var(--shadow); }
.project-image img { width: 100%; }
.project-aside { position: sticky; top: 120px; display: grid; gap: 18px; }
.rera-box { background: var(--tint); padding: 28px; border-top: 4px solid var(--primary); }
.rera-box .icon { color: var(--accent); margin-bottom: 10px; }
.rera-no { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.rera-no span { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.rera-name { font-size: 14px; }
.rera-box a { font-size: 14px; }
.aside-actions { display: grid; gap: 10px; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.ticks .icon { color: var(--accent); margin-top: 4px; }
@media (max-width: 960px) { .project-layout { grid-template-columns: minmax(0, 1fr); } .project-aside { position: static; } }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; }
.blog-layout:not(:has(.blog-aside)) { grid-template-columns: 1fr; max-width: 920px; }
.post-list { display: grid; gap: 36px; }
.post-item { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; background: #fff; box-shadow: var(--shadow); }
.post-item > div { padding: 24px 24px 24px 0; }
.post-item:not(:has(.post-item-media)) { grid-template-columns: 1fr; }
.post-item:not(:has(.post-item-media)) > div { padding: 24px; }
.post-item-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.post-item h2 a { color: var(--primary); }
.post-item h2 a:hover { color: var(--accent); }
.post-thumb img { width: 100%; margin-bottom: 30px; }
.widget { margin-bottom: 30px; }
.widget-title { font-size: 16px; text-transform: uppercase; }
@media (max-width: 860px) { .blog-layout, .post-item { grid-template-columns: minmax(0, 1fr); } .post-item > div { padding: 0 24px 24px; } }

.search-form { display: flex; gap: 0; max-width: 560px; margin-top: 22px; }
.search-form .btn { flex: none; border-radius: 0; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.empty { font-size: 17px; }

.pagination { margin-top: 46px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); color: var(--primary); font-family: var(--font-head); font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.post-navigation { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 24px; }

/* WordPress core */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption.wp-element-caption { font-size: 14px; margin-top: 8px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--line); font: inherit; }
.comment-form .submit { background: var(--primary); color: #fff; border: 0; padding: 14px 24px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }

/* Small source images: shown whole over a blurred copy instead of being stretched */
.img-fit { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--primary); }
.img-fit .img-fit-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(.75); transform: none !important; }
.img-fit img:not(.img-fit-bg) { position: relative; width: 100%; height: 100%; object-fit: contain; }
.cat-media { position: relative; }
.card-media img, .cat-media img, .hero img, .about-frame img, .project-image img, .map-figure img { image-rendering: auto; }
