/* ===== Log-home.repair – modern layout ===== */
:root {
  --brown-900: #2b1709;
  --brown-800: #442713;
  --brown-600: #6e462d;
  --brown-400: #be7a4e;
  --amber: #ffae00;
  --amber-dark: #e09600;
  --cream: #f7edd2;
  --sand: #ecd69a;
  --paper: #fbf6ea;
  --text: #3a2414;
  --muted: #7a6150;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(68, 39, 19, .12);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font: 400 17px/1.7 Roboto, Tahoma, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-400); }
a:hover { color: var(--amber-dark); }
h1, h2, h3 { font-family: "Roboto Slab", Georgia, serif; color: var(--brown-800); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.fa { color: var(--amber); }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85em; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 Roboto, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95em 1.6em; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-call { background: var(--amber); color: var(--brown-900); box-shadow: 0 6px 18px rgba(255, 174, 0, .35); }
.btn-call .fa { color: var(--brown-900); }
.btn-call:hover { background: #ffbf2e; color: var(--brown-900); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--brown-800); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(43, 23, 9, .96); backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); width: min(1400px, 100% - 40px); }
.brand {
  font: 700 1.65rem/1 "Roboto Slab", serif; color: var(--amber); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--cream); }
.brand:hover { color: var(--amber); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--cream); text-decoration: none; font-size: 1.08rem; font-weight: 500;
  padding: .5em .75em; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.header-call { padding: .65em 1.1em; font-size: 1.05rem; white-space: nowrap; }
.nav-toggle, .nav-burger { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(100deg, rgba(43,23,9,.94) 0%, rgba(43,23,9,.8) 45%, rgba(43,23,9,.35) 100%),
    url("media/fullog.jpg") center 35% / cover no-repeat;
  padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px);
}
.hero-inner { max-width: 1180px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 14em; }
.eyebrow { margin: 0 0 1em; }
.eyebrow a {
  display: inline-block; color: var(--amber); text-decoration: none; font-style: italic;
  border: 1px solid rgba(255,174,0,.5); border-radius: 999px; padding: .3em .9em; font-size: .9rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 40em; color: #f3e8d6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: #f3e8d6; font-size: .98rem; }
.hero-points .fa { margin-right: .4em; }

/* ---- Sections ---- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--brown-900); color: #eadfcd; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-title.center { margin-bottom: 1.2em; }
.section-dark .section-title, .section-dark h2 { color: #fff; }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }

/* Services */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.service-list li {
  display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px;
  padding: 12px 16px; box-shadow: 0 2px 8px rgba(68,39,19,.07); font-weight: 500;
}
.service-list .fa { width: 34px; height: 34px; border-radius: 50%; background: var(--brown-800); display: grid; place-items: center; flex: none; }

.states { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.states h3 { font-size: 1.3rem; }
.state-list { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.state-list li { background: var(--cream); border: 1px solid #e6d3a7; border-radius: 999px; padding: .35em 1em; font-size: .95rem; }
.state-list strong { color: var(--brown-800); margin-right: .2em; }

/* Features */
.feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.feature:last-child { margin-bottom: 0; }
.feature img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature.reverse img { order: 2; }

/* Gallery */
.gal-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.gal-tab {
  text-decoration: none; color: var(--brown-800); background: var(--cream); border: 1px solid #e6d3a7;
  padding: .55em 1.15em; border-radius: 999px; font-weight: 500;
}
.gal-tab:hover { color: var(--brown-800); border-color: var(--amber); }
.gal-tab.active { background: var(--brown-800); color: #fff; border-color: var(--brown-800); }
.gal-panel { display: none; }
.gal-panel.active { display: block; }
.gal-panel h3 { text-align: center; }
.gal-panel .count { font: 400 .85rem Roboto, sans-serif; color: var(--muted); margin-left: .4em; }
.gal-desc { text-align: center; color: var(--muted); max-width: 46em; margin: 0 auto 1.4em; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gal-item { display: block; border-radius: 10px; overflow: hidden; background: var(--brown-800); aspect-ratio: 4 / 3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .35s; }
.gal-item:hover img { transform: scale(1.06); opacity: .9; }
@media (scripting: none) { .gal-panel { display: block; margin-bottom: 40px; } }

/* Process */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 40px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 8px 64px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brown-800); color: var(--amber); font: 700 1.1rem/42px "Roboto Slab", serif; text-align: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 4px; width: 2px; background: #e2cc98; }
.highlight { border-left: 6px solid var(--amber); }
.highlight h3 { font-size: 1.4rem; }
.highlight p { margin: 0; }

/* Article */
.article { margin-bottom: 48px; }
.article::after { content: ""; display: table; clear: both; }
.article h3 { font-size: 1.55rem; padding-bottom: .35em; border-bottom: 2px dashed #d9c08a; }
.article .float { float: left; margin: 6px 24px 12px 0; border-radius: 10px; box-shadow: var(--shadow); }
.callout { background: #fff4d6; border-left: 5px solid var(--amber); padding: 14px 18px; border-radius: 8px; }
.callout .fa { color: var(--amber-dark); margin-right: .3em; }

/* Contacts & quote */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.logo-link img { border-radius: var(--radius); margin: 8px 0 26px; width: 100%; max-width: 440px; }
.contact-list { margin: 0 0 20px; }
.contact-list dt { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: #b8a58f; }
.contact-list dd { margin: 0 0 16px; }
.big-link { color: #fff; font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.big-link:hover { color: var(--amber); }
.note { color: #cbbba6; font-style: italic; }
.note a { color: var(--amber); }

.quote-box { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.quote-box .section-title { color: var(--brown-800); }
.quote-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.quote-form legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.quote-form label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.quote-form > label, .quote-form > .row-2 > label { font-weight: 700; color: var(--text); font-size: .95rem; }
.quote-form input, .quote-form textarea {
  display: block; width: 100%; margin-top: 4px; padding: .7em .85em; font: inherit; font-size: 1rem; color: var(--text);
  border: 1px solid #d8c6b4; border-radius: 8px; background: #fffdf8; transition: border-color .15s, box-shadow .15s;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,174,0,.25); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.req { color: #c0392b; }

/* News */
.fb-wrap { max-width: 500px; margin: 0 auto; }
.fb-page, .fb-page span, .fb-page iframe { max-width: 100% !important; }

/* Footer */
.site-footer { background: #1d0f05; color: #b8a58f; padding: 36px 0; font-size: .95rem; }
.site-footer a { color: var(--amber); text-decoration: none; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer strong { color: #fff; }

/* Floating */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brown-800); display: grid; place-items: center; box-shadow: var(--shadow); text-decoration: none;
}
.to-top .fa { font-size: 1.2rem; }
.mobile-call { display: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 10, 3, .94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb-img { max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-btn:hover { background: var(--amber); color: var(--brown-900); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #cbbba6; font-size: .9rem; }

/* ---- Responsive ---- */
@media (max-width: 1380px) {
  .header-call { display: none; }
}
@media (max-width: 1150px) {
  :root { --header-h: 62px; }
  .nav-burger { display: block; margin-left: auto; width: 44px; height: 44px; cursor: pointer; position: relative; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--cream); content: ""; transition: .2s;
  }
  .nav-burger span { top: 21px; }
  .nav-burger span::before { left: 0; top: -7px; }
  .nav-burger span::after { left: 0; top: 7px; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { top: 0; transform: rotate(-45deg); }
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column;
    background: var(--brown-900); padding: 8px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.3);
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: .8em .5em; border-bottom: 1px solid rgba(255,255,255,.06); }
}
@media (max-width: 900px) {
  .split, .feature, .contact-grid { grid-template-columns: 1fr; }
  .feature.reverse img { order: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .row-2 { grid-template-columns: 1fr; }
  .article .float { float: none; margin: 0 0 16px; width: 100%; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-actions .btn { width: 100%; }
  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: .5em;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; height: 56px;
    background: var(--amber); color: var(--brown-900); font-weight: 700; text-decoration: none; font-size: 1.1rem;
  }
  .mobile-call .fa { color: var(--brown-900); }
  .to-top { bottom: 72px; }
  .lb-img { max-width: 100vw; max-height: 80vh; border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
