/* IE Home Services - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1a3a5c;
  --navy-dark: #122840;
  --navy-light: #234d7a;
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --white:  #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
}
.nav-logo:hover { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-links a.active { color: var(--white); }

.nav-links .btn-nav {
  background: var(--orange);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  transition: background .2s;
}
.nav-links .btn-nav:hover { background: var(--orange-dark); }

/* Hamburger (CSS only) */
.nav-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-toggle:checked ~ .nav-links {
    max-height: 500px;
  }
  .nav-links a {
    padding: 14px 24px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links .btn-nav {
    margin: 12px 24px;
    border-radius: 6px;
    text-align: center;
  }
  .nav-toggle:checked ~ label .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ label .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ label .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 20px 90px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.hero p {
  font-size: 1.15rem;
  opacity: .85;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.search-bar {
  display: flex;
  max-width: 580px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.search-bar input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1rem;
  border: none;
  outline: none;
  font-family: inherit;
}

.search-bar button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  white-space: nowrap;
}
.search-bar button:hover { background: var(--orange-dark); }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 70px 0; }
.section-alt { background: var(--gray-50); }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.4px;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.category-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  display: block;
  color: var(--gray-800);
}

.category-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--navy);
}

.category-card .icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 18px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  font-size: .95rem;
  color: var(--gray-600);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  background: var(--white);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
}

.pricing-desc {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  margin-top: 8px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: .92rem;
  padding: 6px 0;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   FOR BUSINESS SECTION
   ============================================================ */
.biz-section {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
}

.biz-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.biz-content .section-title { color: var(--white); }
.biz-content .section-sub { color: rgba(255,255,255,.75); }

.biz-features {
  list-style: none;
  margin-bottom: 32px;
}

.biz-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}

.biz-features li span.check {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.biz-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-box .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.stat-box .stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .biz-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--orange);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}

.author-biz {
  font-size: .82rem;
  color: var(--gray-600);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  font-family: inherit;
  text-align: 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);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: .85rem;
}

/* ============================================================
   DIRECTORY PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 50px 20px 60px;
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: .82;
  max-width: 560px;
}

.breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }

.listings-section { padding: 50px 0; }

.listings-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================================
   LISTING CARD
   ============================================================ */
.listing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, border-color .25s;
}
.listing-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gray-400);
}

.listing-card.featured-listing {
  border-color: var(--orange);
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(249,115,22,.15);
}

.listing-featured-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.listing-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.listing-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stars {
  color: #f59e0b;
  font-size: .95rem;
}

.rating-num {
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-800);
}

.review-count {
  font-size: .85rem;
  color: var(--gray-600);
}

.listing-meta {
  font-size: .88rem;
  color: var(--gray-600);
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.listing-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.listing-desc {
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.listing-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-start;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .listing-card {
    grid-template-columns: 1fr;
  }
  .listing-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  margin-top: 32px;
}

.cta-banner h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.cta-banner p {
  color: var(--gray-600);
  margin-bottom: 20px;
}

/* ============================================================
   LIST YOUR BUSINESS PAGE
   ============================================================ */
.form-section { padding: 60px 0; }

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--gray-800);
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,.1);
}

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

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

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 6px;
  margin-bottom: 6px;
}
.tag-orange {
  background: rgba(249,115,22,.1);
  color: var(--orange-dark);
}
