/* ==========================================================================
   CHIQ HOME DESIGN — stylesheet
   Palette: black #0D0D0D · gold #C9A96E · dark gray #1E1E1E · cream #F5F5F0
   ========================================================================== */

:root {
  --black: #0D0D0D;
  --gold: #C9A96E;
  --dark-gray: #1E1E1E;
  --cream: #F5F5F0;
  --white: #FFFFFF;
  --font-serif: 'Didot', 'Bodoni MT', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

p { margin: 0 0 16px; }

.lede {
  font-size: 1.1rem;
  color: #4a4a45;
  max-width: 640px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--black);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: transparent; color: var(--gold); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--black);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top promo bar ---------- */
.promo-bar {
  background: var(--black);
  color: var(--cream);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
}
.promo-bar strong { color: var(--gold); }
.promo-bar a { text-decoration: underline; color: var(--cream); margin-left: 6px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(13,13,13,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 34px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.main-nav a { position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--gold); border-bottom: 1px solid var(--gold); }

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
}
.header-contact a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2000;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--cream);
  overflow: hidden;
}
.hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 24px 90px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 { color: var(--white); }
.hero-content .lede { color: #e7e4dc; max-width: 640px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Inner page hero (smaller) */
.page-hero {
  background: var(--black);
  color: var(--cream);
  padding: 70px 24px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumb {
  font-size: 0.75rem;
  color: #b9b6ac;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark-gray); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-black { background: var(--black); color: var(--cream); }
.section-black h2, .section-black h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.align-left { margin: 0 0 44px; text-align: left; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat h3 { color: var(--gold); font-size: 2.4rem; margin-bottom: 6px; }
.stat p { font-size: 0.85rem; color: #d8d5cc; margin: 0; }
.stat .stat-label { font-family: var(--font-sans); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin-bottom: 4px; }

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(13,13,13,0.06);
}
.card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: #55534c; font-size: 0.95rem; margin-bottom: 0; }

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0) 40%, rgba(13,13,13,0.85) 100%);
  z-index: 1;
}
.service-card .service-card-label {
  position: relative; z-index: 2; padding: 24px;
}
.service-card h3 { color: var(--white); margin-bottom: 4px; }
.service-card span { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-item { position: relative; overflow: hidden; border-radius: var(--radius); }
.work-item img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.4s ease; }
.work-item:hover img { transform: scale(1.05); }
.work-caption { padding: 14px 4px; display: flex; justify-content: space-between; font-size: 0.9rem; }
.work-caption span:last-child { color: #8a8880; }

.work-item.placeholder {
  background: var(--dark-gray);
  color: var(--cream);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.work-item.placeholder .eyebrow { margin-bottom: 6px; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: 0 2px 18px rgba(13,13,13,0.06); }
.testimonial p { font-style: italic; color: #3a3934; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: #8a8880; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(245,245,240,0.15); padding: 18px 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .num { color: var(--gold); font-size: 0.9rem; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--gold); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 12px 0 0 40px; color: #cfccc3; }

/* ---------- CTA / quote form ---------- */
.cta-quote {
  position: relative;
  background: var(--black);
  color: var(--cream);
  overflow: hidden;
}
.cta-quote .cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-quote .cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-quote .container { position: relative; z-index: 1; }
.cta-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.cta-inner h2 { color: var(--white); }

.quote-form {
  background: var(--cream);
  color: var(--black);
  padding: 32px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.quote-form .full { grid-column: 1 / -1; }
.quote-form label { display: block; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; color: #4a4a45; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d5cc;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--black);
}
.quote-form textarea { min-height: 100px; resize: vertical; }
.quote-form button { width: 100%; }
.form-note { grid-column: 1/-1; font-size: 0.78rem; color: #8a8880; margin: 0; }
.form-success { display: none; grid-column: 1/-1; background: #e7f3e9; color: #24572f; padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; }

/* ---------- About page extras ---------- */
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-media img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }
.about-media img:nth-child(2) { margin-top: 40px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-info-list li { padding: 14px 0; border-bottom: 1px solid rgba(13,13,13,0.08); }
.contact-info-list .label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); margin-bottom: 4px; }
.map-embed { border: 0; width: 100%; height: 280px; border-radius: var(--radius); filter: grayscale(0.3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #cfccc3; padding-top: 60px; }
.footer-cta { text-align: center; padding-bottom: 56px; border-bottom: 1px solid rgba(245,245,240,0.1); margin-bottom: 40px; }
.footer-cta h2 { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-grid img.logo-img { height: 30px; margin-bottom: 14px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold); }
.social-row { display: flex; gap: 14px; margin-top: 16px; }
.social-row a { width: 34px; height: 34px; border: 1px solid rgba(245,245,240,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.social-row a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(245,245,240,0.1); padding: 20px 0; font-size: 0.78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
  z-index: 1500;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-3, .work-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .about-media { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav, .header-contact .hours { display: none; }
  .nav-toggle { display: block; }
  .stats-grid, .grid-3, .work-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .hero-content { padding: 80px 20px 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}

/* Mobile nav drawer */
.main-nav.open {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1999;
}
.main-nav.open ul {
  flex-direction: column;
  align-items: center;
  gap: 28px;
  font-size: 1.2rem;
  text-align: center;
}
