/* ════════════════════════════════════════════════════════════════════
   WILD WEST DRYWALL — site styles
   1. Reset & tokens   2. Base           3. Header/nav
   4. Hero             5. Sections/cards 6. Contact/form
   7. Footer           8. Responsive
   ════════════════════════════════════════════════════════════════════ */

/* 1. Reset & tokens */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --brown-dark: #2a1e10;
  --brown: #3b2a1a;
  --brown-mid: #5a4030;
  --gold: #e8c97a;
  --gold-bright: #f0d88a;
  --cream: #f0ece6;
  --paper: #fdf7ee;
  --ink: #222;
  --muted: #6b6258;
  --white: #fff;
  --shadow: 0 2px 18px rgba(42, 30, 16, .14);
  --radius: 10px;
}
html { scroll-behavior: smooth; }

/* 2. Base */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--cream);
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
img { max-width: 100%; display: block; }
a { color: var(--brown); }
a:hover { color: var(--brown-mid); }
h1, h2, h3 { line-height: 1.2; font-family: Georgia, 'Times New Roman', serif; }

/* 3. Header / nav */
.site-header {
  background: var(--brown-dark); position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--gold);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 52px; height: 52px; border-radius: 8px; }
.brand-name {
  font-family: Georgia, serif; font-size: 20px; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: 1px;
}
.brand-name em { font-style: normal; color: var(--white); }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: #ddd; text-decoration: none; font-size: 14.5px; font-weight: 600; letter-spacing: .4px; }
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-cta {
  background: var(--gold); color: var(--brown-dark); padding: 9px 18px;
  border-radius: 6px; font-weight: 700;
}
.site-nav .nav-cta:hover { background: var(--gold-bright); color: var(--brown-dark); }
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 26px; cursor: pointer; }

/* 4. Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(232, 201, 122, .18), transparent 60%),
    linear-gradient(160deg, var(--brown-dark) 0%, var(--brown) 70%, #241708 100%);
  color: var(--white); text-align: center; padding: 84px 22px 96px;
}
.hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.hero-photo { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 58%; z-index: 0;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(26, 17, 8, .74) 0%, rgba(26, 17, 8, .56) 45%, rgba(26, 17, 8, .86) 100%);
}
.hero-kicker {
  color: var(--gold); letter-spacing: 3px; text-transform: uppercase;
  font-size: 12.5px; font-weight: 700; margin-bottom: 18px;
}
.hero h1 {
  font-size: 56px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold); text-shadow: 0 2px 0 rgba(0, 0, 0, .3);
}
.hero-sub { font-size: 18px; color: #e8e2d8; margin: 18px auto 28px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-phone { margin-top: 26px; }
.hero-phone a { color: var(--gold); font-size: 22px; font-weight: 700; text-decoration: none; letter-spacing: 1px; }
.hero-phone a:hover { color: var(--gold-bright); }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 6px;
  font-weight: 700; font-size: 15px; letter-spacing: .6px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--brown-dark); }
.btn-gold:hover { background: var(--gold-bright); color: var(--brown-dark); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: rgba(232, 201, 122, .12); }
.btn-block { width: 100%; }

/* 5. Sections & cards */
.section { padding: 72px 0; }
.section-dark { background: var(--brown-dark); color: #eee; }
.section-kicker {
  color: var(--brown-mid); text-transform: uppercase; letter-spacing: 3px;
  font-size: 12px; font-weight: 700; text-align: center; margin-bottom: 8px;
}
.section-dark .section-kicker { color: var(--gold); }
.section-title { text-align: center; font-size: 34px; color: var(--brown); margin-bottom: 40px; }
.section-dark .section-title { color: var(--gold); }
.grid { display: grid; gap: 22px; }

.services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--white); border: 1px solid #e4dcd0; border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--gold);
}
.card-icon { font-size: 30px; margin-bottom: 10px; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.card h3 { color: var(--brown); font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Card photos — flush to the card's top edge, above the gold rule */
.card { overflow: hidden; }
.card-photo {
  width: calc(100% + 52px); margin: -26px -26px 18px;
  height: 200px; object-fit: cover; background: #e9e2d6;
  border-bottom: 3px solid var(--gold);
}

/* Work gallery */
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.shot {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(232, 201, 122, .22);
  border-radius: var(--radius); overflow: hidden;
}
.shot img { width: 100%; height: 215px; object-fit: cover; }
.shot figcaption { padding: 12px 15px; font-size: 13.5px; color: #cfc7ba; }

.why-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.why-item { background: rgba(255, 255, 255, .05); border: 1px solid rgba(232, 201, 122, .25); border-radius: var(--radius); padding: 22px; }
.why-item h3 { color: var(--gold); font-size: 18px; margin-bottom: 6px; }
.why-item p { color: #cfc7ba; font-size: 14.5px; }

/* 6. Service area + contact */
.area-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.area-wrap .section-title, .area-wrap .section-kicker { text-align: left; }
.area-wrap p { color: var(--muted); margin-bottom: 12px; }
.area-callout {
  background: var(--paper); border: 1px solid #e4dcd0; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); border-left: 6px solid var(--gold);
}
.area-callout-title { font-family: Georgia, serif; font-size: 21px; color: var(--brown); font-weight: 700; }

.contact-grid { grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-info h3 { color: var(--gold); font-size: 24px; margin-bottom: 14px; }
.contact-info p { color: #e4dcd0; margin-bottom: 8px; }
.contact-line a { color: var(--gold); text-decoration: none; font-weight: 600; }
.contact-line a:hover { color: var(--gold-bright); }
.contact-note { font-style: italic; color: #b7ae9f !important; margin-top: 16px; font-size: 14px; }

.quote-form {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.quote-form label { display: block; font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: var(--brown); margin: 14px 0 5px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 11px 12px; font-size: 15px; font-family: inherit;
  border: 1px solid #d8cfc0; border-radius: 6px; background: #fffdf8; color: var(--ink);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 201, 122, .35);
}
.quote-form .btn { margin-top: 18px; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* Honeypot: hidden from people, still present for bots. Deliberately not display:none —
   some bots skip hidden fields, so this is moved off-screen and shrunk instead. */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

/* 7. Footer */
.site-footer { background: #1d1409; color: #a99f8f; padding: 34px 0 18px; border-top: 3px solid var(--gold); }
.footer-row { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; border-radius: 6px; }
.footer-brand em { color: var(--gold); }
.footer-links a { color: #a99f8f; text-decoration: none; display: inline-block; margin-right: 16px; font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact a { color: #a99f8f; text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-legal { text-align: center; margin-top: 22px; font-size: 12.5px; color: #7d7464; }

/* 8. Responsive */
@media (max-width: 860px) {
  .area-wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--brown-dark); flex-direction: column; gap: 4px;
    padding: 12px 22px 20px; border-bottom: 3px solid var(--gold);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .card-photo, .card-icon { min-height: 180px; height: 180px; }
}
