/* Zen Casa Premium Design System & Mockup Styling */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Default Theme: Warm Elegance (Mockup Color Scheme) */
  --ink: #2D2520; /* Deep warm chocolate-charcoal */
  --ink-rgb: 45, 37, 32;
  --muted: #7A7067; /* Warm earthy gray */
  --bg: #FAF9F6; /* Light plaster warm-white */
  --bg-gradient: radial-gradient(circle at 12% 6%, #F5EFE9 0%, #FAF9F6 50%);
  --card: #FFFFFF; /* Pure white cards */
  --card-bg: #FFFFFF;
  --nav-bg: rgba(250, 249, 246, 0.85);
  
  --sage: #2D2520; /* Buttons background uses deep dark brown */
  --sage-rgb: 45, 37, 32;
  --sage-light: #F4EFEA; /* Light warm-tan for highlights/alt buttons */
  
  --clay: #9A7B56; /* Accent bronze-gold from mockup */
  --clay-rgb: 154, 123, 86;
  
  --accent-gold: #9A7B56;
  
  --honey: #EFE5DA; /* Warm tan highlight */
  --honey-rgb: 239, 229, 218;
  
  --line: rgba(45, 37, 32, 0.07);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-sm: 0 4px 20px rgba(45, 37, 32, 0.03);
  --shadow-md: 0 12px 34px rgba(45, 37, 32, 0.05);
  --shadow-lg: 0 24px 60px rgba(45, 37, 32, 0.08);
  
  --contact-card-bg: #2D2520;
  --contact-card-text: #FAF9F6;
  --contact-card-muted: rgba(250, 249, 246, 0.75);
}

[data-theme="forest-brass"] {
  /* Theme 2: Forest & Brass (Rich Organic Luxury) */
  --ink: #1b221e;
  --ink-rgb: 27, 34, 30;
  --muted: #626d66;
  --bg: #faf8f5;
  --bg-gradient: radial-gradient(circle at 12% 6%, rgba(184, 152, 116, 0.15), transparent 35%), var(--bg);
  --card: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.88);
  --nav-bg: rgba(255, 255, 255, 0.85);
  
  --sage: #384e41;
  --sage-rgb: 56, 78, 65;
  --sage-light: rgba(56, 78, 65, 0.08);
  
  --clay: #b89874;
  --clay-rgb: 184, 152, 116;
  
  --accent-gold: #b89874;
  
  --honey: #ded5c9;
  --honey-rgb: 222, 213, 201;
  
  --line: rgba(27, 34, 30, 0.07);
  --shadow-sm: 0 4px 20px rgba(27, 34, 30, 0.03);
  --shadow-md: 0 12px 34px rgba(27, 34, 30, 0.05);
  --shadow-lg: 0 24px 60px rgba(27, 34, 30, 0.08);
  
  --contact-card-bg: #1b221e;
  --contact-card-text: #faf8f5;
  --contact-card-muted: rgba(250, 248, 245, 0.72);
}

[data-theme="velvet-earth"] {
  /* Theme 3: Velvet Earth (Warm Terracotta & Clay) */
  --ink: #231f1e;
  --ink-rgb: 35, 31, 30;
  --muted: #7c726a;
  --bg: #fdfaf7;
  --bg-gradient: radial-gradient(circle at 12% 6%, rgba(224, 190, 139, 0.2), transparent 35%), var(--bg);
  --card: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.88);
  --nav-bg: rgba(255, 255, 255, 0.85);
  
  --sage: #7d6c63;
  --sage-rgb: 125, 108, 99;
  --sage-light: rgba(125, 108, 99, 0.08);
  
  --clay: #ac6247;
  --clay-rgb: 172, 98, 71;
  
  --accent-gold: #ac6247;
  
  --honey: #e0be8b;
  --honey-rgb: 224, 190, 139;
  
  --line: rgba(35, 31, 30, 0.07);
  --shadow-sm: 0 4px 20px rgba(35, 31, 30, 0.03);
  --shadow-md: 0 12px 34px rgba(35, 31, 30, 0.05);
  --shadow-lg: 0 24px 60px rgba(35, 31, 30, 0.08);
  
  --contact-card-bg: #231f1e;
  --contact-card-text: #fdfaf7;
  --contact-card-muted: rgba(253, 250, 247, 0.72);
}

[data-theme="midnight-executive"] {
  /* Theme 4: Midnight Executive (Modern Charcoal Dark Luxury) */
  --ink: #f7f4f0;
  --ink-rgb: 247, 244, 240;
  --muted: #aba298;
  --bg: #141311;
  --bg-gradient: radial-gradient(circle at 12% 6%, rgba(207, 168, 123, 0.06), transparent 35%), var(--bg);
  --card: #201e1c;
  --card-bg: rgba(32, 30, 28, 0.95);
  --nav-bg: rgba(32, 30, 28, 0.85);
  
  --sage: #cfa87b;
  --sage-rgb: 207, 168, 123;
  --sage-light: rgba(207, 168, 123, 0.12);
  
  --clay: #9e8574;
  --clay-rgb: 158, 133, 116;
  
  --accent-gold: #cfa87b;
  
  --honey: #4c4640;
  --honey-rgb: 76, 70, 64;
  
  --line: rgba(247, 244, 240, 0.09);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.32);
  
  --contact-card-bg: #201e1c;
  --contact-card-text: #f7f4f0;
  --contact-card-muted: rgba(247, 244, 240, 0.7);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-gradient);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header & Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 16px clamp(16px, 3vw, 36px) 0;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 46px;
  height: 42px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  transition: var(--transition-fast);
}

/* Invert brand logo in dark mode */
[data-theme="midnight-executive"] .brand img {
  filter: brightness(0) invert(1);
}

.links {
  display: flex;
  gap: clamp(8px, 1.5vw, 24px);
  align-items: center;
}

.links a {
  position: relative;
  padding: 8px 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
  background: none !important;
}

.links a:hover {
  color: var(--ink);
  opacity: 1;
}

.links a.active {
  color: var(--ink);
  opacity: 1;
  background: none !important;
}

.links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.nav-cta {
  display: none;
}

@media (min-width: 941px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* Page Section Layouts */
section {
  padding: clamp(32px, 4.5vw, 60px) clamp(18px, 6vw, 80px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 500;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 em {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 400;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 em {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 400;
}

h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.lead {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: none;
  gap: 10px;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

.btn:hover .arrow-circle {
  transform: translateX(3px);
}

.btn.alt {
  background: var(--sage-light);
  color: var(--ink);
  border: none;
  box-shadow: none;
}

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

.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: normal;
  line-height: 1;
  margin-left: 2px;
  transition: var(--transition-fast);
}

/* Image styling */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo:hover img {
  transform: scale(1.03);
}

/* Photo Badges */
.photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: #2D2520;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  pointer-events: none;
  transition: var(--transition-fast);
  z-index: 2;
}

[data-theme="midnight-executive"] .photo-badge {
  background: rgba(32, 30, 28, 0.92);
  color: #f7f4f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Homepage Hero Board */
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 4.5vw, 60px);
  align-items: center;
  min-height: auto;
  padding: clamp(24px, 5vw, 54px) clamp(18px, 6vw, 80px);
}

.hero-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.photo.big {
  min-height: 580px;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack .photo {
  min-height: 282px;
}

/* Services Grid & Card layout */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  min-height: auto;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--card);
  border-color: var(--accent-gold);
}

.service span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--accent-gold);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 24px;
}

.service h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 500;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Homepage Advanced Services Grid layout (matches mockup) */
#services {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
  margin: 20px clamp(16px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  box-shadow: var(--shadow-sm);
}

#services .section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 0;
  gap: 20px;
}

#services .section-head h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.15;
  margin: 0;
}

#services .section-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

#services .actions {
  margin-top: 10px !important;
  justify-content: flex-start !important;
  display: flex;
}

#services .actions .btn {
  background: transparent;
  color: var(--accent-gold);
  border: none;
  box-shadow: none;
  padding: 0;
  min-height: auto;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

#services .actions .btn:hover {
  transform: translateX(4px);
  color: var(--ink);
}

#services .actions .btn .arrow-circle {
  display: inline-flex;
}

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

.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  min-height: auto;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: var(--transition-smooth);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--accent-gold);
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.service-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  display: block;
}

.service:hover .service-icon {
  background: var(--accent-gold);
  color: var(--card);
}

.service span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  background: none;
  width: auto;
  height: auto;
  padding: 0;
  font-family: var(--font-heading);
}

.service h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--ink);
  font-family: var(--font-body);
}

.service p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 768px) {
  #services .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #services {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }
  #services .section-head {
    grid-column: 1;
    grid-row: 1;
  }
  #services .actions {
    grid-column: 1;
    grid-row: 2;
  }
  #services .services {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (min-width: 1280px) {
  #services .services {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Story Grid (About section) */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.story-card {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

.story-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.story-photos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.story-photos img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.story-photos img:first-child {
  grid-column: span 2;
  height: 340px;
}

/* Feature Project Highlight */
.feature {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: stretch;
}

.feature-media {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

.feature-copy {
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.feature-copy p,
.feature-copy li {
  color: var(--muted);
  font-size: 16px;
}

.feature-copy ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.feature-copy li {
  margin-bottom: 8px;
}

.feature-media > img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.feature-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-thumbs img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-thumbs img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.finish-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.finish-point {
  border-radius: var(--radius-sm);
  background: var(--sage-light);
  border: 1px solid var(--line);
  padding: 18px;
  transition: var(--transition-fast);
}

.finish-point:hover {
  background: var(--honey);
}

.finish-point b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 18px;
}

.finish-point span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Gallery (Homepage Grid) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item figcaption {
  padding: 18px;
}

.gallery-item b {
  display: block;
  font-size: 17px;
  font-family: var(--font-heading);
  margin-bottom: 4px;
  color: var(--ink);
}

.gallery-item span {
  color: var(--muted);
  font-size: 13px;
}

/* Interactive Filter Bar (for Gallery Page) */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: var(--sage-light);
  color: var(--ink);
}

.filter-btn.active {
  background: var(--accent-gold);
  color: var(--bg);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

/* Reviews / Testimonials */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin: 0;
  transition: var(--transition-smooth);
}

.review:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  font-style: italic;
}

.review cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.02em;
}

/* Process Section (Steps) */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step {
  padding: 28px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.step b {
  color: var(--accent-gold);
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 18px;
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Service Areas */
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.area {
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 14px 18px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition-fast);
}

.area:hover {
  background: var(--card);
  color: var(--ink);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

/* Contact Overview (Home Page) */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  border-radius: var(--radius-lg);
  background: var(--contact-card-bg);
  color: var(--contact-card-text);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.contact-card h2 {
  color: var(--contact-card-text);
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--contact-card-muted);
}

.contact-card p b {
  color: var(--contact-card-text);
}

.contact-card .btn {
  background: var(--accent-gold);
  color: var(--bg);
}

.contact-card .btn:hover {
  background: var(--ink);
  color: var(--bg);
}

[data-theme="midnight-executive"] .contact-card .btn {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--line);
}

.contact-photo img {
  border-radius: var(--radius-lg);
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* Differentiators & Pillars (About Page) */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.diff-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.diff-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.diff-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--sage-light);
  color: var(--accent-gold);
  border-radius: 50%;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 16px;
  flex-shrink: 0;
}

.diff-content h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.diff-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Service Detail View (Services Page) */
.service-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 70px);
}

.service-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.service-block:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-block:nth-child(even) .service-showcase-copy {
  order: 2;
}

.service-block:nth-child(even) .service-showcase-photo {
  order: 1;
}

.service-showcase-photo {
  min-height: 400px;
  height: 450px;
}

.service-showcase-copy {
  padding: 10px;
}

.service-showcase-copy h3 {
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 500;
}

.service-showcase-copy p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.service-showcase-copy ul {
  padding-left: 20px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-showcase-copy li {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

/* Contact Page Split Layout & Form */
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.info-block h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.info-block p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}

.info-block a {
  color: var(--accent-gold);
  font-weight: 700;
  transition: var(--transition-fast);
}

.info-block a:hover {
  text-decoration: underline;
}

.contact-form-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(var(--ink-rgb), 0.03);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-gold);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(var(--clay-rgb), 0.15);
}

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

/* Shared Premium Footer */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(40px, 5vw, 60px) clamp(18px, 6vw, 80px) 30px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bg);
}

.footer-brand img {
  width: 48px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--muted);
  filter: brightness(1.25);
  font-size: 14px;
  max-width: 290px;
  line-height: 1.6;
  margin: 0;
}

.footer-col h5 {
  color: var(--accent-gold);
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul li a {
  color: var(--muted);
  filter: brightness(1.25);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  transform: translateX(2px);
}

.footer-col p {
  color: var(--muted);
  filter: brightness(1.25);
  font-size: 14px;
  margin: 0 0 12px;
  line-height: 1.6;
}

.footer-col strong {
  color: var(--bg);
}

.footer-bottom {
  border-top: 1px solid rgba(var(--ink-rgb), 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  color: var(--muted);
  filter: brightness(1.25);
  transition: var(--transition-fast);
  font-weight: 600;
}

.footer-social a:hover {
  color: var(--accent-gold);
}

/* Lightbox Modal Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--ink-rgb), 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  color: var(--bg);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  background: rgba(var(--ink-rgb), 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(var(--ink-rgb), 0.6);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  color: var(--bg);
  font-size: 15px;
  text-align: center;
  background: rgba(var(--ink-rgb), 0.7);
  padding: 12px 28px;
  border-radius: 999px;
  max-width: 80%;
  box-shadow: var(--shadow-md);
}

/* Form Success Modal */
.success-modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--ink-rgb), 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.success-content {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 44px;
  border-radius: var(--radius-lg);
  max-width: 480px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-content h3 {
  font-size: 28px;
  color: var(--accent-gold);
  margin-top: 0;
}

.success-content p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Animations and gallery item transition */
.gallery-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  border: none;
  padding: 0;
}

/* Global Mobile Responsiveness */
@media (max-width: 940px) {
  .links {
    display: none;
  }

  .hero,
  .hero-board,
  .feature,
  .story-grid,
  .contact,
  .diff-grid,
  .service-block,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .services,
  .story-photos,
  .feature-thumbs,
  .finish-points,
  .gallery-grid,
  .reviews,
  .areas,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .photo.big,
  .stack .photo,
  .feature-media > img,
  .contact-photo img,
  .service-showcase-photo {
    min-height: 340px;
    height: auto;
  }

  .service-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-showcase-copy {
    order: initial;
  }

  .service-block:nth-child(even) .service-showcase-photo {
    order: initial;
  }

  .service-showcase-copy ul {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 24px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
