/* Redesigned inner pages (About Us, Special Offers, Bathrooms 2GO, brand pages). Builds on cg.css. */

.cgp { font-family: var(--cg-font); color: var(--cg-ink); }
.cgp p { font-family: var(--cg-font); }
.cgp a:not(.cg-btn) { color: var(--cg-red); }
/* Section labels stay red even inside blocks that tone paragraphs down. */
.cgp .cg-eyebrow { color: var(--cg-red) !important; }

/* ---------- Page header band ---------- */
/* Header band sizes match the Showroom page (showroom.css .sh-hero). */
.cgp-hero { background: var(--cg-paper); padding: clamp(48px, 6vw, 84px) 0; overflow: hidden; }
.cgp-hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.cgp-hero--media .cgp-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.cgp-hero .cg-eyebrow { margin-bottom: 14px; font-size: 13px; }
.cgp-hero__title { margin: 0 0 18px; font-family: var(--cg-font-bold); font-size: clamp(36px, 5vw, 62px); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; color: var(--cg-ink); text-transform: none; }
.cgp-hero__intro { max-width: 520px; margin: 0 0 28px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: #4a4a4a; }
.cgp-hero__media { display: flex; justify-content: center; }
.cgp-hero__media > img { width: 118%; max-width: 760px; height: auto; margin: -4% -9%; }
.cgp-hero__cover { display: block; width: min(100%, 340px); transform: rotate(-2deg); transition: transform .3s ease; }
.cgp-hero__cover:hover { transform: rotate(0) translateY(-4px); }
.cgp-hero__cover img { display: block; width: 100%; height: auto; aspect-ratio: 707 / 1000; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); }
.cgp-brandmark { display: flex; align-items: center; justify-content: center; width: min(100%, 460px); aspect-ratio: 16 / 10; border-radius: var(--cg-radius); background: #fff; }
.cgp-brandmark img { width: 70%; max-height: 60%; height: auto; object-fit: contain; }

/* Brand logos under the About intro */
.cgp-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 0 0 28px; }
.cgp-logo { display: inline-flex; align-items: center; height: 48px; opacity: .9; transition: opacity .15s; }
.cgp-logo:hover { opacity: 1; }
.cgp-logo--lg { height: 64px; }
.cgp-logo img { height: 100%; width: auto; max-width: 170px; object-fit: contain; }

/* ---------- Facts strip ---------- */
.cgp-facts { background: var(--cg-dark); color: #fff; padding: clamp(28px, 4vw, 44px) 0; }
.cgp-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cgp-fact { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 2px solid var(--cg-red); }
.cgp-fact strong { font-family: var(--cg-font-bold); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.1; color: #fff; }
.cgp-fact span { font-size: 14px; color: #b5b0aa; }

/* ---------- Picture + text ---------- */
.cgp-split { padding: clamp(56px, 7vw, 96px) 0; background: #fff; }
.cgp-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cgp-split__media img { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto; }
.cgp-split__text p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: #4a4a4a; }
.cgp-split__text .cg-btns { margin-top: 26px; }

/* ---------- Team ---------- */
.cgp-team { padding: clamp(56px, 7vw, 96px) 0; background: var(--cg-paper); }
.cgp-team .cg-head { margin-bottom: 36px; }
.cgp-team__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cgp-person { margin: 0; text-align: center; }
.cgp-person img { display: block; width: 100%; height: auto; aspect-ratio: 340 / 345; object-fit: cover; object-position: top; border-radius: var(--cg-radius); background: #e9e3dc; }
.cgp-person figcaption { margin-top: 12px; font-family: var(--cg-font-bold); font-weight: 700; font-size: 16px; color: var(--cg-ink); }

/* ---------- Brochure covers (few per page, shown large) ---------- */
.cgp-brochures { padding: clamp(56px, 7vw, 96px) 0; background: #fff; }
.cgp-brochures__grid { display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); }
.cgp-brochures__grid--1 { grid-template-columns: minmax(0, 360px); }
.cgp-brochures__grid--2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.cgp-brochures__grid--3 { grid-template-columns: repeat(3, minmax(0, 360px)); }
.cgp-brochure { display: flex; flex-direction: column; color: var(--cg-ink) !important; text-decoration: none !important; }
.cgp-brochure__cover { display: block; overflow: hidden; border-radius: 8px; background: var(--cg-paper); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 40px -22px rgba(0,0,0,.35); }
.cgp-brochure__cover img { display: block; width: 100%; height: auto; aspect-ratio: 707 / 1000; object-fit: cover; transition: transform .4s ease; }
.cgp-brochure:hover .cgp-brochure__cover img { transform: scale(1.03); }
.cgp-brochure__body { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.cgp-brochure__brand { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cg-muted); }
.cgp-brochure__title { font-family: var(--cg-font-bold); font-weight: 700; font-size: 18px; line-height: 1.3; }
.cgp-brochure__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--cg-red); }

/* ---------- Closing call to action ---------- */
.cgp-cta { padding: clamp(44px, 6vw, 72px) 0; background: var(--cg-paper); }
.cgp-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cgp-cta p { max-width: 560px; margin: 0; color: #4a4a4a; font-size: 16px; line-height: 1.6; }

/* Sections reused from the home page sit in the same rhythm. */
.cgp .cg-reviews { background: #fff; }
/* Brands sit on white (the closing call to action below is beige); after the white brochure list a rule separates them. */
.cgp .cg-brands { background: #fff; }
.cgp .cgp-brochures + .cg-brands { padding-top: 0; }
.cgp .cgp-brochures + .cg-brands .cg-brands__title { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--cg-line); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1024px) {
  .cgp-team__grid { grid-template-columns: repeat(3, 1fr); }
  .cgp-brochures__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cgp-brochures__grid--1 { grid-template-columns: minmax(0, 340px); }
}
@media (max-width: 860px) {
  .cgp-hero--media .cgp-hero__grid, .cgp-split__grid { grid-template-columns: 1fr; }
  .cgp-hero__cover { width: min(60%, 230px); }
  .cgp-hero__media > img { width: 100%; margin: 0; }
  .cgp-brandmark { width: min(100%, 360px); }
  .cgp-facts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cgp-team__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cgp-brochures__grid, .cgp-brochures__grid--2, .cgp-brochures__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cgp-brochure__title { font-size: 15px; }
  .cgp-logos { gap: 18px; }
  .cgp-logo { height: 38px; }
  .cgp-hero .cg-btns, .cgp-cta .cg-btns { flex-direction: column; align-items: stretch; width: 100%; }
}

/* Brochure section sits in the centre of the page: heading, intro and covers. */
.cgp-brochures .cg-head { margin-left: auto; margin-right: auto; text-align: center; }
.cgp-brochures__grid { justify-content: center; }
.cgp-brochure { text-align: center; }
.cgp-brochure__body { align-items: center; }

/* Page header: two or three brochures fanned out (cgp_hero_covers) */
.cgp-fan { position: relative; width: min(100%, 560px); height: 470px; }
.cgp-fan__item { position: absolute; top: 50%; left: 50%; display: block; width: 250px; transition: transform .35s ease; }
.cgp-fan__item img { display: block; width: 100%; height: auto; aspect-ratio: 707 / 1000; object-fit: cover; border-radius: 8px; box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .45); }
.cgp-fan__item--main { z-index: 3; transform: translate(-50%, -52%) rotate(-2deg); }
.cgp-fan--2 .cgp-fan__item--main { transform: translate(-78%, -50%) rotate(-5deg); }
.cgp-fan--2 .cgp-fan__item--right { z-index: 2; transform: translate(-18%, -46%) rotate(6deg); }
.cgp-fan--3 .cgp-fan__item--left { z-index: 1; transform: translate(-112%, -46%) rotate(-9deg); }
.cgp-fan--3 .cgp-fan__item--right { z-index: 2; transform: translate(12%, -46%) rotate(9deg); }
.cgp-fan:hover .cgp-fan__item--main { transform: translate(-50%, -56%) rotate(0); }
.cgp-fan--2:hover .cgp-fan__item--main { transform: translate(-80%, -53%) rotate(-3deg); }
.cgp-fan__item:hover { z-index: 4; }
@media (max-width: 900px) {
  .cgp-fan { height: 340px; margin: 0 auto; }
  .cgp-fan__item { width: 170px; }
}
@media (max-width: 420px) {
  .cgp-fan { height: 290px; }
  .cgp-fan__item { width: 140px; }
}
/* keep a three-cover fan inside its column (it ran into the heading text) */
.cgp-fan__item { width: 220px; }
.cgp-fan--3 .cgp-fan__item--left { transform: translate(-98%, -46%) rotate(-8deg); }
.cgp-fan--3 .cgp-fan__item--right { transform: translate(-2%, -46%) rotate(8deg); }
@media (max-width: 900px) { .cgp-fan__item { width: 170px; } }
@media (max-width: 420px) { .cgp-fan__item { width: 132px; } }
