/* ==========================================================================
   Rolling Hearts Care Ltd — Production Design System (WCAG 2.1 AA)
   Warm Editorial UK Home Care Aesthetic · Zero Framework Dependencies
   ========================================================================== */

:root {
  --bg-canvas: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F2EFE9;
  --bg-teal-soft: #EBF3F4;
  --bg-warm-soft: #FDF1EE;

  --brand-teal: #0E3A54;
  --brand-teal-dark: #0A283B;
  --brand-teal-mid: #175274;
  --brand-heart: #B91C2E;
  --brand-heart-dark: #921423;
  --brand-gold: #8C6219;

  --text-primary: #1B242B;
  --text-secondary: #435059;
  --text-muted: #5A6770;
  --text-on-dark: #FFFFFF;

  --border-light: #E2DDD4;
  --border-strong: #C9C1B5;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(15, 76, 92, 0.06);
  --shadow-md: 0 10px 28px rgba(15, 76, 92, 0.09);
  --shadow-lg: 0 18px 46px rgba(15, 76, 92, 0.13);

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-scale: 1;
  --container-max: 1240px;
}

html.large-text {
  --text-scale: 1.15;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--text-scale));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-canvas);
  padding-bottom: 0;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-teal);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-heart);
}

:focus-visible {
  outline: 3px solid var(--brand-heart);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-teal);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Top Utility Bar ---------- */
.utility-bar {
  background: var(--brand-teal-dark);
  color: #EBF3F4;
  font-size: 0.82rem;
  padding: 0.42rem 0;
}

.utility-bar__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.utility-bar__meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.utility-bar a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}

.utility-bar a:hover {
  text-decoration: underline;
}

.text-size-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 30px;
  white-space: nowrap;
}

.text-size-toggle:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ---------- Sticky Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--brand-teal-dark);
  flex-shrink: 0;
}

.brand__logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  display: block;
  white-space: nowrap;
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: block;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}

.nav-desktop a,
.nav-dropdown__trigger {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-desktop a:hover,
.nav-dropdown__trigger:hover {
  color: var(--brand-heart);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: -0.75rem;
  min-width: 245px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: none;
  z-index: 950;
}

.nav-dropdown__menu--wide {
  min-width: 470px;
}

.nav-dropdown:hover .nav-dropdown__menu--wide,
.nav-dropdown:focus-within .nav-dropdown__menu--wide,
.nav-dropdown.open .nav-dropdown__menu--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem 0.5rem;
}

.nav-dropdown__menu--wide a:first-child {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.25rem;
  padding-bottom: 0.65rem;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
}

.nav-dropdown__menu a:hover {
  background: var(--bg-teal-soft);
  color: var(--brand-teal-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.header-actions .btn {
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-teal-soft);
  color: var(--brand-teal-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  min-width: 48px;
  min-height: 48px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0.85rem;
}

.nav-mobile {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 1rem 1.25rem 1.5rem;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile__group {
  margin-bottom: 1rem;
}

.nav-mobile__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin: 0.75rem 0 0.4rem;
}

.nav-mobile a {
  display: block;
  padding: 0.65rem 0;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--bg-subtle);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand-heart);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--brand-heart-dark);
  color: #FFFFFF;
}

.btn--teal {
  background: var(--brand-teal);
  color: #FFFFFF;
}

.btn--teal:hover {
  background: var(--brand-teal-dark);
  color: #FFFFFF;
}

.btn--outline {
  background: var(--bg-surface);
  color: var(--brand-teal-dark);
  border-color: var(--brand-teal);
}

.btn--outline:hover {
  background: var(--bg-teal-soft);
  color: var(--brand-teal-dark);
}

.btn--light {
  background: #FFFFFF;
  color: var(--brand-teal-dark);
}

.btn--light:hover {
  background: var(--bg-subtle);
  color: var(--brand-teal-dark);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--brand-teal-dark);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-heart);
  margin-bottom: 0.65rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 62ch;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #F4EFE6 0%, var(--bg-canvas) 100%);
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--border-light);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.6rem 0 1.4rem;
}

.hero__areas-line {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin: 0;
}

.hero__media {
  position: relative;
}

.hero__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border: 4px solid #FFFFFF;
}

.hero__badge-card {
  margin-top: -1.6rem;
  margin-left: 1rem;
  margin-right: 1rem;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cqc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
  font-size: 0.92rem;
}

.cqc-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1B7A43;
  flex-shrink: 0;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-item {
  padding: 0.25rem 0.5rem;
  border-left: 3px solid var(--border-light);
}

.trust-item:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-item__val {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
  display: block;
}

.trust-item__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ---------- Sections & Grids ---------- */
.section {
  padding: 4rem 0;
}

.section--surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section--subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section--teal {
  background: var(--brand-teal-dark);
  color: #FFFFFF;
}

.section--teal h2,
.section--teal h3,
.section--teal p {
  color: #FFFFFF;
}

.section-header {
  max-width: 68ch;
  margin-bottom: 2.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card__tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-teal-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.card__link {
  margin-top: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card__link:hover {
  text-decoration: underline;
}

/* ---------- Interactive Postcode Checker ---------- */
.postcode-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.postcode-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.postcode-form input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
}

.postcode-result {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--bg-teal-soft);
  border-left: 4px solid var(--brand-teal);
  display: none;
}

.postcode-result.visible {
  display: block;
}

/* ---------- Split Feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split__img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Lists & Tables ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1B7A43;
  font-weight: 800;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.rate-table th,
.rate-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.rate-table th {
  background: var(--brand-teal-dark);
  color: #FFFFFF;
  font-weight: 700;
}

.rate-table tr:last-child td {
  border-bottom: none;
}

/* ---------- Cost Estimator ---------- */
.estimator {
  background: var(--bg-teal-soft);
  border: 1px solid #C5DCE0;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.estimator__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}

.estimator__breakdown {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.estimator__output {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.estimator__price {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-teal-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-primary);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.5rem 0 1.25rem;
}

.checkbox-row input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: #E8F6EE;
  color: #13522D;
  border: 1px solid #A4DAB9;
}

.form-status.error {
  display: block;
  background: #FDECEB;
  color: #842029;
  border: 1px solid #F5C2C7;
}

/* ---------- FAQ Accordions ---------- */
.faq-list details {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  margin-bottom: 0.85rem;
}

.faq-list summary {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-teal-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-heart);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0.85rem 0 0;
  color: var(--text-secondary);
}

/* ---------- Breadcrumbs & Page Banner ---------- */
.page-banner {
  background: linear-gradient(180deg, #EBF3F4 0%, var(--bg-canvas) 100%);
  padding: 2.5rem 0 2.25rem;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: var(--brand-teal);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- CQC Widget Container ---------- */
.cqc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.cqc-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0;
}

.cqc-domain {
  background: #E8F6EE;
  color: #13522D;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #102B33;
  color: #D7E4E7;
  padding: 3.75rem 0 2rem;
  font-size: 0.94rem;
}

.site-footer h3 {
  color: #FFFFFF;
  font-size: 1.08rem;
  margin-bottom: 0.9rem;
}

.site-footer a {
  color: #D7E4E7;
  text-decoration: none;
}

.site-footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-legal {
  margin-top: 1.5rem;
  font-size: 0.84rem;
  color: #B4C9CE;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
}

/* ---------- Mobile Quick Action Bar ---------- */
.mobile-quick-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  background: var(--brand-teal-dark);
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: repeat(3, 1fr);
}

.mobile-quick-bar a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  text-align: center;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-quick-bar a:last-child {
  border-right: none;
  background: var(--brand-heart);
}

/* ---------- UK PECR Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: 430px;
  background: var(--brand-teal-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  z-index: 995;
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner a {
  color: #FFD3C8;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-banner__actions .btn {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

/* ---------- Care Showcase & Free Assessment ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.video-card__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0F2329;
  display: block;
  object-fit: cover;
  object-position: center 45%;
}

.video-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.assessment-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.assessment-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.assessment-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.assessment-step__time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-heart);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
}

.brand__logo--wide {
  width: auto;
  height: 66px;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.footer-logo-wrap {
  display: inline-block;
  background: #FFFFFF;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 0.9rem;
}

.footer-logo-wrap img {
  height: 62px;
  width: auto;
  display: block;
}

/* ---------- Carbon Reduction Plan (PPN 006 / PPN 06/21) ---------- */
.crp-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: var(--bg-teal-soft);
  border: 1px solid #C5DCE0;
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}

.crp-meta-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-teal-mid);
  margin-bottom: 0.2rem;
}

.crp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.crp-kpi {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.crp-kpi__val {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
  display: block;
}

.crp-kpi__label {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.crp-bar-chart {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.crp-bar-row {
  display: grid;
  grid-template-columns: 185px 1fr 125px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.crp-bar-row:last-child {
  margin-bottom: 0;
}

.crp-bar-track {
  background: var(--bg-subtle);
  border-radius: 999px;
  height: 16px;
  overflow: hidden;
}

.crp-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--brand-teal);
}

.crp-bar-fill--current {
  background: #1B7A43;
}

.crp-bar-fill--target {
  background: var(--brand-heart);
}

.crp-signoff {
  background: var(--bg-subtle);
  border-left: 4px solid var(--brand-teal);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.85rem;
  margin-top: 2rem;
}

.crp-signature {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 1.65rem;
  color: var(--brand-teal-dark);
  margin: 0.35rem 0 0.2rem;
}

/* ---------- Meet the Team (Executive Studio Editorial Layout) ---------- */
.team-banner {
  background: linear-gradient(180deg, #F3F5F8 0%, #FAF8F5 100%);
  padding: 2.65rem 0 2.35rem;
  border-bottom: 1px solid var(--border-light);
}

.team-banner h1 {
  color: #7D1B2D;
}

.team-canvas {
  position: relative;
  background: linear-gradient(180deg, #F4F6F9 0%, #FAF8F5 100%);
  overflow: hidden;
}

.team-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/logo.jpg") center 28% / min(680px, 78vw) auto no-repeat;
  opacity: 0.045;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.team-canvas > .container {
  position: relative;
  z-index: 1;
}

.team-leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.85rem;
}

.team-leader-card {
  background: #FFFFFF;
  border: 1px solid #E4E7EC;
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(14, 58, 84, 0.08);
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 1.45rem;
  align-items: start;
}

.team-leader-card__media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #E9EBEE;
  border: 1px solid #E2E5EA;
}

.team-leader-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-leader-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid #E4E7EC;
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1.4rem;
  box-shadow: 0 10px 26px rgba(14, 58, 84, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(14, 58, 84, 0.12);
}

.team-card__media {
  aspect-ratio: 1 / 1;
  background: #E9EBEE;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E5EA;
  margin-bottom: 1.05rem;
  position: relative;
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-avatar-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #ECEEF1 0%, #E3E7EC 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.team-avatar-fallback__badge {
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: var(--brand-teal-dark);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #FFFFFF;
  box-shadow: 0 8px 20px rgba(14, 58, 84, 0.16);
  letter-spacing: 0.04em;
}

.team-avatar-fallback__caption {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
}

.team-card__body {
  padding: 0 0.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-name {
  font-family: var(--font-sans);
  font-size: 1.14rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: #7D1B2D;
  line-height: 1.22;
  margin: 0 0 0.2rem;
}

.team-leader-card .team-name {
  font-size: 1.24rem;
}

.team-role {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.team-role--lead {
  color: var(--brand-teal-dark);
}

.team-card__bio,
.team-leader-card__bio {
  font-size: 0.91rem;
  color: var(--text-secondary);
  margin: 0 0 0.95rem;
  line-height: 1.56;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.team-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-teal-dark);
  background: #F4F6F9;
  border: 1px solid #E0E5EC;
  padding: 0.2rem 0.56rem;
  border-radius: 6px;
}

.team-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 1080px) {
  .team-leadership-grid {
    grid-template-columns: 1fr;
  }
  .team-grid,
  .team-standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .team-leader-card {
    grid-template-columns: 1fr;
    padding: 1.15rem 1.15rem 1.4rem;
    gap: 1.05rem;
  }
  .team-leader-card__media {
    width: 100%;
  }
  .team-grid,
  .team-standards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .crp-meta-grid,
  .crp-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .crp-bar-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 600px) {
  .crp-meta-grid,
  .crp-kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .utility-bar, .site-header, .site-footer, .mobile-quick-bar, .cookie-banner, .no-print {
    display: none !important;
  }
  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 11pt;
  }
  .section, .page-banner {
    padding: 0.8rem 0;
    background: #FFFFFF !important;
    border: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .assessment-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-desktop,
  .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .utility-desktop-only {
    display: none;
  }
  .hero__grid,
  .split,
  .cqc-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3,
  .estimator__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 60px;
  }
  .mobile-quick-bar {
    display: grid;
  }
  .mobile-quick-bar a {
    font-size: 0.8rem;
    padding: 0 0.25rem;
  }
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 62px;
    max-width: none;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
  }
  .grid-2,
  .grid-3,
  .trust-strip__grid,
  .form-grid,
  .estimator__grid,
  .assessment-steps {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding: 0.75rem 0 0;
  }
  .trust-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}
