/* Loam & Line Interiors — renovation / interior design demo
   Palette: warm putty/stone base, deep walnut brown accent, muted sage-clay secondary, near-black warm charcoal */

:root {
  --ink: #241d18;
  --text: #3a2f27;
  --muted: #8a7c6f;
  --accent: #5c4433;
  --accent-dark: #3e2c20;
  --accent-light: #a9906f;
  --stone: #ede7dd;
  --stone-deep: #e2d9c9;
  --sage: #a9a18c;
  --paper: #ffffff;
  --border: #e5ddd0;
  --shadow: 0 20px 50px -25px rgba(36, 29, 24, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
}

p { margin: 0 0 1em; color: var(--muted); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9em;
}
.section-eyebrow--light { color: var(--accent-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--large { padding: 0.95em 2em; font-size: 1rem; }
.btn--full { width: 100%; }
.btn--whatsapp { background: #25D366; border-color: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1ebc59; border-color: #1ebc59; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.85rem;
}
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.site-header__nav { display: flex; gap: 2rem; }
.site-header__nav a { font-size: 0.92rem; font-weight: 500; color: var(--text); }
.site-header__nav a:hover { color: var(--accent); }
.site-header__contact { display: flex; align-items: center; gap: 1.2rem; }
.site-header__phone { font-weight: 600; font-size: 0.92rem; }
.site-header__phone:hover { color: var(--accent); }

/* Hero — Pattern F: split-diagonal / angled divide */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 620px;
  background: var(--stone);
  overflow: hidden;
}
.hero__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(1.5rem, 5vw, 5rem) 4rem clamp(1.5rem, 6vw, 6rem);
}
.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1em;
}
.hero__text h1 {
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  max-width: 19ch;
  margin-bottom: 0.5em;
}
.hero__sub { font-size: 1.02rem; max-width: 40ch; margin-bottom: 1.6em; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__badges { display: flex; flex-direction: column; gap: 0.5rem; }
.hero__badges span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}
.hero__badges span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__media {
  position: relative;
  height: 100%;
  min-height: 420px;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(36, 29, 24, 0.18) 0%, transparent 40%);
}

/* Trust strip */
.trust-strip { background: var(--ink); padding: 1.6rem 1.5rem; }
.trust-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item { display: flex; align-items: center; gap: 0.7rem; color: var(--stone); font-size: 0.86rem; font-weight: 500; }
.trust-item svg { color: var(--accent-light); flex-shrink: 0; }

/* Projects / gallery */
.projects { padding: 6rem 1.5rem; background: var(--paper); }
.projects__inner { max-width: 1200px; margin: 0 auto; }
.projects__head { max-width: 60ch; margin-bottom: 2.5rem; }
.projects__head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }

.filter-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 0.6em 1.3em;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.project-card img { width: 100%; height: 220px; object-fit: cover; }
.project-card__body { padding: 1.3rem 1.4rem; }
.project-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--stone);
  padding: 0.25em 0.7em;
  border-radius: 999px;
  margin-bottom: 0.7em;
}
.project-card h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.project-card p { font-size: 0.88rem; margin: 0; }
.project-card.is-hidden { display: none; }
.projects__note { font-size: 0.82rem; font-style: italic; color: var(--muted); text-align: center; margin-top: 2rem; }

/* Process */
.process { background: var(--ink); padding: 6rem 1.5rem; }
.process__inner { max-width: 1200px; margin: 0 auto; }
.process__head { max-width: 55ch; margin: 0 auto 3rem; text-align: center; }
.process__head h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.process__head p { color: var(--stone); }
.process__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.process-step { border-top: 2px solid var(--accent-light); padding-top: 1.2rem; }
.process-step__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.process-step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.5em; }
.process-step p { color: var(--stone); font-size: 0.86rem; }

/* Visual story */
.visual-story { padding: 6rem 1.5rem; background: var(--stone); }
.visual-story__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.visual-story__media { position: relative; }
.visual-story__image--main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.visual-story__image--secondary {
  position: absolute;
  width: 50%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  bottom: -2rem;
  right: -2rem;
  border: 6px solid var(--paper);
  box-shadow: 0 15px 35px -15px rgba(36, 20, 23, 0.4);
}
.visual-story__copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.visual-story__list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.visual-story__list li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
}
.visual-story__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Quote / lead form */
.quote { background: var(--paper); padding: 6rem 1.5rem; }
.quote__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.quote__copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.quote__list { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.quote__list li { display: flex; align-items: center; gap: 0.7rem; color: var(--text); font-size: 0.93rem; }
.quote__list svg { color: var(--accent); flex-shrink: 0; }

.quote-form {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4em; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 0.65em 0.85em;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.92rem;
  background: var(--paper);
  color: var(--text);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: 2px solid var(--accent-light);
  outline-offset: 1px;
}
.quote-form__note { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 0; }

/* Reviews */
.reviews { padding: 6rem 1.5rem; background: var(--ink); text-align: center; }
.reviews__inner { max-width: 1100px; margin: 0 auto; }
.reviews h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.reviews__disclaimer { font-size: 0.8rem; font-style: italic; color: var(--stone); margin-bottom: 2.5rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; }
.review-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 0;
  position: relative;
}
.review-card__stars { color: #c99a4b; font-size: 0.9rem; margin-bottom: 0.6em; letter-spacing: 0.08em; }
.review-card p { font-size: 0.92rem; color: var(--text); margin-bottom: 1em; }
.review-card cite { font-style: normal; font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.review-card__tag {
  display: inline-block;
  margin-top: 0.8em;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--stone);
  padding: 0.25em 0.7em;
  border-radius: 999px;
}

/* Area / map */
.area { padding: 6rem 1.5rem; background: var(--paper); }
.area__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.area__details h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.area__regions { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.4rem 0; }
.area__regions li {
  display: flex;
  justify-content: space-between;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.area__regions li span { color: var(--muted); font-weight: 400; }
.area__hours { font-size: 0.9rem; }
.area__map { height: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: var(--ink); padding: 4rem 1.5rem 1.5rem; }
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; }
.site-footer p, .site-footer a { color: var(--stone-deep); font-size: 0.88rem; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.site-footer__copyright { max-width: 1200px; margin: 1.5rem auto 0; font-size: 0.78rem; color: #a89a86; text-align: center; }

/* Sticky WhatsApp (desktop) */
.sticky-whatsapp {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 60;
  background: #25D366;
  color: #fff;
  padding: 0.8em 1.2em;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,0.4);
}

/* Mobile tab bar */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
}
.mobile-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
}
.mobile-tabbar a:last-child { color: #25D366; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero__media { clip-path: none; height: 300px; min-height: 0; flex-shrink: 0; order: -1; }
  .hero__text { padding: 3rem 1.5rem; }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .visual-story__inner { grid-template-columns: 1fr; }
  .visual-story__image--secondary { right: 1rem; }
  .quote__inner { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .area__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .site-header__nav { display: none; }
  .site-header__phone { display: none; }
  .hero__media { height: 190px; min-height: 0; flex-shrink: 0; }
  .hero__text { padding: 1.5rem 1.5rem 2.5rem; }
  .hero__eyebrow { margin-bottom: 0.6em; }
  .hero__text h1 { max-width: 100%; font-size: clamp(1.7rem, 7vw, 2.1rem); margin-bottom: 0.4em; }
  .hero__sub { font-size: 0.92rem; margin-bottom: 1.1em; }
  .hero__actions { flex-direction: column; margin-bottom: 1.2rem; }
  .hero__actions .btn { width: 100%; }
  .hero__badges { display: none; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.3rem; }
  .projects__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr 1fr; }
  .quote-form__row { grid-template-columns: 1fr; }
  .visual-story__image--main { height: 280px; }
  .visual-story__image--secondary { height: 140px; bottom: -1.5rem; }
  .sticky-whatsapp { display: none; }
  .mobile-tabbar { display: grid; }
  body { padding-bottom: 4.2rem; }
}
