/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
  --brand-primary: #2E86AB;
  --brand-secondary: #1a5a7a;

  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --color-bg:      #ffffff;
  --color-bg-alt:  #f8f9fa;
  --color-text:    #111827;
  --color-muted:   #6b7280;
  --color-border:  #e5e7eb;
  --color-surface: #ffffff;

  --color-success: #059669;
  --color-error:   #dc2626;

  --font: 'Outfit', system-ui, -apple-system, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm:   6px;
  --radius-base: 10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 250ms;

  --max-width:      1200px;
  --section-pad:    5rem;
  --header-height:  72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:      #0f1117;
    --color-bg-alt:  #161b22;
    --color-text:    #f0f6fc;
    --color-muted:   #8b949e;
    --color-border:  #30363d;
    --color-surface: #161b22;
  }
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-primary); text-decoration: none; transition: color var(--duration) var(--ease); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.6rem, 3vw, var(--text-4xl)); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { line-height: 1.7; }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-base);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn--primary:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  color: #fff;
}
.btn--primary:active { transform: none; }

.btn--hero-primary {
  background: #fff;
  color: var(--brand-primary);
  border-color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.btn--hero-primary:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  color: var(--brand-primary);
}

.btn--hero-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn--hero-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

.btn--full-width { width: 100%; }

/* ============================================
   SECTION LABELS & HEADERS
   ============================================ */

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p { font-size: var(--text-lg); color: var(--color-muted); margin: 0; }

/* ============================================
   FORMS
   ============================================ */

.form-group { margin-bottom: var(--space-5); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  -webkit-appearance: none;
}
.form-control::placeholder { color: var(--color-muted); }
.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================
   HEADER & NAV
   ============================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

@media (prefers-color-scheme: dark) {
  .header { background: rgba(15,17,23,.92); }
}

.header.scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar { height: 100%; }

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}

.navbar-brand {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-brand:hover { color: var(--brand-primary); }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: 0.4rem 0.75rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-base);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--brand-primary);
  background: rgba(0,0,0,.04);
}

.nav-link--cta {
  background: var(--brand-primary);
  color: #fff !important;
  font-weight: 600;
  margin-left: var(--space-2);
}
.nav-link--cta:hover {
  filter: brightness(.9);
  background: var(--brand-primary);
  color: #fff;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-base);
}
.navbar-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.navbar-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(255,255,255,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(255,255,255,.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: var(--space-16) 0 var(--space-24);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 1rem;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-5);
  animation: fadeInDown .6s var(--ease) both;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  animation: fadeInUp .7s var(--ease) .1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, var(--text-xl));
  color: rgba(255,255,255,.85);
  margin-bottom: var(--space-8);
  animation: fadeInUp .7s var(--ease) .2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  animation: fadeInUp .7s var(--ease) .3s both;
}

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ============================================
   ABOUT
   ============================================ */

.about-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text .section-label { display: block; }
.about-text h2 { margin-bottom: var(--space-5); }
.about-text > p {
  font-size: var(--text-lg);
  color: var(--color-muted);
  margin-bottom: var(--space-8);
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.stat-item {
  padding: var(--space-5);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.about-visual { display: flex; justify-content: center; }

.about-image-wrapper {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand-primary) 14%, var(--color-bg)) 0%,
    color-mix(in srgb, var(--brand-secondary) 14%, var(--color-bg)) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 4rem;
  gap: var(--space-3);
}

/* ============================================
   SERVICES
   ============================================ */

.services-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--brand-primary);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: color-mix(in srgb, var(--brand-primary) 6%, transparent);
  border-radius: 50%;
  transform: translate(30%, 30%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

.service-icon {
  width: 56px; height: 56px;
  background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--brand-primary);
  font-size: 1.4rem;
  transition: all var(--duration) var(--ease);
}
.service-card:hover .service-icon {
  background: var(--brand-primary);
  color: #fff;
  transform: scale(1.08);
}

.service-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.service-card p  { color: var(--color-muted); line-height: 1.7; }

/* ============================================
   GALLERY
   ============================================ */

.gallery-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}
.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}
.gallery-item-overlay span { color: #fff; font-size: var(--text-sm); font-weight: 500; }

.gallery-item-zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.7);
  opacity: 0;
  transition: all var(--duration) var(--ease);
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-full);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover .gallery-item-zoom { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.gallery-placeholder {
  width: 100%; height: 100%; min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-muted);
  background: color-mix(in srgb, var(--brand-primary) 6%, var(--color-bg-alt));
}
.gallery-placeholder i { font-size: 2rem; color: var(--brand-primary); opacity: .4; }

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -.15em; left: -.04em;
  font-size: 20rem;
  font-weight: 800;
  color: var(--brand-primary);
  opacity: .04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonials-wrapper { max-width: 800px; margin: 0 auto; }

.testimonials-carousel { position: relative; min-height: 220px; }

.testimonial-item { display: none; }
.testimonial-item.active { display: block; animation: fadeIn .4s var(--ease); }

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-5);
  color: #f59e0b;
  font-size: 1.05rem;
}

.testimonial-text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h4 { font-size: var(--text-base); font-weight: 700; margin-bottom: 2px; }
.author-info p  { font-size: var(--text-sm); color: var(--color-muted); margin: 0; }

.testimonial-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.testimonial-btn {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease);
  font-size: var(--text-sm);
}
.testimonial-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.testimonial-dots { display: flex; gap: var(--space-2); }
.dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.dot.active { background: var(--brand-primary); width: 24px; }

/* ============================================
   CONTACT
   ============================================ */

.contact-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-form-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-4);
}

.contact-item { display: flex; align-items: flex-start; gap: var(--space-4); }

.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
  font-size: 1.05rem;
}

.contact-details h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-muted);
  margin-bottom: var(--space-1);
}
.contact-details p { font-size: var(--text-base); color: var(--color-text); margin: 0; line-height: 1.5; }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.footer-brand h3    { color: #fff; font-size: var(--text-xl); margin-bottom: var(--space-3); }
.footer-brand p     { font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--space-5); color: var(--gray-400); }

.social-links { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.social-link {
  width: 40px; height: 40px;
  border-radius: var(--radius-base);
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: var(--text-base);
  transition: all var(--duration) var(--ease);
}
.social-link:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-nav h4,
.footer-contact-info h4 {
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--space-4);
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-nav ul a { color: var(--gray-400); font-size: var(--text-sm); transition: color var(--duration) var(--ease); }
.footer-nav ul a:hover { color: var(--brand-primary); }

.footer-contact-info p { font-size: var(--text-sm); color: var(--gray-400); margin-bottom: var(--space-2); line-height: 1.5; }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-800);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* ============================================
   FLOATING BUTTON
   ============================================ */

.float-btn {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: .85rem 1.5rem;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: all var(--duration) var(--ease);
}
.float-btn:hover {
  filter: brightness(.92);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  color: #fff;
}
.float-btn i { font-size: 1.1rem; }

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) var(--ease);
}
.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lightbox-img-wrapper img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.lightbox-close {
  position: fixed;
  top: var(--space-5); right: var(--space-5);
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background var(--duration) var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background var(--duration) var(--ease);
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-nav--prev { left: var(--space-5); }
.lightbox-nav--next { right: var(--space-5); }

/* ============================================
   DEMO SELECTOR
   ============================================ */

.demo-selector {
  position: fixed;
  top: calc(var(--header-height) + var(--space-3));
  right: var(--space-4);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-muted);
}
.demo-selector select {
  border: none;
  background: none;
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  outline: none;
}

/* ============================================
   NOTIFICATION
   ============================================ */

.notification {
  position: fixed;
  top: calc(var(--header-height) + var(--space-4));
  right: var(--space-4);
  max-width: 380px;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  animation: slideInRight .3s var(--ease);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: opacity .3s;
}
.notification--success { border-left: 4px solid var(--color-success); }
.notification--error   { border-left: 4px solid var(--color-error); }
.notification--success i { color: var(--color-success); }
.notification--error   i { color: var(--color-error); }
.notification i { font-size: 1.2rem; flex-shrink: 0; }
.notification p { flex: 1; margin: 0; font-size: var(--text-sm); font-weight: 500; }
.notification-close {
  background: none; border: none;
  cursor: pointer;
  color: var(--color-muted);
  padding: var(--space-1);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease);
  font-size: var(--text-sm);
}
.notification-close:hover { color: var(--color-text); }

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

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

@media (max-width: 1024px) {
  .contact-content { grid-template-columns: 1fr; }
  .footer-content  { grid-template-columns: 1fr 1fr; }
  .footer-brand    { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem; }

  .navbar-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-1);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    z-index: 1001;
  }
  .navbar-menu.active    { display: flex; }
  .nav-link--cta         { margin-left: 0; text-align: center; }
  .navbar-toggle         { display: flex; }

  .about-content         { grid-template-columns: 1fr; }
  .about-visual          { order: -1; }
  .about-stats           { grid-template-columns: repeat(3, 1fr); }

  .gallery-grid          { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }

  .footer-content        { grid-template-columns: 1fr; }
  .footer-brand          { grid-column: auto; }

  .float-btn span        { display: none; }
  .float-btn             { width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: var(--radius-full); }

  .demo-selector         { display: none; }
  .form-row              { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .about-stats           { grid-template-columns: 1fr; }
  .gallery-grid          { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; aspect-ratio: 4 / 3; }
  .hero-actions          { flex-direction: column; align-items: stretch; }
  .lightbox-nav          { display: none; }
}
