/* =========================================================
   AAPDC Portal — IAI (Ikatan Arsitek Indonesia)
   Theme meniru iai.or.id: Poppins, maroon #9C1712, bersih.
   ========================================================= */

:root {
  --maroon:       #9C1712;
  --maroon-dark:  #7A120E;
  --maroon-deep:  #560C08;
  --maroon-light: #C0362F;
  --maroon-tint:  #FBEFEE;
  --maroon-tint2: #F7E2E0;
  --accent:       #B93108;
  --ink:          #1F1B1C;
  --ink-soft:     #413d3f;
  --muted:        #6F6C74;
  --line:         #E8E4E2;
  --line-strong:  #DAD5D2;
  --bg:           #FFFFFF;
  --surface:      #FFFFFF;
  --surface-soft: #FBF9F8;
  --success:      #1F7A3D;
  --danger:       #B42318;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow-sm:    0 1px 2px rgba(31,27,28,.06), 0 2px 8px rgba(31,27,28,.05);
  --shadow-md:    0 6px 22px rgba(31,27,28,.10), 0 2px 6px rgba(31,27,28,.06);
  --shadow-lg:    0 24px 60px rgba(31,27,28,.18);
  --max:          1200px;
  --font:         "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-dark); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Ikon SVG maroon */
.icon { width: 20px; height: 20px; display: inline-block; vertical-align: -.2em; fill: none; stroke: var(--maroon); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon--light { stroke: #fff; }
.icon--sm { width: 16px; height: 16px; }

/* ============= TOP BAR ============= */
.topbar { background: var(--maroon-deep); color: #fbeceb; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; flex-wrap: wrap; }
.topbar__text { display: flex; align-items: center; gap: 8px; }
.topbar__text .icon { width: 15px; height: 15px; stroke: #f6c9c6; }
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar a { color: #fbeceb; }
.topbar a:hover { color: #fff; }

/* ============= HEADER ============= */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 40px; width: auto; object-fit: contain; }
.brand__logo--iai { margin-left: 8px; opacity: 0.9; }
.brand__divider { display: inline-block; width: 1px; height: 36px; background: var(--maroon); margin: 0 4px; opacity: 0.4; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__title { font-weight: 700; font-size: 17px; color: var(--maroon); letter-spacing: -.2px; }
.brand__sub { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: var(--radius-sm); color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--maroon); background: var(--maroon-tint); }
.nav a.active { color: var(--maroon); }

.header__actions { display: flex; align-items: center; gap: 10px; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: .18s ease;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn--maroon { background: var(--maroon); color: #fff; box-shadow: var(--shadow-sm); }
.btn--maroon:hover { background: var(--maroon-dark); color: #fff; transform: translateY(-1px); }
.btn--maroon .icon { stroke: #fff; }
.btn--outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn--outline:hover { background: var(--maroon-tint); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--white { background: #fff; color: var(--maroon); }
.btn--white:hover { background: var(--maroon-tint); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }

/* ============= HERO ============= */
.hero {
  position: relative;
  color: #fff;
  background: radial-gradient(1100px 480px at 12% -10%, #c53f37 0%, transparent 45%),
              radial-gradient(900px 420px at 92% 8%, #7a120e 0%, transparent 55%),
              linear-gradient(132deg, #7A120E 0%, #9C1712 48%, #560C08 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 14px 14px;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: 72px 0 68px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: #f7d4d1; font-weight: 600; margin-bottom: 18px; }
.hero__eyebrow .icon { width: 18px; height: 18px; stroke: #f7d4d1; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.05; margin-bottom: 18px; letter-spacing: -.5px; }
.hero__title span { color: #fbc1bd; display: block; font-size: clamp(1.05rem, 2.4vw, 1.6rem); font-weight: 600; letter-spacing: .5px; margin-top: 12px; }
.hero__lead { color: #f7e0de; max-width: 560px; font-size: 17px; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 32px; }
.hero__meta-item { display: flex; align-items: center; gap: 10px; color: #fbeceb; font-size: 14px; }
.hero__meta-item .icon { width: 22px; height: 22px; stroke: #fbd6d3; }
.hero__side { position: relative; z-index: 2; }
.hero__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 22px; backdrop-filter: blur(4px); }
.hero__card h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.hero__card p { color: #f5dcd9; font-size: 14px; margin: 0 0 16px; }
.hero__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero__list li { display: flex; align-items: center; gap: 10px; color: #fbeceb; font-size: 14px; }
.hero__list .icon { width: 18px; height: 18px; stroke: #f8b6b1; flex: none; }

/* ============= SECTION ============= */
.section { padding: 64px 0; }
.section--soft { background: var(--surface-soft); }
.section__head { max-width: 680px; margin-bottom: 34px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--maroon); margin-bottom: 10px; }
.eyebrow .icon { width: 16px; height: 16px; }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 12px; letter-spacing: -.4px; }
.section__desc { color: var(--muted); font-size: 16px; }

/* ============= STATS / ABOUT ============= */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.about__body p { color: var(--ink-soft); margin: 0 0 16px; }
.about__body p strong { color: var(--maroon); }
.about__body p a { color: var(--maroon); font-weight: 600; text-decoration: none; transition: color .2s ease; }
.about__body p a:hover { color: var(--maroon-dark); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat .icon { width: 26px; height: 26px; margin-bottom: 12px; }
.stat__num { font-size: 28px; font-weight: 700; color: var(--maroon); line-height: 1; }
.stat a.stat__num { color: inherit; text-decoration: none; transition: color .2s ease; }
.stat a.stat__num:hover { color: var(--maroon-dark); }
.stat__label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ============= KEGIATAN CARDS ============= */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Pagination mode - 2 cards per page */
.grid--paginated { 
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: .2s ease; position: relative;
}

/* Registered card styling */
.card--registered {
  opacity: 0.7;
  background: var(--maroon-tint);
  border-color: var(--maroon-light);
}

.card__badge-registered {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--maroon);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  box-shadow: var(--shadow-sm);
}

.card__badge-registered .icon {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--maroon-tint2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; z-index: 2; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge .icon { width: 14px; height: 14px; }
.badge--free { background: #fff; color: var(--maroon); box-shadow: var(--shadow-sm); }
.badge--online { background: var(--maroon); color: #fff; }
.badge--offline { background: var(--ink); color: #fff; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.card__sub { color: var(--muted); font-size: 14px; margin-bottom: 14px; min-height: 40px; }
.card__meta { display: grid; gap: 9px; margin: auto 0 18px; }
.meta-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.meta-row .icon { width: 17px; height: 17px; flex: none; }
.meta-row--muted { color: var(--muted); }

/* Highlighted meta row (date) */
.meta-row--highlighted {
  color: var(--maroon);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
  background: var(--maroon-tint);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--maroon);
  display: flex;
  align-items: center;
}

.meta-row--highlighted .icon {
  stroke: var(--maroon);
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.meta-row--highlighted a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.meta-row--highlighted a:hover {
  color: var(--maroon-dark);
  text-decoration: underline;
}

.meta-row--phone {
  background: #f0fff4;
  border-color: #25D366;
  justify-content: center;
}

.card__foot { 
  display: flex; 
  align-items: stretch;
  justify-content: space-between; 
  gap: 10px; 
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  width: 100%;
  transition: all .2s ease;
}

.card__btn svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.card__btn:hover {
  transform: translateX(3px);
}

.card__btn:hover svg {
  transform: translateX(2px);
}

.card__btn--primary {
  background: var(--maroon);
  color: #fff;
}

.card__btn--primary:hover {
  background: var(--maroon-dark);
}

.card__btn--registered {
  background: var(--maroon-light);
  color: #fff;
  cursor: default;
  opacity: 0.9;
}

.card__btn--registered:hover {
  transform: none;
  background: var(--maroon-light);
}

.card__price { font-size: 14px; font-weight: 600; }
.card__price em { font-style: normal; color: var(--maroon); font-weight: 700; }
.card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--maroon); font-weight: 600; font-size: 14px; }
.card__link .icon { width: 16px; height: 16px; }

/* ============= EMPTY ============= */
.empty { text-align: center; padding: 60px 20px; background: var(--surface-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty .icon { width: 46px; height: 46px; stroke: var(--maroon); opacity: .6; margin-bottom: 14px; }
.empty h3 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 20px; }

/* ============= PAGINATION ============= */
.pagination-nav { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 16px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.pag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}

.pag-btn:hover:not(:disabled) {
  border-color: var(--maroon);
  color: var(--maroon);
}

.pag-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pag-indicator {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 16px;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  min-width: 120px;
  text-align: center;
}

.pag-current, .pag-total {
  color: var(--maroon);
  font-weight: 700;
}

/* ============= FOOTER ============= */
.footer { background: var(--maroon-deep); color: #f6d9d7; }
.footer a.stat__num, .footer a { color: #f8b6b1; text-decoration: none; transition: all .2s ease; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 52px 0 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__logo { height: 40px; width: auto; }
.footer__about { font-size: 14px; color: #f2cfcc; max-width: 380px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .3px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #f6d9d7; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.footer__contact .icon { width: 18px; height: 18px; stroke: #f8b6b1; flex: none; margin-top: 2px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; font-size: 13px; color: #eec6c3; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom a { color: #f6d9d7; }

/* ============= MODAL ============= */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(31,27,28,.55); backdrop-filter: blur(3px); }
.modal__dialog {
  position: relative; margin: auto; width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border: none; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--maroon); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.modal__close:hover { background: #fff; }
.modal__close .icon { stroke: var(--maroon); }
.modal__body { overflow-y: auto; padding: 0 26px 28px; }

.detail__banner { position: relative; margin: 0 -26px 22px; height: 300px; background: var(--maroon-tint2); overflow: hidden; }
.detail__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.detail__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.45)); }
.detail__banner-tag { position: absolute; left: 26px; bottom: 16px; z-index: 2; color: #fff; font-weight: 700; font-size: 22px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

.detail__title { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.detail__sub { color: var(--muted); margin-bottom: 18px; }

.detail__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; padding: 18px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 20px; }
.detail__meta-item { display: flex; gap: 10px; align-items: center; }
.detail__meta-item .icon { width: 18px; height: 18px; flex: none; }
.detail__meta-item b { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.detail__meta-item span { font-size: 14px; color: var(--ink-soft); }

.pricebox { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--maroon-tint); border: 1px solid var(--maroon-tint2); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 20px; }
.pricebox__label { font-weight: 700; color: var(--maroon); }
.pricebox__note { font-size: 13px; color: var(--ink-soft); }

/* markdown body */
.md-body { font-size: 15px; }
.md-body .md-h { margin: 22px 0 10px; }
.md-body .md-h1 { font-size: 22px; } .md-body .md-h2 { font-size: 19px; } .md-body .md-h3 { font-size: 17px; } .md-body .md-h4 { font-size: 16px; }
.md-body .md-p { margin: 0 0 14px; } .md-body .md-p:last-child { margin-bottom: 0; }
.md-body .md-list { margin: 0 0 14px; padding-left: 22px; }
.md-body .md-list li { margin-bottom: 6px; }
.md-body .md-link { color: var(--maroon); text-decoration: underline; }
.md-body .md-img { border-radius: var(--radius-sm); margin: 8px 0; }
.md-body .md-code { background: var(--maroon-tint); padding: 2px 6px; border-radius: 6px; font-size: .9em; color: var(--maroon-dark); }
.md-body .md-hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; }

.detail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ============= FORM ============= */
.form { display: grid; gap: 16px; }
.form__group { display: grid; gap: 7px; }
.form__label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.form__label em { color: var(--danger); font-style: normal; }
.form__input, .form__select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 15px; background: #fff; color: var(--ink); transition: .15s ease;
}
.form__input:focus, .form__select:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(156,23,18,.12); }
.form__input[type="radio"] { width: auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__radio { display: flex; gap: 8px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; align-items: center; font-size: 14px; }
.form__radio:has(input:checked) { border-color: var(--maroon); background: var(--maroon-tint); }
.form__checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.form__checkbox input { margin-top: 3px; }
.form__err { color: var(--danger); font-size: 13px; }
.form__alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; }
.form__alert--ok { background: #ecf9f0; color: #11622f; border: 1px solid #bfe8cc; }
.form__alert--err { background: #fdecea; color: var(--danger); border: 1px solid #f6c8c3; }
.form__alert ul { margin: 6px 0 0; padding-left: 18px; }
.form__note { font-size: 12px; color: var(--muted); }

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; padding: 52px 0; }
  .hero__side { display: none; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .grid--paginated { 
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { overflow-x: auto; scroll-behavior: smooth; }
  .header__inner { height: auto; padding: 10px 0; }
  
  /* Logo adjustments for mobile */
  .brand__logo { height: 32px; }
  .brand__divider { width: 1px; height: 28px; margin: 0 3px; }
  
  /* Grid on mobile - show all cards without pagination */
  .grid--paginated { 
    grid-template-columns: 1fr !important;
    max-width: 100%;
    margin: 0;
  }
  .pagination-nav { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .detail__meta { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  
  /* Mobile card adjustments */
  .card__media { aspect-ratio: 16 / 9; }
  .card__body { padding: 18px; }
  .card__title { font-size: 17px; }
  .card__sub { font-size: 13px; min-height: 36px; }
  .meta-row--highlighted { font-size: 14px; padding: 10px 12px; border-left-width: 3px; }
  .meta-row--highlighted svg { width: 17px; height: 17px; }
  .card__foot { flex-direction: column; gap: 8px; }
  .card__btn { width: 100%; }
  .card__badge-registered { top: 10px; right: 10px; font-size: 12px; padding: 5px 10px; }
  .card__badge-registered svg { width: 14px; height: 14px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
}
