/* ===========================================================
   CoCo Gardens & Constructions — main stylesheet
   =========================================================== */

:root {
  --color-primary: #2d6a4f;
  --color-primary-dark: #1b4332;
  --color-primary-light: #74c69d;
  --color-accent: #8a5a2b;
  --color-accent-light: #eadfce;
  --color-bg: #f8f9f6;
  --color-bg-alt: #eef2ea;
  --color-text: #1f2421;
  --color-text-light: #5b6660;
  --color-white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 20px 45px rgba(27, 67, 50, 0.14);
  --container-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--color-text-light); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

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

.section { padding: 88px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
}
.section-dark h2, .section-dark p { color: var(--color-white); }
.section-dark p { opacity: .9; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(45,106,79,.09);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-dark .eyebrow { background: rgba(255,255,255,.14); color: var(--color-primary-light); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(45,106,79,.28);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: var(--color-white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline-dark:hover { background: var(--color-primary); color: var(--color-white); }
.btn-call {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 10px 20px;
  font-size: .9rem;
}
.btn-call:hover { background: var(--color-primary); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,249,246,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27,67,50,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark { width: 42px; height: 48px; color: var(--color-primary); }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.15;
}
.logo-text strong { font-weight: 700; }
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.main-nav {
  display: flex;
  gap: 30px;
  margin: 0 auto;
}
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); border-color: var(--color-primary); }

.nav-item-dropdown { display: flex; align-items: center; position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 40;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-item-dropdown .nav-dropdown-menu a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .9rem;
  border-bottom: none;
  white-space: nowrap;
  color: var(--color-text);
}
.nav-item-dropdown .nav-dropdown-menu a:hover { background: var(--color-bg-alt); color: var(--color-primary); border-color: transparent; }
.nav-dropdown-all {
  margin-top: 4px;
  border-top: 1px solid var(--color-bg-alt) !important;
  padding-top: 12px !important;
  font-weight: 600;
  color: var(--color-primary) !important;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  padding: 4px 8px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  padding: 150px 0 130px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(13,32,23,.94) 0%, rgba(13,32,23,.86) 32%, rgba(13,32,23,.55) 60%, rgba(13,32,23,.18) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.hero .eyebrow { background: rgba(255,255,255,.16); color: var(--color-primary-light); }
.hero-logo-icon { margin: 4px 0 18px; }
.hero-logo-icon .hero-logo-badge {
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.hero-logo-icon img {
  display: block;
  height: 64px;
  width: auto;
}
.hero h1 { color: var(--color-white); margin-bottom: .4em; }
.hero-sub { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 520px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.hero-trust-badge:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }
.hero-trust-badge .stars-mini { color: #ffd166; letter-spacing: 2px; font-size: .78rem; }
.hero-trust-badge .icon { width: 15px; height: 15px; }
@media (max-width: 720px) {
  .hero-logo-icon img { height: 46px; }
}

/* Plain page-header variant of .hero (no background photo) - used on every
   interior page. Overrides the white, image-hero text colors above with
   normal dark-on-light colors so headings are actually readable. */
.hero-plain { overflow: visible; background: none; }
.hero-plain .eyebrow { background: rgba(45,106,79,.09); color: var(--color-primary); }
.hero-plain h1 { color: var(--color-primary-dark); }
.hero-plain .hero-sub { color: var(--color-text-light); }

.trust-bar {
  border-top: 1px solid rgba(27,67,50,.08);
  border-bottom: 1px solid rgba(27,67,50,.08);
  background: var(--color-white);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-primary-dark);
}
.trust-item i { color: var(--color-primary); font-size: 1.3rem; }

/* Cards / grids */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(45,106,79,.1);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card p:last-child { margin-bottom: 0; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  color: var(--color-primary); margin-top: 10px;
}

.service-detail { display: flex; gap: 22px; align-items: flex-start; }
.service-detail .card-icon { flex-shrink: 0; margin-bottom: 0; }

/* About page stat tiles */
.about-stats { margin-top: 48px; }
.stat-tile {
  text-align: center;
  padding: 22px 14px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-primary);
  line-height: 1;
}
.stat-num small { font-size: 1.1rem; font-weight: 600; color: var(--color-text-light); }
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: .88rem;
  color: var(--color-text-light);
}
@media (max-width: 720px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Service area */
.area-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.area-chip {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid rgba(45,106,79,.2);
  color: var(--color-primary-dark);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.4rem;
  color: rgba(45,106,79,.18);
  display: block;
  margin-bottom: 6px;
}

/* Gallery */
.gallery-tile {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow);
}
.gallery-thumb {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.gallery-thumb i { font-size: 2rem; opacity: .85; }
.gallery-thumb span.small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .8rem;
  opacity: .85;
  text-transform: none;
  letter-spacing: 0;
}
.gallery-caption { padding: 16px 20px; }
.gallery-caption h3 { margin-bottom: 2px; font-size: 1.05rem; }
.gallery-caption p { margin: 0; font-size: .88rem; }

/* Real photo tiles (finished-work shots) */
.gallery-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt, #eef1ec);
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-group { margin-bottom: 56px; }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.gallery-group-head h2 { margin: 0; }
.gallery-group-head .card-link { margin-top: 0; }
.gallery-slider-wrap { margin-bottom: 26px; }
.gallery-slider-wrap .compare-slider { max-width: 900px; margin: 0 auto; }
.gallery-slider-caption {
  text-align: center;
  font-size: .88rem;
  color: var(--color-text-light);
  margin-top: 12px;
}
.gallery-group-note {
  text-align: center;
  font-size: .9rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 20px;
}
.gallery-tile { position: relative; }
.photo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(20,30,25,.72);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.photo-tag-natural { background: rgba(45,106,79,.88); }
.photo-tag-construction { background: rgba(181,109,26,.9); }
.gallery-subhead {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-primary-dark, var(--color-primary));
  margin: 30px 0 14px;
}
.gallery-subhead:first-of-type { margin-top: 0; }

.tone-1 { background: linear-gradient(135deg,#2d6a4f,#74c69d); }
.tone-2 { background: linear-gradient(135deg,#8a5a2b,#c99b62); }
.tone-3 { background: linear-gradient(135deg,#1b4332,#40916c); }
.tone-4 { background: linear-gradient(135deg,#52796f,#84a98c); }
.tone-5 { background: linear-gradient(135deg,#6f4720,#a97142); }
.tone-6 { background: linear-gradient(135deg,#354f52,#5a7d7c); }

.notice-banner {
  background: var(--color-accent-light);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.notice-banner i { color: var(--color-accent); font-size: 1.3rem; margin-top: 2px; }
.notice-banner p { margin: 0; color: #5a4326; }

/* CTA banner */
.cta-banner {
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }

/* Testimonial-style quote (generic, editable) */
.quote-block {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.quote-block i { color: var(--color-primary-light); font-size: 2rem; }
.quote-block p { font-size: 1.15rem; color: var(--color-text); font-style: italic; }
.quote-block .who { font-family: var(--font-heading); font-weight: 600; color: var(--color-primary-dark); font-style: normal; }

/* Trust badges + real reviews (MyBuilder / Checkatrade) */
.stars { color: #e8a33d; font-size: 1.05rem; letter-spacing: 3px; line-height: 1; }
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  text-decoration: none;
  height: 100%;
}
.trust-badge-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 72px;
  width: 100%;
}
.trust-badge .card-icon { margin-bottom: 0; }
.trust-badge-score {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-primary-dark);
  line-height: 1.1;
}
.trust-badge-score small { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--color-text-light); }
.trust-badge-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  color: var(--color-text);
  min-height: 24px;
  display: flex;
  align-items: center;
}
.trust-badge-sub { font-size: .85rem; color: var(--color-text-light); flex-grow: 1; }
.trust-badge-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .85rem;
  color: var(--color-primary);
  margin-top: auto;
  padding-top: 6px;
}

.review-quote .stars { margin-bottom: 14px; }
.review-quote p { font-style: italic; color: var(--color-text); }
.review-quote .who { font-family: var(--font-heading); font-weight: 600; color: var(--color-primary-dark); margin-top: 12px; font-size: .92rem; }

/* Review carousel */
.review-carousel { position: relative; max-width: 900px; margin: 0 auto; }
.review-viewport { overflow: hidden; touch-action: pan-y; overscroll-behavior-x: none; }
.review-track { display: flex; transition: transform .45s ease; user-select: none; }
.review-slide { flex: 0 0 100%; padding: 4px 8px; }
.review-slide .review-quote { max-width: 640px; margin: 0 auto; min-height: 190px; display: flex; flex-direction: column; justify-content: center; }
.review-slide .review-quote p { font-size: 1.1rem; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(45,106,79,.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.carousel-dot.active { background: var(--color-primary); transform: scale(1.25); }
@media (max-width: 900px) {
  .review-slide .review-quote { padding: 30px 50px; }
}

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 4px 26px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding-bottom: 22px; margin: -6px 0 0; color: var(--color-text-light); }

/* Footer trust badges */
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.footer-badge:hover { background: rgba(255,255,255,.18); color: var(--color-white); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: flex-start; }
.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item i {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(45,106,79,.1); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item h3 { margin-bottom: 2px; font-size: 1rem; }
.contact-info-item p { margin: 0; }

.form-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 6px;
  color: var(--color-primary-dark);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #dfe6df;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-size: .82rem; color: var(--color-text-light); margin-top: 12px; }
.form-success {
  display: none;
  background: rgba(45,106,79,.1);
  border: 1px solid var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-success.show { display: block; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 24px;
  aspect-ratio: 16/7;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.85);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-inner h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 16px; }
.site-footer .logo-text, .site-footer .logo-text small { color: var(--color-white); }
.site-footer .logo-text small { color: rgba(255,255,255,.6); }
.footer-brand p { color: rgba(255,255,255,.7); margin-top: 14px; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.75); transition: color .15s ease; }
.footer-links a:hover { color: var(--color-white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.75); }
.footer-contact i { color: var(--color-primary-light); margin-top: 3px; }
.footer-bottom {
  padding: 20px 0 30px;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* Responsive */
@media (max-width: 980px) {
  .hero { padding: 110px 0 90px; background-position: center 30%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(13,32,23,.7), rgba(13,32,23,.88) 55%, rgba(13,32,23,.94)); }
  .hero-inner { max-width: 100%; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav a { padding: 16px 24px; border-bottom: 1px solid var(--color-bg-alt); }
  .nav-item-dropdown { display: block; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: var(--color-bg-alt);
    min-width: 0;
    padding: 0;
  }
  .nav-item-dropdown .nav-dropdown-menu a {
    padding: 12px 24px 12px 40px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    font-size: .88rem;
    border-radius: 0;
  }
  .nav-dropdown-all { border-top: none !important; margin-top: 0; }
  .nav-toggle { display: block; }
  .header-actions .btn-call span.call-text { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { flex-direction: column; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}


/* Before/After compare slider */
.compare-slider {
  position: relative;
  aspect-ratio: 16/8.5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: none;
}
.compare-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare-before { clip-path: inset(0 50% 0 0); }
.compare-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none;
}
.compare-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); pointer-events: none;
  color: var(--color-primary-dark); font-size: 1.1rem;
}
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none;
}
.compare-tag {
  position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: .8rem;
  color: #fff; background: rgba(0,0,0,.55); z-index: 2; pointer-events: none;
}
.compare-tag-before { left: 16px; }
.compare-tag-after { right: 16px; }


/* Real client logo image (replaces the old hand-drawn SVG mark) */
.logo-img {
  height: 50px;
  width: auto;
  display: block;
}
.site-footer .logo-img {
  height: 44px;
}
.logo-badge {
  display: inline-block;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 14px;
  line-height: 0;
}
@media (max-width: 640px) {
  .logo-img { height: 38px; }
  .site-footer .logo-img { height: 36px; }
}


/* Logo split into icon + wordmark (two separate real-logo assets) */
.logo-icon-img {
  height: 46px;
  width: auto;
  display: block;
}
.logo-text-img {
  height: 42px;
  width: auto;
  display: block;
}
.site-footer .logo-icon-img {
  height: 40px;
}
.site-footer .logo-text-img {
  height: 34px;
}
@media (max-width: 640px) {
  .logo-icon-img { height: 38px; }
  .logo-text-img { height: 32px; }
  .site-footer .logo-icon-img { height: 34px; }
  .site-footer .logo-text-img { height: 28px; }
}


/* Self-hosted inline SVG icon set (replaces Font Awesome - no external
   font/CDN dependency, so icons always render, in any browser and in any
   preview sandbox). */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Whole-card clickable service cards (card itself is now an <a>) */
a.card, a.card.service-detail {
  display: block;
  cursor: pointer;
}
a.card:hover .card-link,
a.card.service-detail:hover .card-link {
  color: var(--color-primary-dark);
}
a.card:hover .card-link .icon,
a.card.service-detail:hover .card-link .icon {
  transform: translateX(3px);
}
.card-link .icon { transition: transform .15s ease; }
