/* =============================================
   허준원 M.D. 피부과의원 — Master Stylesheet
   ============================================= */

/* ----- CSS Custom Properties ----- */
:root {
  --color-navy:        #1a1f36;
  --color-navy-light:  #2c3352;
  --color-navy-dark:   #0f1224;
  --color-beige:       #f5f0eb;
  --color-beige-dark:  #e8dfd6;
  --color-gold:        #c9a96e;
  --color-gold-light:  #ddc08a;
  --color-gold-dark:   #b08f52;
  --color-white:       #fafaf8;
  --color-white-pure:  #ffffff;
  --color-sage:        #7d8f7d;
  --color-sage-light:  #a3b3a3;

  --color-bg:          var(--color-white);
  --color-bg-alt:      var(--color-beige);
  --color-surface:     var(--color-white-pure);
  --color-text:        var(--color-navy);
  --color-text-muted:  #5a6072;
  --color-text-light:  #8a8fa0;
  --color-accent:      var(--color-gold);
  --color-border:      rgba(26, 31, 54, 0.08);
  --color-overlay:     rgba(26, 31, 54, 0.55);

  --font-body:    'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-jp:      'Noto Sans JP', var(--font-body);
  --font-cn:      'Noto Sans SC', var(--font-body);

  --fs-xs:   clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm:   clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --fs-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --fs-md:   clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --fs-lg:   clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  --fs-xl:   clamp(1.8rem, 1.5rem + 1.2vw, 2.6rem);
  --fs-2xl:  clamp(2.2rem, 1.8rem + 1.8vw, 3.4rem);
  --fs-3xl:  clamp(2.8rem, 2.2rem + 2.4vw, 4.4rem);
  --fs-hero: clamp(3rem, 2rem + 4vw, 6rem);

  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-section: clamp(5rem, 8vw, 10rem);

  --max-width:   1280px;
  --header-h:    80px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(26,31,54,0.04), 0 1px 2px rgba(26,31,54,0.06);
  --shadow-md:   0 4px 16px rgba(26,31,54,0.06), 0 2px 6px rgba(26,31,54,0.04);
  --shadow-lg:   0 12px 40px rgba(26,31,54,0.08), 0 4px 12px rgba(26,31,54,0.04);
  --shadow-xl:   0 24px 60px rgba(26,31,54,0.12);
  --shadow-gold: 0 8px 30px rgba(201,169,110,0.25);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-smooth:   cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration:      0.4s;
}

/* Language-specific fonts */
[data-lang="ja"] { --font-body: var(--font-jp); }
[data-lang="zh"] { --font-body: var(--font-cn); }

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease-smooth); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection {
  background: var(--color-gold);
  color: var(--color-white-pure);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-beige); }
::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: var(--radius-full); }

/* ----- Preloader ----- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

/* ----- Custom Cursor ----- */
.custom-cursor,
.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

.custom-cursor {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: translate(-50%, -50%);
}

.custom-cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-gold);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.custom-cursor-follower.hover {
  width: 60px;
  height: 60px;
  border-color: rgba(201,169,110,0.4);
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor, .custom-cursor-follower { display: block; }
  * { cursor: none !important; }
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.container-sm { max-width: 800px; }

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  height: var(--header-h);
  transition: all var(--duration) var(--ease-smooth);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 248, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-smooth);
}

.header.scrolled::before { opacity: 1; }
.header.scrolled { height: 64px; }

.header.hidden { transform: translateY(-100%); }

/* Mobile: smaller header, always show background */
@media (max-width: 1023px) {
  .header { height: 60px; }
  .header::before { opacity: 1; }
  .header.scrolled { height: 56px; }
}

/* Transparent header on hero pages: white text when not scrolled (PC only) */
@media (min-width: 1024px) {
  .header:not(.scrolled) .logo img { filter: brightness(0) invert(1); }
  .header:not(.scrolled) .nav-link { color: var(--color-white-pure); }
  .header:not(.scrolled) .nav-link:hover { color: var(--color-gold); }
  .header:not(.scrolled) .hamburger span { background: var(--color-white-pure); }
  .header:not(.scrolled) .lang-btn { color: var(--color-white-pure); border-color: rgba(255,255,255,0.3); }
  .header:not(.scrolled) .lang-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }
}
.header.scrolled .nav-link { color: var(--color-text); }
.header.scrolled .hamburger span { background: var(--color-text); }

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* Logo */
.logo {
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  transition: height var(--duration);
}

.header.scrolled .logo img { height: 32px; }

@media (max-width: 1023px) {
  .header-inner { padding: 0 16px; }
  .header-right { gap: 0.5rem; }
  .logo img { height: 28px; }
  .header.scrolled .logo img { height: 24px; }
  .hamburger { width: 24px; }
  .lang-btn { padding: 0.3rem 0.6rem; font-size: 0.7rem; }
}

/* Main Nav */
.main-nav { display: none; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.nav-link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  color: var(--color-text);
  transition: color var(--duration);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--duration) var(--ease-out-expo);
}

.nav-link:hover { color: var(--color-gold); }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: var(--color-gold); }
.nav-link.is-active::after { width: 100%; }

/* Simple Dropdown (hover) */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: var(--sp-xs) 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out-expo);
  pointer-events: none;
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown li a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: all 0.2s;
}

.dropdown li a:hover {
  background: var(--color-beige);
  color: var(--color-gold);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

/* Language Selector */
.lang-selector { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.lang-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }

.lang-btn svg { transition: transform 0.3s; }
.lang-selector.open .lang-btn svg { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: var(--sp-xs) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s var(--ease-out-expo);
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: var(--fs-xs);
  transition: all 0.2s;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: var(--color-beige);
  color: var(--color-gold);
}

/* Header CTA (legacy - removed, using nav-link--cta instead) */

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s var(--ease-out-expo);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Fullscreen Overlay Menu ----- */
.overlay-bg {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.overlay-bg.open {
  opacity: 1;
  visibility: visible;
}

.overlay-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1101;
  background: var(--color-navy);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s var(--ease-out-expo);
}

.overlay-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  color: var(--color-white-pure);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.overlay-close:hover { opacity: 1; }

.overlay-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 100px var(--sp-lg) var(--sp-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.overlay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

@media (min-width: 768px) {
  .overlay-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2xl);
  }
}

.overlay-col h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: var(--sp-md);
  letter-spacing: 0.02em;
}

.overlay-col ul { margin: 0; padding: 0; }

.overlay-col ul li {
  margin-bottom: 0.6rem;
}

.overlay-col ul li a {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s, padding-left 0.3s;
}

.overlay-col ul li a:hover {
  color: var(--color-gold);
  padding-left: 6px;
}

/* Overlay bottom info */
.overlay-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-lg);
  text-align: center;
}

.overlay-phone {
  display: inline-block;
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.05em;
}

.overlay-phone:hover { opacity: 0.8; }

.overlay-address {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--sp-md);
  line-height: 1.6;
}

.overlay-lang {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
}

.overlay-lang a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-sm);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.overlay-lang a:hover,
.overlay-lang a.active {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn span { position: relative; z-index: 1; }

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white-pure);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-gold-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
  border-radius: inherit;
}

.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary:hover { box-shadow: var(--shadow-gold); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid var(--color-navy);
  color: var(--color-navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white-pure);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--color-white-pure);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--color-white-pure);
  color: var(--color-navy);
}

.btn-text {
  padding: 0.5rem 0;
  background: none;
  color: var(--color-gold);
  font-weight: 600;
  gap: 0.3rem;
}

.btn-text svg { transition: transform 0.3s var(--ease-out-expo); }
.btn-text:hover svg { transform: translateX(5px); }

.btn-lg { padding: 1.1rem 2.8rem; font-size: var(--fs-base); }
.btn-full { width: 100%; justify-content: center; }

/* ----- Section Common ----- */
.section {
  padding: var(--sp-section) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: var(--sp-sm);
  text-transform: uppercase;
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-navy);
}

/* ----- Hero Section ----- */
.hero-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  width: 100%;
  height: 100%;
}

/* Slide backgrounds */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroKenBurns 12s ease-in-out infinite alternate;
}

.hero-slide-bg--solid {
  background: linear-gradient(135deg, #e8e2da 0%, #d8d0c6 50%, #c8c0b6 100%);
  animation: none;
  transform: none;
}

/* Full-screen picture as slide background */
.hero-slide-bg-picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
}

.hero-slide-bg-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% top;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.1) translate(-0.5%, -0.5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(26, 31, 54, 0.25) 0%,
    rgba(26, 31, 54, 0.45) 50%,
    rgba(26, 31, 54, 0.65) 100%
  );
  pointer-events: none;
}

.hero-overlay--light {
  background: linear-gradient(
    90deg,
    rgba(26, 31, 54, 0.06) 0%,
    rgba(26, 31, 54, 0.02) 50%,
    rgba(26, 31, 54, 0.0) 100%
  );
}

.hero-overlay--doctor {
  background: linear-gradient(
    90deg,
    rgba(26, 31, 54, 0.65) 0%,
    rgba(26, 31, 54, 0.4) 40%,
    rgba(26, 31, 54, 0.05) 70%,
    rgba(26, 31, 54, 0.0) 100%
  );
}

/* Slide inner layout */
.hero-slide-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--header-h) 5% 60px;
  left: 0; right: 0;
}

/* Slide text */
.hero-slide-text {
  max-width: 540px;
  padding-left: 2%;
}

.hero-slide-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin-bottom: var(--sp-sm);
  text-transform: uppercase;
}

.hero-slide--doctor .hero-slide-label {
  color: var(--color-gold-light);
}

.hero-slide-title {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white-pure);
  margin-bottom: var(--sp-sm);
  white-space: pre-line;
  letter-spacing: -0.02em;
}

.hero-slide-eng {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
}

.hero-slide--doctor .hero-slide-eng {
  color: var(--color-gold);
}

.hero-slide-desc {
  font-size: var(--fs-base);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

/* Hero actions */
.hero-actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* Hero Navigation arrows */
.hero-nav {
  position: absolute;
  bottom: 24px;
  right: 5%;
  left: auto;
  transform: none;
  z-index: 6;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero-button-prev,
.hero-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.05);
  transition: all 0.3s var(--ease-out-expo);
}

.hero-button-prev:hover,
.hero-button-next:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white-pure);
}


/* Hero Pagination */
.hero-pagination.swiper-pagination {
  position: absolute !important;
  bottom: 30px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  transform: none !important;
  z-index: 5;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  opacity: 1;
  margin: 0 4px;
  transition: all 0.4s;
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 48px;
  background: var(--color-gold);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 40px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* Slide text animation */
.hero-slider .swiper-slide-active .hero-slide-label,
.hero-slider .swiper-slide-active .hero-slide-title,
.hero-slider .swiper-slide-active .hero-slide-eng,
.hero-slider .swiper-slide-active .hero-slide-desc,
.hero-slider .swiper-slide-active .hero-actions {
  animation: heroTextIn 0.8s var(--ease-out-expo) both;
}
.hero-slider .swiper-slide-active .hero-slide-label { animation-delay: 0.1s; }
.hero-slider .swiper-slide-active .hero-slide-title { animation-delay: 0.2s; }
.hero-slider .swiper-slide-active .hero-slide-eng   { animation-delay: 0.35s; }
.hero-slider .swiper-slide-active .hero-slide-desc  { animation-delay: 0.45s; }
.hero-slider .swiper-slide-active .hero-actions      { animation-delay: 0.55s; }

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
  .hero-section { min-height: 100svh; }

  .hero-slide-inner {
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 80px;
  }

  .hero-slide-text {
    max-width: 100%;
    padding-left: 0;
  }

  .hero-slide-text .hero-actions {
    justify-content: center;
  }

  .hero-slide-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .hero-slide-bg-picture img {
    object-position: 65% center;
  }

  .hero-nav {
    bottom: 16px;
    right: 4%;
  }

  .hero-pagination.swiper-pagination {
    bottom: 22px !important;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* ----- About Section ----- */
.about-section { background: var(--color-bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.about-image-wrapper:hover img { transform: scale(1.05); }

.about-image-accent {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-desc {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: var(--sp-lg);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid var(--color-border);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.feature-icon {
  flex-shrink: 0;
  color: var(--color-gold);
}

.feature-text h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
}

/* ----- Services Section ----- */
.services-section { background: var(--color-bg); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  perspective: 1000px;
}

.service-card-inner {
  position: relative;
  padding: var(--sp-xl) var(--sp-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.service-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.service-card-inner:hover .service-card-bg { opacity: 0.03; }

.service-icon {
  color: var(--color-gold);
  margin-bottom: var(--sp-md);
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card-inner:hover .service-icon { transform: scale(1.1); }

.service-name {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--sp-sm);
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
  position: relative;
  z-index: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-gold);
  position: relative;
  z-index: 1;
  transition: gap 0.3s;
}

.service-link:hover { gap: 0.6rem; }

/* ----- Equipment Section ----- */
.equipment-section { background: var(--color-bg-alt); }

.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .equipment-grid { grid-template-columns: repeat(3, 1fr); }
}

.equipment-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-expo);
}

.equipment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.equipment-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.08);
}

/* ----- Doctor Section ----- */
.doctor-section {
  background: var(--color-bg-alt);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .doctor-grid { grid-template-columns: 1fr 1fr; }
}

.doctor-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.doctor-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}

.doctor-image-frame {
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.doctor-name {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

.doctor-position {
  font-size: var(--fs-md);
  color: var(--color-gold);
  font-weight: 400;
  margin-bottom: var(--sp-lg);
}

.doctor-credentials li {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-base);
  color: var(--color-text-muted);
}

.cred-bullet {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Doctor Summary Stats (index page) */
.doctor-summary-stats {
  display: flex;
  gap: var(--sp-xl);
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
}

@media (max-width: 1023px) {
  .doctor-content { text-align: center; }
  .doctor-summary-stats { justify-content: center; }
  .doctor-content .btn-text { justify-content: center; }
}

.doctor-stat { text-align: center; }

.doctor-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
}

.doctor-stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

/* ----- Hours Section ----- */
.hours-section { background: var(--color-bg); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

@media (min-width: 1024px) {
  .hours-grid { grid-template-columns: 1fr 1fr; }
}

.schedule-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  border: 1px solid var(--color-border);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.schedule-row:last-child { border-bottom: none; }

.schedule-day {
  font-weight: 500;
  font-size: var(--fs-base);
}

.schedule-time {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.schedule-row.highlight {
  background: linear-gradient(90deg, rgba(201,169,110,0.08), transparent);
  margin: 0 calc(-1 * var(--sp-lg));
  padding: 1rem var(--sp-lg);
  border-radius: var(--radius-sm);
}

.schedule-row.highlight .schedule-day { color: var(--color-gold); font-weight: 600; }
.schedule-row.highlight .schedule-time { color: var(--color-gold); }

.schedule-notice {
  margin-top: var(--sp-md);
  padding: var(--sp-sm);
  background: var(--color-beige);
  border-radius: var(--radius-sm);
  text-align: center;
}

.schedule-notice p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-bottom: var(--sp-md);
}

.map-container iframe { width: 100%; height: 100%; }

.address-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.address-icon { color: var(--color-gold); flex-shrink: 0; }

.address-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  white-space: pre-line;
  line-height: 1.6;
}

.address-phone {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-gold);
}

/* ----- CTA Section ----- */
.cta-section {
  position: relative;
  padding: var(--sp-section) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 54, 0.75);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--color-white-pure);
  margin-bottom: var(--sp-md);
}

.cta-desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-xl);
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Page Hero (Subpages) ----- */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-sm { height: 40vh; min-height: 280px; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,31,54,0.4), rgba(26,31,54,0.7));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: var(--header-h);
}

.page-hero-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  letter-spacing: 0.4em;
  color: var(--color-gold);
  margin-bottom: var(--sp-sm);
}

.page-hero-title {
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--color-white-pure);
}

/* ----- About Page (redesigned) ----- */

/* About Intro - alternating image/text */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-intro-grid { grid-template-columns: 1fr 1fr; }
}

.about-intro-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-intro-title {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin: var(--sp-sm) 0 var(--sp-md);
}

.about-intro-desc {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: var(--sp-lg);
}

.about-highlights {
  display: flex;
  gap: var(--sp-xl);
}

.about-highlight-item {
  text-align: center;
}

.highlight-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
}

.highlight-text {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* Philosophy Section - reversed image/text */
.about-philosophy-section {
  background: var(--color-navy);
  color: var(--color-white-pure);
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-philosophy-grid { grid-template-columns: 1fr 1fr; }
}

.about-philosophy-content .section-label {
  color: var(--color-gold);
}

.about-philosophy-content h2 {
  font-size: var(--fs-xl);
  margin: var(--sp-sm) 0 var(--sp-md);
}

.about-philosophy-content p {
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
}

.about-philosophy-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Circle Feature Grid (oganaskin style) */
.about-features-section {
  background: var(--color-beige);
}

.about-circle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .about-circle-grid { grid-template-columns: repeat(4, 1fr); }
}

.about-circle-item {
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-expo);
}

.about-circle-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.about-circle-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.1), rgba(201,169,110,0.05));
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  color: var(--color-gold);
  transition: all 0.4s;
}

.about-circle-item:hover .about-circle-icon {
  background: var(--color-gold);
  color: var(--color-white-pure);
}

.about-circle-item h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

.about-circle-item p {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* About Points Strip */
.about-points-section {
  padding: var(--sp-xl) 0;
}

.about-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .about-points-grid { grid-template-columns: repeat(4, 1fr); }
}

.about-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-sm);
  padding: var(--sp-md);
}

.about-point-icon {
  color: var(--color-gold);
}

.about-point span {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ----- Doctor Page (redesigned) ----- */

/* Doctor Profile */
.doctor-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .doctor-profile-grid { grid-template-columns: 1fr 1fr; }
}

.doctor-portrait {
  position: relative;
}

.doctor-portrait img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
}

.portrait-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}

.doctor-profile-name {
  font-size: var(--fs-2xl);
  font-weight: 600;
  margin: var(--sp-sm) 0 var(--sp-xs);
}

.doctor-profile-eng {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-xs);
}

.doctor-profile-position {
  font-size: var(--fs-lg);
  color: var(--color-gold);
  margin-bottom: var(--sp-lg);
}

.doctor-profile-highlights {
  display: flex;
  gap: var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--color-border);
}

.doctor-highlight { text-align: center; }

.doctor-highlight-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
}

.doctor-highlight-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

/* Credentials Section */
.doctor-credentials-section {
  background: var(--color-beige);
}

/* Credentials Blocks */
.credentials-block {
  max-width: 960px;
  margin: 0 auto var(--sp-xl);
}

.credentials-block:last-child { margin-bottom: 0; }

.credentials-block-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--color-gold);
}

.credentials-block-icon {
  display: flex;
  color: var(--color-gold);
}

.credentials-edu-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .credentials-edu-list { grid-template-columns: repeat(2, 1fr); }
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.7rem var(--sp-sm);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.credential-item:hover {
  padding-left: var(--sp-md);
  background: rgba(255,255,255,0.5);
}

.credential-num {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 300;
  color: var(--color-gold);
  min-width: 28px;
}

.credential-text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Society Tags */
.credentials-society-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.society-tag {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.society-tag:hover {
  background: var(--color-white-pure);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Papers Full Section */
.doctor-papers-full-section {
  background: var(--color-navy);
  color: var(--color-white-pure);
}

.doctor-papers-full-section .section-label {
  color: var(--color-gold);
}

.papers-full-list {
  max-width: 800px;
  margin: 0 auto;
}

.paper-full-item {
  display: flex;
  gap: var(--sp-sm);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.paper-full-item:last-child { border-bottom: none; }

.paper-full-num {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-gold);
  min-width: 24px;
}

.paper-full-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.papers-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--sp-lg);
}

.papers-list {
  list-style: none;
  padding: 0;
}

.papers-list li {
  display: flex;
  gap: var(--sp-sm);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.papers-list li:last-child { border-bottom: none; }

.paper-number {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-gold);
  min-width: 24px;
}

/* ----- Services Full (subpage) ----- */
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

@media (min-width: 768px) {
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-full-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-full-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-expo);
}

.service-full-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-full-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.service-full-card:hover .service-full-image img { transform: scale(1.1); }

.service-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(26,31,54,0.3));
}

.service-full-content {
  padding: var(--sp-lg);
}

.service-number {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

.service-full-content h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: 0.5rem 0 var(--sp-sm);
}

.service-full-content p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

/* ----- Service Detail (subpage) ----- */
.service-detail-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-2xl);
}

.service-detail-desc {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: 1.9;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}

@media (min-width: 768px) {
  .service-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-detail-card {
  padding: var(--sp-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-expo);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.detail-card-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 300;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--sp-sm);
  opacity: 0.5;
}

.service-detail-card h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--sp-sm);
}

.service-detail-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

.service-cta {
  text-align: center;
  padding: var(--sp-xl);
  background: var(--color-beige);
  border-radius: var(--radius-lg);
}

.service-cta h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-lg);
}

.service-cta-actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero subtitle */
.page-hero-subtitle {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: var(--sp-sm) auto 0;
  line-height: 1.7;
}

/* Service Process Steps */
.svc-process-section {
  background: var(--color-beige);
}

.svc-process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.svc-step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: var(--sp-md);
}

.svc-step-num {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 300;
  color: var(--color-gold);
  margin-bottom: var(--sp-sm);
}

.svc-step-content h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

.svc-step-content p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.svc-step-arrow {
  display: flex;
  align-items: center;
  padding-top: var(--sp-xl);
  color: var(--color-gold);
  opacity: 0.4;
}

@media (max-width: 768px) {
  .svc-process-steps { flex-direction: column; align-items: center; }
  .svc-step { max-width: 100%; }
  .svc-step-arrow { transform: rotate(90deg); padding-top: 0; }
}

/* Service Recommend */
.svc-recommend-section {
  background: var(--color-beige);
}

.svc-recommend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .svc-recommend-grid { grid-template-columns: repeat(2, 1fr); }
}

.svc-recommend-card {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}

.svc-recommend-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.svc-recommend-check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-recommend-check svg {
  color: var(--color-white-pure);
  width: 18px;
  height: 18px;
}

.svc-recommend-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* CTA Section */
.svc-cta-section {
  padding-bottom: var(--sp-2xl);
}

/* ----- Hours Detail (subpage) ----- */
.hours-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

@media (min-width: 1024px) {
  .hours-detail-grid { grid-template-columns: 1fr 1.2fr; }
}

.hours-detail-schedule h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-lg);
}

.schedule-detail-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--sp-md);
}

.schedule-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.schedule-detail-row:last-child { border-bottom: none; }

.schedule-detail-row.highlight {
  background: linear-gradient(90deg, rgba(201,169,110,0.08), transparent);
  margin: 0 calc(-1 * var(--sp-lg));
  padding: 1rem var(--sp-lg);
  border-radius: var(--radius-sm);
}

.schedule-detail-row.highlight .schedule-day-col { color: var(--color-gold); font-weight: 600; }
.schedule-detail-row.highlight .schedule-time-col { color: var(--color-gold); }

.schedule-detail-row.closed-row {
  opacity: 0.5;
}
.schedule-detail-row.closed-row .schedule-time-col { color: #c44; }

.schedule-day-col { font-weight: 500; }
.schedule-time-col { font-family: var(--font-heading); font-size: var(--fs-md); color: var(--color-text-muted); }

.schedule-notice-detail {
  padding: var(--sp-sm) var(--sp-md);
  background: var(--color-beige);
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.schedule-notice-detail p { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* Location Info */
.location-info h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--sp-md);
}

.location-address,
.location-phone {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
  color: var(--color-text-muted);
}

.location-address svg,
.location-phone svg { color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }

.location-address p { white-space: pre-line; line-height: 1.6; }
.address-detail { font-size: var(--fs-sm); color: var(--color-gold); margin-top: 4px; }
.location-phone a { color: var(--color-gold); font-weight: 600; font-size: var(--fs-md); }

.map-container-large {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.map-container-large iframe { width: 100%; height: 100%; }

/* ----- Contact Page ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-info h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-lg);
}

.contact-detail-item {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-detail-item svg { color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }
.contact-detail-item h4 { font-size: var(--fs-sm); margin-bottom: 0.3rem; }
.contact-detail-item p { font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.6; white-space: pre-line; }
.contact-detail-item a { color: var(--color-gold); font-weight: 600; }

/* ----- Forms ----- */
.elegant-form {
  background: var(--color-surface);
  padding: var(--sp-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

@media (max-width: 767px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: var(--sp-md);
}

.floating-label {
  position: relative;
}

.floating-label label {
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
  transform-origin: left;
}

.floating-label input,
.floating-label textarea {
  width: 100%;
  padding: 1rem 0 0.5rem;
  border: none;
  border-bottom: 1.5px solid var(--color-border);
  background: transparent;
  font-size: var(--fs-base);
  transition: border-color 0.3s;
  outline: none;
}

.floating-label input:focus,
.floating-label textarea:focus {
  border-bottom-color: var(--color-gold);
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label,
.floating-label label.active {
  top: -0.3rem;
  font-size: var(--fs-xs);
  color: var(--color-gold);
}

/* Placeholder trick for floating labels */
.floating-label input::placeholder,
.floating-label textarea::placeholder {
  color: transparent;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease-out-expo);
}

.floating-label input:focus ~ .form-line,
.floating-label textarea:focus ~ .form-line {
  width: 100%;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
}

.form-check label {
  position: static;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  pointer-events: auto;
}

/* ----- Reservation ----- */
.reservation-wrapper {
  background: var(--color-surface);
  padding: var(--sp-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.reservation-info {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.reservation-info h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-sm);
}

.reservation-info p {
  color: var(--color-text-muted);
}

.reservation-wrapper .elegant-form {
  background: transparent;
  padding: 0;
  border: none;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-2xl) 0 var(--sp-lg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-lg);
}

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-logo {
  height: 35px;
  width: auto;
  margin-bottom: var(--sp-sm);
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-white-pure);
  margin-bottom: var(--sp-md);
  letter-spacing: 0.05em;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}

.footer-links a:hover { color: var(--color-gold); padding-left: 0.3rem; }

.footer-contact p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.5);
  white-space: pre-line;
}

.footer-phone {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-gold) !important;
  margin-bottom: var(--sp-sm) !important;
}

.footer-hours p {
  font-size: var(--fs-xs);
  margin-bottom: 0.2rem;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
}

/* ----- Floating Actions ----- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s var(--ease-out-expo);
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.phone-btn {
  background: var(--color-gold);
  color: var(--color-white-pure);
}

.phone-btn:hover { background: var(--color-gold-dark); }

.chat-btn {
  background: var(--color-navy);
  color: var(--color-white-pure);
}

.chat-btn:hover { background: var(--color-navy-light); }

.top-btn {
  background: var(--color-surface);
  color: var(--color-navy);
  border: 1px solid var(--color-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease-out-expo);
}

.top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-btn:hover {
  background: var(--color-gold);
  color: var(--color-white-pure);
  border-color: var(--color-gold);
}

/* ----- Responsive ----- */
@media (max-width: 767px) {
  .about-features { grid-template-columns: 1fr; }
  .hero-scroll-indicator { display: none; }
  .floating-actions { bottom: 20px; right: 15px; }
  .floating-btn { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 1.5rem + 3vw, 3rem); }
  .hero-subtitle { font-size: var(--fs-sm); }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-highlights { flex-direction: column; gap: var(--sp-md); }
}

/* ----- Accessibility ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print */
@media print {
  .header, .footer, .floating-actions, .hero-scroll-indicator,
  #preloader, .custom-cursor, .custom-cursor-follower { display: none !important; }
  body { color: #000; background: #fff; }
  .hero-section { height: auto; min-height: auto; }
}
