/* ============================================
   ARTICON CLINIC -- Vibrant Premium
   Geometric Luxe: bold gradients + clinical precision
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg: #fafafa;
  --surface: #f0f0f0;
  --accent: #7c3aed;
  --accent-hover: #9333ea;
  --accent-soft: rgba(124, 58, 237, 0.08);
  --accent-medium: rgba(124, 58, 237, 0.15);
  --text: #18181b;
  --text-muted: #71717a;
  --border: #e4e4e7;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #7c3aed, #ec4899);
  --gradient-soft: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(236,72,153,0.06));
  --gradient-medium: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(236,72,153,0.12));
  --gradient-vertical: linear-gradient(180deg, #7c3aed, #ec4899);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(124,58,237,0.10);
  --shadow-lg: 0 12px 40px rgba(124,58,237,0.15);
  --shadow-xl: 0 20px 60px rgba(124,58,237,0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { color: var(--text-muted); line-height: 1.75; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--surface {
  background: var(--surface);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  min-height: 52px;
  min-width: 44px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.4);
}

.btn--outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 12px 24px;
  font-size: 0.875rem;
  min-height: 44px;
}

/* ---------- HEADER / NAVBAR ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__logo {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--white);
}

.header__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.header__title span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 8px; }

.nav a {
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 40px;
  transition: all 0.3s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav a:hover, .nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav__cta {
  margin-left: 8px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: right 0.5s var(--ease-out);
  padding: 80px 24px 40px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  padding: 16px 32px;
  border-radius: 16px;
  transition: all 0.3s;
  min-height: 56px;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  max-width: 320px;
}

/* ---------- HERO SLIDER ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #fafafa 0%, #f0ecff 30%, #fce4f3 60%, #fafafa 100%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, rgba(236,72,153,0.04) 50%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 20s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(236,72,153,0.06) 0%, rgba(124,58,237,0.03) 50%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 25s ease-in-out infinite reverse;
}

/* Geometric decorations */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  opacity: 0.08;
}

.hero__shape--1 {
  top: 15%;
  right: 8%;
  width: 120px;
  height: 120px;
  border: 3px solid var(--accent);
  transform: rotate(30deg);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: spin-slow 30s linear infinite;
}

.hero__shape--2 {
  bottom: 20%;
  left: 5%;
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  animation: float-slow 15s ease-in-out infinite;
}

.hero__shape--3 {
  top: 40%;
  left: 15%;
  width: 60px;
  height: 60px;
  border: 2px solid #ec4899;
  border-radius: 12px;
  transform: rotate(45deg);
  animation: float-slow 18s ease-in-out infinite reverse;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__title {
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Slider (right side) */
.hero__slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.hero__slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transform: scale(1.05);
}

.hero__slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 28px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--white);
}

.hero__slide-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.hero__slide-role {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 300;
}

/* Slider dots */
.hero__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  border: none;
  padding: 0;
  min-height: auto;
  min-width: auto;
}

.hero__dot.active {
  background: var(--gradient);
  width: 32px;
  border-radius: 10px;
}

/* Gradient accent bar behind slider */
.hero__slider::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  bottom: -20px;
  left: 20px;
  background: var(--gradient);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.25;
}

/* ---------- PROMO BANNER ---------- */
.promo-bar {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.promo-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255,255,255,0.04) 20px, rgba(255,255,255,0.04) 40px);
}

.promo-bar span {
  position: relative;
  z-index: 1;
}

/* ---------- FEATURES STRIP ---------- */
.features-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.features-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.features-strip__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--gradient-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-strip__icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.features-strip__text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.3;
}

.features-strip__text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- SERVICES (photo-left cards) ---------- */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.2);
}

.service-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: 30px;
  letter-spacing: 0.02em;
}

.service-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card__category {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.service-card__title {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-card__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-card__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card__price del {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.9rem;
  margin-left: 8px;
}

.service-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-card__feature {
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 30px;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-header__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-soft);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- TEAM SECTION ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.2);
}

.team-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}

.team-card:hover .team-card__img img {
  transform: scale(1.05);
}

.team-card__body {
  padding: 20px 22px 24px;
}

.team-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  line-height: 1.3;
}

.team-card__role {
  font-size: 0.83rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.team-card__desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- GALLERY (masonry) ---------- */
.gallery-masonry {
  columns: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(124,58,237,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__label {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
}

.cta-section__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-section__bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  animation: spin-slow 40s linear infinite;
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn--white {
  font-size: 1rem;
  padding: 18px 42px;
}

/* ---------- CONTACTS ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--gradient-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.contact-item__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.contact-item__value a {
  color: var(--accent);
  transition: color 0.3s;
}

.contact-item__value a:hover {
  color: var(--accent-hover);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--surface);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer__brand img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  min-height: 32px;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- FLOATING WHATSAPP / INSTAGRAM CTA ---------- */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-cta__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s var(--ease-out);
}

.floating-cta__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

.floating-cta__btn--ig {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: var(--white);
}

.floating-cta__btn svg {
  width: 28px;
  height: 28px;
}

/* Pulse ring */
.floating-cta__btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(124,58,237,0.3);
  animation: pulse-ring 2s ease-out infinite;
}

/* ---------- CLIP-REVEAL ANIMATION ---------- */
/* Default: content is VISIBLE (no-JS fallback) */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  clip-path: none;
  transform: none;
}

/* Only hide when JS has initialized the observer */
.js-reveal-init .reveal {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transition: opacity 0.8s var(--ease-out), clip-path 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transform: translateY(30px);
}

.js-reveal-init .reveal.visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

.js-reveal-init .reveal-left {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.8s var(--ease-out), clip-path 0.8s var(--ease-out);
}

.js-reveal-init .reveal-left.visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.js-reveal-init .reveal-right {
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  transition: opacity 0.8s var(--ease-out), clip-path 0.8s var(--ease-out);
}

.js-reveal-init .reveal-right.visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

/* Stagger delays — only when JS is active */
.js-reveal-init .reveal-d1 { transition-delay: 0.1s; }
.js-reveal-init .reveal-d2 { transition-delay: 0.2s; }
.js-reveal-init .reveal-d3 { transition-delay: 0.3s; }
.js-reveal-init .reveal-d4 { transition-delay: 0.4s; }
.js-reveal-init .reveal-d5 { transition-delay: 0.5s; }
.js-reveal-init .reveal-d6 { transition-delay: 0.6s; }

/* ---------- KEYFRAMES ---------- */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- PAGE-SPECIFIC: GALLERY PAGE ---------- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #fafafa 0%, #f0ecff 40%, #fafafa 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content { max-width: 100%; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }

  .hero__slider {
    max-width: 380px;
    justify-self: center;
  }

  .features-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    grid-template-columns: 240px 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav { display: none; }
  .burger { display: flex; }

  .hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 40px;
  }

  .hero__inner {
    padding: 40px 24px;
  }

  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero__slider {
    max-width: 320px;
  }

  .hero__slider-track {
    aspect-ratio: 3/4;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card__img {
    aspect-ratio: 16/9;
  }

  .gallery-masonry {
    columns: 2;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bar {
    justify-content: center;
    text-align: center;
  }

  .floating-cta {
    bottom: 20px;
    right: 20px;
  }

  .floating-cta__btn {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .container { padding: 0 16px; }

  .hero__slider {
    max-width: 280px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .gallery-masonry {
    columns: 1;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .features-strip__grid {
    grid-template-columns: 1fr;
  }

  .section-header { margin-bottom: 40px; }
}
