:root {
  --ink: #0b1220;
  --muted: #56647a;
  --line: #d9e2f2;
  --blue: #0b5ed7;
  --blue-deep: #082f75;
  --red: #dc2626;
  --teal: #0e7490;
  --green: #15803d;
  --surface: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 24px 70px rgba(15, 23, 42, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(217, 226, 242, .8);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 226px;
}

.brand img {
  width: 154px;
  height: auto;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #26354e;
  font-size: 14px;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #ecf3ff;
  color: var(--blue-deep);
  outline: 0;
}

.nav-action {
  background: var(--ink);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8, 47, 117, .92) 0%, rgba(11, 18, 32, .88) 60%, rgba(220, 38, 38, .82) 100%),
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .18), transparent 55%),
    #0b1220;
}

.brand-hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 80px;
  text-align: left;
  max-width: 760px;
}

.brand-hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

.brand-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-hero-accent {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff 0%, #ffd1d1 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-hero p {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 26px;
  max-width: 620px;
}

.brand-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-hero .btn.ghost.light {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
}

.brand-hero .btn.ghost.light:hover {
  background: rgba(255, 255, 255, .12);
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 18, 38, .82) 0%, rgba(11, 18, 32, .55) 45%, rgba(11, 18, 32, .25) 100%),
    url("hero.avif") center/cover no-repeat,
    #0b1220;
}

.hero .hero-copy h1,
.hero .hero-copy p {
  color: #fff;
}

.hero .hero-copy p {
  color: rgba(255, 255, 255, .9);
}

.hero-lede {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  max-width: 640px;
}

.hero-lede p {
  margin: 0;
  line-height: 1.55;
}

.hero-lede-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .01em;
  color: #fff !important;
}

.hero-lede-subhead {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: rgba(255, 255, 255, .8) !important;
  margin-top: 4px;
}

.hero-lede-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, .9);
}

.hero-lede-list li {
  line-height: 1.5;
}

.hero-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: 52px;
  padding: 52px 0 42px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  color: #071226;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  font-weight: 900;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 650px;
  color: #3e4d64;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions,
.share-row,
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #eef4ff;
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .13);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
}

.btn.dark {
  background: var(--ink);
  color: #fff;
}

.btn.red {
  background: var(--red);
  color: #fff;
}

.btn.ghost {
  background: #fff;
  border-color: var(--line);
  color: #1f2a3d;
}

.hero-visual {
  position: relative;
  min-height: 530px;
}

.vehicle-stage {
  position: absolute;
  inset: 18px 0 auto auto;
  width: min(620px, 100%);
  aspect-ratio: 1.12;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(145deg, #071226, #0d3d91 58%, #991b1b);
  box-shadow: var(--shadow);
}

.vehicle-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, .23), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .45) 100%);
}

.car-art {
  position: absolute;
  left: 9%;
  right: 6%;
  bottom: 15%;
  height: 38%;
}

.car-art::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 22%;
  height: 48%;
  border-radius: 42% 48% 22% 20% / 70% 72% 28% 30%;
  background: linear-gradient(90deg, #020617, #174ea6 54%, #020617);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .45);
}

.car-art::after {
  content: "";
  position: absolute;
  left: 17%;
  right: 22%;
  bottom: 48%;
  height: 38%;
  border-radius: 50% 48% 18% 18% / 88% 88% 12% 12%;
  background: linear-gradient(90deg, #dbeafe, #93c5fd);
  opacity: .86;
  box-shadow: inset -120px 0 0 rgba(15, 23, 42, .48);
}

.wheel {
  position: absolute;
  bottom: 11%;
  width: 78px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #030712;
  border: 14px solid #111827;
  box-shadow: inset 0 0 0 14px #dbeafe;
}

.wheel.left {
  left: 18%;
}

.wheel.right {
  right: 17%;
}

.inspection-card,
.date-card {
  position: absolute;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
  border: 1px solid rgba(255, 255, 255, .65);
}

.inspection-card {
  left: 0;
  bottom: 22px;
  width: 260px;
  padding: 18px;
}

.inspection-card strong,
.date-card strong {
  display: block;
  font-size: 15px;
}

.inspection-card span,
.date-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

.check-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #26354e;
  font-size: 13px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-right: 10px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.date-card {
  right: 16px;
  top: 0;
  width: 230px;
  padding: 18px;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--soft);
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head h2,
.form-panel h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
}

.section-head p,
.form-panel > p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.schedule-card,
.highlight,
.gallery-card,
.qr-panel,
.form-panel,
.invite-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.schedule-card {
  padding: 24px;
}

.schedule-card time {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.schedule-card strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
}

.schedule-card p {
  min-height: 46px;
  color: var(--muted);
  line-height: 1.45;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.highlight {
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.highlight svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
  flex: 0 0 auto;
}

.highlight strong {
  display: block;
  line-height: 1.35;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr);
  gap: 26px;
  align-items: start;
}

.qr-panel {
  padding: 28px;
}

.qr-frame {
  width: min(310px, 100%);
  margin: 20px auto;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
}

.qr-frame img {
  width: 100%;
  aspect-ratio: 1;
}

.share-row {
  margin-top: 18px;
}

.share-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

.share-icon[data-share="whatsapp"] {
  color: #128c7e;
}

.share-icon[data-share="facebook"] {
  color: #1877f2;
}

.share-icon[data-share="x"] {
  color: #111827;
}

.share-icon[data-share="linkedin"] {
  color: #0a66c2;
}

.share-icon[data-share="telegram"] {
  color: #229ed9;
}

.share-icon[data-share="email"] {
  color: var(--red);
}

.share-icon[data-share="native"] {
  color: var(--blue);
}

.invite-panel {
  padding: 24px;
}

.invite-preview {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef5ff;
}

.invite-preview img {
  width: 100%;
  max-height: 580px;
  object-fit: contain;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card figure {
  margin: 0;
  background: #edf4ff;
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.album-preview {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 4px;
  background: #dbeafe;
}

.album-preview img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 5px;
}

.album-preview img:first-child {
  grid-row: span 2;
}

.album-preview img:only-child {
  grid-column: 1 / -1;
  grid-row: auto;
}

.album-preview.empty {
  background: #e2e8f0;
}

.album-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: rgba(7, 18, 38, .9);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.gallery-body {
  padding: 16px;
}

.gallery-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.album-card-title {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 850;
}

.gallery-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.gallery-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.album-inline-brochures {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.album-inline-brochure {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.album-inline-brochure svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.album-inline-brochure small {
  color: var(--muted);
  font-size: 11px;
}

.album-inline-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.album-inline-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.album-image-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.album-image-trigger:focus-visible {
  outline: 3px solid rgba(11, 94, 215, .35);
  outline-offset: -3px;
}

.album-inline-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.album-inline-image figcaption {
  display: flex;
  gap: 6px;
  padding: 8px;
  flex-wrap: wrap;
}

.album-inline-image .btn {
  min-height: 30px;
  padding: 6px 8px;
  font-size: 12px;
}

.album-open,
.lightbox-open {
  overflow: hidden;
}

.album-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.album-modal[hidden] {
  display: none;
}

.album-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 38, .72);
}

.album-modal-panel {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.album-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.album-modal-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.album-modal-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.album-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  padding: 18px;
  overflow: auto;
}

.album-modal-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 0;
  background: #edf4ff;
  cursor: pointer;
  padding: 0;
}

.album-modal-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.album-modal-image span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(7, 18, 38, .86);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 18, 38, .78);
  cursor: pointer;
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100svh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.image-lightbox-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.image-lightbox img {
  width: 100%;
  max-height: calc(100svh - 132px);
  object-fit: contain;
  background: #0b1220;
}

.album-modal-brochures {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.album-modal-brochures h3 {
  margin: 0;
  font-size: 16px;
}

.album-brochure-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.album-brochure-link svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.album-brochure-link small {
  color: var(--muted);
  font-size: 12px;
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-panel {
  padding: 26px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #26354e;
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cdd8eb;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  outline: 0;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 94, 215, .15);
}

.field-error {
  display: none;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
}

.field.has-error .field-error {
  display: block;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.form-status.ok {
  color: var(--green);
}

.form-status.error {
  color: #b91c1c;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.site-footer {
  padding: 34px 0;
  background: #09111f;
  color: #dbe7ff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-row p {
  margin: 6px 0 0;
  color: #9fb0cc;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 38px rgba(18, 140, 76, .35);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

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

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 12px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .split-section,
  .forms-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .schedule,
  .highlights,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 138px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 38px;
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-visual {
    min-height: 420px;
  }


  .vehicle-stage {
    inset: 20px 0 auto 0;
    width: 100%;
  }

  .inspection-card {
    left: 12px;
    bottom: 16px;
    width: 230px;
  }

  .date-card {
    left: 14px;
    right: auto;
    top: 14px;
    width: 200px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule,
  .highlights,
  .gallery-grid,
  .form {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .btn {
    width: 100%;
  }

  .share-icon {
    width: 44px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
}

/* ===== tata-theme (was tata-theme.css) ===== */
:root {
  --tata-ink: #1d232d;
  --tata-muted: #4e5968;
  --tata-line: #e4e7ec;
  --tata-soft: #f7f8fa;
  --tata-blue: #2a79ff;
  --tata-blue-deep: #0a3b91;
  --tata-navy: #111923;
  --tata-panel: #ffffff;
  --tata-title-bg: rgba(24, 24, 24, .58);
  --tata-shadow: 0 18px 44px rgba(17, 25, 35, .10);
}

body {
  color: var(--tata-ink);
  font-family: "Poppins", "Aptos", "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  background: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(11, 18, 32, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

#top,
.section,
.event-identity {
  scroll-margin-top: 92px;
}

.nav {
  width: min(1200px, calc(100% - 40px));
  min-height: 80px;
  gap: 28px;
}

.brand {
  min-width: 0;
  gap: 12px;
}

.brand img {
  width: 82px;
  filter: brightness(0) invert(1);
}

.brand small {
  color: #ffffff;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .5);
}

.nav-links {
  gap: 14px;
}

.nav-links a {
  padding: 10px 0;
  border-radius: 0;
  color: #ffffff;
  font-size: .88rem;
  font-weight: 800;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: transparent;
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--tata-blue);
}

.nav-links .nav-action {
  padding: 10px 16px;
  border-radius: 3px;
  background: var(--tata-blue);
  color: #ffffff !important;
  box-shadow: none;
  text-shadow: none;
}

.hero {
  position: relative;
  min-height: 560px;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 13, 20, .55) 0%, rgba(8, 13, 20, .35) 40%, rgba(8, 13, 20, .82) 100%),
    url("hero.avif") center/cover no-repeat,
    #0b1220;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .18), transparent 24%, transparent 76%, rgba(255, 255, 255, .10)),
    linear-gradient(0deg, rgba(255, 255, 255, .08), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  min-height: 560px;
  display: block;
  padding: 112px 0 54px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.hero-copy h1 {
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 4.25rem);
  line-height: 1.08;
  font-weight: 800;
}

.hero-title-badge {
  display: block;
  padding: 0;
  background: transparent;
  color: #ffffff;
}

.hero-title-sub {
  display: block;
  max-width: 760px;
  margin-top: .16em;
  font-family: var(--body);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  line-height: 1.25;
  font-weight: 800;
}

.hero-copy p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.55;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .58);
}

.hero-actions {
  margin-top: 28px;
}

.hero .btn.primary {
  background: var(--tata-blue);
  color: #ffffff;
}

.hero .btn.ghost {
  border-color: rgba(255, 255, 255, .56);
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.hero-visual {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 50%;
  width: 100vw;
  min-height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.vehicle-stage,
.car-art,
.wheel {
  display: none;
}

.date-card,
.inspection-card {
  display: none;
}

.section {
  padding: 74px 0;
}

.section.alt {
  background: var(--tata-soft);
}

.wrap {
  width: min(1200px, calc(100% - 40px));
}

.section-head {
  max-width: 980px;
  margin: 0 auto 36px;
  display: block;
  text-align: center;
}

.section-head h2,
.form-panel h2 {
  max-width: none;
  color: var(--tata-ink);
  font-size: 2.65rem;
  line-height: 1.16;
  font-weight: 800;
}

.section-head p,
.form-panel > p {
  max-width: 860px;
  margin: 18px auto 0;
  color: var(--tata-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.btn {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 3px;
  box-shadow: none;
  font-size: .92rem;
  font-weight: 800;
}

.btn:hover {
  box-shadow: none;
}

.btn.primary {
  background: var(--tata-blue);
  color: #ffffff;
}

.btn.dark {
  background: var(--tata-navy);
  color: #ffffff;
}

.btn.red {
  background: #d7202a;
  color: #ffffff;
}

.btn.ghost {
  border-color: var(--tata-line);
  background: #ffffff;
  color: var(--tata-blue);
}

.schedule,
.highlights {
  gap: 22px;
}

.schedule-card,
.highlight,
.qr-panel,
.form-panel,
.invite-panel {
  border: 1px solid var(--tata-line);
  border-radius: 0;
  background: var(--tata-panel);
  box-shadow: none;
}

.schedule-card {
  padding: 26px;
}

.schedule-card time {
  color: var(--tata-blue);
  font-size: 2.25rem;
  font-weight: 800;
}

.schedule-card strong {
  color: var(--tata-ink);
  font-size: 1.22rem;
}

.schedule-card p,
.gallery-body p {
  color: var(--tata-muted);
}

.highlight {
  padding: 22px;
}

.highlight svg {
  color: var(--tata-blue);
}

.split-section {
  gap: 30px;
}

.qr-panel,
.invite-panel,
.form-panel {
  padding: 28px;
}

.qr-frame {
  border-radius: 0;
  box-shadow: none;
  border-color: var(--tata-line);
  background: #ffffff;
}

.invite-preview {
  border-radius: 0;
  border-color: var(--tata-line);
  background: var(--tata-soft);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 38px;
}

.gallery-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-card figure {
  overflow: hidden;
  background: #eef0f3;
}

.gallery-card img,
.gallery-card video,
.album-preview {
  aspect-ratio: 1.52;
}

.gallery-body {
  padding: 18px 0 0;
}

.gallery-body h3 {
  color: var(--tata-blue);
  font-size: 1.28rem;
  font-weight: 800;
}

.album-card-title {
  color: var(--tata-blue);
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.gallery-actions {
  gap: 18px;
}

.gallery-actions .btn {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tata-blue);
  font-size: 1.05rem;
}

.gallery-actions .btn svg {
  width: 18px;
  height: 18px;
}

.album-inline-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.album-inline-image {
  border-color: var(--tata-line);
}

.album-inline-image figcaption .btn {
  width: auto;
  min-height: 30px;
  padding: 6px 8px;
  border: 1px solid var(--tata-line);
  background: #fff;
  color: var(--tata-blue);
  font-size: .82rem;
}

.album-inline-brochure {
  border-color: var(--tata-line);
  background: #fff;
  color: var(--tata-blue);
}

.album-preview {
  padding: 5px;
  background: #dfe4ec;
}

.album-count,
.album-modal-image span {
  border-radius: 3px;
  background: rgba(17, 25, 35, .88);
}

.album-modal-backdrop {
  background: rgba(17, 25, 35, .76);
}

.album-modal-panel {
  border-radius: 0;
  border-color: rgba(255, 255, 255, .52);
  box-shadow: var(--tata-shadow);
}

.album-modal-head {
  border-bottom-color: var(--tata-line);
}

.album-modal-head h2 {
  font-size: 2rem;
  font-weight: 800;
}

.album-modal-image {
  border-radius: 0;
}

.forms-grid {
  gap: 26px;
}

.field label {
  color: var(--tata-ink);
}

.field input,
.field select,
.field textarea {
  border-color: #d4d9e2;
  border-radius: 3px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--tata-blue);
  box-shadow: 0 0 0 3px rgba(42, 121, 255, .14);
}

.share-icon {
  border-radius: 50%;
}

.site-footer {
  background: var(--tata-navy);
  color: #ffffff;
}

.footer-row p {
  color: #b9c4d2;
}

.whatsapp-float {
  box-shadow: 0 16px 34px rgba(18, 140, 76, .30);
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    background: var(--tata-navy);
  }

  .nav {
    width: min(100% - 32px, 720px);
  }

  .nav-links {
    width: 100%;
    gap: 0;
    margin-top: 12px;
    padding: 8px;
    border: 1px solid rgba(217, 226, 242, .95);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
  }

  .nav-links a {
    display: block;
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 4px;
    color: var(--tata-ink);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: none;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: #f1f6ff;
    color: var(--tata-blue-deep);
    box-shadow: none;
  }

  .nav-links .nav-action {
    margin: 8px 0;
    padding: 13px 14px;
    background: var(--tata-blue);
    color: #ffffff !important;
    text-align: center;
  }

  .hero,
  .hero-grid {
    min-height: 520px;
  }

  .hero-grid {
    padding-top: 66px;
  }

  .hero-copy h1 {
    font-size: 3.45rem;
  }

  .hero-copy p {
    font-size: 1.05rem;
  }

  .gallery-grid,
  .schedule,
  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 72px;
  }

  .brand small {
    font-size: .62rem;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .nav-links a {
    font-size: .78rem;
  }

  .hero,
  .hero-grid {
    min-height: 560px;
  }

  .hero-grid {
    width: calc(100% - 28px);
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .hero-copy h1 {
    font-size: 2.65rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .form .btn {
    width: 100%;
  }

  .vehicle-stage {
    height: 230px;
  }

  .car-art {
    width: min(520px, 96%);
    height: 128px;
  }

  .wheel {
    width: 54px;
    border-width: 10px;
  }

  .section {
    padding: 58px 0;
  }

  .wrap {
    width: calc(100% - 28px);
  }

  .section-head h2,
  .form-panel h2 {
    font-size: 2rem;
  }

  .gallery-grid,
  .schedule,
  .highlights {
    grid-template-columns: 1fr;
  }

  .gallery-actions .btn {
    width: auto;
  }

  .share-row .btn {
    width: 44px;
  }
}


/* ===== admin-theme (was admin-theme.css), scoped to admin pages ===== */
:root {
  --tata-ink: #1d232d;
  --tata-muted: #4e5968;
  --tata-line: #e4e7ec;
  --tata-soft: #f7f8fa;
  --tata-blue: #2a79ff;
  --tata-blue-deep: #0a3b91;
  --tata-navy: #111923;
  --tata-panel: #ffffff;
  --tata-shadow: 0 18px 44px rgba(17, 25, 35, .10);
}.admin-shell, .login-page {
  color: var(--tata-ink);
  font-family: "Poppins", "Aptos", "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  background: var(--tata-soft);
}:where(.admin-shell, .login-page) .login-page {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, .30) 0%, rgba(8, 13, 20, .62) 100%),
    linear-gradient(180deg, #b9c3c6 0%, #f4d39d 38%, #74808d 70%, #202a35 100%);
}:where(.admin-shell, .login-page) .login-card, :where(.admin-shell, .login-page) .panel, :where(.admin-shell, .login-page) .metric, :where(.admin-shell, .login-page) .table-panel {
  border: 1px solid var(--tata-line);
  border-radius: 0;
  background: var(--tata-panel);
  box-shadow: none;
}:where(.admin-shell, .login-page) .login-card {
  box-shadow: var(--tata-shadow);
}:where(.admin-shell, .login-page) .login-card img {
  width: 122px;
}:where(.admin-shell, .login-page) h1 {
  color: var(--tata-ink);
  font-size: 3.35rem;
  line-height: 1.05;
  font-weight: 800;
}:where(.admin-shell, .login-page) h2 {
  color: var(--tata-ink);
  font-size: 1.55rem;
  font-weight: 800;
}:where(.admin-shell, .login-page) p {
  color: var(--tata-muted);
}:where(.admin-shell, .login-page) label {
  color: var(--tata-ink);
}:where(.admin-shell, .login-page) input, :where(.admin-shell, .login-page) select, :where(.admin-shell, .login-page) textarea {
  border-color: #d4d9e2;
  border-radius: 3px;
}:where(.admin-shell, .login-page) input:focus, :where(.admin-shell, .login-page) select:focus, :where(.admin-shell, .login-page) textarea:focus {
  border-color: var(--tata-blue);
  box-shadow: 0 0 0 3px rgba(42, 121, 255, .14);
}:where(.admin-shell, .login-page) .btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 3px;
  box-shadow: none;
  font-size: .9rem;
  font-weight: 800;
}:where(.admin-shell, .login-page) .btn.primary {
  background: var(--tata-blue);
  color: #ffffff;
}:where(.admin-shell, .login-page) .btn.dark {
  background: var(--tata-navy);
  color: #ffffff;
}:where(.admin-shell, .login-page) .btn.red {
  background: #d7202a;
  color: #ffffff;
}:where(.admin-shell, .login-page) .btn.ghost {
  border-color: rgba(255, 255, 255, .34);
  background: transparent;
  color: #ffffff;
}:where(.admin-shell, .login-page) .topbar {
  background: var(--tata-navy);
  border-bottom: 0;
  color: #ffffff;
  backdrop-filter: none;
}:where(.admin-shell, .login-page) .topbar-inner, :where(.admin-shell, .login-page) .wrap {
  width: min(1200px, calc(100% - 40px));
}:where(.admin-shell, .login-page) .brand img {
  width: 88px;
  filter: brightness(0) invert(1);
}:where(.admin-shell, .login-page) .brand span {
  color: #ffffff;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}:where(.admin-shell, .login-page) .top-actions {
  gap: 12px;
}:where(.admin-shell, .login-page) .topbar .btn.primary {
  background: var(--tata-blue);
}:where(.admin-shell, .login-page) .topbar .btn.red {
  background: #d7202a;
}:where(.admin-shell, .login-page) .hero {
  padding: 46px 0 24px;
}:where(.admin-shell, .login-page) .hero-grid {
  align-items: end;
}:where(.admin-shell, .login-page) .hero p {
  max-width: 720px;
  font-size: 1.04rem;
}:where(.admin-shell, .login-page) .metrics {
  gap: 16px;
}:where(.admin-shell, .login-page) .metric {
  padding: 20px;
  border-top: 4px solid var(--tata-blue);
}:where(.admin-shell, .login-page) .metric span {
  color: var(--tata-muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}:where(.admin-shell, .login-page) .metric strong {
  color: var(--tata-ink);
  font-size: 2.35rem;
  font-weight: 800;
}:where(.admin-shell, .login-page) .grid {
  gap: 22px;
}:where(.admin-shell, .login-page) .panel, :where(.admin-shell, .login-page) .table-panel {
  padding: 24px;
}:where(.admin-shell, .login-page) .notice, :where(.admin-shell, .login-page) .error {
  border-radius: 0;
}:where(.admin-shell, .login-page) .notice {
  background: #e8f8ef;
  color: #166534;
}:where(.admin-shell, .login-page) .error {
  background: #fde8ea;
  color: #991b1b;
}:where(.admin-shell, .login-page) .legend {
  color: var(--tata-muted);
}:where(.admin-shell, .login-page) .chart {
  border-left-color: var(--tata-line);
  border-bottom-color: var(--tata-line);
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(228, 231, 236, .88) calc(25% - 1px),
    rgba(228, 231, 236, .88) 25%
  );
}:where(.admin-shell, .login-page) .bar {
  border-radius: 3px 3px 0 0;
}:where(.admin-shell, .login-page) .bar.views {
  background: var(--tata-blue);
}:where(.admin-shell, .login-page) .bar.submissions {
  background: #2f9e44;
}:where(.admin-shell, .login-page) .bar.shares {
  background: #d7202a;
}:where(.admin-shell, .login-page) .axis-title, :where(.admin-shell, .login-page) .y-axis, :where(.admin-shell, .login-page) .x-axis {
  color: var(--tata-muted);
}:where(.admin-shell, .login-page) .uploads {
  gap: 22px;
}:where(.admin-shell, .login-page) .invite-preview {
  border-radius: 0;
  border-color: var(--tata-line);
  background: var(--tata-soft);
}:where(.admin-shell, .login-page) table {
  font-size: .88rem;
}:where(.admin-shell, .login-page) th {
  color: var(--tata-muted);
  font-size: .74rem;
  text-transform: uppercase;
}:where(.admin-shell, .login-page) td {
  color: #354052;
}:where(.admin-shell, .login-page) .analytics-list li, :where(.admin-shell, .login-page) .media-row, :where(.admin-shell, .login-page) th, :where(.admin-shell, .login-page) td {
  border-bottom-color: var(--tata-line);
}:where(.admin-shell, .login-page) .media-thumb {
  border-radius: 0;
  background: #eef0f3;
}:where(.admin-shell, .login-page) .album-thumb::before, :where(.admin-shell, .login-page) .album-thumb::after {
  border-radius: 0;
}

@media (max-width: 980px) {:where(.admin-shell, .login-page) .topbar-inner, :where(.admin-shell, .login-page) .wrap {
    width: calc(100% - 32px);
  }:where(.admin-shell, .login-page) .hero-grid {
    gap: 18px;
  }:where(.admin-shell, .login-page) h1 {
    font-size: 2.85rem;
  }
}

@media (max-width: 620px) {:where(.admin-shell, .login-page) .topbar-inner, :where(.admin-shell, .login-page) .wrap {
    width: calc(100% - 28px);
  }:where(.admin-shell, .login-page) h1 {
    font-size: 2.35rem;
  }:where(.admin-shell, .login-page) .brand img {
    width: 78px;
  }:where(.admin-shell, .login-page) .topbar .btn {
    width: auto;
  }:where(.admin-shell, .login-page) .top-actions {
    width: 100%;
  }
}

/* ===== Premium enhancements (typography, hero, identity strip, timeline, social proof, footer, motion) ===== */
:root {
  --display: "Fraunces", "Playfair Display", Georgia, serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand-blue: #0a3b91;
  --brand-red: #d7202a;
  --section-y: clamp(72px, 9vw, 128px);
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: -0.01em;
  font-weight: 700;
}

.section { padding: var(--section-y) 0; }
.section-head h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
}
.section-head h2 em {
  font-style: italic;
  color: var(--brand-blue);
  font-weight: 500;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Sticky header shrink */
.site-header { transition: padding .25s ease, background .25s ease; }
.site-header.shrunk {
  background: rgba(11, 18, 32, .96);
  box-shadow: 0 4px 20px rgba(15,23,42,.18);
}
.site-header.shrunk .brand img { width: 130px; transition: width .25s ease; }
.site-header.shrunk .nav { min-height: 60px; }

/* Hero overrides */
.hero .hero-grid {
  width: min(1160px, calc(100% - 32px));
  padding: 140px 0 96px;
  display: block;
}
.hero-copy { max-width: 880px; }

.hero-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero h1#heroTitle {
  font-family: var(--display);
  font-size: clamp(46px, 7.8vw, 96px);
  line-height: .92;
  font-weight: 700;
  color: #fff;
  margin: 0;
  max-width: 720px;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}

.hero h1#heroTitle [data-cms-text="hero_title"] {
  display: block;
  max-width: 10ch;
}

.hero h1#heroTitle [data-cms-text="hero_title"]::first-letter {
  color: #ffffff;
}

.hero h1#heroTitle [data-cms-text="hero_title"] {
  color: #ffffff;
}

.hero h1#heroTitle [data-cms-text="hero_title"] {
  font-style: normal;
}

.hero-title-sub {
  display: block;
  max-width: 760px;
  margin-top: 16px;
  font-family: var(--body);
  font-size: clamp(12px, 1.1vw, 16px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}

.hero-title-badge .hero-word-accent {
  color: #ffd1d1;
  font-style: italic;
  font-weight: 500;
}

.hero-deck {
  max-width: 720px;
  margin: 26px 0 32px;
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero .btn.primary {
  background: var(--brand-red);
  color: #fff;
  border: 0;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .25s ease;
  box-shadow: 0 12px 30px rgba(215,32,42,.35);
}
.hero .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(215,32,42,.45); }

.hero .btn.ghost.light,
.hero .btn.ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.hero .btn.ghost:hover { background: rgba(255,255,255,.16); }

/* Countdown */
.hero-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 430px;
  margin-top: 8px;
}

.countdown-status {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-countdown.is-live .countdown-status {
  color: #bbf7d0;
}

.hero-countdown.is-complete .countdown-status {
  color: #fca5a5;
}

.hero-countdown.is-complete > div strong,
.hero-countdown.is-complete > div span {
  opacity: .72;
}

.hero-countdown > div {
  padding: 9px 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.hero-countdown strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-countdown span {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* Event identity strip */
.event-identity {
  background: #0b1220;
  color: #fff;
  padding: 44px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.event-identity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.event-identity-grid > div { display: flex; flex-direction: column; gap: 6px; }
.event-identity-grid span {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 700;
}
.event-identity-grid strong {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  color: #fff;
}
.event-identity-grid small { color: rgba(255,255,255,.6); font-size: 13px; }

/* Timeline schedule */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  max-width: 940px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 140px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-blue), rgba(10,59,145,.15));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 36px;
  padding: 18px 0 36px 0;
  align-items: start;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 134px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--brand-blue);
}
.timeline-date {
  text-align: right;
  padding-right: 16px;
}
.timeline-day {
  display: block;
  font-family: var(--display);
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-blue);
}
.timeline-month { display: block; margin-top: 4px; color: #26354e; font-weight: 700; font-size: 14px; }
.timeline-weekday { display: block; color: #56647a; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.timeline-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px 20px;
  box-shadow: 0 18px 50px rgba(15,23,42,.06);
}
.timeline-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10,59,145,.08);
  color: var(--brand-blue);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.timeline-body h3 { font-family: var(--display); font-size: 24px; margin: 0 0 8px; color: #0b1220; }
.timeline-body p { color: #56647a; margin: 0 0 14px; }
.timeline-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.timeline-actions .btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #0b1220;
  padding: 9px 14px;
  font-size: 14px;
}
.timeline-actions .btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* Highlights with bigger icons */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(15,23,42,.08);
  border-color: rgba(10,59,145,.25);
}
.highlight-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10,59,145,.10), rgba(215,32,42,.06));
  color: var(--brand-blue);
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.highlight-icon svg { width: 28px; height: 28px; }
.highlight h3 {
  font-family: var(--display);
  font-size: 20px;
  color: #0b1220;
  margin: 0;
  line-height: 1.25;
}
.highlight p { color: #56647a; font-size: 14.5px; margin: 0; line-height: 1.55; }
.highlight strong { display: none; }

/* Media gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}
.gallery-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
}
.album-card {
  display: block;
  grid-column: 1 / -1;
  padding: clamp(16px, 2vw, 22px);
}
.gallery-card:hover { transform: none; }
.gallery-card figure {
  height: auto;
  margin: 0;
  overflow: hidden;
  background: #eef0f3;
}
.gallery-card figure img,
.gallery-card figure video {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Trust / social proof */
.trust-strip {
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.trust-quote { position: relative; padding-left: 8px; }
.trust-quote h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.trust-quote .quote-mark {
  position: absolute;
  left: -10px;
  top: -28px;
  width: 64px;
  height: 64px;
  color: rgba(10,59,145,.12);
}
.trust-quote blockquote {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.4;
  font-style: italic;
  font-weight: 500;
  color: #0b1220;
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}
.trust-quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #56647a;
  font-weight: 700;
}
.trust-meta {
  border-left: 1px solid var(--line);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trust-meta > span {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #56647a;
  font-weight: 700;
}
.trust-logos { display: flex; align-items: center; gap: 16px; }
.trust-logos img { height: 36px; width: auto; }
.trust-logos span { color: #56647a; font-size: 22px; font-weight: 300; }
.trust-logos strong { font-family: var(--display); font-size: 22px; color: var(--brand-blue); }
.trust-meta small { color: #56647a; font-size: 13px; }

@media (max-width: 1080px) {
  .trust-strip {
    padding: 54px 0;
  }
  .trust-strip-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .trust-quote {
    padding-left: 0;
    max-width: 780px;
  }
  .trust-quote .quote-mark {
    left: -6px;
    top: -24px;
    width: 54px;
    height: 54px;
  }
  .trust-quote blockquote {
    font-size: clamp(22px, 3.2vw, 30px);
  }
  .trust-meta {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  .trust-strip {
    padding: 42px 0;
  }
  .trust-strip-inner {
    gap: 22px;
  }
  .trust-quote .quote-mark {
    width: 42px;
    height: 42px;
    top: -18px;
  }
  .trust-quote blockquote {
    font-size: 21px;
    line-height: 1.35;
  }
  .trust-logos {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .trust-logos img {
    height: 28px;
    max-width: min(100%, 220px);
  }
  .trust-logos span {
    font-size: 18px;
    line-height: 1;
  }
  .trust-logos strong {
    flex-basis: 100%;
    font-size: 20px;
  }
  .trust-meta small {
    line-height: 1.45;
  }
}

/* Footer rewrite */
.site-footer {
  background: #0b1220;
  color: #fff;
  padding: 64px 0 32px;
}
.site-footer .wrap { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 44px;
}
.footer-brand strong {
  font-family: var(--display);
  font-size: 20px;
  display: block;
  margin-bottom: 10px;
}
.footer-brand p { color: rgba(255,255,255,.65); font-size: 14.5px; max-width: 38ch; }
.footer-links h4,
.footer-contact h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-links a,
.footer-contact a {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 4px 0;
  font-size: 14.5px;
}
.footer-links a:hover,
.footer-contact a:hover { color: #fff; }
.footer-url { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 12px; }
.footer-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.footer-base small { color: rgba(255,255,255,.5); font-size: 12.5px; letter-spacing: .04em; }

.footer-base a {
  color: rgba(255,255,255,.78);
  font-size: 12.5px;
  font-weight: 800;
}

.footer-base a:hover {
  color: #fff;
}

.eventz-hero {
  min-height: 420px;
}

.eventz-contact-section {
  background: var(--soft);
}

.eventz-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 24px;
  align-items: start;
}

.eventz-contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.eventz-contact-card > span {
  display: block;
  color: var(--brand-blue, var(--blue));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eventz-contact-card h2 {
  margin: 0;
  font-family: var(--display, Fraunces, serif);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
}

.eventz-contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.eventz-contact-list a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  color: var(--ink);
  font-weight: 850;
}

.eventz-quick-cta a {
  background: var(--brand-blue, var(--blue));
}

.eventz-quick-cta a + a {
  background: #16a34a;
}

/* Scroll reveal (gated on JS so content stays visible without JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.36,1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .highlight, .gallery-card, .timeline-actions .btn, .hero .btn.primary { transition: none !important; }
}

@media (max-width: 880px) {
  .hero .hero-grid { padding: 96px 0 64px; }
  .hero-countdown { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .hero-countdown > div { padding: 8px 5px; }
  .event-identity-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .timeline::before { left: 18px; }
  .timeline-item { grid-template-columns: 1fr; gap: 14px; padding-left: 44px; }
  .timeline-item::before { left: 12px; top: 8px; }
  .timeline-date { text-align: left; padding-right: 0; display: flex; align-items: baseline; gap: 10px; }
  .timeline-day { font-size: 36px; }
  .timeline-month, .timeline-weekday { margin-top: 0; }
  .highlights { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid > .gallery-card,
  .gallery-grid > .gallery-card:nth-child(7n+1),
  .gallery-grid > .gallery-card:nth-child(7n+4) { grid-column: span 1; grid-row: span 1; }
  .trust-strip-inner { grid-template-columns: 1fr; gap: 32px; }
  .trust-meta { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Brochures grid */
.brochures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.brochures-empty {
  color: #56647a;
  font-size: 14.5px;
  padding: 18px 0;
}
.brochure-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: #0b1220;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.brochure-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 59, 145, .35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
.brochure-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10, 59, 145, .12), rgba(215, 32, 42, .08));
  color: var(--brand-blue);
  flex-shrink: 0;
}
.brochure-icon svg { width: 24px; height: 24px; }
.brochure-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.brochure-body strong {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.25;
  color: #0b1220;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brochure-body small {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #56647a;
  font-weight: 700;
}
.brochure-action {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 59, 145, .08);
  color: var(--brand-blue);
  flex-shrink: 0;
}
.brochure-action svg { width: 18px; height: 18px; }

/* Responsive gallery and mobile polish */
.media-gallery-section {
  overflow-x: clip;
  background: #f5f8fc;
  color: var(--ink);
}

.media-gallery-section .wrap {
  width: min(1160px, calc(100% - clamp(28px, 5vw, 56px)));
}

.media-gallery-section .section-head {
  justify-content: center;
  text-align: center;
}

.media-gallery-section .section-head > div {
  max-width: 780px;
  margin-inline: auto;
}

.media-gallery-section .gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  grid-auto-rows: auto;
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
  width: 100%;
  min-width: 0;
}

.media-gallery-section .gallery-grid > .gallery-card,
.media-gallery-section .gallery-grid > .album-card {
  width: 100%;
  min-width: 0;
  min-height: 0;
}

.media-gallery-section .gallery-card,
.media-gallery-section .album-card {
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
  transform: none;
}

.media-gallery-section .gallery-card > figure,
.media-gallery-section .album-inline-image,
.media-gallery-section .album-image-trigger {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.media-gallery-section .gallery-card > figure,
.media-gallery-section .album-card > figure {
  height: auto;
  margin: 0;
}

.media-gallery-section img,
.media-gallery-section video {
  max-width: 100%;
}

.media-gallery-section .gallery-card > figure img,
.media-gallery-section .gallery-card > figure video,
.media-gallery-section .album-inline-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-gallery-section .section-head h2,
.media-gallery-section .gallery-body h3,
.media-gallery-section .album-card-title {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.media-gallery-section .gallery-body p,
.media-gallery-section .album-description,
.media-gallery-section .album-inline-brochure span,
.media-gallery-section .album-inline-brochure small {
  overflow-wrap: anywhere;
}

.media-gallery-section .album-inline-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.media-gallery-section .gallery-actions,
.media-gallery-section .album-inline-image figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-empty {
  grid-column: 1 / -1;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px dashed rgba(10, 59, 145, .35);
  background: #ffffff;
}

.gallery-empty span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gallery-empty h3 {
  max-width: 640px;
  margin: 0;
  color: #0b1220;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
}

.gallery-empty p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #56647a;
}

.confirmation-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(21, 128, 61, .26);
  background: #f0fdf4;
  color: #0b1220;
}

.confirmation-card > span {
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.confirmation-card strong {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.15;
}

.confirmation-card p {
  margin: 0;
  color: #365243;
}

.confirmation-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.confirmation-card dl div {
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(21, 128, 61, .15);
}

.confirmation-card dt {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.confirmation-card dd {
  margin: 3px 0 0;
  color: #0b1220;
  font-weight: 900;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-quick-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 55;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(11, 18, 32, .9);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
}

.mobile-quick-cta a {
  min-height: 44px;
  display: grid;
  place-items: center;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.mobile-quick-cta a + a {
  background: #16a34a;
}

.feedback-hero {
  min-height: 360px;
}

.feedback-section {
  background: var(--soft);
}

.feedback-wrap {
  display: grid;
  justify-items: center;
}

.feedback-panel {
  width: min(760px, 100%);
}

.feedback-form {
  grid-template-columns: minmax(0, 1fr);
}

.feedback-thanks {
  margin-top: 18px;
}

.feedback-quick-cta a + a,
.mobile-quick-cta a[href$="feedback.html"] {
  background: var(--brand-blue, var(--blue));
}

@media (max-width: 760px) {
  .media-gallery-section .wrap {
    width: calc(100% - 28px);
  }

  .eventz-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-gallery-section .gallery-grid,
  .media-gallery-section .album-inline-images {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-gallery-section .section-head h2 {
    font-size: clamp(31px, 10vw, 44px);
    line-height: 1.08;
  }

  .media-gallery-section .album-card-title,
  .media-gallery-section .gallery-body h3 {
    font-size: clamp(20px, 7vw, 26px);
  }

  .media-gallery-section .album-card {
    padding: 14px;
  }

  .media-gallery-section .gallery-body {
    padding: 14px;
  }

  .media-gallery-section .album-card .gallery-body {
    padding: 16px 0 0;
  }

  .media-gallery-section .gallery-actions .btn,
  .media-gallery-section .album-inline-image .btn {
    width: auto;
    min-height: 34px;
    padding: 7px 10px;
  }

  .confirmation-card dl {
    grid-template-columns: 1fr;
  }

  .gallery-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-quick-cta {
    display: grid;
  }

  body {
    padding-bottom: 74px;
  }
}

@media (max-width: 560px) {
  .nav {
    width: calc(100% - 24px);
  }

  .nav-links {
    padding: 8px;
  }

  .event-identity-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 100%;
    gap: 6px;
  }

  .hero-countdown > div {
    padding: 7px 4px;
  }

  .timeline-date {
    flex-wrap: wrap;
  }

  .split-section,
  .forms-grid,
  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .qr-panel,
  .invite-panel,
  .form-panel {
    padding: 18px;
  }

  .field.full {
    grid-column: auto;
  }

  .album-inline-brochure,
  .album-brochure-link {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .album-inline-brochure small,
  .album-brochure-link small {
    grid-column: 2;
  }

  .album-modal,
  .image-lightbox {
    padding: 12px;
  }

  .album-modal-head,
  .image-lightbox-head {
    align-items: stretch;
    flex-direction: column;
  }

  .album-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
}

/* Mobile gallery repair: keep uploaded media cards out of legacy bento sizing. */
@media (max-width: 1100px) {
  .media-gallery-section {
    overflow-x: hidden;
  }

  .media-gallery-section .wrap {
    width: min(100% - 24px, 560px);
  }

  .media-gallery-section .section-head {
    margin-bottom: 28px;
  }

  .media-gallery-section .section-head h2 {
    max-width: 12ch;
    margin-inline: auto;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.08;
  }

  .media-gallery-section .section-head p {
    max-width: 32ch;
    font-size: 16px;
    line-height: 1.55;
  }

  .media-gallery-section .gallery-grid,
  .media-gallery-section .album-inline-images {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 22px;
  }

  .media-gallery-section .gallery-grid > .gallery-card,
  .media-gallery-section .gallery-grid > .gallery-card:nth-child(7n+1),
  .media-gallery-section .gallery-grid > .gallery-card:nth-child(7n+4),
  .media-gallery-section .gallery-grid > .album-card {
    grid-column: auto / span 1 !important;
    grid-row: auto / span 1 !important;
    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  .media-gallery-section .gallery-card {
    display: block;
    overflow: visible;
  }

  .media-gallery-section .gallery-card > figure {
    display: block;
    overflow: hidden;
  }

  .media-gallery-section .gallery-card > figure img,
  .media-gallery-section .gallery-card > figure video,
  .media-gallery-section .album-inline-image img {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .media-gallery-section .gallery-body,
  .media-gallery-section .album-card .gallery-body {
    padding: 14px 0 0;
    overflow: visible;
  }

  .media-gallery-section .gallery-body h3,
  .media-gallery-section .album-card-title {
    margin: 0 0 10px;
    font-size: clamp(20px, 6.4vw, 25px);
    line-height: 1.22;
  }

  .media-gallery-section .gallery-body p,
  .media-gallery-section .album-description {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
  }
}
