/* ===== DESIGN SYSTEM (APPLE HIG / DESIGN KIT) ===== */
:root {
  --apple-black: #000000;
  --apple-dark-bg: #070d18;
  --apple-surface-dark: #0e1829;
  --apple-white: #ffffff;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-blue-active: #0062c4;
  --apple-cyan: #38bdf8;
  --apple-cyan-light: #7dd3fc;
  --apple-gray-50: #fbfbfd;
  --apple-gray-100: #f5f5f7;
  --apple-gray-200: #e5e5ea;
  --apple-gray-300: #d1d1d6;
  --apple-gray-400: #aeaeb2;
  --apple-gray-500: #8e8e93;
  --apple-gray-600: #636366;
  --apple-gray-700: #3a3a3c;
  --apple-gray-800: #1c1c1e;
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-card-lg: 24px;
}

/* ===== RESET & RESIZE PROTECTION ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: #1d1d1f;
  background: var(--apple-white);
  font: 15px/1.6 var(--font-system);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; transition: all .2s ease; }
button { font: inherit; cursor: pointer; transition: all .2s ease; border: none; }
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 2px;
}

/* ===== LAYOUT CONTAINERS ===== */
.wrap { max-width: 1180px; margin: auto; padding: 0 28px; }
.section { padding: 76px 0; }
.section-num {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--apple-blue); font-weight: 700; margin-bottom: 10px;
}
h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin: 0 0 16px;
}

/* ===== APPLE DESIGN KIT: BUTTONS & CONTROLS ===== */
/* 1. Primary Solid Pill Button (Blue) */
.btn-apple-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--apple-blue);
  color: var(--apple-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 113, 227, 0.35);
  text-decoration: none;
}
.btn-apple-primary:hover {
  background: var(--apple-blue-hover);
  transform: scale(1.02);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.6), 0 4px 14px rgba(0, 113, 227, 0.5);
  color: var(--apple-white);
}
.btn-apple-primary:active {
  transform: scale(0.98);
  background: var(--apple-blue-active);
}

/* 2. Liquid Glass Pill Button (Dark Context) */
.btn-apple-liquid-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--apple-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.btn-apple-liquid-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.02);
  color: var(--apple-white);
}
.btn-apple-liquid-glass:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.08);
}

/* 3. Apple Segmented Control (Design Kit) */
.segmented-control {
  display: inline-flex;
  background: rgba(118, 118, 128, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  gap: 2px;
  max-width: 100%;
  overflow-x: auto;
}
.segment-btn {
  border: none;
  background: transparent;
  color: #636366;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
}
.segment-btn:hover {
  color: #1d1d1f;
}
.segment-btn.active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14), 0 0.5px 1px rgba(0, 0, 0, 0.08);
}

/* 4. Circular Icon Controls (Design Kit) */
.btn-circle-control {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--apple-gray-200);
  background: var(--apple-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  font-size: 20px;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-circle-control:hover {
  background: var(--apple-gray-100);
  border-color: var(--apple-blue);
  color: var(--apple-blue);
  transform: scale(1.06);
}

.btn-info-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--apple-gray-300);
  background: var(--apple-white);
  font-size: 13px;
  font-weight: 700;
  color: var(--apple-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-info-circle:hover {
  border-color: var(--apple-blue);
  color: var(--apple-blue);
  background: #eff6ff;
}

.btn-zoom-pill {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1d1d1f;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-zoom-pill:hover {
  background: #ffffff;
  color: var(--apple-blue);
  transform: scale(1.04);
}

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--apple-gray-200);
}
.nav {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 40px !important;
  width: auto !important;
  max-width: 68px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo:hover .logo-img {
  transform: scale(1.04);
}
.logo-text-group {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--apple-gray-200);
  padding-left: 10px;
}
.logo-subtitle {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--apple-gray-600);
  line-height: 1.25;
}
.menu { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.menu a {
  color: #1d1d1f; padding: 4px 0;
}
.menu a:hover { color: var(--apple-blue); }

.header-contact {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: 12px; line-height: 1.4;
  border-left: 1px solid var(--apple-gray-200);
  padding-left: 16px;
}
.header-email {
  font-weight: 600; color: var(--apple-blue);
}
.header-email:hover { text-decoration: underline; }
.header-location { color: var(--apple-gray-500); font-size: 11px; }

.mobile-toggle {
  display: none; background: none; border: 1px solid var(--apple-gray-200);
  padding: 8px 10px; border-radius: 8px; flex-direction: column; gap: 4px;
}
.burger-bar {
  display: block; width: 18px; height: 2px; background: #1d1d1f;
}

/* ===== HERO SECTION ===== */
.hero {
  margin: 16px auto 0; max-width: 1180px;
  position: relative; overflow: hidden;
  border-radius: var(--radius-card-lg);
  background: radial-gradient(ellipse 90% 70% at 75% 35%, #142a55 0%, #0c182e 55%, #050a14 100%);
  color: var(--apple-white);
  padding: 50px 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.hero canvas#sparks {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  align-items: center; gap: 32px;
}
.hero-content { max-width: 600px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: #70b4ff;
  background: rgba(0, 113, 227, 0.16);
  border: 1px solid rgba(0, 113, 227, 0.3);
  padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--apple-cyan);
  box-shadow: 0 0 8px var(--apple-cyan);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08; letter-spacing: -2px;
  font-weight: 800; margin: 0 0 16px;
}
.gradient-text {
  background: linear-gradient(120deg, #ffffff 40%, var(--apple-cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--apple-gray-300); font-size: 16px; line-height: 1.55;
  margin: 0 0 28px; max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }

/* Hero Mascot Container */
.hero-mascot-container {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.mascot-ambient-glow {
  position: absolute; width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.25) 0%, rgba(0,113,227,.12) 50%, transparent 70%);
  filter: blur(28px);
  z-index: 0; pointer-events: none;
}
.hero-mascot-img {
  position: relative; z-index: 1;
  max-height: 310px !important; width: auto !important; max-width: 270px !important;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.45));
  animation: mascotHover 5s ease-in-out infinite alternate;
  user-select: none;
}

/* ===== COMPANY SECTION ===== */
.company-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 48px;
  align-items: center;
}
.company-mascot-col {
  display: flex; align-items: center; justify-content: center;
}
.company-mascot-standalone {
  max-height: 270px !important; width: auto !important; max-width: 240px !important;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.08));
  user-select: none;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.company-mascot-standalone:hover {
  transform: translateY(-4px) scale(1.02);
}

.company-info .lead {
  font-size: 17px; line-height: 1.55; color: #1d1d1f;
  margin-bottom: 16px;
}
.company-info p {
  color: var(--apple-gray-600); font-size: 15px; margin: 0 0 14px;
}
.company-highlights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 28px;
}
.highlight-box {
  background: var(--apple-gray-100); border: 1px solid var(--apple-gray-200);
  border-radius: 14px; padding: 16px;
}
.highlight-num {
  font-size: 20px; font-weight: 800; color: var(--apple-blue);
  letter-spacing: -0.5px; margin-bottom: 4px;
}
.highlight-label {
  font-size: 12px; font-weight: 500; color: var(--apple-gray-600); line-height: 1.4;
}

/* ===== SERVICES SECTION ===== */
.services-bg {
  background: var(--apple-gray-100);
  border-top: 1px solid var(--apple-gray-200);
  border-bottom: 1px solid var(--apple-gray-200);
}
.section-head { margin-bottom: 40px; }
.section-head p { color: var(--apple-gray-600); font-size: 16px; margin: 6px 0 0; }

.services {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service {
  background: var(--apple-white);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  border: 1px solid var(--apple-gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  display: flex; flex-direction: column;
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-color: var(--apple-cyan-light);
}
.service-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.service-index {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--apple-blue); font-weight: 700;
}
.service h3 {
  font-size: 20px; font-weight: 700; margin: 0 0 10px;
  letter-spacing: -0.5px; color: #1d1d1f;
}
.service p {
  color: var(--apple-gray-600); font-size: 14px; line-height: 1.55;
  margin: 0 0 18px; flex-grow: 1;
}
.service-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 14px; border-top: 1px solid var(--apple-gray-100);
}
.tag-pill {
  font-size: 11px; font-weight: 500; color: var(--apple-gray-600);
  background: var(--apple-gray-100); padding: 4px 10px; border-radius: var(--radius-pill);
}
.popover {
  display: none; margin-top: 16px; padding: 16px;
  background: #eff6ff; border-radius: 12px;
  border: 1px solid var(--apple-cyan-light);
  animation: fadeIn .2s ease;
}
.popover.open { display: flex; gap: 12px; align-items: flex-start; }
.popover-icon {
  width: 32px !important; height: 32px !important;
  min-width: 32px !important; border-radius: 7px;
  background: #ffffff; padding: 2px;
}
.popover strong {
  display: block; font-size: 13px; color: #1e40af; margin-bottom: 2px;
}
.popover p {
  margin: 0; color: #1d1d1f; font-size: 12px; line-height: 1.45;
}

/* ===== EXPERIENCE / PROJECTS SLIDER ===== */
.experience-head {
  display: flex; justify-content: space-between; align-items: flex-end;
}
.slider-controls { display: flex; gap: 8px; }

.project-card {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px;
  align-items: center; margin-bottom: 28px;
  background: var(--apple-white); border: 1px solid var(--apple-gray-200);
  border-radius: var(--radius-card-lg); padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.project-visual { display: flex; flex-direction: column; gap: 10px; }
.main-photo-container {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--apple-gray-800); aspect-ratio: 16/10;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}
.project-main-photo {
  width: 100% !important; height: 100% !important;
  max-height: 360px !important; object-fit: cover !important;
  cursor: pointer;
}
.project-main-photo:hover {
  transform: scale(1.02);
}
.photo-overlay-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--apple-white); font-size: 11px; font-weight: 600;
  padding: 5px 12px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.15);
}

.project-thumbnails {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px;
}
.p-thumb {
  width: 64px; height: 44px; border-radius: 8px; overflow: hidden;
  flex-shrink: 0; cursor: pointer; border: 2px solid transparent;
  opacity: 0.6; transition: all .2s ease;
}
.p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-thumb:hover { opacity: 1; transform: translateY(-1px); }
.p-thumb.active {
  border-color: var(--apple-blue); opacity: 1;
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.35);
}

.project-info { display: flex; flex-direction: column; justify-content: center; }
.project-tag {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--apple-blue); font-weight: 700; margin-bottom: 8px;
}
.project-info h3 {
  font-size: clamp(22px, 2.3vw, 28px); font-weight: 700;
  margin: 0 0 12px; letter-spacing: -0.5px; color: #1d1d1f;
}
.project-info p {
  color: var(--apple-gray-600); font-size: 15px; line-height: 1.55;
  margin: 0 0 20px;
}
.project-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.badge-pill {
  background: #eff6ff; color: var(--apple-blue);
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--radius-pill); border: 1px solid rgba(0, 113, 227, 0.15);
}

.project-meta-box {
  background: var(--apple-gray-50); border: 1px solid var(--apple-gray-200);
  border-radius: 12px; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 6px; font-size: 13px;
}
.pm-item { display: flex; justify-content: space-between; align-items: center; }
.pm-label { color: var(--apple-gray-500); font-weight: 500; }
.pm-value { color: #1d1d1f; font-weight: 600; }
.pm-value.success { color: #34c759; }

.slider-footer {
  display: flex; justify-content: space-between; align-items: center;
}
/* Apple Page Controls (Design Kit) */
.dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 8px; height: 8px; border-radius: var(--radius-pill);
  border: none; background: var(--apple-gray-300);
  padding: 0; cursor: pointer;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dot.active {
  background: var(--apple-blue); width: 20px;
}
.count { font-size: 14px; color: var(--apple-gray-500); font-weight: 600; }

/* ===== CONTACTS SECTION (IN LINE WITH REFERENCE) ===== */
.contacts-block {
  background: #071527;
  color: #ffffff;
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.contacts-block canvas#sparks-contacts {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.contacts-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px;
  align-items: center;
}
.contacts-label {
  font-size: 13px; font-weight: 600; color: #8ec5fc;
  text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 18px;
}
.contacts-title {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 800; line-height: 1.05; letter-spacing: -2px;
  margin: 0 0 20px; color: #ffffff;
}
.contacts-accent {
  display: block; font-style: italic; color: #7dd3fc;
  font-weight: 900; letter-spacing: -1px;
}
.contacts-desc {
  font-size: 16px; line-height: 1.55; color: #94a3b8;
  max-width: 480px; margin: 0;
}
.contacts-mascot-row {
  margin-top: 24px;
}
.contacts-mascot-standalone {
  max-height: 180px !important; width: auto !important; max-width: 160px !important;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  user-select: none;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.contacts-mascot-standalone:hover {
  transform: translateY(-3px) scale(1.03);
}

/* Framed Contact Panel */
.contacts-panel {
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(12, 28, 51, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 12px 36px rgba(0,0,0,.3);
}
.panel-heading {
  font-size: 22px; font-weight: 700; color: #ffffff; margin: 0 0 6px;
}
.panel-sub {
  font-size: 12px; font-weight: 500; color: #94a3b8; margin: 0 0 24px;
}
.panel-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7dd3fc; font-size: 14px; font-weight: 500;
  transition: all 0.2s ease; text-decoration: none;
}
.panel-link:hover:not(.static) {
  color: #ffffff; padding-left: 4px;
}
.panel-link.static {
  color: #cbd5e1; cursor: default;
}
.panel-btn {
  width: 100%; background: none; border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left; cursor: pointer;
}
.panel-arrow {
  font-size: 16px; margin-left: 12px; flex-shrink: 0;
}

/* ===== COMPACT LIGHT FOOTER (ACCORDING TO REFERENCE) ===== */
.footer {
  background: #f7f7f5;
  border-top: 1px solid #e5e5e0;
  color: #555555;
  padding: 22px 0;
  font-size: 12px;
}
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-reqs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.footer-reqs strong {
  color: #1d1d1f; font-weight: 700;
}
.footer-reqs .sep {
  color: #d1d1d6;
}
.footer-center {
  color: #666666; font-size: 12px;
}
.footer-actions {
  display: flex; align-items: center; gap: 16px;
}
.footer-link {
  color: var(--apple-blue); font-weight: 600;
}
.footer-link:hover { text-decoration: underline; }

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox-modal.open { display: flex; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lightbox-content {
  position: relative; z-index: 2; max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-img {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.2);
}
.lightbox-caption {
  color: var(--apple-white); font-size: 13px; font-weight: 600;
  margin-top: 10px; text-align: center;
}
.lightbox-close {
  position: absolute; top: -14px; right: -14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #ffffff; color: #000000;
  font-size: 16px; font-weight: bold;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.lightbox-close:hover { background: var(--apple-cyan); }

/* ===== TOAST NOTIFICATION ===== */
.toast-notice {
  position: fixed; bottom: 24px; right: 24px; z-index: 110;
  background: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--apple-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill); padding: 10px 18px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transform: translateY(80px); opacity: 0;
  pointer-events: none; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-notice.show {
  transform: translateY(0); opacity: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
@keyframes mascotHover {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .company-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .project-card { grid-template-columns: 1fr; padding: 22px; }
  .contacts-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .section { padding: 50px 0; }
  .contacts-block { padding: 56px 0; }
  .mobile-toggle { display: flex; }
  .menu {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--apple-white); padding: 20px;
    border-bottom: 1px solid var(--apple-gray-200);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
  }
  .menu.open { display: flex; }
  .header-contact { display: none; }
  .company-highlights { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-actions { width: 100%; justify-content: space-between; }
}
