/* ============================================
   ZUBASTIK.KG -- Minimalist Zen
   Family Dentistry, Bishkek
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Karla:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  --bg: #fafaf8;
  --surface: #f0f0ec;
  --accent: #2d5a3d;
  --accent-hover: #3a7250;
  --text: #1a1a18;
  --text-muted: #7a7a72;
  --border: #e0e0da;
  --white: #ffffff;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Karla', sans-serif;
  --heading-weight: 500;
  --body-weight: 400;
  --base-size: 17px;
  --letter-heading: 0.02em;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--base-size);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--letter-heading);
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  max-width: 65ch;
  color: var(--text-muted);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-sm);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.header__logo {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.header__name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.header__tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: none;
}

@media (min-width: 768px) {
  .header__tagline {
    display: block;
  }
}

/* Desktop Nav */
.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--accent);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

@media (min-width: 768px) {
  .burger {
    display: none;
  }
}

.burger__line {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger--open .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger--open .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-menu--open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.mobile-menu__link:hover {
  color: var(--accent);
}

.mobile-menu__cta {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
}

/* ============================================
   HERO -- Minimal Text
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: linear-gradient(165deg, var(--bg) 0%, #f4f4f0 40%, #eef0eb 70%, var(--surface) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.hero__content {
  padding: var(--space-lg) 0;
}

@media (min-width: 768px) {
  .hero__content {
    padding: var(--space-xl) 0;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__title {
  margin-bottom: var(--space-sm);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  min-height: 48px;
  padding: 12px 28px;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 61, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero Photo Cluster */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-md) 0;
}

.hero__photo-main {
  width: 85%;
  max-width: 400px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.hero__photo-float {
  position: absolute;
  width: 45%;
  max-width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border: 4px solid var(--bg);
}

.hero__photo-float--top {
  top: 0;
  right: 0;
}

.hero__photo-float--bottom {
  bottom: 5%;
  left: 0;
}

/* ============================================
   STATS ROW
   ============================================ */
.stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .stats__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   SERVICE CARDS -- Photo Overlay
   ============================================ */
.services-preview {
  background: var(--bg);
}

.services-preview__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.services-preview__header p {
  margin: var(--space-sm) auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__img {
  transform: scale(1.05);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 24, 0.85) 0%, rgba(26, 26, 24, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  transition: background var(--transition);
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(45, 90, 61, 0.9) 0%, rgba(45, 90, 61, 0.3) 50%, transparent 100%);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.service-card__price {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.service-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.service-card:hover .service-card__desc {
  max-height: 80px;
}

/* ============================================
   SERVICES PAGE -- Full List
   ============================================ */
.services-full {
  padding-top: calc(72px + var(--space-xl));
}

.services-full__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.services-full__header p {
  margin: var(--space-sm) auto 0;
}

.service-category {
  margin-bottom: var(--space-xl);
}

.service-category__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.price-list {
  list-style: none;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  gap: var(--space-sm);
}

.price-item:last-child {
  border-bottom: none;
}

.price-item__name {
  font-size: 1rem;
  color: var(--text);
}

.price-item__dots {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  min-width: 40px;
  margin: 0 8px;
  align-self: center;
  position: relative;
  top: -4px;
}

.price-item__price {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--accent);
  white-space: nowrap;
}

/* Sedation Feature Block */
.sedation-feature {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.sedation-feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .sedation-feature__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sedation-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--border);
}

.sedation-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(45, 90, 61, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.sedation-card h4 {
  margin-bottom: 8px;
}

.sedation-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.sedation-card__list {
  list-style: none;
  margin-top: var(--space-sm);
}

.sedation-card__list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.sedation-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  background: var(--surface);
}

.reviews__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.reviews__header p {
  margin: var(--space-sm) auto 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--border);
}

.review-card__stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-card__text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.review-card__author {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   GALLERY -- Horizontal Scroll
   ============================================ */
.gallery-section {
  overflow: hidden;
}

.gallery-section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.gallery-section__header p {
  margin: var(--space-sm) auto 0;
}

.gallery-scroll {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--space-md) var(--space-md);
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-scroll__item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}

@media (min-width: 768px) {
  .gallery-scroll__item {
    flex: 0 0 340px;
  }
}

.gallery-scroll__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-scroll__item:hover img {
  transform: scale(1.05);
}

/* Gallery Page -- Full Grid */
.gallery-page {
  padding-top: calc(72px + var(--space-xl));
}

.gallery-page__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.gallery-page__header p {
  margin: var(--space-sm) auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

.gallery-grid__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}

.gallery-grid__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  margin: 0 auto var(--space-md);
}

.cta-band .btn--white {
  background: var(--white);
  color: var(--accent);
}

.cta-band .btn--white:hover {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ============================================
   CONTACTS PAGE
   ============================================ */
.contacts-page {
  padding-top: calc(72px + var(--space-xl));
}

.contacts-page__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.contacts-page__header p {
  margin: var(--space-sm) auto 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-block {
  padding: var(--space-md);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-block__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(45, 90, 61, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.contact-block h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-block p {
  font-size: 0.95rem;
}

.contact-block a {
  font-size: 0.95rem;
  word-break: break-all;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin-top: 8px;
  min-height: 44px;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: var(--space-lg);
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: var(--space-lg) var(--space-md);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
}

.footer__logo {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.footer__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
}

.footer__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-sm);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  max-width: 1200px;
  margin: var(--space-md) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  text-align: center;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* ============================================
   SCROLL REVEAL -- Scale Up
   ============================================ */
.reveal {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger--visible > *:nth-child(6) { transition-delay: 0.5s; }

.reveal-stagger--visible > * {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   PAGE-SPECIFIC HERO (non-index)
   ============================================ */
.page-hero {
  padding-top: calc(72px + var(--space-xl));
  padding-bottom: var(--space-lg);
  background: linear-gradient(165deg, var(--bg) 0%, var(--surface) 100%);
  text-align: center;
}

.page-hero p {
  margin: var(--space-sm) auto 0;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 26, 24, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  cursor: pointer;
}

.lightbox--open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
