/* ===== Elegant Flooring Services — stylesheet ===== */

:root {
  --dark: #3A2414;
  --brown-900: #4A2C1A;
  --brown-700: #6B4326;
  --brown-500: #8B5E3C;
  --brown-300: #C9A063;
  --brown-200: #C9B08A;
  --cream: #FAF7F2;
  --cream-dark: #F1E9DD;
  --white: #FFFFFF;
  --text: #4A3B2E;
  --text-light: #6B5C4C;
  --shadow: 0 10px 30px rgba(58, 36, 20, 0.12);
  --radius: 12px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--brown-900);
  margin: 0 0 16px;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-500);
  margin-bottom: 10px;
}

.section {
  padding: 80px 0;
}
.section--tight { padding: 56px 0; }
.section--dark {
  background: var(--brown-900);
  color: var(--cream-dark);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--alt { background: var(--cream-dark); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head p { color: var(--text-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--primary {
  background: var(--brown-900);
  color: var(--cream);
}
.btn--primary:hover { background: var(--brown-500); }
.btn--outline {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn--outline:hover { background: var(--cream); color: var(--brown-900); }
.btn--dark-outline {
  background: transparent;
  border-color: var(--brown-900);
  color: var(--brown-900);
}
.btn--dark-outline:hover { background: var(--brown-900); color: var(--cream); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(74, 44, 26, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brown-900);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--brown-500);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brown-500); }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  text-align: right;
}
.header-phone span { color: var(--text-light); font-size: 0.72rem; }
.header-phone strong { color: var(--brown-900); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--brown-900);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(30,18,10,0.82) 0%, rgba(30,18,10,0.55) 55%, rgba(30,18,10,0.35) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.hero-content .eyebrow { color: var(--brown-300); }
.hero-content h1 { color: var(--white); }
.hero-content .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--brown-300);
  margin-bottom: 18px;
}
.hero-content p.lead { font-size: 1.05rem; color: #EFE6D8; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }

.hero--page { min-height: 46vh; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.spec-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.spec-card:hover { transform: translateY(-6px); }
.spec-card img { height: 210px; object-fit: cover; width: 100%; }
.spec-card-body { padding: 22px 24px 26px; }
.spec-card-body .num { color: var(--brown-300); font-weight: 700; font-size: 0.8rem; }
.spec-card-body h3 { margin: 6px 0 10px; font-size: 1.15rem; }
.spec-card-body p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 14px; }
.spec-card-body a.learn {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-500);
  border-bottom: 1.5px solid var(--brown-500);
  padding-bottom: 2px;
}

/* ---------- Service detail (accordion cards) ---------- */
.svc {
  background: var(--white);
  border: 1px solid var(--brown-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
}
.svc-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}
.svc-top.reverse { direction: rtl; }
.svc-top.reverse > * { direction: ltr; }
.svc-img { overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; transition: transform 0.5s ease; }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-content {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-content .num { color: var(--brown-300); font-weight: 700; letter-spacing: 1px; font-size: 0.8rem; margin-bottom: 6px; }
.svc-content h3 { margin-bottom: 12px; }
.svc-content p { color: var(--text-light); }
.svc-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-500);
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--brown-500);
  padding: 0 0 3px;
  cursor: pointer;
  margin-top: 8px;
}
.svc-toggle .arrow { transition: transform 0.3s ease; }
.svc-toggle.open .arrow { transform: rotate(180deg); }

.svc-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
  background: var(--cream-dark);
  border-top: 1px solid var(--brown-200);
}
.svc-expand.open { max-height: 600px; }
.svc-expand-inner {
  padding: 30px 40px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.svc-points { list-style: none; margin: 0; padding: 0; }
.svc-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 0.95rem;
}
.svc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brown-500); margin-top: 7px; flex-shrink: 0; }
.svc-note strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--brown-900); margin-bottom: 6px; }
.svc-note p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Why choose / icon grid ---------- */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icon-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.icon-card .icon-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brown-900);
  color: var(--brown-300);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.icon-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--brown-900); }
.icon-card p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

.stats-row { display: flex; gap: 50px; margin-top: 26px; }
.stat b { font-family: var(--serif); font-size: 2.4rem; color: var(--brown-900); display: block; }
.stat span { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Process steps ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.process-step { text-align: center; position: relative; }
.process-step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--brown-300);
  color: var(--brown-300);
  font-family: var(--serif);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.process-step h4 { color: var(--white); margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { color: #D9C9B3; font-size: 0.88rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Quote / contact form ---------- */
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--brown-900);
  border-radius: var(--radius);
  overflow: hidden;
}
.quote-info { padding: 56px 48px; color: var(--cream-dark); }
.quote-info h2 { color: var(--white); }
.quote-info ul { list-style: none; padding: 0; margin: 24px 0 0; }
.quote-info li { margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.quote-form {
  background: var(--cream);
  padding: 48px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--brown-900); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--brown-200);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brown-500); }
.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 10px; }
.form-success {
  display: none;
  background: #2f5d3a;
  color: #fff;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.form-success.show { display: block; }

/* ---------- Contact page info cards ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-info-card .icon-circle {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--brown-900); color: var(--brown-300);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.3rem;
}
.contact-info-card a, .contact-info-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }
.contact-info-card h4 { margin-bottom: 8px; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 380px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- About page ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: center; }
.about-split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 460px; object-fit: cover; }
.about-split .stats-row { margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #2B1B0F; color: #C9BBA9; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid img { height: 48px; margin-bottom: 14px; }
.footer-grid h4 { color: var(--white); font-family: var(--sans); font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid li a:hover { color: var(--brown-300); }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.footer-social a:hover { background: var(--brown-500); border-color: var(--brown-500); }
.footer-social a svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8C7B69;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #8C7B69; }
.footer-bottom a:hover { color: var(--brown-300); }

/* ---------- WhatsApp float ---------- */
.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;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Breadcrumb strip ---------- */
.hero--page .hero-content { max-width: 700px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--3, .icon-grid, .gallery-grid, .process-row { grid-template-columns: repeat(2, 1fr); }
  .about-split, .quote-wrap { grid-template-columns: 1fr; }
  .about-split img { height: 320px; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-inner.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--cream);
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .grid--3, .grid--2, .icon-grid, .gallery-grid, .process-row, .footer-grid { grid-template-columns: 1fr; }
  .svc-top, .svc-top.reverse { grid-template-columns: 1fr; direction: ltr; }
  .svc-expand-inner { grid-template-columns: 1fr; padding: 24px 22px; }
  .svc-content { padding: 26px 22px; }
  .quote-info, .quote-form { padding: 34px 26px; }
  .stats-row { gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
}
