:root {
  --cream: #F3ECDC;
  --cream-dark: #EAE0C8;
  --olive: #55552F;
  --olive-dark: #3A3A20;
  --olive-light: #7C7C52;
  --gold: #B7975C;
  --text: #3A3722;
}

* { box-sizing: border-box; }

.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;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--olive-dark);
  margin: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  border-bottom: 1px solid var(--cream-dark);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.nav-home {
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  font-size: 16px;
  color: var(--olive-dark);
  text-decoration: none;
}

.nav-home:hover { color: var(--gold); }

.lang-switcher select {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  background: transparent;
  border: 1px solid var(--olive-light);
  color: var(--olive-dark);
  padding: 6px 12px;
  border-radius: 3px;
  cursor: pointer;
}

.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 96px);
  background: var(--cream);
  text-align: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(243, 236, 220, 0.12);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  padding-bottom: 6%;
}

.hero-logo {
  width: 36%;
  min-width: 160px;
  max-width: 460px;
  max-height: 44vh;
  height: auto;
  align-self: center;
}

.hero-text {
  align-self: end;
  max-width: 775px;
  padding: 30px 50px;
  background: rgba(243, 236, 220, 0.88);
  border: 1px solid rgba(85, 85, 47, 0.15);
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(58, 55, 34, 0.15);
}

.hero-text h1 {
  font-size: 38px;
  margin-bottom: 15px;
}

.hero-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 33px;
  font-weight: 700;
  color: var(--olive);
  margin: 0;
}

.projects {
  background: var(--olive-dark);
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 50px 0;
}

.project-banner {
  width: 100%;
  display: flex;
  background: rgb(75, 82, 53);
}

.project-media {
  flex: 0 1 1125px;
  max-width: 1125px;
  aspect-ratio: 1.7 / 1;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-banner--urban .project-img { object-position: left center; }
.project-banner--tierra .project-img { object-position: right center; }

.project-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 8%;
  text-align: center;
}

.project-name {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--cream);
  margin: 0;
}

.project-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 27px;
  color: var(--cream);
  margin: 0;
}

.project-btn {
  margin-top: 6px;
  padding: 13px 34px;
  background: var(--olive-dark);
  color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 2px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.project-btn:hover {
  background: var(--cream);
  color: var(--olive-dark);
}

.project-page-banner {
  width: 100%;
  height: auto;
  display: block;
}


.project-page-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.project-page-content h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.plan-list {
  background: rgb(75, 82, 53);
  padding: 40px 60px 70px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.plan-item {
  display: flex;
  align-items: center;
  gap: 50px;
}

.plan-item:nth-child(even) {
  flex-direction: row-reverse;
}

.plan-media {
  width: 100%;
  max-width: 660px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}

.plan-info {
  flex: 1;
  text-align: center;
}

.plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--cream);
  margin-bottom: 12px;
}

.plan-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--cream);
}

.plan-disclaimer {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  color: var(--cream);
}

.project-page-content p.project-page-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--olive);
}

.project-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.project-body h2 {
  font-size: 32px;
  margin: 50px 0 20px;
  color: var(--olive-dark);
}

.project-body-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-line;
}

.project-highlight {
  margin-top: 40px;
  padding: 40px;
  background: rgb(75, 82, 53);
  border-radius: 4px;
  text-align: center;
}

.project-highlight p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.7;
  color: var(--cream);
}

.project-highlight-list {
  margin-top: 20px;
  white-space: pre-line;
  font-family: 'Playfair Display', serif !important;
  font-size: 24px !important;
  letter-spacing: 0.5px;
}

.project-closing {
  text-align: center;
  padding: 60px 24px 80px;
}

.project-closing h3 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.project-closing p {
  font-family: 'Mrs Saint Delafield', cursive;
  font-size: 42px;
  color: var(--olive);
}

.example-figure {
  margin: 40px 0;
  text-align: center;
}

.example-image {
  width: 100%;
  max-width: 700px;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.example-caption {
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 20px;
  font-style: italic;
  color: var(--olive-dark);
}

.example-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 34px;
  background: var(--olive-dark);
  color: var(--cream);
  border: 1px solid var(--olive-dark);
  border-radius: 2px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

.example-btn:hover {
  background: var(--cream);
  color: var(--olive-dark);
}

.sold-banner {
  background: var(--gold);
  text-align: center;
  padding: 18px 24px;
}

.sold-banner-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.5px;
  color: var(--olive-dark);
  margin: 0 0 10px;
}

.sold-banner-text {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--olive-dark);
  text-decoration: underline;
}

.about-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 70px 60px;
  background: rgb(75, 82, 53);
}

.about-us--stacked {
  grid-template-columns: 1fr;
}

.about-us--stacked .about-us-media {
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

.about-us--stacked .about-us-content h2 {
  text-align: center;
}

.about-us-media {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.location-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-gallery-main {
  width: 100%;
  aspect-ratio: 0.87 / 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.location-gallery-row {
  display: flex;
  gap: 14px;
}

.location-gallery-thumb {
  flex: 1;
  width: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about-us-content h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--cream);
}

.location-highlight-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--cream);
  margin: 0 0 18px;
}

.location-distance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-distance-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--cream);
}

.location-distance-list .check {
  color: var(--gold);
  font-weight: bold;
}

.map-gallery {
  display: flex;
  gap: 14px;
}

.map-gallery-item {
  flex: 1;
  width: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about-us-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.7;
  color: var(--cream);
  white-space: pre-line;
  margin-top: 24px;
}

.safety-chart {
  background: rgb(75, 82, 53);
  padding: 10px 60px 60px;
  border-top: 1px solid rgba(243, 236, 220, 0.15);
}

.safety-chart h2 {
  color: var(--cream);
  font-size: 30px;
  text-align: center;
  margin-bottom: 34px;
}

.chart {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chart-row {
  display: grid;
  grid-template-columns: 340px 1fr 110px;
  align-items: center;
  gap: 16px;
}

.chart-label {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 27px;
  color: var(--cream);
}

.chart-track {
  background: rgba(243, 236, 220, 0.15);
  border-radius: 3px;
  height: 14px;
  overflow: hidden;
}

.chart-bar {
  height: 100%;
  border-radius: 3px;
}

.chart-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 27px;
  color: var(--cream);
  text-align: right;
}

.chart-unit {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 27px;
  color: var(--cream);
  margin-top: 26px;
}

.about, .commitment, .banner {
  padding: 50px 60px;
}

.about h2, .commitment h2 {
  text-align: center;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.about h2::after, .commitment h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat { text-align: center; }

.icon {
  width: 42px;
  height: 42px;
  color: var(--olive);
  margin-bottom: 14px;
}

.stat h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat p {
  font-size: 15px;
  color: var(--olive-dark);
  margin: 0;
}

.commitment {
  background: var(--olive-dark);
  color: var(--cream);
}

.commitment h2 { color: var(--cream); }
.commitment h2::after { background: var(--gold); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
}

.check {
  color: var(--gold);
  font-weight: bold;
}

.banner {
  text-align: center;
}

.quote {
  font-family: 'Mrs Saint Delafield', cursive;
  font-size: 34px;
  color: var(--olive-dark);
  margin-bottom: 30px;
}

.banner-items {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.banner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.icon-sm { width: 24px; height: 24px; color: var(--olive); flex-shrink: 0; }

.contact-us {
  background: var(--cream);
  padding: 70px 24px;
  text-align: center;
}

.contact-us h2 {
  font-size: 32px;
  margin-bottom: 34px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--olive-dark);
  text-decoration: none;
}

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

.contact-link .icon-sm {
  width: 30px;
  height: 30px;
  color: inherit;
}

footer {
  background: var(--olive-dark);
  color: var(--cream);
  padding: 24px 60px;
}

.footer-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-items a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  text-decoration: none;
}

.footer-items .icon-sm { color: var(--cream); }

@media (max-width: 800px) {
  .hero-text { padding: 16px 20px; }
  .hero-text p { font-size: 18px; }
  .about, .commitment, .banner { padding: 40px 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 24px; }
  .project-btn { padding: 6px 14px; font-size: 11px; }
  .about-us { grid-template-columns: 1fr; padding: 40px 24px; }
  .safety-chart { padding: 10px 24px 40px; }
  .chart-row { grid-template-columns: 1fr; gap: 6px; }
  .chart-value { text-align: left; }
  .plan-list { padding: 30px 24px 50px; gap: 40px; }
  .plan-item, .plan-item:nth-child(even) { flex-direction: column; gap: 20px; }
  .topbar { padding: 8px 16px; flex-wrap: wrap; row-gap: 8px; }
  .nav-logo { width: 60px; }
  .nav-home { font-size: 14px; }
  .nav-left { gap: 10px; }
  .project-banner { flex-direction: column; }
  .project-media { max-width: 100%; flex: none; width: 100%; }
  .project-text { padding: 30px 24px; }
  .map-gallery, .location-gallery-row { flex-direction: column; }
  .map-gallery-item, .location-gallery-thumb { width: 100%; }
  .about-us--stacked .about-us-media { max-width: 100%; }
}
