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

:root {
  --primary: #3d6670;
  --primary-dark: #2d4f56;
  --primary-light: #ecf2f0;
  --accent: #c9775a;
  --accent-dark: #b06044;
  --accent-light: #f5ece8;
  --text: #3d3d3d;
  --text-muted: #8a8580;
  --bg: #f9f6f1;
  --white: #ffffff;
  --border: #e5ddd5;
  --shadow: 0 4px 20px rgba(61, 102, 112, 0.08);
  --shadow-hover: 0 8px 30px rgba(61, 102, 112, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }



body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: #e2e8f0;
}

img[src^="images/"]:not([src*=".svg"]),
img[src^="images/uploads/"] {
  min-height: 40px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== Header ===== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header.sticky {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  max-height: 60px;
  width: auto;
  transition: max-height 0.3s;
}

.sticky .logo img { max-height: 48px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ===== Navigation ===== */
.nav-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-list {
  display: flex;
  gap: 0;
}

.nav-list a {
  display: block;
  padding: 14px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text);
  position: relative;
  transition: color 0.2s;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active { color: var(--primary); }

.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  color: var(--text);
  transition: color 0.2s;
}

.menu-toggle:hover { color: var(--primary); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 102, 112, 0.88) 0%, rgba(61, 102, 112, 0.65) 50%, rgba(45, 79, 86, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 24px;
  color: var(--white);
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 560px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 119, 90, 0.35);
}

.hero-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.hero-cta:hover svg { transform: translateX(4px); }

/* ===== Sections ===== */
section { padding: 80px 0; }
section:not(.hero) { background: var(--white); }
section:nth-child(even):not(.hero):not(.cta-section) { background: var(--bg); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-title span { color: var(--primary); }

.section-desc {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-desc.left {
  margin-left: 0;
  text-align: left;
}

/* ===== Welcome / Stats ===== */
.welcome-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.welcome-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.stat-card.revealed::before {
  opacity: 1;
}

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

.stat-card.revealed {
  animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.6) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

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

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
  min-height: 220px;
}

.feature-card:hover img { transform: scale(1.05); }

.feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ===== Testimonials ===== */
.testimonials-bg {
  background: var(--primary) !important;
  position: relative;
  overflow: hidden;
}

.testimonials-bg .section-title { color: var(--white); }
.testimonials-bg .section-title span { color: rgba(255,255,255,0.8); }
.testimonials-bg .section-label { color: rgba(255,255,255,0.6); }
.testimonials-bg .section-desc { color: rgba(255,255,255,0.85); }

.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item {
  min-width: 100%;
  padding: 0 20px;
  text-align: center;
}

.testimonial-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 40px;
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.dot:hover { transform: scale(1.2); }
.dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.15);
}

/* ===== Doctor Profile ===== */
.profile-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: start;
}

.profile-card {
  background: #fefcf8;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.profile-card.doctor { border-top: 4px solid var(--primary); }

.clinic-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.clinic-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 180px;
}

.clinic-photos img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.profile-header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  flex-shrink: 0;
  min-height: 90px;
  background: var(--primary-light);
}

.profile-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.profile-header .credentials {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.profile-header .role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.profile-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.info-block { margin-bottom: 20px; }

.info-block:last-child { margin-bottom: 0; }

.info-block h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-block .phone-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.timing-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 0.92rem;
}

.timing-grid .day { font-weight: 600; color: var(--text); }
.timing-grid .time { color: var(--primary); }

/* ===== Brands ===== */
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.brand-logos img {
  max-height: 44px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
  background: none;
  min-height: 0;
}

.brand-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.08);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  text-align: center;
  padding: 80px 24px;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--primary) !important;
  padding: 16px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===== Footer ===== */
.site-footer {
  background: #1a202c;
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.footer-col .footer-logo {
  max-height: 50px;
  width: auto;
  margin-bottom: 16px;
  background: none;
  min-height: 0;
}

.footer-col .footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 0.9rem;
  position: relative;
  padding-left: 14px;
}

.footer-col ul li a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  padding: 24px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ===== Inner Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  position: relative;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 12px;
  position: relative;
}

/* ===== Content Pages ===== */
.page-content {
  padding: 60px 0;
}

.content-body {
  max-width: 800px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.content-body h2 {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 16px;
}

.content-body h3 {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 12px;
}

.content-body p { margin-bottom: 16px; }

.content-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-body ul li { margin-bottom: 6px; }
.content-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ===== Treatments ===== */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.treatment-card {
  background: #fefcf8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.treatment-card:hover::before { transform: scaleX(1); }

.treatment-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.treatment-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.treatment-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Testimonials Page ===== */
.testimonials-list {
  max-width: 800px;
  margin: 0 auto;
}

.tes-item {
  background: #fefcf8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}

.tes-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.tes-item::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-light);
  font-family: Georgia, serif;
  opacity: 0.4;
}

.tes-item p {
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 20px;
}

.tes-item cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  padding-left: 20px;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-grid a {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gallery-grid a::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(13, 122, 124, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-grid a:hover::after { opacity: 1; }

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
  min-height: 220px;
}

.gallery-grid a:hover img { transform: scale(1.08); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-card {
  background: #fefcf8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item .phone-large {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 350px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
  display: block;
}

/* ===== Appointment Form ===== */
.appt-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.appt-form {
  background: #fefcf8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 0;
}

.form-group.full { grid-column: 1 / -1; }

.appt-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 6px;
}

.appt-form input,
.appt-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.appt-form input:focus,
.appt-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 122, 124, 0.1);
  background: var(--white);
}

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

.appt-form .submit-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  width: 100%;
  margin-top: 8px;
}

.appt-form .submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 119, 90, 0.3);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: none;
  min-height: 0;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.1);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stat-card.reveal {
  opacity: 0;
  transform: none;
}

.stat-card.reveal.revealed {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .clinic-photos { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-wrap { grid-template-columns: 1fr; }
  .welcome-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }

  .header-top { padding: 10px 16px; }
  .header-right { gap: 12px; }

  .menu-toggle { display: block; }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
  }

  .nav-list.open { display: flex; }

  .nav-list a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-list a::after { display: none; }
  .nav-list a:hover,
  .nav-list a.active {
    background: var(--primary-light);
    color: var(--primary);
  }

  .hero { min-height: 350px; }
  .hero-bg img { min-height: 350px; }

  .hero-content { padding: 60px 24px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }

  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-card img { height: 160px; min-height: 160px; }

  .section-title { font-size: 1.5rem; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-number { font-size: 1.8rem; }

  .testimonial-card { padding: 28px 20px; }
  .testimonial-card blockquote { font-size: 1rem; }

  .profile-card,
  .contact-info-card,
  .appt-form { padding: 24px; }
  .profile-header { flex-direction: column; text-align: center; }

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

  .page-hero { padding: 60px 24px; }
  .page-hero h1 { font-size: 1.6rem; }

  .form-grid { grid-template-columns: 1fr; }
  .appt-form { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-info-card { padding: 24px; }

  .cta-section { padding: 56px 24px; }
  .cta-section h2 { font-size: 1.5rem; }

  .brand-logos { gap: 24px; }
  .brand-logos img { max-height: 32px; }
}

@media (max-width: 480px) {
  .clinic-photos { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
