/* ================================================================
   FORTE LLC — styles.css
   Light cream luxury real estate aesthetic
   Fonts: Cormorant Garamond (display) + Outfit (body)
   ================================================================ */

/* ──────────────────────────────────────────────
   CSS VARIABLES — CREAM PALETTE
────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #f3e8ce;   /* warm cream */
  --bg2:          #f8f1df;   /* lighter cream */
  --card:         #ffffff;   /* pure white card */
  --card-h:       #faf4e5a4;   /* card hover */
  --border:       #E6DDC7;   /* cream border */
  --border-l:     rgba(31,27,20,0.08);

  /* Accent — gold tuned for cream backgrounds */
  --gold:         #B8862B;
  --gold-lt:      #D4A24E;
  --gold-dim:     rgba(184, 134, 43, 0.10);
  --gold-border:  rgba(184, 134, 43, 0.35);

  /* Text — dark on cream */
  --text:         #1F1B14;
  --text-2:       #5C564A;
  --text-3:       #908773;

  /* Hero overlays (used for darkening hero photo) */
  --hero-tint:    rgba(31, 27, 20, 0.55);
  --hero-tint-2:  rgba(31, 27, 20, 0.20);

  --ff-disp:  'Cormorant Garamond', Georgia, serif;
  --ff-body:  'Outfit', sans-serif;

  --nav-h:    72px;
  --wrap:     1200px;
  --ease:     0.18s ease;
  --ease-s:   0.4s cubic-bezier(0.16,1,0.3,1);
}

/* ──────────────────────────────────────────────
   RESET & BASE
────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: #FBF6E9;
  background-image: url('marble-bg.svg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); }

.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ──────────────────────────────────────────────
   LOGO IMAGE — keep natural color on cream
────────────────────────────────────────────── */
.logo-img {
  height: 48px;
  width: auto;
  transition: opacity var(--ease);
}
.logo-img:hover { opacity: 0.85; }
.footer-logo-img { height: 48px; }

/* When the logo sits on a dark surface (footer) */
.footer-brand .logo-img { filter: brightness(0) invert(1); }

/* ──────────────────────────────────────────────
   BUTTONS
────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  transition: background var(--ease), transform var(--ease);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-gold-full {
  display: block;
  text-align: center;
  padding: 0.8rem 1.6rem;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-top: 0.5rem;
  border: none;
  transition: background var(--ease);
}
.btn-gold-full:hover { background: var(--gold-lt); }

.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  background: transparent;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid var(--gold-border);
  transition: all var(--ease);
}
.btn-gold-sm:hover { background: var(--gold-dim); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.6rem;
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.5);
  transition: border-color var(--ease), background var(--ease);
}
.btn-outline:hover { border-color: var(--gold-lt); background: rgba(212,162,78,0.18); }

/* ──────────────────────────────────────────────
   NAVIGATION
────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(247, 241, 227, 0);
  transition: background var(--ease), box-shadow var(--ease), border-color var(--ease);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(251, 246, 233, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-l), 0 8px 24px -16px rgba(31,27,20,0.18);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  position: relative;
  transition: color var(--ease), text-shadow var(--ease);
}
#navbar.scrolled .nav-links a { color: var(--text-2); text-shadow: none; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav-links a:hover { color: var(--gold-lt); }
#navbar.scrolled .nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lang-sep { color: rgba(255,255,255,0.55); font-size: 0.75rem; }
#navbar.scrolled .lang-sep { color: var(--text-3); }
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--ease);
}
#navbar.scrolled .lang-btn { color: var(--text-3); text-shadow: none; }
.lang-btn:hover, .lang-btn.active { color: var(--gold-lt); }
#navbar.scrolled .lang-btn:hover, #navbar.scrolled .lang-btn.active { color: var(--gold); }

/* Logo color treatment in nav: white over hero, natural after scroll */
#navbar .logo-img { filter: brightness(0) invert(1); }
#navbar.scrolled .logo-img { filter: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: #FFFFFF;
  transition: all var(--ease);
}
#navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.25rem 2rem 1.5rem;
  background: rgba(251, 246, 233, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.65rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.7);
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-img.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--hero-tint) 0%, transparent 60%),
    linear-gradient(to bottom, var(--hero-tint-2) 0%, rgba(31,27,20,0.45) 60%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}
.eyebrow-line {
  display: block;
  width: 38px; height: 1px;
  background: var(--gold-lt);
  flex-shrink: 0;
}

/* Hero title — reduced size per request */
.hero-title {
  font-family: var(--ff-disp);
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  font-weight: 400;
  line-height: 0.98;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(0,0,0,0.3);
}
.ht-plain  { color: #FFFFFF; }
.ht-italic { font-style: italic; color: var(--gold-lt); }

.hero-sub {
  max-width: 480px;
  color: rgba(247, 241, 227, 0.88);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

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

/* Hero contact bar (below hero) */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(31, 27, 20, 0.82);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.hstat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 2.1rem;
  color: rgba(247,241,227,0.92);
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}
.hstat-link:hover { background: rgba(212,162,78,0.10); color: var(--gold-lt); }
.hstat-link:hover .hstat-num { color: var(--gold-lt); }

.hstat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  color: var(--gold-lt);
  flex-shrink: 0;
}
.hstat-icon svg { width: 100%; height: 100%; }

.hstat-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.1;
}
.hstat-num {
  font-size: 0.92rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color var(--ease);
}
.hstat-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,241,227,0.6);
}

/* "Areas We Serve" keeps the original prominent display style */
.hstat-area .hstat-text {
  align-items: center;
  text-align: center;
}
.hstat-area .hstat-num {
  font-family: var(--ff-disp);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold-lt);
}
.hstat-area .hstat-label {
  color: rgba(247,241,227,0.7);
}

.hstat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  align-self: stretch;
  margin: 0.6rem 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 80px; right: 2.5rem;
  z-index: 2;
}
.scroll-bar {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold-lt), transparent);
  animation: scrollFade 2.2s ease-in-out infinite;
}
@keyframes scrollFade {
  0%, 100% { opacity: 0.9; transform: scaleY(1); }
  50%       { opacity: 0.25; transform: scaleY(0.6); }
}

/* ──────────────────────────────────────────────
   SECTION SHARED
────────────────────────────────────────────── */
section { padding: 6.5rem 0; }

.sec-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.sec-tag::before, .sec-tag::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.sec-title {
  font-family: var(--ff-disp);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.sec-sub {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.75;
}

/* ──────────────────────────────────────────────
   SERVICES
────────────────────────────────────────────── */
#services { background: transparent;}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.svc-card {
  background: var(--card);
  padding: 2.4rem 2.1rem;
  transition: background var(--ease), transform var(--ease);
}
.svc-card:hover { background: var(--card-h); }

.svc-icon {
  width: 80px; height: 80px;
  margin-bottom: 0.75rem;
}
.svc-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

.svc-card h3 {
  font-family: var(--ff-disp);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.55rem;
  line-height: 1.2;
}
.svc-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.7;
}

/* ──────────────────────────────────────────────
   PORTFOLIO
────────────────────────────────────────────── */
#portfolio { background: rgba(255, 253, 245, 0.842) }

/* Project stats — moved from hero */
.port-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin: -1.25rem auto 2.4rem;
  padding: 1.25rem 1.75rem;
  max-width: 540px;
  background: var(--card);
  border: 1px solid var(--border);
}
.ps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  text-align: center;
}
.ps-num {
  font-family: var(--ff-disp);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.ps-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ps-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}

.port-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.filter-btn {
  padding: 0.55rem 1.4rem;
  background: transparent;
  color: var(--text-3);
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  transition: all var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  color: var(--gold);
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

/* Portfolio grid */
.port-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.port-item {
  position: relative;
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.port-item.port-large { grid-row: span 2; }

.port-item.hidden { display: none; }

/* ── Before / After Slider ── */
.ba-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  cursor: ew-resize;
}

.ba-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.ba-before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.ba-line {
  position: absolute;
  top: 0; left: 50%;
  width: 2px; height: 100%;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
  transition: left 0s;
}
.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(184,134,43,0.22);
}
.ba-knob svg {
  width: 18px; height: 18px;
  color: #FFFFFF;
}

.ba-labels {
  position: absolute;
  top: 1rem; left: 1rem; right: 1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
}
.ba-lbl-before,
.ba-lbl-after {
  padding: 0.25rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(31,27,20,0.7);
  color: #F7F1E3;
  backdrop-filter: blur(6px);
}
.ba-lbl-after { color: var(--gold-lt); }

.port-caption {
  padding: 1rem 1rem 1.1rem;
  border-top: 1px solid var(--border);
}
.port-cat {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.port-caption h3 {
  font-family: var(--ff-disp);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.port-caption p {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 300;
}

.port-img-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 220px;
}
.port-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.port-img-wrap:hover img { transform: scale(1.06); }

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,27,20,0.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  opacity: 0;
  transition: opacity var(--ease);
}
.port-img-wrap:hover .port-overlay { opacity: 1; }

.port-overlay h3 {
  font-family: var(--ff-disp);
  font-size: 1.2rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}
.port-overlay p {
  font-size: 0.75rem;
  color: rgba(247,241,227,0.78);
}
.port-overlay .port-cat { margin-bottom: 0.4rem; color: var(--gold-lt); }

/* Portfolio CTA card (legacy, kept for safety) */
.port-cta-inner {
  width: 100%; height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--card);
  border: 1px dashed var(--border);
  text-align: center;
  padding: 2rem;
  transition: border-color var(--ease), background var(--ease);
}
.port-cta-inner:hover { border-color: var(--gold-border); background: var(--card-h); }

.port-cta-icon {
  width: 38px; height: 38px;
  color: var(--gold);
  opacity: 0.7;
}
.port-cta-icon svg { width: 100%; height: 100%; }

.port-cta-inner p {
  font-family: var(--ff-disp);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-2);
}

/* ──────────────────────────────────────────────
   GOOGLE REVIEWS SECTION
────────────────────────────────────────────── */
#reviews { background: transparent; }

.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding: 0.7rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.rs-rating {
  font-family: var(--ff-disp);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.rs-stars {
  display: inline-flex;
  gap: 1px;
  color: #F4B400;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.rs-count {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 400;
}
.rs-google {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.4rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 500;
}
.rs-google img { width: 14px; height: 14px; }

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

/* Centered "See all reviews" link below grid */
.reviews-footer {
  text-align: center;
  margin-top: 2.25rem;
}
.reviews-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.8rem;
  border: 1px solid var(--gold-border);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--card);
  transition: all var(--ease);
}
.reviews-footer-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.reviews-footer-arrow {
  color: var(--gold);
  font-size: 0.9rem;
}

.review-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.75rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(31,27,20,0.18);
  border-color: var(--gold-border);
}

.rc-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.rc-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-family: var(--ff-disp);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rc-meta { flex: 1; min-width: 0; }
.rc-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.18rem;
}
.rc-stars {
  display: inline-flex;
  gap: 1px;
  color: #F4B400;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.rc-google {
  width: 22px; height: 22px;
  flex-shrink: 0;
}

.rc-text {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
}

.rc-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.rc-photos img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.rc-source {
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* "See all on Google" CTA card */
.review-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  background: var(--card);
  border: 1px dashed var(--border);
  padding: 2rem 1.5rem;
  transition: border-color var(--ease), background var(--ease);
}
.review-cta:hover { border-color: var(--gold-border); background: var(--card-h); }
.review-cta-google {
  width: 36px; height: 36px;
}
.review-cta p {
  font-family: var(--ff-disp);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-2);
}
.review-cta .arrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ──────────────────────────────────────────────
   FLOATING GOOGLE BADGE (bottom-left)
────────────────────────────────────────────── */
.g-badge {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem 0.55rem 0.6rem;
  background: #FFFFFF;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 22px -10px rgba(31,27,20,0.28), 0 2px 6px rgba(31,27,20,0.05);
  transition: transform var(--ease), box-shadow var(--ease);
}
.g-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(31,27,20,0.35), 0 2px 6px rgba(31,27,20,0.06);
}
.g-badge-icon {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-badge-icon svg { width: 100%; height: 100%; }

.g-badge-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 2px;
}
.g-badge-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.g-badge-stars .stars {
  color: #F4B400;
  letter-spacing: 0.02em;
}
.g-badge-meta {
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────
   CONTACT
────────────────────────────────────────────── */
#contact { background: rgba(255, 253, 245, 0.842); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  padding-top: 0.5rem;
}

.cinfo-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.cinfo-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  color: var(--gold);
  padding: 10px;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
}
.cinfo-icon svg { width: 100%; height: 100%; }

.cinfo-item h4 {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.3rem;
}
.cinfo-item p {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
}
.cinfo-item a {
  color: var(--text);
  transition: color var(--ease);
}
.cinfo-item a:hover { color: var(--gold); }

.cinfo-social h4 {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.85rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color var(--ease);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { color: var(--gold); }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  padding: 2rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
}

/* Spam-trap field — hidden from real visitors, bots tend to fill it in */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.78rem 1rem;
  outline: none;
  transition: border-color var(--ease), background var(--ease);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-border);
  background: #FFFFFF;
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23908773' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 14px;
  padding-right: 2.4rem;
  cursor: pointer;
}
.form-group select option { background: var(--card); }

.btn-submit {
  width: 100%;
  padding: 0.9rem 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

/* ──────────────────────────────────────────────
   FOOTER (kept dark for contrast)
────────────────────────────────────────────── */
#footer {
  background: #1F1B14;
  color: #F7F1E3;
  border-top: 1px solid var(--border);
  padding: 3.25rem 0 1.5rem;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,241,227,0.55);
}

.footer-nav { display: flex; gap: 2rem; }
.footer-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,241,227,0.65);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--gold-lt); }

.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(247,241,227,0.18);
  color: rgba(247,241,227,0.7);
  transition: all var(--ease);
}
.footer-socials a svg { width: 17px; height: 17px; }
.footer-socials a:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(247,241,227,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(247,241,227,0.5);
  font-weight: 300;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-legal a {
  color: rgba(247,241,227,0.5);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold-lt); }
.footer-legal-sep { color: rgba(247,241,227,0.3); font-size: 0.72rem; }

/* ──────────────────────────────────────────────
   FADE-IN ANIMATIONS
────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s var(--ease-s), transform 0.45s var(--ease-s);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .svc-card { transition-delay: calc(var(--i, 0) * 0.04s); }
.services-grid .svc-card:nth-child(1) { --i: 1; }
.services-grid .svc-card:nth-child(2) { --i: 2; }
.services-grid .svc-card:nth-child(3) { --i: 3; }
.services-grid .svc-card:nth-child(4) { --i: 4; }
.services-grid .svc-card:nth-child(5) { --i: 5; }
.services-grid .svc-card:nth-child(6) { --i: 6; }

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .port-grid { grid-template-columns: 1fr; }
  .port-item.port-large { grid-row: span 1; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links,
  .nav-right .btn-gold { display: none; }
  .hamburger { display: flex; }

  #navbar { height: auto; }
  .nav-inner { height: var(--nav-h); padding: 0 1.25rem; }

  .hero-title { font-size: clamp(2rem, 9vw, 3.6rem); }

  /* Hero contact bar on small screens */
  .hero-stats { padding: 0.5rem 0; gap: 0; }
  .hstat { padding: 0.7rem 1rem; gap: 0.6rem; flex: 1 1 45%; min-width: 0; }
  .hstat-icon { width: 22px; height: 22px; }
  .hstat-num { font-size: 0.78rem; white-space: normal; }
  .hstat-label { font-size: 0.56rem; letter-spacing: 0.13em; }
  .hstat-area .hstat-num { font-size: 1.05rem; }
  .hstat-divider { display: none; }

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

  .ba-wrap { height: 290px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Project stats on mobile */
  .port-stats { gap: 1.2rem; padding: 1rem 1.25rem; }
  .ps-num { font-size: 1.6rem; }
  .ps-label { font-size: 0.6rem; letter-spacing: 0.14em; }

  /* Reviews on mobile */
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-summary { flex-wrap: wrap; justify-content: center; }
  .reviews-footer-link { font-size: 0.72rem; padding: 0.6rem 1.3rem; }

  /* Floating badge — smaller on mobile */
  .g-badge { left: 12px; bottom: 12px; padding: 0.45rem 0.75rem 0.45rem 0.5rem; }
  .g-badge-icon { width: 26px; height: 26px; }
  .g-badge-stars { font-size: 0.72rem; }
  .g-badge-meta { font-size: 0.64rem; }
}

@media (max-width: 560px) {
  section { padding: 4.5rem 0; }
  .hero-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { overflow-x: auto; justify-content: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 1rem; }
  .contact-form { padding: 1.5rem 1.25rem; }
}
