/* ==============================================
   IACI Implantology — Luxury Design System
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --navy:        #0d1b3e;
  --navy-light:  #162354;
  --gold:        #c9a84c;
  --gold-light:  #e8c97e;
  --gold-dark:   #a8882e;
  --white:       #ffffff;
  --off-white:   #f7f6f3;
  --text-dark:   #1a1a2e;
  --text-mid:    #4a4a6a;
  --text-muted:  #8a8aaa;
  --border:      rgba(201,168,76,.18);
  --shadow-sm:   0 4px 20px rgba(13,27,62,.07);
  --shadow-md:   0 12px 40px rgba(13,27,62,.13);
  --shadow-lg:   0 24px 64px rgba(13,27,62,.18);
  --radius:      4px;
  --transition:  .38s cubic-bezier(.25,.46,.45,.94);
  --ff-heading:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* ── Typography ─────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-heading);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
}

.display-title {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.08;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  margin-top: .6rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
  margin-top: .9rem;
}

/* ── Layout Helpers ─────────────────────────── */
.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-gap  { padding-block: 100px; }
.section-gap-sm { padding-block: 64px; }

.row { display: flex; flex-wrap: wrap; }
.g-5 { gap: 2rem; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 28px rgba(201,168,76,.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-arrow svg {
  width: 16px; height: 16px;
  transition: transform var(--transition);
}
.btn:hover .btn-arrow svg { transform: translateX(4px); }

/* ── Gold Divider ───────────────────────────── */
.gold-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-block: 1.2rem;
}
.gold-line.center { margin-inline: auto; }

/* ════════════════════════════════════════════
   HEADER / NAVBAR
   ════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--transition);
}

.site-header.transparent {
  background: transparent;
  padding-block: 1.4rem;
}

.site-header.solid {
  background: rgba(13,27,62,.97);
  backdrop-filter: blur(12px);
  padding-block: .85rem;
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img { height: 54px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .1rem;
}

.main-nav ul a {
  display: block;
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.82);
  position: relative;
  transition: color var(--transition);
}

.main-nav ul a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 1rem; right: 1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.main-nav ul a:hover,
.main-nav ul a.active {
  color: var(--gold);
}
.main-nav ul a:hover::after,
.main-nav ul a.active::after { transform: scaleX(1); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none; /* shown via media query */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  order: -1;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  padding: 0;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.hamburger:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,.1);
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: width .3s ease, transform .35s ease, opacity .25s ease;
}
.hamburger span:nth-child(1) { width: 18px; }
.hamburger span:nth-child(2) { width: 24px; }
.hamburger span:nth-child(3) { width: 14px; }

/* animated to X when active */
.hamburger.active span:nth-child(1) {
  width: 22px;
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  width: 22px;
  transform: translateY(-6.5px) rotate(-45deg);
}
.hamburger.active {
  border-color: var(--gold);
  background: rgba(201,168,76,.12);
}

/* ── Mobile drawer backdrop ── */
.drawer-backdrop {
  position: fixed;
  /* top set dynamically by JS to match header height */
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 10, 28, 0);
  z-index: 998;
  pointer-events: none;
  transition: background .45s ease;
}
.drawer-backdrop.open {
  background: rgba(5, 10, 28, .65);
  pointer-events: all;
  backdrop-filter: blur(3px);
}

/* ── Drawer panel (slides from left, below header) ── */
.mobile-nav {
  position: fixed;
  /* top set dynamically by JS */
  top: 0; left: 0; bottom: 0;
  width: min(360px, 88vw);
  background: #08102a;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform .48s cubic-bezier(.76, 0, .17, 1);
  overflow: hidden;
}
.mobile-nav.open { transform: translateX(0); }

/* decorative gold line at top */
.mobile-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  z-index: 2;
}

/* decorative circle ornament */
.mobile-nav::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -80px;
  width: 320px; height: 320px;
  border: 1px solid rgba(201,168,76,.06);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Drawer top bar ── */
.drawer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.4rem .85rem 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.drawer-top-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(201,168,76,.6);
}

.drawer-close {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.drawer-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.08);
  transform: rotate(90deg);
}

/* ── Drawer nav links ── */
.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 0;
  scrollbar-width: none;
}
.drawer-nav::-webkit-scrollbar { display: none; }

.drawer-nav ul { list-style: none; padding: 0; margin: 0; }

.drawer-nav ul li {
  border-bottom: 1px solid rgba(255,255,255,.04);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .35s ease, transform .35s ease;
}
/* staggered entrance */
.mobile-nav.open .drawer-nav ul li:nth-child(1)  { opacity:1; transform:none; transition-delay:.08s; }
.mobile-nav.open .drawer-nav ul li:nth-child(2)  { opacity:1; transform:none; transition-delay:.13s; }
.mobile-nav.open .drawer-nav ul li:nth-child(3)  { opacity:1; transform:none; transition-delay:.18s; }
.mobile-nav.open .drawer-nav ul li:nth-child(4)  { opacity:1; transform:none; transition-delay:.23s; }
.mobile-nav.open .drawer-nav ul li:nth-child(5)  { opacity:1; transform:none; transition-delay:.28s; }
.mobile-nav.open .drawer-nav ul li:nth-child(6)  { opacity:1; transform:none; transition-delay:.33s; }
.mobile-nav.open .drawer-nav ul li:nth-child(7)  { opacity:1; transform:none; transition-delay:.38s; }
.mobile-nav.open .drawer-nav ul li:nth-child(8)  { opacity:1; transform:none; transition-delay:.43s; }
.mobile-nav.open .drawer-nav ul li:nth-child(9)  { opacity:1; transform:none; transition-delay:.48s; }

.drawer-nav ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.8rem;
  font-family: var(--ff-body);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
  position: relative;
}
.drawer-nav ul a::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform var(--transition);
}
.drawer-nav ul a:hover,
.drawer-nav ul a.active {
  color: var(--white);
  background: rgba(255,255,255,.03);
  padding-left: 2.4rem;
}
.drawer-nav ul a:hover::before,
.drawer-nav ul a.active::before { transform: scaleY(1); }

.drawer-nav ul a .nav-arrow {
  font-size: .65rem;
  color: rgba(201,168,76,.4);
  transition: all var(--transition);
}
.drawer-nav ul a:hover .nav-arrow,
.drawer-nav ul a.active .nav-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ── Drawer CTA button ── */
.drawer-cta {
  padding: 1rem 1.8rem 1.4rem;
  flex-shrink: 0;
}
.drawer-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ── Drawer footer ── */
.drawer-footer {
  padding: 1.2rem 1.8rem 1.8rem;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .7rem;
  font-size: .78rem;
  color: rgba(255,255,255,.38);
}
.drawer-contact-item i {
  color: var(--gold);
  font-size: .8rem;
  width: 14px;
  flex-shrink: 0;
}
.drawer-contact-item a { color: rgba(255,255,255,.38); transition: color var(--transition); }
.drawer-contact-item a:hover { color: var(--gold); }

.drawer-socials {
  display: flex;
  gap: .55rem;
  margin-top: 1.1rem;
}
.drawer-socials a {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  color: rgba(255,255,255,.38);
  transition: all var(--transition);
}
.drawer-socials a:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,.1);
  color: var(--gold);
}

/* ════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,27,62,.90) 0%,
    rgba(13,27,62,.70) 55%,
    rgba(13,27,62,.20) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-text { max-width: 680px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  animation: fadeUp .8s ease .2s both;
}
.hero-label::before {
  content: ''; width: 36px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.02em;
  animation: fadeUp .8s ease .4s both;
}
.hero-title span { color: var(--gold); font-style: italic; }

.hero-description {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  line-height: 1.8;
  animation: fadeUp .8s ease .6s both;
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .8s both;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  animation: fadeUp .8s ease 1s both;
}
.hero-scroll span {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* Hero slider controls */
.hero-controls {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  gap: .5rem;
}
.hero-dot {
  width: 32px; height: 3px;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active { background: var(--gold); width: 56px; }

/* ════════════════════════════════════════════
   TWO-COLUMN GRID HELPER
   ════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.two-col.ratio-45 { grid-template-columns: 44% 1fr; }

@media (max-width: 900px) {
  .two-col, .two-col.ratio-45 { grid-template-columns: 1fr; gap: 3rem; }
}

/* ════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════ */
.about-section { background: var(--off-white); }

.about-media {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform .8s ease;
}
.about-img-main:hover img { transform: scale(1.04); }

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  box-shadow: var(--shadow-md);
}
.about-badge .num {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge .lbl {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  line-height: 1.3;
}

.about-content { padding-left: 1rem; }

.about-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.about-feature-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.about-feature-icon {
  width: 40px; height: 40px;
  background: rgba(201,168,76,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
}
.about-feature-text h6 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.about-feature-text p {
  font-size: .82rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════
   STATS SECTION
   ════════════════════════════════════════════ */
.stats-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(201,168,76,.2);
}
.stat-item:hover { background: rgba(201,168,76,.04); }

.stat-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
  color: var(--gold);
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-number span { color: var(--gold); }

.stat-label {
  margin-top: .5rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ════════════════════════════════════════════
   SERVICES / PROGRAMS
   ════════════════════════════════════════════ */
.services-section { background: var(--white); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

/* ── Image-card grid (homepage) ─────────────── */
.services-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
@media (max-width: 640px) { .services-img-grid { grid-template-columns: 1fr; } }

/* First card is larger */
.service-img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  height: 360px;
}
.service-img-card:first-child { height: 440px; }

.service-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.service-img-card:hover img { transform: scale(1.08); }

/* base overlay */
.service-img-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,16,42,.95) 0%,
    rgba(8,16,42,.55) 45%,
    rgba(8,16,42,.18) 100%
  );
  z-index: 1;
  transition: background var(--transition);
}
.service-img-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(8,16,42,.98) 0%,
    rgba(8,16,42,.75) 50%,
    rgba(8,16,42,.35) 100%
  );
}

/* number badge */
.sic-num {
  position: absolute;
  top: 1.4rem; left: 1.6rem;
  z-index: 2;
  font-family: var(--ff-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(201,168,76,.18);
  line-height: 1;
  transition: color var(--transition);
}
.service-img-card:hover .sic-num { color: rgba(201,168,76,.35); }

/* gold top-line accent */
.sic-accent {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 3;
  transition: width .5s ease;
}
.service-img-card:hover .sic-accent { width: 100%; }

/* text body */
.sic-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 2rem 2rem 1.8rem;
}

.sic-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}
.sic-label::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--gold);
}

.sic-title {
  font-family: var(--ff-heading);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .6rem;
}
.service-img-card:first-child .sic-title { font-size: 1.9rem; }

.sic-desc {
  font-size: .84rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .4s ease;
  opacity: 0;
}
.service-img-card:hover .sic-desc {
  max-height: 80px;
  opacity: 1;
}

.sic-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease .1s, transform .35s ease .1s;
}
.service-img-card:hover .sic-link {
  opacity: 1;
  transform: translateY(0);
}
.sic-link i { font-size: .65rem; transition: transform var(--transition); }
.sic-link:hover i { transform: translateX(4px); }

/* ── Small card fallback (plain, no image) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2.4rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { transform: scaleX(1); }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 64px; height: 64px;
  background: rgba(201,168,76,.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
  overflow: hidden;
}
.service-icon img { width: 36px; height: 36px; object-fit: contain; }
.service-card:hover .service-icon {
  background: rgba(201,168,76,.15);
  border-color: rgba(201,168,76,.4);
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .7rem;
  transition: color var(--transition);
}
.service-card:hover h4 { color: var(--white); }

.service-card p {
  font-size: .87rem;
  color: var(--text-mid);
  line-height: 1.7;
  transition: color var(--transition);
}
.service-card:hover p { color: rgba(255,255,255,.7); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}
.service-link:hover { gap: .7rem; }
.service-card:hover .service-link { color: var(--gold-light); }

/* ════════════════════════════════════════════
   GALLERY SECTION
   ════════════════════════════════════════════ */
.gallery-section {
  background: var(--navy);
  position: relative;
}

.gallery-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}
.gallery-intro .section-label { color: rgba(201,168,76,.9); }
.gallery-intro .section-title { color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: .75rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 3; }
.gallery-item:nth-child(n+6) { grid-column: span 4; }

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:nth-child(1) img { height: 460px; }

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h6 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
}
.gallery-overlay-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.7);
  width: 48px; height: 48px;
  background: rgba(201,168,76,.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
  opacity: 0;
  transition: all var(--transition);
}
.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}

/* ════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════ */
.testimonials-section { background: var(--off-white); }

.testimonials-swiper { overflow: hidden; }

.testimonial-card {
  background: var(--white);
  padding: 2.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-quote {
  font-size: 3rem;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: .8;
  margin-bottom: 1rem;
}

.testimonial-stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.testimonial-stars i { color: var(--gold); font-size: .9rem; }

.testimonial-text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.testimonial-author h6 {
  font-size: .95rem;
  font-weight: 600;
}
.testimonial-author span {
  font-size: .78rem;
  color: var(--gold);
  font-weight: 500;
}

/* ════════════════════════════════════════════
   BLOG SECTION
   ════════════════════════════════════════════ */
.blog-section { background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-img {
  height: 220px;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.06); }

.blog-body { padding: 1.6rem; }

.blog-date {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}

.blog-body h4 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: .7rem;
  transition: color var(--transition);
}
.blog-card:hover .blog-body h4 { color: var(--gold-dark); }

.blog-body p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
}
.blog-more:hover, .blog-card:hover .blog-more { color: var(--gold); }

/* ════════════════════════════════════════════
   PARTNERS
   ════════════════════════════════════════════ */
.partners-section {
  background: var(--off-white);
  padding-block: 60px;
}
.partners-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.partners-track {
  overflow: hidden;
}
.partners-slide {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-logo {
  height: 50px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: all var(--transition);
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* ════════════════════════════════════════════
   FAQ SECTION
   ════════════════════════════════════════════ */
.faq-section { background: var(--white); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.faq-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .75rem;
  height: 480px;
}
.faq-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-img:first-child {
  grid-column: span 2;
}
.faq-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accordion-list { display: flex; flex-direction: column; gap: .6rem; }

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion-item.open { border-color: var(--gold); }

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.4rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition);
  gap: 1rem;
}
.accordion-item.open .accordion-header { color: var(--navy); }
.accordion-item.open .accordion-header { background: rgba(201,168,76,.03); }

.accordion-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: all var(--transition);
}
.accordion-item.open .accordion-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.accordion-item.open .accordion-body { max-height: 300px; }

.accordion-body-inner {
  padding: 0 1.4rem 1.2rem;
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ════════════════════════════════════════════
   CONTACT STRIP
   ════════════════════════════════════════════ */
.contact-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding-block: 80px;
  position: relative;
  overflow: hidden;
}
.contact-strip::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border: 1px solid rgba(201,168,76,.08);
  border-radius: 50%;
}
.contact-strip::after {
  content: '';
  position: absolute;
  right: 50px; top: 50px;
  width: 300px; height: 300px;
  border: 1px solid rgba(201,168,76,.06);
  border-radius: 50%;
}

.contact-strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.contact-strip .section-label { color: var(--gold); }
.contact-strip .section-title { color: var(--white); }
.contact-strip .section-subtitle { color: rgba(255,255,255,.65); }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.site-footer {
  background: #08102a;
  color: rgba(255,255,255,.65);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-brand .logo { margin-bottom: 1.2rem; }
.footer-brand .logo img { height: 50px; }

.footer-desc {
  font-size: .87rem;
  line-height: 1.8;
  max-width: 300px;
  color: rgba(255,255,255,.5);
}

.footer-socials {
  display: flex;
  gap: .6rem;
  margin-top: 1.5rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.footer-heading {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .7rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 1.5px;
  background: var(--gold);
}

.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a::before {
  content: '';
  width: 6px; height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: all var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}
.footer-links a:hover::before { opacity: 1; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .85rem;
  font-size: .85rem;
}
.footer-contact-list i {
  color: var(--gold);
  margin-top: .2rem;
  font-size: .9rem;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.28);
  gap: 1rem;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════
   SCROLL TO TOP
   ════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 1.8rem; right: 1.8rem;
  width: 44px; height: 44px;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); color: var(--navy); }

/* ════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ensure hero text always visible in print/no-JS */
@media print {
  .hero-label, .hero-title, .hero-description, .hero-actions, .hero-scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(.6); opacity: .4; }
}

/* AOS is loaded via CDN — no custom overrides needed */

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-content { padding-left: 1rem; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-visual { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .section-gap { padding-block: 64px; }
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .about-content { padding-left: 0; margin-top: 4rem; }
  .about-badge { width: 90px; height: 90px; right: .5rem; bottom: -.8rem; }

  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(n+6) { grid-column: span 1; }
  .gallery-item:nth-child(1) img { height: 220px; }

  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }

  .contact-strip-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .services-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item,
  .gallery-item:nth-child(1) { grid-column: span 1; }
  .hero-actions { flex-direction: column; }
}

/* ════════════════════════════════════════════
   PAGE HERO (inner pages breadcrumb strip)
   ════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -120px; bottom: -120px;
  width: 480px; height: 480px;
  border: 1px solid rgba(201,168,76,.07);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 80px; bottom: 0px;
  width: 260px; height: 260px;
  border: 1px solid rgba(201,168,76,.05);
  border-radius: 50%;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: .8rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.breadcrumb li a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.breadcrumb li a:hover { color: var(--gold); }
.breadcrumb li.active { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,.25); font-size: .7rem; }

/* ════════════════════════════════════════════
   TEAM PAGE
   ════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-card-img {
  height: 260px;
  overflow: hidden;
  position: relative;
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.06); }
.team-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.team-card:hover .team-card-img-overlay { opacity: 1; }

.team-card-body {
  padding: 1.4rem 1.6rem;
}
.team-card-body h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .25rem;
  transition: color var(--transition);
}
.team-card:hover .team-card-body h4 { color: var(--gold-dark); }
.team-card-pos {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}
.team-card-body p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
}
.team-card-link:hover { color: var(--gold); }

/* Team profile page */
.team-profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .team-profile { grid-template-columns: 1fr; }
}
.team-profile-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.team-profile-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
}
.team-profile-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  margin-bottom: .4rem;
}
.team-profile-pos {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.team-profile-bio {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ════════════════════════════════════════════
   SERVICES PAGE — FEATURE BLOCKS
   ════════════════════════════════════════════ */
.service-feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
  overflow: hidden;
}
.service-feature-block.reverse { direction: rtl; }
.service-feature-block.reverse > * { direction: ltr; }

.service-feature-visual {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  overflow: hidden;
  min-height: 400px;
}
.service-feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,.12) 0%, transparent 70%);
}
.service-feature-visual::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  border: 1px solid rgba(201,168,76,.08);
  border-radius: 50%;
}
.service-feature-num {
  position: absolute;
  top: 2rem; left: 2.5rem;
  font-family: var(--ff-heading);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(201,168,76,.08);
  line-height: 1;
  user-select: none;
}
.service-feature-icon-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}
.service-feature-icon-wrap .big-icon {
  width: 100px; height: 100px;
  background: rgba(201,168,76,.1);
  border: 1.5px solid rgba(201,168,76,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.4rem;
  color: var(--gold);
}
.service-feature-icon-wrap h3 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
}
.service-feature-icon-wrap img.svc-img {
  width: 64px; height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
  margin: 0 auto 1rem;
}

.service-feature-content {
  padding: 4rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.service-feature-block:nth-child(even) .service-feature-content {
  background: var(--off-white);
}

.service-feature-content .section-label { margin-bottom: .8rem; }
.service-feature-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service-feature-content p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.8rem;
}
.service-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.service-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  background: rgba(201,168,76,.07);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-dark);
}
.service-pill i { color: var(--gold); font-size: .7rem; }

@media (max-width: 900px) {
  .service-feature-block,
  .service-feature-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-feature-visual { min-height: 280px; padding: 3rem; }
  .service-feature-content { padding: 2.5rem 2rem; }
}

/* Why IACI section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 1.4rem;
  color: var(--gold);
}
.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.why-card p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   COURSE / BOOK CARDS
   ════════════════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.course-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.course-card-img {
  height: 200px;
  overflow: hidden;
}
.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.course-card:hover .course-card-img img { transform: scale(1.06); }

.course-card-body { padding: 1.5rem; }
.course-card-body h4 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.course-card:hover .course-card-body h4 { color: var(--gold-dark); }

/* ════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.contact-info-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.contact-info-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-card h6 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .3rem;
}
.contact-info-card p,
.contact-info-card a {
  font-size: .9rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.contact-info-card a:hover { color: var(--gold); }

/* Luxury form */
.lux-form { display: flex; flex-direction: column; gap: 1rem; }
.lux-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .lux-form-row { grid-template-columns: 1fr; } }

.lux-form input,
.lux-form textarea,
.lux-form select {
  width: 100%;
  padding: .9rem 1.2rem;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.lux-form input:focus,
.lux-form textarea:focus,
.lux-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
  background: var(--white);
}
.lux-form input::placeholder,
.lux-form textarea::placeholder { color: var(--text-muted); font-size: .85rem; }
.lux-form textarea { resize: vertical; min-height: 120px; }

.map-wrapper { border-radius: var(--radius); overflow: hidden; }
.map-wrapper iframe { width: 100%; height: 380px; display: block; border: 0; }

/* ════════════════════════════════════════════
   GALLERY PAGE (full grid)
   ════════════════════════════════════════════ */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) { .gallery-page-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .gallery-page-grid { grid-template-columns: 1fr; } }

.gallery-page-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-page-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-page-item:hover img { transform: scale(1.07); }
.gallery-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.gallery-page-item:hover .gallery-page-overlay { opacity: 1; }
.gallery-page-overlay h6 { color: var(--white); font-size: .9rem; }
.gallery-page-zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.7);
  width: 44px; height: 44px;
  background: rgba(201,168,76,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1rem;
  opacity: 0;
  transition: all var(--transition);
}
.gallery-page-item:hover .gallery-page-zoom {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}

/* Gallery detail sub-grid */
.gallery-detail-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .75rem;
}
@media (max-width: 600px) { .gallery-detail-grid { grid-template-columns: repeat(2,1fr); } }

/* ════════════════════════════════════════════
   BLOG SINGLE PAGE
   ════════════════════════════════════════════ */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 960px) { .blog-detail-layout { grid-template-columns: 1fr; } }

.blog-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.blog-detail-img img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.blog-detail-meta i { color: var(--gold); margin-right: .3rem; }

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3 {
  font-family: var(--ff-heading);
  color: var(--navy);
  margin-block: 1.2rem .6rem;
}
.blog-detail-content p { color: var(--text-mid); line-height: 1.85; margin-bottom: 1rem; }
.blog-detail-content img { border-radius: var(--radius); margin-block: 1rem; }

.blog-sidebar-widget {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-bottom: 1.5rem;
}
.blog-sidebar-widget h5 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.blog-sidebar-widget h5::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 32px; height: 2px;
  background: var(--gold);
}

.sidebar-post {
  display: flex;
  gap: .9rem;
  padding-block: .85rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post-img {
  width: 68px; height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-meta { font-size: .7rem; color: var(--text-muted); margin-bottom: .2rem; }
.sidebar-post h6 {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color var(--transition);
}
.sidebar-post:hover h6 { color: var(--gold); }

/* Blog gallery in single post */
.blog-images-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .6rem;
  margin-top: 1.5rem;
}
@media (max-width: 600px) { .blog-images-grid { grid-template-columns: repeat(2,1fr); } }
.blog-img-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.blog-img-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ════════════════════════════════════════════
   FAQ / QUESTIONS PAGE
   ════════════════════════════════════════════ */
.faq-page-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .faq-page-layout { grid-template-columns: 1fr; } }

.ask-form-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2.4rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}
.ask-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: .5rem;
}
.ask-form-card p {
  font-size: .87rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════
   COURSE DETAIL PAGE
   ════════════════════════════════════════════ */
.course-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 960px) { .course-detail-layout { grid-template-columns: 1fr; } }

.course-detail-body { font-size: .95rem; color: var(--text-mid); line-height: 1.9; }
.course-detail-body h1,
.course-detail-body h2,
.course-detail-body h3 { font-family: var(--ff-heading); color: var(--navy); margin-block: 1rem .5rem; }
.course-detail-body p { margin-bottom: 1rem; }
.course-detail-body img { border-radius: var(--radius); max-width: 100%; margin-block: 1rem; }

.enroll-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}
.enroll-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
}

/* Alert success */
.alert-success {
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.3);
  color: #166534;
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════
   COURSE / BOOK DETAIL PAGE — REDESIGN
   ════════════════════════════════════════════ */

/* Full-bleed image hero */
.course-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.course-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}
.course-hero:hover .course-hero-bg { transform: scale(1.04); }
.course-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,10,28,.97) 0%,
    rgba(5,10,28,.75) 45%,
    rgba(5,10,28,.3)  100%
  );
}
.course-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5rem 0 3.5rem;
}
.course-type-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1rem;
  border: 1px solid rgba(201,168,76,.5);
  border-radius: 20px;
  background: rgba(201,168,76,.1);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.course-hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 1.5rem;
}
.course-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.course-meta-item i { color: var(--gold); font-size: .85rem; }
.course-hero-breadcrumb {
  position: absolute;
  top: 2rem; left: 0; right: 0;
  z-index: 3;
}

/* layout */
.course-page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
  padding-block: 5rem;
}
@media (max-width: 960px) {
  .course-page-layout { grid-template-columns: 1fr; padding-block: 3rem; }
}

/* body content */
.course-body-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.course-body-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.course-body-section h3::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 36px; height: 2px;
  background: var(--gold);
}
.course-rich-content { font-size: .95rem; color: var(--text-mid); line-height: 1.9; }
.course-rich-content h1,
.course-rich-content h2,
.course-rich-content h3 { font-family: var(--ff-heading); color: var(--navy); margin-block: 1.2rem .5rem; }
.course-rich-content p  { margin-bottom: 1rem; }
.course-rich-content ul,
.course-rich-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.course-rich-content li { margin-bottom: .4rem; }
.course-rich-content img { border-radius: var(--radius); max-width: 100%; margin-block: 1rem; }
.course-rich-content strong { color: var(--navy); }

/* feature list */
.course-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: .5rem;
}
@media (max-width: 560px) { .course-features { grid-template-columns: 1fr; } }
.course-feature-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem;
  background: var(--off-white);
  border-radius: var(--radius);
  font-size: .84rem;
  color: var(--text-dark);
}
.course-feature-item i { color: var(--gold); font-size: .85rem; flex-shrink: 0; }

/* sticky enrol card */
.enroll-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}
.enroll-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2rem 2rem 1.6rem;
  position: relative;
  overflow: hidden;
}
.enroll-card-header::before {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 50%;
}
.enroll-card-header .card-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold);
  margin-bottom: 1rem;
}
.enroll-card-header h4 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: .3rem;
}
.enroll-card-header p {
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  line-height: 1.5;
}
.enroll-card-body { padding: 1.8rem; }

/* success overlay */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,28,.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.success-overlay.show { display: flex; }
.success-modal {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: fadeUp .4s ease both;
}
.success-modal-icon {
  width: 72px; height: 72px;
  background: rgba(22,163,74,.1);
  border: 2px solid rgba(22,163,74,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: #16a34a;
}
.success-modal h3 { font-size: 1.5rem; margin-bottom: .5rem; color: var(--navy); }
.success-modal p  { color: var(--text-mid); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.success-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--text-muted); font-size: 1.1rem;
  cursor: pointer;
  transition: color var(--transition);
}
.success-modal-close:hover { color: var(--navy); }

/* Video wrapper */
.video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}
.video-wrap video { width: 100%; display: block; }
