/* AURA DENTAL ATELIER — Master Luxury Medical Architecture
   Awwwards / Boutique European Private Suite Standard
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Cinzel:wght@500;700;800;900&display=swap&subset=cyrillic,cyrillic-ext');

:root {
  --bg-deep: #05070c;
  --bg-main: #090d15;
  --bg-card: #0f1522;
  --bg-card-hover: #151d2d;
  --bg-subtle: #0c111c;
  
  --gold-100: #faf3e3;
  --gold-200: #f1e0be;
  --gold-300: #dfcaa7;
  --gold-400: #d4af37;
  --gold-500: #b08947;
  --gold-gradient: linear-gradient(135deg, #f7e7ce 0%, #d4af37 50%, #8a642e 100%);
  --gold-glow: rgba(212, 175, 55, 0.18);
  --gold-border: rgba(212, 175, 55, 0.26);
  --gold-border-focus: rgba(212, 175, 55, 0.65);
  
  --text-white: #ffffff;
  --text-slate: #cbd5e1;
  --text-muted: #8292a7;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(212, 175, 55, 0.14);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 16px 40px -8px rgba(0, 0, 0, 0.65);
  --shadow-luxury: 0 30px 80px -15px rgba(0, 0, 0, 0.9), 0 0 50px var(--gold-glow);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-main);
  color: var(--text-white);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.section-pad { padding: 90px 0; }
@media (max-width: 768px) { .section-pad { padding: 55px 0; } }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 50px; }
@media (max-width: 768px) { .section-header { margin-bottom: 34px; } }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-400);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.16;
  margin-bottom: 14px;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  color: var(--text-muted);
  font-size: clamp(14.5px, 1.8vw, 16px);
  line-height: 1.7;
}

/* Top Announcement Strip */
.top-strip {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-slate);
  text-align: center;
}
.gold-badge {
  background: var(--gold-gradient);
  color: #05070c;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 21, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.brand-box { display: flex; align-items: center; gap: 12px; }
.brand-crest {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--gold-glow);
  padding: 8px;
}
.brand-crest svg { width: 100%; height: 100%; fill: #05070c; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; color: #fff;
  letter-spacing: 0.06em; line-height: 1;
}
.brand-tagline {
  font-size: 9px; font-weight: 800; color: var(--gold-400);
  letter-spacing: 0.22em; text-transform: uppercase; margin-top: 3px;
}

.main-nav { display: flex; gap: 26px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
@media (max-width: 1080px) { .main-nav { display: none; } }
.main-nav a { transition: color 0.2s; position: relative; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-300); }
.main-nav a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px;
  background: var(--gold-gradient); border-radius: 2px;
}

.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 13.5px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 6px; }
@media (max-width: 640px) { .header-phone { display: none; } }

.burger-btn {
  display: none; width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
@media (max-width: 1080px) { .burger-btn { display: flex; } }
.burger-btn span {
  display: block; width: 20px; height: 2px; background: var(--gold-300);
  border-radius: 2px; transition: all 0.25s ease;
}
.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-drawer {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(9, 13, 21, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gold-border); padding: 24px 20px 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9); flex-direction: column; gap: 16px; z-index: 99;
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  font-size: 15.5px; font-weight: 700; color: var(--text-slate);
  padding: 10px 0; border-bottom: 1px solid var(--border-glass);
}
.mobile-nav-drawer a.active, .mobile-nav-drawer a:hover { color: var(--gold-300); }

/* Luxury Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #05070c;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.45);
  filter: brightness(1.08);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-glass:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-400);
  transform: translateY(-2px);
}

/* Master Hero Showcase */
.hero-editorial {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-video-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.22; filter: brightness(0.5) saturate(1.2); pointer-events: none;
}
.hero-overlay-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 65% 40%, rgba(15, 21, 34, 0.3) 0%, #090d15 88%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

.hero-badge-live {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(15, 21, 34, 0.88); border: 1px solid var(--gold-border);
  padding: 6px 16px; border-radius: 99px; font-size: 11.5px; font-weight: 700;
  color: var(--gold-300); margin-bottom: 20px; backdrop-filter: blur(12px);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 8px #10b981; animation: pulseGreen 2s infinite; flex-shrink: 0;
}
@keyframes pulseGreen { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.12; font-weight: 700; color: #fff; letter-spacing: -0.01em; margin-bottom: 20px;
}
.hero-desc-text {
  font-size: clamp(14.5px, 1.8vw, 16px); color: var(--text-slate); line-height: 1.75;
  margin-bottom: 34px; max-width: 580px;
}
@media (max-width: 960px) { .hero-desc-text { margin-left: auto; margin-right: auto; } }

.hero-visual-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gold-border); box-shadow: var(--shadow-luxury); background: var(--bg-card);
}
.hero-visual-card img {
  width: 100%; height: 480px; object-fit: cover; transition: transform 0.6s ease;
}
@media (max-width: 768px) { .hero-visual-card img { height: 290px; } }

/* INTERACTIVE SMILE SHADE STUDIO (АВТОРСЬКИЙ ВІЗУАЛІЗАТОР ВІДТІНКІВ) */
.shade-studio-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-luxury);
  max-width: 1060px;
  margin: 0 auto;
}
@media (max-width: 640px) { .shade-studio-card { padding: 20px; } }
.shade-selector-bar {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; flex-wrap: wrap;
}
.shade-pill {
  padding: 10px 22px; border-radius: 99px; background: var(--bg-subtle);
  border: 1px solid var(--border-glass); font-size: 13px; font-weight: 700; color: var(--text-muted);
  cursor: pointer; transition: all 0.25s ease;
}
.shade-pill:hover, .shade-pill.active {
  background: var(--gold-gradient); color: #05070c; border-color: var(--gold-400);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35); transform: translateY(-2px);
}

.shade-preview-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center;
}
@media (max-width: 840px) { .shade-preview-grid { grid-template-columns: 1fr; } }
.shade-photo-wrap {
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gold-border);
  height: 320px; position: relative;
}
.shade-photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }

/* Sensory Hospitality Cards Grid */
.sensory-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
@media (max-width: 640px) { .sensory-grid { grid-template-columns: 1fr; } }
.sensory-card {
  background: var(--bg-card); border: 1px solid var(--gold-border); border-radius: var(--radius-md);
  padding: 32px; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: var(--shadow-card);
}
@media (max-width: 640px) { .sensory-card { padding: 22px; } }
.sensory-card:hover {
  transform: translateY(-4px); border-color: var(--gold-400);
  box-shadow: var(--shadow-luxury); background: var(--bg-card-hover);
}
.sensory-icon-wrap {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(212, 175, 55, 0.1); border: 1px solid var(--border-subtle);
  color: var(--gold-300); font-size: 22px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.sensory-title {
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px;
}
.sensory-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* Interactive Before / After Split Slider */
.ba-container {
  position: relative; width: 100%; max-width: 1000px; height: 460px;
  margin: 32px auto 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-luxury); border: 1px solid var(--gold-border); user-select: none; touch-action: pan-y;
}
@media (max-width: 768px) { .ba-container { height: 280px; margin-top: 20px; } }
.ba-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center;
}
.ba-before {
  background-image: url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1400&q=80');
  width: 50%; z-index: 2; border-right: 2px solid #dfcaa7;
}
.ba-after {
  background-image: url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=1400&q=80');
  z-index: 1;
}
.ba-tag {
  position: absolute; top: 14px; padding: 4px 12px; background: rgba(9, 13, 21, 0.9);
  backdrop-filter: blur(10px); color: var(--gold-300); font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 99px; pointer-events: none; border: 1px solid var(--gold-border);
}
.ba-tag.left { left: 14px; z-index: 3; }
.ba-tag.right { right: 14px; z-index: 2; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #dfcaa7;
  z-index: 4; cursor: ew-resize; transform: translateX(-50%);
}
.ba-handle-circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; background: var(--gold-gradient); color: #05070c; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6); border: 2px solid #fff;
}

/* Modal Popup */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5, 7, 12, 0.9); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); display: none; align-items: center; justify-content: center;
  z-index: 999; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-card {
  background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 480px;
  padding: 34px 28px; box-shadow: var(--shadow-luxury); position: relative; border: 1px solid var(--gold-border);
  max-height: 90vh; overflow-y: auto;
}
.modal-close-btn {
  position: absolute; top: 18px; right: 18px; font-size: 18px; color: var(--text-muted);
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s;
  border: 1px solid var(--border-glass);
}
.modal-close-btn:hover { color: #fff; border-color: var(--gold-400); }

/* Luxury Footer */
footer {
  background: var(--bg-deep); border-top: 1px solid var(--border-subtle); padding: 60px 0 32px; font-size: 13.5px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 48px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-col h4 {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-300); }
.footer-bottom {
  border-top: 1px solid var(--border-glass); padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--text-muted);
}


/* Hero Trust Row & Card Badge */
.hero-trust-row {
  display: flex; align-items: center; gap: 20px; margin-top: 32px; flex-wrap: wrap;
}
@media (max-width: 960px) { .hero-trust-row { justify-content: center; } }
.trust-item strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--gold-300);
}
.trust-item span { font-size: 12px; color: var(--text-muted); }
.trust-divider { width: 1px; height: 36px; background: var(--border-glass); }
@media (max-width: 640px) { .trust-divider { display: none; } }

.hero-card-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(9,13,21,0.88); backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border); border-radius: 99px;
  padding: 6px 14px; font-size: 11.5px; font-weight: 700; color: var(--gold-300);
}

/* Contacts responsive grid */
@media (max-width: 768px) {
  .section-pad [style*='grid-template-columns: 1fr 1fr'] {
    grid-template-columns: 1fr !important;
  }
}
