:root {
  --bg: #faf9f6;
  --bg-alt: #f1efe9;
  --surface: #ffffff;
  --surface-2: #f6f4ef;
  --ink: #161513;
  --muted: #5c5852;
  --border: rgba(22, 21, 19, 0.12);
  --accent: #b8860b;
  --accent-ink: #ffffff;
  --accent-soft: rgba(184, 134, 11, 0.12);
  --hero-bg: #181715;
  --hero-ink: #faf8f4;
  --hero-muted: rgba(250, 248, 244, 0.76);
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.container {
  width: min(var(--max-w), calc(100% - 2.4rem));
  margin-inline: auto;
}

/* ==================== Top Gemridge Concept Banner ==================== */
.preview-banner {
  background: #0f172a;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  position: sticky;
  top: 0;
  z-index: 90;
}

.preview-banner-inner {
  width: min(var(--max-w), calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.48rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.preview-pill {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  padding: 0.14rem 0.6rem;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.preview-banner-text {
  flex: 1;
  min-width: 180px;
  color: #cbd5e1;
}

.preview-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.preview-banner-cta {
  background: #38bdf8;
  color: #082f49;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  white-space: nowrap;
}

.preview-banner-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: var(--radius-sm);
  padding: 0.78rem 1.35rem;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--hero-ink);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-block {
  width: 100%;
}

/* ==================== Header & Navigation ==================== */
.site-header {
  background: var(--hero-bg);
  color: var(--hero-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  flex: 1;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-loc {
  font-size: 0.74rem;
  color: var(--hero-muted);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.88rem;
  color: var(--hero-muted);
}

.nav-links a:hover {
  color: var(--hero-ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hero-ink);
  opacity: 0.92;
  white-space: nowrap;
}

/* ==================== Hero Section ==================== */
.hero-section {
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding: 3.4rem 0 4.2rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--hero-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.05rem;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.55rem);
  line-height: 1.08;
  margin: 0 0 1.05rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.06rem;
  color: var(--hero-muted);
  margin: 0 0 1.65rem;
  max-width: 56ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item strong {
  display: block;
  font-size: 1.15rem;
  color: var(--hero-ink);
}

.trust-item span {
  font-size: 0.77rem;
  color: var(--hero-muted);
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-art-box {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.34) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  padding: 1.25rem;
}

.lucide-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.hero-spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.05rem;
}

.hero-spotlight-emblem {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.hero-spotlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--hero-ink);
}

.hero-spotlight-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hero-ink);
  margin: 0 0 0.22rem;
}

.hero-spotlight-sub {
  font-size: 0.84rem;
  color: var(--hero-muted);
  margin: 0 0 1.05rem;
}

.hero-spotlight-list {
  display: grid;
  gap: 0.55rem;
}

.hero-spotlight-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.72rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.83rem;
}

.hero-spotlight-row .hs-icon {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}

.hero-spotlight-row strong {
  color: var(--hero-ink);
  font-weight: 600;
}

.hero-spotlight-row span.hs-val {
  margin-left: auto;
  color: var(--hero-muted);
  font-size: 0.78rem;
  text-align: right;
}

.service-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  color: #f59e0b;
}

.contact-chip-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--hero-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-card-badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--hero-ink);
}

.hero-card-sub {
  font-size: 0.76rem;
  color: var(--hero-muted);
}

/* ==================== Sections ==================== */
.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.1rem;
}

.section-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.45rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin: 0;
}

.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
  font-size: 0.96rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.52rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
}

.service-card h3 {
  margin: 0.15rem 0 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-link {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
}

/* Signature Showcase / Menu Split */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.highlight-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.spec-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-name {
  font-weight: 600;
  font-size: 0.96rem;
}

.spec-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.spec-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* Process Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.review-stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.review-quote {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.55;
}

.review-author {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

/* FAQ & Contact */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.faq-item p {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-card {
  background: var(--hero-bg);
  color: var(--hero-ink);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.contact-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.85rem;
}

.contact-chip span {
  display: block;
  font-size: 0.72rem;
  color: var(--hero-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-chip strong {
  font-size: 0.9rem;
  word-break: break-word;
}

.contact-action-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer {
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==================== Template Showcase Gallery (when no ?c=) ==================== */
.showcase-hero {
  background: linear-gradient(135deg, #0b1120 0%, #172554 100%);
  color: #f8fafc;
  padding: 3.2rem 0 2.8rem;
}

.showcase-builder {
  margin-top: 1.4rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.65rem;
  align-items: end;
}

.showcase-builder label {
  display: block;
  font-size: 0.72rem;
  color: #cbd5e1;
  margin-bottom: 0.25rem;
}

.showcase-builder input,
.showcase-builder select {
  width: 100%;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-swatch {
  padding: 1.15rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.showcase-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

/* ==================== Modal ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-sheet {
  width: min(500px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.6rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
}

.modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.modal-title {
  margin: 0.25rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.modal-subtitle {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.field-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.field-row label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.72rem;
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--ink);
}

.modal-confirmation {
  text-align: center;
  padding: 0.8rem 0 0.3rem;
}

.confirm-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 auto 0.75rem;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.loading-shell {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

/* ==================== Mobile ==================== */
@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .contact-card,
  .steps-grid,
  .reviews-grid,
  .showcase-builder {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 1.4rem);
  }
  .hero-section {
    padding: 2.2rem 0 2.7rem;
  }
  .section {
    padding: 2.7rem 0;
  }
  .nav-phone {
    display: none;
  }
  .nav-actions .btn {
    padding: 0.5rem 0.82rem;
    font-size: 0.8rem;
  }
  .field-grid-2,
  .contact-meta {
    grid-template-columns: 1fr;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .contact-card {
    padding: 1.35rem;
  }
}
