/* ==========================================================
   32 КАРАТА — Стоматологическая клиника
   Design System: "Crystal Clean" — синий сапфир + белый фарфор
   Шрифты: Playfair Display (display) + Nunito (body)
   ========================================================== */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  /* Основная палитра — выведена из бренда */
  --blue-deep:    #0A2463;   /* тёмно-синий — заголовки, hero */
  --blue-brand:   #1B4FD8;   /* фирменный синий — основные акценты */
  --blue-mid:     #2D6BE4;   /* средний синий — hover, градиент */
  --blue-light:   #5B9BD5;   /* светло-синий — декор */
  --blue-pale:    #EBF2FB;   /* очень бледный — фоны секций */
  --blue-sky:     #C8DEFF;   /* небесный — декоративные полосы */

  --white:        #FFFFFF;
  --off-white:    #F8FAFD;
  --cream:        #F0F4FA;
  --gray-100:     #E8ECF4;
  --gray-200:     #D1D9EC;
  --gray-400:     #8899BB;
  --gray-600:     #4A5880;
  --gray-800:     #1E2A45;
  --black:        #0D1525;

  /* Типографика */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  /* Размеры */
  --fs-xs:    0.75rem;   /* 12px */
  --fs-sm:    0.875rem;  /* 14px */
  --fs-base:  1rem;      /* 16px */
  --fs-md:    1.125rem;  /* 18px */
  --fs-lg:    1.25rem;   /* 20px */
  --fs-xl:    1.5rem;    /* 24px */
  --fs-2xl:   1.875rem;  /* 30px */
  --fs-3xl:   2.25rem;   /* 36px */
  --fs-4xl:   3rem;      /* 48px */
  --fs-5xl:   3.75rem;   /* 60px */
  --fs-6xl:   4.5rem;    /* 72px */
  --fs-hero:  clamp(2.5rem, 6vw, 5rem);

  /* Пространство */
  --section-gap:  clamp(80px, 10vw, 128px);
  --container:    1320px;
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --radius-full:  9999px;

  /* Тени */
  --shadow-sm:  0 2px 8px rgba(10,36,99,.06);
  --shadow-md:  0 8px 32px rgba(10,36,99,.12);
  --shadow-lg:  0 20px 60px rgba(10,36,99,.18);
  --shadow-xl:  0 40px 100px rgba(10,36,99,.24);

  /* Переходы */
  --ease-out:   cubic-bezier(0.22,1,0.36,1);
  --ease-spring:cubic-bezier(0.34,1.56,0.64,1);
  --dur-fast:   200ms;
  --dur-mid:    400ms;
  --dur-slow:   700ms;

  /* Z-index */
  --z-nav:    100;
  --z-modal:  200;
  --z-tooltip:150;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--blue-brand);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  z-index: 999;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 0; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--blue-deep);
}

.display-xl  { font-size: var(--fs-hero); font-weight: 900; }
.display-lg  { font-size: var(--fs-5xl);  font-weight: 700; }
.display-md  { font-size: var(--fs-4xl);  font-weight: 700; }
.heading-xl  { font-size: var(--fs-3xl);  font-weight: 700; }
.heading-lg  { font-size: var(--fs-2xl);  font-weight: 600; }
.heading-md  { font-size: var(--fs-xl);   font-weight: 600; }
.heading-sm  { font-size: var(--fs-lg);   font-weight: 600; }
.body-lg     { font-size: var(--fs-md);   line-height: 1.7; }
.body-base   { font-size: var(--fs-base); }
.body-sm     { font-size: var(--fs-sm);   }
.caption     { font-size: var(--fs-xs);   letter-spacing: .08em; text-transform: uppercase; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-brand), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.section { padding-block: var(--section-gap); }
.section--blue { background: var(--blue-deep); color: var(--white); }
.section--blue h1, .section--blue h2, .section--blue h3,
.section--blue h4, .section--blue h5, .section--blue h6 { color: var(--white); }
.section--pale { background: var(--blue-pale); }
.section--cream { background: var(--cream); }
.section--off { background: var(--off-white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Section Header ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-brand);
  margin-bottom: 1rem;
}
.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-brand);
  border-radius: 2px;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  font-size: var(--fs-md);
  color: var(--gray-600);
  max-width: 560px;
  margin-inline: auto;
}
.section--blue .section-header p { color: var(--blue-sky); }
.section--blue .section-header .eyebrow { color: var(--blue-sky); }
.section--blue .section-header .eyebrow::before,
.section--blue .section-header .eyebrow::after { background: var(--blue-sky); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 1.25rem 0;
  transition: background var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              padding var(--dur-mid) var(--ease-out);
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-100), var(--shadow-sm);
  padding: .875rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav__logo-img {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--blue-deep);
  line-height: 1.1;
}
.nav__logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: .02em;
  transition: color var(--dur-fast);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-brand);
  border-radius: 2px;
  transition: width var(--dur-mid) var(--ease-out);
}
.nav__link:hover, .nav__link.active { color: var(--blue-brand); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav__phone {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue-deep);
  transition: color var(--dur-fast);
}
.nav__phone:hover { color: var(--blue-brand); }

/* ── Hamburger ──────────────────────────────────────────────── */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}
.nav__toggle:hover { background: var(--blue-pale); }
.nav__toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease-out),
              opacity var(--dur-mid);
}
.nav__toggle.open .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle.open .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: calc(var(--z-nav) - 1);
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out);
}
.nav__mobile.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.nav__mobile-link {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--blue-deep);
  padding-block: .5rem;
  border-bottom: 1px solid var(--gray-100);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1;
  transition: transform var(--dur-mid) var(--ease-spring),
              box-shadow var(--dur-mid) var(--ease-out),
              background var(--dur-fast),
              color var(--dur-fast);
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.2);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-brand), var(--blue-mid));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27,79,216,.3);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(27,79,216,.4); }

.btn-outline {
  border: 2px solid var(--blue-brand);
  color: var(--blue-brand);
  background: transparent;
}
.btn-outline:hover { background: var(--blue-pale); }

.btn-white {
  background: var(--white);
  color: var(--blue-brand);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-wa {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover { background: #1ebf5a; box-shadow: 0 8px 32px rgba(37,211,102,.4); }

.btn-lg { padding: 1.125rem 2.5rem; font-size: var(--fs-md); }
.btn-sm { padding: .625rem 1.5rem; font-size: var(--fs-sm); }

/* ── Diamond Motif ──────────────────────────────────────────── */
.diamond {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--blue-brand);
  transform: rotate(45deg);
  border-radius: 2px;
  flex-shrink: 0;
}
.diamond--white  { background: var(--white); }
.diamond--light  { background: var(--blue-light); }
.diamond--sm     { width: 7px; height: 7px; }
.diamond--lg     { width: 14px; height: 14px; }

/* ── Decorative Elements ────────────────────────────────────── */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  pointer-events: none;
}
.deco-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__body { padding: 2rem; }
.card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ── Stat Items ─────────────────────────────────────────────── */
.stat-item {
  text-align: center;
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 900;
  color: var(--blue-brand);
  line-height: 1;
  margin-bottom: .25rem;
}
.section--blue .stat-item__num { color: var(--white); }
.stat-item__label {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  font-weight: 500;
  letter-spacing: .03em;
}
.section--blue .stat-item__label { color: var(--blue-sky); }

/* ── Badge ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .875rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .02em;
}
.badge--blue    { background: var(--blue-pale); color: var(--blue-brand); }
.badge--dark    { background: var(--blue-deep); color: var(--white); }
.badge--free    { background: #E8F8EE; color: #16A34A; }
.badge--install { background: #FFF7ED; color: #D97706; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue-deep) 0%, #0F3280 50%, #0A2463 100%);
  padding-top: 80px;
}

/* Crystal facets background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(27,79,216,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 80%, rgba(91,155,213,.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-block: 5rem;
}
.hero__content { color: var(--white); }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blue-sky), #A8D5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.hero__trust-item .diamond { background: var(--blue-sky); }

/* Hero image panel */
.hero__visual {
  position: relative;
}
.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,36,99,.6) 100%);
  z-index: 1;
}
.hero__img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.hero__badge-float {
  position: absolute;
  bottom: 2rem; left: 2rem;
  z-index: 2;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  color: var(--white);
}
.hero__badge-float-num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 1;
  display: block;
}
.hero__badge-float-text {
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
}

/* Floating cards */
.hero__float-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: .875rem 1.25rem;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.hero__float-card:nth-child(3) { animation-delay: -1.5s; }
.hero__float-card--tl {
  top: 2rem;
  right: -1.5rem;
}
.hero__float-card-icon { font-size: 1.25rem; margin-bottom: .25rem; }
.hero__float-card-label { font-size: var(--fs-xs); color: var(--gray-600); font-weight: 600; letter-spacing: .04em; }
.hero__float-card-val { font-size: var(--fs-sm); font-weight: 800; color: var(--blue-deep); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Decorative rings in hero */
.hero__deco-ring1 {
  width: 400px; height: 400px;
  top: -100px; right: -100px;
  border-color: rgba(255,255,255,.04);
}
.hero__deco-ring2 {
  width: 200px; height: 200px;
  bottom: 10%; left: -50px;
  border-color: rgba(91,155,213,.15);
}

/* ── Services Section ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-fast);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-brand), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-sky);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  transition: background var(--dur-fast), transform var(--dur-mid) var(--ease-spring);
}
.service-card:hover .service-card__icon {
  background: var(--blue-brand);
  transform: scale(1.1);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue-brand);
  transition: gap var(--dur-fast);
}
.service-card:hover .service-card__link { gap: .625rem; }
.service-card__link-arrow { transition: transform var(--dur-fast); }
.service-card:hover .service-card__link-arrow { transform: translateX(3px); }

/* ── About / Story ───────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-split--reverse { direction: rtl; }
.about-split--reverse > * { direction: ltr; }

.about-img-stack {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 80%;
}
.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: 0;
  width: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-accent-card {
  position: absolute;
  top: 2rem; right: -1rem;
  background: var(--blue-brand);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-accent-card__num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 1;
}
.about-accent-card__text {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .85;
  margin-top: .25rem;
}

.about-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-brand);
  margin-bottom: 1rem;
}
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: var(--gray-600); margin-bottom: 1.25rem; font-size: var(--fs-md); line-height: 1.75; }

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block: 2rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.value-item__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.value-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--blue-deep);
  margin-bottom: .25rem;
}
.value-item__desc { font-size: var(--fs-sm); color: var(--gray-600); line-height: 1.6; }

/* ── Team ───────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
  cursor: default;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--blue-pale);
}
.team-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--dur-slow) var(--ease-out);
}
.team-card:hover .team-card__img { transform: scale(1.04); }
.team-card__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10,36,99,.7), transparent);
}
.team-card__name-overlay {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  z-index: 2;
  color: var(--white);
}
.team-card__name-overlay h3 {
  color: var(--white);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.2;
}
.team-card__spec {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-sky);
  font-weight: 600;
  margin-top: .25rem;
}
.team-card__body { padding: 1.25rem 1.5rem; }
.team-card__desc { font-size: var(--fs-sm); color: var(--gray-600); line-height: 1.65; }

/* Team card — no photo variant */
.team-card--nophoto .team-card__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}
.team-card--nophoto .team-card__avatar {
  width: 80px; height: 80px;
  border-radius: var(--radius-full);
  background: var(--blue-brand);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Gallery / Portfolio ────────────────────────────────────── */
.gallery-tabs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.gallery-tab {
  padding: .625rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
  min-height: 44px;
}
.gallery-tab:hover { background: var(--blue-pale); color: var(--blue-brand); }
.gallery-tab.active { background: var(--blue-brand); color: var(--white); }

.gallery-masonry {
  columns: 3;
  column-gap: 1.5rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,36,99,.75), transparent);
  opacity: 0;
  transition: opacity var(--dur-mid);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
}

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.stats-bar .stat-item { border-right: 1px solid var(--gray-100); }
.stats-bar .stat-item:last-child { border-right: none; }

/* ── Bento Grid (features) ──────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
}
.bento-cell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-out);
}
.bento-cell:hover { transform: scale(1.015); }
.bento-a { grid-column: span 8; grid-row: span 2; background: var(--blue-deep); color: var(--white); }
.bento-b { grid-column: span 4; background: var(--blue-pale); }
.bento-c { grid-column: span 4; background: var(--blue-brand); color: var(--white); }
.bento-d { grid-column: span 4; background: var(--off-white); }
.bento-e { grid-column: span 4; background: var(--off-white); }
.bento-f { grid-column: span 4; background: var(--blue-deep); color: var(--white); }
.bento-inner { padding: 2rem; height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.bento-inner h3 { font-size: var(--fs-xl); }
.bento-cell.bento-a .bento-inner h3 { font-size: var(--fs-3xl); }
.bento-inner p  { font-size: var(--fs-sm); line-height: 1.65; opacity: .8; }
.bento-img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }

/* ── Process / Steps ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-sky) 20%, var(--blue-sky) 80%, transparent);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}
.process-step__num {
  width: 80px; height: 80px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 3px solid var(--blue-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--blue-brand);
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-mid), border-color var(--dur-mid), color var(--dur-mid);
}
.process-step:hover .process-step__num {
  background: var(--blue-brand);
  border-color: var(--blue-brand);
  color: var(--white);
}
.process-step h3 {
  font-size: var(--fs-lg);
  margin-bottom: .5rem;
}
.process-step p { font-size: var(--fs-sm); color: var(--gray-600); }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0F3280 100%);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,216,.3) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: var(--fs-md); margin-bottom: 2.5rem; max-width: 560px; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Contact Section ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-block { display: flex; align-items: flex-start; gap: 1rem; }
.contact-block__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-pale);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.contact-block__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: .25rem; }
.contact-block__val { font-weight: 700; color: var(--blue-deep); font-size: var(--fs-md); }
.contact-block__sub { font-size: var(--fs-sm); color: var(--gray-600); margin-top: .125rem; }

/* ── Form ───────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: var(--fs-sm); font-weight: 700; color: var(--gray-800); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .875rem 1.125rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
  min-height: 44px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-brand);
  box-shadow: 0 0 0 4px rgba(27,79,216,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Map ────────────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.7);
  padding-top: 5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand { max-width: 300px; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.footer__logo-img {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.footer__logo-name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.footer__logo-name small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
}
.footer__desc { font-size: var(--fs-sm); line-height: 1.75; color: rgba(255,255,255,.6); }
.footer__social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer__social-link {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--dur-fast), transform var(--dur-fast);
  color: var(--white);
}
.footer__social-link:hover { background: var(--blue-brand); transform: translateY(-2px); }
.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: .625rem; }
.footer__link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
}
.footer__link:hover { color: var(--white); padding-left: .25rem; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.75rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.4);
}
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-link { color: rgba(255,255,255,.4); transition: color var(--dur-fast); }
.footer__bottom-link:hover { color: rgba(255,255,255,.8); }

/* ── WhatsApp Sticky Btn ────────────────────────────────────── */
.wa-sticky {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(37,211,102,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 90;
  transition: transform var(--dur-mid) var(--ease-spring),
              box-shadow var(--dur-mid);
  text-decoration: none;
}
.wa-sticky:hover { transform: scale(1.12); box-shadow: 0 12px 40px rgba(37,211,102,.5); }
.wa-sticky svg { width: 28px; height: 28px; fill: currentColor; }

/* ── Scroll animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }
.stagger-5 { transition-delay: .5s; }
.stagger-6 { transition-delay: .6s; }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(150deg, var(--blue-deep) 0%, #0F3280 100%);
  padding-top: calc(80px + 4rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,216,.3) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.75);
  max-width: 560px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: .4; }

/* ── Service Detail ─────────────────────────────────────────── */
.service-detail { padding-block: var(--section-gap); }
.service-detail-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--dur-mid);
}
.service-detail-card:hover { box-shadow: var(--shadow-lg); }
.service-detail-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.service-detail-card__body { padding: 2.5rem; }
.service-detail-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 1rem;
}
.service-detail-card__desc { font-size: var(--fs-md); color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: 1.5rem;
}
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: var(--fs-sm);
  color: var(--gray-800);
  line-height: 1.55;
}
.service-feature::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-brand);
  flex-shrink: 0;
  margin-top: .4em;
}

/* ── Review Cards ───────────────────────────────────────────── */
.review-invite {
  background: var(--blue-pale);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
}
.review-invite h3 { margin-bottom: .75rem; }
.review-invite p { color: var(--gray-600); margin-bottom: 2rem; font-size: var(--fs-md); }
.review-invite__platforms { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Star rating */
.stars { display: flex; gap: 2px; color: #F59E0B; font-size: 1.25rem; }

/* ── Prefers-reduced-motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__float-card { animation: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bento-a { grid-column: span 12; }
  .bento-b, .bento-c, .bento-d, .bento-e, .bento-f { grid-column: span 6; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; padding-block: 4rem; }
  .hero__visual { max-width: 480px; margin-inline: auto; }
  .about-split { grid-template-columns: 1fr; }
  .about-split--reverse { direction: ltr; }
  .about-img-main { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero__trust { gap: 1.25rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { max-width: 100%; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 2rem; }
  .stats-bar .stat-item:nth-child(2n) { border-right: none; }
  .stats-bar .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--gray-100); padding-bottom: 1.5rem; }
  .process-steps::before { display: none; }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e, .bento-f { grid-column: span 12; }
  .gallery-masonry { columns: 1; }
  .page-hero h1 { font-size: var(--fs-3xl); }
  .cta-banner { border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 1rem 1.75rem; }
  .stats-bar { grid-template-columns: 1fr; }
  .stats-bar .stat-item { border-right: none; border-bottom: 1px solid var(--gray-100); padding-bottom: 1.5rem; }
  .stats-bar .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ── Focus Visible ──────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--blue-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-blue   { color: var(--blue-brand); }
.mt-auto     { margin-top: auto; }
.w-full      { width: 100%; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
