/* ==========================================================================
   MN Plumbing & Home Services — Shared Stylesheet
   ========================================================================== */

:root {
  --navy: #1a3a5c;
  --navy-dark: #122947;
  --navy-light: #25527f;
  --orange: #e85d04;
  --orange-dark: #c44c00;
  --white: #ffffff;
  --gray-light: #f4f6f8;
  --gray: #6b7280;
  --gray-dark: #2b2f36;
  --border: #e2e6ea;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 30, 50, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 30, 50, 0.12);
  --shadow-lg: 0 16px 40px rgba(20, 30, 50, 0.18);
  --transition: 0.25s ease;
  --header-height: 88px;
  --header-height-scrolled: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

section {
  padding: 80px 0;
}

/* ============== UTILITIES ============== */
.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--gray);
  font-size: 1.05rem;
}

.bg-light {
  background: var(--gray-light);
}

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

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

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(232, 93, 4, 0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

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

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

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

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ============== HEADER ============== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-top {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}

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

.header-top .top-phones {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.header-top .top-phones a:hover,
.header-top .top-badge {
  color: #ffce8e;
}

.navbar {
  height: var(--header-height);
  transition: height var(--transition);
}

.site-header.scrolled .navbar {
  height: var(--header-height-scrolled);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  flex-shrink: 0;
}

.logo .logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.logo span.tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-dark);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-call {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  text-align: right;
}

.header-call small {
  font-weight: 500;
  color: var(--gray);
  font-size: 0.7rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============== MOBILE NAV DRAWER ============== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85%);
  height: 100vh;
  background: var(--navy);
  z-index: 1100;
  padding: 30px 24px;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.mobile-nav a {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav a.active {
  color: var(--orange);
}

.mobile-nav .btn {
  margin-top: 20px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 110px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.35), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 18px;
}

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

.hero .hero-sub {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffd9b3;
}

.hero p.tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: var(--orange);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .visual-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 360px;
}

.hero-visual .visual-icon {
  font-size: 5rem;
  margin-bottom: 12px;
}

/* ============== PAGE HEADER (inner pages) ============== */
.page-header {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

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

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

/* ============== SERVICE CARDS ============== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card .card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  background: rgba(232, 93, 4, 0.1);
  border-radius: 14px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.card a.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--orange);
  font-size: 0.9rem;
}

/* ============== WHY CHOOSE US ============== */
.why-block {
  text-align: center;
  padding: 30px 20px;
}

.why-block .icon-circle {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.why-block h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.why-block p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============== PROMO BANNER ============== */
.promo {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.promo h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}

.promo p {
  font-size: 1.1rem;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.92);
}

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

/* ============== STATS ============== */
.stats {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0;
}

.stats .grid-4 {
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 2.4rem;
  color: var(--orange);
  margin-bottom: 6px;
}

.stats span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ============== MN CHOICE BLOCKS ============== */
.choice-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.choice-block .check {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(232, 93, 4, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.choice-block h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.choice-block p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ============== FAQ ACCORDION ============== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--orange);
  transition: transform var(--transition);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============== PARTNERS ============== */
.partners {
  text-align: center;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.partner-pill {
  padding: 16px 32px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
}

/* ============== BLOG CARDS ============== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card .blog-content {
  padding: 24px;
}

.blog-date {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin: 10px 0;
}

.blog-card p {
  color: var(--gray);
  font-size: 0.92rem;
}

/* ============== SERVICE AREAS ============== */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.areas-list span {
  background: var(--gray-light);
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  border: 1px solid var(--border);
}

/* ============== LOCATIONS / CONTACT CARDS ============== */
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.location-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-card p {
  color: var(--gray);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.location-card a.phone-link {
  font-weight: 700;
  color: var(--orange);
  font-size: 1.05rem;
}

/* ============== CONTACT FORM ============== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--navy);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  background: #e6f6ea;
  color: #1e7d35;
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

/* ============== MAP / EMBED PLACEHOLDER ============== */
.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray);
  font-weight: 600;
}

/* ============== TEAM ============== */
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: var(--white);
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card span.role {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-card p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 0.9rem;
}

/* ============== TIMELINE (About) ============== */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
  border-left: 3px solid var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -45px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--orange);
}

.timeline-item h4 {
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col p, .footer-col li {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}

/* ============== FLOATING CALL BUTTON (mobile) ============== */
.float-call {
  position: fixed;
  bottom: 84px;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 93, 4, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(232, 93, 4, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 93, 4, 0); }
}

/* ============== MOBILE BOTTOM BAR ============== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 950;
}

.mobile-bottom-bar .container {
  display: flex;
  padding: 0;
}

.mobile-bottom-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  border-right: 1px solid var(--border);
}

.mobile-bottom-bar a:last-child {
  border-right: none;
}

.mobile-bottom-bar a .icon {
  font-size: 1.2rem;
}

.mobile-bottom-bar a.call-action {
  background: var(--orange);
  color: var(--white);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions, .hero-stats {
    justify-content: center;
  }

  .hero p.tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .main-nav, .header-cta .header-call, .header-top {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* "Free Estimate" CTA is dropped from the header on mobile — the floating
     call button and bottom bar already cover Call/Estimate, and keeping it
     here was wider than the viewport and forced the whole page to overflow. */
  .header-cta .btn {
    display: none;
  }

  .logo .tag {
    display: none;
  }

  .logo span:not(.logo-mark) {
    font-size: 0.95rem;
  }

  section {
    padding: 56px 0;
  }

  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .float-call {
    display: flex;
  }

  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }

  .hero {
    padding: 60px 0 80px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero-stats {
    gap: 18px 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .promo .btn,
  .hero-actions .btn {
    font-size: 0.9rem;
  }
}
