/* HouseClearances.ie — brand: navy + green, matching the logo (house/recycling mark) */
:root {
  --navy: #0f2a4a;
  --navy-dark: #0a1d33;
  --green: #3fa13a;
  --green-dark: #2f8a2b;
  --cream: #f7f8f6;
  --text: #1c2b3a;
  --text-muted: #5b6b7a;
  --border: #e2e6e9;
  --white: #ffffff;
  --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--navy); line-height: 1.25; }
h1 { font-size: 2.25rem; margin: 0 0 1rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; border-bottom: 3px solid var(--green); padding-bottom: 0.4rem; display: inline-block; }
h3 { font-size: 1.2rem; margin: 1.75rem 0 0.6rem; color: var(--navy); }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.5rem; }

/* ===== Header ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; white-space: nowrap; }
.logo-house { color: var(--navy); }
.logo-clearances { color: var(--green); }
.logo-ie { color: var(--navy); }
.logo:hover { text-decoration: none; }

.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 0.95rem; }
.main-nav > a { color: var(--navy); }
.nav-dropdown { position: relative; cursor: pointer; color: var(--navy); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(15,42,74,0.12);
  min-width: 220px;
  padding: 8px;
  flex-direction: column;
}
.nav-dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 8px 10px; border-radius: 6px; color: var(--text); font-weight: 500; }
.dropdown-menu a:hover { background: var(--cream); text-decoration: none; color: var(--green-dark); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-dark); text-decoration: none; }

/* ===== Breadcrumb ===== */
.breadcrumb-bar { background: var(--cream); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: 1160px; margin: 0 auto; padding: 10px 24px; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb-inner a { color: var(--text-muted); }

/* ===== Content ===== */
.page-content { padding: 40px 0 60px; }
.content-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.content-inner:has(.location-grid) { max-width: 1000px; }

/* ===== Quote form ===== */
.quote-form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin: 24px 0 32px;
}
.quote-form h3 { margin-top: 0; }
.quote-form form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; gap: 12px; }
.quote-form input, .quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.quote-form button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-start;
}
.quote-form button:hover { background: var(--navy-dark); }
.form-hidden { position: absolute; left: -9999px; }

/* ===== Home hero ===== */
.content-inner:has(.hero-banner) { max-width: 1100px; }

.hero-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 0.5rem 0 2rem;
}
.hero-banner h1 { margin-bottom: 0.75rem; }
.hero-lede { font-size: 1.08rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  display: inline-block; padding: 13px 24px; border-radius: 30px; font-weight: 700;
  font-size: 0.95rem;
}
.btn-primary { background: var(--green); color: #fff !important; }
.btn-primary:hover { background: var(--green-dark); text-decoration: none; }
.btn-secondary { background: var(--navy); color: #fff !important; }
.btn-secondary:hover { background: var(--navy-dark); text-decoration: none; }
.hero-van-photo {
  width: 100%; height: 320px; object-fit: cover; border-radius: 14px;
  box-shadow: 0 16px 32px rgba(15,42,74,0.16);
}

.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--navy);
  border-radius: 14px;
  padding: 24px 16px;
  margin-bottom: 2.5rem;
}
.stat { text-align: center; color: #fff; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--green); font-family: var(--font-heading); }
.stat-label { display: block; font-size: 0.78rem; color: #c3d1de; margin-top: 2px; }

/* ===== Team highlight ===== */
.team-highlight {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  margin: 2rem 0 2.5rem;
}
.team-text h2 { margin-top: 0; }
.team-text p { margin-bottom: 0; color: var(--text-muted); }
.team-quote {
  margin: 0;
  padding: 20px 22px;
  background: var(--white);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  font-style: italic;
  color: var(--text);
}
.team-quote p { margin: 0 0 10px; }
.team-quote cite { font-style: normal; font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 720px) {
  .team-highlight { grid-template-columns: 1fr; padding: 24px; }
}

/* ===== Service cards ===== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 1.5rem 0 2.5rem;
}
.service-card {
  display: block; background: var(--cream); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; color: var(--text);
}
.service-card:hover { border-color: var(--green); text-decoration: none; box-shadow: 0 8px 20px rgba(15,42,74,0.08); }
.service-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 12px; border-radius: 10px;
  background: rgba(63,161,58,0.1); color: var(--green-dark);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.service-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 1.5rem 0 2.5rem;
}
.step { text-align: left; }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff;
  font-weight: 800; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 1.02rem; }
.step p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

@media (max-width: 720px) {
  .hero-banner { grid-template-columns: 1fr; }
  .hero-van-photo { height: 220px; order: -1; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

/* ===== Photo gallery ===== */
.gallery-section { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.gallery-note { color: var(--text-muted); font-size: 0.88rem; margin-top: -0.5rem; margin-bottom: 1.25rem; }
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.photo-gallery img {
  width: 100%; height: 130px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border);
}
@media (max-width: 720px) {
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
  .photo-gallery img { height: 90px; }
}

/* ===== Reviews ===== */
.reviews-section { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.stars, .stars-big { color: #f5a623; letter-spacing: 1px; }
.stars-big { font-size: 1.4rem; }
.reviews-summary { display: flex; align-items: center; gap: 8px; margin-bottom: 1.25rem; font-size: 1.05rem; color: var(--text); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review-card { background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.review-name { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.review-time { color: var(--text-muted); font-size: 0.8rem; margin-left: 6px; }
.review-text { font-size: 0.88rem; color: var(--text); margin: 0; line-height: 1.55; }
.reviews-source { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; }

.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream); border: 1px solid var(--border); border-radius: 30px;
  padding: 8px 16px; font-size: 0.88rem; margin-top: 1.75rem;
}
.trust-badge a { color: var(--green-dark); font-weight: 600; }

/* ===== Floating contact buttons ===== */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  transition: transform 0.15s ease;
}
.float-btn:hover { transform: scale(1.08); text-decoration: none; }
.float-whatsapp { background: #25d366; }
.float-email { background: var(--navy); }

@media (max-width: 720px) {
  .floating-contact { right: 14px; bottom: 14px; gap: 10px; }
  .float-btn { width: 50px; height: 50px; }
}

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #cdd8e2; margin-top: 40px; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 44px 24px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.footer-col h4 { color: var(--white); font-size: 1rem; margin: 0 0 12px; }
.footer-col a { display: block; color: #a9bdd0; margin-bottom: 8px; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-col p { color: #a9bdd0; font-size: 0.9rem; }
.footer-hours { display: block; color: #a9bdd0; font-size: 0.85rem; margin-top: 8px; }
.footer-logo { margin-bottom: 12px; }
.footer-logo .logo-house, .footer-logo .logo-ie { color: var(--white); }
.footer-tagline { color: var(--green); font-weight: 700; letter-spacing: 0.5px; font-size: 0.85rem; }
.footer-trust { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; }
.footer-trust span { color: #cdd8e2; font-size: 0.82rem; }
.footer-permit { font-size: 0.76rem; color: #7f93a6; line-height: 1.5; margin-top: 10px; }
.footer-permit a { color: var(--green); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #7f93a6;
}

.hero-photo {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 1.75rem;
  display: block;
}

.location-grid {
  columns: 3;
  column-gap: 32px;
  list-style: none;
  padding: 0;
}
.location-grid li { break-inside: avoid; margin-bottom: 0.4rem; }
.location-grid a { color: var(--text); }
.location-grid a:hover { color: var(--green-dark); }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta { font-size: 0.85rem; padding: 8px 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  h1 { font-size: 1.7rem; }
  .location-grid { columns: 1; }
}
@media (max-width: 900px) and (min-width: 721px) {
  .location-grid { columns: 2; }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin: 32px 0;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7e0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.blog-card:hover {
  box-shadow: 0 6px 18px rgba(15, 42, 74, 0.12);
  transform: translateY(-2px);
}
.blog-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 16px 18px 20px;
}
.blog-card-body h3 {
  margin: 4px 0 8px;
  font-size: 1.08rem;
  color: var(--navy);
}
.blog-card-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #4a4f4a;
}
.blog-post-date {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  font-weight: 600;
  margin: 4px 0 0;
}
