:root {
  --bg: #060b17;
  --bg-alt: #0d1629;
  --panel: rgba(17, 25, 40, 0.6);
  --panel-strong: rgba(14, 22, 34, 0.9);
  --white: #f5f7fb;
  --muted: #a9b4c5;
  --line: rgba(151, 173, 219, 0.22);
  --blue: #6ea8ff;
  --cyan: #5fe6ff;
  --violet: #7d7cff;
  --shadow: rgba(31, 116, 255, 0.2);
  --gradient: linear-gradient(135deg, rgba(110, 168, 255, 0.9), rgba(95, 230, 255, 0.8), rgba(125, 124, 255, 0.9));
  --gradient-soft: linear-gradient(135deg, rgba(110, 168, 255, 0.18), rgba(95, 230, 255, 0.12), rgba(125, 124, 255, 0.18));
  --max-width: 1200px;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --section-space: clamp(5rem, 8vw, 8rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(82, 144, 255, 0.2), transparent 28%),
    linear-gradient(180deg, #040913 0%, #071120 24%, #0a1321 100%);
  color: var(--white);
  line-height: 1.6;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.04;
  letter-spacing: -0.06em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  max-width: 680px;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  max-width: 700px;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
}

.glass-panel {
  background: rgba(12, 18, 28, 0.54);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(5, 10, 18, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient);
  color: #081320;
  box-shadow: 0 20px 40px rgba(110, 168, 255, 0.28);
}

.btn-secondary {
  background: rgba(14, 20, 30, 0.45);
  border-color: rgba(149, 173, 219, 0.26);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 12, 20, 0.66);
  border-bottom: 1px solid rgba(146, 170, 212, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(3, 9, 16, 0.34);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.75rem;
  background: var(--gradient);
  box-shadow: 0 0 20px rgba(95, 230, 255, 0.4);
  color: #071420;
}

.brand-text {
  font-size: 1.12rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.4rem;
}

.nav-menu a {
  color: rgba(234, 240, 248, 0.82);
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(150, 171, 207, 0.18);
  background: rgba(13, 23, 38, 0.35);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 4rem 0 3rem;
  min-height: 760px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 2rem;
  min-height: 680px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy p {
  max-width: 610px;
  font-size: 1.12rem;
  color: rgba(214, 223, 236, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-metrics div {
  min-width: 124px;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(16, 25, 40, 0.42);
  border: 1px solid rgba(151, 173, 219, 0.14);
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.06em;
}

.hero-metrics span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.visual-panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  min-height: 540px;
  background: linear-gradient(180deg, rgba(15, 24, 36, 0.72), rgba(6, 11, 19, 0.82));
}

.panel-header {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.4rem 1rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-blue { background: #6ea8ff; }
.dot-violet { background: #8e7bff; }
.dot-cyan { background: #65f0ff; }

.med-figure {
  position: relative;
  margin-top: 0.5rem;
}

.med-image {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(144, 175, 222, 0.15);
  box-shadow: 0 30px 50px rgba(7, 13, 20, 0.35);
}

.med-image img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.1);
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(16, 26, 40, 0.54);
  border: 1px solid rgba(150, 173, 218, 0.18);
  box-shadow: 0 18px 28px rgba(3, 7, 12, 0.28);
}

.badge-top {
  top: 18px;
  right: 18px;
}

.badge-bottom {
  bottom: 18px;
  left: 22px;
}

.info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(8, 16, 24, 0.6);
  border: 1px solid rgba(150, 173, 218, 0.12);
}

.info-bar small {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.info-bar strong {
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.mini-graph {
  display: flex;
  align-items: end;
  gap: 0.4rem;
  height: 40px;
}

.mini-graph span {
  display: inline-block;
  width: 7px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(80, 207, 255, 0.5);
}

.mini-graph span:nth-child(1) { height: 28%; }
.mini-graph span:nth-child(2) { height: 46%; }
.mini-graph span:nth-child(3) { height: 65%; }
.mini-graph span:nth-child(4) { height: 82%; }
.mini-graph span:nth-child(5) { height: 100%; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.85), transparent 88%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow-one {
  top: 80px;
  left: 10%;
  width: 420px;
  height: 420px;
  background: rgba(100, 166, 255, 0.23);
}

.hero-glow-two {
  right: 8%;
  bottom: 80px;
  width: 480px;
  height: 480px;
  background: rgba(89, 238, 255, 0.15);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.about-intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.value-grid,
.specialty-grid,
.team-grid,
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card {
  position: relative;
  padding: 1.8rem 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 220px;
}

.value-card::before,
.specialty-card::before,
.doctor-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover::before,
.specialty-card:hover::before,
.doctor-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.value-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(150, 173, 218, 0.18);
  font-weight: 700;
}

.value-card h3,
.value-card p,
.specialty-card h3,
.specialty-card p,
.specialty-card a,
.doctor-info h3,
.doctor-info span,
.doctor-info small,
.doctor-info p,
.testimonial-card p,
.person strong,
.person span,
.timeline-content h3,
.timeline-content p {
  position: relative;
  z-index: 1;
}

.specialty-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.specialty-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(147, 168, 209, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
  transform: translateY(-8px);
  border-color: rgba(95, 230, 255, 0.35);
  box-shadow: 0 30px 45px rgba(20, 35, 59, 0.35);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  color: var(--white);
  background: rgba(96, 166, 255, 0.12);
  border: 1px solid rgba(110, 168, 255, 0.25);
  box-shadow: inset 0 0 18px rgba(110, 168, 255, 0.12);
}

.specialty-card a {
  display: inline-flex;
  margin-top: 1.3rem;
  font-weight: 600;
  color: var(--cyan);
}

.tech-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.tech-list {
  margin-top: 1.5rem;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.tech-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(227, 233, 241, 0.9);
}

.tech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 14px rgba(95, 230, 255, 0.45);
}

.tech-scene {
  position: relative;
  height: 520px;
  border-radius: 2rem;
  padding: 1.5rem;
  overflow: hidden;
}

.tech-scene::before {
  content: "";
  position: absolute;
  inset: 10% 12% auto auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(93, 210, 255, 0.12);
  filter: blur(30px);
}

.screen-card,
.device-card {
  position: absolute;
  background: rgba(10, 17, 28, 0.72);
  border: 1px solid rgba(145, 170, 209, 0.18);
  border-radius: 1.2rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 50px rgba(5, 10, 18, 0.38);
}

.screen-card {
  top: 55px;
  left: 35px;
  width: min(100%, 340px);
  padding: 1.2rem;
}

.screen-card h4 {
  font-size: 0.9rem;
  letter-spacing: 0;
  margin-bottom: 1rem;
  color: rgba(242, 245, 250, 0.85);
}

.chart-lines {
  position: relative;
  height: 150px;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(18, 29, 46, 0.7), rgba(8, 13, 22, 0.8));
  overflow: hidden;
}

.chart-lines span {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 230, 255, 0.6), transparent);
}

.chart-lines span:nth-child(1) { top: 16%; }
.chart-lines span:nth-child(2) { top: 42%; }
.chart-lines span:nth-child(3) { top: 68%; }

.chart-lines::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: 12%;
  height: 72%;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(95, 230, 255, 0.5), rgba(110, 168, 255, 0.06));
  clip-path: polygon(0 74%, 12% 62%, 25% 68%, 37% 51%, 49% 56%, 63% 35%, 76% 42%, 100% 15%, 100% 100%, 0 100%);
  box-shadow: 0 0 32px rgba(95, 230, 255, 0.25);
}

.device-small {
  right: 38px;
  bottom: 110px;
  width: 160px;
  padding: 0.9rem 1rem;
}

.device-small small,
.device-large small {
  display: block;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.device-small strong,
.device-large strong {
  font-size: 1.6rem;
}

.device-large {
  left: 60px;
  bottom: 48px;
  width: 220px;
  padding: 1rem 1.1rem;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(155, 176, 218, 0.15);
}

.doctor-photo {
  overflow: hidden;
  border-radius: 1.5rem 1.5rem 0 0;
}

.doctor-photo img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.06);
}

.doctor-info {
  position: relative;
  z-index: 1;
  padding: 1.3rem 1.25rem 1.5rem;
}

.doctor-info span {
  display: block;
  color: var(--cyan);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.doctor-info small {
  display: block;
  color: rgba(233, 238, 246, 0.8);
  margin-bottom: 0.7rem;
}

.patient-journey {
  background: linear-gradient(180deg, rgba(12, 17, 26, 0.2), rgba(8, 11, 18, 0));
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(95, 230, 255, 0.8), rgba(110, 168, 255, 0.15));
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 1rem;
}

.timeline-index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(11, 16, 25, 0.9);
  border: 1px solid rgba(95, 230, 255, 0.24);
  box-shadow: 0 0 24px rgba(95, 230, 255, 0.12);
  font-weight: 800;
  color: var(--cyan);
}

.timeline-content {
  position: relative;
  padding: 1.3rem 1.5rem;
  border-radius: 1.3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  min-height: 240px;
  border: 1px solid rgba(146, 170, 212, 0.14);
  box-shadow: 0 25px 50px rgba(3, 8, 15, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.gallery-item figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(7, 13, 20, 0.45);
  border: 1px solid rgba(150, 173, 218, 0.18);
  backdrop-filter: blur(12px);
}

.gallery-large {
  grid-row: span 2;
  min-height: 500px;
}

.gallery-wide {
  grid-column: 2 / span 2;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

.stars {
  color: #7bd6ff;
  letter-spacing: 0.18em;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.person {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.person strong {
  font-size: 1.02rem;
}

.faq-section {
  padding-top: 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 1.3rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  appearance: none;
  background: transparent;
  color: var(--white);
  border: none;
  text-align: left;
  padding: 1.3rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--cyan);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 1.5rem 1.3rem;
}

.cta-section {
  padding: 0 0 5rem;
}

.cta-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 2rem;
  padding: clamp(1.6rem, 3vw, 3rem);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 22, 35, 0.88), rgba(9, 16, 28, 0.74));
}

.cta-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(95, 230, 255, 0.2), transparent 30%), radial-gradient(circle at 80% 0%, rgba(110, 168, 255, 0.2), transparent 35%);
}

.cta-copy,
.cta-shell .btn {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding: 0 0 2rem;
  border-top: 1px solid rgba(150, 173, 218, 0.12);
  background: rgba(6, 10, 17, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 1rem;
}

.footer-block h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.footer-block ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-block li,
.footer-block a {
  color: var(--muted);
}

.map-wrap {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto 1rem;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(150, 173, 218, 0.16);
}

.map-wrap iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.footer-bottom {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(150, 173, 218, 0.1);
}

.floating-cta {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1200;
}

.floating-cta .btn {
  box-shadow: 0 25px 40px rgba(88, 153, 255, 0.28);
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(95, 230, 255, 0.34);
  border: 1px solid rgba(144, 220, 255, 0.75);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2000;
  mix-blend-mode: screen;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

body.cursor-visible .cursor {
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }

@media (max-width: 980px) {
  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 1rem;
    left: 1rem;
    background: rgba(7, 13, 21, 0.9);
    border: 1px solid rgba(148, 174, 220, 0.15);
    border-radius: 1.15rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu {
    display: grid;
    gap: 0.7rem;
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.4rem 0.5rem;
    border-radius: 0.8rem;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner,
  .tech-grid,
  .value-grid,
  .specialty-grid,
  .team-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    text-align: center;
  }

  .hero-metrics,
  .hero-actions {
    justify-content: center;
  }

  .hero-copy p {
    margin: 0 auto;
  }

  .visual-panel {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-large,
  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-shell {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  h1 { max-width: 100%; }
  h2 { max-width: 100%; }
  .hero {
    padding-top: 2rem;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics div {
    min-width: unset;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .nav {
    min-height: 76px;
  }

  .visual-panel {
    padding: 0.9rem;
  }

  .screen-card {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .device-small {
    right: 20px;
    bottom: 130px;
  }

  .device-large {
    left: 20px;
    bottom: 36px;
  }
}
