@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700&display=swap");

:root {
  --komodo-blue: #00133e;
  --komodo-gold: #bb950d;
  --komodo-ivory: #f8f4ec;
  --ink: var(--komodo-blue);
  --muted: #4f5562;
  --line: #d9d6cf;
  --brand: var(--komodo-blue);
  --brand-dark: var(--komodo-blue);
  --accent: var(--komodo-gold);
  --accent-soft: var(--komodo-ivory);
  --stone: #505664;
  --paper: #ffffff;
  --soft: var(--komodo-ivory);
  --font-display: "Sora", Arial, Helvetica, sans-serif;
  --font-body: "Manrope", Arial, Helvetica, sans-serif;
  --radius-sm: 11px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-soft: 0 14px 34px rgba(0, 19, 62, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

.home-page .project-hero,
.home-page #proyectos-lista,
.home-page .quote-demo,
.home-page #beneficios,
.home-page #club-house,
.home-page #galeria,
.home-page .gallery-section-alt {
  display: none;
}

body::before {
  content: "";
  display: block;
  height: 7px;
  background: var(--accent);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(187, 149, 13, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 7vw;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  min-height: 66px;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 100%;
  max-height: 58px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: var(--stone);
  font-weight: 800;
}

.nav a {
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 12px 18px;
  background: var(--brand);
  color: white;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 19, 62, 0.18);
}

.nav-cta:hover {
  color: white;
  background: var(--brand-dark);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 22px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 26px rgba(0, 19, 62, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #00133e;
}

.footer-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.home-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: center;
  padding: 72px 7vw;
  background: #ffffff;
  color: var(--ink);
}

.home-copy {
  max-width: 900px;
}

.home-copy h1 {
  max-width: 980px;
  color: var(--ink);
}

.home-copy p:not(.eyebrow),
.home-panel p,
.services-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.home-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 20px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.home-actions .secondary {
  border-color: rgba(0, 19, 62, 0.34);
  background: white;
  color: var(--brand-dark);
}

.home-panel {
  padding: 28px;
  border: 1px solid rgba(0, 19, 62, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(0, 19, 62, 0.16);
}

.home-panel img {
  width: 190px;
  max-width: 100%;
  height: auto;
  margin-bottom: 28px;
}

.home-panel h2 {
  font-size: 28px;
}

.services-section {
  background: var(--komodo-ivory);
}

.project-benefit-map {
  background: #ffffff;
}

.benefit-map-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  max-width: 1100px;
}

.benefit-map-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(0, 19, 62, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 19, 62, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit-map-card:hover,
.benefit-map-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 19, 62, 0.42);
  box-shadow: 0 24px 54px rgba(0, 19, 62, 0.16);
  outline: none;
}

.benefit-map-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(187, 149, 13, 0.18);
  border-radius: 50%;
}

.benefit-map-card.primary {
  background: var(--komodo-blue);
  color: white;
  box-shadow: 0 24px 58px rgba(0, 19, 62, 0.22);
}

.benefit-map-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benefit-map-card.primary span {
  color: var(--komodo-ivory);
}

.benefit-map-card h3,
.benefit-map-card p,
.benefit-map-action {
  position: relative;
  z-index: 1;
}

.benefit-map-card h3 {
  margin: 14px 0 12px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
}

.benefit-map-card.primary h3,
.benefit-map-card.primary p,
.benefit-map-card.primary .benefit-map-action {
  color: white;
}

.benefit-map-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.benefit-map-action {
  display: inline-flex;
  margin-top: 24px;
  color: var(--brand-dark);
  font-weight: 900;
}

.benefit-map-card.primary .benefit-map-action {
  color: var(--komodo-ivory);
}

.services-intro {
  max-width: 860px;
  margin: -12px 0 30px;
}

.services-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.services-grid article {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(0, 19, 62, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 19, 62, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.services-grid article:hover,
.services-grid article:focus {
  z-index: 4;
  border-color: rgba(0, 19, 62, 0.64);
  box-shadow: 0 24px 54px rgba(0, 19, 62, 0.2);
  outline: none;
  transform: translateY(-5px);
}

.services-grid article:nth-child(even) {
  border-color: rgba(187, 149, 13, 0.52);
  background: #f8f4ec;
}

.services-grid article:nth-child(7) {
  border-color: rgba(0, 19, 62, 0.34);
  background: #ffffff;
}

.services-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand);
  font-weight: 900;
}

.services-grid h3 {
  margin-top: 0;
}

.specialized-services {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(0, 19, 62, 0.24);
  border-radius: 8px;
  background: #00133e;
  color: white;
  box-shadow: 0 18px 44px rgba(0, 19, 62, 0.14);
}

.specialized-services .eyebrow {
  background: rgba(248, 244, 236, 0.12);
}

.specialized-services h3 {
  margin: 0;
  color: white;
  font-size: 28px;
}

.specialized-services ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.specialized-services li {
  position: relative;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--komodo-ivory);
  font-weight: 700;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.specialized-services li:hover,
.specialized-services li:focus {
  z-index: 5;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  outline: none;
  transform: translateY(-3px);
}

.specialized-services li > span {
  position: relative;
  z-index: 1;
}

.why-projects {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: 8px;
  background: var(--komodo-ivory);
  box-shadow: 0 18px 46px rgba(0, 19, 62, 0.12);
}

.why-projects .section-heading {
  max-width: 820px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(0, 19, 62, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.1);
}

.why-grid article:nth-child(2) {
  border-color: rgba(187, 149, 13, 0.55);
  background: rgba(248, 244, 236, 0.94);
}

.why-grid h3 {
  margin-top: 0;
  color: var(--ink);
  font-size: 23px;
}

.why-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.hero {
  min-height: 820px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  padding: 56px 5vw 64px;
  background-color: var(--komodo-blue);
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-content {
  width: 100%;
  max-width: none;
}

.hero-showcase {
  width: 100%;
  max-width: none;
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(248, 244, 236, 0.28);
  border-radius: 18px;
  background: rgba(0, 19, 62, 0.18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.banner-carousel {
  position: relative;
  min-height: 590px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--komodo-blue);
  isolation: isolate;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.1s ease;
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 590px;
  display: block;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 19, 62, 0.36);
}

.banner-content {
  position: absolute;
  right: 42px;
  bottom: 42px;
  z-index: 2;
  max-width: 410px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(0, 19, 62, 0.56);
  text-align: left;
  color: white;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.banner-content span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(248, 244, 236, 0.92);
  color: var(--komodo-blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.banner-content h2 {
  margin: 0;
  color: white;
  font-size: 40px;
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.banner-content p {
  margin: 10px 0 18px;
  color: white;
  line-height: 1.45;
  font-size: 16px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.banner-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #00133e;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(187, 149, 13, 0.28);
}

.banner-content a:hover {
  background: white;
  color: var(--brand-dark);
}

.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  min-height: auto;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(0, 19, 62, 0.24);
  color: white;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.banner-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.04);
}

.banner-arrow.prev {
  left: 18px;
}

.banner-arrow.next {
  right: 18px;
}

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 9px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(0, 19, 62, 0.42);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.banner-dots button {
  width: 34px;
  height: 6px;
  min-height: auto;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 0;
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease;
}

.banner-dots button.active {
  width: 58px;
  background: var(--accent);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(0, 19, 62, 0.86);
}

.image-modal[hidden] {
  display: none;
}

.image-modal img {
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: auto;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--komodo-blue);
  font-size: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 9px 14px;
  border: 1px solid rgba(248, 244, 236, 0.42);
  border-radius: 999px;
  background: rgba(0, 19, 62, 0.38);
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(187, 149, 13, 0.18);
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
}

h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.hero-copy {
  width: 100%;
  max-width: none;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 19, 62, 0.2);
}

.button.primary {
  background: var(--accent);
  color: var(--komodo-blue);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.home-actions .button.secondary {
  border-color: rgba(0, 19, 62, 0.34);
  background: white;
  color: var(--brand-dark);
}

.lead-form {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(390px, calc(100vw - 40px));
  padding: 26px;
  background: white;
  color: var(--ink);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 19, 62, 0.62);
}

.contact-modal[hidden] {
  display: none;
}

.contact-close {
  justify-self: end;
  width: auto;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--komodo-blue);
  font-size: 13px;
}

.lead-form h2 {
  font-size: 24px;
  margin: 0 0 4px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--komodo-ivory);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus {
  border-color: rgba(0, 19, 62, 0.55);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 19, 62, 0.1);
}

.check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-weight: 400;
  line-height: 1.35;
}

.check input {
  min-height: auto;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta:hover,
button:hover,
.quote-link:hover {
  background: var(--brand-dark);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 19, 62, 0.18);
}

.banner-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
}

.banner-dots button:hover {
  background: rgba(255, 255, 255, 0.78);
}

.banner-dots button.active:hover {
  background: var(--accent);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.social-link {
  display: inline-flex;
  width: fit-content;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 76px 7vw;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0 7vw;
  background: white;
  border-top: 1px solid rgba(0, 19, 62, 0.1);
  border-bottom: 1px solid rgba(0, 19, 62, 0.1);
}

.trust-strip div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px 24px;
  border-right: 1px solid rgba(0, 19, 62, 0.1);
}

.trust-strip div:first-child {
  border-left: 1px solid rgba(0, 19, 62, 0.1);
}

.trust-strip strong {
  color: var(--brand-dark);
  font-size: 17px;
  line-height: 1.2;
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.commercial-confidence {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
  background: white;
  border-bottom: 1px solid rgba(0, 19, 62, 0.1);
}

.commercial-confidence h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.commercial-confidence p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.buying-process {
  background: var(--komodo-ivory);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article,
.faq-grid details {
  border: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.08);
}

.process-grid article {
  min-height: 220px;
  padding: 24px;
}

.process-grid span {
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.process-grid h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.08;
}

.process-grid p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.faq-section {
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid details {
  padding: 20px 22px;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.faq-grid p {
  margin: 14px 0 0;
}

.gallery-filter-section {
  padding-top: 28px;
  padding-bottom: 28px;
  background: white;
}

.gallery-hero {
  min-height: 680px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.gallery-hero .hero-content {
  max-width: 760px;
}

.gallery-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.gallery-hero-mosaic {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-auto-rows: 172px;
  gap: 14px;
}

.gallery-hero-mosaic figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 60px rgba(0, 19, 62, 0.22);
}

.gallery-hero-mosaic figure.featured {
  grid-row: span 2;
}

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

.gallery-hero-mosaic figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 19, 62, 0.78);
  color: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-filters button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 19, 62, 0.24);
  border-radius: 999px;
  background: var(--komodo-ivory);
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.gallery-filters button.active,
.gallery-filters button:hover,
.gallery-filters button:focus-visible {
  background: var(--brand);
  color: white;
  outline: none;
}

.gallery-section.is-hidden {
  display: none;
}

.project-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 19, 62, 0.1);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.projects-section {
  background: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
}

.featured-project-grid {
  max-width: 620px;
}

.led-projects-section {
  padding-top: 58px;
  background: #f8f4ec;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(0, 19, 62, 0.08);
}

.project-link-card {
  display: block;
  color: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.project-link-card:hover,
.project-link-card:focus {
  border-color: rgba(0, 19, 62, 0.48);
  box-shadow: 0 22px 48px rgba(0, 19, 62, 0.18);
  outline: none;
  transform: translateY(-5px);
}

.project-image {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: var(--komodo-ivory);
  color: var(--brand-dark);
  font-weight: 800;
}

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

.project-content {
  padding: 22px;
}

.project-status {
  margin-bottom: 14px;
  background: rgba(187, 149, 13, 0.14);
  color: var(--komodo-blue);
}

.project-content p {
  color: var(--muted);
  line-height: 1.55;
}

.project-owner {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 10px 0 2px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 19, 62, 0.16);
  border-radius: 999px;
  background: rgba(248, 244, 236, 0.96);
  color: var(--brand-dark) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.project-owner.komodo-owner {
  border-color: rgba(187, 149, 13, 0.32);
  background: rgba(248, 244, 236, 0.98);
  color: var(--komodo-blue) !important;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--komodo-ivory);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.project-content a,
.project-card-action {
  display: inline-flex;
  margin-top: 8px;
  color: var(--brand);
  font-weight: 800;
}

.project-card-action {
  align-items: center;
}

.project-card-action::after {
  content: ">";
  margin-left: 8px;
}

.project-detail-hero {
  min-height: 760px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: end;
}

.detail-hero-card {
  padding: 26px;
  border: 1px solid rgba(248, 244, 236, 0.28);
  border-radius: 14px;
  background: rgba(0, 19, 62, 0.62);
  color: white;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.detail-hero-card h1 {
  margin: 0;
  max-width: 860px;
  color: white;
}

.detail-hero-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.6;
}

.detail-hero-card .subtle-label {
  display: inline-flex;
  margin: 10px 0 4px;
  color: rgba(248, 244, 236, 0.78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-summary {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.detail-summary div {
  padding: 14px;
  border: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.detail-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 7vw;
  background: white;
  border-top: 1px solid rgba(0, 19, 62, 0.12);
  border-bottom: 1px solid rgba(0, 19, 62, 0.12);
}

.project-facts div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px 22px;
  border-right: 1px solid rgba(0, 19, 62, 0.12);
}

.project-facts div:first-child {
  border-left: 1px solid rgba(0, 19, 62, 0.12);
}

.project-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-facts strong {
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.2;
}

.project-brand-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: center;
  padding: 22px 7vw;
  border-bottom: 1px solid rgba(0, 19, 62, 0.12);
  background: #ffffff;
}

.brand-owner,
.brand-role {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.08);
}

.brand-owner span,
.brand-role span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-owner img {
  width: min(190px, 42vw);
  height: auto;
  display: block;
}

.brand-role {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.brand-role img {
  width: min(210px, 46vw);
  height: auto;
  display: block;
}

.brand-role strong {
  color: var(--brand-dark);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
}

.komodo-owned-strip {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  background: var(--komodo-ivory);
}

.komodo-owned-strip .brand-role:first-child {
  border-color: rgba(187, 149, 13, 0.3);
}

.detail-section {
  background: white;
}

.detail-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.detail-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-feature {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(0, 19, 62, 0.22);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.08);
}

.detail-feature span {
  color: var(--brand);
  font-weight: 900;
}

.detail-feature h3 {
  margin: 10px 0 8px;
}

.detail-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.commercial-options {
  background: var(--komodo-ivory);
}

.commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
}

.commercial-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(0, 19, 62, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(0, 19, 62, 0.08);
}

.commercial-grid article:nth-child(2) {
  background: rgba(248, 244, 236, 0.95);
  border-color: rgba(187, 149, 13, 0.45);
}

.commercial-grid span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 19, 62, 0.1);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.commercial-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.commercial-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.commercial-note {
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--komodo-ivory);
  border-top: 1px solid rgba(0, 19, 62, 0.12);
  border-bottom: 1px solid rgba(0, 19, 62, 0.12);
}

.commercial-note p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.detail-band {
  background: #00133e;
  color: white;
}

.detail-band .section-heading h2,
.detail-band .section-heading p:not(.eyebrow) {
  color: white;
}

.mirador-render-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 16px;
  margin: 34px 0;
}

.mirador-render-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 0;
  border-radius: 8px;
  background: var(--komodo-blue);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.mirador-render-card:not(.featured) {
  min-height: 360px;
  align-self: end;
}

.mirador-render-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 19, 62, 0.34);
  pointer-events: none;
}

.mirador-render-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.mirador-render-card:hover img {
  transform: scale(1.04);
}

.mirador-render-card figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: white;
}

.mirador-render-card figcaption span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(187, 149, 13, 0.88);
  color: var(--komodo-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mirador-render-card figcaption strong {
  display: block;
  max-width: 620px;
  font-size: 28px;
  line-height: 1.08;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-gallery img {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: var(--komodo-blue);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  cursor: zoom-in;
}

.detail-gallery img:first-child {
  grid-row: auto;
  height: 320px;
}

.detail-gallery img.project-render-image {
  object-fit: cover;
  background: var(--komodo-blue);
}

.master-plan-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  border-radius: 8px;
  background: var(--komodo-blue);
  box-shadow: 0 22px 48px rgba(0, 19, 62, 0.22);
}

.master-plan-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: rgba(0, 19, 62, 0.46);
  pointer-events: none;
}

.master-plan-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.master-plan-card figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  max-width: 720px;
  color: white;
}

.master-plan-card figcaption span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(187, 149, 13, 0.9);
  color: var(--komodo-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.master-plan-card figcaption strong {
  display: block;
  font-size: 24px;
  line-height: 1.18;
}

.detail-gallery img.plan-gallery-image {
  object-fit: contain;
  padding: 0;
  background: var(--komodo-blue);
}

.detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 8px;
  background: var(--komodo-blue);
  color: white;
  box-shadow: 0 24px 58px rgba(0, 19, 62, 0.2);
}

.detail-cta h2,
.detail-cta p {
  margin: 0;
  color: white;
}

.detail-cta p {
  margin-top: 8px;
  line-height: 1.6;
}

.quote-demo {
  background: var(--komodo-ivory);
}

.quote-demo .section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.quote-frame {
  overflow: hidden;
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(0, 19, 62, 0.14);
}

.quote-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 13px 20px;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  font-weight: 800;
}

.amenities-section {
  background: #ffffff;
}

.lomas-amenities {
  background: var(--komodo-ivory);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.amenity-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 22px 16px;
  border: 1px solid rgba(0, 19, 62, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand);
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.09);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.amenity-card:nth-child(even) {
  border-color: rgba(187, 149, 13, 0.24);
  background: var(--komodo-ivory);
}

.amenity-card:hover {
  border-color: rgba(0, 19, 62, 0.38);
  box-shadow: 0 22px 48px rgba(0, 19, 62, 0.16);
  transform: translateY(-4px);
}

.amenity-card svg {
  width: 62px;
  height: 62px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.amenity-card h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 16px;
  line-height: 1.25;
}

.club-amenity-panel {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(0, 19, 62, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.club-amenity-panel > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-amenity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.compact-amenity-grid .amenity-card {
  min-height: 126px;
  padding: 16px 10px;
  box-shadow: none;
}

.compact-amenity-grid .amenity-card svg {
  width: 44px;
  height: 44px;
  stroke-width: 4.4;
}

.compact-amenity-grid .amenity-card h3 {
  font-size: 13px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.benefits-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefits-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 19, 62, 0.06);
}

.benefits-grid article:nth-child(odd) {
  border-color: rgba(0, 19, 62, 0.28);
  background: #ffffff;
}

.benefits-grid article:nth-child(even) {
  border-color: rgba(187, 149, 13, 0.58);
  background: #f8f4ec;
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.1);
}

.benefits-grid article.highlight-benefit {
  border-color: rgba(187, 149, 13, 0.58);
  background: #f8f4ec;
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.1);
}

.highlight-benefit h3 {
  color: var(--brand-dark);
}

.benefits-grid article.urgent-benefit {
  border-color: rgba(0, 19, 62, 0.28);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 19, 62, 0.12);
}

.benefits-grid article.urgent-benefit h3 {
  color: var(--ink);
}

.benefits-grid article.urgent-benefit p {
  color: var(--muted);
}


.benefits-grid article:nth-child(even) h3,
.benefits-grid article:nth-child(even) span,
.benefits-grid article.highlight-benefit h3,
.benefits-grid article.highlight-benefit span {
  color: var(--brand-dark);
}

.benefits-grid article.urgent-benefit h3 {
  color: var(--ink);
}

.benefits-grid span {
  color: var(--brand);
  font-weight: 800;
}

.benefits-grid p,
.location p,
.club-section p {
  color: var(--muted);
  line-height: 1.55;
}

.club-section {
  background: white;
}

.club-experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1040px;
}

.club-experience-grid.single-card {
  grid-template-columns: minmax(0, 1fr);
  max-width: 780px;
}

.lomas-experience-section {
  padding-bottom: 28px;
}

.club-experience-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(0, 19, 62, 0.22);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 44px rgba(0, 19, 62, 0.12);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.lomas-experience-card {
  border-color: rgba(187, 149, 13, 0.34);
  background: #ffffff;
}

.lomas-experience-card img {
  aspect-ratio: 21 / 9;
}

.club-experience-card:hover,
.club-experience-card:focus {
  border-color: rgba(0, 19, 62, 0.5);
  box-shadow: 0 26px 58px rgba(0, 19, 62, 0.2);
  outline: none;
  transform: translateY(-5px);
}

.club-experience-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--komodo-ivory);
}

.club-experience-card div {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 26px 28px;
}

.club-experience-card span {
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-experience-card h3 {
  margin: 10px 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
}

.club-experience-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.club-gallery {
  column-count: 3;
  column-gap: 16px;
}

.club-network-section {
  background: #ffffff;
}

.club-network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
}

.club-network-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(0, 19, 62, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 19, 62, 0.1);
}

.club-network-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border: 22px solid rgba(187, 149, 13, 0.16);
  border-radius: 50%;
}

.club-network-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 900;
}

.club-network-card h3,
.club-network-card p {
  position: relative;
  z-index: 1;
}

.club-network-card h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 26px;
}

.club-network-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.club-detail-section {
  background: #ffffff;
}

.club-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.club-detail-grid + .club-detail-grid {
  margin-top: 34px;
}

.club-detail-grid:nth-child(even) .club-detail-media {
  order: 2;
}

.club-detail-media {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
}

.club-detail-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 19, 62, 0.16);
  cursor: zoom-in;
}

.club-detail-media img:first-child {
  grid-row: span 2;
  height: 492px;
}

.club-detail-copy {
  padding: 30px;
  border: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(0, 19, 62, 0.1);
}

.club-detail-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.club-theme-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-dark) !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.club-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.club-detail-list li {
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--brand-dark);
  font-weight: 800;
}

.club-gallery img,
.gallery img {
  width: 100%;
  display: block;
  height: auto;
  margin: 0 0 16px;
  break-inside: avoid;
  background: #f8f4ec;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.12);
}

.gallery-section {
  background: #f8f4ec;
}

.gallery-section-alt {
  background: #ffffff;
}

.gallery {
  column-count: 3;
  column-gap: 16px;
}

.photo,
.map-placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  border: 1px dashed #a8a8a8;
  border-radius: 8px;
  background: var(--komodo-ivory);
  color: var(--brand-dark);
  font-weight: 800;
}

.map-placeholder {
  min-height: 130px;
  align-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}

.map-placeholder span {
  color: var(--ink);
  font-size: 18px;
}

.map-placeholder strong {
  color: var(--brand);
  font-size: 14px;
}

.location-map-card {
  display: block;
  overflow: hidden;
  max-width: 620px;
  border: 1px solid rgba(0, 19, 62, 0.22);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(0, 19, 62, 0.12);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.location-map-card:hover,
.location-map-card:focus-visible {
  border-color: rgba(0, 19, 62, 0.45);
  box-shadow: 0 18px 42px rgba(0, 19, 62, 0.18);
  transform: translateY(-2px);
  outline: none;
}

.location-map-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--komodo-ivory);
}

.location-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
}

.location-map-copy span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-map-copy strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.14;
}

.location-map-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.location-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.location-map-button,
.location-map-copy > a,
.location-map-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  font-weight: 900;
}

.location-map-actions a {
  margin-top: 0;
}

.location-map-actions a:last-child {
  background: var(--accent);
  color: #00133e;
}

.location-map-button {
  margin-bottom: 0;
  letter-spacing: 0;
  text-transform: none;
}

.photo:first-child {
  min-height: 360px;
}

.location {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--komodo-ivory);
  border-top: 1px solid var(--line);
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp,
.info-float {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 50%;
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.whatsapp {
  background: #25d366;
}

.whatsapp svg {
  width: 34px;
  height: 34px;
  fill: white;
}

.info-float {
  background: var(--brand);
  width: auto;
  min-width: 92px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

footer {
  padding: 42px 7vw 34px;
  background: #00133e;
  color: white;
  font-size: 14px;
  text-align: left;
}

.footer-copy {
  margin: 30px -7vw -34px;
  padding: 15px 7vw;
  background: var(--brand-dark);
  color: white;
  text-align: center;
  font-size: 15px;
}

footer p {
  margin: 6px 0;
}

.footer-social-title {
  margin-top: 14px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
    padding: 16px 20px;
  }

  .brand {
    width: 138px;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
  }


  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 20px 52px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 20px;
  }

  .home-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  h1 {
    max-width: 100%;
    font-size: 42px;
    line-height: 1.12;
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 18px;
  }

  .banner-carousel,
  .banner-slide img {
    min-height: 500px;
    height: 500px;
  }

  .banner-content {
    left: 26px;
    right: 26px;
    bottom: 58px;
    max-width: 420px;
    padding: 20px;
    text-align: left;
  }

  .quote-frame iframe {
    height: 380px;
  }

  .section {
    padding: 56px 20px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 20px;
  }

  .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 20px;
  }

  .project-brand-strip {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .project-facts div:nth-child(odd) {
    border-left: 1px solid rgba(0, 19, 62, 0.12);
  }

  .trust-strip div:nth-child(odd) {
    border-left: 1px solid rgba(0, 19, 62, 0.1);
  }

  .amenity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projects-grid,
  .benefit-map-grid,
  .benefits-grid,
  .commercial-grid,
  .process-grid,
  .faq-grid,
  .mirador-render-grid,
  .club-network-grid,
  .club-experience-grid,
  .club-detail-grid,
  .commercial-confidence,
  .gallery-hero,
  .detail-hero-grid,
  .detail-split,
  .gallery,
  .club-gallery,
  .location {
    grid-template-columns: 1fr;
  }

  .location-map-card {
    max-width: 100%;
  }

  .location-map-card img {
    min-height: 0;
    max-height: none;
  }

  .detail-gallery,
  .club-detail-media,
  .detail-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-cta {
    grid-template-columns: 1fr;
  }

  .gallery-hero-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .brand-owner {
    align-items: flex-start;
    flex-direction: column;
  }

  .club-detail-grid:nth-child(even) .club-detail-media {
    order: 0;
  }

  .club-detail-media img,
  .club-detail-media img:first-child {
    height: 320px;
  }

  .detail-gallery img,
  .detail-gallery img:first-child {
    height: 300px;
  }

  .mirador-render-card,
  .mirador-render-card:not(.featured) {
    min-height: 340px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-map-card h3 {
    font-size: 34px;
  }

  .specialized-services {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .gallery,
  .club-gallery {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    display: flex;
  }

  .brand {
    width: 118px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .nav {
    justify-content: stretch;
  }


  .nav-cta {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: 34px;
  }

  .home-panel {
    padding: 22px;
  }

  .home-panel img {
    width: 150px;
  }

  .benefit-map-card {
    min-height: auto;
    padding: 24px;
  }

  .benefit-map-card h3 {
    font-size: 30px;
  }

  .benefit-map-card p {
    font-size: 16px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .trust-strip div:first-child,
  .trust-strip div:nth-child(odd) {
    min-height: 76px;
    border-left: 1px solid rgba(0, 19, 62, 0.1);
  }

  .project-facts div,
  .project-facts div:first-child,
  .project-facts div:nth-child(odd) {
    min-height: 78px;
    border-left: 1px solid rgba(0, 19, 62, 0.12);
  }

  .commercial-grid article {
    min-height: auto;
    padding: 22px;
  }

  .amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .amenity-card {
    min-height: 132px;
    padding: 18px 12px;
  }

  .amenity-card svg {
    width: 50px;
    height: 50px;
  }

  .amenity-card h3 {
    font-size: 14px;
  }

  .mirador-render-card,
  .mirador-render-card:not(.featured) {
    min-height: 300px;
  }

  .mirador-render-card figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .mirador-render-card figcaption strong {
    font-size: 22px;
  }

  .services-grid,
  .club-detail-list,
  .detail-feature-grid,
  .specialized-services ul {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .club-detail-copy {
    padding: 22px;
  }

  .club-detail-media img,
  .club-detail-media img:first-child {
    height: 240px;
  }

  .detail-hero-card,
  .detail-cta {
    padding: 22px;
  }

  .detail-gallery img,
  .detail-gallery img:first-child {
    height: 280px;
  }

  .why-projects {
    padding: 24px;
  }

  .banner-carousel,
  .banner-slide img {
    min-height: 430px;
    height: 430px;
  }

  .banner-content h2 {
    font-size: 28px;
  }

  .banner-content p {
    font-size: 14px;
  }

  .banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .banner-arrow.prev {
    left: 10px;
  }

  .banner-arrow.next {
    right: 10px;
  }

  .banner-dots button {
    width: 24px;
  }

  .banner-dots button.active {
    width: 42px;
  }

  .lead-form {
    padding: 20px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .info-float {
    min-width: 82px;
    padding: 0 14px;
    font-size: 12px;
  }

  .quote-frame iframe {
    height: 340px;
  }

  .photo:first-child,
  .photo {
    min-height: 220px;
    height: 220px;
  }

  .gallery,
  .club-gallery {
    column-count: 1;
  }
}

/* ==================================================
   Komodo identity refresh — shared design system
   ================================================== */

html {
  scroll-behavior: smooth;
  background: var(--komodo-ivory);
}

body {
  background: var(--komodo-ivory);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

body::before {
  height: 5px;
  background: var(--komodo-gold);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--komodo-blue);
  letter-spacing: -0.025em;
}

p,
a,
button,
input,
summary,
label {
  font-family: var(--font-body);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(187, 149, 13, 0.55);
  outline-offset: 3px;
}

.site-header {
  min-height: 88px;
  padding: 11px 6vw;
  background: rgba(248, 244, 236, 0.98);
  border-bottom-color: rgba(0, 19, 62, 0.1);
  box-shadow: 0 2px 14px rgba(0, 19, 62, 0.03);
  transition: min-height 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 76px;
  padding-top: 7px;
  padding-bottom: 7px;
  box-shadow: 0 8px 24px rgba(0, 19, 62, 0.08);
}

.brand {
  width: clamp(214px, 18vw, 246px);
  min-height: 58px;
  justify-content: flex-start;
}

.brand img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  gap: clamp(14px, 1.7vw, 26px);
  color: var(--komodo-blue);
  font-size: 15px;
  font-weight: 700;
}

.nav a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--komodo-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button,
.lead-form button[type="submit"] {
  border-radius: var(--radius-sm);
}

.nav-cta {
  padding: 12px 18px;
  background: var(--komodo-blue);
  color: var(--komodo-ivory);
  box-shadow: none;
}

.nav-cta:hover {
  background: var(--komodo-gold);
  color: var(--komodo-blue);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: var(--radius-sm);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--komodo-blue);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.home-project-hero,
.project-hero:not(.project-detail-hero),
.gallery-hero {
  min-height: auto;
  padding: clamp(54px, 7vw, 88px) 6vw;
  background: var(--komodo-ivory);
  color: var(--komodo-blue);
}

.home-project-hero .hero-copy,
.project-hero:not(.project-detail-hero) .hero-copy,
.gallery-hero .hero-copy {
  max-width: 760px;
  color: var(--muted);
}

.home-project-hero .eyebrow,
.project-hero:not(.project-detail-hero) .eyebrow,
.gallery-hero .eyebrow,
.section .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--komodo-gold);
  box-shadow: none;
  font-size: 13px;
  letter-spacing: 0.13em;
}

.home-project-hero .hero-actions {
  margin: 8px 0 0;
}

.button {
  min-height: 50px;
  padding: 13px 21px;
  font-weight: 700;
  box-shadow: none;
}

.button.primary,
.home-project-hero .button.primary {
  background: var(--komodo-blue);
  color: var(--komodo-ivory);
}

.button.primary:hover {
  background: var(--komodo-gold);
  color: var(--komodo-blue);
}

.home-project-hero .button.secondary,
.project-hero:not(.project-detail-hero) .button.secondary {
  border: 1px solid rgba(0, 19, 62, 0.25);
  background: transparent;
  color: var(--komodo-blue);
}

.hero-showcase {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: var(--shadow-soft);
}

.banner-carousel,
.banner-slide img {
  min-height: clamp(430px, 48vw, 620px);
  height: clamp(430px, 48vw, 620px);
}

.banner-carousel {
  border-radius: var(--radius-lg);
  background: var(--komodo-blue);
}

.banner-slide::after {
  background: rgba(0, 19, 62, 0.32);
}

.banner-content {
  right: auto;
  bottom: 38px;
  left: 38px;
  max-width: 500px;
  border: 0;
  border-radius: var(--radius-md);
  background: rgba(0, 19, 62, 0.9);
  box-shadow: none;
  backdrop-filter: none;
}

.banner-content span {
  background: var(--komodo-gold);
  color: var(--komodo-blue);
}

.banner-content h2 {
  color: var(--komodo-ivory);
  font-size: clamp(30px, 4vw, 45px);
  text-shadow: none;
}

.banner-content p {
  color: var(--komodo-ivory);
  text-shadow: none;
}

.banner-content a {
  border-radius: var(--radius-sm);
  background: var(--komodo-gold);
  color: var(--komodo-blue);
  box-shadow: none;
}

.section {
  padding: clamp(62px, 7vw, 94px) 7vw;
}

.section:nth-of-type(even) {
  background-color: #ffffff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.trust-strip {
  background: #ffffff;
  border-color: rgba(0, 19, 62, 0.1);
}

.trust-strip div {
  min-height: 112px;
  border-color: rgba(0, 19, 62, 0.1);
}

.trust-strip strong {
  font-family: var(--font-display);
  color: var(--komodo-blue);
}

.commercial-confidence,
.buying-process,
.why-projects,
.faq-section,
.gallery-section,
.gallery-section-alt,
.location,
.club-detail-section,
.services-section {
  background: transparent;
}

.process-grid {
  gap: 0;
}

.process-grid article {
  min-height: 210px;
  padding: 28px;
  border: 0;
  border-top: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.process-grid article + article {
  border-left: 1px solid rgba(0, 19, 62, 0.12);
}

.process-grid span {
  color: var(--komodo-gold);
  font-size: 18px;
}

.why-grid {
  gap: 0;
  border-top: 1px solid rgba(0, 19, 62, 0.18);
}

.why-grid article,
.why-grid article:nth-child(2) {
  min-height: 210px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.why-grid article + article {
  border-left: 1px solid rgba(0, 19, 62, 0.12);
}

.faq-grid {
  gap: 0 34px;
}

.faq-grid details {
  padding: 22px 2px;
  border: 0;
  border-top: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-grid summary {
  position: relative;
  padding-right: 34px;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  position: absolute;
  top: -3px;
  right: 4px;
  color: var(--komodo-gold);
  font-size: 26px;
  font-weight: 500;
}

.faq-grid details[open] summary::after {
  content: "−";
}

.services-grid {
  gap: 0 26px;
}

.services-grid article,
.services-grid article:nth-child(even),
.services-grid article:nth-child(7) {
  min-height: 190px;
  padding: 25px 4px;
  border: 0;
  border-top: 1px solid rgba(0, 19, 62, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.services-grid article:hover,
.services-grid article:focus {
  border-color: var(--komodo-gold);
  box-shadow: none;
  transform: translateY(-2px);
}

.services-grid span {
  color: var(--komodo-gold);
}

.service-preview {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 19, 62, 0.12);
}

.service-preview strong {
  display: block;
  color: var(--komodo-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.service-illustration,
.specialty-illustration {
  display: none;
}

.specialty-preview {
  display: block;
  margin-top: 5px;
}

.specialty-preview strong {
  color: var(--komodo-gold);
  font-size: 12px;
  font-weight: 700;
}

.specialized-services {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--komodo-blue);
  color: var(--komodo-ivory);
  box-shadow: none;
}

.specialized-services h3,
.specialized-services li {
  color: var(--komodo-ivory);
}

.specialized-services li {
  border-color: rgba(248, 244, 236, 0.18);
  background: rgba(248, 244, 236, 0.06);
}

.project-card,
.benefits-grid article,
.detail-feature,
.commercial-card,
.club-network-card,
.club-experience-card,
.club-detail-copy,
.project-brand-strip,
.detail-summary,
.detail-hero-card {
  border-radius: var(--radius-md);
  border-color: rgba(0, 19, 62, 0.14);
  box-shadow: var(--shadow-soft);
}

.project-card {
  overflow: hidden;
  background: #ffffff;
}

.project-card img {
  transition: transform 240ms ease;
}

.project-card:hover img {
  transform: scale(1.025);
}

.benefit-map-card,
.benefit-map-card.primary {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.benefit-map-card.primary {
  border-color: var(--komodo-blue);
  background: var(--komodo-blue);
}

.club-section,
#club-house,
.club-network-section {
  background: var(--komodo-blue);
  color: var(--komodo-ivory);
}

.club-section h2,
.club-section h3,
.club-section p,
.club-section .section-heading p:not(.eyebrow),
#club-house h2,
#club-house h3,
#club-house p {
  color: var(--komodo-ivory);
}

.club-section .eyebrow,
#club-house .eyebrow {
  color: var(--komodo-gold);
}

.gallery,
.club-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  column-count: initial;
}

.gallery img,
.club-gallery img {
  width: 100%;
  height: 250px;
  margin: 0;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.gallery img:first-child,
.club-gallery img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 516px;
}

.location {
  border-color: rgba(0, 19, 62, 0.1);
}

.map-placeholder,
.location-map-card {
  border-radius: var(--radius-md);
  border-style: solid;
  border-color: rgba(0, 19, 62, 0.16);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.lead-form {
  border-radius: var(--radius-md);
  border-color: rgba(0, 19, 62, 0.14);
}

.contact-modal,
.image-modal {
  background: rgba(0, 19, 62, 0.84);
}

input {
  border-radius: var(--radius-sm);
  background: var(--komodo-ivory);
}

.image-modal img {
  max-width: min(1180px, 90vw);
  max-height: 86vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.modal-close {
  top: 20px;
  right: 20px;
  z-index: 2;
  border-radius: var(--radius-sm);
  background: var(--komodo-gold);
  color: var(--komodo-blue);
}

.modal-arrow {
  position: fixed;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid rgba(248, 244, 236, 0.4);
  border-radius: 50%;
  background: var(--komodo-blue);
  color: var(--komodo-ivory);
  font-size: 34px;
  transform: translateY(-50%);
}

.modal-prev {
  left: 24px;
}

.modal-next {
  right: 24px;
}

.floating-actions {
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
}

.info-float {
  background: var(--komodo-blue);
}

footer {
  padding: 54px 7vw 34px;
  background: var(--komodo-blue);
  color: var(--komodo-ivory);
}

.footer-social-title,
footer a {
  color: var(--komodo-gold);
}

.footer-socials a {
  background: var(--komodo-gold);
  color: var(--komodo-blue);
  box-shadow: none;
}

.footer-copy {
  background: rgba(0, 0, 0, 0.16);
  color: var(--komodo-ivory);
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
    padding: 9px 20px;
  }

  .brand {
    width: clamp(190px, 38vw, 226px);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 18px 20px 22px;
    border-bottom: 1px solid rgba(0, 19, 62, 0.12);
    background: var(--komodo-ivory);
    box-shadow: 0 16px 30px rgba(0, 19, 62, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav a:not(.nav-cta) {
    display: block;
    width: 100%;
    padding: 12px 8px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid article:nth-child(3),
  .why-grid article:nth-child(3) {
    border-left: 0;
  }

  .gallery,
  .club-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery img:first-child,
  .club-gallery img:first-child {
    height: 516px;
  }
}

@media (max-width: 600px) {
  .site-header {
    position: sticky;
    min-height: 72px;
  }

  .brand {
    width: min(180px, calc(100vw - 92px));
    min-height: 48px;
  }

  .brand img {
    max-height: 48px;
  }

  .home-project-hero,
  .project-hero:not(.project-detail-hero),
  .gallery-hero {
    padding: 44px 20px 54px;
  }

  .hero-actions,
  .gallery-hero-actions,
  .detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .gallery-hero-actions .button,
  .detail-actions .button {
    width: 100%;
  }

  .banner-carousel,
  .banner-slide img {
    min-height: 520px;
    height: 520px;
  }

  .banner-content {
    right: 18px;
    bottom: 58px;
    left: 18px;
    padding: 20px;
  }

  .banner-content h2 {
    font-size: 30px;
  }

  .section {
    padding: 58px 20px;
  }

  .trust-strip,
  .services-grid,
  .process-grid,
  .why-grid,
  .faq-grid,
  .gallery,
  .club-gallery {
    grid-template-columns: 1fr;
  }

  .process-grid article + article,
  .why-grid article + article {
    border-left: 0;
  }

  .gallery img,
  .gallery img:first-child,
  .club-gallery img,
  .club-gallery img:first-child {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    max-height: 460px;
    aspect-ratio: 4 / 3;
  }

  .modal-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .modal-prev {
    left: calc(50% - 68px);
  }

  .modal-next {
    right: calc(50% - 68px);
  }

  .floating-actions {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    gap: 8px;
  }

  .whatsapp {
    width: 50px;
    height: 50px;
    min-height: 50px;
  }

  .whatsapp svg {
    width: 28px;
    height: 28px;
  }

  .info-float {
    width: auto;
    height: 48px;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    font-size: 12px;
  }

}

/* ==================================================
   Final visual review — targeted corrections only
   ================================================== */

/* Fill visual media by default; reserve contain for labelled plans. */
.banner-slide img,
.project-image img,
.gallery-hero-mosaic img,
.gallery img,
.club-gallery img,
.detail-gallery img,
.detail-gallery img.project-render-image,
.club-detail-media img,
.mirador-render-card img,
.club-experience-card img {
  object-fit: cover;
  object-position: center;
  background: var(--komodo-blue);
}

.banner-slide:nth-of-type(1) img { object-position: center 58%; }
.banner-slide:nth-of-type(2) img { object-position: center 48%; }
.banner-slide:nth-of-type(3) img { object-position: center 50%; }
.banner-slide:nth-of-type(4) img { object-position: center 52%; }

.image-contain {
  object-fit: contain !important;
  object-position: center !important;
  background: var(--komodo-blue);
}

.club-image-contain {
  object-fit: contain !important;
  object-position: center !important;
  background: var(--komodo-ivory) !important;
}

/* Decorative visual references for the existing service content. */
.service-preview,
.specialty-preview {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.service-illustration,
.specialty-illustration {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(187, 149, 13, 0.5);
  border-radius: 50%;
  background: var(--komodo-ivory);
  color: var(--komodo-blue);
}

.service-illustration::before,
.specialty-illustration::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
  transition: transform 180ms ease;
}

.service-card:hover .service-illustration::before,
.service-card:focus .service-illustration::before,
.specialty-card:hover .specialty-illustration::before,
.specialty-card:focus .specialty-illustration::before {
  transform: scale(1.08);
}

.service-illustration i,
.specialty-illustration i {
  display: none;
}

.service-urban { --service-icon: url("assets/icons/building-2.svg"); }
.service-lots { --service-icon: url("assets/icons/grid-3x3.svg"); }
.service-subdivision { --service-icon: url("assets/icons/panels-top-left.svg"); }
.service-merge { --service-icon: url("assets/icons/combine.svg"); }
.service-boundaries { --service-icon: url("assets/icons/ruler.svg"); }
.service-design { --service-icon: url("assets/icons/drafting-compass.svg"); }
.service-budget { --service-icon: url("assets/icons/calculator.svg"); }

.specialty-preview {
  margin-top: 8px;
}

.specialty-illustration {
  border-color: rgba(248, 244, 236, 0.36);
  background: rgba(248, 244, 236, 0.1);
  color: var(--komodo-gold);
}

.specialty-search { --service-icon: url("assets/icons/map-pinned.svg"); }
.specialty-factory { --service-icon: url("assets/icons/warehouse.svg"); }
.specialty-license { --service-icon: url("assets/icons/badge-check.svg"); }
.specialty-supervision { --service-icon: url("assets/icons/hard-hat.svg"); }
.specialty-water { --service-icon: url("assets/icons/droplets.svg"); }
.specialty-home { --service-icon: url("assets/icons/house-heart.svg"); }

/* Prevent long carousel labels and headings from overflowing. */
.banner-content {
  width: min(620px, calc(100% - 76px));
  max-width: none;
  overflow-wrap: break-word;
}

.banner-content span,
.banner-content h2,
.banner-content p {
  max-width: 100%;
}

.banner-content h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  overflow-wrap: normal;
  word-break: normal;
}

.project-hero:not(.project-detail-hero) h1 {
  max-width: 1200px;
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
}

.home-project-hero .hero-content,
body.project-page > main > #proyectos.project-hero:not(.project-detail-hero) .hero-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.home-project-hero h1,
body.project-page > main > #proyectos.project-hero:not(.project-detail-hero) h1 {
  max-width: 1200px;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  overflow-wrap: normal;
  word-break: normal;
  text-align: left;
}

.home-project-hero .hero-copy,
body.project-page > main > #proyectos.project-hero:not(.project-detail-hero) .hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.45;
}

.home-project-hero .hero-showcase,
body.project-page > main > #proyectos.project-hero:not(.project-detail-hero) .hero-showcase {
  margin-top: 34px;
}

@media (max-width: 600px) {
  .home-project-hero h1,
  body.project-page > main > #proyectos.project-hero:not(.project-detail-hero) h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.025em;
  }

  .home-project-hero .hero-copy,
  body.project-page > main > #proyectos.project-hero:not(.project-detail-hero) .hero-copy {
    font-size: 18px;
  }
}

/* Three available projects share one row on large desktop screens. */
@media (min-width: 1180px) {
  .led-projects-section .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

}

/* Home and Projects carousels use practically the full viewport on laptops. */
@media (min-width: 960px) {
  .home-page .home-project-hero .hero-showcase,
  body.project-page > main > .project-hero:not(.project-detail-hero) .hero-showcase {
    width: calc(100vw - 32px);
    max-width: none;
    margin-right: calc(50% - 50vw + 16px);
    margin-left: calc(50% - 50vw + 16px);
  }
}

/* Restore strong contrast in the Mirador, Solas and Refugio cards. */
.club-section .club-experience-card div {
  background: #ffffff;
}

.club-section .club-experience-card h3 {
  color: var(--komodo-blue);
}

.club-section .club-experience-card p {
  color: var(--muted);
}

.club-section .club-experience-card span {
  color: var(--komodo-gold);
}

#red-clubes .section-heading > p:not(.eyebrow) {
  color: #4f5562;
  font-size: 18px;
  line-height: 1.65;
}

.home-project-hero .eyebrow,
.project-hero:not(.project-detail-hero) .eyebrow,
.gallery-hero .eyebrow,
.section .eyebrow {
  color: #00133e;
}

.specialized-services .eyebrow,
.club-section .eyebrow,
#club-house .eyebrow,
.detail-band:nth-of-type(odd) .eyebrow {
  color: #bb950d;
}

.process-grid article > span,
.services-grid article > span,
.club-section .club-experience-card > div > span,
.detail-band .club-experience-card > div > span {
  color: #00133e;
}

.detail-band:nth-of-type(even) .section-heading h2 {
  color: #00133e;
}

.detail-band:nth-of-type(even) .section-heading > p:not(.eyebrow),
.detail-band .club-experience-card p {
  color: #4f5562;
}

/* Keep the advisor action visible on both light and blue backgrounds. */
.info-float {
  border: 2px solid var(--komodo-ivory);
  background: var(--komodo-gold);
  color: var(--komodo-blue);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

/* Compact, higher-contrast commercial notices without excess empty space. */
.commercial-note {
  padding-top: 18px;
  padding-bottom: 18px;
  background: rgba(187, 149, 13, 0.14);
  border-color: rgba(187, 149, 13, 0.48);
}

.commercial-note p {
  max-width: none;
  padding: 16px 18px;
  border-left: 5px solid var(--komodo-gold);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--komodo-blue);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .banner-content {
    width: auto;
    overflow-wrap: break-word;
  }

  .banner-content h2 {
    font-size: clamp(24px, 8vw, 30px);
    line-height: 1.08;
  }

  .service-preview,
  .specialty-preview {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .service-illustration,
  .specialty-illustration {
    width: 32px;
    height: 32px;
  }

  .floating-actions {
    top: 65%;
    right: max(6px, env(safe-area-inset-right));
    bottom: auto;
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;
    transform: translateY(-50%);
  }

  .whatsapp {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .whatsapp svg {
    width: 24px;
    height: 24px;
  }

  .info-float {
    height: 42px;
    min-height: 42px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.15px;
  }
}

#club-house .club-experience-card > div {
  background: #ffffff;
}

#club-house .club-experience-card > div > span {
  color: #00133e;
}

#club-house .club-experience-card > div > h3 {
  color: #00133e;
}

#club-house .club-experience-card > div > p {
  color: #4f5562;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
