/* ============================================
   Heritage Homes — Peach · Maroon · White
   ============================================ */

:root {
  --maroon: #7b2d26;
  --maroon-dark: #5c1f1a;
  --maroon-light: #9e3d34;
  --peach: #ffd4bc;
  --peach-light: #fff0e6;
  --peach-warm: #f5b895;
  --white: #ffffff;
  --off-white: #faf8f6;
  --text-dark: #2c1810;
  --text-muted: #6b5348;
  --shadow: 0 4px 24px rgba(123, 45, 38, 0.08);
  --shadow-lg: 0 12px 48px rgba(123, 45, 38, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maroon-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--maroon-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
}

.btn-outline:hover {
  background: var(--maroon);
  color: var(--white);
}

.btn-peach {
  background: var(--peach-warm);
  color: var(--maroon-dark);
}

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

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 38, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-desktop a:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123, 45, 38, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 2.5rem; /* 1.5 tab space between Contact button and Call Us */
}

.header-actions .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 70px;
  background: var(--white);
  padding: 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition), visibility var(--transition);
  visibility: hidden;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--peach-light);
}

/* ---------- Hero Carousel ---------- */
.hero-glassy {
  position: relative;
  min-height: 90vh;
  padding-top: 90px;
  background: linear-gradient(135deg, #1c0b08 0%, #3d1410 40%, #5c1f1a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-bg-slide.active {
  opacity: 0.45;
  transform: scale(1.03);
  transition: opacity 1.2s ease-in-out, transform 8s ease-out;
}

.hero-glassy-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(92, 31, 26, 0.4) 0%, rgba(28, 11, 8, 0.85) 100%);
  z-index: 1;
}

.hero-glassy-container {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin-inline: auto;
  padding: 3rem 0;
}

.hero-content-slide {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-content-slide.active {
  display: grid;
  animation: heroFadeEffect 0.8s ease-in-out forwards;
}

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


/* Plain solid background cards for hero as requested */
.glass-card-main {
  background: #5c1f1a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 212, 188, 0.25);
  border: 1px solid rgba(255, 212, 188, 0.4);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffd4bc;
  margin-bottom: 1.5rem;
}

.hero-glassy-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-glassy-title span {
  color: var(--peach-warm);
  font-style: italic;
}

.hero-glassy-phrase {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
  border-left: 3px solid var(--peach-warm);
  padding-left: 1.25rem;
}

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

.hero-visual-card {
  position: relative;
  background: #4a1c17;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-family-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-floating-stat {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--maroon);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--peach);
}

.hero-floating-stat .stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--peach);
}

.hero-floating-stat .stat-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* ---------- Commitment Banner Phrase ---------- */
.commitment-banner {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.commitment-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 212, 188, 0.15) 0%, transparent 70%);
}

.commitment-banner-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
}

.commitment-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--peach);
  margin-bottom: 1rem;
}

.commitment-banner p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.95;
  font-weight: 300;
}

/* ---------- About ---------- */
.about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  width: 100%;
}

.about-image {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 40%;
  background: var(--peach);
  border-radius: var(--radius);
  z-index: -1;
}

.about-text {
  display: flex;
  flex-direction: column;
}

.about-text .section-title {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}


/* ---------- 5 Reactive Points Around Logo (Why Choose Us) ---------- */
.why-us-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--peach-light) 0%, var(--white) 100%);
}

.why-us-orbital-wrap {
  position: relative;
  max-width: 1000px;
  margin: 3.5rem auto 0;
}

.why-us-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.why-us-central-logo-box {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background: var(--white);
  border: 3px solid var(--maroon);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(123, 45, 38, 0.18);
  position: relative;
  z-index: 5;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-us-central-logo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(123, 45, 38, 0.28);
}

.why-us-central-logo-box img {
  max-width: 180px;
  margin: 0 auto 0.75rem;
}

.why-us-central-logo-box p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
}

.why-us-point-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(123, 45, 38, 0.08);
  border: 2px solid rgba(123, 45, 38, 0.1);
  transition: all 0.35s ease;
  position: relative;
  cursor: pointer;
}

.why-us-point-card:hover,
.why-us-point-card.active {
  transform: translateY(-6px);
  border-color: var(--maroon);
  box-shadow: 0 16px 40px rgba(123, 45, 38, 0.18);
  background: #ffffff;
}

.why-us-point-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.why-us-point-icon {
  width: 48px;
  height: 48px;
  background: var(--maroon);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.why-us-point-card:hover .why-us-point-icon {
  background: var(--maroon-dark);
  transform: scale(1.1) rotate(5deg);
}

.why-us-point-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon-dark);
  line-height: 1.2;
}

.why-us-point-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Projects Cards (Inspired by image6.png) ---------- */
.projects-section {
  padding: 6rem 0;
  background: var(--white);
}

.project-card-v2 {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(123, 45, 38, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.project-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(123, 45, 38, 0.16);
}

.project-card-head {
  padding: 1.25rem 1.5rem 0.5rem;
  text-align: center;
  background: #faf8f6;
  border-bottom: 1px solid rgba(123, 45, 38, 0.06);
}

.project-title-v2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--maroon-dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.project-badge-status {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.35rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
}

.project-badge-status.available {
  background: #2e7d32;
  color: var(--white);
}

.project-badge-status.sold-out {
  background: #c62828;
  color: var(--white);
}

.project-image-box {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.project-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-image-box.full-view {
  height: auto;
  min-height: 380px;
  background: #fdfcfb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.project-image-box.full-view img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: 8px;
}

.project-card-v2:hover .project-image-box img {
  transform: scale(1.04);
}

.location-badge-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--maroon);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.project-specs-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.25rem 1rem;
  background: #f7f7f7;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  gap: 0.5rem;
  text-align: center;
}

.spec-box-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spec-icon-v2 {
  color: var(--maroon);
  margin-bottom: 0.25rem;
}

.spec-lbl-v2 {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.spec-val-v2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.project-btn-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: var(--maroon);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.project-btn-full:hover {
  background: var(--maroon-dark);
}

.project-actions-split {
  display: flex;
  width: 100%;
}

.project-actions-split .btn {
  flex: 1;
  border-radius: 0 !important;
  margin: 0;
  padding: 1.1rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  justify-content: center;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}


/* ---------- Testimonial Customer Avatar & Stars ---------- */
.testimonial-stars {
  color: #ffb300;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-project-tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--maroon);
  background: var(--peach-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ---------- Projects ---------- */
.projects {
  padding: 6rem 0;
  background: var(--white);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
}

.status-available {
  background: var(--maroon);
  color: var(--white);
}

.status-sold {
  background: var(--text-muted);
  color: var(--white);
}

.project-body {
  padding: 1.5rem;
}

.project-brand {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon-light);
  margin-bottom: 0.25rem;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--maroon-dark);
  margin-bottom: 0.5rem;
}

.project-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.project-specs {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(123, 45, 38, 0.1);
  border-bottom: 1px solid rgba(123, 45, 38, 0.1);
  margin-bottom: 1rem;
}

.project-spec {
  text-align: center;
}

.project-spec-value {
  font-weight: 600;
  color: var(--maroon);
  font-size: 0.95rem;
}

.project-spec-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-actions {
  display: flex;
  gap: 0.75rem;
}

.project-actions .btn {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--peach-light) 0%, var(--white) 100%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-left: 4px solid var(--maroon);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--maroon);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--maroon);
  background: var(--white);
  color: var(--maroon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonial-btn:hover {
  background: var(--maroon);
  color: var(--white);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--maroon);
  width: 24px;
  border-radius: 4px;
}

/* ---------- Partners ---------- */
.partners {
  padding: 4rem 0;
  background: var(--maroon-dark);
  color: var(--white);
  text-align: center;
}

.partners .section-title {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.partners p {
  opacity: 0.8;
  max-width: 500px;
  margin-inline: auto;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  opacity: 0.7;
}

.partner-logo {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
}

/* ---------- CTA ---------- */
.cta {
  padding: 6rem 0;
  background: var(--peach);
  text-align: center;
}

.cta .section-title {
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-inline: auto;
}

/* ---------- Contact ---------- */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--maroon-dark);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--peach-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  flex-shrink: 0;
}

.contact-form {
  background: var(--peach-light);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(123, 45, 38, 0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--maroon);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

/* ---------- Footer ---------- */
.footer {
  background: var(--maroon-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-name {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--peach-warm);
  border-color: var(--peach-warm);
  color: var(--maroon-dark);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
.projects-grid-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-us-point-5 {
  grid-column: span 2;
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
}

.contact-logo-box {
  margin-top: 3.5rem;
  background: #ffffff;
  padding: 1.25rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(123, 45, 38, 0.15);
  display: inline-block;
  box-shadow: 0 10px 30px rgba(123, 45, 38, 0.05);
  max-width: 280px;
  width: 100%;
}

@media (max-width: 1024px) {
  .hero-glassy-container {
    gap: 2rem;
  }

  .hero-content-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-us-grid-5 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-us-central-logo-box {
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
  }

  .why-us-point-5 {
    grid-column: span 1 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .contact-logo-box {
    margin-top: 2rem;
    margin-inline: auto;
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 6rem 4% 2rem;
    text-align: center;
  }

  .hero-tagline {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 400px;
  }

  .hero-image {
    border-radius: 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  section {
    padding: 4rem 0 !important;
  }

  .logo-name {
    font-size: 1.05rem !important;
  }

  .logo-tagline {
    font-size: 0.55rem !important;
  }

  .logo-img {
    height: 32px !important;
  }

  .header-actions {
    margin-left: auto !important;
    gap: 0.5rem !important;
  }

  .header-actions .btn-primary {
    display: none !important; /* Hide Enquiry button in header on mobile to fit text logo and hamburger */
  }

  .nav-desktop,
  .header-actions .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .features-grid,
  .projects-grid,
  .projects-grid-featured {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .glass-card-main {
    padding: 2rem 1.5rem;
  }

  .about-text {
    text-align: center;
  }

  .about-text .btn {
    margin-inline: auto;
  }

  .hero-family-img {
    height: 260px !important;
  }

  .about-image-accent {
    right: 0 !important;
    bottom: -10px !important;
  }

  .hero-floating-stat {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin: 1.5rem auto 0 !important;
    display: inline-block !important;
    text-align: center !important;
    width: calc(100% - 2rem) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
  }
}

@media (max-width: 480px) {
  .project-actions-split {
    flex-direction: column;
  }

  .project-actions-split .btn {
    width: 100% !important;
    padding: 0.85rem 1rem;
  }

  .hero-glassy-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-glassy-actions .btn {
    width: 100% !important;
    text-align: center;
    justify-content: center;
  }

  .hero-family-img {
    height: 200px !important;
  }

}
