/* ===== About and Contact: photo header, full-width sections, message form ===== */
.cg-pagehead--photo { position: relative; background: #1d2b27 var(--cg-bg) center / cover no-repeat; border-bottom: 0; padding: clamp(72px, 10vw, 132px) 0 clamp(64px, 8vw, 108px); color: #fff; isolation: isolate; }
.cg-pagehead--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,22,19,.62), rgba(14,22,19,.78)); }
.cg-pagehead--photo .cg-eyebrow { color: #e6c982; }
body.cg .cg-pagehead--photo h1 { color: #fff; font-size: clamp(36px, 6vw, 64px); }
.cg-pagehead--photo h1::after { background: #e6c982; }
.cg-pagehead__sub { max-width: 640px; margin: 18px auto 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: #efe9da; }

.cg-page--rich { padding: 0; }
.cg-prose--rich { max-width: none; font-size: 17px; }
.cg-prose--rich h2 { border: 0; padding: 0; margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; }
.cg-prose--rich h3 { margin: 0 0 6px; }
.cg-prose--rich p { margin: 0 0 14px; }
.cg-rsec { max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 84px) 20px; }
.cg-rsec .cg-center { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.cg-rsec .cg-center p { color: var(--cg-muted); }
.cg-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }
.cg-bleed--sand { background: var(--cg-sand); }
.cg-bleed--ink { background: #1d2b27; color: #e9dcc0; }
body.cg .cg-bleed--ink h2, body.cg .cg-bleed--ink h3 { color: #fff; }

/* Story: text beside a photo */
.cg-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cg-split .cg-lead { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; margin: 0 0 18px; }
.cg-split__media { position: relative; }
.cg-split__media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 22px; background: var(--cg-sand-2); z-index: 0; }
[dir="rtl"] .cg-split__media::before { inset: 22px 22px -18px -18px; }
.cg-split__media img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.55); }

/* Values and steps */
.cg-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cg-vcard { background: #fff; border: 1px solid var(--cg-line); border-radius: 18px; padding: 30px 26px; transition: transform .25s, box-shadow .25s; }
.cg-vcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(29,43,39,.5); }
.cg-vcard__ic { display: inline-flex; width: 58px; height: 58px; border-radius: 50%; background: var(--cg-sand); color: var(--cg-brass); align-items: center; justify-content: center; margin-bottom: 16px; }
.cg-vcard__ic svg { width: 28px; height: 28px; }
.cg-vcard p { margin: 0; color: var(--cg-muted); font-size: 15.5px; line-height: 1.65; }

.cg-catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cg-catgrid__item { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: var(--cg-sand); text-decoration: none; isolation: isolate; }
.cg-catgrid__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cg-catgrid__item:hover img { transform: scale(1.06); }
.cg-catgrid__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29,43,39,.82), rgba(29,43,39,0) 62%); z-index: 1; }
.cg-catgrid__item span { position: absolute; z-index: 2; inset-inline: 16px; bottom: 14px; color: #fff; font-size: 18px; line-height: 1.2; font-weight: 500; }
.cg-prose--rich a.cg-catgrid__item { color: #fff; text-decoration: none; }

.cg-steps2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.cg-step2 { position: relative; background: #fff; border-radius: 16px; padding: 26px 22px 22px; border: 1px solid var(--cg-line); }
.cg-step2::before { counter-increment: s; content: counter(s); display: flex; width: 40px; height: 40px; border-radius: 50%; background: var(--cg-ink); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.cg-step2 p { margin: 0; font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--cg-ink); }

.cg-promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.cg-promise svg { width: 34px; height: 34px; color: #e6c982; margin-bottom: 10px; }
.cg-promise strong { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.cg-promise span { display: block; font-size: 14px; line-height: 1.5; color: #d9ccb0; }

.cg-cta2 { position: relative; border-radius: 24px; overflow: hidden; text-align: center; color: #fff; padding: clamp(44px, 7vw, 84px) 24px; background: #1d2b27 var(--cta-bg) center / cover; isolation: isolate; }
.cg-cta2::before { content: ""; position: absolute; inset: 0; background: rgba(14,22,19,.7); z-index: -1; }
body.cg .cg-cta2 h2 { color: #fff; }
.cg-cta2 p { color: #efe9da; max-width: 560px; margin: 0 auto 22px; }
.cg-prose--rich .cg-cta2 a.cg-btn { background: #fff; color: #1d2b27 !important; text-decoration: none; }
.cg-prose--rich .cg-cta2 a.cg-btn:hover { background: #e6c982; }

/* Contact: email and WhatsApp cards, tips and quick answers */
.cg-contact-wrap { max-width: 860px; }
.cg-contact-wrap .cg-contact-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 0 0 28px; }
.cg-side-card { background: var(--cg-sand); border-radius: 18px; padding: 24px 26px; margin-bottom: 8px; }
.cg-side-card h3 { font-size: 18px; margin-bottom: 10px; }
.cg-side-card ul { margin: 0; }
.cg-rsec .cg-center--tight { margin: 40px auto 18px; }
.cg-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cg-prose--rich a.cg-quick__link { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--cg-line); border-radius: 14px; padding: 16px 18px; color: var(--cg-ink); text-decoration: none; font-weight: 500; font-size: 16px; transition: border-color .2s, transform .2s; }
.cg-prose--rich a.cg-quick__link:hover { border-color: var(--cg-brass); transform: translateY(-2px); }
.cg-quick__link svg { width: 24px; height: 24px; color: var(--cg-brass); flex: none; }
.cg-quick br { display: none; }

@media (max-width: 900px) {
  .cg-split { grid-template-columns: 1fr; }
  .cg-split__media { order: -1; }
  .cg-values { grid-template-columns: 1fr; }
  .cg-catgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cg-steps2 { grid-template-columns: 1fr 1fr; }
  .cg-promises { grid-template-columns: 1fr 1fr; }
  .cg-rsec { padding-block: 40px; }
}

.cg-cta2--work { --cta-bg: url("img/about-cta.jpg"); }

/* Centred section headings beat the generic left-aligned prose heading rule */
.cg-page .cg-prose.cg-prose--rich .cg-center h2, .cg-page .cg-prose.cg-prose--rich .cg-cta2 h2 { text-align: center; }
.cg-page .cg-prose.cg-prose--rich h2::after { display: none; }

