/* ========================================
   MY CHIMNEY SWEEPS & REPAIRS - STYLES
   Color Palette:
   - Navy:   #1B2A4A
   - Orange: #E8751A
   - Light:  #F7F8FA
   ======================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1B2A4A;
  --navy-dark: #111D35;
  --orange: #E8751A;
  --orange-dark: #D0650F;
  --orange-light: #FFF3E8;
  --light: #F7F8FA;
  --white: #ffffff;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #868E96;
  --gray-700: #495057;
  --gray-900: #212529;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 117, 26, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}

/* ---- Section Styles ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
}
.highlight {
  color: var(--orange);
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
}
.top-bar-phone:hover {
  color: #fff;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img {
  height: 52px;
  width: auto;
  border-radius: 4px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-mockup.jpeg') center/cover no-repeat;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,29,53,0.95) 0%, rgba(27,42,74,0.85) 50%, rgba(27,42,74,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}
.hero h1 .highlight {
  color: var(--orange);
}
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}
.badge-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

/* ========== SERVICES ========== */
.services {
  padding: 100px 0;
  background: var(--light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.service-card.has-photos::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(232, 117, 26, 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 117, 26, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(232, 117, 26, 0.05); }
}
.service-card .view-photos-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 14px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}
.service-card:hover .view-photos-pill {
  background: var(--orange);
  color: var(--white);
}
.service-card .view-photos-pill svg {
  width: 14px;
  height: 14px;
}

/* Inline preview at top of service card (full-bleed) */
.service-preview {
  margin: -40px -32px 22px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
}
.service-preview > .ba-slider {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}
.service-preview .service-preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-preview .ba-slider-handle {
  width: 38px;
  height: 38px;
}
.service-preview .ba-slider-handle svg {
  width: 20px;
  height: 20px;
}
.service-preview .ba-tag {
  font-size: 0.6rem !important;
  padding: 4px 10px !important;
  top: 10px !important;
}
.service-preview .ba-tag-before { left: 10px !important; }
.service-preview .ba-tag-after  { right: 10px !important; }
.service-icon {
  width: 72px;
  height: 72px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--orange);
  color: var(--white);
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-image::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  border: 3px solid var(--orange);
  border-radius: var(--radius);
  z-index: -1;
}
.about-content h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-content > p {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.8;
}
.about-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-700);
}
.about-list svg {
  flex-shrink: 0;
}

/* ========== PROJECTS / BEFORE-AFTER GALLERY ========== */
.projects {
  padding: 100px 0;
  background: var(--light);
}
.gallery-instructions {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-style: italic;
}
.gallery-carousel {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.gallery-slider {
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ba-pair {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
}
.ba-side {
  position: relative;
  width: 47%;
  flex: 0 0 47%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ba-side img {
  display: block;
  width: 100%;
  max-height: 750px;
  object-fit: cover;
  object-position: center;
}
.ba-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 2;
}
.ba-side-before .ba-tag {
  background: rgba(200, 40, 40, 0.9);
  color: var(--white);
}
.ba-side-after .ba-tag {
  background: rgba(30, 140, 60, 0.9);
  color: var(--white);
}

.ba-logo-divider {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 2px solid var(--orange);
  margin: 0 4px;
}
.ba-logo-divider img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.gallery-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--navy);
}
.gallery-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.gallery-counter {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  min-width: 50px;
  text-align: center;
}


/* ========== STATS ========== */
.stats {
  padding: 72px 0;
  background: var(--navy);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  color: var(--white);
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
}
.stat-plus {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
}
.stat-star {
  vertical-align: middle;
  margin-left: 4px;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 100px 0;
}
.testimonial-slider {
  overflow: hidden;
  position: relative;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  margin: 0 8px;
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--navy);
}
.testimonial-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}
.testimonial-dots .dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

/* ========== CTA ========== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  text-align: center;
}
.cta-inner h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: var(--light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}
.contact-details {
  display: grid;
  gap: 24px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: var(--gray-500);
}
.contact-detail a:hover {
  color: var(--orange);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form {
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--gray-900);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 117, 26, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23868E96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 20px 0 12px;
}
.form-success p {
  color: var(--gray-500);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  height: 64px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
}
.footer-links-col h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-links-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.footer-links-col a:hover {
  color: var(--orange);
}
.footer-links-col li {
  font-size: 0.9rem;
}
.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */

/* --- Tablet landscape --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-card {
    min-width: calc(50% - 16px);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
}

/* --- Tablet portrait & mobile landscape --- */
@media (max-width: 768px) {
  /* Reduce section padding on mobile */
  .services, .about, .projects, .testimonials, .faq, .contact {
    padding: 60px 0;
  }
  .stats {
    padding: 48px 0;
  }
  .cta-section {
    padding: 56px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .container {
    padding: 0 16px;
  }

  /* Typography scaling */
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-content {
    padding: 48px 0;
  }
  .hero {
    min-height: 70vh;
  }
  .section-header h2,
  .about-content h2,
  .contact-info h2,
  .cta-inner h2 {
    font-size: 1.6rem;
  }
  .section-header p {
    font-size: 0.95rem;
  }

  /* Navigation - mobile drawer */
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-200);
    z-index: 999;
  }
  .nav-links.active li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links.active li:last-child {
    border-bottom: none;
  }
  .mobile-toggle {
    display: flex;
  }

  /* Services - single column */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    padding: 28px 24px;
  }
  .service-preview {
    margin: -28px -24px 18px;
  }
  .service-icon {
    width: 56px;
    height: 56px;
  }
  .service-icon svg {
    width: 32px;
    height: 32px;
  }

  /* About - stacked */
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-image {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
  .about-image::after {
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
  }

  /* Before/After Gallery - stack vertically on mobile */
  .ba-pair {
    flex-direction: column;
    gap: 12px;
  }
  .ba-side {
    width: 100%;
    flex: 0 0 auto;
  }
  .ba-side img {
    max-height: 400px;
  }
  .ba-logo-divider {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    padding: 2px;
    margin: 4px 0;
  }

  /* Stats - 2 column */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-plus {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.85rem;
  }

  /* Testimonials - single card */
  .testimonial-card {
    min-width: calc(100% - 16px);
    padding: 24px;
  }
  .testimonial-text {
    font-size: 0.9rem;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 16px;
    gap: 12px;
    font-size: 0.9rem;
  }
  .faq-answer {
    padding: 0 16px 0 40px;
  }
  .faq-item.active .faq-answer {
    padding: 0 16px 16px 40px;
  }
  .faq-answer p {
    font-size: 0.9rem;
  }

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 24px 16px;
  }

  /* Footer - single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer {
    padding-top: 48px;
  }

  /* Hero badges */
  .hero-badges {
    flex-direction: column;
    gap: 12px;
  }
  .hero-btns {
    gap: 12px;
  }

  /* CTA */
  .cta-inner p {
    font-size: 0.95rem;
  }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .hero-content {
    padding: 36px 0;
  }
  .hero {
    min-height: 60vh;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .top-bar-text {
    display: none;
  }
  .top-bar {
    text-align: center;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .section-header h2,
  .about-content h2,
  .contact-info h2,
  .cta-inner h2 {
    font-size: 1.4rem;
  }
  .section-header p {
    font-size: 0.85rem;
  }
  .nav-logo img {
    height: 40px;
  }
  .nav-inner {
    height: 60px;
  }
  .nav-links.active {
    top: 60px;
  }

  /* Gallery on tiny phones */
  .ba-side img {
    max-height: 350px;
  }
  .ba-logo-divider {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  /* About image - smaller */
  .about-image {
    max-width: 260px;
  }
  .about-image::after {
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border-width: 2px;
  }
  .about-list li {
    font-size: 0.9rem;
  }

  /* Stats - smaller on tiny screens */
  .stat-number {
    font-size: 1.7rem;
  }

  /* Footer */
  .footer-logo {
    height: 48px;
  }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== FAQ SECTION ========== */
.faq {
  padding: 100px 0;
  background: var(--light);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--orange);
}
.faq-item.active {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: var(--transition);
}
.faq-question:hover {
  color: var(--orange);
}
.faq-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  flex-shrink: 0;
  position: relative;
}
.faq-item.active .faq-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--orange);
}
.faq-toggle {
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gray-500);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--orange);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px 0 52px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 52px;
}
.faq-answer p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 88px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232, 117, 26, 0.35);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--orange-dark);
  transform: scale(1.1);
}

/* ========== STICKY BOTTOM BAR ========== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: linear-gradient(135deg, #6B1B1B 0%, #8B2020 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.sticky-bar-quote,
.sticky-bar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 8px;
}
.sticky-bar-quote:hover,
.sticky-bar-phone:hover {
  color: var(--orange);
}
.sticky-bar-divider {
  color: rgba(255,255,255,0.3);
  font-size: 1.4rem;
  font-weight: 300;
}

/* Add bottom padding to footer so sticky bar doesn't cover content */
.footer-bottom {
  padding-bottom: 64px;
}

/* Floating buttons + sticky bar responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 64px;
    right: 12px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  .scroll-top {
    bottom: 64px;
    right: 68px;
    width: 40px;
    height: 40px;
  }
  .scroll-top svg {
    width: 16px;
    height: 16px;
  }
  .sticky-bottom-bar {
    padding: 10px 16px;
    gap: 8px;
  }
  .sticky-bar-quote,
  .sticky-bar-phone {
    font-size: 0.85rem;
    gap: 6px;
    padding: 2px 4px;
  }
  .sticky-bar-quote svg,
  .sticky-bar-phone svg {
    width: 14px;
    height: 14px;
  }
  .sticky-bar-divider {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 58px;
    right: 8px;
    width: 44px;
    height: 44px;
  }
  .scroll-top {
    bottom: 58px;
    right: 60px;
    width: 36px;
    height: 36px;
  }
  .sticky-bottom-bar {
    padding: 8px 12px;
  }
  .sticky-bar-quote,
  .sticky-bar-phone {
    font-size: 0.8rem;
  }
}

/* ========== CHIMNEY BASICS (reference-style: single column, label + image + text) ========== */
.chimney-basics-main {
  overflow-x: hidden;
  background: var(--white);
}

.basics-fc-wrap {
  background: var(--white);
}

.basics-fc-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0 28px;
}
.basics-fc-header-inner {
  max-width: 760px;
  margin: 0 auto;
}
.basics-fc-breadcrumb {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.basics-fc-breadcrumb a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.basics-fc-breadcrumb a:hover {
  color: var(--orange);
  text-decoration: underline;
}
.basics-fc-bc-sep {
  margin: 0 10px;
  color: var(--gray-300);
  font-weight: 400;
}
.basics-fc-bc-current {
  color: var(--gray-500);
}
.basics-fc-page-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.125rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.basics-fc-article {
  padding: 40px 0 72px;
  background: var(--white);
}
.basics-fc-article-inner {
  max-width: 760px;
  margin: 0 auto;
}

.basics-fc-section {
  margin-bottom: 0;
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--gray-200);
}
.basics-fc-section:first-of-type {
  padding-top: 8px;
}
.basics-fc-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.basics-fc-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
  line-height: 1.35;
}

.basics-fc-fig {
  margin: 0 0 22px;
  padding: 0;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
}
.basics-fc-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
/* Wide photo-style blocks (~2:1 like reference); SVGs scale cleanly */
.basics-fc-fig .basics-fc-img:not(.basics-fc-img--tall) {
  max-height: 280px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  padding: 12px 16px;
  box-sizing: border-box;
}
.basics-fc-img--tall {
  width: auto;
  max-width: min(100%, 340px);
  max-height: 520px;
  padding: 20px 16px;
  object-fit: contain;
}

.basics-fc-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--gray-700);
  margin: 0 0 1rem;
}
.basics-fc-text p:last-child {
  margin-bottom: 0;
}

.basics-fc-footnote {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray-500);
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.basics-fc-footnote a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}
.basics-fc-footnote a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .basics-fc-header {
    padding: 20px 0 22px;
  }
  .basics-fc-article {
    padding: 28px 0 56px;
  }
  .basics-fc-section {
    padding: 28px 0 32px;
  }
  .basics-fc-fig .basics-fc-img:not(.basics-fc-img--tall) {
    max-height: 220px;
    padding: 10px 12px;
  }
}

/* ========== SERVICE AREAS (SEO) ========== */
.service-areas {
  padding: 80px 0;
  background: var(--light);
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: var(--transition);
}
.area-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.area-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}
.area-zips {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
  word-spacing: 2px;
}
.areas-cta {
  text-align: center;
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-top: 24px;
}
.areas-cta a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}
.areas-cta a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .service-areas {
    padding: 56px 0;
  }
}

/* ========== SERVICE MODAL (Interactive Before/After) ========== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.service-modal.open {
  display: flex;
  animation: modal-fade-in 0.25s ease-out;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 40, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 18px;
  width: min(1100px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  animation: modal-pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-pop-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--orange);
  color: var(--white);
  transform: rotate(90deg);
}
.modal-content {
  padding: 36px 36px 32px;
}
.modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.modal-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.modal-header h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.modal-header p {
  color: var(--gray-700);
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}
.modal-media {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
}
.modal-media .ba-slider {
  max-height: 65vh;
}
.modal-single-img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  background: #1a1a1a;
  border-radius: var(--radius);
}
.modal-footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--gray-200);
  margin-top: 16px;
  padding-top: 24px;
}

/* Before/After Slider (interactive, drag to reveal) */
.ba-slider {
  --pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  user-select: none;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a1a1a;
  touch-action: none;
  cursor: ew-resize;
}
.ba-slider .ba-img-before,
.ba-slider .ba-img-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #1a1a1a;
}
.ba-slider .ba-img-before {
  z-index: 1;
}
.ba-slider .ba-img-after {
  z-index: 2;
  clip-path: inset(0 0 0 var(--pos));
  -webkit-clip-path: inset(0 0 0 var(--pos));
}
.ba-slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
  z-index: 3;
}
.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 4;
}
.ba-slider-handle svg {
  width: 26px;
  height: 26px;
}
.ba-slider .ba-tag {
  position: absolute;
  top: 14px;
  bottom: auto;
  right: auto;
  left: auto;
  padding: 6px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 3;
  pointer-events: none;
  width: auto;
  text-align: center;
}
.ba-slider .ba-tag-before {
  left: 14px;
  background: rgba(200, 40, 40, 0.92);
  color: var(--white);
}
.ba-slider .ba-tag-after {
  right: 14px;
  background: rgba(30, 140, 60, 0.92);
  color: var(--white);
}
.ba-slider-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.85;
  z-index: 3;
}

/* Single-image modal media */
.modal-no-photo {
  text-align: center;
  padding: 40px 20px;
  background: var(--orange-light);
  border-radius: var(--radius);
  color: var(--orange);
  font-weight: 600;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 28px 20px 22px;
  }
  .modal-header h3 {
    font-size: 1.4rem;
  }
  .modal-header p {
    font-size: 0.9rem;
  }
  .modal-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }
  .ba-slider-handle {
    width: 42px;
    height: 42px;
  }
  .ba-slider .ba-tag {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  .ba-slider-hint {
    font-size: 0.65rem;
    bottom: 10px;
  }
}
