/* Eastern Square Builders Ltd — tweaks on top of Bootstrap */

:root {
  --newco-accent: #0d6efd;
  --newco-hero-bg: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.projects-page main {
  background-color: #e9ecef;
}

.projects-page-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin: 0 0 0.35rem;
}

.projects-page-header .h2 {
  letter-spacing: -0.03em;
}

.projects-page-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.05),
    0 2px 4px -2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.projects-page-card--live:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 24px -8px rgba(15, 23, 42, 0.12),
    0 4px 8px -4px rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
}

.projects-page-card--soon {
  background-color: #f1f5f9;
  border-style: dashed;
  border-color: rgba(15, 23, 42, 0.15);
}

.projects-page-soon-text {
  color: #64748b;
}

@media (prefers-reduced-motion: reduce) {
  .projects-page-card--live:hover {
    transform: none;
  }
}

main {
  flex: 1 0 auto;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(0.78rem, 1.1vw + 0.5rem, 1rem);
  line-height: 1.15;
  max-width: min(20rem, 72vw);
  white-space: normal;
}

.hero-newco {
  background: var(--newco-hero-bg);
  color: #f8fafc;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-newco .lead {
  color: #cbd5e1;
  max-width: 36rem;
}

.values-newco {
  position: relative;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 42%, #f1f5f9 100%);
  overflow: hidden;
  padding-top: 3rem !important;
  padding-bottom: 3.5rem !important;
}

@media (min-width: 992px) {
  .values-newco {
    padding-top: 4.25rem !important;
    padding-bottom: 5rem !important;
  }

  .values-newco-header {
    margin-bottom: 3.5rem !important;
  }
}

.values-newco::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 110, 253, 0.08), transparent 55%);
}

.values-newco .container {
  z-index: 1;
}

.values-newco-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.values-newco-title {
  letter-spacing: -0.035em;
  color: #0f172a;
  line-height: 1.2;
}

.values-newco-lead {
  font-size: 1.05rem;
  line-height: 1.55;
}

.values-newco-card {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.5rem 1.85rem;
  background: #fff;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.05),
    0 2px 4px -2px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  overflow: hidden;
}

.values-newco-card--dream,
.values-newco-card--ease,
.values-newco-card--value {
  background: var(--newco-hero-bg);
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.14);
}

.values-newco-card--dream .values-newco-card-title,
.values-newco-card--ease .values-newco-card-title,
.values-newco-card--value .values-newco-card-title {
  color: #f8fafc;
}

.values-newco-card--dream .values-newco-list,
.values-newco-card--ease .values-newco-list,
.values-newco-card--value .values-newco-list {
  color: #cbd5e1;
}

.values-newco-card--dream .values-newco-icon--dream {
  color: #93c5fd;
  background: linear-gradient(145deg, rgba(147, 197, 253, 0.22), rgba(147, 197, 253, 0.06));
}

.values-newco-card--ease .values-newco-icon--ease {
  color: #5eead4;
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.22), rgba(94, 234, 212, 0.06));
}

.values-newco-card--value .values-newco-icon--value {
  color: #fcd34d;
  background: linear-gradient(145deg, rgba(252, 211, 77, 0.24), rgba(252, 211, 77, 0.08));
}

.values-newco-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 1.1rem 1.1rem 0 0;
}

.values-newco-card--dream::before {
  background: linear-gradient(90deg, #0d6efd, #4dabf7);
}

.values-newco-card--ease::before {
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
}

.values-newco-card--value::before {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.values-newco-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 110, 253, 0.18);
  box-shadow:
    0 22px 44px -16px rgba(15, 23, 42, 0.18),
    0 8px 16px -8px rgba(15, 23, 42, 0.1);
}

.values-newco-card--dream:hover {
  border-color: rgba(147, 197, 253, 0.45);
}

.values-newco-card--ease:hover {
  border-color: rgba(94, 234, 212, 0.45);
}

.values-newco-card--value:hover {
  border-color: rgba(252, 211, 77, 0.45);
}

.values-newco-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.values-newco-icon--dream {
  color: #0d6efd;
  background: linear-gradient(145deg, rgba(13, 110, 253, 0.14), rgba(13, 110, 253, 0.03));
}

.values-newco-icon--ease {
  color: #0d9488;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.16), rgba(13, 148, 136, 0.04));
}

.values-newco-icon--value {
  color: #d97706;
  background: linear-gradient(145deg, rgba(217, 119, 6, 0.16), rgba(217, 119, 6, 0.04));
}

.values-newco-card-title {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.values-newco-list {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
}

.values-newco-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
}

.values-newco-list li:last-child {
  margin-bottom: 0;
}

.values-newco-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.28em;
  font-size: 0.5rem;
  font-weight: 800;
  color: #fff;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bs-primary), #4dabf7);
}

.values-newco-card--ease .values-newco-list li::before {
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
}

.values-newco-card--value .values-newco-list li::before {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

@media (prefers-reduced-motion: reduce) {
  .values-newco-card:hover {
    transform: none;
  }
}

.footer-newco {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 2rem 0;
  margin-top: auto;
}

.footer-newco a {
  color: #cbd5e1;
}

.footer-newco a:hover {
  color: #fff;
}

.page-header {
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* —— Contact page —— */
.contact-page-hero {
  background: var(--newco-hero-bg);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.contact-page-hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(59, 130, 246, 0.15), transparent 55%);
}

.contact-page-hero .container {
  position: relative;
  z-index: 1;
}

.contact-page-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #93c5fd;
  margin: 0;
}

.contact-page-hero-title {
  letter-spacing: -0.03em;
  color: #f8fafc;
  font-weight: 700;
}

.contact-page-hero-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #cbd5e1;
  max-width: 40rem;
}

@media (min-width: 992px) {
  .contact-page-hero-lead {
    margin-left: 0;
    margin-right: auto;
  }
}

.contact-page-body {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 42%, #fff 100%);
}

.contact-page-aside-title {
  letter-spacing: -0.02em;
  color: #0f172a;
  font-weight: 700;
}

.contact-page-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.85rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.contact-page-list li:last-child {
  margin-bottom: 0;
}

.contact-page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bs-primary), #4dabf7);
}

.contact-page-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-logo-wrap--inline {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-logo-wrap--inline .contact-logo-img {
  margin: 0;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.contact-page-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.85rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-page-tile:last-of-type {
  margin-bottom: 0;
}

.contact-page-tile:hover {
  background: #fff;
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.15);
  color: inherit;
}

.contact-page-tile-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.03));
  color: var(--bs-primary);
}

.contact-page-tile-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.contact-page-tile-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-page-tile-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.contact-page-tile-value {
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}

.contact-page-tile-chevron {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-page-tile:hover .contact-page-tile-chevron {
  transform: translateX(3px);
  color: var(--bs-primary);
}

.contact-page-hours {
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.06), rgba(15, 23, 42, 0.03));
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-page-hours-label {
  display: block;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.contact-page-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.2);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (prefers-reduced-motion: reduce) {
  .contact-page-tile:hover .contact-page-tile-chevron {
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .contact-page .footer-newco {
    padding-bottom: 5rem;
  }
}

/* —— About page —— */
.about-page {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 38%, #fff 100%);
}

.about-page-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 2.25rem;
  text-align: center;
}

@media (min-width: 992px) {
  .about-page-header {
    text-align: left;
    margin-bottom: 2.75rem;
  }
}

.about-page-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin: 0;
}

.about-page-title {
  letter-spacing: -0.03em;
  color: #0f172a;
  font-weight: 700;
}

.about-page-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .about-page-lead {
    margin-left: 0;
  }
}

.about-section-title {
  letter-spacing: -0.02em;
  color: #0f172a;
  font-weight: 700;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.2);
  display: inline-block;
}

.about-page-intro {
  color: #334155;
  line-height: 1.65;
}

.about-project-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.85rem;
  padding: 1.25rem 1.35rem;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.05),
    0 2px 4px -2px rgba(15, 23, 42, 0.04);
}

.about-project-card-title {
  color: #0f172a;
  letter-spacing: -0.02em;
}

.about-advantage-list li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.9rem;
  line-height: 1.55;
  color: #334155;
}

.about-advantage-list li:last-child {
  margin-bottom: 0;
}

.about-advantage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bs-primary), #4dabf7);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}

.about-sidebar-card {
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 2px 4px -2px rgba(15, 23, 42, 0.05);
}

.about-sidebar-card .card-body {
  padding: 1.35rem 1.4rem;
}

/* Get in touch sidebar: content tweaks on same panel shell as Leadership */
.about-get-in-touch-lead {
  color: #94a3b8;
}

.about-get-in-touch-panel .about-contact-label {
  color: #64748b;
}

.about-get-in-touch-panel a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.about-get-in-touch-panel a:hover {
  color: #bfdbfe;
}

.about-contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.about-director-photo-wrap {
  width: 11rem;
  height: 11rem;
  max-width: min(100%, 11rem);
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.12),
    0 0 0 3px #fff,
    0 0 0 4px rgba(15, 23, 42, 0.08);
}

.about-director-photo {
  width: 100%;
  height: 100%;
  display: block;
  /* Trimmed headshot: fill the circle and keep the face centered */
  object-fit: cover;
  object-position: center center;
}

/* —— About: Director’s Corner & Get in touch (shared highlighted panel) —— */
.director-corner,
.about-get-in-touch-panel {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--newco-hero-bg);
  color: #e2e8f0;
  box-shadow:
    0 12px 40px -12px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.director-corner::before,
.about-get-in-touch-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(59, 130, 246, 0.12), transparent 50%);
}

.director-corner-inner,
.about-get-in-touch-inner {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.35rem 1.5rem;
}

@media (min-width: 992px) {
  .director-corner-inner,
  .about-get-in-touch-inner {
    padding: 1.5rem 1.5rem 1.65rem;
  }
}

.director-corner-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(248, 250, 252, 0.12);
}

.director-corner-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93c5fd;
  margin: 0;
}

.director-corner-title {
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.director-corner-profile {
  margin-bottom: 1.15rem;
}

.director-corner-figure {
  margin: 0;
}

.director-corner-caption {
  line-height: 1.35;
}

.director-corner-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.director-corner-role {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.director-corner-quote {
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
  padding-left: 0.9rem;
  border-left: 3px solid rgba(96, 165, 250, 0.7);
}

.director-corner-quote p {
  font-size: 0.88rem;
  line-height: 1.65;
  font-style: italic;
  color: #cbd5e1;
  margin: 0 0 0.85rem;
}

.director-corner-org {
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(248, 250, 252, 0.1);
}

.director-corner .about-director-photo-wrap--featured {
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(255, 255, 255, 0.12),
    0 0 0 5px rgba(15, 23, 42, 0.4);
}

.gallery-thumb-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-thumb-btn:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

.gallery-card .ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lightbox .modal-content {
  max-height: 95vh;
}

.gallery-lightbox-img {
  max-height: min(85vh, 100%);
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.6;
}

.avatar-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--bs-primary);
  color: #fff;
  flex-shrink: 0;
}

.contact-logo-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.contact-logo-wrap:not(.contact-logo-wrap--inline) .contact-logo-img {
  display: block;
  margin: 0 auto 0.5rem;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.social-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.social-logo-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--bs-body-color);
}

.social-logo-row a:hover {
  opacity: 0.85;
}

.social-logo-row .social-icon {
  flex-shrink: 0;
}

.contact-direct-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-direct-row .contact-direct-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--bs-primary);
}

/* —— Eastern Paradise (project-1) —— */
.project-1-page {
  --p1-gold: #c6a24a;
  --p1-gold-bright: #dfc066;
  --p1-gold-muted: rgba(198, 162, 74, 0.35);
  --p1-navy: #0a1628;
  --p1-navy-mid: #152a45;
}

.project-1-page main {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Hero */
.p1-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.p1-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

.p1-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.15) 0%,
    rgba(10, 22, 40, 0.55) 45%,
    rgba(10, 22, 40, 0.88) 100%
  );
}

.p1-hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding-bottom: 3rem !important;
}

@media (min-width: 992px) {
  .p1-hero-content {
    padding-bottom: 3.5rem !important;
  }
}

.p1-hero-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.p1-hero-breadcrumb .breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.p1-hero-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.65);
}

.p1-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p1-gold-bright);
}

.p1-hero-title {
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.p1-hero-lead {
  color: rgba(248, 250, 252, 0.95);
  font-size: 1.1rem;
  line-height: 1.55;
}

.project-1-page .btn-p1-gold {
  background: linear-gradient(180deg, var(--p1-gold-bright) 0%, var(--p1-gold) 100%);
  border: none;
  color: var(--p1-navy);
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(198, 162, 74, 0.45);
}

.project-1-page .btn-p1-gold:hover {
  background: linear-gradient(180deg, #e8d18a 0%, var(--p1-gold-bright) 100%);
  color: var(--p1-navy);
}

.project-1-page .btn-p1-ghost {
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.project-1-page .btn-p1-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

.project-1-page .btn-p1-outline {
  border: 2px solid var(--p1-gold);
  color: var(--p1-navy);
  background: transparent;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
}

.project-1-page .btn-p1-outline:hover {
  background: var(--p1-gold);
  border-color: var(--p1-gold);
  color: var(--p1-navy);
}

/* Section titles + gold rule */
.project-1-page .p1-section-title {
  position: relative;
  padding-bottom: 0.65rem;
  color: var(--p1-navy);
  letter-spacing: -0.02em;
}

.project-1-page .p1-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--p1-gold) 0%, var(--p1-gold-bright) 100%);
}

.p1-amenity-group-title {
  color: var(--p1-navy-mid);
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-left: 0.65rem;
  border-left: 3px solid var(--p1-gold);
}

/* Floor plan tabs */
.project-1-page .nav-tabs-p1 {
  border-bottom-color: rgba(10, 22, 40, 0.12);
}

.project-1-page .nav-tabs-p1 .nav-link {
  color: var(--p1-navy-mid);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.project-1-page .nav-tabs-p1 .nav-link:hover {
  color: var(--p1-navy);
  border-color: transparent;
}

.project-1-page .nav-tabs-p1 .nav-link.active {
  color: var(--p1-navy);
  border-color: #dee2e6 #dee2e6 var(--p1-gold);
  border-bottom-width: 3px;
}

/* Trust strip */
.p1-trust-strip {
  background: linear-gradient(90deg, var(--p1-navy) 0%, #132a4a 50%, var(--p1-navy) 100%);
  border-top: 3px solid var(--p1-gold);
  color: rgba(248, 250, 252, 0.9);
  padding: 0.9rem 0;
  font-size: 0.88rem;
}

.p1-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  text-align: center;
}

.p1-trust-sep {
  color: var(--p1-gold-muted);
  user-select: none;
}

.p1-trust-item strong {
  color: var(--p1-gold-bright);
  font-weight: 600;
}

.p1-trust-link {
  color: rgba(248, 250, 252, 0.95);
  text-decoration: none;
}

.p1-trust-link:hover {
  color: var(--p1-gold-bright);
  text-decoration: underline;
}

.project-1-page .page-header {
  margin-bottom: 1.5rem;
}

.p1-carousel {
  min-height: min(52vh, 560px);
  background: #e2e8f0;
}

.p1-carousel .carousel-item img {
  width: 100%;
  height: min(52vh, 560px);
  object-fit: cover;
  display: block;
}

.p1-masonry {
  column-count: 3;
  column-gap: 1rem;
}

@media (max-width: 767.98px) {
  .p1-masonry {
    column-count: 1;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .p1-masonry {
    column-count: 2;
  }
}

.p1-masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.p1-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--bs-border-radius);
}

.p1-info-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 100%);
  color: #f8fafc;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

.project-1-page .p1-info-bar {
  border-top: 3px solid var(--p1-gold);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.14);
}

.p1-info-item {
  flex: 1 1 140px;
  padding: 1rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.p1-info-item:last-child {
  border-right: none;
}

.p1-info-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.p1-info-value {
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 575.98px) {
  .p1-info-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .p1-info-item:last-child {
    border-bottom: none;
  }
}

@media (min-width: 992px) {
  .p1-sticky-form {
    position: sticky;
    top: 1rem;
  }
}

.p1-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1.35rem;
}

/* Eastern Paradise — amenity tiles: icon badges + hover lift */
.project-1-page .p1-amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 0.85rem 1.2rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-1-page .p1-amenity:hover {
  transform: translateY(-5px);
  border-color: var(--p1-gold-muted);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.1),
    0 2px 12px rgba(198, 162, 74, 0.15);
}

.project-1-page .p1-amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 0.85rem;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(145deg, #152a45 0%, #1e4976 38%, #2563eb 100%);
  border-radius: 50%;
  box-shadow:
    0 4px 16px rgba(37, 99, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(198, 162, 74, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.project-1-page .p1-amenity:hover .p1-amenity-icon {
  transform: scale(1.08) translateY(-1px);
  background: linear-gradient(145deg, #1d4ed8 0%, #3b82f6 45%, #60a5fa 100%);
  box-shadow:
    0 6px 22px rgba(37, 99, 235, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(223, 192, 102, 0.5);
  filter: saturate(1.05);
}

.project-1-page .p1-amenity-icon i {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

.project-1-page .p1-amenity-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: #1e293b;
}

/* Fallback when amenity grid appears outside project-1 (same base, simpler icons) */
.p1-amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bs-light);
  border-radius: var(--bs-border-radius);
  border: 1px solid var(--bs-border-color);
}

.p1-amenity-icon {
  color: var(--bs-primary);
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.p1-amenity-label {
  font-size: 0.9rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .project-1-page .p1-amenity,
  .project-1-page .p1-amenity-icon {
    transition: none;
  }

  .project-1-page .p1-amenity:hover {
    transform: none;
  }

  .project-1-page .p1-amenity:hover .p1-amenity-icon {
    transform: none;
    filter: none;
  }
}

.p1-plan-diagram svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  color: var(--bs-secondary-color);
  display: block;
  margin: 0 auto;
}

.p1-map-wrap iframe {
  width: 100%;
  height: 100%;
}
