/*
Theme Name: PhoQus Health
Theme URI: https://www.phoqus.nl/
Author: PhoQus Health B.V.
Description: Maatwerk Gutenberg block theme voor PhoQus Health en het Prysma-platform.
Version: 1.0.0
Requires at least: 7.0
Tested up to: 7.0.2
Requires PHP: 8.2
Text Domain: phoqus-health
*/

:root {
  --ph-navy: #0a145a;
  --ph-ink: #1e1e3c;
  --ph-green: #3caa50;
  --ph-orange: #e69619;
  --ph-blue: #3c6491;
  --ph-turquoise: #4696a0;
  --ph-pale-green: #e1f5e1;
  --ph-pale-blue: #e6ebfa;
  --ph-paper: #f6f8fb;
  --ph-white: #ffffff;
  --ph-border: #dfe3eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ph-ink); background: #fff; }
a { transition: color .2s ease, transform .2s ease, box-shadow .2s ease; }
img { display: block; max-width: 100%; height: auto; }
.wp-site-blocks { overflow: clip; }
.wp-block-post-content > * { margin-block-start: 0; }

.ph-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 88px;
  padding: 10px clamp(24px, 5vw, 76px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(10,20,90,.08);
  backdrop-filter: blur(14px);
}
.admin-bar .ph-site-header { top: 32px; }
.ph-site-header .wp-block-site-logo img { max-height: 66px; width: auto; }
.ph-site-header .wp-block-navigation { font-size: 15px; font-weight: 650; }
.ph-header-cta .wp-block-button__link { border-radius: 999px; background: var(--ph-navy); }

.ph-hero {
  min-height: 720px;
  padding: 70px clamp(24px, 6vw, 94px);
  background: linear-gradient(120deg,#fff 0 57%,var(--ph-pale-green) 57%);
}
.ph-hero .wp-block-columns { min-height: 580px; }
.ph-eyebrow {
  margin: 0 0 18px;
  color: var(--ph-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ph-eyebrow-light { color: #b9eac1; }
.ph-display {
  margin: 0;
  color: var(--ph-navy);
  font-size: clamp(54px, 6vw, 88px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 500;
}
.ph-display em { color: var(--ph-green); font-style: normal; }
.ph-lead { max-width: 650px; color: #4f536e; font-size: 20px; line-height: 1.6; }
.ph-buttons .wp-block-button__link {
  min-height: 54px;
  padding: 16px 22px;
  border-radius: 6px;
  font-weight: 750;
}
.ph-buttons .is-style-outline .wp-block-button__link { border-color: #bcc4d5; color: var(--ph-navy); }
.ph-buttons .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10,20,90,.14); }
.ph-trust { gap: 24px; margin-top: 34px; color: #696d82; font-size: 13px; font-weight: 650; }
.ph-trust p::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--ph-green); }
.ph-hero-image {
  overflow: hidden;
  border-radius: 160px 18px 160px 18px;
  box-shadow: 0 30px 70px rgba(10,20,90,.16);
}
.ph-hero-image img { width: 100%; min-height: 500px; object-fit: cover; }
.ph-stat-note { width: fit-content; margin: -100px 0 20px auto; padding: 18px 24px; position: relative; z-index: 2; border-radius: 8px; background: var(--ph-navy); color: #fff; box-shadow: 0 18px 40px rgba(10,20,90,.25); }
.ph-stat-note strong { display: block; font-size: 22px; }

.ph-intro-band { padding: 30px clamp(24px,6vw,94px); background: var(--ph-navy); color: #fff; }
.ph-intro-band p { margin: 0; color: #aeb4db; }
.ph-intro-band h2 { margin: 0; font-size: 24px; }
.ph-audience-strip { padding: 0 clamp(24px,6vw,94px); background: var(--ph-navy); color: #fff; border-top: 1px solid rgba(255,255,255,.18); }
.ph-audience-strip .wp-block-column { padding: 24px 18px; border-right: 1px solid rgba(255,255,255,.15); }
.ph-audience-strip strong { color: #8dd19a; }
.ph-audience-strip small { display: block; margin-top: 5px; color: #aeb4d4; line-height: 1.35; }

.ph-section { padding: 110px clamp(24px,6vw,94px); }
.ph-paper { background: var(--ph-paper); }
.ph-soft-green { background: #f3f7f4; }
.ph-section-title { color: var(--ph-navy); font-size: clamp(40px,4vw,62px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; }
.ph-section-lead { color: #62667c; font-size: 18px; line-height: 1.7; }
.ph-grid-cards { gap: 22px; align-items: stretch !important; }
.ph-card { height: 100%; padding: 30px; border: 1px solid var(--ph-border); background: #fff; }
.ph-card-top-green { border-top: 6px solid var(--ph-green); }
.ph-card-top-blue { border-top: 6px solid var(--ph-blue); }
.ph-card-top-orange { border-top: 6px solid var(--ph-orange); }
.ph-card-top-turquoise { border-top: 6px solid var(--ph-turquoise); }
.ph-card h3 { color: var(--ph-navy); font-size: 24px; line-height: 1.25; }
.ph-card p { color: #666a7e; line-height: 1.6; }
.ph-index { color: var(--ph-green) !important; font-size: 12px; font-weight: 800; }
.ph-card-image { min-height: 205px; padding: 18px; background: var(--ph-paper); }
.ph-card-image img { width: 100%; height: 190px; object-fit: contain; }
.ph-card-link { color: var(--ph-green); font-weight: 750; }

.ph-navy-section { padding: 110px clamp(24px,6vw,94px); background: var(--ph-navy); color: #fff; }
.ph-navy-section h2, .ph-navy-section h3 { color: #fff; }
.ph-navy-section .ph-section-lead, .ph-navy-section p { color: #cbd0eb; }
.ph-capability-grid { border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.ph-capability { padding: 26px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.ph-capability h3 { margin-top: 14px; font-size: 21px; }
.ph-capability p { font-size: 14px; line-height: 1.55; }

.ph-blue-section { padding: 110px clamp(24px,6vw,94px); background: var(--ph-blue); color: #fff; }
.ph-blue-section h2 { color: #fff; }
.ph-blue-section .ph-section-lead { color: #e0e8f0; }
.ph-role-card { height: 100%; padding: 34px; border-radius: 8px; background: #fff; color: var(--ph-ink); }
.ph-role-card h3 { color: var(--ph-navy); }
.ph-role-card ul { color: #656a7e; line-height: 1.8; }

.ph-fact-grid { border: 1px solid var(--ph-border); background: #fff; }
.ph-fact { padding: 34px 26px; border-right: 1px solid var(--ph-border); border-bottom: 1px solid var(--ph-border); }
.ph-fact strong { display: block; color: var(--ph-green); font-size: 46px; }
.ph-quote { padding-left: 28px; border-left: 5px solid var(--ph-orange); color: var(--ph-blue); font-family: Georgia,serif; font-size: 23px; line-height: 1.45; }
.ph-news-query .wp-block-post { padding: 24px 6px; border-top: 1px solid var(--ph-border); }
.ph-news-query .wp-block-post-title { font-size: 19px; }
.ph-news-query .wp-block-post-date { color: #777b8c; font-size: 13px; }

.ph-contact { padding: 78px clamp(24px,6vw,94px); background: var(--ph-green); color: #fff; }
.ph-contact h2 { max-width: 760px; color: #fff; font-size: clamp(38px,4vw,58px); line-height: 1.05; }
.ph-contact p { color: #effbf1; font-size: 18px; }
.ph-contact .wp-block-button__link { background: #fff; color: var(--ph-navy); }

.ph-page-hero { min-height: 610px; padding: 70px clamp(24px,6vw,94px); background: linear-gradient(120deg,#fff 0 58%,var(--ph-pale-green) 58%); }
.ph-page-hero-blue { background: linear-gradient(120deg,#fff 0 58%,var(--ph-pale-blue) 58%); }
.ph-page-hero-orange { background: linear-gradient(120deg,#fff 0 58%,#fff0d9 58%); }
.ph-page-hero-turquoise { background: linear-gradient(120deg,#fff 0 58%,#e2f1f2 58%); }
.ph-page-hero .ph-display { font-size: clamp(52px,5.8vw,82px); }
.ph-page-hero-blue .ph-display em { color: var(--ph-blue); }
.ph-page-hero-orange .ph-display em { color: var(--ph-orange); }
.ph-page-hero-turquoise .ph-display em { color: var(--ph-turquoise); }
.ph-product-visual { padding: 34px; border-radius: 150px 18px 150px 18px; background: #fff; box-shadow: 0 25px 60px rgba(10,20,90,.12); }
.ph-product-visual img { width: 100%; height: 355px; object-fit: contain; }
.ph-note { margin-top: 26px; padding: 22px; border-left: 5px solid var(--ph-green); background: var(--ph-paper); color: var(--ph-navy); font-weight: 750; }
.ph-step { gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.ph-step-number { min-width: 38px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #8dd19a; border-radius: 50%; color: #8dd19a !important; font-weight: 800; }

.ph-site-footer { padding: 70px clamp(24px,6vw,94px) 28px; background: #fff; }
.ph-site-footer h3 { color: var(--ph-navy); font-size: 15px; }
.ph-site-footer p, .ph-site-footer a { color: #686c7f; font-size: 14px; line-height: 1.8; }
.ph-footer-bottom { padding-top: 22px; border-top: 1px solid #e1e4eb; color: #858898; font-size: 12px; }

@media (max-width: 980px) {
  .admin-bar .ph-site-header { top: 46px; }
  .ph-hero, .ph-page-hero, .ph-page-hero-blue, .ph-page-hero-orange, .ph-page-hero-turquoise { background: linear-gradient(#fff 0 58%,var(--ph-pale-green) 58%); }
  .ph-page-hero-blue { background: linear-gradient(#fff 0 58%,var(--ph-pale-blue) 58%); }
  .ph-page-hero-orange { background: linear-gradient(#fff 0 58%,#fff0d9 58%); }
  .ph-page-hero-turquoise { background: linear-gradient(#fff 0 58%,#e2f1f2 58%); }
  .ph-audience-strip .wp-block-columns, .ph-grid-cards { flex-wrap: wrap !important; }
  .ph-audience-strip .wp-block-column, .ph-grid-cards > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
}
@media (max-width: 620px) {
  .ph-site-header { min-height: 74px; padding-inline: 20px; }
  .ph-site-header .wp-block-site-logo img { max-width: 155px; }
  .ph-header-cta { display: none; }
  .ph-hero, .ph-page-hero { min-height: auto; padding: 44px 22px 70px; }
  .ph-display, .ph-page-hero .ph-display { font-size: 50px; }
  .ph-lead { font-size: 17px; }
  .ph-hero-image img { min-height: 330px; }
  .ph-section, .ph-navy-section, .ph-blue-section { padding: 76px 22px; }
  .ph-audience-strip { padding-inline: 22px; }
  .ph-audience-strip .wp-block-column, .ph-grid-cards > .wp-block-column { flex-basis: 100% !important; }
  .ph-product-visual img { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}
