/* ================================================================
   PERCAYSO GROUP — Global Styles
   Brand: Burgundy #932a3e, Coral #ef495c, Apricot #f16b7f, Sunflower #ffada5
   Font: Greycliff CF (commercial) — Nunito web substitute
   ================================================================ */
@import url('https://use.typekit.net/kql5ytm.css');

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

:root {
  --burgundy: #932a3e;
  --burgundy-dark: #6e1f2e;
  --coral: #ef495c;
  --apricot: #f16b7f;
  --sunflower: #ffada5;
  --mid-grey: #575756;
  --light-grey: #dadada;
  --light-bg: #faf8f8;
  --white: #ffffff;
  --black: #000000;
  --text: #1a1a2e;
  --text-light: #555;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'greycliff-cf', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--coral); }

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

/* ================================================================
   NAVIGATION
   ================================================================ */
.pg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--burgundy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  transition: background 0.3s ease;
}

.pg-nav--scrolled {
  background: var(--burgundy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.pg-nav__left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.pg-nav__left a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.pg-nav__logo {
  height: 26px;
  width: auto;
}

.pg-nav__centre {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 2rem;
}

.pg-nav__list {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
}

.pg-nav__item {
  position: relative;
}

.pg-nav__link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
  font-family: 'greycliff-cf', -apple-system, BlinkMacSystemFont, sans-serif;
}

.pg-nav__link:hover,
.pg-nav__link[aria-expanded="true"] {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* Dropdown chevron */
.pg-nav__chevron {
  transition: transform 0.2s ease;
}
.pg-nav__link[aria-expanded="true"] .pg-nav__chevron {
  transform: rotate(180deg);
}

/* Dropdown menu */
.pg-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(110, 31, 46, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  padding: 0.4rem 0;
  list-style: none;
  margin: 0;
  flex-direction: column;
}

.pg-nav__item--dropdown:hover .pg-nav__dropdown,
.pg-nav__link--parent[aria-expanded="true"] + .pg-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pg-nav__dropdown a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  font-family: 'greycliff-cf', -apple-system, BlinkMacSystemFont, sans-serif;
}

.pg-nav__dropdown a:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

.pg-nav__cta {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--white);
  color: var(--burgundy);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}

.pg-nav__cta:hover {
  background: var(--sunflower);
  color: var(--burgundy-dark);
  transform: translateY(-1px);
}

/* Mobile toggle */
.pg-nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.pg-nav__burger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  background-color: var(--burgundy);
  background-image: url('../assets/images/backgrounds/data-globe.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(147,42,62,0.78) 0%, rgba(110,31,46,0.88) 50%, rgba(110,31,46,1) 75%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__headline span {
  color: var(--sunflower);
}

.hero__subhead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__strapline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sunflower);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 2rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about {
  padding: 5rem 2rem;
  background: var(--white);
}

.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about__headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--burgundy);
  margin-bottom: 2rem;
}

.about__text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

/* ================================================================
   COMPANIES SECTION
   ================================================================ */
.companies {
  padding: 5rem 2rem;
  background: var(--light-bg);
}

.companies__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.companies__headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--burgundy);
  text-align: center;
  margin-bottom: 1rem;
}

.companies__subhead {
  font-size: 1.05rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.companies__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.company-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(147,42,62,0.1);
}

.company-card__orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--white);
  letter-spacing: 0.03em;
}

.company-card__logo {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 40px;
  margin: 0 auto 1.5rem;
}
.company-card__logo--small {
  max-width: 135px;
  max-height: 30px;
}

.company-card__orb--inform {
  background: linear-gradient(135deg, #013366 0%, #19a5cc 100%);
}

.company-card__orb--cazana {
  background: linear-gradient(135deg, #0f001b 0%, #5dc0c9 100%);
}

.company-card__orb--pdx {
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--coral) 100%);
}

.company-card__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.company-card__tagline {
  font-size: 0.85rem;
  color: var(--burgundy);
  font-weight: 700;
  margin-bottom: 1rem;
}

.company-card__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.company-card__link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--burgundy);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.company-card__link:hover {
  color: var(--coral);
  border-color: var(--burgundy);
}

/* ================================================================
   GLASS BUTTON (btn-ghost)
   ================================================================ */
.btn-ghost {
  display: inline-block;
  background: rgba(239,73,92,0.12);
  color: #ffffff;
  border: 1.5px solid rgba(239,73,92,0.35);
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'greycliff-cf', -apple-system, BlinkMacSystemFont, sans-serif;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(239,73,92,0.3);
  border-color: rgba(239,73,92,0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(239,73,92,0.25);
  color: #ffffff;
}

/* ================================================================
   SCHEDULE CALL MODAL
   ================================================================ */
.sc-modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(147,42,62,0.55);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.sc-modal-bg.active { display: flex; }
.sc-modal {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(147,42,62,0.25);
}
.sc-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
}
.sc-modal__close:hover { color: var(--burgundy); }
.sc-modal h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--burgundy);
  text-align: center;
  margin: 0 0 0.5rem;
}
.sc-modal p {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-bottom: 1.5rem;
}
.sc-form input,
.sc-form textarea {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  color: #333;
}
.sc-form textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.sc-form input:focus,
.sc-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(239,73,92,0.15);
}
.sc-form__terms {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 1rem;
  text-align: center;
}
.sc-form__terms a { color: var(--coral); text-decoration: underline; }
.sc-form__human {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #575756;
  margin-bottom: 1rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f9f9f9;
}
.sc-form__human input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--coral);
}
.sc-form__submit {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--burgundy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.sc-form__submit:hover { background: var(--coral); }

/* Companion nav logo */
.pg-nav__companion {
  height: 24px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.pg-nav__companion:hover { opacity: 1; }

.pg-nav__right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* ================================================================
   TEAM SECTION
   ================================================================ */
.team {
  padding: 5rem 2rem;
  background: var(--white);
  text-align: center;
}

.team__headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--burgundy);
  margin-bottom: 3rem;
}

.team__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team__member {
  width: 140px;
  cursor: pointer;
  transition: transform 0.2s;
}

.team__member:hover {
  transform: translateY(-4px);
}

.team__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--light-grey);
  transition: border-color 0.2s;
}

.team__member:hover .team__avatar {
  border-color: var(--coral);
}

.team__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.team__role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Bio Modals */
.bio-modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.bio-modal-bg.active {
  display: flex;
}

.bio-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.bio-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--mid-grey);
  line-height: 1;
}

.bio-modal__close:hover { color: var(--burgundy); }

.bio-modal__name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 0.25rem;
}

.bio-modal__role {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.bio-modal__text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bio-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bio-modal__email {
  font-size: 0.85rem;
  color: var(--burgundy);
  font-weight: 600;
}

.bio-modal__schedule {
  font-size: 0.85rem;
  color: var(--white);
  background: var(--burgundy);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bio-modal__schedule:hover {
  background: var(--coral);
  color: var(--white);
}

.bio-modal__schedule svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.bio-modal__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--burgundy);
  font-weight: 600;
}

.bio-modal__linkedin:hover { color: var(--coral); }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-panel {
  position: relative;
  padding: 5rem 2rem;
  background-color: var(--burgundy);
  background-image: url('../assets/images/backgrounds/meeting-space.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(147,42,62,0.75);
  z-index: 1;
}

.cta-panel__headline {
  position: relative;
  z-index: 2;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-panel__text {
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-panel__btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--white);
  color: var(--burgundy);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.cta-panel__btn:hover {
  background: var(--sunflower);
  color: var(--burgundy-dark);
  transform: translateY(-2px);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--burgundy-dark);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer__logo {
  height: 28px;
  margin: 0 auto 1rem;
}

.footer__strapline {
  font-size: 0.85rem;
  color: var(--sunflower);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer__link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.footer__link:hover { color: var(--white); }

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ================================================================
   COMPANY PAGE — Hero
   ================================================================ */
.co-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background-color: var(--burgundy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.co-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(147,42,62,0.78) 0%, rgba(110,31,46,0.88) 50%, rgba(110,31,46,1) 75%);
  z-index: 1;
}
.co-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.co-hero__logo {
  height: 36px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);
}
.co-page--pil .co-hero__logo {
  height: 43px;
}
.co-page--cazana .co-hero__logo {
  height: 29px;
}
.co-hero__headline {
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.co-hero__headline span {
  color: #ffffff;
}
.co-hero__subhead {
  font-size: clamp(0.84rem, 1.25vw, 0.93rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Company page — Content */
.co-content {
  padding: 4rem 2rem;
  background: var(--white);
}
.co-content__inner {
  max-width: 900px;
  margin: 0 auto;
}
.co-content__headline {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--burgundy);
  margin-bottom: 1.5rem;
}
.co-content__text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.co-content__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.co-content__list li {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.co-content__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.co-cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.co-cta:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Glass panels layout ---- */
.co-panels {
  padding: 4rem 2rem;
  background: var(--light-bg);
}
.co-panels__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.co-panel {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.co-panel__headline {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}
.co-panel__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.co-panel__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.co-panel__list li {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.co-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}
.co-panel .co-cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
}

/* Colour variant overrides for panels */
.co-page--pil .co-panel__headline { color: #013366; }
.co-page--pil .co-panel__list li::before { background: #19a5cc; }
.co-page--cazana .co-panel__headline { color: #534898; }
.co-page--cazana .co-panel__list li::before { background: #534898; }
.co-page--pdx .co-panel__headline { color: #00522d; }
.co-page--pdx .co-panel__list li::before { background: #00522d; }

/* ---- Company colour variants ---- */

/* Percayso Inform — Navy/Sky */
.co-page--pil .co-hero {
  background-color: #013366;
}
.co-page--pil .co-hero::before {
  background: linear-gradient(to bottom, rgba(1,51,102,0.78) 0%, rgba(1,51,102,0.88) 50%, rgba(1,51,102,1) 75%);
}
.co-page--pil .co-content__headline { color: #013366; }
.co-page--pil .co-content__list li::before { background: #19a5cc; }
.co-page--pil .co-cta { background: #013366; }
.co-page--pil .co-cta:hover { background: #19a5cc; }

/* Cazana — Purple */
.co-page--cazana .co-hero {
  background-color: #534898;
}
.co-page--cazana .co-hero::before {
  background: linear-gradient(to bottom, rgba(83,72,152,0.78) 0%, rgba(63,54,120,0.88) 50%, rgba(63,54,120,1) 75%);
}
.co-page--cazana .co-content__headline { color: #534898; }
.co-page--cazana .co-content__list li::before { background: #534898; }
.co-page--cazana .co-cta { background: #534898; }
.co-page--cazana .co-cta:hover { background: #6f63b3; }

/* PDX — Pine Green */
.co-page--pdx .co-hero {
  background-color: #00522d;
}
.co-page--pdx .co-hero::before {
  background: linear-gradient(to bottom, rgba(0,82,45,0.78) 0%, rgba(0,62,34,0.88) 50%, rgba(0,62,34,1) 75%);
}
.co-page--pdx .co-content__headline { color: #00522d; }
.co-page--pdx .co-content__list li::before { background: #00522d; }
.co-page--pdx .co-cta { background: #00522d; }
.co-page--pdx .co-cta:hover { background: #007a42; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .pg-nav__centre { display: none; }
  .pg-nav__mobile-toggle { display: block; }

  /* Open mobile menu panel */
  .pg-nav.pg-nav--open .pg-nav__centre {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--burgundy);
    padding: 1.25rem 2rem 1.75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 9999;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pg-nav.pg-nav--open .pg-nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .pg-nav.pg-nav--open .pg-nav__item {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .pg-nav.pg-nav--open .pg-nav__link,
  .pg-nav.pg-nav--open .pg-nav__link--parent {
    width: 100%;
    text-align: left;
    padding: 0.85rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .pg-nav.pg-nav--open .pg-nav__dropdown {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    background: rgba(0,0,0,0.15);
    box-shadow: none;
    border: none;
    padding: 0;
    min-width: 0;
    transition: opacity 0.2s ease, max-height 0.3s ease, visibility 0.2s ease;
  }
  .pg-nav.pg-nav--open .pg-nav__link--parent[aria-expanded="true"] + .pg-nav__dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: 0.4rem 0;
  }

  .companies__grid {
    grid-template-columns: 1fr;
  }

  .co-panels__grid {
    grid-template-columns: 1fr;
  }

  .team__member {
    width: 120px;
  }

  .team__avatar {
    width: 100px;
    height: 100px;
  }
}

/* ================================================================
   COMPANION LOGIN MODAL
   ================================================================ */
.cm-modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(110, 31, 46, 0.55);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.cm-modal-bg.active { display: flex; }
.cm-modal {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(110, 31, 46, 0.25);
  text-align: center;
}
.cm-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
}
.cm-modal__close:hover { color: var(--burgundy); }
.cm-modal__logo {
  display: block;
  margin: 0 auto 1.25rem;
  height: 28px;
  width: auto;
}
.cm-modal h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--burgundy);
  margin: 0 0 0.25rem;
}
.cm-modal p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}
.cm-modal input {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.cm-modal input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(239, 73, 92, 0.15);
}
.cm-modal__submit {
  display: inline-block;
  padding: 0.65rem 2.5rem;
  margin-top: 0.5rem;
  background: var(--burgundy);
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.cm-modal__submit:hover { background: var(--burgundy-dark); }
.cm-modal .cm-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* ================================================================
   LATEST NEWS (home) + BLOG
   ================================================================ */
.news { padding: 5rem 2rem; background: var(--light-bg); }
.news__inner { max-width: 1100px; margin: 0 auto; }
.news__headline { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; color: var(--burgundy); text-align: center; margin-bottom: 3rem; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.news__card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(110,31,46,0.08); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.news__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(110,31,46,0.15); }
.news__thumb-link { display: block; }
.news__thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.news__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news__tag { align-self: flex-start; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--burgundy); padding: 0.25rem 0.6rem; border-radius: 4px; margin-bottom: 0.75rem; }
.news__title { font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 0.6rem; }
.news__summary { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.news__meta { font-size: 0.78rem; color: var(--mid-grey); margin-bottom: 0.75rem; }
.news__link { font-size: 0.85rem; font-weight: 700; color: var(--burgundy); align-self: flex-start; }
.news__link:hover { color: var(--coral); }
.news__see-all { display: block; width: max-content; margin: 3rem auto 0; padding: 0.7rem 2rem; border: 2px solid var(--burgundy); color: var(--burgundy); border-radius: 9999px; font-weight: 700; font-size: 0.9rem; transition: background .2s, color .2s; }
.news__see-all:hover { background: var(--burgundy); color: #fff; }

.blog-hero { background: var(--burgundy); color: #fff; padding: 9rem 2rem 4rem; text-align: center; }
.blog-hero__inner { max-width: 800px; margin: 0 auto; }
.blog-hero__strapline { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sunflower); margin-bottom: 1rem; }
.blog-hero__headline { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; margin-bottom: 1rem; }
.blog-hero__subhead { font-size: 1.05rem; color: rgba(255,255,255,0.85); line-height: 1.7; }

.blog-section { padding: 4rem 2rem 5rem; background: var(--light-bg); }
.blog-listing { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(110,31,46,0.08); display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(110,31,46,0.15); }
.blog-card__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__brand { align-self: flex-start; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.6rem; border-radius: 4px; margin-bottom: 0.75rem; color: #fff; }
.blog-card__brand--pil { background: #19a5cc; }
.blog-card__brand--cazana { background: #534898; }
.blog-card__date { font-size: 0.78rem; color: var(--mid-grey); margin-bottom: 0.5rem; }
.blog-card__title { font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 0.6rem; }
.blog-card__excerpt { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.blog-card__link { font-size: 0.85rem; font-weight: 700; color: var(--burgundy); }
.blog-card:hover .blog-card__link { color: var(--coral); }

@media (max-width: 900px) { .news__grid, .blog-listing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news__grid, .blog-listing { grid-template-columns: 1fr; } }
