/* Common Cents Consultancy website: the approved "Option A" design. */

:root {
  --navy: #0B2545;
  --navy-deep: #071A33;
  --red: #C8102E;
  --red-dark: #A50D26;
  --red-tint: #FBE7EA;
  --text: #1A2433;
  --muted: #46515F;
  --subtle: #5B6675;
  --line: #E3E8EF;
  --line-soft: #EEF1F5;
  --chip-line: #D5DCE5;
  --outline: #C9D2DE;
  --grey-bg: #F4F6F9;
  --blue-tint: #E8EEF6;
  --on-navy: #C3CEDB;
  --green: #1DA851;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 104px);
  --shadow: 0 24px 48px -24px rgba(11, 37, 69, 0.25);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
[hidden] { display: none !important; }

a { color: var(--navy); }
a:hover { color: var(--red); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

h1, h2, h3 { color: var(--navy); margin: 0; }
h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--navy); color: #FFFFFF; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

.highlight { color: var(--red); }
.muted { color: var(--muted); }
.lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 680px; }
.eyebrow { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #FFFFFF; }
.btn-primary:hover { background: var(--red-dark); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: var(--navy); border-color: var(--outline); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #FFFFFF; }
.btn-ghost-light { background: transparent; color: #FFFFFF; border-color: #5A7290; }
.btn-ghost-light:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn[aria-disabled="true"] { opacity: .7; cursor: progress; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; color: var(--red); text-decoration: none; }
.text-link:hover { color: var(--red-dark); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-button:hover { color: #FFFFFF; }

/* ------------------------------------------------------------------ top bar and header */

.topbar { background: var(--navy); color: #DCE3EC; font-size: 13px; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar a { color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #FFFFFF; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 20; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-sub { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); }
.brand-light, .brand-light:hover { color: #FFFFFF; }
.brand-light .brand-sub { color: var(--on-navy); }
/* A logo uploaded in Site settings. Contained, so an unusual shape is never stretched. */
.brand-logo { display: block; height: 48px; width: auto; max-width: min(260px, 55vw); object-fit: contain; object-position: left center; }
.brand-logo-chip { box-sizing: content-box; background: #FFFFFF; padding: 8px 12px; border-radius: 10px; }

.main-nav { display: flex; align-items: center; gap: 32px; font-weight: 600; font-size: 15px; }
.main-nav a:not(.btn) { text-decoration: none; }
.main-nav a[aria-current="page"]:not(.btn), .mobile-nav a[aria-current="page"]:not(.btn) { color: var(--red); }

.menu-button {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--chip-line); border-radius: 8px; background: #FFFFFF; color: var(--navy); cursor: pointer;
}
.menu-button span { display: inline-flex; }

.mobile-nav { border-top: 1px solid var(--line); padding: 4px 16px 16px; display: flex; flex-direction: column; font-weight: 600; font-size: 16px; }
.mobile-nav a:not(.btn) { text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 12px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-button { display: inline-flex; }
  .topbar-note { display: none; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}

/* ------------------------------------------------------------------ sections */

.section { padding: var(--section-y) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-grey { background: var(--grey-bg); }
.section-title { margin-bottom: 40px; max-width: 680px; }
.section-title-sm { font-size: 22px; letter-spacing: -0.01em; }
.section-intro { margin-top: 16px; max-width: 600px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 40px; }
.section-head > div { flex: 1 1 420px; min-width: 0; max-width: 680px; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split-top { align-items: flex-start; }
.split-text { flex: 1 1 460px; min-width: 0; }
.split-text > h2 + p, .split-text > h2 + .prose { margin-top: 20px; }
.split-media { flex: 1 1 420px; min-width: 0; }
.split-reverse { flex-direction: row-reverse; }

.rounded-img { width: 100%; border-radius: 16px; object-fit: cover; }
.split-media .rounded-img { aspect-ratio: 5 / 4; }
.brand-panel {
  aspect-ratio: 5 / 4; border-radius: 16px; background: var(--blue-tint);
  display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px;
}
.brand-panel .brand-mark { width: clamp(64px, 10vw, 104px); height: auto; }
.brand-panel .brand-logo { height: auto; width: clamp(160px, 24vw, 280px); max-width: 80%; object-position: center; }
.brand-panel .brand-text { display: none; }
/* Without a photo the panel is only decoration: on phones it would fill a whole screen. */
@media (max-width: 700px) { .brand-panel { display: none; } }

/* ------------------------------------------------------------------ home hero */

.hero { background: var(--grey-bg); }
.hero-inner { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; }
.hero .lead { margin-top: 24px; max-width: 560px; }
.hero-visual { flex: 1 1 380px; min-width: 0; position: relative; }
.hero-photo { width: 100%; border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 6 / 5; object-fit: cover; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px;
  border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.tick-row { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; color: var(--navy); }
.tick-row li { display: inline-flex; align-items: center; gap: 8px; }
.tick-row svg, .tick-list svg { color: var(--red); stroke-width: 2.5; }

.checklist-card { background: #FFFFFF; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px; }
.checklist-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.checklist-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.checklist-title { font-size: 18px; font-weight: 700; color: var(--navy); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 10px; font-weight: 600; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag-navy { color: var(--navy); background: var(--blue-tint); padding: 6px 10px; }
.tag-green { color: #0E6B3A; background: #E3F4EA; }
.tag-amber { color: #8A4B00; background: #FDF1DC; }
.bars { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.bars span { flex: 1; background: #DCE3EC; border-radius: 4px 4px 0 0; }
.bars span:nth-child(1) { height: 45%; }
.bars span:nth-child(2) { height: 60%; }
.bars span:nth-child(3) { height: 52%; }
.bars span:nth-child(4) { height: 72%; }
.bars span:nth-child(5) { height: 68%; }
.bars span:nth-child(6) { height: 90%; background: var(--navy); }

.hero-badge {
  position: absolute; top: -36px; right: -12px; background: var(--red); color: #FFFFFF; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 12px 24px -12px rgba(200, 16, 46, 0.6); line-height: 1.2; display: flex; flex-direction: column;
}
.hero-badge-small { font-size: 12px; font-weight: 600; }
.hero-badge-big { font-size: 24px; font-weight: 800; }
@media (max-width: 600px) {
  .hero-badge { position: static; display: inline-flex; margin-top: 16px; }
}

/* ------------------------------------------------------------------ stats */

.stats { background: var(--navy); color: #FFFFFF; }
.stats-grid { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 40%), 1fr)); gap: 32px 24px; }
.stat-value { font-size: clamp(36px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.stat-label { color: var(--on-navy); font-weight: 500; }

/* ------------------------------------------------------------------ cards */

.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin: 20px 0 8px; }
.card .muted { font-size: 15px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.section-grey .card { border-color: var(--line); }

.icon-tile { width: 48px; height: 48px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; }
.icon-tile-navy { background: var(--blue-tint); color: var(--navy); }

.service-card { position: relative; display: flex; flex-direction: column; transition: border-color .15s ease, box-shadow .15s ease; }
.service-card:hover { border-color: var(--outline); box-shadow: 0 16px 32px -24px rgba(11, 37, 69, 0.35); }
.card-link { text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--red); }
.service-card:hover .card-link { color: var(--red); }

.dash-list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.dash-list li { position: relative; padding-left: 18px; }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 8px; height: 2px; background: var(--red); }

.tick-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tick-list li { display: flex; gap: 12px; }
.tick-list svg { margin-top: 2px; }
.tick-list-sm { gap: 10px; font-size: 15px; margin: 16px 0 24px; }

/* ------------------------------------------------------------------ steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step { border-top: 3px solid var(--navy); padding-top: 20px; }
.step-first { border-top-color: var(--red); }
.step-number { font-size: 14px; font-weight: 800; color: var(--navy); }
.step-first .step-number { color: var(--red); }
.step h3 { margin: 8px 0; }
.step .muted { font-size: 15px; }

/* ------------------------------------------------------------------ software chips */

.software-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.software-inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.software-inner h2 { flex: 1 1 260px; font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.software-inner .chips { flex: 999 1 520px; margin: 0; }
.software-section .muted { margin-top: 8px; }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1px solid var(--chip-line); border-radius: 999px; font-weight: 700; color: var(--navy); background: #FFFFFF; }
.chips .chip-more { border-style: dashed; font-weight: 600; color: var(--subtle); }

/* ------------------------------------------------------------------ team */

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

.member { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.member-photo, .leader-photo {
  aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #EEF2F7, #D5DDE8); display: flex; align-items: flex-end; justify-content: center;
}
.member-photo img, .leader-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.member:hover .member-photo img { transform: scale(1.03); }
.avatar { width: 62%; height: auto; fill: #B9C5D4; }
.member-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.member-text { min-width: 0; }
.member h3 { font-size: 17px; }
.member-role { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--red); }
.member-meta { margin-top: 2px; font-size: 13px; color: var(--muted); }

.icon-link {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--chip-line); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.icon-link:hover { border-color: var(--navy); }

.group-title { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); margin: 40px 0 20px; }
.section-intro + .group-title, .section-title + .group-title { margin-top: 0; }

.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.leader { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.leader .member-role { margin: 0 0 4px; }
.leader h3 { font-size: 21px; }
.leader .muted { margin-top: 12px; font-size: 15px; }
@media (max-width: 520px) { .leader { grid-template-columns: 1fr; } .leader-photo { max-width: 240px; } }
.chip-row { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row li { font-size: 13px; font-weight: 600; color: var(--navy); background: var(--blue-tint); padding: 4px 10px; border-radius: 6px; }
.leader-links { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }

.join-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: clamp(24px, 4vw, 40px); border-radius: 16px; background: var(--blue-tint); }
.join-band h2 { font-size: clamp(22px, 2.4vw, 28px); }
.join-band .muted { margin-top: 6px; }

/* ------------------------------------------------------------------ about: specialities and certifications */

.numbered-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.numbered-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--navy); }
.numbered-index { font-size: 13px; font-weight: 800; color: var(--red); }
.cert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cert { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--navy); color: #FFFFFF; border-radius: var(--radius); }
.cert-mark { width: 52px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); display: inline-flex; align-items: center; justify-content: center; }
.cert-name { font-size: 20px; font-weight: 800; }

/* ------------------------------------------------------------------ inner page heading */

.page-hero { background: var(--grey-bg); border-bottom: 1px solid var(--line); }
.page-hero > .container { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { max-width: 820px; }
.page-hero-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 56px; }
.page-hero-main { flex: 1 1 520px; min-width: 0; }

.breadcrumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; color: var(--subtle); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; }
.breadcrumbs a { color: var(--subtle); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--navy); }

.benefits { flex: 0 1 380px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.benefit { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.benefit-title { font-weight: 800; color: var(--navy); }
.benefit-text { font-size: 14px; color: var(--muted); margin-top: 4px; }

.group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.group-number { font-size: 14px; font-weight: 800; color: #FFFFFF; background: var(--red); border-radius: 8px; padding: 6px 10px; }
.group-head h2 { font-size: clamp(24px, 2.8vw, 32px); }

/* ------------------------------------------------------------------ service page */

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } }
.service-image { margin-bottom: 32px; aspect-ratio: 16 / 9; }
.service-aside { position: sticky; top: 100px; }
.aside-title { font-size: 19px; margin-top: 20px; }

/* ------------------------------------------------------------------ rich text from the admin */

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--red); }

/* ------------------------------------------------------------------ call to action */

.cta-band {
  background: var(--navy); color: #FFFFFF; border-radius: 20px; padding: clamp(32px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-text { flex: 1 1 420px; min-width: 0; }
.cta-band h2 { color: #FFFFFF; }
.cta-band p { margin-top: 14px; color: var(--on-navy); font-size: 17px; }
.cta-band .button-row { margin-top: 0; }

/* ------------------------------------------------------------------ contact */

.contact-hero > .container { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-methods { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-methods a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.contact-methods a:hover { border-color: var(--outline); }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-icon-green { background: #E3F4EA; color: #0E6B3A; }
.contact-label { display: block; font-size: 13px; font-weight: 600; color: var(--subtle); }
.contact-value { display: block; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }

.contact-form { box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); }
.contact-form h2 { font-size: 24px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #FFFFFF;
  border: 1px solid var(--outline); border-radius: 8px; padding: 11px 12px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(11, 37, 69, 0.15); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--red); background: #FFF8F9; }
.field-error { font-size: 14px; font-weight: 600; color: var(--red); }
.form-alert { margin-bottom: 20px; padding: 12px 16px; border-radius: 8px; background: var(--red-tint); color: #8E0B21; font-weight: 600; font-size: 15px; }
.form-note { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--subtle); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.office-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; color: var(--muted); }
.office-list li { display: flex; gap: 14px; }
.office-list svg { color: var(--red); margin-top: 2px; }
.map-card {
  flex: 1 1 420px; min-height: 260px; border-radius: 16px; text-decoration: none;
  background:
    linear-gradient(rgba(232, 238, 246, 0.85), rgba(232, 238, 246, 0.85)),
    repeating-linear-gradient(0deg, transparent 0 38px, #C9D4E2 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, #C9D4E2 38px 40px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--navy);
}
.map-pin { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 24px -12px rgba(200, 16, 46, 0.6); }
.map-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: #FFFFFF; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); }
.map-card:hover .map-label { border-color: var(--navy); }

/* ------------------------------------------------------------------ FAQ, 404 and thank-you */

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { transition: transform .2s ease; color: var(--red); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }

.not-found { text-align: center; }
.not-found .narrow { display: flex; flex-direction: column; align-items: center; }
.not-found .lead { margin-left: auto; margin-right: auto; }
.not-found .button-row { justify-content: center; }
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: #E3F4EA; color: #0E6B3A; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }

/* ------------------------------------------------------------------ gallery */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.gallery-latest { padding-bottom: 0; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.event-card {
  position: relative; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.event-card:hover { box-shadow: 0 18px 36px -22px rgba(11, 37, 69, 0.4); transform: translateY(-2px); }
.event-card:hover .card-link { color: var(--red); }
.event-cover { position: relative; aspect-ratio: 16 / 10; background: var(--blue-tint); }
.event-cover img { width: 100%; height: 100%; object-fit: cover; }
.event-cover-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #13325A; color: #FFFFFF; }
.event-counts { position: absolute; left: 12px; bottom: 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.event-counts span { display: inline-flex; align-items: center; gap: 6px; background: rgba(11, 37, 69, 0.85); color: #FFFFFF; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.event-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.event-meta { font-size: 13px; font-weight: 700; color: var(--subtle); }
.event-category { color: var(--red); }
.event-title { margin: 6px 0 0; font-size: 19px; line-height: 1.3; }
.event-text { margin-top: 6px; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.event-card-featured { flex-direction: row; flex-wrap: wrap; }
.event-card-featured .event-cover { flex: 1 1 520px; min-height: 280px; }
.event-card-featured .event-body { flex: 1 1 340px; min-width: 0; justify-content: center; padding: clamp(24px, 4vw, 40px); }
.event-card-featured .event-meta { font-size: 14px; }
.event-card-featured .event-title { margin-top: 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.event-card-featured .event-text { margin-top: 14px; font-size: 16px; -webkit-line-clamp: 4; }
.event-card-featured .card-more { margin-top: 0; padding-top: 24px; font-size: 16px; }
@media (max-width: 600px) { .event-card-featured .event-cover { min-height: 0; } }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--chip-line); background: #FFFFFF;
  color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.section-head .muted { margin-top: 6px; }
@media (min-width: 900px) { .section-head .filter-chips { margin-left: auto; } }
.event-media + .event-media { padding-top: 0; }
.button-row-flush { margin-top: 0; }

.event-tag { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--red-tint); color: var(--red-dark); font-size: 13px; font-weight: 700; }
.event-facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; color: var(--muted); }
.event-facts li { display: inline-flex; align-items: center; gap: 8px; }
.event-facts svg { color: var(--red); }
.page-hero .event-facts + .lead { margin-top: 18px; }

.gallery-heading { margin-bottom: 20px; }
.gallery-heading-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.video { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.video figcaption { font-weight: 700; color: var(--navy); }
.video-play, .video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.video-play { display: flex; align-items: center; justify-content: center; background: #13325A; color: #FFFFFF; }
.video-play-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center;
  padding-left: 4px; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5); transition: transform .15s ease;
}
.video-play:hover .video-play-icon { transform: scale(1.06); }

.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; } }
.photo-tile.tall { grid-row: span 2; }
.photo-tile.wide { grid-column: span 2; }
.photo-tile a { display: block; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: var(--blue-tint); cursor: zoom-in; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.photo-tile a:hover img { transform: scale(1.03); }

.lightbox {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: 12px;
  padding: 16px clamp(8px, 3vw, 32px) 24px; background: rgba(7, 26, 51, 0.96); color: #FFFFFF;
}
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox-count { font-weight: 700; font-size: 15px; }
.lightbox-stage { flex: 1; min-height: 0; display: flex; align-items: center; gap: clamp(6px, 2vw, 20px); }
.lightbox-figure { flex: 1; min-width: 0; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100% - 48px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox-figure figcaption { font-weight: 600; text-align: center; color: #DCE3EC; }
.lightbox-btn {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox-btn[hidden] { display: none; }
body.has-lightbox { overflow: hidden; }
@media (max-width: 600px) { .lightbox-btn { width: 44px; height: 44px; } }

@media (prefers-reduced-motion: reduce) {
  .event-card:hover { transform: none; }
  .photo-tile a:hover img, .video-play:hover .video-play-icon { transform: none; }
}

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--navy-deep); color: var(--on-navy); font-size: 15px; }
.footer-grid { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-about { margin-top: 16px; }
.footer-heading { margin: 0 0 16px; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; overflow-wrap: anywhere; }
.site-footer a:not(.brand) { color: var(--on-navy); text-decoration: none; }
.site-footer a:not(.brand):hover { color: #FFFFFF; text-decoration: underline; }
.footer-badges { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges li { font-size: 12px; font-weight: 700; padding: 6px 10px; border: 1px solid #2D4566; border-radius: 6px; color: #FFFFFF; }
.social-links { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 10px; }
.social-links a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2D4566; color: #FFFFFF !important; display: inline-flex; align-items: center; justify-content: center; }
.social-links a:hover { border-color: #FFFFFF; }
.footer-bottom { border-top: 1px solid #1C3352; }
.footer-bottom-inner { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #9FB0C4; }
.footer-bottom .link-button { color: #9FB0C4; }

/* ------------------------------------------------------------------ WhatsApp button and cookie banner */

.whatsapp-float {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #FFFFFF !important;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}
.whatsapp-float:hover { background: #178C43; }

.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 40; max-width: 460px; width: calc(100% - 104px);
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 48px -16px rgba(11, 37, 69, 0.4);
  padding: 20px; font-size: 14px; color: var(--muted);
}
.cookie-banner a { color: var(--red); }
.cookie-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 560px) { .cookie-banner { width: calc(100% - 32px); bottom: 88px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .topbar, .site-header, .whatsapp-float, .cookie-banner, .cta-band { display: none !important; }
}
