/* Columbus Home Improvements — theme aligned with Top Notch / Fllopi reference */
:root {
  --red: #e33e2b;
  --red-dark: #c42f1f;
  --navy: #1a2640;
  --navy-light: #243352;
  --text: #5a6270;
  --text-dark: #1a2640;
  --white: #ffffff;
  --grey-bg: #f4f6f9;
  --border: #e8ecf1;
  --radius: 8px;
  --radius-pill: 50px;
  --shadow: 0 8px 30px rgba(26, 38, 64, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.top-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar i {
  color: var(--red);
  margin-right: 6px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

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

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
}

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

.nav-toggle {
  display: none;
  background: var(--red);
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

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

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

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

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

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

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
}

.hero-content .btn {
  margin-top: 0.75rem;
}

.hero h1 span {
  color: var(--red);
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  line-height: 0;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3rem;
  }

  .hero-content {
    padding-right: 1rem;
  }
}

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

.section-grey {
  background: var(--grey-bg);
}

.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title .tag {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  transition: box-shadow 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow);
}

.icon-box {
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-card a.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Split section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.split-content {
  background: var(--navy);
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.value-list {
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.value-item h4 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.value-item p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Stats bar */
.stats-bar {
  background: var(--red);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
  color: var(--white);
}

.stat-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

/* Projects filter */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-tabs button {
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-dark);
}

.filter-tabs button.active,
.filter-tabs button:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(26, 38, 64, 0.9));
  color: var(--white);
}

/* Subscribe banner */
.subscribe-banner {
  background: var(--navy);
  padding: 3rem 0;
  background-image: linear-gradient(rgba(26, 38, 64, 0.92), rgba(26, 38, 64, 0.92)),
    url("../images/page-banner.jpg");
  background-size: cover;
  background-position: center;
  color: rgba(255, 255, 255, 0.92);
}

.subscribe-banner .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.subscribe-banner h2 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
  max-width: 560px;
}

.subscribe-form .form-group {
  flex: 1 1 220px;
  margin-bottom: 0;
}

.subscribe-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 1rem;
}

/* Features */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.feature-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.feature-stack img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Testimonials */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  color: var(--text);
}

.testimonial-card .stars {
  color: #f5b301;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* Contact form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 62, 43, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #c0392b;
}

.field-error {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.error .field-error,
.checkbox-group.error .field-error {
  display: block;
}

/* Checkbox alignment */
.checkbox-group {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  margin-bottom: 1.25rem;
}

.checkbox-group.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--red);
  cursor: pointer;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  border: none;
  box-shadow: none;
}

.checkbox-group label {
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
  color: var(--text);
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.checkbox-group .field-error {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
  margin-left: 0;
}

.form-group.checkbox-group:focus-within input[type="checkbox"] {
  box-shadow: 0 0 0 3px rgba(227, 62, 43, 0.15);
}

.form-group.checkbox-group > label {
  margin-bottom: 0;
  font-weight: 500;
}

.form-success {
  display: none;
  background: #e8f8ef;
  border: 1px solid #27ae60;
  color: #1e6b3a;
  padding: 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-success.visible {
  display: block;
}

.btn-block {
  width: 100%;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.blog-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.blog-body {
  padding: 1.5rem;
}

.date-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* Page banner */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 220px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/page-banner.jpg") center/cover;
  opacity: 0.2;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.price-card.featured {
  border-color: var(--red);
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  margin: 1rem 0;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.price-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--red);
  margin-right: 8px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card .team-info {
  padding: 1.25rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.team-social a {
  width: 36px;
  height: 36px;
  background: var(--grey-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.team-social a:hover {
  background: var(--red);
  color: var(--white);
}

/* Legal content */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* CTA strip */
.cta-strip {
  background: var(--red);
  padding: 2rem 0;
  color: var(--white);
}

.cta-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-news-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.25rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--navy-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Partners */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  opacity: 0.7;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Content blocks */
.content-block {
  max-width: 900px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .split-section,
  .features-split,
  .contact-section,
  .two-col {
    grid-template-columns: 1fr;
  }

  .split-image {
    order: -1;
  }
}

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

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .header-cta {
    display: none;
  }

  .site-header .header-inner {
    position: relative;
  }
}