/* ============================================================
   SPACEFFECT CONSULTANTS — shared.css
   Used by all inner pages (about, services, portfolio, etc.)
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #FFFFFF;
  color: #1A1410;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── DYNAMIC CURSOR ── */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: none; }
  a, button, .btn-gold, .btn-outline-light, .btn-outline-dark, .btn-accent,
  .nav-toggler, .tog-btn, [data-lightbox], [data-filter],
  input, textarea, select, label { cursor: none; }

  .sf-cursor-dot, .sf-cursor-ring {
    position: fixed; top: 0; left: 0; pointer-events: none;
    z-index: 9999; border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform, width, height, background;
  }
  .sf-cursor-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, opacity 0.2s ease;
    mix-blend-mode: normal;
  }
  .sf-cursor-ring {
    width: 38px; height: 38px;
    border: 1.5px solid var(--gold);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease,
                background 0.25s ease, opacity 0.25s ease;
  }
  .sf-cursor-ring.is-hover {
    width: 64px; height: 64px;
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
  }
  .sf-cursor-dot.is-hover {
    width: 4px; height: 4px;
    background: var(--gold);
  }
  .sf-cursor-ring.is-down { width: 28px; height: 28px; border-color: var(--accent); }
}

/* ── CSS VARIABLES ── */
:root {
  --gold:         #C9A96E;
  --gold-dark:    #A8854A;
  --gold-light:   #E8D5B0;
  /* Brand blue (from logo) is now the structural accent paired with gold on white */
  --accent:       #1F4FA3;
  --accent-light: #DCE6F4;
  --ink:        #1A1410;
  --stone-50:   #FFFFFF;
  --stone-100:  #FAFAF8;
  --stone-200:  #ECE9E2;
  --stone-300:  #D4CEC4;
  --stone-400:  #B0A898;
  --stone-500:  #8C8274;
  --stone-600:  #6B6158;
  --stone-700:  #4A4239;
  --stone-800:  #2E2820;
  --stone-900:  #1A1410;
}

/* ── NAVBAR (filled — used on inner pages) ── */
.navbar-sf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
}
.navbar-sf.filled {
  background: rgba(250,250,248,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1A1410;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--gold); }

/* Hamburger / toggler */
.nav-toggler {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggler span {
  display: block; width: 24px; height: 2px;
  background: #1A1410; transition: all 0.3s;
}

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 999;
  background: #FAFAF8;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #1A1410;
  transition: color 0.3s;
}
.mobile-drawer a:hover,
.mobile-drawer a.active { color: var(--gold); }
.drawer-close {
  position: absolute; top: 24px; right: 28px;
  font-size: 2rem; cursor: pointer;
  background: none; border: none;
  color: #1A1410; line-height: 1;
}

/* ── PAGE HEADER (inner page hero) ── */
.page-header {
  position: relative;
  min-height: 420px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-top: 80px; /* clear fixed nav */
}
.page-header-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1800&q=80') center/cover no-repeat;
  opacity: 0.1;
}
.page-header-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(250,248,244,0.88) 60%, rgba(255,255,255,0.8) 100%);
}
.page-header-content {
  position: relative; z-index: 2;
  padding: 0 0 60px;
  width: 100%;
}
.page-header-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #1A1410;
  line-height: 1.1;
}
.page-header-content p {
  color: #6B6158;
  font-size: 1rem;
  max-width: 520px;
}

/* ── SECTION UTILITIES ── */
.section     { padding: 110px 0; }
.section-sm  { padding: 70px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 1.5px; background: var(--gold);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  color: #1A1410;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700; line-height: 1.2;
  color: #1A1410;
}
h4 { font-weight: 600; font-size: 1.05rem; color: #1A1410; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold); color: #fff;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: 2px; cursor: pointer;
  transition: all 0.3s;
}
.btn-gold:hover {
  background: var(--gold-dark); border-color: var(--gold-dark); color: #fff;
}
.btn-outline-light {
  display: inline-block;
  padding: 16px 40px;
  background: transparent; color: #fff;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 2px; cursor: pointer;
  transition: all 0.3s;
}
.btn-outline-light:hover { background: #fff; color: #1A1410; border-color: #fff; }
.btn-outline-dark {
  display: inline-block;
  padding: 16px 40px;
  background: transparent; color: #1A1410;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 2px solid #1A1410;
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-outline-dark:hover { background: #1A1410; color: #fff; }

/* ── ACCENT (terracotta) UTILITIES ── */
.accent-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent);
}
.accent-tag::before {
  content: ''; display: block;
  width: 22px; height: 1.5px; background: var(--accent);
}
.accent-dot {
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  flex-shrink: 0;
}


.stats-section {
  background: var(--stone-100);
  padding: 80px 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700; color: var(--gold);
}
.stat-num.accent { color: var(--accent); }
.stat-lbl {
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--stone-500);
  margin-top: 8px;
}

/* ── ACCENT BUTTON ── */
.btn-accent {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 2px solid var(--accent);
  border-radius: 2px; cursor: pointer;
  transition: all 0.3s;
}
.btn-accent:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }

/* ── ACCENT SECTION-LABEL VARIANT ── */
.section-label.accent { color: var(--accent); }
.section-label.accent::before { background: var(--accent); }

/* ── GOOGLE REVIEWS ── */
.gr-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 6px;
  padding: 28px 26px;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.gr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.08);
  border-color: var(--accent-light);
}
.gr-stars { color: #F4B400; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 14px; }
.gr-quote { color: var(--stone-700); font-size: 0.92rem; line-height: 1.75; flex-grow: 1; margin-bottom: 20px; }
.gr-author { display: flex; align-items: center; gap: 12px; }
.gr-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; font-weight: 700; font-family: 'Playfair Display', serif;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.gr-name { font-weight: 600; font-size: 0.9rem; color: #1A1410; }
.gr-meta { font-size: 0.72rem; color: var(--stone-500); }

.gr-summary {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.gr-summary .gr-score {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.gr-summary .gr-google {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--stone-600);
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
}
.stat-lbl {
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--stone-500);
  margin-top: 8px;
}

/* ── FOOTER ── */
.site-footer { background: #111008; padding: 80px 0 32px; }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 40px 0 28px; }
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: #fff; margin-bottom: 16px;
}
.footer-heading {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1rem; margin-bottom: 20px;
}
.footer-link {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--gold); }
.footer-social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
  margin-right: 8px;
}
.footer-social-btn:hover {
  border-color: var(--accent); background: var(--accent); color: #fff;
}
.footer-social-btn svg {
  width: 16px; height: 16px;
  fill: currentColor; stroke: none;
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 998;
  width: 58px; height: 58px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ── FORM STYLES ── */
.field-group { margin-bottom: 22px; }
.field-group label {
  display: block; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--stone-600);
  margin-bottom: 8px;
}
.field-group input,
.field-group textarea,
.field-group select {
  width: 100%; padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  border: 1.5px solid var(--stone-200);
  border-radius: 3px;
  background: var(--stone-50);
  transition: border-color 0.3s;
  outline: none;
  color: #1A1410;
}
.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus { border-color: var(--gold); }
.field-group textarea { resize: vertical; }
.toggle-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tog-btn {
  flex: 1; min-width: 100px; padding: 12px; text-align: center;
  border: 1.5px solid var(--stone-200); border-radius: 3px;
  cursor: pointer; font-size: 0.82rem; font-weight: 500;
  transition: all 0.3s; background: #fff; color: #1A1410;
  font-family: 'DM Sans', sans-serif;
}
.tog-btn.active { border-color: var(--gold); background: var(--gold); color: #fff; }
.field-group.has-err input,
.field-group.has-err textarea,
.field-group.has-err select { border-color: #c0392b; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .section { padding: 80px 0; }
}
@media (max-width: 575px) {
  .section { padding: 60px 0; }
  .page-header { min-height: 320px; }
  .page-header-content { padding: 0 0 40px; }
  .btn-gold, .btn-outline-light, .btn-outline-dark { padding: 14px 28px; }
}
