/* ============================================
   XABA'S CABINETRY — SHARED STYLESHEET
   Direction 03 · Calm Amber
   ============================================ */

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

:root {
  --stone:       #f2f0ed;
  --stone-mid:   #e8e4de;
  --stone-dark:  #d8d4ce;
  --stone-deep:  #c8c4be;
  --concrete:    #d0ccc6;
  --ink:         #1a1916;
  --ink-mid:     #2a2520;
  --ink-light:   #3a3835;
  --charcoal:    #242220;
  --ash:         #888480;
  --ash-light:   #aaa69e;
  --mist:        #5a5855;
  --amber:       #b07d4a;
  --amber-light: #c49a6a;
  --amber-dark:  #8a6035;
  --white:       #faf8f4;

  --nav-h: 64px;
  --max-w: 1320px;
  --section-pad: 5rem 2rem;
  --font: 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--stone);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* --- UTILITY --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ash); display: flex; align-items: center; gap: 12px;
}
.label::before { content: ''; display: block; width: 6px; height: 6px; background: var(--amber); opacity: 0.8; flex-shrink: 0; }
.label::after  { content: ''; flex: 1; height: 0.5px; background: var(--stone-dark); }
.section-label { padding: 14px 0; border-bottom: 0.5px solid var(--stone-dark); margin-bottom: 0; }

/* --- BUTTONS --- */
.btn {
  display: inline-block; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; padding: 12px 24px; transition: all 0.2s ease;
}
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: var(--amber-dark); }
.btn-outline { border: 0.5px solid var(--ink-light); color: var(--ash); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-outline-light { border: 0.5px solid rgba(255,255,255,0.2); color: var(--stone-dark); }
.btn-outline-light:hover { border-color: var(--amber-light); color: var(--amber-light); }
.btn-amber-outline { border: 0.5px solid var(--amber); color: var(--amber); }
.btn-amber-outline:hover { background: var(--amber); color: var(--white); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--stone); border-bottom: 1px solid var(--ink);
  height: var(--nav-h); display: flex; align-items: center;
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(26,25,22,0.08); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  width: 100%; display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--ink); font-weight: 300; text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links li a {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ash); padding: 8px 16px; border-left: 0.5px solid var(--stone-dark);
  display: block; transition: color 0.2s; font-weight: 300;
}
.nav-links li:first-child a { border-left: none; }
.nav-links li a:hover { color: var(--ink); }
.nav-links li a.active { color: var(--amber); }
.nav-cta {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--amber); color: var(--white) !important;
  padding: 9px 20px !important; border-left: none !important;
  margin-left: 14px; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber-dark) !important; color: var(--white) !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--ink); transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--ink);
  padding: 4rem 2rem 3rem;
  border-bottom: 0.5px solid var(--charcoal);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
}
.page-hero-eyebrow span {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--amber);
}
.page-hero-eyebrow::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--amber);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--white);
  font-weight: 200; letter-spacing: 1px; text-transform: uppercase;
  line-height: 1.15; margin-bottom: 1rem;
}
.page-hero p { font-size: 1rem; color: var(--mist); letter-spacing: 0.3px; max-width: 600px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  border-top: 1px solid var(--ink);
}
.footer-main {
  max-width: var(--max-w); margin: 0 auto; padding: 3rem 2rem 2rem;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand .footer-logo {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--white); font-weight: 300; display: block; margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 12px; color: var(--mist); line-height: 1.7;
  letter-spacing: 0.3px; margin-bottom: 1.25rem;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border: 0.5px solid var(--ink-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--ash); transition: all 0.2s; font-size: 14px;
}
.footer-social a:hover { border-color: var(--amber); color: var(--amber); }
.footer-col h4 {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--amber); font-weight: 400; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 12px; color: var(--ash); letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 0.75rem;
}
.footer-contact-item .fc-icon { color: var(--amber); font-size: 12px; margin-top: 1px; flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span {
  font-size: 12px; color: var(--ash); letter-spacing: 0.3px;
}
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 0.5px solid var(--charcoal);
  padding: 1rem 2rem;
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p {
  font-size: 11px; color: #3a3835; letter-spacing: 1px; text-transform: uppercase;
}
.footer-bottom a { color: #3a3835; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--amber); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 52px; height: 52px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  :root { --section-pad: 3rem 1.5rem; }

  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--stone); border-bottom: 1px solid var(--ink);
    flex-direction: column; padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    border-left: none; border-top: 0.5px solid var(--stone-dark);
    padding: 12px 2rem;
  }
  .nav-links li:first-child a { border-top: none; }
  .nav-cta { margin-left: 0 !important; }
  .nav-toggle { display: flex; }

  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
}
