/* ===== ELITE DENTAL — MAIN STYLESHEET ===== */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=DM+Sans:wght@300;400;500&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');


:root {
  --teal: #0a6e6e;
  --teal-light: #0d8f8f;
  --teal-pale: #e8f5f5;
  --gold: #c9a84c;
  --gold-light: #f0d98a;
  --dark: #0f1f1f;
  --dark-mid: #1e3535;
  --text: #2c3e3e;
  --text-muted: #5a7070;
  --border: #d4e6e6;
  --white: #ffffff;
  --off-white: #f7fafa;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(10, 110, 110, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 110, 110, 0.14);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-height: 90px;
  --top-band-bg: #0cb3ab;
  --top-band-height: 38px;
  --header-height: calc(var(--nav-height) + var(--top-band-height));
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
}

h4 {
  font-size: 1.1rem;
  font-weight: 400;
}

p {
  font-size: 1rem;
  color: var(--text-muted);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── LAYOUT ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--off-white);
}

.section--dark {
  background: var(--dark);
}

.section--teal {
  background: var(--teal);
}

/* ── HEADER & TOP BAND ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header.scrolled .nav {
  box-shadow: var(--shadow);
}

.top-band {
  background: var(--top-band-bg);
  color: var(--white);
  height: var(--top-band-height);
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}
.top-band a {
  color: inherit;
  transition: opacity 0.2s;
}
.top-band a:hover {
  opacity: 0.8;
}
.top-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.top-band__info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.top-band__info i {
  margin-right: 0.4rem;
}
.top-band__social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.top-band__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--white);
  color: var(--top-band-bg);
  border-radius: 4px;
}
.top-band__social a:hover {
  opacity: 0.8;
}

/* ── NAVBAR ── */
.nav {
  position: relative;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: var(--shadow);
}

.nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.nav__logo-sub {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--teal);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
  letter-spacing: 0.03em;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--teal-light) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
  box-shadow: var(--shadow);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.nav__mobile a:last-child {
  border: none;
  padding-bottom: 0;
}

.nav__mobile .nav__cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.22s;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 110, 110, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn--outline:hover {
  background: var(--teal-pale);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--teal-pale);
  border-color: var(--teal-pale);
}

.btn--gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-light);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 0.95rem;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.badge--teal {
  background: var(--teal-pale);
  color: var(--teal);
}

.badge--gold {
  background: #fdf3d9;
  color: #8a6d00;
}

/* ── DIVIDER ── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}

.divider--center {
  margin: 1rem auto 1.5rem;
}

/* ── GRID HELPERS ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── HERO CAROUSEL ── */
.hero-section {
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 31, 31, 0.95) 0%, rgba(15, 31, 31, 0.7) 45%, rgba(15, 31, 31, 0) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* ── HERO SHARED ── */
.page-hero {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(10, 110, 110, 0.35) 0%, transparent 65%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 1rem 0 2rem;
}

.page-hero__breadcrumb {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero__breadcrumb a:hover {
  color: var(--gold);
}

.page-hero__breadcrumb span {
  opacity: 0.4;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--teal);
  padding: 2.5rem 0;
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.stat__label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

/* ── TESTIMONIALS ── */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.testimonial__stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial__author {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--dark);
}

.testimonial__detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
}

.faq-question:hover {
  color: var(--teal);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
  font-size: 0.9rem;
  color: var(--teal);
}

.faq-item.open .faq-icon {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── FORM ── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer__brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.footer__heading {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── STICKY CTA BAR ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(100%);
  transition: transform 0.4s;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.sticky-cta .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* ── INVISALIGN BADGE ── */
.invisalign-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.25rem;
}

.invisalign-badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.invisalign-badge__text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.fade-up--1 {
  animation-delay: 0.1s;
}

.fade-up--2 {
  animation-delay: 0.22s;
}

.fade-up--3 {
  animation-delay: 0.34s;
}

.fade-up--4 {
  animation-delay: 0.46s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 660px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  :root {
    --header-height: var(--nav-height); /* On small mobile, top band stacks and is auto height, we adjust top */
  }

  .top-band {
    display: none;
  }

  .nav__mobile {
    top: var(--nav-height);
  }

  .hero-section {
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .sticky-cta {
    display: none !important;
  }
}

/* ===== NEW LOGO ===== */
.nav__logo-img {
  height: 65px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .nav__logo-img {
    height: 45px;
  }
}

/* ===== HERO LAYOUT ===== */
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  object-fit: cover;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    max-width: 280px;
    margin-top: 1.5rem;
  }
}

/* ── FLOATING ICONS ── */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 38px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: var(--white);
}

.floating-phone {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: var(--top-band-bg);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.floating-phone:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: var(--white);
}