/* ═══════════════════════════════════════════════════════════
   PY INTERIORS — new-sections.css
   Styles for the new 2026 sections:
   trust strip · local project showcase · home types · pricing
   estimator · why PY · team · what-happens-next (enquiry) ·
   case study detail page
   Palette matches style.css: --red #eb543f, --teal #435964,
   --gold #c9a96e, --ivory #f5ede4, --dark #1a1208
══════════════════════════════════════════════════════════════ */

/* ── TRUST STRIP (home, after hero) ────────────────────────── */
.trust-strip {
  padding: 70px 0 78px;
  background: var(--ivory);
  border-bottom: 1px solid rgba(201, 169, 110, 0.18);
}
.trust-strip .section-header {
  margin-bottom: 44px;
}
.trust-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trust-point {
  position: relative;
  background: #fff;
  border: 1px solid rgba(67, 89, 100, 0.1);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  text-align: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.trust-point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.trust-point:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26, 18, 8, 0.08);
  border-color: rgba(235, 84, 63, 0.35);
}
.trust-point:hover::before {
  transform: scaleX(1);
}
.trust-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ivory2);
  color: var(--red);
  font-size: 22px;
}
.trust-point h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.trust-point p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* Google rating banner (trust proof) */
.trust-google {
  margin-top: 44px;
}
.trust-google .tg-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(67, 89, 100, 0.12);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: 0 18px 40px rgba(26, 18, 8, 0.07);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.trust-google .tg-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(26, 18, 8, 0.12);
}
.tg-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(67, 89, 100, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #4285f4;
}
.tg-stars {
  color: #fbbc05;
  font-size: 13px;
  letter-spacing: 2px;
  display: flex;
  gap: 1px;
}
.tg-rating {
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
}
.tg-rating strong {
  font-family: var(--font-display);
  font-size: 20px;
}
.tg-sep {
  width: 1px;
  height: 26px;
  background: rgba(67, 89, 100, 0.18);
}
.tg-reviews {
  font-size: 13.5px;
  color: var(--muted);
}
.tg-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tg-link i {
  transition: transform 0.25s;
}
.trust-google .tg-inner:hover .tg-link i {
  transform: translateX(4px);
}

/* ── LOCAL PROJECT SHOWCASE (home, after trust) ────────────── */
.local-showcase {
  padding: 100px 0 110px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.local-showcase .section-eyebrow {
  color: var(--gold);
}
.local-showcase .section-title {
  color: var(--ivory);
}
.local-showcase .section-desc {
  color: rgba(245, 237, 228, 0.75);
}
.showcase-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.showcase-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark2);
  display: block;
  min-height: 320px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}
.showcase-card .sc-img {
  position: absolute;
  inset: 0;
}
.showcase-card .sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.showcase-card:hover .sc-img img {
  transform: scale(1.07);
}
.showcase-card .sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 18, 8, 0.02) 30%, rgba(26, 18, 8, 0.88) 100%);
}
.showcase-card .sc-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 20px 22px;
  z-index: 2;
}
.showcase-card .sc-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.showcase-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.25;
}
.showcase-card .sc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.showcase-card .sc-meta span {
  font-size: 11px;
  color: var(--ivory);
  background: rgba(245, 237, 228, 0.14);
  border: 1px solid rgba(245, 237, 228, 0.22);
  border-radius: 20px;
  padding: 4px 10px;
}
.showcase-more {
  text-align: center;
  margin-top: 46px;
}

/* ── HOME TYPE SOLUTIONS (home, after services) ────────────── */
.section-hometypes {
  padding: 110px 0 118px;
  background: var(--ivory);
}
.hometype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.hometype-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(67, 89, 100, 0.12);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.hometype-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(26, 18, 8, 0.09);
}
.hometype-card .ht-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-size: 24px;
}
.hometype-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.hometype-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 18px;
}
.hometype-card .ht-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hometype-card .ht-link i {
  transition: transform 0.3s var(--ease);
}
.hometype-card .ht-link:hover i {
  transform: translateX(5px);
}

/* ── INDICATIVE PRICING / ESTIMATOR (home, before process) ─── */
.section-pricing {
  padding: 110px 0 118px;
  background: var(--ivory2);
  position: relative;
  overflow: hidden;
}
.section-pricing::before {
  content: "BUDGET";
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: clamp(90px, 12vw, 180px);
  color: rgba(67, 89, 100, 0.05);
  font-weight: 700;
  pointer-events: none;
  line-height: 1;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pricing-copy .section-title {
  font-size: clamp(30px, 3.4vw, 50px);
}
.pricing-copy ul {
  margin: 22px 0 28px;
}
.pricing-copy ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--dark);
  font-weight: 300;
  padding: 7px 0;
}
.pricing-copy ul li i {
  color: var(--red);
}

/* Google rating proof strip under the pricing copy */
.pricing-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(67, 89, 100, 0.14);
}
.gp-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #4285f4;
  box-shadow: 0 4px 14px rgba(26, 18, 8, 0.1);
}
.gp-stars {
  color: #fbbc05;
  font-size: 13px;
  letter-spacing: 2px;
  display: flex;
  gap: 1px;
}
.gp-rating {
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
}
.gp-rating strong {
  font-family: var(--font-display);
  font-size: 18px;
}
.gp-reviews {
  font-size: 12px;
  color: var(--muted);
  width: 100%;
}

/* ── Estimator card ── */
.estimator {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 30px;
  box-shadow: 0 24px 50px rgba(26, 18, 8, 0.12);
  position: relative;
}
.est-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.est-badge {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(235, 84, 63, 0.35);
}
.est-head-copy h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
  line-height: 1.2;
}
.est-head-copy .est-sub {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.estimator .form-group {
  margin-bottom: 18px;
}
.estimator label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.estimator select,
.estimator input[type="range"] {
  width: 100%;
}

/* Property type chips (radio segmented) */
.est-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.est-types input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.est-types label {
  margin: 0;
  cursor: pointer;
  border: 1.5px solid var(--ivory2);
  border-radius: 14px;
  background: var(--ivory);
  text-align: center;
  transition: all 0.2s;
}
.est-types label span {
  display: block;
  padding: 11px 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.2s;
}
.est-types input:checked + label {
  border-color: var(--red);
  background: var(--red);
}
.est-types input:checked + label span {
  color: #fff;
}

.est-slider-topper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.est-slider-topper strong {
  font-size: 17px;
  color: var(--red);
}
.estimator input[type="range"] {
  -webkit-appearance: none;
  height: 3px;
  border-radius: 2px;
  outline: none;
  border: none;
  padding: 0;
  background: linear-gradient(to right, var(--red) 0%, var(--ivory2) 0%);
}
.estimator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--ivory);
  box-shadow: 0 2px 8px rgba(235, 84, 63, 0.4);
  transition: transform 0.2s;
}
.estimator input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.28);
}
.est-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.est-result {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--dark) 0%, #2e3a42 100%);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.est-result::before {
  content: "\f0d6";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  bottom: -12px;
  font-size: 74px;
  color: rgba(245, 237, 228, 0.05);
}
.est-result-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 237, 228, 0.6);
  margin-bottom: 6px;
}
.est-result .est-range {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}
.est-result .est-note {
  font-size: 12px;
  color: rgba(245, 237, 228, 0.7);
  margin-top: 8px;
  line-height: 1.6;
}
.est-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.est-actions .btn-primary {
  flex: 1;
  justify-content: center;
}
.est-disclaimer {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.6;
}

/* ── WHY PY (home, before testimonials) ────────────────────── */
.section-whypy {
  padding: 110px 0 118px;
  background: var(--ivory);
}
.whypy-features {
  list-style: none;
  max-width: 820px;
  margin: 44px auto 0;
}
.whypy-features li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(67, 89, 100, 0.14);
}
.whypy-features li:last-child {
  border-bottom: none;
}
.whypy-features .wp-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-size: 19px;
}
.whypy-features h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}
.whypy-features p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.whypy-cta {
  text-align: center;
  margin-top: 46px;
}

/* ── TEAM (home, before final CTA) ─────────────────────────── */
.section-team {
  padding: 110px 0 118px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.section-team::before {
  content: "OUR PEOPLE";
  position: absolute;
  left: -20px;
  top: -20px;
  font-family: var(--font-display);
  font-size: clamp(70px, 10vw, 150px);
  color: rgba(245, 237, 228, 0.04);
  font-weight: 700;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}
.section-team .section-eyebrow {
  color: var(--gold);
}
.section-team .section-title {
  color: var(--ivory);
}
.section-team .section-desc {
  color: rgba(245, 237, 228, 0.75);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.team-card {
  background: var(--dark2);
  border: 1px solid rgba(245, 237, 228, 0.08);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.5);
}
.team-card .tm-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-size: 30px;
}
.team-card .tm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 4px;
}
.team-card .tm-role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card p {
  font-size: 13px;
  color: rgba(245, 237, 228, 0.65);
  line-height: 1.65;
  font-weight: 300;
}
.team-more {
  text-align: center;
  margin-top: 46px;
}

/* ── WHAT HAPPENS NEXT (enquiry page) ──────────────────────── */
.next-steps {
  padding: 90px 0 100px;
  background: var(--ivory);
}
.next-steps .section-header {
  margin-bottom: 46px;
}
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}
.next-card {
  background: #fff;
  border: 1px solid rgba(67, 89, 100, 0.12);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  position: relative;
}
.next-card .ns-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: rgba(235, 84, 63, 0.18);
  line-height: 1;
}
.next-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--dark);
  margin: 10px 0 8px;
}
.next-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.next-cta {
  text-align: center;
}

/* ── CASE STUDY DETAIL (project-detail.html) ───────────────── */
.case-study-hero {
  padding: 130px 0 60px;
  background: var(--dark);
  position: relative;
}
.case-study-hero .cs-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.case-study-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.12;
  max-width: 900px;
}
.case-study-hero h1 em {
  font-style: italic;
  color: var(--red);
}
.case-study-hero .cs-sub {
  color: rgba(245, 237, 228, 0.75);
  font-size: 16px;
  margin-top: 16px;
  max-width: 640px;
  line-height: 1.8;
  font-weight: 300;
}
.cs-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.cs-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ivory);
  background: rgba(245, 237, 228, 0.1);
  border: 1px solid rgba(245, 237, 228, 0.2);
  border-radius: 24px;
  padding: 8px 16px;
}
.cs-facts span i {
  color: var(--gold);
}
.case-study-body {
  padding: 70px 0 100px;
  background: var(--ivory);
}
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}
.cs-gallery .cs-g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  cursor: pointer;
}
.cs-gallery .cs-g-item.tall {
  grid-row: span 2;
}
.cs-gallery .cs-g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.cs-gallery .cs-g-item:hover img {
  transform: scale(1.06);
}
.cs-g-item .cs-g-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(26, 18, 8, 0.82));
  font-size: 12.5px;
  color: var(--ivory);
  letter-spacing: 0.05em;
}
.cs-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}
.cs-spec {
  background: #fff;
  border: 1px solid rgba(67, 89, 100, 0.12);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.cs-spec i {
  color: var(--red);
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}
.cs-spec .cs-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.cs-spec strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--dark);
}
.cs-scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.cs-scope-tags span {
  font-size: 12px;
  background: var(--dark);
  color: var(--gold);
  border-radius: 20px;
  padding: 6px 14px;
}
.cs-detail-note {
  background: #fff;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 14.5px;
  color: var(--dark);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 44px;
}
.cs-detail-cta {
  text-align: center;
}

/* ── Case study links on cards ─────────────────────────────── */
.pi-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.pi-case-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 169, 110, 0.5);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pi-case-btn:hover {
  color: #fff;
  border-color: #fff;
}
.pi-case-btn i {
  transition: transform 0.3s var(--ease);
}
.pi-case-btn:hover i {
  transform: translateX(4px);
}
.feat-case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.feat-case-link i {
  transition: transform 0.3s var(--ease);
}
.feat-case-link:hover i {
  transform: translateX(4px);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .trust-points,
  .hometype-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 680px) {
  .trust-points,
  .hometype-grid,
  .team-grid,
  .showcase-strip,
  .next-grid,
  .cs-gallery {
    grid-template-columns: 1fr;
  }
  .est-types {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-google .tg-inner {
    padding: 18px 20px;
  }
  .tg-sep {
    display: none;
  }
  .cs-gallery .cs-g-item {
    min-height: 260px;
  }
  .trust-strip,
  .local-showcase,
  .section-hometypes,
  .section-pricing,
  .section-whypy,
  .section-team,
  .next-steps {
    padding: 70px 0 76px;
  }
}

/* ══════════════════════════════════════════════════════════════
   INSTAGRAM FEED SECTION (home)
   Up to 10 posts rendered as cards. Videos autoplay on hover (muted)
   with a mute/unmute toggle and no visible controls; images show the
   stored media URL. Each card links through to Instagram.
   ══════════════════════════════════════════════════════════════ */
.section-instagram {
  padding: 80px 0 84px;
  background: linear-gradient(180deg, var(--ivory) 0%, #fbf7f1 100%);
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}
.section-instagram .section-header {
  margin-bottom: 46px;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  align-items: start;
}
.instagram-card {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 18, 8, 0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  opacity: 0;
  animation: igPop 0.5s ease forwards;
}
@keyframes igPop {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.instagram-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(26, 18, 8, 0.14);
}
.instagram-card .rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  background: rgba(201, 169, 110, 0.94);
  color: #1a1208;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.ig-frame {
  position: relative;
  width: 100%;
  background: #000;
}
/* Fallback iframe embeds (items without a direct media URL yet) */
.ig-frame-wrap {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: #fff;
}
.instagram-frame {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: #fff;
}
.ig-vid {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}
.ig-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
/* Mute / unmute toggle (videos only) */
.ig-mute {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 6;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(26, 18, 8, 0.7);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.ig-mute.active,
.instagram-card:hover .ig-mute {
  opacity: 1;
}
.ig-mute:hover {
  background: rgba(201, 169, 110, 0.95);
  color: #1a1208;
}
/* "Open in Instagram" badge in the top-right of each frame */
.ig-open {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(26, 18, 8, 0.72);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.3s var(--ease);
}
.ig-open:hover {
  background: rgba(201, 169, 110, 0.95);
  color: #1a1208;
}
.ig-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 6px;
  font-size: 0.86rem;
}
.ig-meta .tag {
  background: #f1e8da;
  color: #8a6d3b;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.ig-meta .stat {
  color: #5a5348;
  font-weight: 600;
}
.ig-meta .stat.views {
  color: #b0763a;
  font-weight: 800;
}
.ig-meta .date {
  margin-left: auto;
  color: #98917f;
  font-weight: 500;
}
.ig-link {
  display: block;
  margin: 8px 16px 14px;
  text-align: center;
  color: #b0763a;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 9px;
  border-radius: 8px;
  background: #fbf6ee;
  border: 1px solid #eadfc9;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.ig-link:hover {
  background: #c9a96e;
  color: #fff;
  border-color: #c9a96e;
}
.instagram-more {
  margin-top: 44px;
  text-align: center;
}
.instagram-more .btn-outline {
  padding: 13px 30px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.instagram-more .btn-outline i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .section-instagram {
    padding: 64px 0 68px;
  }
  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}