/* ===========================================================
   OXEN CONSTRUCTION — Site Styles
   Brand: charcoal/black structure, warm off-white, orange-gold accent
   =========================================================== */

:root {
  --bg: #faf7f1;
  --bg-alt: #f1ebdd;
  --ink: #17171a;
  --charcoal: #232327;
  --charcoal-2: #2f2f34;
  --accent: #e8a13d;
  --accent-dark: #c97f1e;
  --accent-light: #f6c877;
  --white: #ffffff;
  --line: #e4ddcc;
  --muted: #6b6a63;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(23, 23, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(23, 23, 26, 0.18);
  --max: 1180px;
  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: #3a3a3d; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--charcoal); color: #f3f1ea; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #cfcdc4; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  background: rgba(232, 161, 61, 0.12);
  border: 1px solid rgba(232, 161, 61, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--accent-light); background: rgba(232,161,61,0.15); border-color: rgba(232,161,61,0.4); }

.lede { font-size: 1.1rem; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1b1200;
  box-shadow: 0 6px 18px rgba(201, 127, 30, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(201, 127, 30, 0.45); }
.btn-dark {
  background: var(--charcoal);
  color: #fff;
}
.btn-dark:hover { background: #000; }
.btn-outline {
  background: transparent;
  border-color: currentColor;
}
.section-dark .btn-outline { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.98);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--charcoal); }
.brand-text span { color: var(--accent-dark); }

.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--accent); color: var(--accent-dark); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .phone { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .main-nav { position: fixed; inset: 69px 0 0 0; background: var(--bg); padding: 20px 24px; border-top: 1px solid var(--line); transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; z-index: 150; }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(232,161,61,0.28), transparent 55%),
              linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 96px 24px 88px; max-width: var(--max); margin: 0 auto; }
.hero h1 { color: #fff; max-width: 760px; }
.hero .lede { color: #d9d7cd; max-width: 560px; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }

.trust-strip { background: var(--ink); color: #efeee7; padding: 16px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: center; align-items: center; font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.trust-strip .dot { color: var(--accent); }

/* Grid helpers */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
}
.card .icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; }
.card a.card-link { color: var(--accent-dark); font-family: var(--font-head); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; display: inline-block; margin-top: 10px; }

.service-card { border-top: 4px solid var(--accent); }

/* Team */
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo.placeholder { color: var(--muted); font-family: var(--font-head); font-size: 0.85rem; text-align: center; padding: 20px; border: 2px dashed var(--line); }
.team-role { color: var(--accent-dark); font-family: var(--font-head); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 10px; }

/* Projects gallery */
.project-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.project-photo { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--bg-alt), #e9e2d0); display: flex; align-items: center; justify-content: center; color: var(--muted); font-family: var(--font-head); font-size: 0.8rem; text-align: center; padding: 16px; border-bottom: 1px dashed var(--line); }
.project-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 18px 20px; }
.project-tag { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-head); color: var(--accent-dark); background: rgba(232,161,61,0.14); padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }

/* Filters */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.filter-btn { font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.filter-btn.active, .filter-btn:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* Partners */
.partner-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; box-shadow: var(--shadow); }
.partner-card h3 a { color: inherit; }
.partner-card h3 a:hover { color: var(--accent-dark); }
.partner-kicker { font-family: var(--font-head); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-dark); margin-bottom: 10px; }
.disclaimer-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font-size: 0.92rem; color: var(--muted); margin-top: 30px; }

/* Testimonials */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stars { color: var(--accent-dark); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-head); font-size: 0.85rem; color: var(--charcoal); }

/* Contact / form */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
label { display: block; font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 16px 0 6px; color: var(--charcoal); }
label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.98rem; background: var(--bg);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .label { font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-dark); min-width: 130px; }

.emergency-banner {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #1b1200;
  padding: 14px 0;
  text-align: center;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}
.emergency-banner a { text-decoration: underline; }

/* Sticky mobile action bar */
.mobile-actions {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-actions a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: #fff; font-family: var(--font-head); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 8px 4px; border-radius: 8px;
}
.mobile-actions a.primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #1b1200; }
.mobile-actions svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .mobile-actions { display: flex; }
  body { padding-bottom: 68px; }
}

/* Chat bubble */
.chat-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 210;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(201,127,30,0.45);
  cursor: pointer; border: none;
}
.chat-bubble svg { width: 26px; height: 26px; color: #1b1200; }
@media (max-width: 720px) { .chat-bubble { bottom: 82px; right: 14px; width: 50px; height: 50px; } }

/* Footer */
.site-footer { background: var(--ink); color: #cfcdc4; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; }
.site-footer a { color: #b9b7ad; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid #2c2c2f; margin-top: 40px; padding-top: 22px; font-size: 0.82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #8f8d84; }
.social-row { display: flex; gap: 12px; margin-top: 10px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: #2c2c2f; display: flex; align-items: center; justify-content: center; padding: 0; }
.social-row a:hover { background: var(--accent-dark); }
.social-row svg { width: 18px; height: 18px; color: #fff; }

/* Page hero (interior pages) */
.page-hero { background: var(--charcoal); color: #fff; padding: 64px 0 56px; }
.page-hero h1, .page-hero h2, .page-hero h3 { color: #fff; }
.page-hero .lede { color: #d9d7cd; }
.breadcrumb { font-size: 0.8rem; color: #9c9a91; margin-bottom: 14px; font-family: var(--font-head); letter-spacing: 0.05em; text-transform: uppercase; }
.breadcrumb a { color: #cfcdc4; }

/* Misc */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.stat { }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--accent-dark); }
.stat span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

.placeholder-note {
  font-size: 0.78rem;
  color: #a3762c;
  background: #fff4e0;
  border: 1px dashed #e8a13d;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 10px;
}
