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

:root {
  --blue: #0ea5e9;
  --blue-dark: #0369a1;
  --blue-light: #e0f2fe;
  --green: #10b981;
  --orange: #f59e0b;
  --purple: #8b5cf6;
  --red: #ef4444;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===== UTILITY ===== */
.gradient-text {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.45);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--dark);
  background: white;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: white;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.hero .btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.18);
  color: white;
}

.btn-full { width: 100%; justify-content: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: var(--blue-light);
  border-radius: 50px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
}

.section-cta { text-align: center; margin-top: 40px; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc { margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}

.nav-links a:hover { background: var(--blue-light); color: var(--blue); }

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
  background: var(--blue-light);
  color: var(--blue-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  padding: 140px 0 0;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,13,26,0.82) 0%, rgba(4,25,46,0.72) 45%, rgba(4,17,32,0.94) 100%),
    linear-gradient(90deg, rgba(2,13,26,0.75) 0%, rgba(2,13,26,0.15) 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 48px;
}

.hero-content { max-width: 640px; }

.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(2,13,26,0.55);
  backdrop-filter: blur(10px);
  padding: 28px 0;
}

.hero-trust-grid {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-num { font-size: 24px; font-weight: 800; color: #ffffff; line-height: 1.2; }
.hero-trust-label { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 500; }
.hero-trust-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.15); }

.hero-scroll {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  text-align: center;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

.scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: var(--blue);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: 0.5; } }

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 32px 0;
  background: var(--dark);
  overflow: hidden;
}

.trust-bar .container { display: flex; align-items: center; gap: 40px; }
.trust-label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.4); white-space: nowrap; }
.trust-logos { display: flex; gap: 48px; overflow: hidden; flex: 1; }

.trust-logo {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.trust-logo:hover { color: rgba(255,255,255,0.7); }

/* ===== ABOUT ===== */
.about { background: white; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap { position: relative; }

.about-img-main {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--blue-light), #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-placeholder { opacity: 0.8; }

.about-badge-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border);
}

.about-badge-num { display: block; font-size: 36px; font-weight: 900; color: var(--blue); line-height: 1; }
.about-badge-txt { font-size: 12px; color: var(--gray); font-weight: 500; }

.about-img-accent {
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  opacity: 0.15;
  filter: blur(30px);
}

.about-content .section-title { margin-top: 8px; }
.about-lead { font-size: 17px; font-weight: 500; color: var(--dark-2); margin-bottom: 16px; }
.about-body { color: var(--gray); margin-bottom: 32px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon.blue { background: var(--blue-light); color: var(--blue); }
.feature-icon.green { background: #d1fae5; color: var(--green); }
.feature-icon.orange { background: #fef3c7; color: var(--orange); }
.feature-icon.purple { background: #ede9fe; color: var(--purple); }

.about-feature h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.about-feature p { font-size: 13px; color: var(--gray); }

/* ===== SERVICES ===== */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--icon-bg, var(--blue-light));
  color: var(--icon-color, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray); margin-bottom: 20px; line-height: 1.7; }

.service-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  padding-bottom: 2px;
}

.service-link:hover { border-color: var(--blue); gap: 10px; }

.featured-card {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border-color: transparent;
}

.featured-card h3 { color: white; }
.featured-card p { color: rgba(255,255,255,0.8); }
.featured-card::before { background: linear-gradient(90deg, white, rgba(255,255,255,0.5)); }

.featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* ===== WHY US ===== */
.why-us { background: white; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  background: white;
}

.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }

.why-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--gray-light);
  position: absolute;
  top: 16px; right: 20px;
  line-height: 1;
  font-style: italic;
}

.why-icon { margin-bottom: 20px; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ===== STATS ===== */
.stats-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 50%, var(--dark) 100%);
}

.stats-bg::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='%230ea5e9' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 32px 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  min-width: 200px;
}

.stat-big {
  font-size: 56px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.stat-suffix {
  font-size: 32px;
  font-weight: 900;
  color: var(--blue);
}

.stat-item p {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ===== PROJECTS ===== */
.projects { background: var(--gray-light); }

.masonry-grid {
  columns: 3;
  column-gap: 8px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  min-height: 120px;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
}

.masonry-item:hover img { transform: scale(1.08); }

.masonry-item .masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.masonry-item:hover .masonry-overlay { opacity: 1; }

.masonry-overlay-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 10px;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

.masonry-item:hover .masonry-overlay-icon { transform: translateY(0); }

.masonry-item .masonry-label {
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  position: absolute;
  bottom: 14px;
  left: 14px;
  transform: translateY(6px);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.masonry-item:hover .masonry-label {
  opacity: 1;
  transform: translateY(0);
}

/* placeholder colors when images are missing */
.masonry-item.ph-1 { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.masonry-item.ph-2 { background: linear-gradient(135deg, #6366f1, #4338ca); }
.masonry-item.ph-3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.masonry-item.ph-4 { background: linear-gradient(135deg, #10b981, #059669); }

/* ===== PROCESS ===== */
.process { background: var(--dark); }
.process .section-tag { background: rgba(14,165,233,0.15); }
.process .section-title { color: white; }

.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(14,165,233,0.1);
  flex-shrink: 0;
}

.step-content h3 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 8px; }
.step-content p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 180px; margin: 0 auto; }

.process-connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(14,165,233,0.2));
  position: relative;
  top: -32px;
}

/* ===== CONTACT ===== */
.contact { background: var(--gray-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p { color: var(--gray); margin-bottom: 36px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ci-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: white;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.contact-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-item span { font-size: 14px; color: var(--gray); line-height: 1.5; }

.social-links { display: flex; gap: 12px; }

.social-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: white;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.social-btn:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

.contact-form-wrap {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label { font-size: 13px; font-weight: 600; color: var(--dark); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--dark);
  background: var(--gray-light);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-note { font-size: 12px; color: var(--gray); text-align: center; margin-top: 12px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); }

.footer-top { padding: 72px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 24px; }

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-socials a:hover { background: var(--blue); color: white; border-color: var(--blue); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(14,165,233,0.3);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--blue); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

.footer-contact li svg { flex-shrink: 0; margin-top: 1px; color: var(--blue); opacity: 0.7; }

.footer-bottom { padding: 24px 0; }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.3); transition: var(--transition); }
.footer-links a:hover { color: var(--blue); }

/* ===== FLOATING BUTTON STACK ===== */
.fab-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
  z-index: 500;
}

.fab-item { position: relative; }

/* Tooltip */
.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-50%) translateX(6px);
}

.fab-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--dark);
}

.fab-item:hover .fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Base FAB button */
.fab-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

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

/* WhatsApp */
.fab-whatsapp {
  background: #25d366;
  color: white;
  width: 56px; height: 56px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  animation: fabBounce 3s ease-in-out infinite;
}

.fab-whatsapp:hover { box-shadow: 0 8px 32px rgba(37,211,102,0.6); }

@keyframes fabBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* WhatsApp pulse ring */
.fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: pulsRing 2.5s ease-out infinite;
}

@keyframes pulsRing {
  0%   { transform: scale(1);   opacity: 0.8; }
  80%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Chat toggle */
.fab-chat {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(14,165,233,0.4);
}

.fab-chat.active { background: var(--dark); }
.fab-chat:hover  { box-shadow: 0 8px 32px rgba(14,165,233,0.55); }

/* Unread badge */
.chat-unread {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  animation: unreadPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes unreadPop { from { transform: scale(0); } to { transform: scale(1); } }
.chat-unread.hidden { display: none; }

/* Scroll to top */
.fab-scroll {
  background: white;
  color: var(--blue);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}

.fab-scroll.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.fab-scroll:hover   { background: var(--blue); color: white; }

/* ===== LIVE CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 360px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 490;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  transform: translateY(24px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.35s cubic-bezier(0.34,1.26,0.64,1), opacity 0.25s ease;
}

.chat-widget.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Chat header */
.chat-header {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-agent { display: flex; align-items: center; gap: 12px; }

.agent-avatar {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  overflow: visible;
  display: flex; align-items: center; justify-content: center;
}

.agent-status {
  position: absolute;
  bottom: 0; right: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid white;
}

.agent-info strong { display: block; color: white; font-size: 14px; font-weight: 700; }
.agent-online { font-size: 11px; color: rgba(255,255,255,0.8); }

.chat-header-actions { display: flex; align-items: center; gap: 6px; }

.ch-action {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.ch-action:hover { background: rgba(255,255,255,0.3); }

/* Quick links */
.chat-quicklinks {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #f8faff;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.chat-quicklinks::-webkit-scrollbar { display: none; }

.ql-btn {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1.5px solid var(--blue);
  background: white;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.ql-btn:hover { background: var(--blue); color: white; }

/* Messages area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  max-height: 300px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Message bubble */
.msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  animation: msgSlide 0.3s cubic-bezier(0.34,1.26,0.64,1);
}

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

.msg.user { flex-direction: row-reverse; }

.msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.msg-avatar svg { display: block; }

.msg-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  position: relative;
}

.msg.agent .msg-bubble {
  background: var(--gray-light);
  color: var(--dark);
  border-bottom-left-radius: 4px;
}

.msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 10px;
  color: var(--gray);
  margin-top: 3px;
  text-align: right;
  padding: 0 4px;
}

.msg.agent .msg-time { text-align: left; }

.msg-row { display: flex; flex-direction: column; }
.msg.user .msg-row { align-items: flex-end; }

/* Date divider */
.chat-divider {
  text-align: center;
  font-size: 11px;
  color: var(--gray);
  padding: 4px 0;
  position: relative;
}

.chat-divider::before, .chat-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: 30%;
  height: 1px;
  background: var(--border);
}

.chat-divider::before { left: 0; }
.chat-divider::after  { right: 0; }

/* Typing indicator */
.typing-indicator {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 8px;
  flex-shrink: 0;
}

.typing-indicator.show { display: flex; }

.typing-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.typing-dots {
  background: var(--gray-light);
  padding: 10px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray);
  animation: typeDot 1.2s ease-in-out infinite;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typeDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* Input bar */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: white;
  flex-shrink: 0;
}

#chatInput {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 13.5px;
  outline: none;
  transition: var(--transition);
  background: var(--gray-light);
  font-family: inherit;
}

#chatInput:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }

.chat-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(14,165,233,0.35);
}

.chat-send:hover  { transform: scale(1.08); box-shadow: 0 4px 16px rgba(14,165,233,0.5); }
.chat-send:active { transform: scale(0.96); }

.chat-footer-note {
  font-size: 11px;
  color: var(--gray);
  text-align: center;
  padding: 6px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: white;
  flex-shrink: 0;
  color: #22c55e;
  border-top: 1px solid var(--border);
}

.chat-footer-note svg { fill: #22c55e; }

/* ===== RESPONSIVE ===== */

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  z-index: 200;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(14,165,233,0.3);
  white-space: nowrap;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== ANIMATIONS ===== */
[data-aos] { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ===== GALLERY ===== */
.gallery { background: var(--gray-light); }

/* --- Filter pills --- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  background: white;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.filter-btn:hover { color: var(--blue); border-color: var(--blue); }

.filter-btn.active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}

/* --- Filterable masonry grid --- */
.gallery-grid {
  columns: 4;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  min-height: 140px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item.filtered-out {
  display: none;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay-icon { transform: translateY(0); }

.gallery-item .gallery-label {
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* placeholder colors when images are missing */
.gallery-item.ph-1 { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.gallery-item.ph-2 { background: linear-gradient(135deg, #6366f1, #4338ca); }
.gallery-item.ph-3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gallery-item.ph-4 { background: linear-gradient(135deg, #10b981, #059669); }

/* --- Upload Section --- */
.upload-section {
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.upload-header { margin-bottom: 28px; }

.upload-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.upload-title h3 { font-size: 20px; font-weight: 700; }
.upload-header p { font-size: 14px; color: var(--gray); }

.drop-zone {
  border: 2.5px dashed var(--border);
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-light);
  position: relative;
  margin-bottom: 28px;
}

.drop-zone.drag-over {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: scale(1.01);
}

.drop-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.drop-zone h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.drop-zone > p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }

.upload-btn { margin: 0 auto 16px; }

.drop-hint {
  font-size: 12px;
  color: var(--gray);
  margin: 0 !important;
}

/* Uploaded images grid */
.uploaded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.uploaded-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.uploaded-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.uploaded-item:hover img { transform: scale(1.08); }

.uploaded-item .item-del {
  position: absolute;
  top: 6px; right: 6px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(239,68,68,0.9);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
}

.uploaded-item:hover .item-del { display: flex; }
.uploaded-item .item-del:hover { transform: scale(1.15); background: #dc2626; }

.uploaded-item .item-view {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.uploaded-item:hover .item-view { background: rgba(0,0,0,0.35); }

.item-view svg { opacity: 0; transform: scale(0.7); transition: var(--transition); }
.uploaded-item:hover .item-view svg { opacity: 1; transform: scale(1); }

.uploaded-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px;
  color: var(--gray);
  font-size: 14px;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open { opacity: 1; pointer-events: all; }

.lb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  gap: 16px;
}

.lb-img-wrap {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: lbZoom 0.3s ease;
}

@keyframes lbZoom { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.lb-img-wrap img {
  display: block;
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
}

.lb-caption {
  color: white;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.lb-counter {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

.lb-close {
  position: fixed;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.15);
}

.lb-close:hover { background: rgba(239,68,68,0.8); transform: rotate(90deg); }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 10;
}

.lb-nav:hover { background: var(--blue); border-color: var(--blue); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .masonry-grid { columns: 2; }
  .gallery-grid { columns: 3; }
}

@media (max-width: 768px) {
  .gallery-grid { columns: 2; }
  .upload-section { padding: 24px; }
  .uploaded-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .lb-nav { width: 44px; height: 44px; }
  .section-pad { padding: 64px 0; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: white;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 18px; padding: 14px 24px; }
  .nav-links .nav-cta { border-radius: 12px; text-align: center; }

  .hero-title { font-size: 36px; }
  .hero-trust-grid { gap: 20px; }
  .hero-trust-divider { display: none; }
  .hero-scroll { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 360px; margin: 0 auto; }

  .services-grid,
  .why-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; gap: 32px; }
  .process-connector { width: 2px; height: 32px; background: linear-gradient(180deg, var(--blue), rgba(14,165,233,0.2)); top: 0; }
  .step-content p { max-width: 280px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .masonry-grid { columns: 2; }

  .trust-bar .container { flex-direction: column; gap: 16px; }
  .trust-logos { gap: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }

  .about-features { grid-template-columns: 1fr; }
  .chat-widget { width: calc(100vw - 24px); right: 12px; bottom: 90px; }
  .fab-stack   { right: 12px; bottom: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats .stat-divider { display: none; }
  .hero-stats { gap: 16px; }
  .contact-form-wrap { padding: 24px; }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #3730a3 0%, #4f46e5 50%, #6366f1 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-banner-inner {
  max-width: 760px;
  margin: 0 auto;
}
.cta-banner-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-banner-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cta-banner-btn--primary {
  background: #fff;
  color: #4f46e5;
  border: 2px solid #fff;
}
.cta-banner-btn--primary:hover {
  background: #ede9fe;
  transform: translateY(-2px);
}
.cta-banner-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.cta-banner-btn--outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ===== VIDEOS SECTION ===== */
.videos-section {
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.videos-header {
  margin-bottom: 24px;
}

.videos-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.videos-title h3 { font-size: 18px; font-weight: 700; }
.videos-header > p { font-size: 14px; color: var(--gray); }

.video-add-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.video-add-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  background: var(--gray-light);
  outline: none;
  transition: var(--transition);
}

.video-add-bar input:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.08);
}

.video-add-error {
  font-size: 13px;
  color: var(--red);
  min-height: 20px;
  margin-bottom: 4px;
  font-weight: 500;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.video-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  color: var(--gray);
  font-size: 14px;
  text-align: center;
}

/* Video Card */
.video-card {
  border-radius: 14px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-2);
}

.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img { transform: scale(1.05); }

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  transition: background 0.3s ease;
}

.video-play-overlay:hover { background: rgba(0,0,0,0.48); }

.video-play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.video-play-btn:hover { transform: scale(1.12); background: white; }

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.video-card-footer span { font-size: 13px; font-weight: 600; color: var(--dark); }

.video-del {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #fee2e2;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.video-del:hover { background: var(--red); color: white; transform: scale(1.1); }

/* ===== VIDEO MODAL ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.open { opacity: 1; pointer-events: all; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
}

.video-modal-box {
  position: relative;
  width: 90vw;
  max-width: 900px;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: vmZoom 0.3s ease;
}

@keyframes vmZoom {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.video-modal-close {
  position: absolute;
  top: -48px; right: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.video-modal-close:hover { background: rgba(239,68,68,0.85); border-color: transparent; transform: rotate(90deg); }

.video-modal-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-modal-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .video-add-bar { flex-direction: column; }
  .videos-section { padding: 24px; }
  .videos-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .videos-grid { grid-template-columns: 1fr; }
}
