html, body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #061b1a;
  color: #eaf2f7;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%230f6b3a' stroke-opacity='0.075'%3E%3Cpath d='M140 24v36M140 220v36M24 140h36M220 140h36' stroke-width='2'/%3E%3Cpath d='M140 84v112M84 140h112' stroke-width='1.5' stroke-opacity='0.055'/%3E%3Ccircle cx='140' cy='140' r='110' stroke-width='1.5' stroke-opacity='0.05'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(980px 540px at 10% 0%, rgba(var(--brand-primary-rgb), 0.42), rgba(6, 27, 26, 0) 62%),
    radial-gradient(920px 560px at 100% 22%, rgba(var(--brand-accent-rgb), 0.20), rgba(6, 27, 26, 0) 66%),
    linear-gradient(120deg, #061b1a 0%, #083326 45%, #0a5a3b 100%);
}

:root {
  --brand-primary: #0f6b3a;
  --brand-primary-rgb: 15, 107, 58;
  --brand-accent: #d4af37;
  --brand-accent-rgb: 212, 175, 55;
  --bs-primary: var(--brand-primary);
  --bs-primary-rgb: var(--brand-primary-rgb);
  --bs-body-bg: #061b1a;
  --bs-body-color: #eaf2f7;
  --bs-border-color: rgba(255, 255, 255, 0.14);
  --surface-1: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.12);
  --surface-3: rgba(255, 255, 255, 0.16);
}

.brand-mark--img {
  padding: 0;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.auth-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.doctor-thumb {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #eaf2f7;
}

.doctor-photo-preview {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.doctor-card-photo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #eaf2f7;
}

.carousel-img {
  aspect-ratio: 16/7;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.carousel-caption {
  background: linear-gradient(180deg, rgba(13, 18, 28, 0.00) 0%, rgba(13, 18, 28, 0.62) 55%, rgba(13, 18, 28, 0.72) 100%);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
}

.page-hero {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-staff {
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.page-hero .page-kicker {
  color: rgba(234, 242, 247, 0.70);
}

.page-hero .page-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(234, 242, 247, 0.92);
}

.navbar {
  background: rgba(7, 27, 47, 0.55) !important;
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.navbar .navbar-brand {
  letter-spacing: -0.01em;
  color: rgba(234, 242, 247, 0.95);
}

.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.22);
}

.navbar-light .navbar-toggler-icon {
  filter: invert(1) grayscale(1) opacity(0.92);
}

.dropdown-menu {
  background: rgba(10, 32, 54, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.dropdown-item {
  color: rgba(234, 242, 247, 0.90);
}

.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 242, 247, 0.96);
}

.input-group-text {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(234, 242, 247, 0.88);
}

.navbar .navbar-nav .nav-link {
  border-radius: 12px;
  padding: .55rem .8rem;
  color: rgba(234, 242, 247, 0.82);
  transition: color .16s ease, background-color .16s ease;
  position: relative;
}

.navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .35rem;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.navbar .navbar-nav .nav-link:hover {
  color: rgba(234, 242, 247, 0.95);
  background: rgba(var(--brand-accent-rgb), 0.06);
}

.navbar .navbar-nav .nav-link:hover::after {
  background: rgba(var(--brand-accent-rgb), 0.55);
}

.navbar .navbar-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(234, 242, 247, 0.95);
}

.navbar .navbar-nav .nav-link.active::after {
  background: var(--brand-accent);
}

.btn-primary {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--brand-primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.btn-primary:hover, .btn-primary:focus {
  filter: brightness(0.98);
}

.btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.60);
  color: rgba(255, 255, 255, 0.92);
}

.btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.74);
  color: rgba(255, 255, 255, 0.96);
}

.btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.40);
  color: rgba(255, 255, 255, 0.88);
}

.btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.60);
  color: rgba(255, 255, 255, 0.96);
}

.card-header {
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.table-hover tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pricelist-view .pricelist-embed {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.pricelist-view .pricelist-card {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.pricelist-sheet .table {
  --bs-table-bg: rgba(255, 255, 255, 0.04);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.06);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.06);
  --bs-table-border-color: rgba(255, 255, 255, 0.14);
  color: rgba(234, 242, 247, 0.92);
  margin-bottom: 0;
}

.pricelist-sheet .table th {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 242, 247, 0.96);
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.14);
}

.pricelist-sheet .table td {
  border-color: rgba(255, 255, 255, 0.12);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(var(--brand-accent-rgb), 0.16), rgba(var(--brand-primary-rgb), 0.10));
  border: 2px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: rgba(234, 242, 247, 0.95);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(980px 420px at 8% 10%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 60%),
    radial-gradient(760px 420px at 92% 0%, rgba(var(--brand-accent-rgb), 0.22), rgba(255, 255, 255, 0) 66%),
    linear-gradient(135deg, #061b1a 0%, #083326 55%, #0f6b3a 145%);
  color: #fff;
}

.hero--blend::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.16) contrast(1.10) brightness(0.98);
  opacity: 0.86;
  transform: scale(1.06);
  transform-origin: center;
  z-index: 0;
}

.hero--blend::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(980px 420px at 8% 10%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 60%),
    radial-gradient(760px 420px at 92% 0%, rgba(var(--brand-accent-rgb), 0.22), rgba(255, 255, 255, 0) 66%),
    linear-gradient(135deg, rgba(6, 27, 26, 0.70) 0%, rgba(8, 51, 38, 0.58) 55%, rgba(15, 107, 58, 0.42) 145%);
  mix-blend-mode: multiply;
  opacity: 0.70;
  z-index: 1;
}

.hero--blend > .container {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
}

.hero .btn {
  border-radius: 14px;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(234, 242, 247, 0.72);
}

.services-section {
  position: relative;
}

.page-hero {
  display: none !important;
}

.services-feature {
  background: transparent;
  border-radius: 0;
  margin: 0;
  color: rgba(234, 242, 247, 0.92);
}

.services-feature .section-title {
  color: rgba(234, 242, 247, 0.96);
}

.services-feature .section-kicker {
  color: rgba(234, 242, 247, 0.72);
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
  transition: transform .18s ease, box-shadow .18s ease;
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.feature-media {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-icon {
  width: 82px;
  height: 82px;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-primary-rgb), 0.14);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.28);
  color: rgba(234, 242, 247, 0.92);
  font-size: 1.6rem;
}

.feature-title {
  font-weight: 900;
  color: rgba(234, 242, 247, 0.96);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-desc {
  color: rgba(234, 242, 247, 0.74);
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
  padding: 22px;
  backdrop-filter: blur(12px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.24);
}

.service-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-primary-rgb), 0.18);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.34);
  color: rgba(234, 242, 247, 0.96);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card-title {
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: rgba(234, 242, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.service-card:hover .service-card-link {
  background: rgba(var(--brand-accent-rgb), 0.12);
  border-color: rgba(var(--brand-accent-rgb), 0.40);
  color: rgba(234, 242, 247, 0.96);
}

.about-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.about-gallery {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.about-gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: about-gallery-scroll 26s linear infinite;
  will-change: transform;
}

.about-gallery-card {
  width: clamp(210px, 22vw, 290px);
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.about-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.02);
}

.about-gallery:hover .about-gallery-track {
  animation-play-state: paused;
}

@keyframes about-gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about-loop {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.30);
}

.about-loop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px 280px at 18% 10%, rgba(var(--brand-accent-rgb), 0.18), rgba(0, 0, 0, 0) 60%),
    radial-gradient(520px 300px at 90% 85%, rgba(var(--brand-primary-rgb), 0.16), rgba(0, 0, 0, 0) 62%);
  opacity: 0.6;
  pointer-events: none;
}

.about-loop-track {
  display: flex;
  gap: 14px;
  padding: 16px;
  align-items: center;
  width: max-content;
  animation: about-loop-scroll 22s linear infinite;
}

.about-loop img {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  filter: saturate(1.06) contrast(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.about-loop:hover .about-loop-track {
  animation-play-state: paused;
}

@keyframes about-loop-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-mosaic img {
  width: 100%;
  height: 190px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  filter: saturate(1.06) contrast(1.03);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.about-bigimg img {
  height: 380px;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 242, 247, 0.92);
  font-size: 0.92rem;
}

.owner-parallax {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.owner-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--parallax-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: saturate(1.10) contrast(1.05);
  opacity: 0.22;
  transform: scale(1.04);
  transform-origin: center;
  z-index: 0;
}

.owner-parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 420px at 18% 0%, rgba(var(--brand-accent-rgb), 0.14), rgba(0, 0, 0, 0) 60%),
    radial-gradient(820px 520px at 90% 90%, rgba(var(--brand-primary-rgb), 0.18), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(6, 27, 26, 0.40) 0%, rgba(6, 27, 26, 0.68) 100%);
  z-index: 1;
}

.owner-parallax > .container {
  position: relative;
  z-index: 2;
}

.owner-photo-card {
  border-radius: 22px;
  overflow: hidden;
}

.owner-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  filter: saturate(1.05) contrast(1.03);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.30);
}

.timeline {
  position: relative;
}

.timeline-scroll {
  max-height: 560px;
  overflow: auto;
  padding: 4px 10px 4px 2px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.history-carousel {
  --history-duration: 5200ms;
  --history-progress: 0;
  position: relative;
  border-radius: 26px;
}

.history-slides {
  display: grid;
  border-radius: 26px;
}

.history-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  transition: opacity .32s ease, transform .32s ease;
  pointer-events: none;
}

.history-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.history-card {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.10);
}

.history-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 360px at 18% 0%, rgba(var(--brand-accent-rgb), 0.12), rgba(0, 0, 0, 0) 60%),
    radial-gradient(720px 420px at 95% 85%, rgba(var(--brand-primary-rgb), 0.14), rgba(0, 0, 0, 0) 62%);
  opacity: 0.55;
  pointer-events: none;
}

.history-card > .card-body {
  position: relative;
  z-index: 1;
}

.history-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.history-media--empty {
  min-height: 260px;
  background:
    radial-gradient(420px 240px at 28% 18%, rgba(var(--brand-accent-rgb), 0.14), rgba(0, 0, 0, 0) 60%),
    radial-gradient(520px 300px at 80% 80%, rgba(var(--brand-primary-rgb), 0.18), rgba(0, 0, 0, 0) 62%),
    rgba(255, 255, 255, 0.06);
}

.history-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.01);
}

.history-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.history-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.10);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.history-dot.is-active {
  background: rgba(var(--brand-accent-rgb), 0.55);
  border-color: rgba(var(--brand-accent-rgb), 0.80);
  transform: scale(1.25);
}

.history-carousel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  pointer-events: none;
}

.history-carousel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  border-radius: 999px;
  background: rgba(var(--brand-accent-rgb), 0.70);
  transform: scaleX(var(--history-progress));
  transform-origin: left;
  transition: transform var(--history-duration) linear;
  pointer-events: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.timeline-item {
  position: relative;
  padding-left: 62px;
  margin-bottom: 18px;
}

.timeline-marker {
  position: absolute;
  left: 9px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.22);
  border: 2px solid rgba(var(--brand-accent-rgb), 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.10);
}

.timeline-photo {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 991.98px) {
  .owner-parallax::before {
    background-attachment: scroll;
  }
  .owner-photo {
    height: 260px;
  }
  .history-photo {
    height: 260px;
  }
  .history-media--empty {
    min-height: 220px;
  }
}

.accordion-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.accordion-button {
  background: transparent;
  color: rgba(234, 242, 247, 0.92);
}

.accordion-button:not(.collapsed) {
  background: rgba(var(--brand-accent-rgb), 0.08);
  color: rgba(234, 242, 247, 0.96);
}

.accordion-button:focus {
  box-shadow: 0 0 0 .25rem rgba(var(--brand-accent-rgb), 0.18);
  border-color: rgba(var(--brand-accent-rgb), 0.55);
}

.accordion-button::after {
  filter: invert(1) grayscale(1) opacity(0.85);
}

@media (prefers-reduced-motion: reduce) {
  .about-gallery-track { animation: none; }
  .about-loop-track { animation: none; }
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    0 2px 10px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-primary-rgb), 0.14);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.26);
  color: rgba(234, 242, 247, 0.95);
}

.badge-soft {
  background: rgba(var(--brand-primary-rgb), 0.14);
  color: rgba(234, 242, 247, 0.92);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.26);
}

.bg-light,
.text-bg-light {
  background-color: rgba(255, 255, 255, 0.10) !important;
}

.text-bg-light {
  color: rgba(234, 242, 247, 0.92) !important;
}

.badge.bg-light,
.badge.text-bg-light {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.text-dark {
  color: rgba(234, 242, 247, 0.92) !important;
}

.btn {
  border-radius: 12px;
}

.form-control, .form-select {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(234, 242, 247, 0.95);
}

.form-select option,
.form-select optgroup {
  background-color: #ffffff;
  color: #0b1f3b;
}

.form-select option:disabled {
  color: rgba(11, 31, 59, 0.55);
}

.form-control:focus, .form-select:focus {
  border-color: rgba(var(--brand-accent-rgb), 0.70);
  box-shadow: 0 0 0 .25rem rgba(var(--brand-accent-rgb), 0.18);
}

.form-control::placeholder {
  color: rgba(234, 242, 247, 0.55);
}

.form-control:disabled, .form-select:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(234, 242, 247, 0.55);
}

.table thead th {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.table {
  --bs-table-color: rgba(234, 242, 247, 0.92);
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255, 255, 255, 0.12);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.04);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.06);
}

.text-muted {
  color: rgba(234, 242, 247, 0.68) !important;
}

.site-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto !important;
}

.surface-panel {
  background: rgba(255, 255, 255, 0.10);
}

.surface-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.modal-content {
  background: rgba(10, 32, 54, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  color: rgba(234, 242, 247, 0.95);
}

.modal-header, .modal-footer {
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-close {
  filter: invert(1) grayscale(1) opacity(0.9);
}

.photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.30);
}

.photo-card--sm {
  border-radius: 16px;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 260px at 20% 10%, rgba(var(--brand-accent-rgb), 0.20), rgba(0, 0, 0, 0) 60%),
    radial-gradient(520px 300px at 90% 85%, rgba(var(--brand-primary-rgb), 0.18), rgba(0, 0, 0, 0) 62%);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity .18s ease;
}

.photo-card:hover::after {
  opacity: 0.85;
}

.animated-photo {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  transform-origin: center;
  animation: photo-float 8s ease-in-out infinite, photo-kenburns 18s ease-in-out infinite;
  animation-delay: var(--anim-delay, 0s), var(--anim-delay, 0s);
}

.animated-photo--sm {
  height: 140px;
}

.photo-ribbon-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.photo-card:hover .animated-photo {
  filter: saturate(1.08) contrast(1.06);
}

@keyframes photo-float {
  0%, 100% { transform: translateY(0) scale(1.02); }
  50% { transform: translateY(-6px) scale(1.03); }
}

@keyframes photo-kenburns {
  0% { transform: translateY(0) scale(1.03); }
  50% { transform: translateY(-4px) scale(1.08); }
  100% { transform: translateY(0) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .animated-photo { animation: none; transform: none; }
  .photo-card::after { transition: none; }
}
