@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #0891B2;
  --color-primary-dark: #0E7490;
  --color-primary-light: #22D3EE;
  --color-accent: #EA580C;
  --color-accent-dark: #C2410C;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F0FAFB;
  --color-fg: #0F172A;
  --color-muted-fg: #475569;
  --color-border: #DCEEF2;
  --color-card: #FFFFFF;
  --color-success: #059669;
  --color-success-bg: #ECFDF5;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.14);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --container: 1080px;
  --nav-height: 60px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: 'Noto Sans', 'Figtree', system-ui, sans-serif;
  color: var(--color-fg);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Figtree', 'Noto Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--space-4);
  color: var(--color-fg);
}

h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }

p { margin: 0 0 var(--space-4); color: var(--color-fg); }

a { color: var(--color-primary-dark); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

section { padding: var(--space-8) 0; scroll-margin-top: var(--nav-height); }
section.alt { background: var(--color-bg-alt); }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  margin-bottom: var(--space-4);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* Focus states */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
}

.brand {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: none;
  font-size: 1.05rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Burger button — mobile only */
.nav-toggle {
  margin-left: auto;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary-dark);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 150ms ease;
}
.nav-toggle:hover { background: var(--color-bg-alt); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.main-nav a {
  text-decoration: none;
  color: var(--color-fg);
  font-weight: 600;
  transition: background-color 200ms ease, color 200ms ease;
  display: flex;
  align-items: center;
}

.main-nav a.active {
  background: var(--color-primary);
  color: #fff;
}

/* Mobile: slide-down panel */
@media (max-width: 859px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: var(--space-3);
    gap: var(--space-1);
    display: none;
  }
  .main-nav.open { display: flex; }

  .main-nav a {
    min-height: 52px;
    padding: 0 var(--space-4);
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }
  .main-nav a:hover { background: var(--color-bg-alt); }
}

/* Desktop: inline horizontal nav */
@media (min-width: 860px) {
  .nav-toggle { display: none; }

  .main-nav {
    display: flex;
    gap: var(--space-2);
    margin-left: auto;
  }
  .main-nav a {
    font-size: 0.92rem;
    padding: var(--space-2) var(--space-4);
    border-radius: 999px;
    white-space: nowrap;
    min-height: 44px;
  }
  .main-nav a:hover { background: var(--color-bg-alt); }
  .main-nav a.active:hover { background: var(--color-primary); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  touch-action: manipulation;
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: var(--color-border);
}
.btn-secondary:hover { background: var(--color-bg-alt); border-color: var(--color-primary-light); }

.btn-outline {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-border);
}
.btn-outline:hover { background: var(--color-bg-alt); }

.btn-sm { padding: 8px 16px; min-height: 40px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* Hero */
.hero {
  padding-top: var(--space-7);
  padding-bottom: var(--space-8);
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #fff 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

.hero-photo-wrap {
  order: -1;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: min(320px, 70vw);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.hero h1 {
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.5rem);
  color: var(--color-primary-dark);
}

.hero-name {
  font-weight: 700;
}

.hero-quote {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-accent-dark);
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-4);
  margin: var(--space-5) 0;
}

.hero-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-social-label {
  font-size: 0.9rem;
  color: var(--color-muted-fg);
  font-weight: 600;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.hero-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Stats block */
.stats-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  margin: var(--space-6) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.stat {
  text-align: left;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-muted-fg);
  margin-bottom: var(--space-1);
}

.stat-value {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--color-fg);
  font-variant-numeric: tabular-nums;
}

.stat-value.accent { color: var(--color-accent-dark); }
.stat-value.total { color: var(--color-primary-dark); }

.progress-track {
  height: 16px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-success) 0%, var(--color-primary) 100%);
  border-radius: 999px;
  transition: width 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-caption {
  margin-top: var(--space-2);
  font-size: 0.9rem;
  color: var(--color-muted-fg);
  text-align: right;
}

/* Content layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

.figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  max-width: 320px;
  margin-inline: auto;
}

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

.figure figcaption {
  padding: var(--space-4);
  font-size: 0.9rem;
  color: var(--color-muted-fg);
}

/* Photo + text combined card */
.note-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin: var(--space-6) 0;
  padding: var(--space-5);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.note-card img {
  width: 100%;
  height: auto;
  max-width: 220px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.note-card figcaption p:last-of-type { margin-bottom: var(--space-3); }

.note-caption {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted-fg);
}

@media (min-width: 720px) {
  .note-card {
    flex-direction: row;
    gap: var(--space-6);
    padding: var(--space-6);
    align-items: center;
  }
  .note-card img { max-width: 200px; }
}

/* Treatment stage cards */
.stage-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

.stage-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.stage-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.stage-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.stage-card p {
  color: var(--color-muted-fg);
  margin-bottom: var(--space-5);
}

.stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.stage-price {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-fg);
  font-variant-numeric: tabular-nums;
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  white-space: nowrap;
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.badge-pending {
  background: #FFF7ED;
  color: var(--color-accent-dark);
}

/* Documents gallery */
.doc-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

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

.doc-thumb {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.doc-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }

.doc-thumb .doc-zoom-icon {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-4);
}
.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: min(900px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #000;
}

.lightbox-caption {
  color: #fff;
  margin-top: var(--space-3);
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox-close { top: -52px; right: 0; }
.lightbox-prev { left: -8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -8px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox-close { top: -48px; right: 0; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}

/* Payment / help section */
.payment-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.jar-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.jar-card h3 { color: #fff; }
.jar-card p { color: rgba(255,255,255,0.9); }
.jar-card .btn-primary {
  background: #fff;
  color: var(--color-primary-dark);
}
.jar-card .btn-primary:hover { background: var(--color-bg-alt); }

.jar-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.jar-qr img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  background: #fff;
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
}

.jar-qr span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.pay-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.pay-info { min-width: 0; }
.pay-bank {
  font-size: 0.85rem;
  color: var(--color-muted-fg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pay-number {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
.pay-holder {
  font-size: 0.85rem;
  color: var(--color-muted-fg);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  flex-shrink: 0;
  transition: background-color 150ms ease, color 150ms ease;
}
.copy-btn:hover { background: var(--color-primary); color: #fff; }
.copy-btn.copied { background: var(--color-success); color: #fff; border-color: var(--color-success); }

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 48px;
  transition: filter 150ms ease, transform 150ms ease;
}
.share-btn:hover { filter: brightness(0.92); }
.share-btn:active { transform: scale(0.97); }
.share-fb { background: #1877F2; }
.share-tg { background: #26A5E4; }
.share-viber { background: #7360F2; }
.share-copy { background: var(--color-fg); border: none; cursor: pointer; }

/* Reports / closing */
.closing-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  font-size: 1.05rem;
}

/* Video */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
  max-width: 520px;
  margin: var(--space-5) auto 0;
}
.video-wrap video { width: 100%; display: block; aspect-ratio: 9/16; object-fit: cover; }

/* Footer */
.site-footer {
  background: #0B2530;
  color: #E2F4F7;
  padding: var(--space-7) 0 var(--space-6);
}
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a { color: #A5E9F2; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.messenger-row {
  display: inline-flex;
  gap: var(--space-2);
}

.messenger-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A5E9F2;
  text-decoration: none;
  min-height: 0;
  transition: background-color 150ms ease, color 150ms ease;
}
.messenger-icon:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.social-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.social-icon:hover { background: rgba(255,255,255,0.18); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-5);
  font-size: 0.85rem;
  color: #9FC7CE;
  text-align: center;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  background: var(--color-fg);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transition: transform 250ms ease;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .stage-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero-photo-wrap { order: 2; }
  .content-grid.img-right { grid-template-columns: 1.2fr 0.8fr; }
  .content-grid.img-left { grid-template-columns: 0.8fr 1.2fr; }
  .content-grid.img-left .figure { order: -1; }
  .content-grid .figure { align-self: center; }
  .doc-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .brand { font-size: 1.15rem; }
}
