/* WIN Contracting Inc. — static site styles */
:root {
  --blue: #357df9;
  --blue-dark: #265ab2;
  --blue-hover: #2a6ae0;
  --text: #1d1e20;
  --muted: #727586;
  --light: #f2f3f6;
  --white: #ffffff;
  --border: #e4e6eb;
  --shadow: 0 8px 30px rgba(29, 30, 32, 0.08);
  --radius: 12px;
  --max: 1140px;
  --font: "Lato", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--text);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

.logo:hover {
  color: var(--text);
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue-hover);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white) !important;
}

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

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: #1d1e20 center / cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(29, 30, 32, 0.78) 0%,
    rgba(38, 90, 178, 0.55) 55%,
    rgba(29, 30, 32, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  max-width: 640px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.welcome-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.welcome-copy .lead {
  color: var(--text);
  font-size: 1.05rem;
}

/* About / Partner */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.55rem, 3vw, 1.95rem);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(29, 30, 32, 0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.service-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-body p {
  margin: 0;
  font-size: 0.95rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.stars {
  color: #f5b400;
  letter-spacing: 0.12em;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.review-card blockquote {
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
}

.reviewer {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.reviewer strong {
  color: var(--text);
  font-weight: 600;
}

.reviewer span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Blog teaser */
.blog-teaser {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.blog-teaser .meta {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.blog-teaser h3 {
  font-size: 1.35rem;
}

/* CTA */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue-dark) !important;
}

.cta-band .btn-primary:hover {
  background: var(--light);
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0 1.75rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 600;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Blog pages */
.page-hero {
  background: var(--light);
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.blog-card-icon {
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.article h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.article p,
.article li {
  color: var(--text);
  font-size: 1.05rem;
}

.article ul {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.article li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.article-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.keywords {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .welcome-grid,
  .about-grid,
  .blog-teaser {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .about-card img {
    height: 260px;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .hero {
    min-height: 420px;
  }

  .hero-content {
    padding: 3.5rem 0;
  }

  .section {
    padding: 3.25rem 0;
  }
}


/* Modern image treatment */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-card img,
.service-card img,
.welcome-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.service-card {
  overflow: hidden;
}
.service-card img {
  aspect-ratio: 4 / 3;
  transition: transform .35s ease;
}
.service-card:hover img {
  transform: scale(1.04);
}
