/* ═══════════════════════════════════════════════════
   GREEN CLINIC BISHKEK — Minimalist Zen
   Extreme whitespace, breathing elements, one accent
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Karla:wght@300;400;500;600&display=swap');

/* ── 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: 10rem;

  --radius: 2px;
  --radius-lg: 6px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--letter-heading);
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { max-width: 65ch; }

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container--narrow {
  max-width: 900px;
}

/* ── Section spacing ── */
section {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-2xl) 0;
}

/* ── Thin rule divider ── */
.divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: var(--space-md) 0;
  opacity: 0.5;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ── Label / eyebrow ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-sm);
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.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: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.header__logo img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}

.header__logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 2px;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  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(--text);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--accent);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  transition: background var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav__cta:hover {
  background: var(--accent-hover);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  padding: 10px;
}

.burger__line {
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
  transform-origin: center;
}

.burger.is-open .burger__line:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.burger.is-open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.is-open .burger__line:nth-child(3) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) clamp(1.25rem, 4vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 999;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color var(--transition);
}

.mobile-menu__link:hover {
  color: var(--accent);
}

.mobile-menu__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-bottom: var(--space-lg);
}

.mobile-menu__cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-align: center;
}

.mobile-menu__cta .btn--primary {
  background: var(--accent);
  color: var(--white);
}

.mobile-menu__cta .btn--outline {
  border: 1px solid var(--border);
  color: var(--text);
}

/* ═══════════════════════════════════════════
   HERO — split-half
   ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg) 0%, #f4f4f0 40%, var(--surface) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero__content {
  padding: var(--space-lg) 0;
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__stat-row {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.hero__image-main {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
}

.hero__image-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--bg);
  z-index: 3;
}

.hero__visual-decoration {
  position: absolute;
  top: 10%;
  left: -5%;
  width: 120%;
  height: 80%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  z-index: 1;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  color: var(--accent);
  padding: 0;
  min-height: auto;
}

.btn--ghost::after {
  content: ' \2192';
  transition: transform var(--transition);
  display: inline-block;
  margin-left: 0.3rem;
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   SERVICES PREVIEW (index page)
   ═══════════════════════════════════════════ */

.services-preview {
  background: var(--bg);
}

.section-header {
  margin-bottom: var(--space-lg);
}

.section-header--center {
  text-align: center;
}

.section-header--center .divider {
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  color: var(--text-muted);
  margin-top: var(--space-sm);
  font-size: 1.02rem;
}

.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* photo-top card */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 26, 24, 0.06);
}

.service-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
  transform: scale(1.04);
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card__link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}

.service-card__link:hover {
  gap: 0.6rem;
}

/* ═══════════════════════════════════════════
   INLINE CTA
   ═══════════════════════════════════════════ */

.inline-cta {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.inline-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.inline-cta__text h3 {
  margin-bottom: 0.5rem;
}

.inline-cta__text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.inline-cta__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION (index)
   ═══════════════════════════════════════════ */

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-section__image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-section__content .eyebrow {
  margin-bottom: var(--space-sm);
}

.about-section__content h2 {
  margin-bottom: var(--space-md);
}

.about-section__content p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-size: 0.98rem;
}

.about-section__features {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.about-section__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-section__feature-icon {
  width: 28px;
  height: 28px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-section__feature-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
}

.about-section__feature span {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   SERVICES PAGE — full service cards
   ═══════════════════════════════════════════ */

.page-hero {
  padding-top: calc(72px + var(--space-xl));
  padding-bottom: var(--space-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
}

/* Service detail blocks (alternating) */
.service-block {
  border-bottom: 1px solid var(--border);
}

.service-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.service-block:nth-child(even) .service-block__grid {
  direction: rtl;
}

.service-block:nth-child(even) .service-block__grid > * {
  direction: ltr;
}

.service-block__image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block__content .eyebrow {
  margin-bottom: 0.75rem;
}

.service-block__content h2 {
  margin-bottom: var(--space-sm);
}

.service-block__content p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.service-block__content ul {
  margin: var(--space-sm) 0;
}

.service-block__content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.service-block__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* ═══════════════════════════════════════════
   GALLERY — before-after
   ═══════════════════════════════════════════ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.ba-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.ba-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(26, 26, 24, 0.06);
}

.ba-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.ba-card__images::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  z-index: 2;
}

.ba-card__img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.ba-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-card__label {
  position: absolute;
  bottom: 8px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(26, 26, 24, 0.5);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

.ba-card__img-wrap:first-child .ba-card__label {
  left: 8px;
}

.ba-card__img-wrap:last-child .ba-card__label {
  right: 8px;
}

.ba-card__info {
  padding: 1.25rem 1.5rem;
}

.ba-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.ba-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CONTACTS PAGE
   ═══════════════════════════════════════════ */

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.contact-item__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-item__value {
  font-size: 1rem;
  color: var(--text);
}

.contact-item__value a {
  color: var(--accent);
  transition: color var(--transition);
}

.contact-item__value a:hover {
  color: var(--accent-hover);
}

.contacts__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--surface);
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts__cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cta-card__icon {
  width: 56px;
  height: 56px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.cta-card h4 {
  margin-bottom: 0.5rem;
}

.cta-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cta-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  background: var(--text);
  color: rgba(250, 250, 248, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.footer__brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--bg);
}

.footer__desc {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 30ch;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.4);
  margin-bottom: var(--space-sm);
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--bg);
}

.footer__bottom {
  border-top: 1px solid rgba(250, 250, 248, 0.1);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(250, 250, 248, 0.35);
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250, 250, 248, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer__socials a:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.footer__socials svg {
  width: 16px;
  height: 16px;
  fill: rgba(250, 250, 248, 0.6);
}

.footer__socials a:hover svg {
  fill: var(--white);
}

/* ═══════════════════════════════════════════
   CLIP-REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  clip-path: inset(0 0 20% 0);
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero__visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .service-block__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .service-block:nth-child(even) .service-block__grid {
    direction: ltr;
  }

  .about-section__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contacts__cta-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: var(--space-md);
  }

  .hero__grid {
    min-height: auto;
    padding-top: var(--space-md);
  }

  .hero__content {
    padding: var(--space-md) 0 0;
  }

  .hero__stat-row {
    gap: var(--space-md);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .inline-cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .inline-cta__actions {
    width: 100%;
  }

  .inline-cta__actions .btn {
    flex: 1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .contacts__cta-cards {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: calc(72px + var(--space-lg));
    padding-bottom: var(--space-md);
  }

  .about-section__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --base-size: 16px;
  }

  .hero__visual-decoration {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   FLOATING WhatsApp BUTTON
   ═══════════════════════════════════════════ */

.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* ═══════════════════════════════════════════
   TEAM SECTION
   ═══════════════════════════════════════════ */

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.team-stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.team-stat__num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}

.team-stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .team-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════
   TESTIMONIAL (mini)
   ═══════════════════════════════════════════ */

.testimonial-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial__quote {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.testimonial__quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}
