/* ═══════════════════════════════════════
   INNER PAGES — shared styles
   Used by: aluminium-door, aluminium-window,
            upvc-door, upvc-window,
            shower-enclosure, facade, gallery
═══════════════════════════════════════ */

/* ── PAGE HERO BANNER ── */
.page-hero {
  margin-top: 90px;
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,86,117,0.85) 0%, rgba(7,86,117,0.2) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 64px;
  color: #fff;
}
.page-hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}
.page-hero h1 em { font-style: italic; color: rgba(248,168,58,0.9); }
.page-hero p {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.7;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 12px 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.breadcrumb a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ── PAGE INTRO ── */
.page-intro {
  background: var(--white);
  padding: 64px 64px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.page-intro-text .eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.page-intro-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.page-intro-text h2 em { font-style: italic; color: var(--orange); }
.page-intro-text p {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.page-intro-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.page-intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── PRODUCT GRID ── */
.prod-section {
  background: var(--cream);
  padding: 64px 64px;
}
.prod-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.prod-section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.prod-section-header h2 em { font-style: italic; color: var(--orange); }
.prod-section-header p {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 10px;
  max-width: 500px;
  margin-inline: auto;
}
.inner-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.inner-prod-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.inner-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7,86,117,0.12);
  border-color: rgba(7,86,117,0.2);
}
.inner-prod-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.inner-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.inner-prod-card:hover .inner-prod-img img { transform: scale(1.06); }
.inner-prod-info { padding: 18px 20px 20px; }
.inner-prod-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.inner-prod-info p {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}
.inner-prod-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.2s;
}
.inner-prod-cta:hover { gap: 10px; }

/* ── FEATURES LIST ── */
.page-features {
  background: var(--navy);
  padding: 64px 64px;
}
.page-features-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-features-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.page-features-header h2 em { font-style: italic; color: rgba(248,168,58,0.85); }
.feat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.feat-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 22px;
  transition: all 0.25s;
}
.feat-list-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(248,168,58,0.3);
}
.feat-list-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(248,168,58,0.12);
  border: 1px solid rgba(248,168,58,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-list-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feat-list-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.feat-list-text p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── CTA BAND ── */
.page-cta-band {
  background: var(--cream);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.page-cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.page-cta-band h2 em { font-style: italic; color: var(--orange); }
.page-cta-band p {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
  max-width: 480px;
}
.page-cta-buttons { display: flex; gap: 14px; flex-shrink: 0; }
.btn-cta-primary {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s;
}
.btn-cta-primary:hover { background: var(--navy-lt); transform: translateY(-2px); }
.btn-cta-outline {
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 4px;
  border: 2px solid var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s;
}
.btn-cta-outline:hover { background: var(--navy); color: #fff; }

/* ── GALLERY GRID (gallery page) ── */
.gallery-page { background: var(--white); padding: 64px; }
.gallery-page-header { text-align: center; margin-bottom: 48px; }
.gallery-page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.gallery-page-header h1 em { font-style: italic; color: var(--orange); }
.gallery-page-header p { font-size: 16px; font-weight: 400; color: var(--muted); margin-top: 10px; }
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.gal-btn {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
}
.gal-btn.active, .gal-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gal-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gal-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gal-item.tall img { height: 400px; }
.gal-item:hover img { transform: scale(1.05); }
.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,86,117,0.55);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: rgba(7,86,117,0.7);
  padding: 6px 12px;
  border-radius: 99px;
}

/* ══════════════════════════════════
   RESPONSIVE — inner pages
══════════════════════════════════ */
@media (max-width: 768px) {
  .page-hero { height: 320px; margin-top: 90px; }
  .page-hero-content { padding: 32px 20px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .page-hero p { font-size: 13px; }
  .breadcrumb { padding: 10px 20px; font-size: 11px; }
  .page-intro { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px; }
  .page-intro-img { order: -1; }
  .prod-section { padding: 48px 20px; }
  .inner-prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .page-features { padding: 48px 20px; }
  .feat-list { grid-template-columns: 1fr; gap: 12px; }
  .page-cta-band { flex-direction: column; padding: 40px 20px; align-items: flex-start; }
  .page-cta-buttons { flex-direction: column; width: 100%; }
  .btn-cta-primary, .btn-cta-outline { width: 100%; justify-content: center; }
  .gallery-page { padding: 48px 20px; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal-item img { height: 180px; }
  .gal-item.tall img { height: 260px; }
  .gallery-filter { gap: 6px; }
  .gal-btn { font-size: 12px; padding: 6px 14px; }
}

@media (max-width: 480px) {
  .page-hero { height: 260px; }
  .inner-prod-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr; }
  .gal-item img, .gal-item.tall img { height: 220px; }
}

/* ══════════════════════════════════
   FAQ SECTION
══════════════════════════════════ */
.faq-section {
  background: var(--white);
  padding: 64px;
}
.faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--navy); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}
.faq-q span {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  flex-shrink: 0;
  transition: transform 0.28s ease;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-a p {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

@media (max-width: 768px) {
  .faq-section { padding: 44px 20px; }
  .faq-q { padding: 16px 18px; }
  .faq-q span { font-size: 14px; }
  .faq-a { padding: 0 18px; }
  .faq-item.open .faq-a { padding: 0 18px 16px; }
}
