:root {
  --bg: #f3f1ec;
  --bg-soft: #ece9e2;
  --panel: #ffffff;
  --panel-2: #f8f6f1;
  --line: #d8d3c8;
  --text: #172033;
  --muted: #5f6b82;
  --gold: #cba35e;
  --gold-2: #e5c995;
  --blue: #224f98;
  --blue-2: #1a3f7d;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, sans-serif;
  background:
    radial-gradient(1200px 600px at 0% -15%, rgba(55, 102, 184, .12), transparent 62%),
    radial-gradient(900px 500px at 100% 0%, rgba(203, 163, 94, .18), transparent 68%),
    linear-gradient(180deg, #f5f3ee 0%, #efece5 40%, #f6f4ef 100%);
  color: var(--text);
}

.wrap { width: min(1240px, calc(100% - 42px)); margin: 0 auto; }
.page { padding: 28px 0 56px; }

.top-strip {
  background: #0f2248;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.top-strip-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #d8e4ff;
  font-size: 15px;
  letter-spacing: .03em;
}
.top-strip-inner a { color: #dce8ff; text-decoration: none; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(248, 246, 241, .92);
  border-bottom: 1px solid #d7d1c5;
  backdrop-filter: blur(12px);
}
.site-header.scrolled { box-shadow: 0 16px 38px rgba(0,0,0,.45); }

.nav {
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}
.brand img {
  height: 92px;
  width: auto;
  object-fit: contain;
  filter: none;
  background: transparent;
  mix-blend-mode: normal;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #35486c;
  background: #131c2f;
  padding: 9px;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #deebff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav-links > a,
.mega-btn {
  border: 0;
  background: transparent;
  color: #445270;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.nav-links > a:hover,
.mega-btn:hover { color: #1a2740; }
.nav-links > a.active,
.mega-btn.active {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

.mega-item { position: relative; }
.mega-btn span { margin-left: 7px; font-size: 12px; }
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  max-height: 72vh;
  overflow: auto;
  background: linear-gradient(160deg, #fdfcf9, #f4f1ea);
  border: 1px solid #d9d1c2;
  border-radius: 16px;
  box-shadow: 0 26px 55px rgba(0, 0, 0, .55);
  padding: 12px;
  animation: menuIn .24s ease;
}
.mega-item:hover .mega-menu,
.mega-item:focus-within .mega-menu,
.mega-item.open .mega-menu { display: block; }

.mega-main-link,
.mega-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #1f2b45;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 13px;
}
.mega-main-link {
  color: var(--gold-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
}
.mega-list-link {
  background: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.mega-list-link span { font-weight: 700; font-size: 16px; }
.mega-list-link i { opacity: .8; font-style: normal; font-size: 20px; }
.mega-main-link:hover,
.mega-list-link:hover {
  background: #eef1f7;
  border-color: #b8c4dc;
  color: #142340;
}
.mega-divider {
  height: 1px;
  background: #ddd7ca;
  margin: 10px 4px;
}

.head-actions { display: flex; align-items: center; gap: 10px; }
.head-actions { white-space: nowrap; }
.lang-links { display: flex; gap: 8px; }
.lang-links a {
  text-decoration: none;
  color: #34435f;
  border: 1px solid #c9c1b2;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.lang-links a:hover { border-color: #8799b8; color: #1b2a47; background: #f1efe9; }

.btn {
  border-radius: 12px;
  padding: 10px 16px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #111726;
  background: linear-gradient(150deg, var(--gold), var(--gold-2));
  border-color: #b58e4f;
}
.btn-outline {
  color: #203252;
  border-color: #b4bfd4;
  background: #f1f3f8;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #f8f5ef;
  padding: 12px 20px 18px;
}
.mobile-drawer a {
  display: block;
  text-decoration: none;
  color: #243251;
  padding: 10px 0;
  border-bottom: 1px solid #ddd7cc;
  font-weight: 600;
}
.mobile-drawer a.active { color: var(--gold-2); }
.mobile-drawer .mobile-sub {
  color: #5d6f8f;
  padding-left: 14px;
  font-weight: 500;
}
.mobile-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.mobile-drawer.open { display: block; }

.hero,
.services-hero,
.rich-block,
.card,
.services-cta,
.cta {
  background: linear-gradient(165deg, #fbfaf6, #f2efe8);
  border: 1px solid #d9d2c5;
  border-radius: 18px;
}
.hero,
.services-hero { padding: 36px; margin-bottom: 24px; }
.rich-block,
.card,
.services-cta,
.cta { padding: 22px; }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero h1 {
  margin: 9px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 5.6vw, 88px);
  line-height: .93;
  letter-spacing: -.01em;
}
.hero p,
.services-hero p,
.section-desc,
.card p,
.services-cta p,
.faq-item p,
.step-card p,
.service-mini-desc,
.team-card p {
  color: var(--muted);
}
.hero p,
.services-hero p,
.section-desc { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.68; }

.badge,
.services-hero-badge {
  display: inline-block;
  background: rgba(203, 163, 94, .14);
  border: 1px solid rgba(203, 163, 94, .4);
  color: var(--gold-2);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-visual {
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d3ccbf;
  box-shadow: 0 20px 35px rgba(0,0,0,.3);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.section-title,
.card h3,
.services-hero h1,
.services-cta h2,
.cta-title {
  font-family: "Cormorant Garamond", serif;
  color: #1b2742;
}
.section-title { margin: 6px 0 10px; font-size: clamp(44px, 4.2vw, 68px); line-height: 1; }
.card h3 { margin: 0 0 8px; font-size: clamp(30px, 2.4vw, 44px); }
.services-hero h1 { margin: 8px 0 10px; font-size: clamp(46px, 4.2vw, 72px); line-height: .97; }
.services-cta h2 { margin: 0 0 10px; font-size: clamp(40px, 3.2vw, 54px); line-height: 1; }
.cta-title { margin: 0 0 10px; font-size: clamp(42px, 3.4vw, 58px); }

.actions-row { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 20px; }
.c8 { grid-column: span 8; }
.c6 { grid-column: span 6; }
.c4 { grid-column: span 4; }

.card {
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #486493;
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
}

.stat-card {
  background: linear-gradient(145deg, #21406f, #162a48);
  border-color: #44608f;
}
.stat-card h3,
.stat-card p { color: #edf3ff; }

.service-list-grid,
.steps-grid,
.team-grid,
.faq-grid {
  display: grid;
  gap: 12px;
}
.service-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-mini,
.step-card,
.team-card,
.faq-item {
  border: 1px solid #d4cdbf;
  border-radius: 12px;
  background: #fffdfa;
}
.service-mini {
  padding: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: block;
}
.service-mini::after {
  content: "";
  position: absolute;
  inset: auto -30% -80% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203,163,94,.24), transparent 65%);
}
.service-mini-image {
  height: 148px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #dfd7c8;
  position: relative;
  z-index: 1;
}
.service-mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.service-mini:hover .service-mini-image img { transform: scale(1.04); }
.service-mini-title { color: #1f2b45; font-weight: 700; margin-bottom: 5px; position: relative; z-index: 1; }
.service-mini-desc { position: relative; z-index: 1; line-height: 1.55; }
.services-more {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.step-card { padding: 13px; }
.step-no { color: #8ea3c8; font-weight: 700; margin-bottom: 8px; }
.step-card h4 { margin: 0 0 6px; font-size: 19px; color: #1f2d4a; }
.team-card { overflow: hidden; }
.team-card img { width: 100%; height: 180px; object-fit: cover; }
.team-card h4 { margin: 10px 12px 4px; color: #1f2d49; }
.faq-item { padding: 13px; }
.faq-item h4 { margin: 0 0 6px; font-size: 18px; color: #1f2d48; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-card {
  background: #fffdf9;
  border: 1px solid #d4ccbe;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.svc-card-image {
  width: 100%;
  height: 170px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd6c9;
  margin-bottom: 12px;
}
.svc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.svc-card:hover .svc-card-image img { transform: scale(1.04); }
.svc-card h3 { margin: 0 0 8px; font-size: clamp(29px, 2vw, 38px); color: #1f2d48; }
.svc-card p { margin: 0; color: #5f6b82; line-height: 1.58; font-size: 15px; }
.svc-link {
  display: inline-flex;
  margin-top: 12px;
  color: #1f3f74;
  text-decoration: none;
  font-weight: 700;
}
.svc-link:hover { text-decoration: underline; }

.services-cta,
.cta { margin-top: 24px; }
.services-cta-inner,
.cta-box {
  background: #fffdfa;
  border: 1px solid #d8d0c2;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.detail-list { margin-top: 12px; display: grid; gap: 8px; }
.detail-list a {
  text-decoration: none;
  color: #dbe7ff;
  border: 1px solid #334563;
  border-radius: 10px;
  padding: 10px 12px;
  background: #17233a;
}
.detail-list a:hover { background: #1b2a45; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 8px; font-weight: 700; color: #dce6fb; }
input, textarea, select {
  width: 100%;
  border: 1px solid #c8c0b2;
  border-radius: 10px;
  padding: 13px;
  background: #fffdf9;
  color: #1f2d49;
  font-size: 15px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #5d7cb2;
  box-shadow: 0 0 0 3px rgba(95, 130, 197, .18);
}
textarea { min-height: 140px; resize: vertical; }

.footer {
  margin-top: 36px;
  background: #ece8df;
  border-top: 1px solid #d6cebe;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  min-width: 132px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  border: 1px solid transparent;
}
.float-call {
  background: linear-gradient(145deg, #1d4b8f, #163b72);
}
.float-wa {
  background: linear-gradient(145deg, #22b35a, #179248);
}
.float-btn:hover { transform: translateY(-1px); }
.footer-inner {
  min-height: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 20px 0 8px;
}
.footer-col { flex: 1 1 240px; min-width: 220px; }
.footer-brand { color: #1f2d49; font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.footer-title { color: #1f2d49; font-weight: 700; margin-bottom: 8px; }
.footer-text { margin: 0; color: #5f6f8c; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a,
.footer-links span { color: #5f6f8c; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #1e3f73; }
.footer-bottom {
  border-top: 1px solid #d6cebe;
  padding: 12px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy { color: #71809c; font-size: 12px; }
.footer-credit { color: #5f6f8c; font-size: 13px; }
.footer-credit a { color: #1e3f73; font-weight: 700; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Team page */
.team-grid-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.expert-card {
  border: 1px solid #d4ccbe;
  border-radius: 14px;
  background: #fffdf9;
  overflow: hidden;
}
.expert-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.expert-body { padding: 14px; }
.expert-body h3 { margin: 0 0 6px; color: #1f2d48; font-size: 24px; }
.expert-title { margin: 0 0 10px; color: #5e6b82; }
.expert-ig {
  display: inline-flex;
  text-decoration: none;
  color: #1b4ba0;
  font-weight: 700;
  margin-bottom: 12px;
}
.open-expert-modal { width: 100%; }

.expert-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.expert-modal.open { display: block; }
.expert-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 21, 36, .56);
}
.expert-modal-content {
  position: relative;
  width: min(1040px, calc(100% - 38px));
  margin: 58px auto 0;
  background: #fffefb;
  border-radius: 18px;
  border: 1px solid #d6cebf;
  padding: 24px;
  box-shadow: 0 24px 55px rgba(0,0,0,.28);
}
.expert-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d4ccbe;
  background: #fff;
  color: #1c2b47;
  font-size: 24px;
  cursor: pointer;
}
.expert-modal-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
}
.expert-modal-card {
  border: 1px solid #ddd4c6;
  border-radius: 14px;
  padding: 14px;
  background: #fffdfa;
}
.expert-modal-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
}
.expert-modal-card h3 { margin: 12px 0 6px; color: #1f2d48; font-size: 30px; }
.expert-modal-card p { margin: 0 0 10px; color: #5f6d85; }
.expert-modal-text {
  border: 1px solid #ddd4c6;
  border-radius: 14px;
  padding: 18px;
  background: #fdfaf4;
}
.expert-modal-text h4 { margin: 0 0 10px; color: #1f2d48; font-size: 24px; }
.expert-modal-text p { margin: 0; color: #5d6b82; line-height: 1.75; }

/* Certificates */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cert-card {
  border: 1px solid #d4ccbe;
  border-radius: 14px;
  padding: 20px;
  background: linear-gradient(160deg, #fffdf8, #f3ecdf);
}
.cert-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #8d6b33;
  border: 1px solid #cfbf9f;
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 10px;
}
.cert-card h3 { margin: 0 0 8px; color: #1f2d48; font-size: 28px; }
.cert-card p { margin: 0; color: #5d6b82; }

/* Rooms */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.room-card {
  border: 1px solid #d4ccbe;
  border-radius: 14px;
  background: #fffdfa;
  overflow: hidden;
}
.room-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.room-gallery-btn {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
}
.room-gallery-btn img {
  transition: transform .32s ease;
}
.room-gallery-btn:hover img { transform: scale(1.03); }
.room-body { padding: 14px; }
.room-body h3 { margin: 0 0 8px; color: #1f2d48; font-size: 27px; }
.room-body p { margin: 0; color: #5f6b82; }

.room-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
}
.room-gallery-modal.open { display: block; }
.room-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 38, .62);
}
.room-gallery-content {
  position: relative;
  width: min(980px, calc(100% - 34px));
  margin: 42px auto 0;
  background: #fffefb;
  border-radius: 16px;
  border: 1px solid #d8d1c4;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.room-gallery-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d6cebf;
  background: #fff;
  font-size: 22px;
  color: #1d2a46;
  cursor: pointer;
}
.room-gallery-content h4 {
  margin: 4px 0 10px;
  color: #1f2d48;
  font-size: 24px;
}
.room-gallery-main {
  border: 1px solid #ddd6c9;
  border-radius: 12px;
  overflow: hidden;
}
.room-gallery-main img {
  width: 100%;
  max-height: 66vh;
  object-fit: cover;
  display: block;
}
.room-gallery-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.room-gallery-thumbs button {
  border: 1px solid #d7cfc2;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.room-gallery-thumbs button.active {
  border-color: #5e7db6;
  box-shadow: 0 0 0 2px rgba(94,125,182,.2);
}
.room-gallery-thumbs img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
}

@keyframes menuIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@media (max-width: 1200px) {
  .brand img { height: 84px; }
  .nav-links { gap: 12px; }
  .nav-links > a,
  .mega-btn { font-size: 12px; letter-spacing: .06em; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid-page,
  .cert-grid,
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .expert-modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .top-strip-inner { min-height: 40px; font-size: 13px; }
  .nav { min-height: 88px; }
  .brand img { height: 88px; }
  .nav-links,
  .head-actions { display: none; }
  .mobile-toggle { display: inline-block; }
}

@media (max-width: 920px) {
  .c8, .c6, .c4,
  .svc-card { grid-column: span 12; }
  .services-grid { grid-template-columns: 1fr; }
  .service-list-grid,
  .steps-grid,
  .team-grid,
  .team-grid-page,
  .cert-grid,
  .rooms-grid,
  .faq-grid,
  .form-grid { grid-template-columns: 1fr; }
  .services-cta-inner,
  .cta-box { flex-direction: column; align-items: flex-start; }
  .hero,
  .services-hero { padding: 24px; }
  .section-title { font-size: clamp(34px, 8.2vw, 52px); }
  .floating-actions { right: 10px; bottom: 14px; }
  .float-btn { min-width: 118px; padding: 10px 12px; font-size: 14px; }
}
