/* =========================================================
   SAVITHRI TRUST — Brand stylesheet
   Palette drawn from the official logo (purple + gold + cream)
   ========================================================= */

:root {
  --purple-950: #1e0b33;
  --purple-900: #2d1148;
  --purple-800: #3d1860;
  --purple-700: #4e2278;
  --purple-600: #5d2a8e;
  --purple-500: #6e3aa3;
  --purple-400: #8b5cbf;
  --purple-100: #f3eafb;
  --gold-600: #a4842a;
  --gold-500: #c9a44c;
  --gold-400: #d4af37;
  --gold-300: #e8c96a;
  --gold-200: #f3e3b0;
  --cream: #fbf7f0;
  --ivory: #f4ead8;
  --sand: #efe4cf;
  --ink: #1a1228;
  --muted: #5e5470;
  --white: #ffffff;
  --line: rgba(93, 42, 142, 0.12);
  --shadow: 0 18px 50px rgba(45, 17, 72, 0.12);
  --shadow-lg: 0 30px 70px rgba(45, 17, 72, 0.18);
  --radius: 22px;
  --header-h: 92px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--purple-600);
  text-decoration: none;
  transition: 0.25s ease;
}

a:hover {
  color: var(--gold-600);
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--purple-900);
}

.section {
  padding: 36px 0;
  position: relative;
  overflow-x: clip;
}

.row > * {
  min-width: 0;
}

.section-tight {
  padding: 28px 0;
}

.section-dark {
  background: linear-gradient(160deg, var(--purple-950) 0%, var(--purple-800) 55%, #4a1d6e 100%);
  color: #f4ecff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark .kicker {
  color: var(--white);
}

.section-gold {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(135deg, #f6edd6 0%, #ead7a0 50%, #f3e6c0 100%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.lead-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
}

.gold-rule {
  width: 72px;
  height: 3px;
  border: 0;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600), var(--gold-300));
  margin: 18px 0 0;
  border-radius: 99px;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 26px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold {
  background: linear-gradient(135deg, #f0d57a 0%, var(--gold-400) 40%, var(--gold-600) 100%);
  color: var(--purple-950) !important;
  box-shadow: 0 10px 24px rgba(201, 164, 76, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  color: var(--purple-950) !important;
  box-shadow: 0 16px 30px rgba(201, 164, 76, 0.45);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-800));
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(93, 42, 142, 0.28);
}

.btn-purple:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-300) !important;
  border: 1.5px solid rgba(232, 201, 106, 0.7) !important;
}

.btn-outline-gold:hover {
  background: rgba(232, 201, 106, 0.12);
  color: #fff !important;
}

.btn-outline-purple {
  background: transparent;
  color: var(--purple-700) !important;
  border: 1.5px solid var(--purple-600) !important;
}

.btn-outline-purple:hover {
  background: var(--purple-600);
  color: #fff !important;
}

/* ---------- Topbar / Navbar ---------- */
.topbar {
  background: var(--purple-950);
  color: #e9d9ff;
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar a {
  color: #f3e8ff;
}

.topbar a:hover {
  color: var(--gold-300);
}

.topbar .sep {
  opacity: 0.35;
  margin: 0 12px;
}

.site-nav {
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  transition: 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 10px 30px rgba(30, 11, 51, 0.08);
  padding: 6px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: calc(100% - 56px);
}

.brand-lockup img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 1px;
  box-shadow: 0 0 0 1.5px var(--gold-300);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--purple-800);
  letter-spacing: 0.08em;
}

.brand-text small {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.navbar-nav .nav-link {
  color: var(--purple-900) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Gallery dropdown: caret stays on ::after; active/hover underline uses ::before */
.navbar-nav .nav-link.dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s ease;
}

.navbar-nav .nav-link.dropdown-toggle:hover::before,
.navbar-nav .nav-link.dropdown-toggle.active::before {
  transform: scaleX(1);
}

.navbar-nav .nav-link.dropdown-toggle::after {
  position: static;
  display: inline-block;
  left: auto;
  right: auto;
  bottom: auto;
  width: 0;
  height: 0;
  margin-left: 0.35em;
  vertical-align: 0.2em;
  background: none;
  border-top: 0.35em solid;
  border-right: 0.35em solid transparent;
  border-bottom: 0;
  border-left: 0.35em solid transparent;
  transform: none;
}

.navbar-nav .nav-link.dropdown-toggle:hover::after,
.navbar-nav .nav-link.dropdown-toggle.active::after {
  transform: none;
  background: none;
}

.navbar-nav .dropdown-menu {
  border: 1px solid rgba(93, 42, 142, 0.18);
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(45, 18, 72, 0.12);
  padding: 0.4rem;
  min-width: 11rem;
}

.navbar-nav .nav-link.dropdown-toggle:focus,
.navbar-nav .nav-link.dropdown-toggle:focus-visible,
.navbar-nav .nav-link.dropdown-toggle.show {
  outline: none;
  box-shadow: none;
}

/* Desktop: stable hover dropdown (no Popper shift) */
@media (min-width: 992px) {
  .site-nav .navbar-nav .dropdown {
    position: relative;
  }

  .site-nav .navbar-nav .dropdown > .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% - 2px);
    left: 50%;
    right: auto;
    bottom: auto;
    inset: auto !important;
    margin: 0;
    transform: translateX(-50%);
    float: none;
    z-index: 1050;
  }

  .site-nav .navbar-nav .dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }

  .site-nav .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}

.navbar-nav .dropdown-item {
  border-radius: 0;
  color: var(--purple-900);
  font-weight: 500;
  padding: 0.55rem 0.9rem;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: rgba(93, 42, 142, 0.08);
  color: var(--purple-700);
}

.navbar-nav .dropdown-item.active {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  color: #fff;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 auto 3.75rem;
  padding: 0.35rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #9e9e9e;
  border-radius: 14px;
  background: #fffdf8;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 7rem;
  padding: 0.55rem 1.05rem;
  border-radius: 10px;
  color: var(--purple-700);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  outline: none;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-tab:hover {
  color: var(--purple-900);
  background: #f3eee6;
}

.gallery-tab:focus,
.gallery-tab:focus-visible {
  outline: none;
  box-shadow: none;
  background: #f3eee6;
}

.gallery-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
}

.gallery-tab.active:hover,
.gallery-tab.active:focus,
.gallery-tab.active:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-500));
}

.navbar-toggler {
  border: 0;
  color: var(--purple-700);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 164, 76, 0.22), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(93, 42, 142, 0.16), transparent 32%),
    linear-gradient(180deg, #fffdf8 0%, var(--cream) 55%, #f0e4cc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235d2a8e' fill-opacity='0.035'%3E%3Cpath d='M50 50c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm-10-24c2 0 4-2 4-4s-2-4-4-4-4 2-4 4 2 4 4 4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-ornament {
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border: 1px solid rgba(201, 164, 76, 0.28);
  border-radius: 50%;
  right: -80px;
  top: 8%;
  animation: spinSlow 48s linear infinite;
  pointer-events: none;
}

.hero-ornament::after {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px dashed rgba(93, 42, 142, 0.18);
  border-radius: 50%;
}

.hero-kicker {
  color: var(--gold-600);
}

.hero h1 {
  font-size: clamp(2.35rem, 8vw, 5.2rem);
  line-height: 0.98;
  margin: 10px 0 18px;
  overflow-wrap: anywhere;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, var(--purple-800), var(--purple-500) 55%, var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 540px;
}

.logo-medallion {
  width: min(420px, 100%);
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.6),
    0 0 0 10px var(--gold-400),
    0 24px 50px rgba(45, 17, 72, 0.16);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.logo-medallion img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.hero-meta > div {
  min-width: 0;
  flex: 1 1 160px;
}

.hero-meta div strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  background: var(--purple-900);
  color: var(--gold-200);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-top: 1px solid rgba(232, 201, 106, 0.25);
  border-bottom: 1px solid rgba(232, 201, 106, 0.25);
}

.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.marquee-track i {
  color: var(--gold-400);
}

/* ---------- Cards ---------- */
.glass-card,
.service-card,
.founder-card,
.news-card,
.stat-card,
.placeholder-tile {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.service-card {
  padding: 32px 28px;
  height: 100%;
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-600), var(--gold-400));
  transform: scaleX(0);
  transition: 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.icon-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--purple-100), #fff);
  color: var(--purple-700);
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(93, 42, 142, 0.08);
}

.stat-card {
  padding: 28px;
  text-align: center;
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--purple-700);
  line-height: 1;
}

.stat-card .num span {
  color: var(--gold-500);
}

.stat-card .num-type1 {
  font-size: 2.15rem;
}

/* ---------- Founders ---------- */
.founder-card {
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.founders-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
}

.founder-elegant {
  text-align: center;
}

.founder-elegant-photo {
  width: min(280px, 70%);
  aspect-ratio: 3 / 4;
  margin: 0 auto 22px;
  border-radius: 24px;
  overflow: hidden;
  background: #efe6d4;
  box-shadow:
    0 0 0 6px #fff,
    0 0 0 8px var(--gold-400),
    0 22px 40px rgba(45, 17, 72, 0.12);
}

.founder-elegant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.founder-elegant .role-chip {
  margin-bottom: 10px;
}

.founder-elegant h3 {
  font-size: 2rem;
  color: var(--purple-900);
  margin: 0 0 6px;
}

.founder-elegant .title {
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.founder-elegant hr {
  width: 48px;
  height: 2px;
  border: 0;
  background: var(--gold-400);
  margin: 0 auto 14px;
}

.founder-elegant p {
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 14px;
}

.founder-elegant .creds {
  color: var(--purple-800);
  font-size: 0.9rem;
  font-weight: 600;
}

.section-dark .founder-elegant h3 {
  color: #fff;
}

.section-dark .founder-elegant p {
  color: #e9d9ff;
}

.section-dark .founder-elegant .creds {
  color: var(--gold-300);
}

@media (max-width: 767.98px) {
  .founders-board {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.founder-photo {
  height: 340px;
  background:
    linear-gradient(180deg, rgba(93, 42, 142, 0.08), rgba(201, 164, 76, 0.18)),
    repeating-linear-gradient(135deg, #f7f0e4 0 12px, #efe3cc 12px 24px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.founder-photo.has-photo {
  background: #efe6d4;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.5s ease;
}

.founder-card:hover .founder-photo img {
  transform: scale(1.04);
}

.founder-photo .initials {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--purple-700), var(--purple-950));
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--gold-400);
}

.photo-soon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(30, 11, 51, 0.75);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

.founder-body {
  padding: 24px 26px 28px;
}

.role-chip {
  display: inline-block;
  background: var(--purple-100);
  color: var(--purple-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

/* ---------- Placeholders / Gallery ---------- */
.placeholder-tile {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}

.placeholder-tile i {
  font-size: 2rem;
  color: var(--purple-500);
  margin-bottom: 8px;
}

.placeholder-tile.tall {
  min-height: 320px;
}

.ratio-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 0 20px;
  margin-bottom: 36px;
  color: #fff;
  background:
    linear-gradient(
      105deg,
      rgba(26, 8, 48, 0.78) 0%,
      rgba(45, 17, 72, 0.68) 38%,
      rgba(45, 17, 72, 0.38) 68%,
      rgba(30, 11, 51, 0.18) 100%
    ),
    linear-gradient(rgba(20, 8, 35, 0.22), rgba(20, 8, 35, 0.22)),
    url("../images/logo/breadcrumbs.jpeg") right center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), transparent 45%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  margin: 6px 0 6px;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.page-hero p {
  margin-bottom: 0;
  max-width: 560px;
}

@media (max-width: 767.98px) {
  .page-hero p {
    display: none;
  }
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--gold-200) !important;
}

.page-hero .breadcrumb-item a:hover {
  color: #fff !important;
}

/* ---------- Contact / forms ---------- */
.contact-panel {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
}

.form-control,
.form-select {
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fffdf9;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.18);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 0.2rem rgba(180, 35, 24, 0.12);
}

.form-error {
  min-height: 0;
  margin-top: 0;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #b42318;
}

.form-error:not(:empty) {
  margin-top: 4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

#contactForm .row {
  --bs-gutter-y: 0.5rem;
}

#contactForm .form-label {
  margin-bottom: 4px;
}

.info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.info-row .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.map-wrap {
  border-radius: 22px;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  max-width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.map-wrap.map-medium {
  max-width: 600px;
}

.map-wrap.map-framed {
  border: 1.5px solid rgba(164, 132, 42, 0.55);
  background: #fff;
  padding: 5px;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 16px 40px rgba(45, 17, 72, 0.1);
}

.map-wrap.map-framed iframe {
  border-radius: 18px;
}

.map-wrap.map-medium iframe {
  max-width: 100%;
  height: 450px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-950);
  color: #d9c8ef;
  padding-top: 32px;
  overflow-x: clip;
}

.site-footer .row > [class*="col-"] {
  min-width: 0;
}

.site-footer h5 {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .list-unstyled a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.45;
}

.footer-contact li {
  margin-bottom: 0.85rem;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d9c8ef;
  max-width: 100%;
}

.footer-contact a span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-contact i {
  flex-shrink: 0;
  margin-top: 3px;
  color: #f4ecff;
}

.footer-contact a:hover,
.footer-contact a:hover i {
  color: var(--gold-400);
}

.site-footer a {
  color: #d9c8ef;
}

.site-footer a:hover {
  color: var(--gold-300);
}

.footer-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 0 3px var(--gold-400);
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
  padding: 12px 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.footer-bottom > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  white-space: normal;
}

.footer-legal a {
  color: #d9c8ef;
}

.footer-legal a:hover {
  color: var(--gold-400);
}

.footer-legal span {
  opacity: 0.45;
  margin: 0 8px;
}

.legal-content {
  background: #fff;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content a {
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .legal-content {
    padding: 28px 20px;
  }
}

.social-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(164, 132, 42, 0.55);
  color: var(--gold-600) !important;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  box-sizing: border-box;
  line-height: 0;
  margin-right: 8px;
}

.social-btn i {
  font-size: 1.05rem;
  line-height: 1;
}

.social-btn:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--purple-950) !important;
}

.site-footer .social-btn {
  color: var(--gold-500) !important;
  border-color: rgba(201, 164, 76, 0.45);
}

.site-footer .social-btn:hover {
  color: var(--purple-950) !important;
}

/* ---------- Floaters ---------- */
.whatsapp-float,
.back-to-top {
  position: fixed;
  right: 22px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff !important;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  bottom: 24px;
  background: #25d366;
  font-size: 1.35rem;
}

.back-to-top {
  bottom: 80px;
  background: var(--purple-700);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 2000;
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

#preloader img {
  width: 140px;
  animation: pulse 1.6s ease-in-out infinite;
}

/* ---------- Values / mission ---------- */
.value-item {
  padding: 22px;
  border-left: 3px solid var(--gold-400);
  background: #fff;
  border-radius: 0 18px 18px 0;
  height: 100%;
}

.coming-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 164, 76, 0.15);
  color: var(--gold-600);
  border: 1px solid rgba(201, 164, 76, 0.35);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
}

.find-us-grid .map-wrap,
.find-us-grid .map-wrap iframe {
  max-width: 100%;
  width: 100%;
}

.find-us-grid .map-wrap iframe {
  height: 300px;
}

.find-us-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.find-us-logo {
  width: 168px;
  height: 168px;
  object-fit: contain;
  background: transparent;
}

.gmb-card {
  background: linear-gradient(160deg, #fff, var(--ivory));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.gmb-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--purple-900);
  margin: 6px 0 8px;
}

.gmb-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.gmb-card .gmb-name {
  color: var(--purple-800);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.gmb-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.gmb-meta > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.gmb-meta i {
  color: var(--gold-600);
  margin-top: 2px;
}

.gmb-meta a {
  color: var(--purple-700);
  font-weight: 600;
}

.gmb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.gmb-tags span {
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- Work page hero slider ---------- */
.work-hero {
  min-height: calc(100vh - 220px);
  padding: 36px 0 48px;
}

.work-hero-visual {
  position: relative;
  background: #efe6d4;
  overflow: hidden;
  box-shadow:
    0 0 0 2px var(--gold-400),
    0 24px 50px rgba(45, 17, 72, 0.14);
}

.work-copy-stack {
  position: relative;
  min-height: 420px;
}

.work-hero-copy {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.work-hero-copy.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.work-title-stack {
  position: relative;
  min-height: clamp(5rem, 11vw, 9.5rem);
}

.work-hero-title {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  margin: 10px 0 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.work-hero-title.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.work-hero-visual .work-hero-img,
.logo-medallion.work-hero-visual img.work-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.work-hero-visual .work-hero-img.is-active,
.logo-medallion.work-hero-visual img.work-hero-img.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.work-hero-visual .work-hero-img:not(.is-photo),
.logo-medallion.work-hero-visual img.work-hero-img:not(.is-photo) {
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 8%;
  box-sizing: border-box;
}

.work-hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.work-slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(93, 42, 142, 0.2);
  background: #fff;
  color: var(--purple-700);
  display: grid;
  place-items: center;
  transition: 0.25s ease;
  box-shadow: 0 8px 20px rgba(45, 17, 72, 0.08);
}

.work-slider-btn:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: #fff;
}

.work-slider-dots {
  display: flex;
  gap: 10px;
}

.work-slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(93, 42, 142, 0.22);
  transition: 0.25s ease;
}

.work-slider-dots button.is-active {
  width: 28px;
  border-radius: 99px;
  background: var(--gold-500);
}

@media (max-width: 991.98px) {
  .work-hero {
    min-height: auto;
    padding: 20px 0 40px;
  }

  .work-hero-visual {
    width: min(280px, 72vw);
  }

  .work-copy-stack {
    min-height: 0;
  }

  .work-hero-copy {
    position: relative;
    height: 0;
    overflow: hidden;
  }

  .work-hero-copy.is-active {
    height: auto;
    overflow: visible;
  }

  .work-title-stack {
    min-height: 0;
  }

  .work-hero-title {
    position: relative;
    height: 0;
    overflow: hidden;
    margin: 0;
  }

  .work-hero-title.is-active {
    height: auto;
    overflow: visible;
    margin: 10px 0 18px;
  }
}

/* ---------- News ---------- */
.news-card {
  overflow: hidden;
  height: 100%;
}

.news-thumb {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(93, 42, 142, 0.75), rgba(201, 164, 76, 0.55)),
    repeating-linear-gradient(45deg, #4e2278 0 10px, #3d1860 10px 20px);
  display: grid;
  place-items: center;
  color: #fff;
}

.news-card .body {
  padding: 22px;
}

/* ---------- Accordion ---------- */
.accordion-item {
  border: 0;
  margin-bottom: 12px;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(45, 17, 72, 0.06);
}

.accordion-button:not(.collapsed) {
  background: var(--purple-100);
  color: var(--purple-800);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

/* ---------- Animations ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.reveal-up {
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section {
    padding: 28px 0;
  }

  .hero {
    min-height: auto;
    padding: 20px 0 40px;
  }

  .hero-ornament {
    display: none;
  }

  .logo-medallion {
    margin: 0 auto 8px;
    width: min(260px, 68vw);
    box-shadow:
      0 0 0 6px rgba(255, 255, 255, 0.6),
      0 0 0 8px var(--gold-400),
      0 18px 36px rgba(45, 17, 72, 0.14);
  }

  .hero .order-1 {
    margin-bottom: 4px;
  }

  .brand-lockup {
    gap: 10px;
    max-width: calc(100% - 52px);
  }

  .brand-lockup img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.98rem;
    letter-spacing: 0.05em;
  }

  .brand-text small {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .navbar-collapse {
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    margin-top: 10px;
    box-shadow: var(--shadow);
  }

  .map-wrap.map-medium,
  .map-wrap.map-medium iframe {
    max-width: 100%;
  }

  .map-wrap.map-medium iframe {
    height: 320px;
  }

  .site-footer {
    padding-top: 28px;
  }

  .footer-logo {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 767.98px) {
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    gap: 16px;
    margin-top: 28px;
  }

  .stat-card {
    padding: 18px 14px;
  }

  .stat-card .num {
    font-size: 1.85rem;
  }

  .service-card {
    padding: 24px 20px;
  }

  .founder-elegant h3 {
    font-size: 1.65rem;
  }

  .founder-elegant-photo {
    width: min(240px, 72%);
  }

  .footer-bottom {
    text-align: center;
    justify-content: center !important;
    align-items: center !important;
  }

  .footer-legal {
    justify-content: center;
  }

  .info-row {
    align-items: flex-start;
  }

  .info-row > div:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 575.98px) {
  .topbar {
    font-size: 0.75rem;
  }

  .brand-lockup {
    gap: 8px;
  }

  .brand-lockup img {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text small {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .lead-text {
    font-size: 1rem;
  }

  .map-wrap.map-medium iframe {
    height: 260px;
  }

  .placeholder-tile {
    min-height: 160px;
    padding: 16px 10px;
  }

  .placeholder-tile span,
  .placeholder-tile small {
    overflow-wrap: anywhere;
  }

  .footer-logo {
    width: 64px;
    height: 64px;
  }

  .footer-bottom {
    font-size: 0.78rem;
    padding: 14px 0 18px;
  }

  .whatsapp-float,
  .back-to-top {
    right: 14px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- Image gallery (Fancybox grid) ---------- */
.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: var(--purple-100);
  box-shadow: 0 8px 24px rgba(45, 17, 72, 0.12);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 17, 72, 0.62);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--purple-700);
  background: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gallery-overlay a:hover,
.gallery-overlay a:focus {
  color: #fff;
  background: var(--purple-600);
  transform: scale(1.08);
  outline: none;
}

@media (max-width: 991px) {
  .image-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .image-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .image-gallery-grid {
    gap: 8px;
  }
}

/* ---------- Video gallery (inline YouTube embeds) ---------- */
.video-gallery-title {
  margin: 0;
  color: var(--purple-900);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
}

.videos_list {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #c8c8c8;
  background: #111;
  z-index: 1;
  isolation: isolate;
}

.videos_list-embed {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  overflow: hidden;
  background: #000;
  min-height: 220px;
}

.videos_list iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}

.videos_list-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  aspect-ratio: 10 / 7;
  min-height: 220px;
  padding: 0.85rem 0.55rem;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  background: linear-gradient(160deg, var(--purple-950), var(--purple-800) 55%, var(--purple-600));
}

.videos_list-placeholder i {
  flex-shrink: 0;
  color: #ff0033;
  font-size: 1.85rem;
  line-height: 1;
}

.videos_list-placeholder span {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0.2rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .videos_list-embed,
  .videos_list-placeholder {
    min-height: 160px;
  }

  .videos_list-placeholder span {
    font-size: 0.8rem;
  }
}
