/* ===================== */
/* RESET E VARIÁVEIS */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #b99973;
  --color-secondary: #59493b;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-whatsapp: #25d366;
  --color-bg-light: #f8f6f3;
  
  /* Espaçamentos */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Fontes */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", sans-serif;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-white);
  color: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===================== */
/* CONTAINER */
/* ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* ===================== */
/* NAVBAR - MOBILE FIRST */
/* ===================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background-color: transparent;
}

#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(185, 153, 115, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm);
}

/* Logo */
.logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.logo-btn:hover {
  opacity: 0.8;
}

.logo {
  height: 2.5rem;
  width: auto;
}

/* Nav Links - Escondidos no mobile por padrão */
.nav-links {
  display: none;
  gap: var(--spacing-lg);
  transition: all 0.4s ease;
}

.nav-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  transition: all 0.3s;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(185, 153, 115, 0.1);
}

/* Menu Button - Visível no mobile */
.menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: var(--spacing-xs);
}

.menu-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
}

/* Menu Dropdown - Mobile */
.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(185, 153, 115, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.menu-dropdown.active {
  max-height: 300px;
  opacity: 1;
  pointer-events: all;
}

.menu-dropdown a {
  display: block;
  width: 100%;
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-md);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

.menu-dropdown a:last-child {
  border-bottom: none;
}

.menu-dropdown a:hover {
  background-color: rgba(185, 153, 115, 0.1);
}

/* ===================== */
/* HERO SECTION - MOBILE FIRST */
/* ===================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.03)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 var(--spacing-sm);
  max-width: 100%;
}

.hero-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1s ease;
}

.hero-title img {
  width: 150px;
  margin-bottom: var(--spacing-sm);
}

.title-main {
  color: var(--color-primary);
  font-size: 2rem;
}

.title-sub {
  font-size: 1.25rem;
  color: var(--color-primary);
  display: block;
  margin-top: var(--spacing-xs);
}

.hero-btn {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s backwards;
  margin-top: var(--spacing-sm);
}

.hero-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.05);
}

/* ===================== */
/* CARROSSEL - MOBILE FIRST */
/* ===================== */
.promo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #f8f6f3;
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-link {
  display: block;
  width: 100%;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  z-index: 10;
  width: 90%;
  max-width: 600px;
}

.carousel-content h2 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.carousel-content p {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.carousel-btn {
  background: var(--color-whatsapp);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #20ba5a;
  transform: scale(1.05);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(185, 153, 115, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--color-primary);
}

.indicator.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* ===================== */
/* SECTION TITLE - MOBILE FIRST */
/* ===================== */
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
  letter-spacing: 1px;
}

/* ===================== */
/* BENEFITS SECTION - MOBILE FIRST */
/* ===================== */
.benefits-section {
  padding: var(--spacing-xl) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

.benefit-card {
  text-align: center;
  padding: var(--spacing-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
}

.benefit-card:hover {
  border-color: var(--color-primary);
}

.benefit-card img {
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--spacing-xs);
  transition: transform 0.3s ease;
  border-radius: var(--radius-sm);
}

.benefit-card:hover img {
  transform: scale(1.1);
}

.benefit-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
  font-size: 0.9rem;
}

.benefit-card p {
  color: var(--color-black);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* ===================== */
/* ABOUT GALLERY SECTION - MOBILE FIRST */
/* ===================== */
.about-gallery-section {
  padding: var(--spacing-xl) 0;
}

.about-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

/* Gallery */
.gallery {
  display: flex;
  flex-direction: column;
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  filter: brightness(0.7);
  transition: filter 0.3s ease;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
  filter: brightness(1);
}

/* About Text */
.about-text {
  text-align: center;
}

.about-text h2 {
  color: var(--color-primary);
  font-size: 1.75rem;
  margin-bottom: var(--spacing-xs);
}

.about-text h4 {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

/* ===================== */
/* BEFORE AFTER SECTION - MOBILE FIRST */
/* ===================== */
.before-after-section {
  padding: var(--spacing-lg) 0;
}

.before-after-section h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: var(--spacing-xs);
}

.section-subtitle {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  font-size: 0.9rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  padding: 0 var(--spacing-sm);
}

.comparison-slider {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.comparison-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-image {
  clip-path: inset(0 50% 0 0);
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.slider-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--color-white);
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.1s ease;
}

.slider-button::before,
.slider-button::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
}

.slider-button::before {
  left: 10px;
  border-width: 5px 6px 5px 0;
  border-color: transparent var(--color-primary) transparent transparent;
}

.slider-button::after {
  right: 10px;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent var(--color-primary);
}

.comparison-container .slider-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  transition: left 0.1s ease;
}

/* ===================== */
/* TESTIMONIALS SECTION - MOBILE FIRST */
/* ===================== */
.testimonials-section {
  padding: var(--spacing-lg) 0;
}

.testimonials-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: 0 var(--spacing-sm);
}

.testimonials-image {
  display: none;
}

.testimonials-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.testimonials-slider h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.testimonials-wrapper {
  position: relative;
  padding: 0 50px;
}

.testimonial-card {
  display: none;
  padding: var(--spacing-md);
  background: rgba(185, 153, 115, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(185, 153, 115, 0.2);
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.quote-icon {
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
}

.testimonial-text {
  color: var(--color-black);
  font-size: 0.9rem;
  margin: var(--spacing-sm) 0;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  color: var(--color-primary);
  font-weight: 600;
  text-align: right;
  font-size: 0.9rem;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-arrow:hover {
  background: var(--color-secondary);
  transform: translateY(-50%) scale(1.1);
}

.testimonial-arrow.prev {
  left: 0;
}

.testimonial-arrow.next {
  right: 0;
}

/* ===================== */
/* EMERGENCY SECTION - MOBILE FIRST */
/* ===================== */
.emergency-section {
  padding: var(--spacing-xl) 0;
  background: rgba(185, 153, 115, 0.06);
}

.emergency-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-md);
}

.emergency-image img {
  width: 70px;
  height: auto;
}

.emergency-content h3 {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-xs);
}

.emergency-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: var(--spacing-sm);
}

.emergency-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.emergency-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===================== */
/* CONTACT SECTION - MOBILE FIRST */
/* ===================== */
.contact-section {
  padding: var(--spacing-lg) 0;
}

.contact-section h2 {
  color: var(--color-primary);
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: 0 var(--spacing-sm);
}

.map-container {
  height: 250px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(185, 153, 115, 0.05);
  border: 1px solid rgba(185, 153, 115, 0.2);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: rgba(185, 153, 115, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card h3 {
  color: var(--color-primary);
  margin-bottom: 2px;
  font-size: 1rem;
}

.contact-card p {
  color: var(--color-black);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ===================== */
/* FOOTER - MOBILE FIRST */
/* ===================== */
.footer {
  background: var(--color-white);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

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

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: var(--spacing-xs);
}

.footer-slogan {
  color: var(--color-black);
  font-size: 1rem;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(185, 153, 115, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: var(--spacing-md) 0;
}

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

.footer-copyright {
  color: var(--color-primary);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.footer-dev {
  color: var(--color-black);
  font-size: 0.7rem;
}

/* ===================== */
/* ABOUT PAGE - MOBILE FIRST */
/* ===================== */
.about-page-section {
  padding: 5rem 0 var(--spacing-xl);
}

.about-page-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding: 0 var(--spacing-sm);
}

.about-page-header h1 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.about-page-header .lead {
  color: var(--color-black);
  font-size: 1.1rem;
}

.about-page-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: 0 var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.about-page-image-small img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(185, 153, 115, 0.2);
}

.about-page-text h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.about-page-text p {
  color: var(--color-black);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  font-size: 1rem;
}

.smiling-people-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
}

.smiling-people-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.about-values {
  margin-top: var(--spacing-xl);
  padding: 0 var(--spacing-sm);
}

.about-values h2 {
  color: var(--color-primary);
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

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

.value-card {
  text-align: center;
  padding: var(--spacing-md);
  background: rgba(185, 153, 115, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(185, 153, 115, 0.1);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(185, 153, 115, 0.15);
  border-color: var(--color-primary);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.value-card h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.value-card p {
  color: var(--color-black);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ===================== */
/* DENTIST SECTION - MOBILE FIRST */
/* ===================== */
.dentist-section {
  width: 100%;
  background: var(--color-bg-light);
  padding: var(--spacing-2xl) 0;
}

.dentist-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-lg);
}

.dentist-image img {
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius-md);
}

.dentist-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-secondary);
}

.dentist-content h2 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

.dentist-content p {
  font-size: 0.9rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-secondary);
}

.dentist-content span {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--color-primary);
}

/* ===================== */
/* SERVICES PAGE HEADER */
/* ===================== */
.services-page-header {
  padding-top: 6rem;
  padding-bottom: var(--spacing-sm);
}

/* ===================== */
/* SERVICES SECTION - MOBILE FIRST */
/* ===================== */
.services-section {
  padding: var(--spacing-xl) 0;
}

.services-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xl);
}

.service::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.15),
    transparent
  );
}

.service:last-child::after {
  display: none;
}

.service-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: rgba(185, 153, 115, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 65px;
  height: auto;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.service-top h3 {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-xs);
}

.service-top p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-black);
}

.before-after {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.ba-item {
  position: relative;
  width: 110px;
  height: 75px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.ba-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-item::after {
  content: attr(data-label);
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* ===================== */
/* ANIMATIONS */
/* ===================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade,
.animate-service {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service.animate-service {
  transform: translateY(40px);
}

.animate-active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== */
/* TABLET BREAKPOINT (min-width: 600px) */
/* ===================== */
@media (min-width: 600px) {
  .logo {
    height: 3rem;
  }

  .menu-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-title img {
    width: 180px;
  }

  .title-sub {
    font-size: 1.5rem;
  }

  .carousel-content h2 {
    font-size: 2rem;
  }

  .carousel-control {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .carousel-control.prev {
    left: 15px;
  }

  .carousel-control.next {
    right: 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .benefits-grid {
    gap: var(--spacing-md);
  }

  .benefit-card {
    padding: var(--spacing-md);
  }

  .benefit-card img {
    width: 3.5rem;
    height: 3.5rem;
  }

  .benefit-card h3 {
    font-size: 1rem;
  }

  .benefit-card p {
    font-size: 0.85rem;
  }

  .gallery-main {
    height: 300px;
  }

  .gallery-thumbs img {
    height: 100px;
  }

  .before-after-grid {
    grid-template-columns: repeat(2, 1fr);
  }

.values-grid {
  grid-template-columns: repeat(2, 1fr);
  }
  
  .map-container {
  height: 300px;
  }
  
  .service-icon {
    width: 120px;
    height: 120px;
  }

  .service-icon img {
    width: 80px;
  }

  .ba-item {
    width: 130px;
    height: 85px;
  }

  .ba-item::after {
    font-size: 10px;
  }
}

/* ===================== */
/* DESKTOP BREAKPOINT (min-width: 768px) */
/* ===================== */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  /* Navbar Desktop */
  .nav-links {
    display: flex;
  }

  #navbar:not(.scrolled) .nav-links {
    display: flex;
    opacity: 1;
  }

  #navbar.scrolled .nav-links {
    display: none;
    opacity: 0;
  }

  .menu-btn {
    display: none;
    opacity: 0;
  }

  #navbar.scrolled .menu-btn {
    display: block;
    opacity: 1;
  }

  .menu-dropdown {
    position: absolute;
    top: 100%;
    right: var(--spacing-md);
    left: auto;
    width: 16rem;
    border-radius: var(--radius-sm);
  }

  .menu-dropdown a {
    text-align: left;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .logo {
    height: 3.5rem;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  /* Hero Desktop */
  .hero-section {
    height: 80vh;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-title img {
    width: 200px;
  }

  .title-sub {
    font-size: 2rem;
  }

  .hero-btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }

  /* Carousel Desktop */
  .carousel-content h2 {
    font-size: 2.5rem;
  }

  .carousel-content p {
    font-size: 1.25rem;
  }

  .carousel-control {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .carousel-control.prev {
    left: 20px;
  }

  .carousel-control.next {
    right: 20px;
  }

  .indicator {
    width: 12px;
    height: 12px;
  }

  /* Section Title Desktop */
  .section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
  }

  /* Benefits Desktop */
  .benefits-section {
    padding: var(--spacing-2xl) 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
  }

  .benefit-card {
    padding: var(--spacing-md);
  }

  .benefit-card img {
    width: 4rem;
    height: 4rem;
    margin-bottom: var(--spacing-sm);
  }

  .benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
  }

  .benefit-card p {
    font-size: 0.875rem;
  }

  /* About Gallery Desktop */
  .about-gallery-section {
    padding: var(--spacing-2xl) 0;
  }

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

  .gallery-main {
    height: 420px;
  }

  .gallery-thumbs img {
    height: 110px;
  }

  .about-text {
    text-align: left;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1.125rem;
  }

  /* Before After Desktop */
  .before-after-section {
    padding: var(--spacing-lg) 0;
  }

  .before-after-section h2 {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .before-after-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding: 0;
  }

  .slider-button {
    width: 50px;
    height: 50px;
  }

  .slider-button::before {
    left: 12px;
    border-width: 6px 8px 6px 0;
  }

  .slider-button::after {
    right: 12px;
    border-width: 6px 0 6px 8px;
  }

  /* Testimonials Desktop */
  .testimonials-section {
    padding: var(--spacing-lg) 0;
  }

  .testimonials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    padding: 0;
  }

  .testimonials-image {
    display: block;
  }

  .testimonials-slider h2 {
    font-size: 2.5rem;
    text-align: left;
  }

  .testimonials-wrapper {
    padding: 0;
  }

  .testimonial-card {
    padding: var(--spacing-lg);
  }

  .quote-icon {
    font-size: 3rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-author {
    font-size: 1rem;
  }

  .testimonial-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .testimonial-arrow.prev {
    left: -60px;
  }

  .testimonial-arrow.next {
    right: -60px;
  }

  /* Emergency Desktop */
  .emergency-container {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-lg);
  }

  .emergency-image img {
    width: 90px;
  }

  .emergency-content h3 {
    font-size: 1.375rem;
  }

  .emergency-content p {
    font-size: 0.95rem;
  }

  /* Contact Desktop */
  .contact-section {
    padding: var(--spacing-lg) 0;
  }

  .contact-section h2 {
    font-size: 2.5rem;
  }

  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    padding: 0;
  }

  .map-container {
    height: 100%;
    min-height: 400px;
  }

  .contact-cards {
    justify-content: space-between;
  }

  .contact-card {
    padding: var(--spacing-md);
  }

  .contact-icon {
    font-size: 2rem;
  }

  .contact-card h3 {
    font-size: 1.125rem;
  }

  .contact-card p {
    font-size: 0.875rem;
  }

  /* Footer Desktop */
  .footer {
    padding: var(--spacing-xl) 0 var(--spacing-sm);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
  }

  .footer-brand {
    text-align: left;
  }

  .footer-logo {
    height: 4rem;
  }

  .footer-slogan {
    font-size: 1.2rem;
  }

  /* About Page Desktop */
  .about-page-section {
    padding: 6rem 0 var(--spacing-2xl);
  }

  .about-page-header h1 {
    font-size: 3rem;
  }

  .about-page-header .lead {
    font-size: 1.5rem;
  }

  .about-page-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    padding: 0;
  }

  .about-page-text h2 {
    font-size: 2rem;
  }

.about-page-text p {
  font-size: 1.05rem;
  }
  
  .about-values h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .value-card {
    padding: var(--spacing-lg);
  }

  .value-icon {
    font-size: 3rem;
  }

  .value-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }

  .value-card p {
    font-size: 1rem;
  }

  /* Dentist Desktop */
  .dentist-section {
    padding: 5rem 0;
  }

  .dentist-wrapper {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-2xl);
    padding: 0 var(--spacing-lg);
  }

  .dentist-image {
    flex: 1;
  }

  .dentist-image img {
    max-width: 500px;
  }

  .dentist-content {
    flex: 1;
  }

  .dentist-content h3 {
    font-size: 2rem;
  }

  .dentist-content h2 {
    font-size: 1.125rem;
  }

  .dentist-content p {
    font-size: 1.125rem;
  }

  /* Services Desktop */
  .services-section {
    padding: var(--spacing-2xl) 0;
  }

  .services-container {
    padding: 0 var(--spacing-md);
  }

  .services-list {
    gap: var(--spacing-2xl);
  }

  .service {
    flex-direction: row;
    text-align: left;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
  }

  .service:nth-child(even) {
    flex-direction: row-reverse;
  }

  .service-icon {
    width: 200px;
    height: 200px;
  }

  .service-icon img {
    width: 160px;
  }

  .service-content {
    gap: var(--spacing-md);
  }

  .service-top h3 {
    font-size: 1.5rem;
  }

  .service-top p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .before-after {
    justify-content: flex-start;
    gap: var(--spacing-md);
  }

  .ba-item {
    width: 150px;
    height: 100px;
  }

  .ba-item::after {
    font-size: 11px;
  }

  /* Animation adjustments for desktop */
  .service.animate-service {
    transform: translateX(-60px);
  }

  .service:nth-child(even).animate-service {
    transform: translateX(60px);
  }
}

/* ===================== */
/* LARGE DESKTOP BREAKPOINT (min-width: 1024px) */
/* ===================== */
@media (min-width: 1024px) {
  .hero-section {
    height: 80vh;
  }

  .hero-content {
    max-width: 56rem;
  }

  .carousel-content {
    max-width: 700px;
  }

  .testimonial-arrow.prev {
    left: -70px;
  }

  .testimonial-arrow.next {
    right: -70px;
  }
}

/* ===================== */
/* EXTRA LARGE DESKTOP (min-width: 1200px) */
/* ===================== */
@media (min-width: 1200px) {
  .container {
    padding: 0 var(--spacing-lg);
  }

  .services-container {
    padding: 0 var(--spacing-lg);
  }

  .ba-item {
    width: 180px;
    height: 120px;
  }
}
