/* ---------------------------------------------------
   Goodwill Builders — base styles
--------------------------------------------------- */

:root {
  --navy: #0b1a2e;
  --navy-deep: #081321;
  --navy-mid: #122641;
  --navy-line: rgba(201, 162, 90, 0.22);
  --cream: #f6f1e6;
  --cream-soft: #efe8d8;
  --white: #ffffff;
  --gold: #c9a24b;
  --gold-bright: #ddbc73;
  --gold-dim: #8a713a;
  --ink: #1b2432;
  --ink-soft: #4a5568;
  --slate: #8996a6;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: inherit;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
  font-weight: 500;
}

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 500;
}

.btn-gold:hover { background: var(--gold-bright); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 230, 0.45);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-full { width: 100%; text-align: center; }

/* ---------------------------------------------------
   Top bar
--------------------------------------------------- */

.topbar {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--navy-line);
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.55rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.8rem;
}

.topbar-inner a {
  font-size: 0.8rem;
  color: var(--cream-soft);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.topbar-inner a:hover { color: var(--gold-bright); }

@media (max-width: 560px) {
  .topbar-email { display: none; }
  .topbar-inner { justify-content: center; }
}

/* ---------------------------------------------------
   Header
--------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 19, 33, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--navy-line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  height: 42px;
  width: auto;
}

.brand-text {
  font-family: 'Montserrat', 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: 2.2rem;
}

.main-nav a {
  color: var(--cream-soft);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active { color: var(--gold-bright); }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--cream);
  width: 100%;
}

/* ---------------------------------------------------
   Hero (home)
--------------------------------------------------- */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero {
  background: var(--navy);
}

/* Start the picture below the fixed header so the logo in its top-right corner isn't covered */
.hero-media {
  position: absolute;
  inset: var(--header-h, 110px) 0 0 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

/* Phones: the headline would sit on the logo, so frame the skyline without it */
@media (max-width: 600px) {
  .hero-img { object-position: 68% 38%; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,19,33,0.1) 0%, rgba(8,19,33,0.22) 45%, rgba(8,19,33,0.85) 100%),
    linear-gradient(90deg, rgba(8,19,33,0.4) 0%, rgba(8,19,33,0.05) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem var(--gutter) 3rem;
  width: 100%;
  color: var(--cream);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 8rem var(--gutter) 3rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 8rem var(--gutter) 2.5rem;
  }
}

.hero-content .eyebrow { color: var(--gold-bright); }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 1.6rem;
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 46ch;
  color: var(--cream-soft);
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* ---------------------------------------------------
   Page banner (About / Contact / other interior pages)
--------------------------------------------------- */

.page-banner {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--navy-line);
  color: var(--cream);
  padding: 10.5rem var(--gutter) 3.5rem;
}

.page-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-banner h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.page-banner-lead {
  color: var(--cream-soft);
  font-size: 1.05rem;
  max-width: 56ch;
}

@media (max-width: 560px) {
  .page-banner { padding-top: 8.5rem; }
}

/* ---------------------------------------------------
   Project hero (individual project pages)
--------------------------------------------------- */

.project-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.project-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.project-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,19,33,0.5) 0%, rgba(8,19,33,0.4) 40%, rgba(8,19,33,0.92) 100%);
}

.project-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9rem var(--gutter) 3.5rem;
  width: 100%;
  color: var(--cream);
}

.back-link {
  display: block;
  width: max-content;
  font-size: 0.85rem;
  color: var(--cream-soft);
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
  transition: color 0.2s ease;
}

.back-link:hover { color: var(--gold-bright); }

.project-hero-content h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  color: var(--white);
  margin: 0.9rem 0 0.4rem;
}

.project-hero-content .project-location {
  color: var(--gold-bright);
  font-size: 1rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.map-link svg { width: 13px; height: 13px; flex-shrink: 0; }

.map-link:hover {
  color: var(--white);
  border-color: var(--gold-bright);
}

/* ---------------------------------------------------
   Stats strip
--------------------------------------------------- */

.stats {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--navy-line);
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-num {
  font-family: var(--sans);
  font-size: 2.6rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--cream-soft);
  letter-spacing: 0.02em;
  max-width: 18ch;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--navy-line);
}

@media (max-width: 700px) {
  .stat-divider { display: none; }
}

/* ---------------------------------------------------
   Section heading helper
--------------------------------------------------- */

.section-heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--navy);
}

.section-heading-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

/* ---------------------------------------------------
   About
--------------------------------------------------- */

.about {
  background: var(--cream);
  padding: 6.5rem 0;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.about-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 3.5rem;
  max-width: 68ch;
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-top: 1px solid rgba(11, 26, 46, 0.12);
  padding-top: 3rem;
}

.vm-block h3 {
  font-size: 1.4rem;
  color: var(--gold-dim);
  margin-bottom: 0.8rem;
}

.vm-block p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

@media (max-width: 720px) {
  .vision-mission { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* About teaser on homepage */

.about-teaser {
  background: var(--cream);
  padding: 6.5rem 0;
}

.about-teaser-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.about-teaser-inner .about-lead { margin-bottom: 2rem; }

.text-link {
  display: inline-block;
  color: var(--gold-dim);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------------------------------------------------
   Projects — homepage overview grid
--------------------------------------------------- */

.projects {
  background: var(--navy);
  padding: 7rem 0;
  color: var(--cream);
}

.projects .section-heading-center h2 { color: var(--white); }

.project-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.project-card { display: flex; flex-direction: column; }

.project-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 3 / 5;
  margin-bottom: 1.4rem;
  background: var(--navy-deep);
}

.project-card-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card-photo { transform: scale(1.05); }

.thumb-badge {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: var(--cream);
  border: 1px solid rgba(201, 162, 90, 0.5);
  padding: 4px;
}

.project-status {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
}

.project-status.completed {
  border-color: rgba(246, 241, 230, 0.3);
  color: var(--cream-soft);
}

.project-card h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.project-card .project-location {
  color: var(--gold-bright);
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.project-card-teaser {
  color: var(--cream-soft);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.project-card .text-link {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}

.project-card .text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---------------------------------------------------
   Project detail page (content below project-hero)
--------------------------------------------------- */

.project-detail {
  background: var(--cream);
  padding: 5.5rem 0;
}

.project-detail-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.project-detail-desc {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 3rem;
  max-width: 68ch;
}

.project-detail-inner h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.4rem;
}

.amenities-light {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  margin-bottom: 3rem;
}

.amenities-light li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-left: 1.2rem;
  position: relative;
}

.amenities-light li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 1px;
  background: var(--gold-dim);
}

.detail-section {
  margin-bottom: 3.2rem;
}

.detail-section:last-of-type {
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 2rem;
}

.feature-grid li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.feature-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 1px;
  background: var(--gold-dim);
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.config-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.config-chip {
  border: 1px solid rgba(11, 26, 46, 0.25);
  color: var(--navy);
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 2.5rem;
}

.nearby-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(11, 26, 46, 0.12);
  padding-bottom: 0.55rem;
  font-size: 0.92rem;
}

.nearby-item span:first-child { color: var(--ink); }

.nearby-item span:last-child {
  color: var(--gold-dim);
  white-space: nowrap;
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .nearby-grid { grid-template-columns: 1fr; }
}

.project-hero-logo {
  background: var(--navy);
  align-items: center;
}

.project-hero-logo .project-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-hero-logo .back-link {
  align-self: flex-start;
}

/* Full-width cover picture above a project hero; padding clears the fixed header */
.project-cover {
  padding-top: 110px;
  background: var(--navy);
}

.project-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

@media (max-width: 560px) {
  .project-cover { padding-top: 117px; }
}

/* Larger screens: cap the cover at ~55% of the window height, centred */
@media (min-width: 700px) {
  .project-cover img {
    width: min(100%, calc(55vh * 16 / 9));
    margin: 0 auto;
  }
}

/* Hero directly under a cover picture: the cover already clears the header */
.project-cover + .project-hero {
  min-height: 0;
}

.project-cover + .project-hero .project-hero-content {
  padding-top: 2.5rem;
}

.hero-logo-graphic {
  width: min(340px, 60%);
  height: auto;
  margin: 1.4rem 0 1.6rem;
}

/* ---------------------------------------------------
   Past projects (secondary, homepage)
--------------------------------------------------- */

.past-projects {
  background: var(--cream);
  padding: 5rem 0 6rem;
}

.past-projects-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-heading-minor h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--navy);
}

.past-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.past-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.past-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.past-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.past-card:hover .past-card-media img { transform: scale(1.05); }

.past-card span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

.past-projects-cta {
  text-align: center;
  margin-top: 2.8rem;
}

@media (max-width: 900px) {
  .past-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .past-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------
   Why work with us
--------------------------------------------------- */

.why {
  background: var(--cream);
  padding: 6.5rem 0;
}

.why-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 1rem;
}

.why-item {
  padding-top: 1.6rem;
  border-top: 2px solid var(--gold);
}

.why-item h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.why-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (max-width: 800px) {
  .why-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ---------------------------------------------------
   Contact
--------------------------------------------------- */

.contact {
  background: var(--navy-deep);
  padding: 5.5rem 0 7rem;
  color: var(--cream);
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.contact-info h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0.6rem 0 1rem;
}

.contact-lead {
  color: var(--cream-soft);
  margin-bottom: 2.5rem;
  max-width: 40ch;
}

.contact-details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details div {
  border-top: 1px solid var(--navy-line);
  padding-top: 1rem;
}

.contact-details dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.contact-details dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--cream);
}

.contact-details a:hover { color: var(--gold-bright); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-form label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: -0.7rem;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--navy-line);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.6rem 0.1rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(246, 241, 230, 0.35);
}

.form-note {
  font-size: 0.9rem;
  color: var(--gold-bright);
  min-height: 1.2em;
}

@media (max-width: 800px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* Compact contact CTA banner used on homepage */

.contact-cta {
  background: var(--navy-deep);
  padding: 5.5rem var(--gutter);
  text-align: center;
  color: var(--cream);
}

.contact-cta-inner { max-width: 640px; margin: 0 auto; }

.contact-cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 0.8rem 0 1.2rem;
}

.contact-cta p {
  color: var(--cream-soft);
  margin-bottom: 2rem;
}

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */

.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-line);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

.footer-brand span {
  font-family: 'Montserrat', 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1;
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--cream-soft);
  font-size: 0.9rem;
}

.footer-nav a:hover { color: var(--gold-bright); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--cream-soft);
  text-align: right;
}

.footer-contact a:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--navy-line);
  text-align: center;
  padding: 1.3rem var(--gutter);
}

.footer-bottom p {
  color: rgba(246, 241, 230, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

@media (max-width: 700px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}

/* ---------------------------------------------------
   Mobile nav
--------------------------------------------------- */

@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 98px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--navy-line);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open { max-height: 320px; }

  .main-nav a {
    padding: 1rem var(--gutter);
    border-top: 1px solid var(--navy-line);
    width: 100%;
  }

  .main-nav a::after { display: none; }
}

/* ---------------------------------------------------
   MahaRERA block (project enquiry section)
--------------------------------------------------- */

.rera-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--navy-line);
  background: rgba(8, 19, 33, 0.5);
  text-align: left;
}

.rera-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.rera-number {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rera-number:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.rera-site {
  font-size: 0.85rem;
  color: var(--cream-soft);
}

/* QR images carry their own white margin; shown at full strength, never shrunk */
.rera-qr {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  background: var(--white);
}

/* Denser QR codes need more room to stay scannable */
.rera-qr-dense {
  width: 240px;
  height: 240px;
}

@media (max-width: 560px) {
  .rera-block {
    flex-direction: column;
    text-align: center;
    padding: 1.1rem 0.75rem;
  }
}

/* ---------------------------------------------------
   Project enquiry (form + call buttons)
--------------------------------------------------- */

.project-enquiry {
  border-top: 1px solid var(--navy-line);
  padding: 3rem 0 5rem;
}

/* Single column below the project details: RERA box, call buttons, form */
.project-enquiry-inner {
  max-width: calc(640px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.call-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.call-btn {
  width: 100%;
  font-size: 1rem;
  min-height: 48px;
  text-align: center;
}

.contact-form select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--navy-line);
  border-radius: 0;
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.6rem 1.6rem 0.6rem 0.1rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a24b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.3rem center;
  cursor: pointer;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form select option { color: var(--ink); }

.contact-form button { min-height: 48px; }

.contact-form button:disabled { opacity: 0.6; cursor: wait; }

.form-consent {
  font-size: 0.85rem;
  color: var(--cream-soft);
  margin-top: -0.4rem;
}

.form-consent a {
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold-dim);
}

.form-note.is-error { color: #f2a7a0; }

/* Help text under a form field */
.form-help {
  font-size: 0.85rem;
  color: var(--cream-soft);
  margin-top: -0.8rem;
}

/* Careers page: form section and email alternative */
.contact.careers {
  padding: 4.5rem 0 6rem;
}

.careers-email {
  color: var(--cream-soft);
}

.careers-email a {
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold-dim);
  overflow-wrap: anywhere;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------------------------------------------------
   Privacy policy page
--------------------------------------------------- */

.legal {
  background: var(--cream);
  padding: 4.5rem 0 6rem;
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.legal-inner h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2.6rem 0 0.8rem;
}

.legal-inner p,
.legal-inner li {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.legal-inner p + p { margin-top: 0.8rem; }

.legal-inner ul { margin-top: 0.6rem; }

.legal-inner li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.legal-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 1px;
  background: var(--gold-dim);
}

.legal-inner a {
  color: var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}

.legal-date {
  font-size: 0.9rem;
  color: var(--slate);
}

/* ---------------------------------------------------
   Top bar phone links — larger tap targets on phones
--------------------------------------------------- */

@media (max-width: 560px) {
  .topbar-inner {
    padding: 0 var(--gutter);
    gap: 0.6rem;
  }

  .topbar-inner a {
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
  }

  /* Top bar is ~8px taller here, so drop the mobile menu to match */
  .main-nav { top: 106px; }
}

@media (max-width: 360px) {
  .topbar-inner a { font-size: 0.78rem; padding: 0.75rem 0.3rem; }
}

/* ---------------------------------------------------
   Photo gallery lightbox (opened by a [data-gallery] button)
--------------------------------------------------- */

.gallery-open { margin-top: 1.5rem; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4.5rem 1.5rem;
  background: var(--navy-deep);
  color: var(--cream);
  font-family: var(--sans);
  touch-action: pan-y;
  animation: gallery-fade 0.25s ease;
}

.gallery-lightbox[hidden] { display: none; }

body.gallery-locked { overflow: hidden; }

.gallery-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  max-width: 100%;
  margin: 0;
}

.gallery-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  max-height: calc(100dvh - 11rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  background: var(--navy);
}

.gallery-caption {
  margin-top: 1rem;
  max-width: 60ch;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.gallery-counter {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.gallery-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 241, 230, 0.45);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.gallery-btn:hover,
.gallery-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.gallery-btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

.gallery-prev,
.gallery-next { top: 50%; transform: translateY(-50%); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-close { top: 1rem; right: 1rem; }

@keyframes gallery-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 700px) {
  .gallery-lightbox { padding: 4rem 0.75rem 1rem; }
  .gallery-image { max-height: calc(100vh - 13rem); max-height: calc(100dvh - 13rem); }
  .gallery-prev,
  .gallery-next { top: auto; bottom: 1rem; transform: none; width: 2.75rem; height: 2.75rem; }
  .gallery-prev { left: 0.75rem; }
  .gallery-next { right: 0.75rem; }
  .gallery-close { top: 0.75rem; right: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox { animation: none; }
  .gallery-btn { transition: none; }
}

/* ---------------------------------------------------
   Disclaimer lines (footer on every page, under project photos)
--------------------------------------------------- */

.footer-disclaimer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 1.5rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  color: #b4bdc9;
}

.footer-disclaimer a,
.image-disclaimer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-disclaimer a:hover,
.image-disclaimer a:hover { color: var(--gold-bright); }

.footer-disclaimer a:focus-visible,
.image-disclaimer a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.image-disclaimer {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* Under the cover photo (navy) */
.project-cover .image-disclaimer {
  padding: 0.7rem var(--gutter) 0;
  color: #b4bdc9;
}

/* Under the completed-projects photo grid (cream) */
.past-projects .image-disclaimer {
  margin-top: 1.6rem;
  color: var(--ink-soft);
}
