/* ==========================================================================
   SHADOWS OF CREATIVITY - CORE 3D PERSPECTIVE STYLESHEET
   100% SHARP EDGES, ZERO BORDER-RADIUS, BLOCKY LUXURY AESTHETIC
   ========================================================================== */

/* --- Custom Core Variable Properties --- */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0d0d0d;
  --bg-tertiary: #141414;
  --border-color: #262626;
  --text-primary: #f2f2f2;
  --text-secondary: #a3a3a3;
  --accent-color: #ffffff;
  --accent-muted: #404040;
  --shadow-color: rgba(255, 255, 255, 0.05);
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-speed: 0.85s;
  --transition-easing: cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme {
  --bg-primary: #fafafa;
  --bg-secondary: #f0f0f0;
  --bg-tertiary: #e5e5e5;
  --border-color: #d4d4d4;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --accent-color: #000000;
  --accent-muted: #a3a3a3;
  --shadow-color: rgba(0, 0, 0, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  transition: background-color var(--transition-speed) var(--transition-easing),
              color var(--transition-speed) var(--transition-easing);
  position: relative;
}

body.book-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.highlight-text {
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(5, 5, 5, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 1010;
  transition: border-color var(--transition-speed) var(--transition-easing),
              background-color var(--transition-speed) var(--transition-easing);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-box {
  height: 90px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.logo-box img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.nav-btn:hover, .nav-btn.active {
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle::after {
  content: " ▾";
  font-size: 0.75rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  min-width: 240px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1010;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content button:last-child {
  border-bottom: none;
}

.dropdown-content button:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-switch {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-switch:hover {
  border-color: var(--accent-color);
  background-color: var(--bg-secondary);
}

.theme-switch .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-sun, .icon-moon {
  transition: opacity 0.3s ease;
}

body.dark-theme .icon-sun {
  display: block;
}
body.dark-theme .icon-moon {
  display: none;
}
body.light-theme .icon-sun {
  display: none;
}
body.light-theme .icon-moon {
  display: block;
}

.cta-nav-btn {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border: 1px solid var(--accent-color);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.cta-nav-btn:hover {
  background-color: transparent;
  color: var(--text-primary);
}

/* --- SLIDE INDICATORS --- */
.slide-indicator {
  position: fixed;
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1005;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  background-color: transparent;
  border: 2px solid var(--accent-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot:hover, .indicator-dot.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.3);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-color);
}

/* --- 3D SLIDING SYSTEM --- */
.perspective-container {
  width: 100%;
  height: 100%;
  perspective: 1500px;
  overflow: hidden;
  position: relative;
}

.slides-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform var(--transition-speed) var(--transition-easing);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 110px 6% 90px 6%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform var(--transition-speed) var(--transition-easing),
              opacity var(--transition-speed) var(--transition-easing),
              visibility var(--transition-speed) var(--transition-easing);
  backface-visibility: hidden;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) rotateX(0deg);
}

.slide.next {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 100%, -400px) rotateX(45deg);
}

.slide.prev {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -100%, -400px) rotateX(-45deg);
}

/* ==========================================================================
   SLIDE 0: HERO
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  width: 100%;
  height: 100%;
  align-items: center;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text-content h1 {
  font-size: 4.5rem;
  line-height: 0.95;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  width: 100%;
  max-width: 600px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.hero-visual-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* --- Hero 3D Book Card --- */
.book-card-3d {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-card-3d:hover {
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg) translateY(-8px);
}

.book-card-spine {
  position: absolute;
  left: 0;
  top: 4%;
  width: 18px;
  height: 92%;
  background: linear-gradient(180deg, var(--accent-muted) 0%, var(--border-color) 50%, var(--accent-muted) 100%);
  transform: rotateY(90deg) translateZ(-9px);
  transform-origin: left center;
  box-shadow: -4px 0 12px rgba(0,0,0,0.4);
}

.book-card-cover {
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    8px 8px 0px var(--accent-muted),
    16px 16px 0px var(--border-color),
    24px 24px 40px rgba(0,0,0,0.5);
  transition: box-shadow 0.6s ease;
}

.book-card-3d:hover .book-card-cover {
  box-shadow:
    4px 4px 0px var(--accent-muted),
    8px 8px 0px var(--border-color),
    16px 16px 50px rgba(0,0,0,0.6);
}

.book-card-logo {
  width: 70%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
  z-index: 1;
}

.book-card-3d:hover .book-card-logo {
  transform: scale(1.08);
}

.book-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.click-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-muted);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

.book-card-3d:hover .click-hint {
  opacity: 1;
}

/* ==========================================================================
   SLIDES 1-6: SERVICE SPLIT
   ========================================================================== */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  width: 100%;
  height: 100%;
  align-items: center;
}

.category-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.category-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-muted);
  margin-bottom: 0.5rem;
}

.category-info h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.category-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.service-list-scrollable {
  max-height: 400px;
  overflow-y: auto;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-right: 15px;
}

.service-list-scrollable::-webkit-scrollbar {
  width: 6px;
}
.service-list-scrollable::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
.service-list-scrollable::-webkit-scrollbar-thumb {
  background: var(--border-color);
}
.service-list-scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--accent-muted);
}

.service-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.25s ease;
}

.service-list-item:last-child {
  border-bottom: none;
}

.service-list-item h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.service-list-item .arrow-right {
  font-size: 1.2rem;
  color: var(--accent-muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.25s ease;
}

.service-list-item:hover h3, .service-list-item.active h3 {
  color: var(--text-primary);
  font-weight: 600;
  padding-left: 10px;
}

.service-list-item:hover .arrow-right, .service-list-item.active .arrow-right {
  opacity: 1;
  color: var(--accent-color);
  transform: translateX(0);
}

.service-list-item.active {
  background-color: var(--bg-secondary);
  padding-left: 15px;
  padding-right: 15px;
  border-left: 3px solid var(--accent-color);
}

.category-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.visual-3d-card {
  width: 100%;
  max-width: 480px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s ease;
  box-shadow:
    8px 8px 0px var(--accent-muted),
    16px 16px 0px var(--border-color),
    24px 24px 40px rgba(0, 0, 0, 0.5);
}

.visual-3d-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4%;
  width: 14px;
  height: 92%;
  background: linear-gradient(180deg, var(--accent-muted) 0%, var(--border-color) 50%, var(--accent-muted) 100%);
  transform: rotateY(90deg) translateZ(-7px);
  transform-origin: left center;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.visual-3d-card:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-6px);
  box-shadow:
    4px 4px 0px var(--accent-muted),
    8px 8px 0px var(--border-color),
    16px 16px 50px rgba(0, 0, 0, 0.6);
}

.card-image-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  background-color: var(--bg-tertiary);
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.visual-3d-card:hover .card-image-wrapper img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.card-details {
  padding: 2rem;
  background-color: var(--bg-tertiary);
}

.card-details h4 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card-details p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 60px;
}

/* --- Mobile Service Card (hidden on desktop, shown on tablet/mobile) --- */
.category-visual-mobile {
  display: none;
}

/* ==========================================================================
   SLIDE 7: PACKAGES — FITS VIEWPORT
   ========================================================================== */
.packages-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding: 0;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.section-header-centered h2 {
  font-size: 2.8rem;
  margin-top: 0.1rem;
  margin-bottom: 0.15rem;
}

.section-header-centered p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  height: 100%;
  min-height: 0;
  align-items: stretch;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}
.packages-grid::-webkit-scrollbar { width: 4px; }
.packages-grid::-webkit-scrollbar-track { background: transparent; }
.packages-grid::-webkit-scrollbar-thumb { background: var(--border-color); }

.package-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, max-height 0.5s ease, padding 0.5s ease, margin 0.5s ease, opacity 0.4s ease;
  animation: borderGlow 4s ease-in-out infinite;
}

.package-card.popular {
  border: 2px solid var(--accent-color);
  background-color: var(--bg-tertiary);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
  animation: borderGlow 2.5s ease-in-out infinite;
}

.package-card.popular:hover {
  transform: translateY(-6px);
}

.popular-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-color);
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 10px;
  letter-spacing: 0.05em;
}

.package-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-muted);
  margin-bottom: 0.3rem;
}

.package-card.popular .package-tag {
  color: var(--accent-color);
}

.package-name {
  font-size: 1.55rem;
  margin-bottom: 0.3rem;
}

.package-meta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.package-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  min-height: auto;
  line-height: 1.5;
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.package-features::-webkit-scrollbar {
  width: 4px;
}
.package-features::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
.package-features::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.package-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-features li.lead-item {
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
  margin-bottom: 2px;
}

.check-icon {
  color: var(--text-primary);
  font-weight: bold;
}

.star-icon {
  color: var(--accent-color);
}

.package-btn {
  width: 100%;
  padding: 12px;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: auto;
}

.package-card.package-selected {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.package-card.package-selected .package-btn {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
  cursor: default;
  opacity: 0.7;
}

.package-card.package-selected:hover {
  transform: none;
}

/* ==========================================================================
   SLIDE 8: TERMS
   ========================================================================== */
.terms-section {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terms-container {
  width: 100%;
  max-width: 1100px;
}

.terms-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 10px;
}

.terms-grid::-webkit-scrollbar {
  width: 6px;
}
.terms-grid::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
.terms-grid::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.terms-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  animation: borderGlow 4s ease-in-out infinite;
}

.terms-card:hover {
  border-color: var(--accent-muted) !important;
  background-color: var(--bg-tertiary);
}

.terms-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-muted);
  margin-bottom: 0.75rem;
}

.terms-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.terms-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SLIDE 9: CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  width: 100%;
  align-items: center;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-info-panel h2 {
  font-size: 3rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.contact-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.meta-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.meta-icon {
  font-size: 1.5rem;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.meta-item h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.meta-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-form-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: 20px 20px 0px var(--border-color);
  position: relative;
  overflow: hidden;
  animation: borderGlow 4s ease-in-out infinite;
}

.contact-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  animation: contactScanline 3s linear infinite;
}

.contact-form-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  animation: contactScanline 3s linear infinite 1.5s;
}

@keyframes contactScanline {
  0% { left: -100%; }
  100% { left: 200%; }
}

.contact-form-panel:hover {
  border-color: var(--accent-muted);
  box-shadow: 20px 20px 0px var(--accent-muted);
}

.contact-form-panel h2 {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.contact-form-panel .form-submit-btn {
  opacity: 1;
}

.sharp-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.form-group input, .form-group select, .form-group textarea {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-color);
  background-color: var(--bg-secondary);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

body.light-theme .form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
}

.form-submit-btn {
  margin-top: 0.5rem;
  padding: 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   CONTACT META ICON ANIMATIONS & INTERACTIVE LINKS
   ========================================================================== */
.meta-item-animated {
  animation: fadeInUp 0.6s ease both;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.meta-item-animated:nth-child(1) { animation-delay: 0.1s; }
.meta-item-animated:nth-child(2) { animation-delay: 0.2s; }
.meta-item-animated:nth-child(3) { animation-delay: 0.3s; }
.meta-item-animated:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.meta-item-animated .meta-icon {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-item-animated:hover .meta-icon {
  transform: scale(1.1) translateY(-2px);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.meta-item-animated:hover .meta-icon svg {
  animation: iconPulse 1.5s ease-in-out infinite;
}

.meta-item-link {
  text-decoration: none;
  cursor: pointer;
}

.meta-item-link p {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s ease, color 0.3s ease;
}

.meta-item-link:hover p {
  text-decoration-color: var(--accent-color);
  color: var(--text-primary);
}

.meta-icon-whatsapp {
  /* kept consistent with other meta icons — no special color */
}

/* ==========================================================================
   TERMS EXPAND HINT & CLICKABLE CARDS
   ========================================================================== */
.terms-expand-hint {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.terms-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.terms-card:hover .terms-expand-hint {
  opacity: 1;
  transform: translateY(0);
  color: var(--accent-color);
}

.terms-card:hover {
  border-color: var(--accent-muted);
  background-color: var(--bg-tertiary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.system-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent-muted);
  z-index: 1003;
  transition: background-color var(--transition-speed) var(--transition-easing),
              border-color var(--transition-speed) var(--transition-easing);
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  margin-right: 1rem;
}

.slide-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.control-btn {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
}

.slide-count {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 60px;
  text-align: center;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal-link {
  background: none;
  border: none;
  color: var(--accent-muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  text-decoration: none;
}

.footer-legal-link:hover {
  color: var(--text-primary);
}

.footer-divider {
  color: var(--accent-muted);
  font-size: 0.75rem;
}

.footer-center {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   LEGAL MODALS — TERMS & CONDITIONS / PRIVACY POLICY
   ========================================================================== */
.legal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.4s ease;
  backdrop-filter: blur(0px);
  pointer-events: none;
}

.legal-overlay.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  pointer-events: all;
}

.legal-modal {
  width: 700px;
  max-width: 92vw;
  max-height: 85vh;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-overlay.active .legal-modal {
  transform: translateY(0) scale(1);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  flex-shrink: 0;
}

.legal-header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.legal-close-btn {
  width: 36px;
  height: 36px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.legal-close-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
}

.legal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.legal-body::-webkit-scrollbar {
  width: 4px;
}
.legal-body::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
.legal-body::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.legal-updated {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.legal-body h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.legal-body h4:first-of-type {
  margin-top: 0;
}

.legal-body p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.legal-body p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   BOOK POPUP MODAL — FULL PAGE-FLIP EFFECT
   ========================================================================== */
.book-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease, background-color 0.6s ease;
  backdrop-filter: blur(0px);
  pointer-events: none;
}

.book-overlay.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  pointer-events: all;
}

.book-container {
  perspective: 2500px;
  width: 900px;
  max-width: 92vw;
  height: 560px;
  max-height: 82vh;
}

.book-cover {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: scale(0.3) rotateY(90deg);
  opacity: 0;
  transition: none;
}

.book-overlay.active .book-cover {
  animation: bookPageFlip 1s cubic-bezier(0.23, 1, 0.32, 1) 0.15s forwards;
}

@keyframes bookPageFlip {
  0% {
    transform: scale(0.3) rotateY(90deg);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    transform: scale(1.02) rotateY(-8deg);
    opacity: 1;
  }
  80% {
    transform: scale(0.99) rotateY(3deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
  }
}

.book-overlay:not(.active) .book-cover {
  animation: bookPageClose 0.5s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
}

@keyframes bookPageClose {
  0% {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(0.3) rotateY(-90deg);
    opacity: 0;
  }
}

.book-spine {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-muted) 0%, var(--border-color) 50%, var(--accent-muted) 100%);
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3), 2px 0 8px rgba(0,0,0,0.3);
}

.book-page {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.book-left {
  left: 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-right: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-left .page-content {
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.popup-logo {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 10px rgba(128,128,128,0.1)); }
  100% { filter: drop-shadow(0 0 25px rgba(128,128,128,0.25)); }
}

.book-right {
  right: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--border-color);
  overflow-y: auto;
}

.book-right .page-content {
  padding: 2.5rem;
}

.book-right h2 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-muted);
  margin-bottom: 0.5rem;
}

.book-right h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.book-right p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.book-right p:last-child {
  margin-bottom: 0;
}

.book-right::-webkit-scrollbar {
  width: 4px;
}
.book-right::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
.book-right::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.book-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.3s ease;
}

.book-close-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
}

/* ==========================================================================
   SERVICE DETAIL POPUP — BOOK EFFECT (IMAGE LEFT / DETAILS RIGHT)
   ========================================================================== */
.service-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease, background-color 0.6s ease;
  backdrop-filter: blur(0px);
  pointer-events: none;
}

.service-popup-overlay.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  pointer-events: all;
}

.service-popup-container {
  perspective: 2500px;
  width: 860px;
  max-width: 92vw;
  height: 520px;
  max-height: 80vh;
}

.service-popup-book {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: scale(0.3) rotateY(90deg);
  opacity: 0;
  transition: none;
  box-shadow:
    8px 8px 0px var(--accent-muted),
    16px 16px 0px var(--border-color),
    24px 24px 40px rgba(0, 0, 0, 0.5);
}

.service-popup-overlay.active .service-popup-book {
  animation: serviceBookFlip 1s cubic-bezier(0.23, 1, 0.32, 1) 0.15s forwards;
}

@keyframes serviceBookFlip {
  0% {
    transform: scale(0.3) rotateY(90deg);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    transform: scale(1.02) rotateY(-8deg);
    opacity: 1;
  }
  80% {
    transform: scale(0.99) rotateY(3deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
  }
}

.service-popup-overlay:not(.active) .service-popup-book {
  animation: serviceBookClose 0.5s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
}

@keyframes serviceBookClose {
  0% {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(0.3) rotateY(-90deg);
    opacity: 0;
  }
}

.service-popup-spine {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-muted) 0%, var(--border-color) 50%, var(--accent-muted) 100%);
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3), 2px 0 8px rgba(0, 0, 0, 0.3);
}

.service-popup-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-right: none;
  overflow: hidden;
}

.service-popup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.service-popup-overlay.active .service-popup-image {
  animation: serviceImageReveal 0.8s ease 0.4s forwards;
}

@keyframes serviceImageReveal {
  0% { filter: grayscale(100%); transform: scale(1.1); }
  100% { filter: grayscale(0%); transform: scale(1); }
}

.service-popup-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  align-items: flex-end;
}

.service-popup-quality-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--accent-color);
  color: var(--bg-primary);
  padding: 6px 14px;
}

.service-popup-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--border-color);
  padding: 2.5rem;
  overflow-y: auto;
}

.service-popup-right::-webkit-scrollbar {
  width: 4px;
}
.service-popup-right::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
.service-popup-right::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.service-popup-category-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.service-popup-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.service-popup-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-popup-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

.service-popup-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-popup-detail-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  color: var(--text-primary);
}

.service-popup-detail-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 2px;
}

.service-popup-detail-value {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-popup-includes {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.service-popup-includes h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 0.75rem;
}

.service-popup-includes ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-popup-includes li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.service-popup-includes li::before {
  content: '✓';
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.service-popup-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.3s ease;
}

.service-popup-close-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
}

/* ==========================================================================
   INQUIRY SUCCESS / ERROR OVERLAY
   ========================================================================== */
.inquiry-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.4s ease;
  backdrop-filter: blur(0px);
  pointer-events: none;
}

.inquiry-success-overlay.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  pointer-events: all;
}

.inquiry-success-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    8px 8px 0px var(--accent-muted),
    16px 16px 0px var(--border-color);
}

.inquiry-success-overlay.active .inquiry-success-box {
  transform: translateY(0) scale(1);
}

.inquiry-success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: var(--bg-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.inquiry-success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.inquiry-success-msg {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.inquiry-success-quote {
  font-size: 0.8rem;
  color: var(--accent-muted);
  font-style: italic;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  width: 100%;
}

.inquiry-success-close-btn {
  margin-top: 0.5rem;
  padding: 14px 32px;
  font-size: 0.8rem;
}

/* --- Consultation Success Enhancements --- */
.consult-success-icon svg path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.inquiry-success-overlay.active .consult-success-icon svg path {
  animation: consultCheckDraw 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.35s forwards;
}

@keyframes consultCheckDraw {
  to { stroke-dashoffset: 0; }
}

.consult-success-icon {
  animation: consultIconPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes consultIconPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.consult-booking-details {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-color);
  letter-spacing: 0.02em;
  border: 1px solid var(--border-color);
  padding: 10px 18px;
}

/* ==========================================================================
   MOBILE HAMBURGER MENU
   ========================================================================== */
.mobile-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 6px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 16px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-hamburger.active .hamburger-line:first-child {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-hamburger.active .hamburger-line:last-child {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 10500;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.7);
  pointer-events: all;
}

.mobile-menu-content {
  width: 280px;
  max-width: 80vw;
  height: 100%;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 80px 0 20px 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
}

.mobile-nav-btn {
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-nav-btn:hover,
.mobile-nav-btn.active {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
  border-left: 3px solid var(--accent-color);
  padding-left: 21px;
}

/* LARGE SCREENS 1440px+ */
@media (min-width: 1440px) {
  .hero-text-content h1 {
    font-size: 5.5rem;
  }
  .section-header-centered h2 {
    font-size: 3.2rem;
  }
  .logo-box {
    height: 100px;
  }
}

/* TABLET LANDSCAPE & SMALL DESKTOP: 1024px - 1439px */
@media (max-width: 1439px) {
  .hero-text-content h1 {
    font-size: 3.8rem;
  }
}

/* TABLET: max-width 1024px */
@media (max-width: 1024px) {
  .navbar {
    height: 75px;
    padding: 0 3%;
  }
  .nav-links {
    display: none;
  }
  .mobile-hamburger {
    display: flex;
  }
  .logo-box {
    height: 65px;
  }
  .actions {
    gap: 0.75rem;
  }
  .theme-switch {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
  .cta-nav-btn {
    padding: 8px 14px;
    font-size: 0.7rem;
  }

  .slide {
    padding: 90px 5% 80px 5%;
    overflow-y: auto;
  }

  .slide-indicator {
    left: 2%;
    gap: 10px;
  }
  .indicator-dot {
    width: 8px;
    height: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-text-content {
    align-items: center;
    text-align: center;
  }
  .hero-text-content h1 {
    font-size: 3rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-cta-group {
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
  }
  .hero-stats {
    gap: 2rem;
    justify-content: center;
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .hero-visual-content {
    display: none;
  }

  .service-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .category-info h2 {
    font-size: 2.2rem;
  }
  .category-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .service-list-scrollable {
    max-height: 300px;
  }
  .category-visual {
    display: none;
  }

  .category-visual-mobile {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }

  .mobile-service-card {
    width: 100%;
    max-width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
  }

  .mobile-card-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background-color: var(--bg-tertiary);
  }

  .mobile-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: filter 0.4s ease, transform 0.4s ease;
  }

  .mobile-card-image-wrapper img.loaded {
    filter: grayscale(0%);
    transform: scale(1);
  }

  .mobile-card-badge {
    position: absolute;
    top: 10px;
    left: 0;
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background-color: var(--accent-color);
    color: var(--bg-primary);
    padding: 4px 10px;
  }

  .mobile-card-details {
    padding: 1rem;
    background-color: var(--bg-tertiary);
  }

  .mobile-card-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
  }

  .mobile-card-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-header-centered h2 {
    font-size: 2.4rem;
  }
  .packages-grid {
    gap: 1rem;
  }
  .package-card {
    padding: 1rem;
  }
  .package-name {
    font-size: 1.4rem;
  }

  .terms-grid {
    grid-template-columns: repeat(2, 1fr);
    max-height: 380px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info-panel h2 {
    font-size: 2.5rem;
  }
  .contact-form-panel {
    padding: 1.5rem;
    box-shadow: 10px 10px 0px var(--border-color);
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-logo-img {
    height: 35px;
  }
  .footer-left span {
    font-size: 0.65rem;
  }
  .footer-right {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem;
  }

  .book-container {
    width: 95vw;
    height: 80vh;
  }

  .service-popup-container {
    width: 95vw;
    height: 80vh;
  }

  .legal-modal {
    max-height: 90vh;
  }
}

/* TABLET PORTRAIT: max-width 768px */
@media (max-width: 768px) {
  .navbar {
    height: 65px;
    padding: 0 3%;
  }
  .logo-box {
    height: 50px;
  }
  .slide {
    padding: 80px 4% 90px 4%;
  }

  .hero-text-content h1 {
    font-size: 2.4rem;
  }
  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .btn {
    padding: 14px 24px;
    font-size: 0.8rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .category-info h2 {
    font-size: 1.8rem;
  }
  .category-desc {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }
  .category-index {
    font-size: 1.2rem;
  }
  .service-list-scrollable {
    max-height: 250px;
  }
  .service-list-item {
    padding: 1rem 0;
  }
  .service-list-item h3 {
    font-size: 0.95rem;
  }

  .section-header-centered {
    margin-bottom: 1rem;
  }
  .mobile-card-image-wrapper {
    height: 150px;
  }

  .mobile-card-details h4 {
    font-size: 0.9rem;
  }
  .mobile-card-details p {
    font-size: 0.72rem;
  }

  .section-header-centered h2 {
    font-size: 2rem;
  }
  .section-header-centered p {
    font-size: 0.88rem;
  }
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    overflow-y: auto;
    padding-right: 5px;
  }
  .package-card {
    padding: 0.9rem;
  }
  .package-card.popular {
    transform: none;
  }
  .package-card.popular:hover {
    transform: translateY(-3px);
  }
  .package-name {
    font-size: 1.3rem;
  }
  .package-desc {
    font-size: 0.82rem;
    min-height: auto;
  }
  .package-features {
    gap: 0.35rem;
    margin-bottom: 0.75rem;
  }
  .package-features li {
    font-size: 0.78rem;
  }
  .package-meta {
    font-size: 0.7rem;
  }

  .terms-grid {
    grid-template-columns: 1fr;
    max-height: 350px;
  }
  .terms-card {
    padding: 1.25rem;
  }
  .terms-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .contact-info-panel h2 {
    font-size: 2rem;
  }
  .contact-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }
  .contact-meta-list {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .contact-form-panel {
    padding: 1.25rem;
    box-shadow: 6px 6px 0px var(--border-color);
  }

  .system-footer {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .footer-logo-img {
    height: 28px;
  }
  .footer-left span {
    font-size: 0.55rem;
  }
  .footer-right span {
    font-size: 0.5rem;
  }
  .footer-legal-link {
    font-size: 0.55rem;
  }
  .footer-divider {
    font-size: 0.5rem;
  }

  .book-left {
    display: none;
  }
  .book-right {
    width: 100%;
    border-left: none;
  }
  .book-spine {
    display: none;
  }
  .book-right h3 {
    font-size: 1.4rem;
  }

  .service-popup-container {
    height: auto;
    max-height: 85vh;
  }
  .service-popup-book {
    display: flex;
    flex-direction: column;
  }
  .service-popup-left {
    position: relative;
    width: 100%;
    height: 200px;
    border-right: 1px solid var(--border-color);
    border-bottom: none;
  }
  .service-popup-right {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 50vh;
    border-left: 1px solid var(--border-color);
    border-top: 3px solid var(--border-color);
  }
  .service-popup-spine {
    display: none;
  }
  .service-popup-title {
    font-size: 1.4rem;
  }
  .service-popup-details-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .inquiry-success-box {
    padding: 2rem 1.5rem;
    max-width: 90vw;
  }
  .inquiry-success-title {
    font-size: 1.3rem;
  }
  .inquiry-success-msg {
    font-size: 0.85rem;
  }
  .inquiry-success-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }

  .legal-header {
    padding: 1rem 1.5rem;
  }
  .legal-header h2 {
    font-size: 1rem;
  }
  .legal-body {
    padding: 1.5rem;
  }
  .legal-body h4 {
    font-size: 0.88rem;
  }
  .legal-body p {
    font-size: 0.8rem;
  }
}

/* MOBILE: max-width 480px */
@media (max-width: 480px) {
  .navbar {
    height: 52px;
    padding: 0 2%;
  }
  .logo-box {
    height: 48px;
  }
  .actions {
    gap: 0.3rem;
  }
  .theme-switch {
    padding: 4px 5px;
    font-size: 0.6rem;
    gap: 3px;
    min-height: 36px;
    min-width: 36px;
    justify-content: center;
    align-items: center;
  }
  .theme-switch .text {
    display: none;
  }
  .theme-switch .icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .theme-switch .icon svg {
    width: 18px;
    height: 18px;
  }
  .cta-nav-btn {
    padding: 5px 8px;
    font-size: 0.55rem;
    min-height: 36px;
    letter-spacing: 0.02em;
  }
  .mobile-hamburger {
    padding: 7px 5px;
    gap: 3px;
  }
  .hamburger-line {
    width: 15px;
    height: 2px;
  }

  .slide {
    padding: 64px 5% 48px 5%;
    align-items: flex-start;
    overflow-y: auto;
  }

  .hero-grid {
    gap: 0;
    height: auto;
    min-height: 0;
    width: 100%;
    padding: 1.5rem 0;
  }

  .slide-indicator {
    left: 1%;
    gap: 8px;
  }
  .indicator-dot {
    width: 7px;
    height: 7px;
  }

  .badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
  }

  .hero-text-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1;
  }
  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .hero-cta-group {
    margin-bottom: 2.5rem;
    gap: 0.85rem;
    width: 100%;
  }
  .btn {
    padding: 14px 20px;
    font-size: 0.8rem;
    width: 100%;
    min-height: 48px;
  }
  .hero-stats {
    gap: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
  }
  .stat-number {
    font-size: 1.4rem;
    margin-bottom: 2px;
  }
  .stat-label {
    font-size: 0.65rem;
    line-height: 1.3;
  }
  .stat-box {
    min-width: 0;
  }

  .hero-text-content {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .hero-cta-group {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-stats {
    justify-content: center;
  }

  /* SERVICE SLIDES */
  .service-split {
    gap: 1rem;
    height: auto;
    min-height: 0;
    align-items: start;
    width: 100%;
    padding: 1rem 0;
  }
  .category-info {
    min-height: 0;
    height: auto;
    justify-content: flex-start;
  }
  .category-info h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }
  .category-desc {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  .category-index {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }
  .service-list-scrollable {
    max-height: calc(100vh - 380px);
    min-height: 150px;
    padding-right: 6px;
  }
  .service-list-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  .service-list-item:last-child {
    border-bottom: none;
  }
  .service-list-item h3 {
    font-size: 0.9rem;
  }
  .service-list-item .arrow-right {
    font-size: 1rem;
  }
  .service-list-item.active {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mobile-card-image-wrapper {
    height: 150px;
  }
  .mobile-card-details {
    padding: 1rem;
  }
  .mobile-card-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  .mobile-card-details p {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
    line-height: 1.4;
  }

  /* PACKAGES */
  .section-header-centered h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
  }
  .section-header-centered p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .packages-grid {
    min-height: 0;
    gap: 0.75rem;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 8px;
  }
  .package-card {
    padding: 1rem;
  }
  .package-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  .package-tag {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }
  .package-meta {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .package-desc {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }
  .package-features {
    gap: 0.35rem;
    margin-bottom: 0.5rem;
  }
  .package-features li {
    font-size: 0.78rem;
  }
  .package-btn {
    padding: 12px;
    font-size: 0.82rem;
    min-height: 44px;
  }

  /* TERMS */
  .terms-container {
    max-width: 100%;
  }
  .terms-grid {
    grid-template-columns: 1fr;
    max-height: 320px;
    overflow-y: auto;
    gap: 0.65rem;
  }
  .terms-card {
    padding: 1rem;
  }
  .terms-num {
    font-size: 0.95rem;
  }
  .terms-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  .terms-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* CONTACT */
  .contact-info-panel h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }
  .contact-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }
  .contact-meta-list {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .meta-item h4 {
    font-size: 0.82rem;
    margin-bottom: 2px;
  }
  .meta-item p {
    font-size: 0.78rem;
  }
  .meta-icon {
    width: 40px;
    height: 40px;
  }
  .contact-form-panel {
    padding: 1.25rem;
    box-shadow: 4px 4px 0px var(--border-color);
  }
  .form-group label {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }
  .form-group input, .form-group select, .form-group textarea {
    padding: 11px 14px;
    font-size: 0.85rem;
  }
  .form-group textarea {
    min-height: 90px;
  }
  .form-submit-btn {
    padding: 14px;
    font-size: 0.82rem;
    min-height: 48px;
  }

  .system-footer {
    height: 44px;
    padding: 0 3%;
    gap: 0.4rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .footer-left {
    display: none;
  }
  .footer-center {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slide-controls {
    gap: 0.5rem;
  }
  .control-btn {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
    min-height: 36px;
    min-width: 36px;
  }
  .slide-count {
    font-size: 0.62rem;
    min-width: 34px;
  }
  .footer-social-center {
    order: 2;
    display: flex;
    align-items: center;
  }
  .footer-social-row {
    gap: 4px;
    margin-bottom: 0;
    justify-content: center;
  }
  .footer-social-link {
    width: 16px;
    height: 16px;
  }
  .footer-social-link svg {
    width: 9px;
    height: 9px;
  }
  .footer-right {
    order: 3;
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .footer-right span {
    font-size: 0.42rem;
    text-align: center;
  }
  .footer-legal-link {
    font-size: 0.42rem;
  }
  .footer-legal-row {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .footer-divider {
    display: none;
  }
  .footer-logo-img {
    height: 22px;
    margin-right: 0.5rem;
  }

  .book-container {
    width: 96vw;
    height: 70vh;
  }
  .book-right .page-content {
    padding: 1.5rem;
  }
  .book-right h3 {
    font-size: 1.2rem;
  }
  .book-right p {
    font-size: 0.8rem;
  }

  .service-popup-container {
    max-height: 90vh;
  }
  .service-popup-left {
    height: 150px;
  }
  .service-popup-right {
    padding: 1.5rem;
    max-height: 55vh;
  }
  .service-popup-title {
    font-size: 1.2rem;
  }
  .service-popup-description {
    font-size: 0.82rem;
  }
  .service-popup-details-grid {
    padding: 0.75rem;
    gap: 0.6rem;
  }
  .service-popup-detail-icon {
    width: 30px;
    height: 30px;
  }
  .service-popup-detail-label {
    font-size: 0.55rem;
  }
  .service-popup-detail-value {
    font-size: 0.75rem;
  }
  .service-popup-includes li {
    font-size: 0.72rem;
  }
  .service-popup-close-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .inquiry-success-box {
    padding: 1.5rem 1.25rem;
    max-width: 92vw;
  }
  .inquiry-success-title {
    font-size: 1.15rem;
  }
  .inquiry-success-msg {
    font-size: 0.8rem;
  }
  .inquiry-success-quote {
    font-size: 0.72rem;
  }
  .inquiry-success-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  .inquiry-success-close-btn {
    padding: 12px 24px;
    font-size: 0.75rem;
  }

  .legal-modal {
    max-height: 95vh;
    border: none;
  }
  .legal-header {
    padding: 0.75rem 1rem;
  }
  .legal-header h2 {
    font-size: 0.88rem;
  }
  .legal-close-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .legal-body {
    padding: 1rem;
  }
  .legal-body h4 {
    font-size: 0.82rem;
    margin-top: 1rem;
  }
  .legal-body p {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .mobile-menu-content {
    width: 260px;
  }
  .mobile-nav-btn {
    padding: 14px 20px;
    font-size: 0.82rem;
    min-height: 44px;
  }
  .slide-indicator {
    left: 2%;
    gap: 10px;
  }
  .indicator-dot {
    width: 8px;
    height: 8px;
  }
}

/* VERY SMALL PHONES: max-width 360px */
@media (max-width: 360px) {
  .logo-box { height: 42px; }
  .navbar { height: 48px; }
  .actions { gap: 0.2rem; }
  .theme-switch { padding: 3px 4px; min-height: 32px; min-width: 32px; }
  .theme-switch .icon { width: 16px; height: 16px; }
  .theme-switch .icon svg { width: 16px; height: 16px; }
  .cta-nav-btn { padding: 4px 6px; font-size: 0.5rem; min-height: 32px; }
  .mobile-hamburger { padding: 5px 4px; gap: 2px; }
  .hamburger-line { width: 13px; height: 2px; }

  .slide { padding: 56px 4% 44px 4%; }

  .badge { font-size: 0.62rem; padding: 3px 8px; margin-bottom: 0.85rem; }
  .hero-text-content h1 { font-size: 1.85rem; margin-bottom: 0.85rem; line-height: 1; }
  .hero-description { font-size: 0.82rem; margin-bottom: 1.2rem; line-height: 1.55; }
  .hero-cta-group { gap: 0.75rem; margin-bottom: 2rem; }
  .btn { padding: 12px 16px; font-size: 0.75rem; min-height: 44px; }
  .hero-stats { gap: 0.75rem; padding-top: 1rem; }
  .stat-number { font-size: 1.25rem; }
  .stat-label { font-size: 0.6rem; }

  .service-split { gap: 0.85rem; padding: 0.75rem 0; }
  .category-info h2 { font-size: 1.4rem; }
  .category-desc { font-size: 0.8rem; line-height: 1.45; }
  .service-list-scrollable { max-height: calc(100vh - 340px); }
  .service-list-item h3 { font-size: 0.85rem; }
  .mobile-card-image-wrapper { height: 120px; }

  .section-header-centered h2 { font-size: 1.45rem; }
  .section-header-centered p { font-size: 0.8rem; }
  .packages-grid { gap: 0.6rem; }
  .package-card { padding: 0.85rem; }
  .package-name { font-size: 1.15rem; }
  .package-features li { font-size: 0.75rem; }
  .package-btn { padding: 11px; font-size: 0.78rem; }

  .terms-card { padding: 0.85rem; }
  .terms-card h4 { font-size: 0.88rem; }
  .terms-card p { font-size: 0.78rem; }

  .contact-info-panel h2 { font-size: 1.4rem; }
  .contact-subtitle { font-size: 0.8rem; }
  .meta-item { gap: 0.75rem; }
  .meta-icon { width: 36px; height: 36px; }
  .form-submit-btn { padding: 12px; font-size: 0.78rem; }

  .system-footer { height: 40px; padding: 0 2%; gap: 0.3rem; }
  .control-btn { width: 18px; height: 18px; font-size: 0.55rem; min-height: 32px; min-width: 32px; }
  .slide-count { font-size: 0.58rem; min-width: 30px; }
  .slide-controls { gap: 0.4rem; }
  .footer-social-link { width: 14px; height: 14px; }
  .footer-social-link svg { width: 8px; height: 8px; }
  .footer-right { gap: 2px; }
  .footer-right span { font-size: 0.4rem; text-align: center; }
  .footer-legal-link { font-size: 0.4rem; }

  .join-team-title { font-size: 1.4rem; }
  .slide-indicator { display: none; }
  .mobile-menu-content { width: 220px; }
  .mobile-nav-btn { padding: 10px 14px; font-size: 0.75rem; }
}

/* --- Book Free Consultation Form --- */
.consultation-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.consultation-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.consultation-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.consultation-form label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}
.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.65rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  transition: border-color 0.3s ease;
  width: 100%;
  outline: none;
}
.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: var(--accent-color);
}
.consultation-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
body.light-theme .consultation-form select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
}

body.light-theme .navbar {
  background-color: rgba(250, 250, 250, 0.85);
}
.consultation-form textarea {
  resize: vertical;
  min-height: 60px;
}
.consultation-form .form-submit-btn {
  margin-top: 0.5rem;
  width: 100%;
}
@media (max-width: 768px) {
  .consultation-form .form-row {
    grid-template-columns: 1fr;
  }
  .consultation-subtitle {
    font-size: 0.8rem;
  }
  .consultation-form label {
    font-size: 0.6rem;
  }
  .consultation-form input,
  .consultation-form select,
  .consultation-form textarea {
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
  }
}
@media (max-width: 480px) {
  .consultation-subtitle {
    font-size: 0.72rem;
    margin-bottom: 0.75rem;
  }
  .consultation-form {
    gap: 0.75rem;
  }
  .consultation-form label {
    font-size: 0.7rem;
  }
  .consultation-form input,
  .consultation-form select,
  .consultation-form textarea {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }
  .consultation-form .form-submit-btn {
    padding: 14px;
    min-height: 44px;
  }
}

/* --- FAQ Section (SEO/AEO - Visible Content) --- */
.faq-section {
  background: var(--bg-primary);
  padding: 60px 6%;
  border-top: 1px solid var(--border-color);
}
.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 2rem;
}
.faq-item {
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  transition: border-color 0.3s ease;
}
.faq-item[open] {
  border-color: var(--accent-color);
}
.faq-question {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.3s ease;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  content: '−';
}
.faq-question:hover {
  color: var(--accent-color);
}
.faq-answer {
  padding: 0 1.25rem 1rem 1.25rem;
}
.faq-answer p {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 5%;
  }
  .faq-question {
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
  }
  .faq-answer p {
    font-size: 0.78rem;
  }
}
@media (max-width: 480px) {
  .faq-section {
    padding: 40px 4%;
  }
  .faq-question {
    font-size: 0.8rem;
    padding: 0.75rem 0.85rem;
  }
  .faq-answer {
    padding: 0 0.85rem 0.75rem 0.85rem;
  }
  .faq-answer p {
    font-size: 0.75rem;
  }
}

/* --- Anti-DevTools: Prevent text selection on sensitive elements --- */
.package-card,
.package-features,
.package-btn,
.hero-interactive-logo,
.navbar-logo,
.footer-logo-img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ==========================================================================
   JOIN THE TEAM SECTION
   ========================================================================== */
.join-team-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  height: 100%;
  align-items: center;
}

.join-team-left {
  display: flex;
  flex-direction: column;
}

.join-team-title {
  font-size: 3.5rem;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.join-team-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  max-width: 400px;
}

.join-team-quote-author {
  font-size: 0.8rem;
  color: var(--accent-muted);
  margin-bottom: 2rem;
}

.join-team-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.join-value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.join-value-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-muted);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.join-value-item h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.join-value-item p {
  font-size: 0.82rem;
}

.join-team-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.join-team-visual {
  width: 100%;
  max-width: 420px;
}

.join-cta-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  text-align: center;
  animation: borderGlow 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.join-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  animation: ctaScanline 3s linear infinite;
}

.join-cta-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  animation: ctaScanline 3s linear infinite 1.5s;
}

@keyframes ctaScanline {
  0% { left: -100%; }
  100% { left: 200%; }
}

.join-cta-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.join-cta-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.join-cta-box .btn {
  width: auto;
  min-width: 200px;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.join-cta-box:hover {
  border-color: var(--accent-muted);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.file-hint {
  display: block;
  font-size: 0.65rem;
  color: var(--accent-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.03em;
}

/* Join the Team Responsive */
@media (max-width: 1024px) {
  .join-team-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .join-team-title {
    font-size: 2.8rem;
  }
  .join-team-right {
    display: flex;
  }
  .join-team-values {
    flex-direction: row;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .join-team-container {
    gap: 1.5rem;
  }
  .join-team-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .join-team-quote {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }
  .join-team-quote-author {
    margin-bottom: 1.25rem;
  }
  .join-team-values {
    flex-direction: column;
    gap: 1rem;
  }
  .join-cta-box {
    padding: 1.5rem;
  }
  .join-cta-box h3 {
    font-size: 1.3rem;
  }
  .join-cta-box p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 480px) {
  .join-team-container {
    gap: 1.25rem;
  }
  .join-team-left {
    overflow-y: auto;
  }
  .join-team-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    line-height: 1;
  }
  .join-team-quote {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    max-width: 100%;
  }
  .join-team-quote-author {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  .join-team-values {
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }
  .join-value-num {
    display: none;
  }
  .join-value-item {
    gap: 0.6rem;
  }
  .join-value-item h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .join-value-item p {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .join-cta-box {
    padding: 1.25rem;
  }
  .join-cta-box h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.15;
  }
  .join-cta-box p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  .join-cta-box .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { box-shadow: 0 0 20px rgba(255,255,255,0.08); }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--border-color); }
  50% { border-color: var(--accent-muted); }
}

.category-info {
  animation: borderGlow 4s ease-in-out infinite;
}

.mobile-service-card {
  animation: borderGlow 4s ease-in-out infinite;
}

.faq-item {
  animation: borderGlow 4s ease-in-out infinite;
}

.join-team-left {
  animation: borderGlow 4s ease-in-out infinite;
}

.join-team-right {
  animation: borderGlow 4s ease-in-out infinite 1s;
}

.hero-text-content {
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual-content {
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-text-content .badge {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-text-content h1 {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-description {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-cta-group {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero-stats {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.stat-box {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
}

.stat-number {
  background: linear-gradient(90deg, var(--text-primary) 40%, var(--accent-color) 50%, var(--text-primary) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.stat-box:hover .stat-number {
  animation: shimmer 1.5s linear infinite;
}

.book-card-3d {
  animation: float 4s ease-in-out infinite;
}

.book-card-cover {
  transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

.book-card-3d:hover .book-card-cover {
  border-color: var(--accent-muted);
}

.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::after {
  width: 300%;
  height: 300%;
}

.nav-btn {
  transition: all 0.3s ease;
  position: relative;
}

.nav-btn::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-btn:hover::after,
.nav-btn.active::after {
  width: 60%;
  left: 20%;
}

.package-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  border-color: var(--accent-muted);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.terms-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.terms-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-muted);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.slide-indicator {
  transition: opacity 0.3s ease;
}

.indicator-dot {
  transition: all 0.3s ease;
}

.indicator-dot:hover {
  transform: scale(1.5);
}

.category-visual-mobile {
  transition: transform 0.4s ease;
}

.category-visual-mobile:hover {
  transform: scale(1.02);
}

.footer-legal-link {
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.footer-social-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  color: var(--text-primary);
  border-color: var(--accent-muted);
  transform: translateY(-2px);
}

.footer-legal-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control-btn {
  transition: all 0.3s ease;
}

.control-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .btn::after { display: none; }
  .hero-text-content { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .stat-box:hover { transform: none; }
  .package-card:hover { transform: none; box-shadow: none; }
  .terms-card:hover { transform: none; box-shadow: none; }
  .category-visual-mobile:hover { transform: none; }
  .footer-legal-link:hover { transform: none; }
  .control-btn:hover { transform: none; }
  .nav-btn:hover::after { display: none; }
  .mobile-card-details h4 { font-size: 0.88rem; line-height: 1.3; }
  .mobile-card-badge { font-size: 0.55rem; padding: 2px 6px; }
  .service-list-item:active { background-color: var(--bg-tertiary); }
}

/* --- Smooth Scroll for overflow containers --- */
.slide {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.service-list-scrollable {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   MOBILE ANIMATIONS & EFFECTS (always active, overridden by media queries)
   ========================================================================== */

@keyframes mobileFadeInUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes mobileScaleIn {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes mobileGlowPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  50% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.12); }
}

/* Touch feedback for ALL interactive elements */
.btn {
  transition: transform 0.15s ease, box-shadow 0.3s ease;
}
.btn:active {
  transform: scale(0.97);
}

.package-btn {
  transition: transform 0.15s ease, box-shadow 0.3s ease;
}
.package-btn:active {
  transform: scale(0.97);
}

.form-submit-btn {
  transition: transform 0.15s ease, box-shadow 0.3s ease;
}
.form-submit-btn:active {
  transform: scale(0.97);
}

.control-btn {
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.control-btn:active {
  transform: scale(0.9);
  background-color: var(--accent-color);
  color: var(--bg-primary);
}

.footer-social-link {
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.footer-social-link:active {
  transform: scale(0.9);
  border-color: var(--accent-color);
}

.service-list-item {
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.service-list-item:active {
  background-color: var(--bg-tertiary);
  padding-left: 14px;
}

.meta-item {
  transition: transform 0.15s ease;
}
.meta-item:active {
  transform: scale(0.97);
}

.terms-card {
  transition: transform 0.15s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.terms-card:active {
  transform: scale(0.98);
}

.package-card {
  transition: transform 0.15s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.package-card:active {
  transform: scale(0.98);
}

.mobile-hamburger {
  transition: transform 0.2s ease;
}
.mobile-hamburger:active {
  transform: scale(0.9);
}

.mobile-card-image-wrapper img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.mobile-card-image-wrapper:active img {
  transform: scale(1.03);
}

/* Form inputs smooth focus glow */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

/* Stat boxes shimmer pulse */
.stat-box {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-3px);
}

/* Service list custom scrollbar */
.service-list-scrollable {
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}
.service-list-scrollable::-webkit-scrollbar { width: 3px; }
.service-list-scrollable::-webkit-scrollbar-track { background: transparent; }
.service-list-scrollable::-webkit-scrollbar-thumb { background: var(--border-color); }

/* --- Selection color --- */
::selection {
  background-color: var(--accent-color);
  color: var(--bg-primary);
}

/* --- Focus visible for accessibility --- */
:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* --- Reduce motion for accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .book-card-3d {
    animation: none;
  }
}
