/* ===== IRANSans Web ===== */
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSansWeb_Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSansWeb.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSansWeb_Medium.ttf') format('truetype');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSansWeb_Bold.ttf') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-2: #8b5cf6;
  --accent-3: #06b6d4;
  --gradient-main: linear-gradient(135deg, #1e3a8a 0%, #2563eb 35%, #7c3aed 70%, #06b6d4 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);
  --gradient-card: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(139,92,246,0.08));
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b1120;
  --border: rgba(148, 163, 184, 0.25);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  --shadow-lg: 0 20px 60px rgba(30, 58, 138, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'IRANSans', 'Tahoma', sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-2); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Animations ===== */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(15px) rotate(-3deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--bg-dark);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.55rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar__left svg { color: var(--accent); flex-shrink: 0; }

.top-bar__label { opacity: 0.85; }

.top-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(139,92,246,0.2));
  border: 1px solid rgba(245,158,11,0.35);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  color: #fbbf24;
  font-weight: 700;
  direction: ltr;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.top-bar__phone:hover {
  background: linear-gradient(135deg, rgba(245,158,11,0.35), rgba(139,92,246,0.35));
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(245,158,11,0.25);
}

.top-bar__phone svg { color: inherit; }

/* ===== Header ===== */
.site-header {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 40px;
  z-index: 999;
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.logo:hover { color: var(--primary); }

.logo__icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  flex-shrink: 0;
}

.logo__text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--primary);
}

.main-nav ul {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: 10px;
  transition: all var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

  .main-nav a.active {
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--primary);
  }

.main-nav__close { display: none; }

/* ===== Hero ===== */
.hero {
  background: var(--gradient-main);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  color: #fff;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero__blob--1 {
  width: 400px; height: 400px;
  background: rgba(139, 92, 246, 0.45);
  top: -100px; left: -80px;
  animation-delay: 0s;
}

.hero__blob--2 {
  width: 350px; height: 350px;
  background: rgba(6, 182, 212, 0.4);
  bottom: -80px; right: -60px;
  animation-delay: 2s;
}

.hero__blob--3 {
  width: 250px; height: 250px;
  background: rgba(245, 158, 11, 0.3);
  top: 40%; left: 50%;
  animation-delay: 4s;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content { animation: fadeInUp 0.9s ease forwards; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}

.hero__badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulseGlow 2s ease infinite;
}

.hero__badge--cert {
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(251,191,36,0.12));
  border-color: rgba(251,191,36,0.35);
}

.hero__badge--cert svg {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  flex-shrink: 0;
}

.cert-notice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(245,158,11,0.08));
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem !important;
  color: var(--text) !important;
}

.cert-notice svg {
  width: 22px;
  height: 22px;
  color: #f59e0b;
  flex-shrink: 0;
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #fbbf24 !important;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-cert svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #fbbf24, #f472b6, #67e8f9);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.78rem;
  opacity: 0.75;
}

.hero__visual {
  position: relative;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero__card-stack {
  position: relative;
  height: 380px;
}

.hero__float-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.hero__float-card--1 {
  top: 0; right: 0; left: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero__float-card--2 {
  top: 38%; right: 5%; left: 0;
  animation: floatReverse 7s ease-in-out infinite;
  animation-delay: 1s;
}

.hero__float-card--3 {
  bottom: 0; right: 15%; left: 5%;
  animation: float 8s ease-in-out infinite;
  animation-delay: 2s;
}

.hero__float-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__float-icon--blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.hero__float-icon--purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.hero__float-icon--amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }

.hero__float-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.hero__float-text span {
  font-size: 0.78rem;
  opacity: 0.8;
}

.hero__ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: spinSlow 30s linear infinite;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::before { transform: translateX(100%); }

.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 10px 32px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: #fff;
}

.btn-ghost {
  background: var(--gradient-card);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(37,99,235,0.12);
  box-shadow: var(--shadow);
}

/* ===== Sections ===== */
section { padding: 5rem 0; position: relative; }

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-tag svg { width: 14px; height: 14px; }

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section--dark .section-header h2 {
  background: linear-gradient(135deg, #fff, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.section--dark .section-header p { color: rgba(255,255,255,0.65); }

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.85rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: var(--gradient-main);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: #fff;
  transition: transform var(--transition);
}

.feature-card:hover .feature-card__icon { transform: scale(1.1) rotate(-5deg); }

.feature-card__icon--1 { background: linear-gradient(135deg, #3b82f6, #06b6d4); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }
.feature-card__icon--2 { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 6px 20px rgba(139,92,246,0.35); }
.feature-card__icon--3 { background: linear-gradient(135deg, #10b981, #06b6d4); box-shadow: 0 6px 20px rgba(16,185,129,0.35); }
.feature-card__icon--4 { background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 6px 20px rgba(245,158,11,0.35); }
.feature-card__icon--5 { background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 6px 20px rgba(99,102,241,0.35); }

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }

.feature-card__icon svg,
.hero__float-icon svg,
.panel-item__caption-icon svg,
.logo__icon svg,
.city-card__icon svg {
  width: 24px;
  height: 24px;
}

.top-bar svg { width: 16px; height: 16px; }
.btn svg { width: 18px; height: 18px; }
.contact-phone svg { width: 22px; height: 22px; }
.contact-list svg { width: 18px; height: 18px; }
.section-tag svg { width: 14px; height: 14px; }
.faq-icon svg { width: 16px; height: 16px; }

/* ===== Highlight Box ===== */
.content-box {
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(139,92,246,0.06));
  border: 1px solid rgba(37,99,235,0.15);
  border-right: 4px solid;
  border-image: var(--gradient-main) 1;
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.content-box::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.content-box p { position: relative; z-index: 1; }

/* ===== Panels Showcase ===== */
.panels-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.panel-item {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  group: panel;
}

.panel-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.panel-item__img-wrap {
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  text-align: inherit;
  cursor: default;
}

.panel-item__img-wrap--zoomable {
  cursor: zoom-in;
}

.panel-item__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.5), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.panel-item:hover .panel-item__img-wrap::after { opacity: 1; }

.panel-item__zoom-hint {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 2;
  pointer-events: none;
}

.panel-item__img-wrap--zoomable:hover .panel-item__zoom-hint,
.panel-item__img-wrap--zoomable:focus-visible .panel-item__zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.panel-item__img-wrap--zoomable:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: -3px;
}

.panel-item img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-item:hover img { transform: scale(1.06); }

.panel-item__caption {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.panel-item__caption-icon {
  width: 42px; height: 42px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.panel-item__caption h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.panel-item__caption p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== Image Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] { display: none; }

.lightbox.is-open {
  animation: lightboxFadeIn 0.25s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.35s ease;
}

.lightbox__close {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  z-index: 2;
}

.lightbox__close:hover {
  transform: scale(1.08);
  background: var(--bg-alt);
}

.lightbox__figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox__img {
  width: 100%;
  max-height: calc(92vh - 4rem);
  object-fit: contain;
  background: #0f172a;
}

.lightbox__caption {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

body.lightbox-open { overflow: hidden; }

/* ===== Cities ===== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.city-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.city-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.city-card:hover::before { transform: scaleX(1); }

.city-card__icon {
  width: 52px; height: 52px;
  margin: 0 auto 1rem;
  background: var(--gradient-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}

.city-card:hover .city-card__icon {
  background: var(--gradient-main);
  color: #fff;
  transform: scale(1.1);
}

.city-card h3 {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.city-card p { font-size: 0.85rem; color: var(--text-muted); }

.section--dark .city-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.section--dark .city-card h3 { color: #fff; }
.section--dark .city-card p { color: rgba(255,255,255,0.6); }

.section--dark .city-card:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: var(--gradient-main);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  animation: fadeInUp 0.7s ease;
}

.page-hero p {
  opacity: 0.9;
  max-width: 700px;
  animation: fadeInUp 0.7s ease 0.15s both;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb a { color: #fbbf24; }
.breadcrumb a:hover { color: #fff; }

/* ===== Content Area ===== */
.content-area { padding: 4rem 0 5rem; }

.content-area h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.content-area h2::before {
  content: '';
  width: 4px; height: 1.4em;
  background: var(--gradient-main);
  border-radius: 4px;
  flex-shrink: 0;
}

.content-area h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.75rem 0 0.75rem;
}

.content-area p { margin-bottom: 1rem; color: var(--text); line-height: 1.9; }

.content-area ul, .content-area ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text);
}

.content-area ul { list-style: none; }
.content-area ul li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.6rem;
}

.content-area ul li::before {
  content: '';
  position: absolute;
  right: 0; top: 0.65em;
  width: 8px; height: 8px;
  background: var(--gradient-main);
  border-radius: 50%;
}

.content-area ol { list-style: decimal; padding-right: 1.25rem; }
.content-area ol li { margin-bottom: 0.5rem; }

/* Quality cards for inner pages */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.quality-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.quality-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.quality-card__num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.quality-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.quality-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item[open] {
  border-color: rgba(37,99,235,0.3);
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-item summary:hover { color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
  width: 32px; height: 32px;
  background: var(--gradient-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item summary::after { display: none; }

.faq-item[open] summary .faq-icon {
  background: var(--gradient-main);
  color: #fff;
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  animation: fadeInUp 0.4s ease;
}

/* ===== Contact ===== */
.contact-section {
  background: var(--bg-dark);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.25), transparent 70%);
  animation: pulseGlow 10s ease infinite;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
  animation: pulseGlow 12s ease infinite reverse;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info p { opacity: 0.8; margin-bottom: 1.5rem; }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(245,158,11,0.35);
  padding: 1.1rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fbbf24;
  direction: ltr;
  transition: all var(--transition);
}

.contact-phone:hover {
  background: linear-gradient(135deg, rgba(245,158,11,0.3), rgba(139,92,246,0.3));
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(245,158,11,0.25);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.contact-list li svg {
  color: #4ade80;
  flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: #060d1a;
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 1.5rem;
  font-size: 0.88rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--gradient-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255,255,255,0.65); transition: all var(--transition); }
.site-footer a:hover { color: #fbbf24; padding-right: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

/* ===== SEO Text ===== */
.seo-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 2.1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.seo-text strong { color: var(--text); }
.seo-text a { font-weight: 600; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
}

.text-link:hover { gap: 0.65rem; color: var(--accent-2); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero { min-height: auto; padding: 4rem 0; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding: 0.75rem 1rem 1rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    z-index: 10;
  }

  .main-nav.open { display: block; animation: fadeInUp 0.3s ease; }
  .main-nav ul { flex-direction: column; gap: 0.25rem; }

  .main-nav a {
    color: var(--text);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
  }

  .main-nav__close {
    display: block;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
  }

  .main-nav__close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
  }

  .main-nav__close-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .main-nav__close-btn:hover,
  .main-nav__close-btn:focus-visible {
    background: #fee2e2;
    border-color: rgba(239, 68, 68, 0.45);
    color: #991b1b;
    outline: none;
  }

  .site-header { top: 0; position: sticky; }
  .site-header .container {
    flex-wrap: nowrap;
    position: relative;
    gap: 0.75rem;
  }

  .logo {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
  }

  .logo__icon {
    width: 38px;
    height: 38px;
  }

  .logo__text span {
    font-size: 0.68rem;
  }

  section { padding: 3.5rem 0; }
  .hero__stats { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate-in { opacity: 1; transform: none; }
}
