/* ===========================================================
   Dr. Fahad — Dental Studio, Islamabad
   Design system
   =========================================================== */

:root {
  --navy-900: #060f24;
  --navy-800: #0a1834;
  --navy-700: #10254c;
  --navy-600: #1a3a72;
  --navy-500: #2b5299;
  --ink: #05070c;
  --icy: #f3f7fc;
  --icy-2: #e7eef7;
  --icy-3: #d7e3f0;
  --mist: #b9c9dc;
  --steel: #7d8fa6;
  --gold: #b9a27a;

  --grad-page: radial-gradient(1200px 700px at 12% -10%, #ffffff 0%, #eef4fb 38%, #e3ecf6 70%, #dde8f4 100%);
  --grad-navy: linear-gradient(155deg, var(--navy-800) 0%, var(--navy-700) 45%, #143063 100%);
  --grad-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(231, 240, 249, 0.55) 100%);
  --grad-ice: linear-gradient(135deg, #f7fafd 0%, #e6eef8 55%, #dbe7f4 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(26, 58, 114, 0.35), transparent);

  --glass: rgba(255, 255, 255, 0.55);
  --glass-brd: rgba(255, 255, 255, 0.7);
  --glass-dark: rgba(10, 24, 52, 0.42);

  --sh-neu: 8px 8px 20px rgba(24, 45, 82, 0.14), -8px -8px 22px rgba(255, 255, 255, 0.9);
  --sh-neu-in: inset 6px 6px 14px rgba(24, 45, 82, 0.13), inset -6px -6px 14px rgba(255, 255, 255, 0.92);
  --sh-lift: 0 26px 60px -28px rgba(6, 15, 36, 0.45);

  --f-display: "Andada Pro", Georgia, serif;
  --f-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gut: clamp(20px, 5vw, 84px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--grad-page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; height: 100vh; }

h1, h2, h3, h4, blockquote {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--navy-900);
}

p { margin: 0; color: #3d4a5d; line-height: 1.72; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.wrap { width: min(1240px, 100% - (var(--gut) * 2)); margin-inline: auto; }

section { position: relative; padding: clamp(72px, 9vw, 132px) 0; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--navy-600);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--navy-600);
  opacity: 0.55;
}

.h-xl { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.03; }
.h-lg { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.1; }
.h-md { font-size: clamp(21px, 2vw, 27px); line-height: 1.25; }

.lede { font-size: clamp(15px, 1.15vw, 17.5px); max-width: 62ch; }

.sec-head { display: grid; gap: 18px; margin-bottom: clamp(38px, 5vw, 66px); }
.sec-head.center { justify-items: center; text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
  --bg: var(--navy-800);
  --fg: var(--icy);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--navy-500), #3a6bbd);
  transform: translateY(102%);
  transition: transform 0.55s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.btn:hover::after { transform: translateY(0); }
.btn .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.75; }

.btn.ghost {
  --bg: transparent;
  --fg: var(--navy-800);
  border-color: rgba(16, 37, 76, 0.22);
  backdrop-filter: blur(8px);
}
.btn.ghost:hover { color: var(--icy); }

/* ---------------- Preloader ---------------- */
#preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--grad-navy);
  transition: opacity 0.6s ease, visibility 0.6s;
}
#preloader.done { opacity: 0; visibility: hidden; }

.rings { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
}
.ring.outer {
  border-top-color: var(--icy);
  border-right-color: rgba(243, 247, 252, 0.25);
  animation: spin 1.5s linear infinite;
}
.ring.inner {
  inset: 26px;
  border-bottom-color: var(--gold);
  border-left-color: rgba(185, 162, 122, 0.2);
  animation: spin 1.05s linear infinite reverse;
}
.ring.orbit { inset: 13px; border: 1px dashed rgba(243, 247, 252, 0.16); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pl-core { text-align: center; color: var(--icy); }
.pl-core .mono {
  font-family: var(--f-display);
  font-size: 22px; letter-spacing: 0.04em;
}
.pl-core .pct { font-size: 11px; letter-spacing: 0.4em; opacity: 0.6; margin-top: 6px; }

/* ---------------- Page curtain (book page turn) ---------------- */
#curtain { position: fixed; inset: 0; z-index: 900; pointer-events: none; perspective: 2200px; }
#curtain .leaf {
  position: absolute; inset: 0;
  transform-origin: left center;
  background: var(--grad-navy);
  transform: rotateY(-100deg);
  opacity: 0;
  box-shadow: 40px 0 90px rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
#curtain .leaf::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 32%, rgba(0, 0, 0, 0.35));
}
#curtain.turn .leaf {
  opacity: 1;
  animation: pageTurn 1.15s var(--ease) forwards;
}
@keyframes pageTurn {
  0%   { transform: rotateY(-100deg); }
  42%  { transform: rotateY(0deg); }
  58%  { transform: rotateY(0deg); }
  100% { transform: rotateY(100deg); opacity: 0; }
}

/* ---------------- Header ---------------- */
#head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0;
  transition: padding 0.6s var(--ease);
}
#head.stuck { padding: 14px clamp(14px, 3vw, 40px); }

.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px;
  padding: 20px clamp(20px, 5vw, 84px);
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.6s var(--ease);
}
#head.stuck .head-in {
  padding: 12px 14px 12px 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--glass-brd);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 20px 44px -26px rgba(6, 15, 36, 0.45);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--grad-navy);
  display: grid; place-items: center;
  color: var(--icy);
  font-family: var(--f-display);
  font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.6s var(--ease);
}
.logo:hover .mark { transform: rotate(-8deg) scale(1.06); }
.logo .txt { line-height: 1.05; }
.logo .txt b { font-family: var(--f-display); font-size: 18px; font-weight: 600; display: block; }
.logo .txt span { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--steel); }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  position: relative;
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: #22324a;
  border-radius: 11px;
  transition: color 0.35s var(--ease), box-shadow 0.45s var(--ease), background 0.35s;
}
.nav a::before {
  content: "";
  position: absolute; left: 15px; right: 15px; bottom: 5px;
  height: 1px; background: var(--navy-600);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { color: var(--navy-800); background: rgba(255, 255, 255, 0.6); box-shadow: var(--sh-neu-in); }
.nav a:hover::before { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; border-radius: 13px; border: 1px solid rgba(16,37,76,.15); background: rgba(255,255,255,.6); cursor: pointer; }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--navy-800); margin: 4px auto; transition: 0.4s var(--ease); }

/* ---------------- 1. Hero ---------------- */
.hero { padding-top: clamp(130px, 16vw, 190px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 480px at 78% 18%, rgba(43, 82, 153, 0.14), transparent 62%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.hero .tagline { display: grid; gap: 24px; }
.hero h1 em { font-style: italic; color: var(--navy-600); }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.hero-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div b { font-family: var(--f-display); font-size: 30px; display: block; color: var(--navy-800); }
.hero-stats div span { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); }

.hero-visual { position: relative; }
.hero-frame {
  border-radius: 190px 190px 26px 26px;
  overflow: hidden;
  box-shadow: var(--sh-lift);
  transform: translateZ(0);
}
.hero-frame img { width: 100%; height: clamp(420px, 56vw, 620px); object-fit: cover; transition: transform 1.4s var(--ease); }
.hero-frame:hover img { transform: scale(1.06); }

.float-card {
  position: absolute;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 18px 40px -22px rgba(6, 15, 36, 0.5);
  animation: bob 6s ease-in-out infinite;
}
.float-card.a { left: -6%; bottom: 16%; }
.float-card.b { right: -4%; top: 12%; animation-delay: -3s; }
.float-card small { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); }
.float-card b { font-family: var(--f-display); font-size: 17px; display: block; margin-top: 4px; color: var(--navy-800); }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* ---------------- Marquee / trust ---------------- */
.marquee { padding: 26px 0; border-block: 1px solid rgba(16, 37, 76, 0.09); overflow: hidden; background: rgba(255,255,255,.4); }
.marquee-track { display: flex; gap: 68px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-size: clamp(16px, 1.6vw, 22px); color: rgba(16, 37, 76, 0.42); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------- Panels ---------------- */
.panel {
  border-radius: 30px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 24px 60px -34px rgba(6, 15, 36, 0.4);
}

.tint-ice { background: var(--grad-ice); }
.tint-navy { background: var(--grad-navy); }
.tint-navy h2, .tint-navy h3, .tint-navy .eyebrow { color: var(--icy); }
.tint-navy .eyebrow::before { background: var(--gold); }
.tint-navy p { color: rgba(233, 240, 249, 0.72); }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-media { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--sh-lift); }
.about-media img { width: 100%; height: 540px; object-fit: cover; filter: saturate(0.95); }
.sig { font-family: var(--f-display); font-style: italic; font-size: 26px; color: var(--navy-700); margin-top: 26px; }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.cred {
  padding: 18px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.cred:hover { box-shadow: var(--sh-neu); transform: translateY(-4px); }
.cred b { display: block; font-family: var(--f-display); color: var(--navy-800); font-size: 15px; }
.cred span { font-size: 12.5px; color: var(--steel); }

/* ---------------- 3D flip cards ---------------- */
.flip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.flip { perspective: 1400px; height: 340px; }
.flip-in {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
}
.flip:hover .flip-in { transform: rotateY(180deg) translateZ(0); }
.flip-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
}
.flip-front {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-neu);
}
.flip-front .num {
  position: absolute; top: 22px; left: 26px;
  font-family: var(--f-display); font-size: 13px; color: var(--steel); letter-spacing: 0.2em;
}
.flip-front .ico {
  position: absolute; top: 56px; left: 26px;
  width: 54px; height: 54px; border-radius: 17px;
  background: var(--grad-ice);
  box-shadow: var(--sh-neu);
  display: grid; place-items: center;
}
.flip-front .ico svg { width: 24px; height: 24px; stroke: var(--navy-700); fill: none; stroke-width: 1.4; }
.flip-front h3 { font-size: 21px; }
.flip-front p { font-size: 13.5px; margin-top: 8px; }
.flip-back { transform: rotateY(180deg); }
.flip-back img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flip-back .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 15, 36, 0.15), rgba(6, 15, 36, 0.88)); }
.flip-back .txt { position: relative; color: var(--icy); }
.flip-back h3 { color: var(--icy); font-size: 20px; }
.flip-back p { color: rgba(233, 240, 249, 0.8); font-size: 13.5px; margin-top: 8px; }
.flip-back .price { margin-top: 14px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ---------------- 3D spinner (rotating carousel) ---------------- */
.stage { perspective: 1500px; height: 400px; display: grid; place-items: center; }
.spinner { position: relative; width: 240px; height: 320px; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.spin-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  margin: 0;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px -30px rgba(6, 15, 36, 0.7);
  background: #0a1834;
}
.spin-face img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.spin-face figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px; color: var(--icy);
  background: linear-gradient(transparent, rgba(6, 15, 36, 0.9));
  font-family: var(--f-display); font-size: 17px;
}
.spin-ctrl { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }
.rnd {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(16, 37, 76, 0.14);
  background: var(--grad-ice);
  box-shadow: var(--sh-neu);
  cursor: pointer; display: grid; place-items: center;
  transition: 0.45s var(--ease);
  color: var(--navy-800);
}
.rnd:hover { box-shadow: var(--sh-neu-in); transform: scale(0.95); }

/* ---------------- Before / After ---------------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.ba {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4 / 3; cursor: ew-resize;
  box-shadow: var(--sh-lift);
  border: 1px solid rgba(255, 255, 255, 0.5);
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba .after-wrap img { width: 100%; height: 100%; }
.ba .handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: rgba(255, 255, 255, 0.9);
  transform: translateX(-1px); pointer-events: none;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.6);
}
.ba .knob {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: grid; place-items: center;
  color: var(--navy-800); font-size: 13px;
}
.ba .tag {
  position: absolute; top: 16px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  background: rgba(6, 15, 36, 0.55); color: var(--icy);
  backdrop-filter: blur(8px);
}
.ba .tag.l { left: 16px; }
.ba .tag.r { right: 16px; }

/* ---------------- Quote (fixed blurred bg + typewriter) ---------------- */
.quote-sec { overflow: hidden; }
.quote-bg {
  position: absolute; inset: 0;
  background-image: url("./img/room.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(9px) saturate(0.7);
  transform: scale(1.1);
}
.quote-sec::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 15, 36, 0.86), rgba(10, 24, 52, 0.78));
}
.quote-in { position: relative; z-index: 2; text-align: center; }
.quote-in blockquote {
  display: flex; align-items: center; justify-content: center;
  color: var(--icy);
  font-size: clamp(24px, 3.4vw, 46px);
  line-height: 1.35;
  font-style: italic;
  min-height: 3.6em;
}
.tw-caret { display: inline-block; width: 2px; height: 0.95em; background: var(--gold); translate: 0 0.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.quote-in .who { margin-top: 26px; color: var(--gold); letter-spacing: 0.28em; text-transform: uppercase; font-size: 11px; }

/* ---------------- Process ---------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step {
  padding: 30px 26px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.step::before {
  content: ""; position: absolute; inset: auto -40% -70% -40%; height: 140%;
  background: radial-gradient(circle at 50% 100%, rgba(43, 82, 153, 0.18), transparent 65%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--sh-neu); }
.step:hover::before { opacity: 1; }
.step b { font-family: var(--f-display); font-size: 40px; color: rgba(16, 37, 76, 0.16); display: block; }
.step h3 { font-size: 18px; margin: 8px 0 8px; }
.step p { font-size: 13.5px; }

/* ---------------- Tech list ---------------- */
.tech-row {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 26px; align-items: center;
  padding: 26px 30px; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.55s var(--ease);
}
.tech-row + .tech-row { margin-top: 12px; }
.tech-row:hover { background: rgba(255, 255, 255, 0.07); transform: translateX(10px); }
.tech-row .idx { font-family: var(--f-display); color: var(--gold); font-size: 14px; letter-spacing: 0.2em; }
.tech-row h3 { font-size: clamp(19px, 2.1vw, 27px); }
.tech-row .meta { color: rgba(233, 240, 249, 0.55); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------------- Gallery mosaic ---------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: 20px; box-shadow: var(--sh-lift); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.8s; }
.tile::after {
  content: attr(data-label);
  position: absolute; left: 18px; bottom: 16px;
  color: var(--icy); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0; transform: translateY(12px); transition: 0.6s var(--ease);
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.tile:hover img { transform: scale(1.09); filter: saturate(1.1); }
.tile:hover::after { opacity: 1; transform: none; }
.tile.w2 { grid-column: span 2; }
.tile.h2 { grid-row: span 2; }

/* ---------------- Testimonials ---------------- */
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.t-card {
  padding: 32px 30px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  transition: 0.6s var(--ease);
}
.t-card:hover { box-shadow: var(--sh-neu); transform: translateY(-6px) rotate(-0.4deg); }
.t-card .q { font-family: var(--f-display); font-size: 44px; color: rgba(16, 37, 76, 0.14); line-height: 0.7; }
.t-card p { margin-top: 14px; font-size: 14.5px; }
.t-who { display: flex; gap: 12px; align-items: center; margin-top: 22px; }
.t-who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.t-who b { font-family: var(--f-display); font-size: 14.5px; color: var(--navy-800); }
.t-who span { display: block; font-size: 11.5px; color: var(--steel); }

/* ---------------- Pricing ---------------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  padding: 34px 30px; border-radius: 26px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 16px;
  transition: 0.6s var(--ease);
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--sh-lift); }
.plan.feat { background: var(--grad-navy); border-color: rgba(255,255,255,.14); }
.plan.feat h3, .plan.feat .amt { color: var(--icy); }
.plan.feat li { color: rgba(233, 240, 249, 0.72); border-color: rgba(255,255,255,.1); }
.plan .amt { font-family: var(--f-display); font-size: 38px; color: var(--navy-800); }
.plan .amt small { font-size: 13px; color: var(--steel); font-family: var(--f-body); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { font-size: 13.5px; color: #3d4a5d; padding-bottom: 10px; border-bottom: 1px solid rgba(16,37,76,.08); }

/* ---------------- Team ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.member { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.8s; filter: grayscale(0.6); }
.member:hover img { transform: scale(1.07); filter: none; }
.member .info {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(16px);
  transform: translateY(6px); opacity: 0.92;
  transition: 0.6s var(--ease);
}
.member:hover .info { transform: none; opacity: 1; }
.member b { font-family: var(--f-display); font-size: 16px; color: var(--navy-800); }
.member span { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); margin-top: 2px; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.qa {
  border-radius: 18px; overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-brd);
  transition: box-shadow 0.5s var(--ease);
}
.qa:hover { box-shadow: var(--sh-neu); }
.qa button {
  width: 100%; text-align: left; cursor: pointer;
  padding: 22px 26px; border: 0; background: transparent;
  font-family: var(--f-display); font-size: 17px; color: var(--navy-800);
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.qa button i { font-style: normal; font-size: 20px; color: var(--steel); transition: transform 0.5s var(--ease); }
.qa.open button i { transform: rotate(45deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.qa .ans p { padding: 0 26px 24px; font-size: 14px; }

/* ---------------- Visit / map ---------------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hours { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.hours li { display: flex; justify-content: space-between; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(233,240,249,.75); }
.hours li b { color: var(--icy); font-weight: 600; }
.map-card { border-radius: 26px; overflow: hidden; position: relative; min-height: 360px; box-shadow: var(--sh-lift); }
.map-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.map-pin {
  position: absolute; left: 50%; top: 46%; translate: -50% -50%;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.8);
  font-size: 13px; color: var(--navy-800); font-weight: 600;
  box-shadow: 0 16px 40px -20px rgba(6,15,36,.6);
}

/* ---------------- Booking ---------------- */
.book-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
form.book { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.book .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 17px 18px; border-radius: 16px;
  border: 1px solid rgba(16,37,76,.1);
  background: rgba(255,255,255,.7);
  font-family: var(--f-body); font-size: 14px; color: var(--ink);
  box-shadow: var(--sh-neu-in);
  transition: 0.45s var(--ease);
  outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: var(--sh-neu); border-color: rgba(43,82,153,.4); background: #fff;
}
.form-note { font-size: 12px; color: var(--steel); }

/* ---------------- Footer ---------------- */
footer { padding: clamp(60px, 7vw, 96px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot-grid h4 { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-family: var(--f-body); }
.foot-grid a, .foot-grid li { color: rgba(233,240,249,.62); font-size: 13.5px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { transition: 0.35s var(--ease); }
.foot-grid a:hover { color: var(--icy); padding-left: 6px; }
.foot-bot { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(233,240,249,.45); }

/* ---------------- Scroll reveal ---------------- */
[data-rv] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-rv].in { opacity: 1; transform: none; }
[data-rv-d="1"] { transition-delay: 0.08s; }
[data-rv-d="2"] { transition-delay: 0.16s; }
[data-rv-d="3"] { transition-delay: 0.24s; }
[data-rv-d="4"] { transition-delay: 0.32s; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--navy-600), var(--gold)); z-index: 600; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .book-grid, .visit-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .burger { display: block; }
  .quote-bg { background-attachment: scroll; }
}
@media (max-width: 620px) {
  .creds, form.book { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .float-card.a, .float-card.b { position: static; margin-top: 14px; display: inline-block; }
  .hero-frame { border-radius: 120px 120px 22px 22px; }
}
