/* Texas flag red header */
:root {
  --red: #7a081e;
  --red-dark: #540516;
  --ink: #1a1a1a;
  --muted: #4a5560;
  --paper: #f7f5f3;
  --white: #ffffff;
  --line: #e4ddd6;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

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

.wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  background: var(--red);
  color: var(--white);
  padding: 2.4rem 0 2.6rem;
}

.hero-inner {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.logo {
  width: 96px;
  height: auto;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 0.35rem;
  image-rendering: auto;
}

.eyebrow {
  margin: 0 0 0.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: system-ui, -apple-system, sans-serif;
  opacity: 0.9;
}

h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 4.5vw, 2.35rem);
  line-height: 1.15;
}

.lede {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  max-width: 38ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.call {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 650;
  padding: 0.7rem 1.05rem;
  border-radius: 6px;
  border: 2px solid var(--white);
}

.call:hover,
.call:focus {
  background: #fff4f4;
}

.call-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.85);
}

.call-ghost:hover,
.call-ghost:focus {
  background: rgba(255,255,255,0.14);
}

.call-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.call-outline:hover,
.call-outline:focus {
  background: var(--red);
  color: var(--white);
}

.contact {
  padding: 2rem 0 0.75rem;
}
.services {
  padding: 1rem 0 2.6rem;
}

h2 {
  margin: 0 0 1.15rem;
  font-size: 1.3rem;
}

.services ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.services li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-family: system-ui, -apple-system, sans-serif;
}

.services p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.contact {
  border-bottom: 1px solid var(--line);
}

.contact .cta { margin-top: 1rem; }

.contact .call {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.contact .call:hover,
.contact .call:focus {
  background: var(--red-dark);
}

footer {
  text-align: center;
  padding: 1.4rem 0 2rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a { color: var(--red); }

.modified { margin: 0.35rem 0 0; font-size: 0.75rem; opacity: 0.85; }


.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 6px;
  text-decoration: none;
  flex-shrink: 0;
  border: 0;
  padding: 0;
}
.icon-btn img {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
.mail {
  background: var(--white);
}
.mail:hover,
.mail:focus {
  background: #fff4f4;
}
.mail-on-light {
  background: var(--red);
}
.mail-on-light img {
  filter: brightness(0) invert(1);
}
.mail-on-light:hover,
.mail-on-light:focus {
  background: var(--red-dark);
}
.fb {
  background: #1877F2;
  color: #fff;
}
.fb img {
  filter: brightness(0) invert(1);
}
.fb:hover,
.fb:focus {
  background: #166fe5;
}
.fb-on-light {
  background: #1877F2;
}
footer .fb-text {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--red);
  text-decoration: none;
}
footer .fb-text img {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  filter: none;
}

@media (max-width: 639px) {
  .hero-inner { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 640px) {
  .services ul { grid-template-columns: 1fr 1fr; }
}
