/* ═══════════════════════════════════════════════════════
   UNIQUE DENTAL CARE — Public Website
   Aesthetic: Warm luxury, editorial dental clinic
   Fonts: Playfair Display + Outfit
   ═══════════════════════════════════════════════════════ */

:root {
  --sage: #5b8a72;
  --sage-light: #e8f0eb;
  --sage-dark: #3d6b54;
  --sage-10: rgba(91,138,114,0.1);
  --ivory: #faf8f5;
  --cream: #f3efe9;
  --sand: #e8e2da;
  --stone: #c4bbaf;
  --walnut: #8b7e6f;
  --charcoal: #2c2825;
  --espresso: #1a1715;
  --coral: #d4786a;
  --coral-light: #fdf0ee;
  --amber: #c8943e;
  --gold: #b8962e;
  --white: #ffffff;
}

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

html {
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--ivory);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ── */
.font-display {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.02em;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--sage);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--espresso);
}

.section-subtitle {
  font-size: 17px;
  color: var(--walnut);
  max-width: 560px;
  line-height: 1.65;
  font-weight: 350;
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all .35s ease;
}

.navbar.scrolled {
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(44,40,37,0.06);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height .3s ease;
}

.navbar.scrolled .navbar-inner { height: 64px; }

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

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(91,138,114,0.25);
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--espresso);
}

.nav-logo-text em {
  color: var(--sage);
  font-style: italic;
  font-weight: 500;
}

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

.nav-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 450;
  color: var(--walnut);
  border-radius: 8px;
  transition: all .15s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--sage-dark);
  background: var(--sage-10);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: #fff;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 9px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(91,138,114,0.2);
}

.nav-links .nav-cta:hover {
  box-shadow: 0 4px 16px rgba(91,138,114,0.3);
  background: var(--sage-dark);
  transform: translateY(-1px);
}

.nav-lang {
  display: flex;
  gap: 2px;
  margin-left: 12px;
  background: var(--cream);
  border-radius: 7px;
  padding: 2px;
  border: 1px solid var(--sand);
}

.nav-lang button {
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background: transparent;
  color: var(--walnut);
  font-family: inherit;
  transition: all .15s;
}

.nav-lang button.active {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 1px 4px rgba(91,138,114,0.25);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(20px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 22px;
  font-family: 'Playfair Display', serif;
  color: var(--charcoal);
  padding: 12px 24px;
  border-radius: 12px;
  transition: all .15s;
}

.mobile-menu a:hover { background: var(--sage-10); color: var(--sage-dark); }

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--charcoal);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--ivory) 0%, var(--cream) 50%, var(--sage-light) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(91,138,114,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,148,62,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sage-dark);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(44,40,37,0.04);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero h1 em {
  color: var(--sage);
  font-style: italic;
}

.hero-text {
  font-size: 17.5px;
  color: var(--walnut);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  font-weight: 350;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 550;
  font-family: 'Outfit', sans-serif;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(91,138,114,0.25);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91,138,114,0.3);
}

.btn-hero-outline {
  background: var(--white);
  color: var(--charcoal);
  border: 1.5px solid var(--sand);
}

.btn-hero-outline:hover {
  background: var(--cream);
  border-color: var(--stone);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--cream), var(--sand));
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(44,40,37,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-content {
  text-align: center;
  color: var(--walnut);
  padding: 40px;
}

.hero-image-content svg {
  width: 120px;
  height: 120px;
  color: var(--sage);
  opacity: 0.4;
  margin-bottom: 20px;
}

.hero-image-content p {
  font-size: 14px;
  font-style: italic;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 8px 28px rgba(44,40,37,0.08);
  border: 1px solid rgba(232,226,218,0.6);
  animation: float-card 5s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 12%;
  right: -30px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -30px;
  animation-delay: 2.5s;
}

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

.float-card-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--walnut);
  margin-bottom: 6px;
}

.float-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--sage-dark);
}

.float-card-sub {
  font-size: 12px;
  color: var(--stone);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   SERVICES STRIP
   ═══════════════════════════════════════════════════════ */
.services-strip {
  background: var(--espresso);
  padding: 56px 0;
  overflow: hidden;
}

.services-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  font-weight: 450;
  white-space: nowrap;
}

.service-pill-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.service-pill-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.08);
}

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--cream), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder {
  text-align: center;
  color: var(--walnut);
  opacity: 0.6;
  font-size: 14px;
  font-style: italic;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.about-stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--sand);
}

.about-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--sage);
}

.about-stat-label {
  font-size: 12px;
  color: var(--walnut);
  font-weight: 450;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--sand);
  overflow: hidden;
  transition: all .25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44,40,37,0.08);
  border-color: var(--sage);
}

.team-photo {
  aspect-ratio: 3/3.2;
  background: linear-gradient(145deg, var(--cream), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-photo-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(91,138,114,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--sage-dark);
}

.team-info {
  padding: 24px;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13.5px;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13.5px;
  color: var(--walnut);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════ */
.gallery-section { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.gallery-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--sand);
  overflow: hidden;
  transition: all .25s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(44,40,37,0.08);
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--sand), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 13px;
  color: var(--walnut);
  font-weight: 450;
}

.gallery-img:first-child {
  border-right: 1px solid var(--sand);
}

.gallery-img .label-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 3px 10px;
  background: rgba(26,23,21,0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.gallery-details {
  padding: 20px 22px;
}

.gallery-procedure {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.gallery-description {
  font-size: 13.5px;
  color: var(--walnut);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   CONTACT / BOOKING
   ═══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--sand);
  padding: 36px;
  box-shadow: 0 4px 20px rgba(44,40,37,0.04);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--walnut);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  transition: all .15s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(91,138,114,0.12);
  background: var(--white);
}

.form-textarea { resize: vertical; min-height: 100px; }
.form-select { cursor: pointer; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 550;
  font-family: 'Outfit', sans-serif;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 16px rgba(91,138,114,0.2);
  margin-top: 6px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91,138,114,0.3);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--sand);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all .2s ease;
}

.contact-card:hover {
  border-color: var(--sage);
  box-shadow: 0 4px 16px rgba(91,138,114,0.06);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--sage-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card-title {
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.contact-card-text {
  font-size: 13.5px;
  color: var(--walnut);
  line-height: 1.55;
}

/* Map placeholder */
.map-card {
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--sand);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--walnut);
  font-size: 14px;
  font-style: italic;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--espresso);
  color: rgba(255,255,255,0.5);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand em { color: var(--sage); font-style: italic; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  transition: color .15s;
}

.footer-col a:hover { color: var(--sage); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all .6s cubic-bezier(.4,0,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.26s; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-image-frame { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; } 
    
}


@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .about-stats { grid-template-columns: 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .services-strip-inner { gap: 24px; justify-content: flex-start; }
  .service-pill-divider { display: none; }
}

.nav-logo-img {
  height: auto;
  max-height: 48px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  transition: all .3s ease;
}

.navbar.scrolled .nav-logo-img {
  max-height: 36px;
  max-width: 170px;
}