/* Tabish Siding & Windows - Premium Local Contractor Styles */
:root {
  --primary: #1a365d;
  --primary-dark: #0f2744;
  --accent: #c53030;
  --accent-hover: #9b2c2c;
  --steel: #4a5568;
  --light: #f7fafc;
  --white: #ffffff;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --success: #276749;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --radius: 8px;
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== HEADER / NAV ===== */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: #fbd38d; }
.top-bar-phone { font-weight: 600; }

.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.logo-text span { color: var(--accent); display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--light); color: var(--primary); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.25rem;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2c5282 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  max-width: 540px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}
.hero-trust span { display: flex; align-items: center; gap: 0.4rem; }
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1.75rem;
}
.hero-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.hero-card ul li {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.hero-card ul li::before {
  content: '✓';
  color: #68d391;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== SECTIONS ===== */
section { padding: 4.5rem 0; }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.badge {
  display: inline-block;
  background: #ebf8ff;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: #ebf8ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.service-card .btn { align-self: flex-start; padding: 0.55rem 1.1rem; font-size: 0.875rem; }

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.why-item {
  text-align: center;
  padding: 1.5rem;
}
.why-item .num {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}
.why-item h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--primary); }
.why-item p { color: var(--text-light); font-size: 0.95rem; }

/* Service Areas */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.area-tag {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--light);
  border-radius: 12px;
  padding: 1.75rem;
  border-left: 4px solid var(--accent);
}
.testimonial .stars { color: #d69e2e; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial p { font-style: italic; margin-bottom: 1rem; color: var(--text); }
.testimonial .author { font-weight: 600; font-size: 0.9rem; color: var(--primary); }

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}
.cta-band h2 { font-size: 1.85rem; margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* About / Content pages */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.9; max-width: 600px; margin: 0 auto; }

.content-section { padding: 3.5rem 0; }
.content-section h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 2rem 0 1rem;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p { margin-bottom: 1rem; color: var(--text); }
.content-section ul { margin: 1rem 0 1.5rem 1.25rem; }
.content-section ul li { list-style: disc; margin-bottom: 0.4rem; color: var(--text); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
}
.contact-info h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.25rem; }
.contact-info p { margin-bottom: 0.75rem; display: flex; align-items: flex-start; gap: 0.6rem; }
.contact-info a { color: var(--primary); font-weight: 500; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,54,93,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: var(--light);
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
  font-family: inherit;
}
.faq-q:hover { background: #edf2f7; }
.faq-a {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 1rem 1.25rem 1.25rem;
}
.faq-a p { color: var(--text-light); margin: 0; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #a0aec0;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.925rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: 1rem; display: inline-block; }
.footer-brand .logo img {
  height: 90px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
}
.footer-brand p { margin-bottom: 1rem; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: #a0aec0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.nap { font-style: normal; }
.nap strong { color: var(--white); }

/* Utility */
.bg-light { background: var(--light); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { gap: 1.75rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-links .btn { margin: 0.75rem 1rem; width: calc(100% - 2rem); }
  .mobile-toggle { display: block; }
  .logo img { height: 52px; max-width: 160px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
}

@media (max-width: 600px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .logo img { height: 48px; max-width: 140px; }
}
a.area-tag { color: var(--text); text-decoration: none; }
a.area-tag:hover { border-color: var(--primary); color: var(--primary); background: #ebf8ff; }

