/* ==========================================================================
   3Dentist'S — Design System
   Paletă: Alb · Gri cald · Rose-gold
   ========================================================================== */

:root {
  /* Warm greys (slightly tinted toward rose) */
  --white: #FFFFFF;
  --off-white: #FBF9F8;
  --light-grey: #F5F2F0;
  --grey-100: #EDE8E5;
  --grey-200: #D9D2CE;
  --grey-300: #B8AFAA;
  --grey-400: #8A827E;
  --grey-500: #6E6864;
  --grey-600: #4A4543;
  --grey-700: #2E2A29;
  --grey-800: #1C1A19;
  --grey-900: #0A0908;

  /* Rose-gold accents (kept under --silver* var names for compatibility) */
  --silver-light: #F0DDD4;
  --silver: #C9A293;
  --silver-deep: #9C6F60;

  /* Gradients — rose-gold tones */
  --silver-gradient: linear-gradient(135deg, #FBF1EB 0%, #E8C7B8 25%, #C9A293 50%, #E8C7B8 75%, #FBF1EB 100%);
  --chrome-gradient: linear-gradient(180deg, #F5DFD3 0%, #D9B5A4 45%, #B08573 100%);
  --dark-gradient: linear-gradient(135deg, #2E2A29 0%, #1C1A19 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(28, 26, 25, 0.04);
  --shadow: 0 4px 16px rgba(28, 26, 25, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 26, 25, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 26, 25, 0.12);
  --shadow-xl: 0 30px 80px rgba(28, 26, 25, 0.18);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--grey-800);
}

p { line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: 1rem; }

/* Selection */
::selection { background: var(--grey-800); color: var(--white); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--light-grey); }
::-webkit-scrollbar-thumb { background: var(--silver-deep); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--grey-600); }

/* ==========================================================================
   Utilities
   ========================================================================== */

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--grey-500);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--silver);
}
.eyebrow.left::before { display: none; }
.eyebrow.right::after { display: none; }

.silver-text {
  background: linear-gradient(135deg, #6E6864 0%, #C9A293 30%, #6E6864 60%, #9C6F60 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-sm { padding: 40px 0; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-lg { padding: 18px 40px; font-size: 1rem; }

.btn-primary {
  background: var(--grey-800);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--grey-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-silver {
  background: var(--chrome-gradient);
  color: var(--grey-800);
  border: 1px solid var(--silver);
  box-shadow: 0 4px 12px rgba(184, 184, 192, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn-silver:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 184, 192, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-outline {
  background: transparent;
  color: var(--grey-800);
  border: 1px solid var(--grey-300);
}
.btn-outline:hover {
  background: var(--grey-800);
  color: var(--white);
  border-color: var(--grey-800);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--grey-800);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--grey-700);
  padding: 12px 20px;
}
.btn-ghost:hover { color: var(--grey-900); }

.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--grey-100);
  padding: 10px 0;
}

.navbar.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--grey-100);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo { display: flex; align-items: center; transition: transform 0.3s ease; color: var(--grey-800); }
.nav-logo:hover { transform: scale(1.03); }
.nav-logo svg { height: 52px; width: auto; }
.navbar.over-hero .nav-logo { color: var(--white); }
.navbar.over-hero.scrolled .nav-logo { color: var(--grey-800); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey-700);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.navbar.over-hero .nav-links a { color: var(--white); }
.navbar.over-hero.scrolled .nav-links a { color: var(--grey-700); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  color: var(--grey-800);
}
.nav-burger:hover { background: var(--grey-100); }
.navbar.over-hero .nav-burger { color: var(--white); }
.navbar.over-hero.scrolled .nav-burger { color: var(--grey-800); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--grey-100);
}
.mobile-menu-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-800);
}

.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  gap: 4px;
}
.mobile-menu-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--grey-800);
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-100);
  transition: padding 0.3s ease, color 0.3s ease;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  padding-left: 16px;
  color: var(--grey-500);
}
.mobile-menu-nav a.active { font-style: italic; }

.mobile-menu-footer {
  padding: 28px;
  border-top: 1px solid var(--grey-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-footer .quick-contact {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}
.mobile-menu-footer .quick-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--grey-600);
}

/* ==========================================================================
   Hero (white version)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(184, 184, 192, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(216, 216, 221, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-mark {
  display: inline-block;
  margin-bottom: 32px;
  filter: drop-shadow(0 12px 24px rgba(184, 184, 192, 0.35));
  animation: floatY 5s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--grey-900);
}
.hero-title em {
  font-style: italic;
  display: block;
  margin-top: 8px;
}

.hero-doctors {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--grey-500);
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--grey-500);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--grey-400);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--silver), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

@media (max-width: 768px) {
  .hero { min-height: 92vh; padding-top: 110px; }
  .hero-scroll { display: none; }
}

/* ==========================================================================
   Page hero (smaller)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--grey-800);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(200, 200, 210, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(150, 150, 160, 0.12) 0%, transparent 50%);
}
.page-hero-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
  opacity: 0.6;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--silver); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--silver-deep); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  margin: 18px 0 18px;
}
.page-hero h1 em { font-style: italic; }
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--grey-200);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 18px 0 18px;
  letter-spacing: -0.01em;
}
.section-head h2 em { font-style: italic; color: var(--grey-500); }
.section-head .lead {
  font-size: 1.05rem;
  color: var(--grey-500);
  max-width: 560px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--silver);
  margin: 24px auto 0;
}

/* ==========================================================================
   Stats strip
   ========================================================================== */

.stats {
  background: var(--grey-800);
  color: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--grey-700);
  border-bottom: 1px solid var(--grey-700);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--grey-400);
  margin-top: 6px;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ==========================================================================
   Service cards (homepage / services page)
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 20px;
  padding: 36px 30px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--silver-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--silver);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
  transition: all 0.4s ease;
  border: 1px solid var(--grey-100);
}
.service-card:hover .service-icon {
  background: var(--chrome-gradient);
  color: var(--grey-900);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--grey-500);
  line-height: 1.65;
}

.service-card-detail {
  display: flex;
  flex-direction: column;
}
.service-card-detail .service-icon { margin: 0 0 22px; }
.service-card-detail { text-align: left; }
.service-card-detail .card-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-700);
  border-top: 1px solid var(--grey-100);
  padding-top: 18px;
}
.service-card-detail:hover .card-link { color: var(--grey-900); }
.service-card-detail .card-link .arrow { transition: transform 0.3s ease; }
.service-card-detail:hover .card-link .arrow { transform: translateX(4px); }

/* ==========================================================================
   Doctors block (homepage / about)
   ========================================================================== */

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 880px) { .doctors-grid { grid-template-columns: 1fr; } }

.doctor-card {
  background: var(--grey-800);
  color: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.doctor-card:hover { transform: translateY(-6px); }
.doctor-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(216, 216, 221, 0.18), transparent 70%);
  pointer-events: none;
}
.doctor-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-light);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.doctor-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--silver);
  margin-bottom: 8px;
}
.doctor-name {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 18px;
  font-weight: 500;
}
.doctor-bio {
  color: var(--grey-200);
  line-height: 1.75;
  font-size: 0.95rem;
}
.doctor-card.detail .doctor-quote {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 2px solid var(--silver);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--silver-light);
  line-height: 1.55;
}

/* ==========================================================================
   Values (about page)
   ========================================================================== */

.value {
  display: flex;
  gap: 28px;
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--grey-100);
  border-radius: 20px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.value:hover {
  border-color: var(--silver);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--light-grey);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
}
.value h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.value p {
  color: var(--grey-600);
  margin-bottom: 12px;
  font-size: 1rem;
}
.value p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .value { flex-direction: column; padding: 28px; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-section {
  background: var(--grey-800);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(216, 216, 221, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(184, 184, 192, 0.08) 0%, transparent 45%);
}
.testimonials-section .section-head h2 { color: var(--white); }
.testimonials-section .section-head .lead { color: var(--grey-300); }

.testimonials {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(216, 216, 221, 0.25);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--silver-light);
}
.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--grey-100);
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--chrome-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--grey-800);
}
.testimonial-author .name {
  color: var(--white);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.testimonial-author .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--grey-400);
}

/* ==========================================================================
   CTA block
   ========================================================================== */

.cta-block {
  background: var(--dark-gradient);
  color: var(--white);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}
.cta-block::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(216, 216, 221, 0.16), transparent 70%);
}
.cta-block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--silver-light);
  position: relative;
  z-index: 1;
}
.cta-block h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-block p {
  color: var(--grey-300);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}
.cta-block .btn { position: relative; z-index: 1; }

/* ==========================================================================
   Prices page
   ========================================================================== */

.tabs-bar {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--grey-100);
  padding: 14px 0;
}
.tabs-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.tabs-scroll::-webkit-scrollbar { display: none; }
.tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-700);
  border: 1px solid var(--grey-200);
  border-radius: 999px;
  background: var(--white);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.tab-link:hover {
  border-color: var(--silver);
  color: var(--grey-900);
}
.tab-link.active {
  background: var(--grey-800);
  color: var(--white);
  border-color: var(--grey-800);
}

.price-block {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  scroll-margin-top: 130px;
}

.price-block-head {
  background: var(--dark-gradient);
  color: var(--white);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.price-block-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}
.price-block-head::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(216, 216, 221, 0.12), transparent 70%);
}
.price-block-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-light);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.price-block-head .titles { position: relative; z-index: 1; }
.price-block-head .step {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--silver);
  margin-bottom: 6px;
}
.price-block-head h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  margin: 0;
}

.price-items { display: flex; flex-direction: column; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 36px;
  border-bottom: 1px solid var(--grey-100);
  transition: background 0.2s ease;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--light-grey); }
.price-row .name {
  font-size: 1rem;
  color: var(--grey-800);
  line-height: 1.5;
}
.price-row .price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-800);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .price-row { padding: 18px 24px; }
  .price-block-head { padding: 26px 24px; }
  .price-row .price { font-size: 1.15rem; }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 12px;
}
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border-left: 3px solid var(--silver);
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.info-card p { font-size: 0.92rem; color: var(--grey-600); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--silver);
  box-shadow: var(--shadow-md);
}
.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
  margin-bottom: 18px;
}
.contact-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-card .primary-line {
  color: var(--grey-800);
  font-weight: 500;
  font-size: 0.98rem;
}
.contact-card .secondary-line {
  color: var(--grey-500);
  font-size: 0.85rem;
  margin-top: 2px;
}
.contact-card .action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: gap 0.3s ease;
}
.contact-card .action:hover { gap: 10px; color: var(--grey-900); }

.schedule-bar {
  background: var(--dark-gradient);
  color: var(--white);
  border-radius: 24px;
  padding: 36px 40px;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.schedule-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}
.schedule-bar::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(216, 216, 221, 0.12), transparent 70%);
}
@media (max-width: 720px) { .schedule-bar { grid-template-columns: 1fr; padding: 32px 28px; } }

.schedule-head { display: flex; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.schedule-head .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-light);
  flex-shrink: 0;
}
.schedule-head .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--silver);
  margin-bottom: 6px;
}
.schedule-head h3 { color: var(--white); font-size: 1.5rem; font-weight: 500; }

.schedule-list { position: relative; z-index: 1; }
.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(216, 216, 221, 0.15);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-row .day { color: var(--grey-300); }
.schedule-row .hours { font-weight: 500; color: var(--silver-light); }
.schedule-row.closed .hours { color: var(--grey-500); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}
@media (max-width: 880px) { .contact-form-wrap { grid-template-columns: 1fr; } }

.contact-form-side {
  background: var(--grey-800);
  color: var(--white);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.contact-form-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(216, 216, 221, 0.08), transparent 60%);
}
.contact-form-side > * { position: relative; z-index: 1; }
.contact-form-side .label-small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--silver);
  margin-bottom: 12px;
}
.contact-form-side h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 16px; font-weight: 500; }
.contact-form-side .desc { color: var(--grey-300); font-size: 0.95rem; line-height: 1.7; margin-bottom: 30px; }

.contact-quick-info { display: flex; flex-direction: column; gap: 14px; }
.contact-quick-info .row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--grey-100);
  font-size: 0.92rem;
}
.contact-quick-info .row svg { color: var(--silver-light); flex-shrink: 0; }
.contact-quick-info .row a { color: inherit; transition: color 0.3s ease; }
.contact-quick-info .row a:hover { color: var(--white); }

.contact-form-quote {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 216, 221, 0.15);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--silver-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form { padding: 48px 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-field-row { margin-bottom: 0; }
.form-field label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--grey-600);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--grey-800);
  transition: all 0.25s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--grey-700);
  box-shadow: 0 0 0 3px rgba(46, 46, 51, 0.08);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-feedback {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.form-feedback.error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form-feedback.success { background: var(--light-grey); color: var(--grey-800); border: 1px solid var(--grey-200); }

@media (max-width: 640px) {
  .contact-form-side, .contact-form { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Map */
.map-wrap {
  margin-top: 56px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--grey-900);
  color: var(--grey-300);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

.footer-brand .footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-brand .footer-logo svg { height: 64px; width: auto; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--silver-light);
  margin-bottom: 14px;
}
.footer-desc { font-size: 0.92rem; line-height: 1.7; color: var(--grey-400); }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-300);
  transition: all 0.3s ease;
}
.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateY(-2px);
  border-color: var(--silver);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--silver-light);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--silver);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--grey-400);
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--white); transform: translateX(4px); }

.footer-contact-list { display: flex; flex-direction: column; gap: 18px; }
.footer-contact-row { display: flex; gap: 12px; }
.footer-contact-row .icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-light);
  flex-shrink: 0;
}
.footer-contact-row .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--grey-500);
  margin-bottom: 3px;
}
.footer-contact-row .value {
  display: block;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  margin: 0;
  color: var(--grey-100);
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-contact-row .value a { color: var(--grey-100); text-decoration: none; transition: color 0.2s ease; }
.footer-contact-row .value a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-bottom .copy { font-size: 0.78rem; color: var(--grey-500); letter-spacing: 0.02em; }
.footer-bottom .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--silver);
}

/* ==========================================================================
   WhatsApp floating
   ========================================================================== */

.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  background: #1fb158;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5);
}
.whatsapp-btn svg { width: 30px; height: 30px; }

/* ==========================================================================
   Animations (reveal on scroll)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Responsive — Mobile breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn:not(.nav-burger) { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 768px) {
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; max-width: 320px; margin: 0 auto; }
  .stat-value { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .container, .container-wide, .container-narrow { padding: 0 20px; }
  .service-card, .value, .contact-card { padding: 28px 22px; }
  .doctor-card { padding: 36px 28px; }
  .cta-block { padding: 48px 24px; }
}

/* ==========================================================================
   Loading Screen — tooth with band-aid
   ========================================================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes loaderRemove {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader {
  animation: loaderRemove 0s ease 4s forwards;
}

.loader-tooth {
  position: relative;
  width: 200px;
  height: 260px;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 28px rgba(201, 162, 147, 0.30));
  animation: toothBreathe 1.6s ease-in-out forwards;
}
.loader-tooth img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  animation: toothFadeIn 1.2s ease-out forwards;
}

@keyframes toothFadeIn {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes toothBreathe {
  0%   { transform: scale(0.92); }
  35%  { transform: scale(1.0); }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1.0); }
}

/* Sparkles burst around the tooth */
.loader-spark {
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 0;
  z-index: 2;
}
.loader-spark::before,
.loader-spark::after {
  content: '';
  position: absolute;
  background: var(--silver);
  border-radius: 1px;
}
.loader-spark::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.loader-spark::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.loader-spark.s1 { top: 18%;    right: -16px; animation: sparkle 1.5s ease-out forwards 0.55s; }
.loader-spark.s2 { top: 42%;    left: -20px;  animation: sparkle 1.5s ease-out forwards 0.65s; }
.loader-spark.s3 { bottom: 28%; right: -10px; animation: sparkle 1.5s ease-out forwards 0.75s; }
.loader-spark.s4 { top: 6%;     left: 32%;    width: 8px; height: 8px; animation: sparkle 1.5s ease-out forwards 0.85s; }
.loader-spark.s5 { bottom: 12%; left: -12px;  width: 7px; height: 7px; animation: sparkle 1.5s ease-out forwards 0.95s; }

@keyframes sparkle {
  0%   { opacity: 0; transform: scale(0); }
  30%  { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(0.4); }
}

/* Heart pops up after the tooth appears */
.loader-heart {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 34px;
  height: 34px;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  animation: heartPop 1.5s ease-out forwards 0.95s;
  z-index: 3;
}
.loader-heart svg { width: 100%; height: 100%; display: block; }

@keyframes heartPop {
  0%   { opacity: 0; transform: translate(-50%, 6px) scale(0); }
  35%  { opacity: 1; transform: translate(-50%, -4px) scale(1.3); }
  55%  { opacity: 1; transform: translate(-50%, -8px) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -8px) scale(1); }
}

.loader-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--grey-800);
}
.loader-brand em {
  font-style: italic;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.loader-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--grey-500);
  margin-top: -12px;
}

.loader-progress {
  width: 80px;
  height: 2px;
  background: var(--grey-100);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.loader-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--silver-gradient);
  animation: progressSlide 1.4s ease-in-out infinite;
}
@keyframes progressSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

/* ==========================================================================
   Cookie Banner (GDPR)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 95;
  max-width: 540px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  padding: 24px 26px;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
  flex-shrink: 0;
}
.cookie-banner h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--grey-900);
  margin: 0;
}
.cookie-banner p {
  font-size: 0.85rem;
  color: var(--grey-600);
  margin-bottom: 16px;
  line-height: 1.6;
}
.cookie-banner p a {
  color: var(--grey-800);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn {
  flex: 1;
  padding: 11px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 20px;
  }
  .cookie-banner-actions { flex-direction: column; }
}

/* ==========================================================================
   Photo doctor cards (about & home)
   ========================================================================== */

.doctor-card.with-photo {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--grey-800);
  overflow: hidden;
}
.doctor-photo {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: var(--grey-700);
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.doctor-card.with-photo:hover .doctor-photo img { transform: scale(1.05); }
.doctor-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(28, 28, 32, 0.4) 100%);
  pointer-events: none;
}
.doctor-info {
  padding: 36px 36px 40px;
  position: relative;
  z-index: 1;
}
.doctor-card.with-photo .doctor-card-icon { display: none; }
.doctor-card.with-photo::after { display: none; }

@media (max-width: 640px) {
  .doctor-photo { height: 320px; }
  .doctor-info { padding: 28px 26px 32px; }
}

/* Team photo hero (about page) */
.team-hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 60px;
  background: var(--grey-800);
  box-shadow: var(--shadow-xl);
}
.team-hero-photo {
  position: relative;
  height: 460px;
  overflow: hidden;
}
.team-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.team-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 28, 32, 0.35) 0%, rgba(28, 28, 32, 0.15) 50%, rgba(28, 28, 32, 0.55) 100%);
}
.team-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  color: var(--white);
  z-index: 2;
}
.team-hero-overlay .eyebrow { color: var(--silver-light); }
.team-hero-overlay .eyebrow::before,
.team-hero-overlay .eyebrow::after { background: var(--silver); }
.team-hero-overlay h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-top: 12px;
  max-width: 600px;
}
.team-hero-overlay h2 em {
  font-style: italic;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 640px) {
  .team-hero-photo { height: 360px; }
  .team-hero-overlay { padding: 28px 22px; }
}

/* Tehnician section */
.tehnician-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
@media (max-width: 760px) { .tehnician-card { grid-template-columns: 1fr; } }

.tehnician-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--grey-100);
}
.tehnician-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.tehnician-body { padding: 44px 40px; }
.tehnician-body .label-small {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--silver-deep);
  margin-bottom: 10px;
}
.tehnician-body h3 { font-size: 1.8rem; margin-bottom: 14px; }
.tehnician-body p {
  color: var(--grey-600);
  line-height: 1.75;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .tehnician-body { padding: 28px 24px; }
  .tehnician-photo { min-height: 240px; }
}

/* Interior gallery */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--grey-100);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* Storefront / contact photo */
.location-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--grey-800);
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}
.location-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.location-photo-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--grey-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Cookies policy page styles
   ========================================================================== */

.policy-content {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 24px;
  padding: 56px 60px;
  box-shadow: var(--shadow);
}
.policy-content h2 {
  font-size: 1.8rem;
  margin: 36px 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--grey-100);
}
.policy-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.policy-content h3 {
  font-size: 1.25rem;
  margin: 24px 0 10px;
  color: var(--grey-800);
}
.policy-content p { color: var(--grey-600); margin-bottom: 14px; }
.policy-content ul {
  padding-left: 22px;
  margin-bottom: 16px;
  color: var(--grey-600);
}
.policy-content ul li { margin-bottom: 8px; line-height: 1.65; }
.policy-content table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.policy-content table th,
.policy-content table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--grey-100);
}
.policy-content table th {
  background: var(--light-grey);
  font-weight: 500;
  color: var(--grey-800);
}
.policy-content table td { color: var(--grey-600); }
.policy-meta {
  display: inline-block;
  background: var(--light-grey);
  border-left: 3px solid var(--silver);
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--grey-600);
  border-radius: 6px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .policy-content { padding: 36px 24px; }
}
