/* ==========================================================================
   COPD Research – copdresearch.com.au
   Brand palette drawn from the COPD Research logo:
   Navy #2B3647 · Logo Blue #1870B8 · Sky #42B3E5 · Ocean #0384CE
   Deep Blue #3156A3 · Green #22AF4B · Ink #151515
   ========================================================================== */

:root {
  --navy: #2b3647;
  --logo-blue: #1870b8;
  --sky: #42b3e5;
  --ocean: #0384ce;
  --deep-blue: #3156a3;
  --green: #22af4b;
  --green-dark: #1c9640;
  --ink: #151515;
  --bg: #f5f7fa;
  --bg-alt: #eef2f6;
  --white: #ffffff;
  --text: #46505c;
  --text-soft: #6b7686;
  --border: #e1e6ec;

  --font-display: "Source Serif 4", "Georgia", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 40px -18px rgba(43, 54, 71, 0.35);
  --shadow-soft: 0 10px 30px -14px rgba(43, 54, 71, 0.25);
  --container: 1180px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--logo-blue); text-decoration: none; }
a:hover { color: var(--ocean); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.6em;
  position: relative;
  padding-bottom: 10px;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  background: var(--sky);
  border-radius: 2px;
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 22px -8px rgba(34, 175, 75, 0.55);
}
.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); }
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { transform: translateY(-1px); color: var(--navy); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: #1e2634; color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 116px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 90px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding: 10px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}
.nav a.nav-link:hover {
  background: var(--bg-alt);
  color: var(--ocean);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -12px rgba(43, 54, 71, 0.35);
}
.nav a.nav-link.active {
  background: var(--sky);
  color: var(--white);
}
.nav a.nav-link.active:hover {
  background: var(--sky);
  color: var(--white);
  transform: none;
  box-shadow: none;
}
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 116px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    display: none;
    box-shadow: var(--shadow-soft);
  }
  .nav.open { display: flex; }
  .nav a.nav-link { text-align: center; margin: 4px 0; }
  .header-actions .btn-green.desktop-only { display: none; }
}

/* Hero (home) ------------------------------------------------------------ */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(13,18,28,0.55) 0%, rgba(13,18,28,0.22) 45%, rgba(13,18,28,0.4) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  gap: 40px;
  align-items: center;
}
.hero-panel {
  background: rgba(24, 31, 45, 0.94);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.hero h1 { color: var(--white); margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; display: block; color: var(--sky); }
.hero p.lede {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-badge {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 360px;
}
.hero-badge .breath-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 2px solid rgba(66,179,229,0.5);
  animation: breathe 4.5s ease-in-out infinite;
}
.hero-badge .breath-ring.ring-2 { inset: -60px; animation-delay: 0.6s; border-color: rgba(66,179,229,0.28); }
@media (prefers-reduced-motion: reduce) {
  .hero-badge .breath-ring { animation: none; }
}
@keyframes breathe {
  0%, 100% { transform: scale(0.94); opacity: 0.55; }
  50% { transform: scale(1.04); opacity: 1; }
}
.hero-badge-card {
  position: relative;
  background: rgba(19, 25, 37, 0.68);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
}
.hero-badge-card .stat { font-family: var(--font-display); font-size: 2.4rem; color: var(--white); }
.hero-badge-card .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.hero-badge-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.25); margin: 16px 0; }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--deep-blue) 60%, var(--ocean) 100%);
  color: var(--white);
  padding: 68px 0 78px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 62ch; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }

/* Three-up feature cards -------------------------------------------------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -56px;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.feature-card {
  padding: 38px 34px;
  color: var(--white);
}
.feature-card:nth-child(1) { background: var(--sky); }
.feature-card:nth-child(2) { background: var(--ocean); }
.feature-card:nth-child(3) { background: var(--deep-blue); }
.feature-card h3 { color: var(--white); margin-bottom: 10px; }
.feature-card p { color: rgba(255,255,255,0.88); font-size: 0.95rem; }
.feature-card .btn { margin-top: 14px; }
.feature-card .btn {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.feature-card .btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 30px -12px rgba(21, 21, 21, 0.45);
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 820px) {
  .feature-strip { grid-template-columns: 1fr; margin-top: -30px; border-radius: var(--radius-md); }
}

/* Intro / two column split ------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }
.split-media { position: relative; }
.split-media .stack-a {
  display: block;
  width: auto;
  height: auto;
  max-width: min(620px, 100%);
  max-height: 760px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.split-media .stack-b {
  position: absolute;
  bottom: -34px;
  right: -34px;
  width: auto;
  height: auto;
  max-width: min(420px, 45%);
  max-height: 320px;
  border: 6px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.checklist { list-style: none; margin: 22px 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--text);
}
.checklist li .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ocean);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 72px; text-align: left; }
  .hero-badge { justify-self: start; max-width: 320px; margin-top: 34px; }
  .hero-panel { padding: 32px 28px; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 60px; padding: 70px 0; }
  .split.reverse .split-media, .split.reverse .split-copy { order: initial; }
  .split-media { margin-bottom: 10px; }
  .split-media .stack-b { max-width: min(240px, 50%); bottom: -24px; right: -18px; }
}

/* Stats strip -------------------------------------------------------------*/
.stats {
  background: var(--bg-alt);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stats-grid .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ocean);
}
.stats-grid .stat-cap { color: var(--text-soft); font-size: 0.92rem; }
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Info strip (address / register / contact) ------------------------------ */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.info-strip a.info-item,
.info-strip .info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 34px 40px;
  color: var(--white);
}
.info-strip .info-item:nth-child(1) { background: var(--sky); }
.info-strip .info-item:nth-child(2) { background: var(--ocean); }
.info-strip .info-item:nth-child(3) { background: var(--deep-blue); }
.info-strip .info-item .icon { flex: none; width: 34px; height: 34px; }
.info-strip .info-item .info-label { font-size: 0.82rem; color: rgba(255,255,255,0.85); display: block; }
.info-strip .info-item .info-value { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); }
@media (max-width: 820px) {
  .info-strip { grid-template-columns: 1fr; }
}

/* Footer (main, multi-column) --------------------------------------------- */
.site-footer-main {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  color: var(--text);
  padding: 5px 0;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--ocean); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand img { height: 48px; width: auto; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 30ch; color: var(--text-soft); margin: 0; }
.footer-contact p { font-size: 0.92rem; margin: 0 0 8px; color: var(--text); }
.footer-contact a { display: inline; padding: 0; color: var(--ocean); font-weight: 600; }
@media (max-width: 900px) {
  .footer-main-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-main-grid { grid-template-columns: 1fr; text-align: center; gap: 34px; }
  .footer-brand .brand { justify-content: center; }
}

/* Footer (bottom credit bar) ----------------------------------------------*/
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 20px 0;
  font-size: 0.85rem;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; justify-self: end; }
.site-footer a { color: rgba(255,255,255,0.75); margin-left: 22px; }
.site-footer a:hover { color: var(--white); }
.footer-credit { text-align: center; color: rgba(255,255,255,0.6); }
.site-footer .footer-credit a { color: rgba(255,255,255,0.9); font-weight: 600; margin-left: 0; }
.footer-credit a:hover { color: var(--white); }
@media (max-width: 700px) {
  .site-footer .container { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-self: center; }
  .site-footer a { margin: 0 10px; }
  .site-footer .footer-credit a { margin: 0; }
}

/* Section helpers ----------------------------------------------------------*/
.section { padding: 96px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--bg-alt); padding: 5mm 0; }
.center { text-align: center; }
.max-prose { max-width: 74ch; margin-left: auto; margin-right: auto; }

/* Cards grid (resources / about) ------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}
.res-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.res-card .res-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--ocean);
}
.res-card h3 { margin-bottom: 4px; }
.res-card .res-link { font-weight: 600; margin-top: auto; }
.trial-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
}
.trial-status.is-open { background: rgba(34, 175, 75, 0.13); color: var(--green-dark); }
.trial-status.is-closed { background: rgba(70, 80, 92, 0.1); color: var(--text-soft); }
.trial-status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.trial-meta { font-size: 0.82rem; color: var(--text-soft); margin: 0; }
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* News / articles ---------------------------------------------------------*/
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 38px 0 6px; }
.news-filter a {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.news-filter a.active, .news-filter a:hover { background: var(--ocean); color: var(--white); border-color: var(--ocean); }

.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-top: 40px;
}
.featured-post img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.featured-post .featured-copy { padding: 40px 40px 40px 4px; }
.featured-post .news-tag { margin-bottom: 14px; }
.featured-post h2 { margin-bottom: 10px; }
.featured-post .news-meta { margin-bottom: 16px; }
@media (max-width: 860px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post img { min-height: 220px; }
  .featured-post .featured-copy { padding: 8px 28px 32px; }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card .news-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { margin-bottom: 0; font-size: 1.12rem; }
.news-card .news-card-body p { margin-bottom: 0; font-size: 0.94rem; }
.news-card .res-link { margin-top: auto; font-weight: 600; }
.news-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ocean);
  background: var(--bg-alt);
  padding: 5px 11px;
  border-radius: 999px;
  width: fit-content;
}
.news-meta {
  font-size: 0.82rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-soft); }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* Classic news list (line items, not tiles) ------------------------------ */
.news-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.news-list-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.news-list-item img {
  flex: none;
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.news-list-body { flex: 1; min-width: 0; }
.news-list-body h3 { margin: 4px 0 6px; font-size: 1.08rem; }
.news-list-body h3 a { color: var(--navy); text-decoration: none; }
.news-list-body h3 a:hover { color: var(--ocean); text-decoration: underline; }
.news-list-body p { margin: 0; font-size: 0.94rem; color: var(--text); }
@media (max-width: 560px) {
  .news-list-item { flex-direction: column; }
  .news-list-item img { width: 100%; height: 160px; }
}

.newsletter-inline {
  max-width: 480px;
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.newsletter-inline input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.newsletter-inline input:focus { outline: 2px solid var(--sky); border-color: var(--sky); }

/* Two-column list (causes/symptoms) --------------------------------------- */
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .two-col-list { grid-template-columns: 1fr; }
}
.pill-list { list-style: none; margin: 0; padding: 0; }
.pill-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
}
.pill-list li:last-child { border-bottom: none; }
.pill-list .dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
  margin-top: 8px;
}

/* FAQ accordion -------------------------------------------------------------*/
.faq { max-width: 820px; margin: 46px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}
.faq-q .chev { transition: transform 0.2s ease; flex: none; color: var(--ocean); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-soft);
}
.faq-a p { padding-bottom: 20px; margin: 0; }
.faq-item.open .faq-a { max-height: 320px; }

/* Forms -------------------------------------------------------------------*/
.form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.form-field .hint { font-size: 0.78rem; color: var(--text-soft); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--navy);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(66,179,229,0.18);
}
textarea { resize: vertical; min-height: 100px; }
.checkbox-group, .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.checkbox-row, .radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text);
}
.checkbox-row input, .radio-row input { width: 16px; height: 16px; accent-color: var(--ocean); }
.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 22px 0;
}
.consent-row input { margin-top: 3px; accent-color: var(--ocean); }
.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 14px;
}
.form-success {
  display: none;
  background: rgba(34,175,75,0.1);
  border: 1px solid rgba(34,175,75,0.35);
  color: var(--green-dark);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}
.form-success.show { display: block; }
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 28px; }
}

/* Contact page split ------------------------------------------------------*/
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}
.contact-side .res-card { margin-bottom: 20px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Register page split ------------------------------------------------------*/
.register-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.register-aside { position: sticky; top: 116px; }
.register-aside img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(480px, 100%);
  max-height: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.register-aside .aside-quote {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--text);
}
@media (max-width: 900px) {
  .register-grid { grid-template-columns: 1fr; }
  .register-aside { position: static; order: 2; }
  .register-aside img { max-width: min(340px, 100%); max-height: 260px; }
}

/* CTA band ------------------------------------------------------------------*/
.cta-band {
  background: linear-gradient(120deg, var(--deep-blue), var(--ocean));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }

/* Placeholder image tag ------------------------------------------------------*/
.ph-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
