/* =========================
   THEME TOKENS (TEXAS)
========================= */
:root {
  --tx-blue: #1f3c88;
  --tx-red: #b11226;
  --white: #ffffff;
  --charcoal: #1c1c1c;
  --light-gray: #f5f5f5;
  --border-gray: #e0e0e0;

  --max: 1100px;
  --pad: 18px;
}

/* =========================
   BASE
========================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  line-height: 1.5;
  background: var(--white);
  color: var(--charcoal);
}

a { color: inherit; text-decoration: none; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.tx-stripe {
  height: 6px;
  background: linear-gradient(to right, var(--tx-blue), var(--white), var(--tx-red));
}

/* =========================
   HEADER / NAV
========================= */
.header{
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 3px solid var(--tx-blue);
  z-index: 10;
}

.header__inner{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--pad);
}

.brand{
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand__logo{
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.brand__name{
  font-weight: 700;
  font-size: 1.4rem;   
  letter-spacing: 0.3px;
  line-height: 1;
}

.nav{
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav a{
  padding: 8px 6px;
  border-radius: 10px;
}

.nav a:hover{
  background: rgba(31, 60, 136, 0.06);
}

.navToggle{
  position: relative; z-index: 60; 
  display: none;
  border: 1px solid var(--border-gray);
  background: var(--white);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;

  background: var(--tx-blue);
  color: var(--white);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover{
  background: #162e66;
  transform: translateY(-1px);
}

.btn--ghost{
  background: transparent;
  color: var(--tx-blue);
  border: 1px solid var(--tx-blue);
}

.btn--ghost:hover{
  background: rgba(31, 60, 136, 0.08);
}

.btn--red{
  background: var(--tx-red);
}

.btn--red:hover{
  background: #8e0f1f;
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3 {
  color: var(--tx-blue);
  margin: 0 0 10px;
}

p { margin: 0 0 10px; }

.lead{
  font-size: 1.05rem;
  opacity: 0.88;
  margin: 0;
}

h2::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--tx-red);
  margin-top: 8px;
}

/* =========================
   LAYOUT SECTIONS
========================= */
.hero{
  padding: 44px 0;
  background: linear-gradient(
    to bottom,
    rgba(31, 60, 136, 0.05),
    rgba(255, 255, 255, 1)
  );
}

.hero__grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.section{
  padding: 34px 0;
}

.section--alt{
  background: var(--light-gray);
}

.grid{
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================
   CARDS
========================= */
.card{
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.card,
.serviceCard,
.reviewCard,
.step{
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 16px;
}

.serviceCard,
.reviewCard{
  border-radius: 14px;
}

.serviceCard{
  display: block;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.serviceCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.serviceCard{
  font-weight: 600;
  border-radius: 14px;
}

.serviceCard:hover{
  border-color: rgba(31,60,136,0.35);
}
#estimate{
  border-top: 4px solid var(--tx-red);
}

/* =========================
   SERVICE AREAS
========================= */
.areaList{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.areaList li{
  background: var(--white);
  border: 1px solid var(--border-gray);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* =========================
   RECENT WORK IMAGES
========================= */
#work img{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-gray);
}

/* =========================
   TRUST BAR / STEPS
========================= */
.trustBar{
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  opacity: 0.95;
}

.trustBar div{
  background: var(--light-gray);
  border-left: 4px solid var(--tx-red);
  padding: 8px 12px;
  border-radius: 12px;
}

.steps{
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================
   FORMS
========================= */
.form label{
  display: block;
  margin: 10px 0;
  font-size: 0.95rem;
}

input, textarea{
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-gray);
  background: var(--white);
  color: var(--charcoal);
}

input:focus, textarea:focus{
  outline: 2px solid rgba(31, 60, 136, 0.25);
  border-color: var(--tx-blue);
}

/* Full width form button (modern) */
.form button.btn{
  width: 100%;
  margin-top: 8px;
}

.fineprint{
  font-size: 0.9rem;
  opacity: 0.75;
}

.ctaRow{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================
   FINAL CTA
========================= */
.finalCta{
  padding: 34px 0;
  border-top: 1px solid var(--border-gray);
  background: var(--white);
}

.finalCta__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   FOOTER
========================= */
.footer{
  padding: 24px 0;
  background: var(--charcoal);
  color: var(--white);
  border-top: 1px solid #000;
}

.footer a{
  color: var(--white);
  text-decoration: underline;
}

/* =========================
   MOBILE CTA BAR
========================= */
.mobileCta{
  display: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 860px){
  .hero__grid{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps{ grid-template-columns: 1fr; }

  .nav{
    display: none;
    position: absolute;
    right: 18px;
    top: 74px;              
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  }

  .nav.open{ display: flex; }
  .navToggle{ display: inline-block; }

  .mobileCta{
    display: flex;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    padding: 10px;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    backdrop-filter: blur(6px);
  }

  .mobileCta .btn{
    flex: 1;
  }

  body{
    padding-bottom: 90px; 
  }
}
