/* --- Global marketing surface: warm, layered light --- */
.site-page-bg {
  background:
    radial-gradient(ellipse 90% 60% at 8% 0%, rgba(245, 181, 69, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 15%, rgba(100, 116, 139, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #faf7f2 0%, #f1ede6 50%, #eef1f4 100%);
  background-attachment: fixed;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      150deg,
      rgba(255, 252, 248, 0.55) 0%,
      rgba(250, 244, 236, 0.25) 55%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    url("/static/images/hero-ambient.jpg");
  background-size: cover;
  background-position: center 40%;
  box-shadow: inset 0 -1px 0 rgba(120, 90, 60, 0.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* Inner pages: full-bleed top band */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
  background-size: cover;
  background-position: center 45%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.55) 50%,
    rgba(2, 6, 23, 0.35) 100%
  );
}

/* Use local asset so the hero works without third-party CDNs (firewalls / offline). */
.page-hero--curtains {
  background-image: url("/static/images/hero-ambient.jpg");
  background-position: center 40%;
}

.page-hero--blinds {
  /* Precision blinds — not generic wallpaper */
  background-image: linear-gradient(
      115deg,
      rgba(15, 23, 42, 0.88) 0%,
      rgba(30, 27, 24, 0.72) 50%,
      rgba(2, 6, 23, 0.55) 100%
    ),
    url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=2000&q=80");
  background-position: center 50%;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

/* --- Cards & images --- */
.field {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.field:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card p {
  color: #475569;
  font-size: 14px;
}

.gallery-tile {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  background: #1e293b;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, transparent 100%);
  color: #f8fafc;
}

.gallery-tile__cap span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 0.35rem;
}

.gallery-tile__cap p {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  line-height: 1.45;
}

/* “Fabrics, headers, and hardware” row: rich navy base + photo read as in design mock */
.gallery-tile--fabrics {
  border-radius: 1.5rem;
  min-height: 11rem;
}

.gallery-tile--fabrics::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.5) 0%,
    rgba(15, 23, 42, 0.12) 42%,
    rgba(15, 23, 42, 0.35) 100%
  );
  pointer-events: none;
}

.gallery-tile--fabrics img {
  position: relative;
  z-index: 0;
}

.gallery-tile--fabrics .gallery-tile__cap {
  z-index: 2;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(8px);
}

.section-warm {
  background: linear-gradient(135deg, #fffef9 0%, #f5f0e8 45%, #eef2f6 100%);
}

/* Testimonials */
.testimonial-card {
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: rgba(245, 158, 11, 0.12);
  font-family: Georgia, serif;
  pointer-events: none;
}

.stars {
  color: #f59e0b;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.testimonial-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.testimonial-avatar-wrap {
  flex-shrink: 0;
}

.testimonial-avatar {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.1);
  border: 2px solid rgba(245, 158, 11, 0.22);
}

.testimonial-avatar-wrap--pair {
  display: flex;
  align-items: center;
  padding-left: 0.2rem;
}

.testimonial-avatar--pair {
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid #fff;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.12);
}

.testimonial-avatar--pair + .testimonial-avatar--pair {
  margin-left: -0.65rem;
  z-index: 1;
  position: relative;
}

.testimonial-card__body {
  min-width: 0;
  flex: 1;
}

.project {
  height: 220px;
  border-radius: 14px;
  background:
    linear-gradient(to bottom, rgba(255, 252, 248, 0.2), rgba(200, 190, 175, 0.35)),
    url("/static/images/hero-ambient.jpg");
  background-size: cover;
  background-position: center 40%;
}

/* Strip below hero on home */
.premium-strip {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #e2e8f0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.65rem 1rem;
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 36vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-tile img,
  .card {
    transition: none;
  }
  .site-page-bg {
    background-attachment: scroll;
  }
}
