:root {
  /* Central Texas Efficient Windows & Siding brand palette, sampled from the logo */
  --blue: #286ca3;        /* Central Blue - primary */
  --blue-dark: #1d5079;   /* hover / pressed state */
  --blue-light: #7fb2dd;  /* tint for accents on dark surfaces */
  --navy: #163a5a;        /* deep tint of Central Blue, for large surfaces */
  --navy-dark: #0b2338;   /* darkest surfaces: topbar, footer */
  --charcoal: #2b2b2b;    /* body text on white */
  --gray: #808080;        /* Slate Gray - secondary text, tagline */
  --silver: #c2c1c2;      /* Pane Silver - dividers, shading */
  --mist: #ececec;        /* Mist Silver - subtle section backgrounds */
  --white: #ffffff;
  --radius: 6px;
  --container: 1200px;

  /* legacy aliases kept so the rest of the sheet reads naturally */
  --gray-900: var(--charcoal);
  --gray-600: var(--gray);
  --gray-400: var(--silver);
  --gray-100: var(--mist);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

img { max-width: 100%; display: block; }

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

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

ul { list-style: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* Top utility bar */
.topbar {
  background: var(--navy-dark);
  color: #cdd8e3;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }
.stars-inline { color: var(--white); letter-spacing: 1px; }

/* Header */
header.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11,35,56,0.08);
  position: relative;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 56px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.4px;
  padding: 6px 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}
.main-nav svg { width: 10px; height: 10px; }

.header-cta { flex-shrink: 0; }

.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,35,56,0.88) 0%, rgba(11,35,56,0.58) 45%, rgba(11,35,56,0.15) 75%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 150px;
  max-width: 640px;
}
.hero h1 {
  color: var(--white);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--blue-light); display: block; }
.hero p {
  color: #dfe6ee;
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Feature strip */
.feature-strip {
  position: relative;
  z-index: 3;
  margin-top: -60px;
  background: var(--navy);
}
.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-left: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
}
.feature-item:first-child { border-left: none; }
.feature-item .icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--blue-light);
}
.feature-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.3px;
}
.feature-item span {
  display: block;
  font-size: 12.5px;
  color: #b9c6d4;
  margin-top: 2px;
}

/* Services */
.services {
  padding: 110px 0 70px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.service-col { text-align: left; }
.service-col.right { text-align: right; }
.service-photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 4/3;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 10px;
}
.service-col.right .service-icon { margin-left: auto; }
.service-col h3 {
  font-size: 18px;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}
.service-col p {
  color: var(--gray-600);
  font-size: 14.5px;
  margin-bottom: 12px;
}
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--blue);
}
.service-col.right .learn-more { flex-direction: row-reverse; }
.learn-more svg { width: 14px; height: 14px; }

.services-center { text-align: center; padding: 0 10px; }
.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.4px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.services-center h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.services-center p {
  color: var(--gray-600);
  font-size: 15px;
}

/* Stats bar */
.stats-bar {
  background: var(--gray-100);
  padding: 40px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-item .icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  flex-shrink: 0;
}
.stat-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--navy);
}
.stat-item span {
  display: block;
  font-size: 13px;
  color: var(--gray-600);
}

/* Why choose us */
.why {
  padding: 100px 0;
}
.why .container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.why h2 {
  font-size: 30px;
  margin: 10px 0 18px;
}
.why > .container > div:first-child p {
  color: var(--gray-600);
  font-size: 15px;
  margin-bottom: 22px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-900);
  padding: 7px 0;
}
.why-list svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.why-photo {
  position: relative;
}
.why-photo img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
}
.testimonial-card {
  position: absolute;
  left: -24px;
  bottom: -30px;
  background: var(--navy);
  color: var(--white);
  padding: 26px 28px;
  border-radius: var(--radius);
  max-width: 380px;
  box-shadow: 0 18px 40px rgba(11,35,56,0.28);
}
.testimonial-card .stars { color: var(--blue-light); font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: 14px;
  color: #dfe6ee;
  margin-bottom: 12px;
}
.testimonial-card cite {
  font-style: normal;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--white);
}

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9c6d4;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid img { height: 46px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-grid p { font-size: 13.5px; line-height: 1.6; }
.footer-grid h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
}
.footer-grid ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-col.right { text-align: left; }
  .service-col.right .service-icon { margin-left: 0; }
  .service-col.right .learn-more { flex-direction: row; }
  .why .container { grid-template-columns: 1fr; }
  .testimonial-card { position: static; margin-top: -40px; margin-left: 20px; margin-right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .topbar-left span:nth-child(2) { display: none; }
  .feature-strip .container { grid-template-columns: 1fr 1fr; }
  .feature-item { border-left: none; padding: 16px; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-inner { padding-bottom: 90px; }
  .footer-grid { grid-template-columns: 1fr; }
}
