
:root {
  --ink: #1f1711;
  --brown: #68462f;
  --saddle: #8a5635;
  --rust: #a64f2e;
  --sand: #dbc4a1;
  --cream: #fff7ec;
  --paper: #ffffff;
  --muted: #6f6256;
  --line: #eadbc6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 7%;
  background: rgba(31, 23, 17, 0.96);
  color: var(--paper);
  border-bottom: 1px solid rgba(219, 196, 161, .35);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .3px;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--sand);
  border-radius: 50%;
  color: var(--sand);
  font-size: .9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .95rem;
}

.main-nav a, .dropdown button {
  color: var(--paper);
  text-decoration: none;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.dropdown { position: relative; }

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 28px;
  min-width: 210px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(31, 23, 17, .2);
  overflow: hidden;
}

.dropdown-content a {
  display: block;
  color: var(--ink);
  padding: 12px 16px;
}

.dropdown-content a:hover { background: var(--cream); }
.dropdown:hover .dropdown-content { display: block; }

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: 80px 7%;
  color: var(--paper);
  background:
    linear-gradient(rgba(31, 23, 17, .68), rgba(31, 23, 17, .82)),
    radial-gradient(circle at top left, rgba(166, 79, 46, .78), transparent 32%),
    linear-gradient(135deg, #281a10, #765033);
  position: relative;
  overflow: hidden;
}

.hero:after, .page-hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: repeating-linear-gradient(-8deg, rgba(255,255,255,.07), rgba(255,255,255,.07) 2px, transparent 2px, transparent 18px);
}

.hero-inner {
  max-width: 850px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: .76rem;
  font-weight: 700;
}

.hero .eyebrow, .page-hero .eyebrow { color: var(--sand); }

h1 {
  margin: 0 0 22px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -2px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

h3 { margin: 0 0 12px; font-size: 1.35rem; }

.hero-text, .page-hero p:last-child {
  max-width: 700px;
  font-size: 1.22rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 13px 23px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn.primary {
  background: var(--sand);
  color: var(--ink);
}

.btn.secondary {
  border: 2px solid var(--sand);
  color: var(--paper);
}

.trust-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
  margin: -58px auto 30px;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(31, 23, 17, .18);
  overflow: hidden;
}

.trust-bar div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-bar div:last-child { border-right: none; }
.trust-bar strong, .trust-bar span { display: block; }
.trust-bar strong { color: var(--brown); font-size: 1.15rem; }

.section {
  padding: 82px 7%;
  max-width: 1240px;
  margin: auto;
}

.alt {
  max-width: none;
  background:
    linear-gradient(rgba(255,247,236,.92), rgba(255,247,236,.92)),
    repeating-linear-gradient(45deg, rgba(104,70,47,.08), rgba(104,70,47,.08) 2px, transparent 2px, transparent 18px);
}

.center { text-align: center; }

.intro-grid, .split-callout, .service-layout, .contact-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: center;
}

.promise-card, .quote-panel, .sidebar-card, .contact-card, .area-list, .quote-form, .card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(31, 23, 17, .08);
}

.promise-card, .quote-panel {
  background: var(--ink);
  color: var(--paper);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promise-card p, .quote-panel p {
  color: var(--sand);
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }

.card {
  color: var(--ink);
  text-decoration: none;
  border-top: 5px solid var(--brown);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(31, 23, 17, .14);
}

.split-callout {
  background: var(--paper);
  border-radius: 24px;
  margin-top: 70px;
  margin-bottom: 70px;
  border: 1px solid var(--line);
}

.area-list ul, .check-list {
  padding-left: 0;
  list-style: none;
}

.area-list li, .check-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.area-list li:before, .check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
}

.cta {
  text-align: center;
  padding: 90px 7%;
  background: var(--ink);
  color: var(--paper);
}

.cta p { color: var(--sand); max-width: 640px; margin: 0 auto 28px; }

.page-hero {
  position: relative;
  padding: 100px 7%;
  color: var(--paper);
  background:
    linear-gradient(rgba(31,23,17,.72), rgba(31,23,17,.84)),
    linear-gradient(135deg, #2a1b11, #7b5233);
  overflow: hidden;
}

.quote-wrapper {
  max-width: 820px;
}

.quote-form {
  display: grid;
  gap: 18px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input, select, textarea, button {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d8c3a5;
  border-radius: 10px;
  font: inherit;
}

textarea { min-height: 130px; }

button {
  background: var(--brown);
  color: var(--paper);
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.form-note {
  font-size: .9rem;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 45px 7%;
  background: var(--ink);
  color: var(--sand);
}

.site-footer a { color: var(--sand); }

.legal {
  grid-column: 1 / -1;
  font-size: .85rem;
  opacity: .82;
  border-top: 1px solid rgba(219,196,161,.2);
  padding-top: 20px;
}

@media (max-width: 980px) {
  .site-header, .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    gap: 12px;
  }
  .trust-bar, .intro-grid, .split-callout, .service-layout, .contact-grid, .cards, .cards.three, .site-footer {
    grid-template-columns: 1fr;
  }
  .trust-bar {
    margin: -36px 7% 20px;
  }
  .trust-bar div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* OIG Texas brand header */
.site-header {
  justify-content: flex-start;
  gap: clamp(18px, 4vw, 56px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo { flex: 0 0 auto; }
.logo img {
  display: block;
  width: clamp(92px, 12vw, 145px);
  height: auto;
}

.main-nav {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(12px, 2.2vw, 30px);
  white-space: nowrap;
}

.main-nav > a,
.dropdown > button {
  padding: 10px 0;
}

.main-nav > a:hover,
.dropdown > button:hover {
  color: var(--sand);
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    padding: 10px 18px;
    gap: 18px;
    scrollbar-width: none;
  }
  .site-header::-webkit-scrollbar { display: none; }
  .logo img { width: 98px; }
  .main-nav {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    font-size: .9rem;
    min-width: max-content;
  }
  .dropdown-content {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 88px;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .site-header { gap: 14px; }
  .logo img { width: 86px; }
  .main-nav { gap: 18px; font-size: .82rem; }
  .hero { min-height: 620px; padding-top: 64px; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
}
