/* ============================================================
   OAKWOOD BUILDERS — Demo styles
   Fictional business demo by Sitefolk
   ============================================================ */

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

:root {
  --stone: #2C2416;
  --stone2: #3d3020;
  --amber: #C4862A;
  --amber-light: #D9973E;
  --cream: #FAF7F2;
  --cream2: #F2EDE4;
  --border: #E0D8CC;
  --muted: #7a7060;
  --font-body: 'Inter', sans-serif;
  --font-head: 'Playfair Display', serif;
  --max: 1140px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--stone); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.ob-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .ob-container { padding: 0 40px; } }

/* ── Header ── */
.ob-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.ob-header.scrolled { box-shadow: 0 2px 24px rgba(44,36,22,.08); }
.ob-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.ob-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-head);
}
.ob-logo__name { font-size: 19px; font-weight: 700; color: var(--stone); letter-spacing: -.01em; }
.ob-logo__sub { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }

.ob-nav { display: none; }
@media (min-width: 960px) {
  .ob-nav { display: flex; gap: 32px; list-style: none; font-size: 14px; font-weight: 500; color: var(--muted); }
  .ob-nav a { transition: color .2s; }
  .ob-nav a:hover { color: var(--stone); }
}

.ob-header__actions { display: flex; align-items: center; gap: 12px; }
.ob-header__phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--stone);
}
.ob-header__phone svg { width: 15px; height: 15px; }
@media (min-width: 640px) { .ob-header__phone { display: flex; } }

/* buttons */
.ob-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.ob-btn:active { transform: scale(.98); }
.ob-btn--amber { background: var(--amber); color: #fff; }
.ob-btn--amber:hover { background: var(--amber-light); }
.ob-btn--dark { background: var(--stone); color: #fff; }
.ob-btn--dark:hover { background: var(--stone2); }
.ob-btn--outline { background: transparent; color: var(--stone); border: 1.5px solid var(--stone); }
.ob-btn--outline:hover { background: var(--stone); color: #fff; }
.ob-btn--outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.ob-btn--outline-white:hover { background: rgba(255,255,255,.1); }
.ob-btn--lg { font-size: 15px; padding: 14px 30px; border-radius: 10px; }

.ob-hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.ob-hamburger span { display: block; width: 24px; height: 2px; background: var(--stone); border-radius: 2px; transition: all .3s; }
@media (min-width: 960px) { .ob-hamburger { display: none; } }

/* mobile menu */
.ob-mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; background: var(--cream); flex-direction: column; padding: 24px; }
.ob-mobile-menu.open { display: flex; }
.ob-mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.ob-mobile-menu__close { background: none; border: none; cursor: pointer; }
.ob-mobile-menu__links { display: flex; flex-direction: column; gap: 28px; }
.ob-mobile-menu__links a { font-size: 26px; font-weight: 700; font-family: var(--font-head); color: var(--stone); }
.ob-mobile-menu__cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* ── Hero ── */
.ob-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ob-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
}
.ob-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,36,22,.92) 20%, rgba(44,36,22,.45) 60%, rgba(44,36,22,.2) 100%); }
.ob-hero__content { position: relative; z-index: 2; padding: 80px 0; color: #fff; max-width: 680px; }
@media (min-width: 768px) { .ob-hero { min-height: 750px; } .ob-hero__content { padding: 100px 0; } }

.ob-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(196,134,42,.2);
  border: 1px solid rgba(196,134,42,.5);
  color: #E8C07A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.ob-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.ob-hero__sub { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.7); max-width: 520px; margin-bottom: 36px; }
.ob-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.ob-hero__trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: rgba(255,255,255,.5); }
.ob-hero__trust span { display: flex; align-items: center; gap: 6px; }
.ob-hero__trust svg { color: var(--amber-light); }

/* ── Sections ── */
.ob-section { padding: 88px 0; }
.ob-section--dark { background: var(--stone); color: #fff; }
.ob-section--cream2 { background: var(--cream2); }
.ob-section__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.ob-section--dark .ob-section__label { color: #E8C07A; }
.ob-section__title { font-family: var(--font-head); font-size: clamp(30px, 4vw, 50px); font-weight: 700; color: var(--stone); margin-bottom: 16px; line-height: 1.1; letter-spacing: -.02em; }
.ob-section--dark .ob-section__title { color: #fff; }
.ob-section__sub { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 520px; }
.ob-section--dark .ob-section__sub { color: rgba(255,255,255,.55); }
.ob-section__head { text-align: center; margin-bottom: 56px; }
.ob-section__head .ob-section__sub { margin: 0 auto; }

/* ── Services ── */
.ob-services-grid { display: grid; grid-template-columns: 1fr; gap: 2px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
@media (min-width: 640px) { .ob-services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ob-services-grid { grid-template-columns: 1fr 1fr 1fr; } }

.ob-service-item {
  background: var(--cream);
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .25s;
}
.ob-section--cream2 .ob-service-item { background: #fff; }
.ob-service-item:hover { background: #fff; }
.ob-section--cream2 .ob-service-item:hover { background: var(--cream); }
.ob-service-item__num { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--amber); margin-bottom: 16px; }
.ob-service-item h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--stone); margin-bottom: 10px; }
.ob-service-item p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── Gallery ── */
.ob-gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
@media (min-width: 768px) { .ob-gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; } }
.ob-gallery__item { overflow: hidden; border-radius: 12px; }
.ob-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ob-gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 768px) { .ob-gallery__item:first-child { grid-row: 1 / 3; } }
.ob-gallery__item { aspect-ratio: 4/3; }
@media (min-width: 768px) { .ob-gallery__item { aspect-ratio: unset; } }

/* ── About / Why us ── */
.ob-about-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
@media (min-width: 900px) { .ob-about-grid { grid-template-columns: 1fr 1fr; } }
.ob-about__img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 16px; }
.ob-about__points { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.ob-about__point { display: flex; gap: 16px; align-items: flex-start; }
.ob-about__point-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(196,134,42,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ob-about__point-icon svg { width: 18px; height: 18px; color: var(--amber); }
.ob-about__point h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--stone); margin-bottom: 4px; }
.ob-about__point p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── Process ── */
.ob-process { display: flex; flex-direction: column; gap: 0; position: relative; }
.ob-process::before { content: ''; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 1px; background: var(--border); }
@media (min-width: 640px) { .ob-process { flex-direction: row; gap: 0; } .ob-process::before { display: none; } }
.ob-process-step { display: flex; gap: 20px; align-items: flex-start; flex: 1; padding: 0 0 40px 0; position: relative; z-index: 1; }
@media (min-width: 640px) { .ob-process-step { flex-direction: column; padding: 0 24px 0 0; align-items: flex-start; gap: 16px; } }
.ob-process-step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ob-process-step h4 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--stone); margin-bottom: 6px; }
.ob-process-step p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── Reviews ── */
.ob-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .ob-reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ob-reviews-grid { grid-template-columns: 1fr 1fr 1fr; } }
.ob-review { background: var(--cream); border: 1px solid var(--border); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ob-section--dark .ob-review { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.ob-stars { display: flex; gap: 3px; }
.ob-stars svg { width: 15px; height: 15px; fill: var(--amber-light); }
.ob-review__text { font-size: 15px; line-height: 1.7; color: var(--stone); flex-grow: 1; }
.ob-section--dark .ob-review__text { color: rgba(255,255,255,.8); }
.ob-review__name { font-weight: 700; font-size: 14px; color: var(--stone); }
.ob-section--dark .ob-review__name { color: #fff; }
.ob-review__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.ob-section--dark .ob-review__meta { color: rgba(255,255,255,.4); }

/* ── Areas ── */
.ob-areas { padding: 72px 0; background: var(--cream2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ob-areas__tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.ob-areas__tag { background: var(--cream); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--stone); padding: 8px 18px; border-radius: 999px; transition: border-color .2s, background .2s; }
.ob-areas__tag:hover { border-color: var(--amber); background: rgba(196,134,42,.06); }

/* ── CTA ── */
.ob-cta { background: var(--stone); padding: 100px 0; text-align: center; }
.ob-cta h2 { font-family: var(--font-head); font-size: clamp(34px, 5vw, 58px); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 16px; letter-spacing: -.02em; }
.ob-cta p { font-size: 17px; color: rgba(255,255,255,.55); max-width: 440px; margin: 0 auto 40px; line-height: 1.65; }
.ob-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Contact ── */
.ob-contact { padding: 88px 0; background: var(--cream); }
.ob-contact-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: start; }
@media (min-width: 960px) { .ob-contact-grid { grid-template-columns: 1fr 1fr; } }
.ob-form { display: flex; flex-direction: column; gap: 16px; }
.ob-form label { font-size: 13px; font-weight: 600; color: var(--stone); margin-bottom: 4px; display: block; }
.ob-form input, .ob-form select, .ob-form textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--stone);
  background: #fff; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.ob-form input:focus, .ob-form select:focus, .ob-form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(196,134,42,.12); }
.ob-form textarea { resize: vertical; min-height: 120px; }
.ob-contact-info { display: flex; flex-direction: column; gap: 24px; }
.ob-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ob-contact-item__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(196,134,42,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ob-contact-item__icon svg { width: 20px; height: 20px; color: var(--amber); }
.ob-contact-item__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ob-contact-item__val { font-size: 17px; font-weight: 600; color: var(--stone); }

/* ── Footer ── */
.ob-footer { background: #1a1207; color: rgba(255,255,255,.45); padding: 56px 0 32px; }
.ob-footer__inner { display: flex; flex-direction: column; gap: 40px; margin-bottom: 40px; }
@media (min-width: 768px) { .ob-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.ob-footer__logo { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ob-footer__logo span { color: var(--amber-light); }
.ob-footer p { font-size: 14px; line-height: 1.65; max-width: 260px; }
.ob-footer__links { display: flex; flex-direction: column; gap: 10px; }
.ob-footer__links a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .2s; }
.ob-footer__links a:hover { color: var(--amber-light); }
.ob-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: 13px; text-align: center; }
