/* ========================
   SQPK – Global Styles
   ======================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --white: #fff;
  --gray-text: #6B6B6B;
  --gray-border: #D2D2D2;
  --gray-light: #ededed;
  --gray-bg: #f4f4f2;
  --blue-accent: #004E92;
  --font: 'Lato', sans-serif;
  --nav-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ========================
   SCROLL ANIMATIONS
   ======================== */

.anim {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}

.anim.anim-left {
  transform: translateX(-48px);
}

.anim.anim-right {
  transform: translateX(48px);
}

.anim.anim-scale {
  transform: scale(.94);
  opacity: 0;
}

.anim.visible {
  opacity: 1;
  transform: none;
}

.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }
.anim-delay-5 { transition-delay: .5s; }
.anim-delay-6 { transition-delay: .6s; }
.anim-delay-7 { transition-delay: .7s; }
.anim-delay-8 { transition-delay: .8s; }

/* ========================
   PAGE LOAD REVEAL
   ======================== */

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroEnterLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes lineGrow {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Hero content loads in on page open */
.hero-text .hero-eyebrow  { animation: heroEnterLeft .8s .15s cubic-bezier(.22,1,.36,1) both; }
.hero-text .hero-title    { animation: heroEnter .85s .3s  cubic-bezier(.22,1,.36,1) both; }
.hero-text .hero-desc     { animation: heroEnter .8s  .5s  cubic-bezier(.22,1,.36,1) both; }
.hero-text .hero-cta      { animation: heroEnter .75s .7s  cubic-bezier(.22,1,.36,1) both; }

.res-hero-text .res-hero-eyebrow { animation: heroEnterLeft .8s .15s cubic-bezier(.22,1,.36,1) both; }
.res-hero-text .res-hero-title   { animation: heroEnter .85s .3s  cubic-bezier(.22,1,.36,1) both; }
.res-hero-text .res-hero-desc    { animation: heroEnter .8s  .5s  cubic-bezier(.22,1,.36,1) both; }
.res-hero-text .res-hero-cta     { animation: heroEnter .75s .7s  cubic-bezier(.22,1,.36,1) both; }

.cat-hero-content .cat-breadcrumb  { animation: heroEnter .7s .1s cubic-bezier(.22,1,.36,1) both; }
.cat-hero-content .cat-hero-title  { animation: heroEnter .9s .25s cubic-bezier(.22,1,.36,1) both; }
.cat-hero-content .cat-hero-subtitle { animation: heroEnter .8s .45s cubic-bezier(.22,1,.36,1) both; }
.cat-hero-content .cat-hero-cta-row  { animation: heroEnter .7s .65s cubic-bezier(.22,1,.36,1) both; }

.pd-hero-content .pd-breadcrumb { animation: heroEnter .7s .1s cubic-bezier(.22,1,.36,1) both; }
.pd-hero-content .pd-hero-title { animation: heroEnter .9s .25s cubic-bezier(.22,1,.36,1) both; }
.pd-hero-content .pd-hero-meta  { animation: heroEnter .7s .5s  cubic-bezier(.22,1,.36,1) both; }

/* ========================
   STICKY HEADER TRANSITION
   ======================== */

.site-header.scrolled .header-nav {
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,.1);
  transition: background .4s, backdrop-filter .4s;
}
.site-header.scrolled .header-logo-wrap { border-color: rgba(255,255,255,.1); }
.site-header.scrolled .header-nav-links li { border-color: rgba(255,255,255,.1); }
.site-header.scrolled .nav-link { color: var(--white); }
.site-header.scrolled .nav-link:hover { background: rgba(255,255,255,.1); }
.site-header.scrolled .nav-link.active { background: rgba(255,255,255,.15); }
.site-header.scrolled #header-logo { filter: brightness(0) invert(1); }

.site-header.scrolled .mobile-header-bar {
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,.1);
}
.site-header.scrolled .mobile-toggle { color: var(--white); }
.site-header.scrolled #mobile-logo { filter: brightness(0) invert(1); }

/* ========================
   PARALLAX
   ======================== */

.hero-slide,
.cat-hero-bg,
.pd-hero-bg {
  will-change: transform;
  transition: opacity .85s cubic-bezier(.22,1,.36,1);
}

/* ========================
   STAT COUNTER
   ======================== */

.stat-num[data-target] { transition: color .3s; }

/* ========================
   ANIMATED UNDERLINE HEADING
   ======================== */

.anim-heading {
  position: relative;
  display: inline-block;
}
.anim-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background: currentColor;
  transition: width .6s cubic-bezier(.22,1,.36,1);
}
.anim-heading.visible::after { width: 100%; }

/* ========================
   HOVER LIFT CARDS
   ======================== */

.why-item {
  transition: background .25s, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.why-item:hover {
  background: rgba(255,255,255,.04);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

.future-feature {
  transition: background .2s, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.future-feature:hover {
  background: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.service-card {
  transition: background .2s, transform .35s cubic-bezier(.22,1,.36,1);
}
.service-card:hover {
  background: rgba(255,255,255,.03);
  transform: translateY(-4px);
}

/* ========================
   PULSE INDICATOR (map / hero)
   ======================== */

.sqpk-pin::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
  animation: pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
}

/* ========================
   SECTION DIVIDER LINE ANIM
   ======================== */

.anim-line {
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width .8s cubic-bezier(.22,1,.36,1);
}
.anim-line.visible { width: 48px; }

.anim-line-white {
  width: 0;
  height: 2px;
  background: rgba(255,255,255,.3);
  transition: width .8s cubic-bezier(.22,1,.36,1);
}
.anim-line-white.visible { width: 48px; }

/* ========================
   PAGE ENTER BODY FADE
   ======================== */

body {
  animation: fadeIn .4s ease both;
}

/* ========================
   HEADER / NAV
   ======================== */

.site-header {
  position: relative;
  z-index: 200;
}

.site-header.transparent {
  position: absolute;
  right: 0;
  top: 0;
}

/* Desktop nav */
.header-nav {
  display: none;
  flex-direction: row;
  justify-content: flex-end;
  align-items: stretch;
  min-height: var(--nav-h);
  width: 100%;
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
}

@media (min-width: 768px) { .header-nav { display: flex; } }

.site-header.transparent .header-nav {
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,.18);
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid var(--gray-border);
  padding: 12px 28px;
  min-width: 240px;
  transition: background .2s;
}

.site-header.transparent .header-logo-wrap { border-color: rgba(255,255,255,.18); }
.header-logo-wrap:hover { background: rgba(0,0,0,.04); }
.site-header.transparent .header-logo-wrap:hover { background: rgba(255,255,255,.06); }

.header-logo-wrap img { width: 100%; max-width: 200px; height: auto; }

/* Nav links: 2-col grid + contact spanning full height */
.header-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  grid-template-rows: 1fr 1fr;
  min-width: 600px;
}

.header-nav-links li {
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--gray-border);
  position: relative;
}
.site-header.transparent .header-nav-links li { border-color: rgba(255,255,255,.18); }

.header-nav-links li.top { border-top: none; }

.header-nav-links li.contact-cell {
  grid-column: 3;
  grid-row: 1 / span 2;
  border-top: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  transition: background .25s cubic-bezier(.22,1,.36,1), color .25s;
  min-height: 40px;
  gap: 6px;
  position: relative;
}

.site-header.transparent .nav-link { color: var(--white); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width .25s cubic-bezier(.22,1,.36,1), left .25s cubic-bezier(.22,1,.36,1);
}

.nav-link:hover::after { width: 100%; left: 0; }
.nav-link.active::after { width: 100%; left: 0; opacity: .5; }

.nav-link:hover {
  background: var(--black);
  color: var(--white);
}

.site-header.transparent .nav-link:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.nav-link.active {
  background: transparent;
  color: var(--black);
  border-bottom: 2px solid var(--black);
}

.site-header.transparent .nav-link.active {
  background: transparent;
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

.site-header.scrolled .nav-link.active {
  background: transparent;
  border-bottom: 2px solid var(--white);
}

/* Contact button in nav */
.nav-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
  background: var(--black);
  color: var(--white);
  gap: 8px;
}

.site-header.transparent .nav-contact-link {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.nav-contact-link:hover { background: #1a1a1a; }
.site-header.transparent .nav-contact-link:hover { background: rgba(255,255,255,.22); }

/* Chevron */
.chevron {
  width: 12px;
  height: 12px;
  transition: transform .2s;
  flex-shrink: 0;
}
.header-nav-links li:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 210px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 300;
  display: none;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s;
}

.site-header.transparent .nav-dropdown {
  background: rgba(10,10,10,.97);
  border-color: rgba(255,255,255,.12);
}

.header-nav-links li:hover .nav-dropdown { display: block; transform: translateY(0); }

.nav-dropdown a {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(0,0,0,.08);
  color: var(--black);
  transition: background .15s, color .15s, padding-left .15s;
}

.site-header.transparent .nav-dropdown a { border-color: rgba(255,255,255,.1); color: var(--white); }
.nav-dropdown a:first-child { border-top: none; }

.nav-dropdown a:hover {
  background: var(--black);
  color: var(--white);
  padding-left: 24px;
}

.site-header.transparent .nav-dropdown a:hover { background: rgba(255,255,255,.12); padding-left: 24px; }

/* ── Mobile header ─────────────── */

.mobile-header { display: block; }
@media (min-width: 768px) { .mobile-header { display: none; } }

.mobile-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
  transition: background .3s;
}

.site-header.transparent .mobile-header-bar {
  background: rgba(10,10,10,.85);
  border-color: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}

.mobile-logo img { max-width: 160px; }

.mobile-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--black);
  transition: background .2s;
}
.site-header.transparent .mobile-toggle { color: var(--white); }
.mobile-toggle:hover { background: rgba(0,0,0,.07); }
.site-header.transparent .mobile-toggle:hover { background: rgba(255,255,255,.1); }

.mobile-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  display: none;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .25s cubic-bezier(.22,1,.36,1), opacity .25s;
}

.site-header.transparent .mobile-nav {
  background: rgba(10,10,10,.96);
  border-color: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.mobile-nav.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-top: 1px solid var(--gray-border);
  color: var(--black);
  transition: background .2s, color .2s, padding-left .2s;
  width: 100%;
}
.site-header.transparent .mobile-nav-link { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.mobile-nav-link:hover { background: var(--black); color: var(--white); padding-left: 28px; }
.mobile-nav-link.active { background: var(--black); color: var(--white); }
.site-header.transparent .mobile-nav-link:hover { background: rgba(255,255,255,.1); color: var(--white); padding-left: 28px; }
.site-header.transparent .mobile-nav-link.active { background: rgba(255,255,255,.15); color: var(--white); }

.mobile-sub-links { background: rgba(0,0,0,.04); display: none; }
.mobile-sub-links.open { display: block; }
.site-header.transparent .mobile-sub-links { background: rgba(255,255,255,.04); }

.mobile-sub-link {
  display: block;
  padding: 11px 20px 11px 40px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-top: 1px solid var(--gray-border);
  color: var(--black);
  transition: background .2s, color .2s, padding-left .2s;
}
.site-header.transparent .mobile-sub-link { border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.mobile-sub-link:hover { background: var(--black); color: var(--white); padding-left: 48px; }
.site-header.transparent .mobile-sub-link:hover { background: rgba(255,255,255,.1); color: var(--white); padding-left: 48px; }

.mobile-contact-wrap { padding: 16px; border-top: 1px solid var(--gray-border); }
.site-header.transparent .mobile-contact-wrap { border-color: rgba(255,255,255,.12); }

.mobile-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--black);
  color: var(--white);
  transition: background .2s;
}
.mobile-contact-btn:hover { background: #222; }

/* hidden utility */
.hidden { display: none !important; }

/* ========================
   FOOTER
   ======================== */

.site-footer {
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 28px 0 22px;
}

@media (min-width: 768px) {
  .footer-main { flex-direction: row; justify-content: space-between; gap: 32px; }
}

.footer-logo img { height: 44px; width: auto; }

.footer-links { display: flex; align-items: center; gap: 36px; }

.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 12px 32px;
  background: transparent;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.35);
  transition: background .2s, border-color .2s;
}
.footer-cta:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.footer-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer-divider { border: none; border-top: 1px solid #1a1a1a; }

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* ========================
   HERO — COMMERCIAL (home)
   ======================== */

.hero-section { position: relative; overflow: hidden; background: #000; }

.hero-slider {
  position: relative;
  min-height: 620px;
}

@media (min-width: 640px) { .hero-slider { min-height: 680px; } }
@media (min-width: 1024px) { .hero-slider { min-height: 780px; } }

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .85s cubic-bezier(.22,1,.36,1);
  will-change: opacity;
}

.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide.inactive { opacity: 0; z-index: 0; }

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(20,30,60,.35) 0%, rgba(10,15,30,.15) 50%, rgba(0,0,0,.82) 100%);
}

.hero-overlay-gradient-side {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  min-height: 620px;
  width: 100%;
  padding: 0 20px 56px;
}

@media (min-width: 640px) { .hero-content { min-height: 680px; padding: 0 36px 72px; } }
@media (min-width: 1024px) { .hero-content { min-height: 780px; padding: 0 88px 84px; } }

.hero-text { color: var(--white); max-width: 680px; }

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,.4);
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.03em;
}

.hero-desc {
  margin-top: 28px;
  max-width: 520px;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  letter-spacing: .01em;
}

.hero-cta {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: rgba(255,255,255,.95);
}
.hero-cta:hover .hero-cta-circle { transform: translateY(5px); }
.hero-cta:hover .hero-cta-label { opacity: .75; }

.hero-cta-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  font-size: 28px;
  line-height: 1;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .2s;
  flex-shrink: 0;
}
.hero-cta:hover .hero-cta-circle { border-color: rgba(255,255,255,.9); }

.hero-cta-label {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 1px;
  transition: opacity .3s;
  letter-spacing: .01em;
}

@media (max-width: 639px) {
  .hero-cta-circle { width: 54px; height: 54px; font-size: 22px; }
}

/* Hero dots */
.hero-dots {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .hero-dots {
    flex-direction: column;
    bottom: auto;
    top: 50%;
    left: auto;
    right: 40px;
    transform: translateY(-50%);
    gap: 18px;
  }
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  transition: all .35s cubic-bezier(.22,1,.36,1);
  padding: 0;
  border: none;
  cursor: pointer;
}

.hero-dot.active {
  width: 20px;
  height: 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-dot.active::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

/* ========================
   HERO — RESIDENTIAL (home)
   ======================== */

.res-hero-section { position: relative; overflow: hidden; background: #000; }

.res-hero-slider {
  position: relative;
  min-height: 620px;
}

@media (min-width: 640px) { .res-hero-slider { min-height: 680px; } }
@media (min-width: 1024px) { .res-hero-slider { min-height: 780px; } }

.res-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .85s cubic-bezier(.22,1,.36,1);
  will-change: opacity;
}
.res-hero-slide.active { opacity: 1; z-index: 1; }
.res-hero-slide.inactive { opacity: 0; z-index: 0; }

.res-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.75) 100%);
}

.res-hero-overlay-side {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to left, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
}

.res-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  min-height: 620px;
  width: 100%;
  padding: 0 20px 56px;
}

@media (min-width: 640px) { .res-hero-content { min-height: 680px; padding: 0 36px 72px; } }
@media (min-width: 1024px) { .res-hero-content { min-height: 780px; padding: 0 88px 84px; } }

.res-hero-text {
  color: var(--white);
  max-width: 680px;
  text-align: right;
  margin-left: auto;
}

.res-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.res-hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,.4);
}

.res-hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.03em;
}

.res-hero-desc {
  margin-top: 28px;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  letter-spacing: .01em;
}

.res-hero-cta {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(255,255,255,.95);
}
.res-hero-cta:hover .res-hero-cta-circle { transform: translateY(5px); }
.res-hero-cta:hover .res-hero-cta-label { opacity: .75; }

.res-hero-cta-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  font-size: 28px;
  line-height: 1;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .2s;
  flex-shrink: 0;
}
.res-hero-cta:hover .res-hero-cta-circle { border-color: rgba(255,255,255,.9); }

.res-hero-cta-label {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 1px;
  transition: opacity .3s;
}

/* Res dots — left side on desktop */
.res-hero-dots {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .res-hero-dots {
    flex-direction: column;
    bottom: auto;
    top: 50%;
    right: auto;
    left: 40px;
    transform: translateY(-50%);
    gap: 18px;
  }
}

.res-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  transition: all .35s cubic-bezier(.22,1,.36,1);
  padding: 0;
  border: none;
  cursor: pointer;
}

.res-hero-dot.active {
  width: 20px;
  height: 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.res-hero-dot.active::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

/* ========================
   ABOUT SECTION (Home)
   ======================== */

.about-section { padding: 80px 0; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 640px) { .container { padding: 0 40px; } }
@media (min-width: 1024px) { .container { padding: 0 112px; } }

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .about-layout { position: relative; flex-direction: row; min-height: 480px; }
}

.about-image { width: 100%; overflow: hidden; }

@media (min-width: 1024px) { .about-image { margin-left: auto; max-width: 640px; height: 420px; } }

.about-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 62% 50%;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.about-image:hover img { transform: scale(1.03); }

@media (min-width: 640px) { .about-image img { height: 340px; } }
@media (min-width: 1024px) { .about-image img { height: 100%; } }

.about-text { width: 100%; }

@media (min-width: 1024px) { .about-text { position: absolute; left: 0; top: 180px; max-width: 480px; } }

.about-heading-bar { padding: 0 0 16px; }

.about-heading {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.about-heading::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--black);
  flex-shrink: 0;
}

.about-card {
  background: var(--black);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: rgba(255,255,255,.2);
}

.about-card p {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.9;
  color: rgba(255,255,255,.85);
  font-weight: 300;
}

/* ========================
   SERVICES SECTION (Home)
   ======================== */

.services-section {
  background: #0a0a0a;
  padding: 80px 0 100px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: 2fr 3fr; gap: 72px; }
}

.services-left { color: var(--white); }

.services-img-wrap { display: none; margin-bottom: 36px; overflow: hidden; }
@media (min-width: 640px) { .services-img-wrap { display: block; } }

.services-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.services-img-wrap:hover img { transform: scale(1.04); }

.services-heading {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.services-list { margin-top: 36px; }

.services-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  color: rgba(255,255,255,.35);
  transition: color .25s, padding-left .25s;
}

.services-list-item:hover { color: rgba(255,255,255,.7); padding-left: 8px; }
.services-list-item.active { color: var(--white); }

.services-arrow { font-size: 16px; opacity: 0; transition: opacity .2s; }
.services-list-item.active .services-arrow { opacity: 1; }

.services-right { position: relative; }

.services-watermark {
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  opacity: .04;
  letter-spacing: .15em;
  text-align: right;
  margin-bottom: 32px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.services-content-img-wrap { overflow: hidden; margin-bottom: 32px; }

.services-content-img {
  width: 100%;
  height: auto;
  min-height: 240px;
  object-fit: cover;
  display: block;
  transition: opacity .4s, transform .6s cubic-bezier(.22,1,.36,1);
}

.services-content-text {
  background: var(--white);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}

.services-content-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--black);
}

.services-content-text p {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.85;
  color: #222;
  font-weight: 300;
}

/* ========================
   PROJECTS SECTION (Home)
   ======================== */

.projects-section { padding: 80px 0 100px; }

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-border);
}

.projects-heading {
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: #0a0a0a;
}

.projects-watermark {
  display: none;
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px #e8e8e8;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
@media (min-width: 1024px) { .projects-watermark { display: block; } }

.project-slider-wrap { position: relative; overflow: hidden; }

.project-slide {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .project-slide { grid-template-columns: 58% 42%; align-items: start; gap: 56px; }
}

.project-slide.entering-right { animation: slideEnterRight .7s cubic-bezier(.22,1,.36,1) both; }
.project-slide.entering-left { animation: slideEnterLeft .7s cubic-bezier(.22,1,.36,1) both; }

@keyframes slideEnterRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideEnterLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

.project-img-wrap { overflow: hidden; }

.project-img {
  width: 100%;
  object-fit: cover;
  height: 280px;
  display: block;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.project-img-wrap:hover .project-img { transform: scale(1.04); }

@media (min-width: 640px) { .project-img { height: 400px; } }
@media (min-width: 1024px) { .project-img { height: auto; min-height: 480px; } }

.project-info { padding-top: 0; }
@media (min-width: 1024px) { .project-info { padding-top: 40px; } }

.project-counter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 20px;
}

.project-title {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--black);
}

.project-desc-card {
  background: #0a0a0a;
  color: var(--white);
  padding: 24px 28px;
  margin-top: 24px;
  position: relative;
}

@media (min-width: 640px) { .project-desc-card { padding: 28px 32px; } }
@media (min-width: 1024px) { .project-desc-card { margin-top: 32px; margin-left: -100px; padding: 32px 36px; } }

.project-desc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: rgba(255,255,255,.2);
}

.project-desc-card p {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.8;
  color: rgba(255,255,255,.82);
  font-weight: 300;
}

.project-arrows {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 28px;
  border: 1px solid rgba(0,0,0,.15);
  width: fit-content;
}

.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 48px;
  font-size: 18px;
  line-height: 1;
  transition: background .2s, color .2s;
  border: none;
  background: var(--white);
  color: var(--black);
}

.arrow-btn + .arrow-btn { border-left: 1px solid rgba(0,0,0,.15); }
.arrow-btn:hover { background: var(--black); color: var(--white); }

/* Stats */
.projects-bottom { margin-top: 56px; }

.stats-gallery-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  .stats-gallery-grid { grid-template-columns: 53% 21% 26%; align-items: start; gap: 0; }
}

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }

.stat-cell {
  padding: 24px;
  border: 1px solid #e8e8e8;
  margin: -1px 0 0 -1px;
  transition: background .2s;
}
.stat-cell:hover { background: #fafafa; }

@media (min-width: 640px) { .stat-cell { padding: 32px; } }

.stat-num {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--blue-accent);
}

.stat-label {
  margin-top: 8px;
  font-size: clamp(12px, 1.2vw, 15px);
  color: var(--gray-text);
  font-weight: 400;
}

.gallery-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 1024px) { .gallery-imgs { display: contents; } }

.gallery-img-wrap { overflow: hidden; }

.gallery-img-wrap img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
  display: block;
}
.gallery-img-wrap:hover img { transform: scale(1.05); }

@media (min-width: 640px) { .gallery-img-wrap img { height: 210px; } }
@media (min-width: 1024px) { .gallery-img-wrap img { height: 220px; } }
@media (min-width: 1024px) { .gallery-img-wrap:nth-child(2) { margin-top: 80px; } }

.projects-cta-row {
  margin-top: 24px;
  display: grid;
  gap: 20px;
  align-items: center;
}

@media (min-width: 1024px) {
  .projects-cta-row { grid-template-columns: 53% 21% 26%; gap: 0; }
}

.projects-cta-desc {
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.8;
  color: var(--gray-text);
  font-weight: 300;
}

.btn-view-projects {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 100%;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  gap: 10px;
  transition: background .2s, letter-spacing .2s;
}
.btn-view-projects:hover { background: #1a1a1a; letter-spacing: .15em; }

/* ========================
   ABOUT PAGE
   ======================== */

.about-page-section { padding: 80px 0; }

.about-intro-grid { display: grid; gap: 40px; }

@media (min-width: 768px) {
  .about-intro-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: stretch; }
}

.about-img-col { position: relative; overflow: hidden; height: 380px; }
@media (min-width: 768px) { .about-img-col { height: auto; } }

.about-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.about-img-col:hover img { transform: scale(1.04); }

.about-img-col-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.38); }

.about-text-col { max-width: 480px; }

.about-bordered-box {
  border-left: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  padding: 28px;
  margin-bottom: 40px;
}

.about-bordered-box h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.about-bordered-box p, .about-text-col > p {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.9;
  color: var(--gray-text);
  margin-bottom: 12px;
  font-weight: 300;
}

.about-text-col h3 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

/* Why section */
.why-section { background: #0a0a0a; padding: 80px 0 120px; }

.why-heading {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 56px;
  position: relative;
  padding-bottom: 24px;
}

.why-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,.3);
}

.why-grid {
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-item {
  padding: 44px 0;
  border-bottom: 1px solid #1e1e1e;
  transition: background .25s;
}
.why-item:hover { background: rgba(255,255,255,.03); }

@media (min-width: 768px) {
  .why-item { padding-right: 44px; }
  .why-item:nth-child(3n+2) { padding: 44px; border-left: 1px solid #1e1e1e; border-right: 1px solid #1e1e1e; }
  .why-item:nth-child(3n) { padding-left: 44px; padding-right: 0; }
  .why-item:nth-last-child(-n+3) { border-bottom: none; }
}

.why-item-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: rgba(255,255,255,.25);
  margin-bottom: 20px;
}

.why-item h3 {
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: .02em;
}

.why-item p {
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.8;
  color: rgba(255,255,255,.45);
  font-weight: 300;
}

/* Future section */
.future-section { padding: 80px 0; }

.future-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .future-grid { grid-template-columns: .65fr 1.35fr; gap: 56px; align-items: start; } }

.future-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.future-desc {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.9;
  color: var(--gray-text);
  font-weight: 300;
}

.future-right-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gray-border); }

.future-feature {
  padding: 28px 24px;
  background: var(--white);
  transition: background .2s;
}
.future-feature:hover { background: #fafafa; }

.future-feature h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.future-feature p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-text);
  font-weight: 300;
}

/* ========================
   SERVICES PAGE
   ======================== */

.services-page-section { padding: 80px 0; }

.services-page-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .services-page-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: stretch; } }

.services-page-img-col { position: relative; overflow: hidden; height: 380px; }
@media (min-width: 768px) { .services-page-img-col { height: auto; } }

.services-page-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.services-page-img-col:hover img { transform: scale(1.04); }

.services-page-img-col-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.services-page-img-col-overlay2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 50%, transparent 100%); }

.services-page-text-col { max-width: 480px; }

.services-page-box {
  border-left: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  padding: 28px;
  margin-bottom: 40px;
}

.services-page-box h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.services-page-box p, .services-page-text-col > p {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.9;
  color: var(--gray-text);
  margin-bottom: 12px;
  font-weight: 300;
}

.services-page-text-col h3 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.services-list-section { background: #0a0a0a; padding: 80px 0 120px; }

.services-list-heading {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 56px;
  position: relative;
  padding-bottom: 24px;
}

.services-list-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,.3);
}

.services-cards { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .services-cards { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  padding: 44px 0;
  border-bottom: 1px solid #1e1e1e;
  transition: background .2s;
}
.service-card:hover { background: rgba(255,255,255,.02); }

@media (min-width: 768px) {
  .service-card:nth-child(odd) { padding-right: 44px; border-right: 1px solid #1e1e1e; }
  .service-card:nth-child(even) { padding-left: 44px; }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }
}

.service-card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: rgba(255,255,255,.25);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: .02em;
}

.service-card p {
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.8;
  color: rgba(255,255,255,.45);
  font-weight: 300;
}

/* ========================
   PROJECTS PAGE
   ======================== */

.projects-page { padding: 64px 0 96px; }

.projects-page-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-border);
}

@media (min-width: 640px) {
  .projects-page-header { flex-direction: row; align-items: center; justify-content: space-between; }
}

.projects-page-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.category-filter {
  display: inline-flex;
  overflow: hidden;
  width: 100%;
}
@media (min-width: 640px) { .category-filter { width: auto; } }

.category-btn {
  flex: 1;
  padding: 10px 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--white);
  color: #71717a;
  border: 1px solid var(--gray-border);
  border-right: none;
  transition: background .2s, color .2s;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
}
.category-btn:last-child { border-right: 1px solid var(--gray-border); }
.category-btn:hover { background: #f4f4f5; color: var(--black); }
.category-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

#map-container {
  height: 520px;
  width: 100%;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  margin-bottom: 56px;
}

.projects-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) { .projects-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border: 1px solid #e8e8e8;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

.project-card-img-wrap { overflow: hidden; }

.project-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.project-card:hover .project-card-img { transform: scale(1.07); }

.project-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.project-card-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.project-card-title {
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-card-meta {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 4px;
  font-weight: 300;
}
.project-card-meta span { color: var(--black); font-weight: 700; }

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .1em;
  border-top: 1px solid #e8e8e8;
  transition: gap .2s;
}
.project-card-link::after { content: '→'; transition: transform .2s; }
.project-card:hover .project-card-link { gap: 10px; }

/* ========================
   PROJECT DETAIL PAGE
   ======================== */

.project-detail { padding: 64px 0 96px; }

.project-detail-header { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid #e8e8e8; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-text);
  transition: color .2s, gap .2s;
}
.back-link:hover { color: var(--black); gap: 10px; }

.project-detail-title {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-top: 16px;
}

.project-detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.meta-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid #e8e8e8;
  border-radius: 99px;
  padding: 6px 16px;
  color: #52525b;
}

.project-detail-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .project-detail-layout { grid-template-columns: 1.15fr .85fr; align-items: start; } }

.project-cover-wrap { overflow: hidden; }

.project-cover-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.project-cover-wrap:hover .project-cover-img { transform: scale(1.03); }

@media (min-width: 1024px) { .project-cover-img { height: 560px; } }

.project-overview h2, .project-highlight h3, .project-amenities h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
  color: var(--gray-text);
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e8e8;
}

.project-overview p, .project-highlight p {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  font-weight: 300;
}

.project-highlight, .project-amenities { margin-top: 40px; }

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #444;
  margin-bottom: 10px;
  font-weight: 300;
}

.amenity-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
}

/* Gallery */
.project-gallery { margin-top: 72px; padding-top: 48px; border-top: 1px solid #e8e8e8; }

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.gallery-header h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-text);
}

.gallery-arrows { display: flex; gap: 8px; }

.gallery-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e8e8e8;
  color: var(--black);
  background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.gallery-arrow-btn:hover:not(:disabled) { background: var(--black); color: var(--white); border-color: var(--black); }
.gallery-arrow-btn:disabled { opacity: .3; cursor: not-allowed; }
.gallery-arrow-btn svg { width: 18px; height: 18px; }

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.gallery-grid img:hover { transform: scale(1.04); }
.gallery-grid .gallery-img-mid { margin-top: 0; }
@media (min-width: 768px) { .gallery-grid .gallery-img-mid { margin-top: 60px; } }

/* ========================
   CONTACT PAGE
   ======================== */

/* ========================
   CONTACT PAGE REDESIGN
   ======================== */

/* Hero */
.ct-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ct-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.ct-hero:hover .ct-hero-bg { transform: scale(1); }
.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.1) 100%);
}
.ct-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 48px;
  max-width: 700px;
}
.ct-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.ct-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}
.ct-hero-sub {
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  font-weight: 300;
  max-width: 520px;
}

/* Cards row */
.ct-cards-section {
  background: var(--black);
  padding: 0;
}
.ct-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 767px) { .ct-cards { grid-template-columns: 1fr; } }
.ct-card {
  padding: 36px 40px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.ct-card:last-child { border-right: none; }
.ct-card:hover { background: rgba(255,255,255,.04); }
.ct-card-icon {
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.ct-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  margin-bottom: 6px;
}
.ct-card-value {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
a.ct-card-value:hover { color: rgba(255,255,255,.7); }

/* Body section */
.ct-body-section { padding: 80px 0; }
.ct-body-grid {
  display: grid;
  gap: 64px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (min-width: 1024px) {
  .ct-body-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Left column */
.ct-body-photo-stack {
  position: relative;
  margin-bottom: 40px;
}
.ct-photo-main {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.ct-photo-accent {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 48%;
  height: 190px;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
@media (max-width: 767px) { .ct-photo-accent { display: none; } }

.ct-info-heading {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.ct-info-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-text);
  font-weight: 300;
  margin-bottom: 32px;
}
.ct-info-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--gray-border);
  padding-top: 28px;
}
.ct-stat-num {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.ct-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-text);
}

/* Right column — form card */
.ct-form-card {
  background: var(--off-white, #f8f8f6);
  padding: 48px;
  border: 1px solid var(--gray-border);
}
@media (max-width: 767px) { .ct-form-card { padding: 28px 20px; } }
.ct-form-header { margin-bottom: 32px; }
.ct-form-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.ct-form-sub {
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 300;
  line-height: 1.7;
}

/* Photo strip */
.ct-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 220px;
}
@media (max-width: 767px) {
  .ct-photo-strip { grid-template-columns: repeat(2, 1fr); height: 280px; }
}
.ct-strip-img {
  background-size: cover;
  background-position: center;
  transition: transform .5s ease, filter .5s ease;
  overflow: hidden;
  filter: brightness(.85) saturate(.9);
}
.ct-strip-img:hover { transform: scale(1.04); filter: brightness(1) saturate(1.1); }

/* keep old .contact-section styles for backwards compat */
.contact-section { padding: 80px 0; }

/* ========================
   SHARED PAGE HERO (about, services, etc.)
   ======================== */
.pg-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.pg-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.pg-hero:hover .pg-hero-bg { transform: scale(1); }
.pg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.15) 100%);
}
.pg-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 48px;
  max-width: 720px;
}
.pg-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}
.pg-hero-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}
.pg-hero-sub {
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(255,255,255,.65);
  line-height: 1.85;
  font-weight: 300;
  max-width: 560px;
}

/* CTA link in section */
.pg-cta-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--black);
  border-bottom: 2px solid var(--black);
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity .2s;
}
.pg-cta-link:hover { opacity: .55; }

/* Stats band */
.pg-stats-band {
  background: var(--black);
  padding: 56px 0;
}
.pg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 767px) { .pg-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.pg-stat-item {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.pg-stat-item:last-child { border-right: none; }
.pg-stat-num {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.pg-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
}

/* CTA banner */
.pg-cta-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.pg-cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.pg-cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.pg-cta-banner-content {
  position: relative;
  z-index: 2;
  padding: 60px 32px;
  max-width: 640px;
}
.pg-cta-banner-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}
.pg-cta-banner-sub {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 32px;
}
.pg-cta-banner-btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 16px 36px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.pg-cta-banner-btn:hover { background: rgba(255,255,255,.85); }

.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .6fr 1.4fr; gap: 64px; } }

.contact-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 20px;
}
.contact-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--black);
}

.contact-desc {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.9;
  color: var(--gray-text);
  margin-bottom: 20px;
  font-weight: 300;
}

.contact-email a {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-text);
  font-weight: 300;
}
.contact-email a strong { color: var(--black); font-weight: 700; transition: color .2s; }
.contact-email a:hover strong { color: #444; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
  color: #18181b;
}

.form-control {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #d1d1d1;
  background: transparent;
  padding: 10px 0;
  font-size: 14px;
  font-family: var(--font);
  color: #18181b;
  outline: none;
  transition: border-color .25s;
  font-weight: 300;
}

.form-control::placeholder { color: #c0c0c0; }
.form-control:focus { border-color: var(--black); }

textarea.form-control {
  resize: none;
  min-height: 120px;
  border: 1.5px solid #d1d1d1;
  padding: 12px 14px;
  background: #fafafa;
}
textarea.form-control:focus { border-color: var(--black); background: var(--white); }

.form-success {
  margin-bottom: 20px;
  border-left: 3px solid #16a34a;
  background: #f0fdf4;
  padding: 14px 16px;
  font-size: 13px;
  color: #15803d;
  display: none;
  font-weight: 400;
}
.form-success.visible { display: block; }

.btn-submit {
  width: 100%;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--font);
  padding: 16px;
  transition: background .2s, letter-spacing .2s;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}
.btn-submit:hover { background: #1a1a1a; letter-spacing: .18em; }

/* ========================
   ADMIN
   ======================== */

.admin-body { font-family: var(--font); background: #f8f8f8; min-height: 100vh; }

.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: #f4f4f2;
}

.admin-login-card {
  background: var(--white);
  width: 100%;
  max-width: 400px;
  padding: 44px;
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
}

.admin-login-logo { margin-bottom: 36px; }
.admin-login-logo img { height: 36px; }

.admin-login-title {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 28px;
}

.admin-topbar {
  background: var(--black);
  color: var(--white);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar-logo img { height: 28px; }
.admin-topbar-right { display: flex; align-items: center; gap: 24px; }

.admin-logout-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.admin-logout-btn:hover { color: var(--white); }

.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 56px); }

.admin-sidebar { background: var(--white); border-right: 1px solid #ebebeb; padding: 24px 0; }

.admin-nav-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #c0c0c0;
  padding: 0 20px;
  margin-bottom: 6px;
  margin-top: 8px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  transition: background .2s, color .2s, padding-left .2s;
  border-left: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.admin-nav-link:hover { background: #f5f5f5; color: var(--black); padding-left: 24px; }
.admin-nav-link.active { background: #f5f5f5; color: var(--black); border-left-color: var(--black); font-weight: 700; }

.admin-content { padding: 36px; }

.admin-page-title {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 0;
}

.btn-admin-primary {
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font);
  padding: 11px 20px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-admin-primary:hover { background: #1a1a1a; }

.btn-admin-secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid #d1d5db;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--font);
  padding: 9px 16px;
  cursor: pointer;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-admin-secondary:hover { background: #f4f4f5; }

.btn-admin-danger {
  background: #ef4444;
  color: var(--white);
  border: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font);
  padding: 9px 14px;
  cursor: pointer;
  transition: background .2s;
}
.btn-admin-danger:hover { background: #dc2626; }

.admin-table { width: 100%; background: var(--white); border: 1px solid #ebebeb; border-collapse: collapse; }

.admin-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #a1a1aa;
  padding: 12px 16px;
  border-bottom: 1px solid #ebebeb;
  background: #fafafa;
}

.admin-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid #ebebeb;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }

.admin-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 99px;
}
.admin-badge.commercial { background: #dbeafe; color: #1d4ed8; }
.admin-badge.residential { background: #d1fae5; color: #065f46; }

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  backdrop-filter: blur(2px);
}

.admin-modal { background: var(--white); width: 100%; max-width: 800px; }

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #ebebeb;
}

.admin-modal-title { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }

.admin-modal-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  transition: color .2s, background .2s;
  border-radius: 50%;
}
.admin-modal-close:hover { color: var(--black); background: #f4f4f5; }

.admin-modal-body { padding: 24px; max-height: 70vh; overflow-y: auto; }

.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.admin-form-group { margin-bottom: 16px; }
.admin-form-group.full { grid-column: 1 / -1; }

.admin-form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 7px;
  color: #555;
}

.admin-form-control {
  width: 100%;
  border: 1px solid #e0e0e0;
  background: var(--white);
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font);
  color: #18181b;
  outline: none;
  transition: border-color .2s;
  font-weight: 300;
}
.admin-form-control:focus { border-color: var(--black); }

select.admin-form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 32px; }

textarea.admin-form-control { resize: vertical; min-height: 96px; }

#admin-map-picker { height: 280px; border: 1px solid #e0e0e0; margin-top: 8px; }

.admin-map-hint { font-size: 11px; color: #a1a1aa; margin-top: 6px; font-weight: 300; }

.admin-coord-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }

.admin-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #ebebeb;
}

.admin-empty-state { text-align: center; padding: 64px 24px; background: var(--white); border: 1px solid #ebebeb; }
.admin-empty-state p { font-size: 14px; color: var(--gray-text); font-weight: 300; }

/* Leaflet popup */
.sqpk-popup .leaflet-popup-content-wrapper,
.sqpk-popup .leaflet-popup-tip {
  border-radius: 0 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  padding: 0;
}
.sqpk-popup .leaflet-popup-content { margin: 0; padding: 0; }
.sqpk-popup .leaflet-popup-content a { display: block; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ========================
   MAP — AIRBNB POPUP
   ======================== */

.sqpk-popup .leaflet-popup-content-wrapper {
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.2) !important;
}

.sqpk-popup .leaflet-popup-content {
  margin: 0 !important;
  width: 240px !important;
}

.sqpk-popup .leaflet-popup-tip-container { display: none; }
.sqpk-popup .leaflet-popup-close-button { color: var(--black) !important; font-size: 18px !important; padding: 6px 8px !important; }

.sqpk-card-popup {
  display: block;
  width: 240px;
  text-decoration: none;
  color: var(--black);
}

.sqpk-card-popup-img {
  height: 136px;
  background-size: cover;
  background-position: center;
  display: block;
}

.sqpk-card-popup-body { padding: 13px 15px 15px; background: var(--white); }

.sqpk-card-popup-cat {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-text);
  margin-bottom: 4px;
}

.sqpk-card-popup-title {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.25;
  margin-bottom: 5px;
  color: var(--black);
}

.sqpk-card-popup-loc {
  font-size: 11px;
  color: var(--gray-text);
  margin-bottom: 11px;
  font-weight: 300;
}

.sqpk-card-popup-cta {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--black);
  border-top: 1px solid #ebebeb;
  padding-top: 10px;
  transition: letter-spacing .2s;
}

.sqpk-card-popup:hover .sqpk-card-popup-cta { letter-spacing: .14em; }

.sqpk-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--black);
  border: 2.5px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.sqpk-pin {
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 3px 12px rgba(0,0,0,.4);
  transition: transform .2s cubic-bezier(.22,1,.36,1);
}
.sqpk-pin:hover { transform: rotate(-45deg) scale(1.15); }
.sqpk-pin svg { transform: rotate(45deg); color: var(--white); flex-shrink: 0; }

.sqpk-pin--com { background: #004E92; }
.sqpk-pin--res { background: #1a6b45; }

/* ========================
   CATEGORY PAGES
   ======================== */

.cat-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 768px) { .cat-hero { min-height: 520px; } }

.cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.38) 60%, rgba(0,0,0,.18) 100%);
}

.cat-hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 24px;
  color: var(--white);
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 640px) { .cat-hero-content { padding: 72px 40px; } }
@media (min-width: 1024px) { .cat-hero-content { padding: 80px 112px; } }

.cat-breadcrumb {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.cat-breadcrumb a:hover { color: rgba(255,255,255,.9); }

.cat-hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.03em;
  max-width: 640px;
}

.cat-hero-subtitle {
  margin-top: 20px;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,.78);
  max-width: 480px;
  line-height: 1.65;
}

.cat-hero-cta-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cat-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  gap: 8px;
  transition: background .2s;
}
.btn-cat-primary:hover { background: #e8e8e8; }

.btn-cat-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  background: transparent;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.4);
  gap: 8px;
  transition: background .2s, border-color .2s;
}
.btn-cat-secondary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.75); }

.cat-section { padding: 72px 0; }

.cat-section-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cat-section-title {
  font-size: clamp(20px, 3.5vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1;
}

.cat-section-link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: gap .2s;
}
.cat-section-link:hover { gap: 10px; }

#cat-map {
  height: 500px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  margin-bottom: 56px;
}

.cat-cta-section {
  background: #0a0a0a;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cat-cta-section::before {
  content: 'SQPK';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 240px;
  font-weight: 900;
  color: rgba(255,255,255,.025);
  letter-spacing: -.05em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.cat-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .cat-cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
}

.cat-cta-text h2 {
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 14px;
}

.cat-cta-text p {
  font-size: clamp(13px, 1.2vw, 15px);
  color: rgba(255,255,255,.5);
  font-weight: 300;
  line-height: 1.8;
  max-width: 460px;
}

.cat-cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  padding: 0 32px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  gap: 10px;
  transition: background .2s;
}
.btn-cta-white:hover { background: #e8e8e8; }

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  padding: 0 32px;
  background: transparent;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.3);
  gap: 10px;
  transition: background .2s, border-color .2s;
}
.btn-cta-outline:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.6); }

/* ========================
   PROJECT DETAIL — REDESIGN
   ======================== */

.pd-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 768px) { .pd-hero { min-height: 720px; } }

.pd-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.22) 0%, rgba(0,0,0,.08) 40%, rgba(0,0,0,.82) 100%);
}

.pd-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
  color: var(--white);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 640px) { .pd-hero-content { padding: 64px 40px; } }
@media (min-width: 1024px) { .pd-hero-content { padding: 72px 112px; } }

.pd-breadcrumb {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.pd-breadcrumb a:hover { color: rgba(255,255,255,.9); }

.pd-hero-title {
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.03em;
  max-width: 800px;
}

.pd-hero-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
}

.pd-body { padding: 72px 0 80px; }

.pd-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .pd-layout { grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
}

.pd-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gray-text);
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 20px;
}

.pd-description {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.9;
  color: #333;
  font-weight: 300;
  margin-bottom: 36px;
}

.pd-highlight-box {
  background: var(--black);
  padding: 26px 30px;
  position: relative;
  margin-bottom: 36px;
}

.pd-highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: rgba(255,255,255,.18);
}

.pd-highlight-box p {
  font-size: clamp(13px, 1.2vw, 15px);
  color: rgba(255,255,255,.82);
  font-weight: 300;
  line-height: 1.75;
}

.pd-amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.pd-amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #444;
  font-weight: 300;
}

.pd-amenity::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
}

.pd-info-card {
  border: 1px solid #e8e8e8;
  padding: 24px;
  margin-bottom: 20px;
}

.pd-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}
.pd-info-row:last-child { border-bottom: none; }

.pd-info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-text);
  flex-shrink: 0;
}

.pd-info-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}

.pd-contact-card {
  background: #0a0a0a;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.pd-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.12);
}

.pd-contact-title {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 18px;
}

.pd-contact-form .form-control {
  color: var(--white);
  border-color: rgba(255,255,255,.18);
}
.pd-contact-form .form-control::placeholder { color: rgba(255,255,255,.28); }
.pd-contact-form .form-control:focus { border-color: rgba(255,255,255,.55); }
.pd-contact-form .form-group label { color: rgba(255,255,255,.5); }
.pd-contact-form textarea.form-control {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
}
.pd-contact-form textarea.form-control:focus { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }

#pd-map {
  height: 220px;
  width: 100%;
  display: block;
}

/* ── Project gallery (grid ≤2, slider >2) + lightbox ── */
.pd-gallery-block { margin-top: 40px; }

.pd-gallery { position: relative; }

/* Track */
.pd-gallery-track { display: grid; gap: 14px; }
.pd-gallery.is-grid .pd-gallery-track { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .pd-gallery.is-grid .pd-gallery-track { grid-template-columns: repeat(2, 1fr); }
}

/* Slider: horizontal scroll with snap */
.pd-gallery.is-slider .pd-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pd-gallery.is-slider .pd-gallery-track::-webkit-scrollbar { display: none; }
.pd-gallery.is-slider .pd-gallery-item {
  flex: 0 0 80%;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .pd-gallery.is-slider .pd-gallery-item { flex-basis: calc(50% - 7px); }
}
@media (min-width: 1024px) {
  .pd-gallery.is-slider .pd-gallery-item { flex-basis: calc(33.333% - 10px); }
}

/* Item (clickable) */
.pd-gallery-item {
  position: relative;
  padding: 0;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  overflow: hidden;
  display: block;
}
.pd-gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.pd-gallery-item:hover img { transform: scale(1.05); }
.pd-gallery-item::after {
  content: '⤢';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 15px;
  opacity: 0;
  transition: opacity .25s;
}
.pd-gallery-item:hover::after { opacity: 1; }

/* Slider arrows */
.pd-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(10,10,10,.8);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .2s;
}
.pd-gallery-nav:hover { background: #000; }
.pd-gallery-nav.prev { left: 10px; }
.pd-gallery-nav.next { right: 10px; }

/* Lightbox */
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8,8,8,.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-lightbox[hidden] { display: none; }
.pd-lb-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 10px 60px rgba(0,0,0,.6);
}
.pd-lb-btn {
  position: absolute;
  border: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.pd-lb-btn:hover { background: rgba(255,255,255,.22); }
.pd-lb-close { top: 22px; right: 22px; width: 46px; height: 46px; font-size: 26px; border-radius: 50%; }
.pd-lb-prev, .pd-lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 32px; border-radius: 50%; }
.pd-lb-prev { left: 24px; }
.pd-lb-next { right: 24px; }
.pd-lb-count {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  letter-spacing: .1em;
}
@media (max-width: 640px) {
  .pd-lb-prev, .pd-lb-next { width: 44px; height: 44px; font-size: 26px; }
  .pd-lb-prev { left: 10px; } .pd-lb-next { right: 10px; }
  .pd-gallery-item img { height: 200px; }
}

/* ========================
   HOMEPAGE — MAP + CONTACT
   ======================== */

.hp-map-section { padding: 80px 0 0; }

.hp-map-header { margin-bottom: 32px; }

.hp-map-title {
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.hp-map-desc {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--gray-text);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
}

#hp-map {
  height: 520px;
  width: 100%;
}

.hp-map-links {
  display: flex;
  border: 1px solid #e8e8e8;
  border-top: none;
  flex-wrap: wrap;
}

.hp-map-link {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--black);
  border-right: 1px solid #e8e8e8;
  gap: 7px;
  transition: background .2s, color .2s;
}
.hp-map-link:last-child { border-right: none; }
.hp-map-link:hover { background: var(--black); color: var(--white); }

.hp-contact-section {
  padding: 80px 0;
  background: var(--gray-bg);
}

.hp-contact-inner {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .hp-contact-inner { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
}

.hp-contact-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 18px;
}

.hp-contact-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--black);
}

.hp-contact-desc {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.85;
  color: var(--gray-text);
  font-weight: 300;
  margin-bottom: 20px;
}

.hp-contact-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 300;
  margin-top: 8px;
}

.hp-contact-detail strong { color: var(--black); font-weight: 700; }

/* ========================
   MOBILE RESPONSIVE FIXES
   ======================== */

/* Reduce map heights on small screens */
@media (max-width: 639px) {
  #hp-map { height: 320px; }
  #cat-map { height: 280px; }
  #pd-map { height: 160px; }
  .pd-body { padding: 48px 0 56px; }
  .hp-map-section { padding: 56px 0 0; }
  .hp-contact-section { padding: 56px 0; }
  .cat-section { padding: 56px 0; }
  .cat-cta-section { padding: 56px 0; }
  .pd-amenities-grid { grid-template-columns: 1fr; }
  .pd-gallery-grid { grid-template-columns: 1fr; }
}

/* Map links row → wrap cleanly on mobile */
@media (max-width: 480px) {
  .hp-map-links { flex-direction: column; }
  .hp-map-link { border-right: none; border-bottom: 1px solid #e8e8e8; }
  .hp-map-link:last-child { border-bottom: none; }
}

/* Cat hero min-height on mobile */
@media (max-width: 639px) {
  .cat-hero { min-height: 420px; }
  .cat-hero-title { font-size: clamp(32px, 9vw, 56px); }
  .cat-hero-cta-row { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* Project detail hero on mobile */
@media (max-width: 639px) {
  .pd-hero { min-height: 480px; }
  .pd-hero-title { font-size: clamp(26px, 8vw, 48px); }
  .pd-hero-meta { flex-wrap: wrap; gap: 8px; }
}

/* Admin modal full-screen on mobile */
@media (max-width: 640px) {
  .admin-modal { width: 100%; max-height: 100vh; border-radius: 0; }
  .admin-modal-overlay { padding: 0; align-items: flex-end; }
  .admin-modal-body { max-height: 75vh; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #e4e4e7; padding-bottom: 12px; }
  .admin-content { padding: 24px 16px; }
  .admin-topbar { padding: 0 16px; }
  .admin-form-grid { grid-template-columns: 1fr !important; }
}

/* Projects grid on mobile */
@media (max-width: 639px) {
  .projects-cards-grid { grid-template-columns: 1fr; }
}

/* ── Admin image upload ─────────────────────────── */
.admin-upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-upload-status { font-size: 12px; color: #71717a; }
.admin-upload-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
#cover-preview img { max-width: 220px; max-height: 130px; border-radius: 4px; border: 1px solid #e4e4e7; object-fit: cover; display: block; }
.admin-thumb { position: relative; width: 92px; height: 70px; border-radius: 4px; overflow: hidden; border: 1px solid #e4e4e7; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-thumb-x {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px;
  border: none; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff;
  font-size: 14px; line-height: 1; cursor: pointer; display: flex;
  align-items: center; justify-content: center; padding: 0;
}
.admin-thumb-x:hover { background: #dc2626; }
