/* ============================================
   Cafercan Dental Clinic — Premium Styles
   ============================================ */

:root {
  --blue: #1E5FA8;
  --blue-dark: #164a85;
  --blue-light: #2d7fd4;
  --turquoise: #20C6C7;
  --turquoise-light: #4dd9da;
  --turquoise-pale: rgba(32, 198, 199, 0.1);
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #334155;
  --text-dark: #1e293b;
  --shadow-sm: 0 2px 8px rgba(30, 95, 168, 0.06);
  --shadow-md: 0 4px 20px rgba(30, 95, 168, 0.1);
  --shadow-lg: 0 8px 40px rgba(30, 95, 168, 0.12);
  --shadow-xl: 0 20px 60px rgba(30, 95, 168, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 90px;
  --nav-logo-height: 76px;
  --container: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30, 95, 168, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 95, 168, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .nav__link {
  color: var(--text-dark);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
  color: var(--blue);
}

.header.scrolled .nav__toggle span {
  background: var(--text-dark);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  column-gap: clamp(20px, 3vw, 48px);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  padding: 0;
  margin: 0;
  z-index: 1001;
}

.nav__logo-img {
  height: var(--nav-logo-height);
  width: auto;
  max-height: var(--nav-logo-height);
  min-height: var(--nav-logo-height);
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform var(--transition);
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.02);
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  justify-self: center;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
  background: var(--turquoise-pale);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  z-index: 1001;
  justify-self: end;
}

.nav__cta {
  display: none;
}

.lang-switcher {
  display: grid;
  grid-template-columns: repeat(2, 32px);
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 4px;
}

.nav__menu-lang {
  display: none;
  list-style: none;
}

.header.scrolled .lang-switcher {
  background: var(--gray-100);
}

.lang-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  opacity: 0.6;
}

.lang-btn:hover,
.lang-btn.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.header.scrolled .lang-btn:hover,
.header.scrolled .lang-btn.active {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 95, 168, 0.88) 0%,
    rgba(30, 95, 168, 0.75) 40%,
    rgba(32, 198, 199, 0.5) 100%
  );
}

.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 8s ease-in-out infinite;
}

.hero__shape--1 {
  width: 400px;
  height: 400px;
  background: var(--turquoise);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero__shape--2 {
  width: 250px;
  height: 250px;
  background: var(--white);
  bottom: 10%;
  left: -50px;
  animation-delay: -3s;
}

.hero__shape--3 {
  width: 180px;
  height: 180px;
  background: var(--turquoise-light);
  top: 40%;
  right: 15%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero__eyebrow {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--turquoise-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: var(--white);
}

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

/* ============================================
   About
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__images {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
  min-height: 420px;
}

.about__img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img-main img {
  width: 100%;
  height: auto;
  min-height: 460px;
  max-height: 580px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about__img-inset {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 45%;
  max-width: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  z-index: 2;
}

.about__img-inset img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about__content {
  text-align: center;
}

.about__title {
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 16px;
  text-align: center;
}

.about__divider {
  width: 40px;
  height: 2px;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  margin: 0 auto 28px;
}

.about__text {
  color: var(--gray-600);
  margin-bottom: 18px;
  font-size: 0.9375rem;
  line-height: 1.85;
  text-align: center;
}

.about__text strong {
  color: var(--text-dark);
  font-weight: 600;
}

.about__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.btn--turquoise {
  background: var(--turquoise);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(32, 198, 199, 0.35);
  min-width: 200px;
}

.btn--turquoise:hover {
  background: #1ab8b9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(32, 198, 199, 0.45);
}

/* ============================================
   Treatments
   ============================================ */
.treatments {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
}

.treatments__pattern {
  position: absolute;
  width: 320px;
  height: 100%;
  top: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cg fill='none' stroke='%231E5FA8' stroke-width='1.5'%3E%3Cpath d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3Cpath d='M28 44l24 14v28L28 86 4 72V58z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 100px;
}

.treatments__pattern--left {
  left: 0;
}

.treatments__pattern--right {
  right: 0;
}

.treatments .section-header {
  margin-bottom: 48px;
}

.treatments .section-desc {
  max-width: 720px;
  margin: 0 auto;
}

.treatments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.treatment-card {
  background: var(--white);
  padding: 36px 24px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(30, 95, 168, 0.08);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 240px;
}

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

.treatment-card__icon {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--blue);
}

.treatment-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.treatment-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.treatment-card__desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   Why Us
   ============================================ */
.why-us {
  background: var(--white);
  padding-bottom: 40px;
}

.why-us + .contact {
  padding-top: 40px;
}

.why-us__content {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.why-us__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}

.why-us__divider {
  width: 48px;
  height: 3px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  margin: 0 auto 32px;
}

.why-us__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 20px;
}

.why-us__text:last-child {
  margin-bottom: 0;
}

.why-us__gallery {
  max-width: 960px;
  margin: 0 auto 0;
}

.why-us__gallery .gallery-slider {
  max-width: 100%;
}

/* ============================================
   Gallery Slider
   ============================================ */
.gallery-slider {
  max-width: 960px;
  margin: 0 auto;
}

.gallery-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

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

.gallery-slider__slide {
  flex: 0 0 100%;
  padding: 0;
  border: none;
  background: none;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16/10;
  cursor: pointer;
}

.gallery-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-slider__slide:hover img {
  transform: scale(1.04);
}

.gallery-slider__slide:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
}

.gallery-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.gallery-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-slider__btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.gallery-slider__dots {
  display: flex;
  gap: 8px;
}

.gallery-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  padding: 0;
}

.gallery-slider__dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: var(--radius-full);
}

/* ============================================
   Reviews
   ============================================ */
.reviews__carousel {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

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

.review-card {
  flex: 0 0 100%;
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--gray-100);
}

.review-card__stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.review-card__text {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
}

.review-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.review-card__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--turquoise-pale);
}

.review-card__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.review-card__treatment {
  font-size: 0.8125rem;
  color: var(--turquoise);
  font-weight: 500;
}

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.reviews__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: all var(--transition);
}

.reviews__btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.reviews__dots {
  display: flex;
  gap: 8px;
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  padding: 0;
}

.reviews__dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: var(--radius-full);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, var(--turquoise) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-section__desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

/* ============================================
   Contact — Bizi Takip Edin
   ============================================ */
.contact__header {
  text-align: center;
  margin-bottom: 32px;
}

.contact__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact__divider {
  width: 40px;
  height: 2px;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.contact__social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.contact__social-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--turquoise);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(32, 198, 199, 0.35);
}

.contact__social-btn svg {
  width: 22px;
  height: 22px;
}

.contact__social-btn:hover {
  background: #1ab8b9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(32, 198, 199, 0.45);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--turquoise);
  box-shadow: var(--shadow-md);
  height: 420px;
  max-width: 100%;
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.contact__address {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.contact__phone {
  text-align: center;
  margin-top: 20px;
  font-size: 1.0625rem;
  font-weight: 600;
}

.contact__phone a {
  color: var(--blue);
  transition: color var(--transition);
}

.contact__phone a:hover {
  color: var(--turquoise);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

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

.footer__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer__links ul li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}

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

.footer__contact p {
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.footer__contact a:hover {
  color: var(--turquoise);
}

.footer__hours p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--turquoise);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] {
  display: none;
}

.lightbox:not([hidden]).active {
  display: flex;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ============================================
   Animations
   ============================================ */
.fade-in,
.fade-in-left,
.fade-in-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .fade-in:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}

.js .fade-in-left:not(.visible) {
  opacity: 0;
  transform: translateX(-40px);
}

.js .fade-in-right:not(.visible) {
  opacity: 0;
  transform: translateX(40px);
}

.js .hero .fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}

.hero .fade-in {
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards;
}

.hero .fade-in:nth-child(1) { animation-delay: 0.2s; }
.hero .fade-in:nth-child(2) { animation-delay: 0.35s; }
.hero .fade-in:nth-child(3) { animation-delay: 0.5s; }
.hero .fade-in:nth-child(4) { animation-delay: 0.65s; }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger children in grids */
.treatments__grid .fade-in:nth-child(2) { transition-delay: 0.06s; }
.treatments__grid .fade-in:nth-child(3) { transition-delay: 0.12s; }
.treatments__grid .fade-in:nth-child(4) { transition-delay: 0.08s; }
.treatments__grid .fade-in:nth-child(5) { transition-delay: 0.14s; }
.treatments__grid .fade-in:nth-child(6) { transition-delay: 0.18s; }
.treatments__grid .fade-in:nth-child(7) { transition-delay: 0.1s; }
.treatments__grid .fade-in:nth-child(8) { transition-delay: 0.16s; }
.treatments__grid .fade-in:nth-child(9) { transition-delay: 0.2s; }

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 1024px) {
  .nav__cta {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 88px;
    --nav-logo-height: 64px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__images {
    max-width: 520px;
    margin: 0 auto;
  }

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

  .contact__map {
    height: 360px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 84px;
    --nav-logo-height: 54px;
  }

  .section {
    padding: 72px 0;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .header,
  .header.menu-open {
    z-index: 2000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: calc(var(--header-height) + 24px) 24px 32px;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 1999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__link {
    color: var(--text-dark) !important;
    font-size: 1.25rem;
    padding: 14px 24px;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .nav__link:hover,
  .nav__link.active {
    background: var(--turquoise-pale) !important;
    color: var(--blue) !important;
  }

  .nav__menu-lang {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
  }

  .lang-switcher--menu {
    background: var(--gray-100);
  }

  .lang-switcher--menu .lang-btn:hover,
  .lang-switcher--menu .lang-btn.active {
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 2001;
  }

  .nav__logo {
    position: relative;
    z-index: 2001;
  }

  .nav__actions {
    position: relative;
    z-index: 2001;
  }

  body.menu-open .nav__toggle span,
  .header.scrolled .nav__toggle span {
    background: var(--text-dark);
  }

  .header:not(.scrolled):not(.menu-open) .nav__toggle span {
    background: var(--white);
  }

  .nav__toggle.active span {
    background: var(--text-dark) !important;
  }

  .treatments__grid {
    grid-template-columns: 1fr;
  }

  .about__img-inset {
    max-width: 160px;
    border-width: 4px;
  }

  .review-card {
    padding: 32px 24px;
  }

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

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

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .nav__actions .lang-switcher {
    grid-template-columns: repeat(2, 28px);
    gap: 3px;
    padding: 3px;
  }

  .nav__actions .lang-btn {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
  }

  .about__img-main img {
    min-height: 360px;
    max-height: 440px;
  }

  .about__img-inset {
    max-width: 130px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline-offset: 4px;
}
