/* ═══════════════════════════════════════════════════════════
   Cosy Deals — Comparison Landing Page
   Matches cosydeals.com.au brand style exactly:
   - Poppins font (loaded by site — do NOT re-import)
   - Orange gradient: #FB8700 → #F5583E
   - Green accents: #22C55E
   - White/light-gray sections, dark hero only
   - All classes prefixed .cd- to avoid site CSS conflicts
═══════════════════════════════════════════════════════════ */

/* ─── Design tokens ─── */
:root {
  --cd-orange-start: #FB8700;
  --cd-orange-end:   #F5583E;
  --cd-gradient:     linear-gradient(-90deg, #FB8700 0%, #F5583E 100%);
  --cd-green:        #22C55E;
  --cd-green-bg:     #F0FBF4;
  --cd-dark:         #1E2028;
  --cd-dark2:        #2D2F3A;
  --cd-white:        #FFFFFF;
  --cd-bg:           #F8F8F8;
  --cd-bg2:          #F2F3F5;
  --cd-text:         #1A1A1A;
  --cd-muted:        #6B7280;
  --cd-border:       #E5E7EB;
  --cd-shadow:       0 2px 16px rgba(0,0,0,0.08);
  --cd-shadow-md:    0 4px 24px rgba(0,0,0,0.12);
  --cd-radius:       10px;
  --cd-radius-sm:    6px;
  --cd-max:          1160px;
  --cd-pad-section:  72px;
}

/* ─── Scoped base reset ─── */
.cd-landing, .cd-landing * { box-sizing: border-box; }
.cd-landing section { font-family: "Poppins", sans-serif; }
.cd-landing img { max-width: 100%; }
.cd-landing a { text-decoration: none; }
.cd-landing p { margin: 0; }
.cd-landing h1, .cd-landing h2, .cd-landing h3,
.cd-landing h4 { margin: 0; line-height: 1.2; }
.cd-landing ul { list-style: none; padding: 0; margin: 0; }

/* ─── Container ─── */
.cd-container {
  max-width: var(--cd-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section heading block ─── */
.cd-section-head {
  text-align: center;
  margin-bottom: 44px;
}
.cd-section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cd-text);
  margin: 10px 0 12px;
}
.cd-section-desc {
  font-size: 0.95rem;
  color: var(--cd-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── Pill labels ─── */
.cd-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 4px 12px;
  background: var(--cd-green-bg);
  color: #16A34A;
}
.cd-pill--dark {
  background: rgba(30,32,40,0.08);
  color: var(--cd-dark2);
}
.cd-pill--light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}
.cd-pill--price {
  background: rgba(251,135,0,0.18);
  color: #FB8700;
  border: 1px solid rgba(251,135,0,0.3);
  font-size: 0.72rem;
}

/* ─── Buttons ─── */
.cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--cd-radius-sm);
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.18s, transform 0.15s, box-shadow 0.18s;
  white-space: nowrap;
}
.cd-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cd-btn:active { transform: translateY(0); }

.cd-btn--primary {
  background: var(--cd-gradient);
  color: #fff;
  box-shadow: 0 2px 12px rgba(245,88,62,0.3);
}
.cd-btn--primary:hover { box-shadow: 0 4px 20px rgba(245,88,62,0.4); }

.cd-btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.9);
}
.cd-btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

.cd-btn--outline-dark {
  background: transparent;
  border-color: var(--cd-dark2);
  color: var(--cd-dark2);
}
.cd-btn--outline-dark:hover { background: var(--cd-dark2); color: #fff; }

/* For use on dark card backgrounds */
.cd-btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
}
.cd-btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}

.cd-btn--tp {
  background: #00B67A;
  color: #fff;
  font-size: 0.78rem;
}
.cd-btn--sm { padding: 9px 18px; font-size: 0.78rem; }
.cd-btn--full { width: 100%; }

/* ─── Green check icon (circles) ─── */
.cd-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cd-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Dot for trust row ─── */
.cd-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cd-green);
  margin-right: 6px;
  vertical-align: middle;
}

/* ─── Image placeholder ─── */
.cd-placeholder {
  background: #EAECF0;
  border: 2px dashed #C9CDD5;
  border-radius: var(--cd-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.cd-placeholder__icon {
  font-size: 2rem;
  opacity: 0.45;
}
.cd-placeholder__label {
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  color: #8892A4;
  text-align: center;
  line-height: 1.5;
}
.cd-placeholder--video {
  min-height: 300px;
  border-radius: var(--cd-radius);
  background: #1E2028;
  border-color: rgba(255,255,255,0.12);
}
.cd-placeholder--video .cd-placeholder__icon { opacity: 0.2; font-size: 3rem; }
.cd-placeholder--video .cd-placeholder__label { color: rgba(255,255,255,0.3); }

.cd-placeholder--cert {
  width: 100px;
  height: 64px;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F2F3F5;
  border-color: #DEE0E4;
  border-radius: 6px;
}

/* Table header image placeholder */
.cd-placeholder--th {
  min-height: 80px;
  background: rgba(255,255,255,0.05);
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
}

/* Pricing card image placeholder */
.cd-placeholder--pricing {
  aspect-ratio: 16/9;
  min-height: 160px;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}
.cd-placeholder--pricing .cd-placeholder__icon { font-size: 2.5rem; }

/* Installation photo placeholders */
.cd-install__placeholder {
  aspect-ratio: 1;
  min-height: unset;
}


/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#cd-hero {
  position: relative;
  overflow: hidden;
  background: var(--cd-dark2);
}
.cd-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.45) saturate(0.8);
}
.cd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(30,32,40,0.92) 45%, rgba(30,32,40,0.55) 100%);
}
.cd-hero__wrap {
  position: relative;
  z-index: 1;
  max-width: var(--cd-max);
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  min-height: 500px;
}
.cd-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* prevents flex children from stretching to full width */
  gap: 20px;
  max-width: 540px;
}
.cd-hero__content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.cd-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}
.cd-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cd-hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.cd-trust-item {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
}

/* Mini-cards on right side of hero */
.cd-hero__mini-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cd-mini-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 160px;
  text-align: center;
}
.cd-mini-card__num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cd-orange-start);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cd-mini-card__txt {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
#cd-stats {
  background: var(--cd-white);
  border-bottom: 1px solid var(--cd-border);
}
.cd-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}
.cd-stat {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid var(--cd-border);
}
.cd-stat:last-child { border-right: none; }
.cd-stat__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cd-text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cd-stat__label {
  display: block;
  font-size: 0.78rem;
  color: var(--cd-muted);
  margin-top: 6px;
}


/* ═══════════════════════════════════════════════
   BEFORE / AFTER
═══════════════════════════════════════════════ */
#cd-before-after {
  background: var(--cd-bg);
  padding: var(--cd-pad-section) 0;
}
.cd-ba__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}
.cd-ba__features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cd-ba__feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cd-ba__feature div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cd-ba__feature strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cd-text);
}
.cd-ba__feature span {
  font-size: 0.85rem;
  color: var(--cd-muted);
  line-height: 1.55;
}
.cd-ba__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cd-ba__photo-wrap {
  position: relative;
  border-radius: var(--cd-radius);
  overflow: hidden;
}
.cd-ba__photo-wrap img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.cd-ba__photo-placeholder {
  aspect-ratio: 3/2;
}
.cd-ba__tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.cd-ba__tag--before { background: rgba(0,0,0,0.65); color: #fff; }
.cd-ba__tag--after  { background: var(--cd-gradient); color: #fff; }


/* ═══════════════════════════════════════════════
   INSTALLATIONS + REVIEW
═══════════════════════════════════════════════ */
#cd-installations {
  background: var(--cd-white);
  padding: var(--cd-pad-section) 0;
}
.cd-install__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}
.cd-install__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cd-install__photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--cd-radius);
  display: block;
  transition: transform 0.4s ease;
}
.cd-install__photos img:hover { transform: scale(1.03); }
.cd-review {
  background: var(--cd-bg);
  border-radius: var(--cd-radius);
  padding: 28px;
  border-left: 4px solid var(--cd-orange-end);
}
.cd-review__stars {
  font-size: 1.1rem;
  color: #F59E0B;
  margin-bottom: 12px;
}
.cd-review__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--cd-text);
  font-style: italic;
  margin-bottom: 12px;
}
.cd-review__author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cd-muted);
  display: block;
  margin-bottom: 14px;
}
.cd-review__tp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--cd-muted);
}


/* ─── Table highlight pills above ─── */
.cd-table-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.cd-table-hl {
  display: inline-block;
  background: var(--cd-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════
   COMPARISON TABLE
═══════════════════════════════════════════════ */
#cd-comparison {
  background: var(--cd-bg);
  padding: var(--cd-pad-section) 0;
}
.cd-table-wrap {
  overflow-x: auto;
  border-radius: var(--cd-radius);
  box-shadow: var(--cd-shadow-md);
}
.cd-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cd-white);
  font-size: 0.875rem;
  min-width: 600px;
}

/* Header row */
.cd-table thead tr {
  background: var(--cd-dark2);
}
.cd-table__th-cat {
  padding: 16px 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: left;
  width: 140px;
  vertical-align: middle;
}
.cd-table__th-us {
  padding: 0 0 16px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  vertical-align: bottom;
  background: linear-gradient(180deg, rgba(251,135,0,0.22) 0%, rgba(245,88,62,0.12) 100%);
  width: 52%;
}
.cd-table__th-them {
  padding: 18px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-align: left;
  vertical-align: middle;
}

/* Image slot inside Cosy Deals header */
.cd-table__th-img {
  margin-bottom: 14px;
}
.cd-table__th-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
}
.cd-table__logo {
  height: 18px;
  vertical-align: middle;
}

/* Body rows */
.cd-table tbody tr {
  border-bottom: 1px solid var(--cd-border);
  transition: background 0.15s;
}
.cd-table tbody tr:last-child { border-bottom: none; }
.cd-table tbody tr:hover { background: #FFF8F4; }
.cd-table td {
  padding: 14px 20px;
  vertical-align: middle;
  line-height: 1.55;
}
.cd-table__cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cd-muted);
  white-space: nowrap;
}
.cd-table__us {
  color: var(--cd-text);
  font-weight: 500;
  border-left: 3px solid var(--cd-orange-end);
  background: rgba(34,197,94,0.04);
}
.cd-table tbody tr:nth-child(even) .cd-table__us {
  background: rgba(34,197,94,0.07);
}
.cd-table__them {
  color: #9CA3AF;
  font-size: 0.85rem;
}

/* Inline check/cross icons */
.cd-table__check,
.cd-table__cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.cd-table__check {
  background: var(--cd-green);
  color: #fff;
}
.cd-table__cross {
  background: #EDEEF0;
  color: #9CA3AF;
}

/* Score row */
.cd-table__score-row {
  background: var(--cd-dark2) !important;
}
.cd-table__score-row td {
  padding: 18px 20px;
}
.cd-table__us--score {
  background: linear-gradient(90deg, rgba(251,135,0,0.3) 0%, rgba(245,88,62,0.2) 100%) !important;
  border-left: 3px solid var(--cd-orange-end);
}
.cd-table__us--score strong {
  color: var(--cd-orange-start);
  font-size: 1.05rem;
  font-weight: 700;
}
.cd-table__them--score {
  color: rgba(255,255,255,0.25) !important;
  font-size: 0.85rem;
}


/* ═══════════════════════════════════════════════
   CTA CARD
═══════════════════════════════════════════════ */
#cd-cta {
  background: var(--cd-white);
  padding: 48px 0;
}
.cd-cta__card {
  background: var(--cd-dark2);
  border-radius: 14px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cd-cta__card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cd-cta__card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cd-cta__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════ */
#cd-features {
  background: var(--cd-bg);
  padding: var(--cd-pad-section) 0;
}
.cd-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cd-feature {
  background: var(--cd-white);
  border-radius: var(--cd-radius);
  padding: 28px 24px;
  box-shadow: var(--cd-shadow);
  border: 1px solid var(--cd-border);
  transition: box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.cd-feature:hover { box-shadow: var(--cd-shadow-md); }
.cd-feature__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cd-bg2);
  position: absolute;
  top: 8px;
  right: 16px;
  line-height: 1;
  user-select: none;
  letter-spacing: -0.03em;
}
.cd-feature h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cd-text);
  margin-bottom: 10px;
  line-height: 1.35;
  position: relative;
}
.cd-feature p {
  font-size: 0.82rem;
  color: var(--cd-muted);
  line-height: 1.6;
}
.cd-feature__badge {
  margin-top: 16px;
  background: var(--cd-dark2);
  color: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cd-feature__badge strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cd-orange-start);
}
.cd-feature__badge span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  line-height: 1.3;
}


/* ═══════════════════════════════════════════════
   PRICING (How We Keep Prices Lower)
═══════════════════════════════════════════════ */
#cd-pricing {
  background: var(--cd-white);
  padding: var(--cd-pad-section) 0;
}
.cd-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cd-pricing-card {
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius);
  overflow: hidden;
  background: var(--cd-white);
  box-shadow: var(--cd-shadow);
  transition: box-shadow 0.2s;
}
.cd-pricing-card:hover { box-shadow: var(--cd-shadow-md); }
.cd-pricing-card__img { position: relative; overflow: hidden; }
.cd-pricing-card__body { padding: 24px; }
.cd-pricing-card__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cd-orange-end);
  display: block;
  margin-bottom: 8px;
}
.cd-pricing-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cd-text);
  margin-bottom: 8px;
}
.cd-pricing-card p {
  font-size: 0.85rem;
  color: var(--cd-muted);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════
   PRODUCTS
═══════════════════════════════════════════════ */
#cd-products {
  background: var(--cd-bg);
  padding: var(--cd-pad-section) 0;
}
.cd-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cd-product-card {
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius);
  overflow: hidden;
  box-shadow: var(--cd-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cd-product-card:hover {
  box-shadow: var(--cd-shadow-md);
  transform: translateY(-2px);
}
.cd-product-card__img {
  position: relative;
  overflow: hidden;
}
.cd-product-card__img .cd-placeholder {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}
.cd-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cd-gradient);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 100px;
}
.cd-product-card__body { padding: 20px; }
.cd-product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cd-text);
  margin-bottom: 6px;
}
.cd-product-card p {
  font-size: 0.82rem;
  color: var(--cd-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.cd-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cd-product-card__price {
  font-size: 0.82rem;
  color: var(--cd-muted);
}
.cd-product-card__price strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cd-orange-end);
}


/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
#cd-testimonials {
  background: var(--cd-white);
  padding: var(--cd-pad-section) 0;
}
.cd-testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cd-testi {
  background: var(--cd-bg);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.cd-testi--photo {
  padding: 0;
  overflow: hidden;
  min-height: 220px;
}
.cd-testi--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cd-testi--photo .cd-placeholder {
  height: 100%;
  min-height: 220px;
  border-radius: var(--cd-radius);
  border: 2px dashed #C9CDD5;
}
.cd-testi__stars {
  font-size: 0.95rem;
  color: #F59E0B;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.cd-testi p {
  font-size: 0.85rem;
  color: var(--cd-text);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}
.cd-testi__author {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cd-muted);
  margin-top: 14px;
}


/* ═══════════════════════════════════════════════
   TRUSTPILOT BAR
═══════════════════════════════════════════════ */
#cd-review-highlight {
  background: var(--cd-bg);
  padding: 28px 0;
  border-top: 1px solid var(--cd-border);
  border-bottom: 1px solid var(--cd-border);
}
.cd-tp-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cd-tp-bar__logo { height: 28px; }
.cd-tp-bar__stars { font-size: 1.2rem; color: #00B67A; }
.cd-tp-bar__text { font-size: 0.88rem; color: var(--cd-muted); }
.cd-tp-bar__text strong { color: var(--cd-text); }


/* ═══════════════════════════════════════════════
   VIDEO
═══════════════════════════════════════════════ */
#cd-video {
  background: var(--cd-dark);
  padding: var(--cd-pad-section) 0;
}
#cd-video .cd-section-head h2 { color: #fff; }
#cd-video .cd-section-desc { color: rgba(255,255,255,0.55); }
.cd-video-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--cd-radius);
  overflow: hidden;
  cursor: pointer;
}
.cd-video-wrap iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}
.cd-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s, background 0.2s;
}
.cd-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}
.cd-play-btn svg { color: var(--cd-orange-end); }


/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
#cd-contact {
  background: var(--cd-bg);
  padding: var(--cd-pad-section) 0;
}
.cd-contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cd-contact__left h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cd-text);
  margin: 10px 0 14px;
}
.cd-contact__left > p {
  font-size: 0.9rem;
  color: var(--cd-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.cd-contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cd-contact__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--cd-text);
  font-weight: 500;
}
.cd-contact__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cd-contact__info p {
  font-size: 0.85rem;
  color: var(--cd-muted);
}
.cd-contact__info a {
  color: var(--cd-orange-end);
  font-weight: 500;
}
.cd-form {
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius);
  padding: 32px;
  box-shadow: var(--cd-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cd-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cd-form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cd-form__field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cd-text);
  letter-spacing: 0.02em;
}
.cd-form input,
.cd-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-sm);
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  color: var(--cd-text);
  background: var(--cd-white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.cd-form input::placeholder,
.cd-form textarea::placeholder { color: #B0B7C3; }
.cd-form input:focus,
.cd-form textarea:focus {
  border-color: var(--cd-orange-end);
  box-shadow: 0 0 0 3px rgba(245,88,62,0.1);
}
.cd-form textarea { resize: vertical; }


/* ═══════════════════════════════════════════════
   CERTS
═══════════════════════════════════════════════ */
#cd-certs {
  background: var(--cd-white);
  padding: 32px 0;
  border-top: 1px solid var(--cd-border);
}
.cd-certs__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cd-certs__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cd-muted);
  white-space: nowrap;
}
.cd-certs__logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cd-cert {
  display: flex;
  align-items: center;
}


/* ═══════════════════════════════════════════════
   SCROLL REVEAL (set by JS)
═══════════════════════════════════════════════ */
.cd-landing section {
  transition: opacity 0.55s ease, transform 0.55s ease;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --cd-pad-section: 48px; }

  .cd-section-head h2 { font-size: 1.5rem; }

  /* Hero */
  .cd-hero__wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: unset;
  }
  .cd-hero__content h1 { font-size: 2.2rem; }
  .cd-hero__mini-cards { flex-direction: row; flex-wrap: wrap; }
  .cd-mini-card { flex: 1; min-width: 120px; }
  .cd-hero__trust { gap: 12px; }

  /* Stats */
  .cd-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cd-stat:nth-child(2n) { border-right: none; }
  .cd-stat:nth-child(1),
  .cd-stat:nth-child(2) { border-bottom: 1px solid var(--cd-border); }

  /* Before/after */
  .cd-ba__grid { grid-template-columns: 1fr; }
  .cd-ba__photos { grid-template-columns: 1fr 1fr; }

  /* Installations */
  .cd-install__layout { grid-template-columns: 1fr; }
  .cd-install__photos { grid-template-columns: repeat(3, 1fr); }

  /* Features */
  .cd-features__grid { grid-template-columns: repeat(2, 1fr); }
  .cd-feature__num { font-size: 2.2rem; }

  /* Pricing / Products */
  .cd-pricing__grid { grid-template-columns: 1fr; }
  .cd-products__grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .cd-testi__grid { grid-template-columns: 1fr; }
  .cd-testi--photo { min-height: 180px; }

  /* CTA */
  .cd-cta__card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .cd-cta__actions { justify-content: center; }

  /* Contact */
  .cd-contact__layout { grid-template-columns: 1fr; gap: 32px; }
  .cd-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --cd-pad-section: 36px; }

  /* Section headings — remove manual <br> breaks, let text flow naturally */
  .cd-section-head h2 { font-size: 1.35rem; }
  .cd-section-head h2 br { display: none; }
  .cd-section-desc { font-size: 0.88rem; }

  /* Hero */
  .cd-hero__wrap { padding: 32px 16px; }
  .cd-hero__content h1 { font-size: 2rem; line-height: 1.1; }
  .cd-hero__actions { flex-direction: column; }
  .cd-hero__actions .cd-btn { width: 100%; text-align: center; justify-content: center; }

  /* Mini-cards: 3 in a row, compact */
  .cd-hero__mini-cards { flex-direction: row; gap: 8px; }
  .cd-mini-card {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
  }
  .cd-mini-card__num { font-size: 1.05rem; }
  .cd-mini-card__txt { font-size: 0.58rem; }

  /* Trust row */
  .cd-hero__trust { flex-direction: column; gap: 6px; }

  /* Stats: 2 columns, compact */
  .cd-stat { padding: 20px 12px; }
  .cd-stat__num { font-size: 1.6rem; }

  /* Before/after: single column photos */
  .cd-ba__photos { grid-template-columns: 1fr; }

  /* Installations: 2 columns */
  .cd-install__photos { grid-template-columns: 1fr 1fr; }

  /* Table: scrollable — don't squish, let it scroll horizontally */
  .cd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--cd-radius); }
  .cd-table { min-width: 500px; font-size: 0.8rem; }
  .cd-table td { padding: 10px 14px; }
  .cd-table__th-img { display: none; }   /* hide photo placeholder in header on mobile */
  .cd-table__th-us { padding: 12px 14px; width: 55%; }
  .cd-table__th-them { padding: 12px 14px; }
  .cd-table__th-cat { display: none; }
  .cd-table__cat { display: none; }

  /* Features: single column */
  .cd-features__grid { grid-template-columns: 1fr; }

  /* Products on mobile: keep single col but tighten */
  .cd-products__grid { grid-template-columns: 1fr; }

  /* Testimonials: tighter */
  .cd-testi--photo { min-height: 160px; }

  /* CTA: tighter padding */
  .cd-cta__card { padding: 28px 20px; }

  /* Contact: reduce form padding */
  .cd-form { padding: 20px 16px; }

  /* Certs: center */
  .cd-certs__inner { justify-content: center; }
}
