/* =====================================================================
   Laxmi Clinic — Layout & Components
   Header, footer, floating buttons, hero, cards, sections, contact
   ===================================================================== */

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink-900);
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-600), var(--teal-600));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.brand__mark svg {
  width: 24px;
  height: 24px;
}

.brand__text {
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.brand__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.brand__logo {
  height: 42px;
  width: auto;
  display: block;
}

.brand--footer {
  display: inline-flex;
}

.brand__footer-chip {
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.brand__footer-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--brand-600);
  background: var(--brand-50);
}

.nav__link.is-active {
  color: var(--brand-700);
  background: var(--brand-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 0.98rem;
  white-space: nowrap;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
}

.header-phone:hover {
  color: var(--brand-600);
}

/* Hamburguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .header-actions .header-phone {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4);
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-110%);
    transition: transform 0.26s var(--ease);
    visibility: hidden;
  }

  .nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav__link {
    padding: 0.9rem 0.9rem;
    font-size: 1.08rem;
    border-radius: var(--radius-md);
  }

  .nav .btn {
    margin-top: var(--space-3);
  }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.hero__content {
  max-width: 620px;
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.08;
  margin: var(--space-4) 0;
}

.hero__title .accent {
  color: var(--brand-600);
}

.hero__lede {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-7);
  max-width: 55ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-700);
  font-weight: 600;
}

.hero__meta-item svg {
  width: 26px;
  height: 26px;
  color: var(--brand-600);
  flex: 0 0 auto;
}

.hero__meta-item span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__media {
  position: relative;
}

.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
  background: var(--surface-alt);
}

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

.hero__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 35, 46, 0.25));
}

.hero__float-card {
  position: absolute;
  left: -1rem;
  bottom: 1.6rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 240px;
  border: 1px solid var(--border);
}

.hero__float-card .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  color: var(--brand-600);
  flex: 0 0 auto;
}

.hero__float-card .ic svg {
  width: 22px;
  height: 22px;
}

.hero__float-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-900);
}

.hero__float-card small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__content {
    max-width: none;
  }

  .hero__media {
    order: -1;
  }

  .hero__img-wrap {
    aspect-ratio: 16 / 11;
    max-height: 340px;
  }

  .hero__float-card {
    left: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__img-wrap {
    aspect-ratio: 4 / 4.6;
    max-height: 420px;
  }

  .brand__logo {
    height: 32px;
  }
}

/* ===================== TRUST BAR ===================== */
.trustbar {
  background: var(--ink-900);
  color: #fff;
}

.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: var(--space-7);
}

.trustbar__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.trustbar__item .ic {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(23, 130, 180, 0.18);
  display: grid;
  place-items: center;
  color: #7ec8ea;
}

.trustbar__item .ic svg {
  width: 22px;
  height: 22px;
}

.trustbar__item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.trustbar__item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

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

@media (max-width: 520px) {
  .trustbar__inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* ===================== SECTION HEAD ===================== */
.section-head {
  max-width: 720px;
  margin-bottom: var(--space-9);
}

.section-head.center {
  margin-inline: auto;
}

.section-head .lead {
  margin-top: var(--space-4);
}

/* ===================== TREATMENT CARDS ===================== */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.treatment-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  height: 100%;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}

.treatment-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  color: var(--brand-600);
  margin-bottom: var(--space-5);
  border: 1px solid var(--brand-100);
}

.treatment-card__icon svg {
  width: 28px;
  height: 28px;
}

.treatment-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
}

.treatment-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-5);
  flex: 1 1 auto;
}

.treatment-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand-600);
  font-size: 0.95rem;
}

.treatment-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}

.treatment-card__link:hover {
  color: var(--brand-700);
}

.treatment-card__link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1000px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .treatment-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== DOCTOR SECTION ===================== */
.doctor-section {
  position: relative;
  overflow: hidden;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.doctor-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.7;
  background: var(--surface-alt);
  max-width: 480px;
  width: 100%;
}

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

.doctor-badge {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.doctor-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--ink-900);
}

.doctor-badge span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.doctor-info h2 {
  margin-bottom: var(--space-3);
}

.doctor-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-600);
  margin-bottom: var(--space-4);
}

.doctor-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: var(--space-5) 0;
}

.doctor-bio {
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
}

.doctor-bio p {
  margin-bottom: var(--space-4);
}

.doctor-bio p:last-child {
  margin-bottom: 0;
}

.doctor-experience {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  margin-bottom: var(--space-6);
}

.doctor-experience svg {
  width: 18px;
  height: 18px;
}

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

  .doctor-media {
    max-width: 100%;
    aspect-ratio: 4 / 3.4;
    max-height: 340px;
  }
}

/* ===================== CTA SECTION ===================== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #fff;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(23, 130, 180, 0.5), transparent 45%);
}

.cta-section__inner {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding-block: var(--space-16);
}

.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-7);
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

@media (max-width: 640px) {
  .cta-section__inner {
    padding-block: var(--space-10);
  }

  .cta-section__actions .btn {
    width: 100%;
  }
}

/* ===================== CONTACT CARDS ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.contact-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  color: var(--brand-600);
  margin-bottom: var(--space-4);
  border: 1px solid var(--brand-100);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-4);
  flex: 1 1 auto;
}

.contact-card .btn {
  align-self: flex-start;
}

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

/* ===================== CONTACT LAYOUT ===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
  align-items: start;
}

.contact-layout--treat {
  grid-template-columns: 1.3fr 0.9fr;
}

.contact-info h2 {
  margin-bottom: var(--space-5);
}

.contact-info-block {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--space-6);
}

.contact-info-block .ic {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  color: var(--brand-600);
  border: 1px solid var(--brand-100);
}

.contact-info-block .ic svg {
  width: 22px;
  height: 22px;
}

.contact-info-block strong {
  display: block;
  font-size: 1rem;
  color: var(--ink-900);
  margin-bottom: 0.2rem;
}

.contact-info-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-block a {
  color: var(--brand-600);
  font-weight: 600;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-6);
}

.form-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.tally-embed-wrap {
  margin-top: var(--space-5);
}

.tally-embed-wrap iframe {
  border-radius: var(--radius-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-4);
}

@media (max-width: 700px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
}

.page-banner {
  background: linear-gradient(180deg, var(--brand-50), #fff);
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}

.page-banner h1 {
  font-size: var(--fs-h2);
  margin: var(--space-3) 0;
}

.page-banner p {
  max-width: 60ch;
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

.page-banner-narrow {
  max-width: 720px;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: #0d1b23;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.2fr;
  gap: var(--space-5);
  padding-top: var(--space-12);
  padding-bottom: var(--space-6);
}

.footer-brand p {
  margin: var(--space-4) 0;
  line-height: var(--lh-relaxed);
  max-width: 34ch;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.site-footer .brand,
.site-footer .brand__name {
  color: #fff;
}

.site-footer .brand__tag {
  color: #7ec8ea;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: #7ec8ea;
}

.footer-contact {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.footer-contact .ic {
  width: 20px;
  height: 20px;
  color: #7ec8ea;
  flex: 0 0 auto;
  margin-top: 2px;
}

.footer-contact .ic svg {
  width: 20px;
  height: 20px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #7ec8ea;
}

.footer-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  margin-top: var(--space-4);
}

.footer-actions .btn {
  flex: 1 1 0;
  white-space: nowrap;
  padding: 0.55rem 0.9rem;
}

.footer-map-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-self: start;
}

.footer-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-map iframe {
  width: 100%;
  height: 150px;
  border: 0;
  display: block;
  filter: grayscale(0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-bottom .small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: #7ec8ea;
}

@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-map-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-map-col {
    grid-column: 1 / -1;
  }
}

/* ===================== FLOATING BUTTONS ===================== */
.float-btns {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  color: #fff;
  width: 52px;
  height: 52px;
}

.float-btn svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.float-btn-wa {
  background: #25d366;
  color: #052e16;
}

.float-btn-wa:hover {
  transform: translateY(-3px);
  color: #052e16;
}

.float-btn-call {
  background: var(--brand-600);
  color: #fff;
}

.float-btn-call:hover {
  transform: translateY(-3px);
  color: #fff;
}

@media (max-width: 480px) {
  .float-btns {
    right: 0.9rem;
    bottom: 0.9rem;
    gap: 0.6rem;
  }

  .float-btn-wa,
  .float-btn-call {
    width: 48px;
    height: 48px;
  }
}

/* ===================== 404 ===================== */
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--space-12);
}

.notfound__code {
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-600), var(--teal-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-4);
}

.notfound h1 {
  margin-bottom: var(--space-3);
}

.notfound p {
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 auto var(--space-7);
  line-height: var(--lh-relaxed);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===================== MISC ===================== */
.default-page {
  padding-block: var(--space-12) var(--space-16);
}

.divider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

.fact-card {
  text-align: center;
  padding: var(--space-6) var(--space-5);
}

.fact-card .ic {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-4);
  border-radius: 14px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  color: var(--brand-600);
  border: 1px solid var(--brand-100);
}

.fact-card .ic svg {
  width: 26px;
  height: 26px;
}

.fact-card strong {
  display: block;
  font-size: 1.35rem;
  color: var(--ink-900);
}

.fact-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.error-dd {
  max-width: 720px;
}

/* ===================== GALLERY SLIDER ===================== */
.gallery-section {
  background: var(--surface);
}

.slider {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.slider__viewport {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface-alt);
  aspect-ratio: 16 / 9;
}

.slider__track {
  position: absolute;
  inset: 0;
}

.slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  margin: 0;
}

.slider__slide.is-active {
  opacity: 1;
}

.slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 2;
}

.slider__arrow svg {
  width: 22px;
  height: 22px;
}

.slider__arrow:hover {
  background: var(--brand-600);
  color: #fff;
}

.slider__arrow--prev { left: 0.9rem; }
.slider__arrow--next { right: 0.9rem; }

.slider__arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.slider__dot {
  width: 34px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: var(--border-strong);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  padding: 0;
}

.slider__dot.is-active {
  background: var(--brand-600);
}

@media (max-width: 600px) {
  .slider__viewport {
    aspect-ratio: 4 / 3;
  }

  .slider__arrow {
    width: 38px;
    height: 38px;
  }

  .slider__arrow svg {
    width: 18px;
    height: 18px;
  }
}
