:root {
  --color-dark: #14140f;
  --color-dark-2: #1b1b15;
  --color-cream: #f7f5ef;
  --color-cream-2: #efece2;
  --color-green: #2f5233;
  --color-green-light: #3f7d3f;
  --color-accent: #5a9a4c;
  --color-gray-dark: #363530;
  --color-text: #2a2a24;
  --color-text-light: #6f6e64;
  --font-head: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

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

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 20, 15, 0.92);
  backdrop-filter: blur(6px);
  transition: background .3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}

.logo-text {
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 300;
}
.logo-text strong { font-weight: 700; }

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  color: #d9d7cc;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active { color: #fff; }

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,12,8,.88) 0%, rgba(10,12,8,.55) 45%, rgba(10,12,8,.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 78px;
  max-width: 640px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  margin-bottom: 18px;
  color: #ece9dd;
}
.hero-sub em { font-style: italic; color: var(--color-accent); font-weight: 500; }

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 22px;
}

.hero-text {
  font-size: 0.98rem;
  font-weight: 300;
  color: #d8d5c9;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-radius: 4px;
  transition: all .25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-green-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--color-dark);
  transform: translateY(-2px);
}

/* ---------- WHY WOODFRAME ---------- */
.why {
  position: relative;
  padding: 100px 0;
  background: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat fixed;
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,12,.90), rgba(15,20,12,.85));
}

.why .container { position: relative; z-index: 2; }

.section-title {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 60px;
  color: var(--color-text);
}
.section-title.light { color: #fff; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-card {
  text-align: center;
  color: #f1efe6;
}

.why-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  color: var(--color-accent);
}
.why-icon svg { width: 34px; height: 34px; }

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #cfccbf;
  max-width: 260px;
  margin: 0 auto;
}

/* ---------- FEATURE BLOCKS ---------- */
.feature-block { background: var(--color-cream); }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-image { order: 1; }

.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 8%;
}

.feature-text h2 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 18px;
}

.feature-divider {
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  max-width: 360px;
}

.feature-image { overflow: hidden; height: 100%; min-height: 420px; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-image:hover img { transform: scale(1.06); }

/* ---------- SERVICES ---------- */
.services {
  background: var(--color-gray-dark);
  padding: 90px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 60px;
  max-width: 780px;
  margin: 0 auto;
}

.services-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #eeece2;
  font-size: 1rem;
  font-weight: 400;
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------- PROJECTS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.project-card {
  position: relative;
  overflow: hidden;
  height: 340px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover img { transform: scale(1.08); }

.project-caption {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  padding: 18px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
  color: #fff;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.05rem;
}

/* ---------- CONTACT ---------- */
.contact { background: var(--color-cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.contact-info {
  padding: 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.contact-lead {
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e2ddcf;
}
.contact-item:last-child { border-bottom: 1px solid #e2ddcf; }

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-icon.whatsapp { background: #25D366; }

.contact-item strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
  transition: color .2s ease;
}
.contact-item:hover strong { color: var(--color-green-light); }

.contact-item small {
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 300;
}

.contact-image { overflow: hidden; height: 100%; min-height: 420px; }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-dark);
  color: #b9b7ac;
  padding: 24px 0;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  z-index: 90;
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: rgba(15,15,11,0.98);
    flex-direction: column;
    padding: 20px 24px 30px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: flex; }

  .why-grid { grid-template-columns: 1fr; gap: 50px; }

  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-image { order: 2; }
  .feature-image { min-height: 300px; }

  .services-grid { grid-template-columns: 1fr; max-width: 340px; }

  .projects-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-image { min-height: 320px; order: -1; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
}
