:root {
  --primary: #0f172a;
  --secondary: #1e3a5f;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --text: #0f172a;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 4px;
}

.logo span {
  color: #60a5fa;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.925rem;
  letter-spacing: 0.4px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #60a5fa;
}

/* hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a111e 0%, #0f2040 45%, #0a111e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 75%, rgba(37, 99, 235, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.14) 0%, transparent 50%);
}

.circuit-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 90px 28px;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.hero-badge svg {
  width: 8px;
  height: 8px;
  fill: #60a5fa;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.175rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 44px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 22px rgba(37, 99, 235, 0.42);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.54);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.45);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent);
  animation: fade 2s ease-in-out infinite;
}

@keyframes fade {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ── SECTION SHARED ──────────────────────────── */
.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.section-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ── SERVICES ────────────────────────────────── */
.services {
  padding: 108px 0;
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  opacity: 0;
  transition: opacity 0.28s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.18);
}

.service-card:hover::after {
  opacity: 1;
}

.service-illustration {
  height: 130px;
  margin: -20px -14px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.service-illustration img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.72;
}

/* ── ABOUT ───────────────────────────────────── */
.about {
  padding: 108px 0;
  background: var(--bg);
}

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

.about-visual {
  position: relative;
}

.about-dark-card {
  background: linear-gradient(140deg, #0a111e 0%, #0f2040 100%);
  border-radius: 20px;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}

.about-dark-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(59, 130, 246, 0.18) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.stat-item h3 {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-item h3 em {
  font-style: normal;
  color: #60a5fa;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.85rem;
  font-weight: 500;
}

.cert-badge {
  position: absolute;
  bottom: -22px;
  right: 36px;
  background: #fff;
  border-radius: 14px;
  padding: 15px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--border);
  z-index: 2;
}

.cert-badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.cert-badge strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.cert-badge span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.about-content {
  padding-top: 24px;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.about-content p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.82;
  margin-bottom: 14px;
}

.feature-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.97rem;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.check-icon svg {
  width: 13px;
  height: 13px;
}

/* ── HEARING LOOP ────────────────────────────── */
.hearing-section {
  padding: 108px 0;
  background: var(--bg-alt);
}

.hearing-inner {
  background: linear-gradient(140deg, #0a111e 0%, #0f2040 100%);
  border-radius: 24px;
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
}

.hearing-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 55%);
}

.hearing-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hearing-content .section-label {
  color: #60a5fa;
}

.hearing-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  margin-top: 10px;
}

.hearing-content p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.98rem;
  line-height: 1.82;
  margin-bottom: 13px;
}

.hearing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.h-feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 18px;
}

.h-feature h4 {
  color: #93c5fd;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}

.h-feature p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.55;
}

.hearing-diagram {
  flex-shrink: 0;
}

/* ── CONTACT ─────────────────────────────────── */
.contact {
  padding: 108px 0;
  background: var(--bg);
}

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

.contact-info .section-label {
  display: block;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  margin-top: 10px;
}

.contact-info > p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.ci-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.ci-icon svg {
  width: 21px;
  height: 21px;
}

.ci-text strong {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.ci-text span,
.ci-text a {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ci-text a {
  color: var(--accent);
  text-decoration: none;
}

.ci-text a:hover {
  text-decoration: underline;
}

.org-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 32px;
}

.org-box p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.org-box strong {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* map card */
.map-card {
  background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
  border: 1px solid #d0e3ff;
  border-radius: 20px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 149, 230, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 149, 230, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}

.pin-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.map-pin {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.38);
}

.map-pin::after {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transform: rotate(45deg);
}

.map-card p {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.map-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s;
}

.map-card a:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: #080e1a;
  color: rgba(255, 255, 255, 0.45);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
}

footer p {
  font-size: 0.84rem;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}

footer a:hover {
  color: #93c5fd;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hearing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hearing-diagram {
    display: flex;
    justify-content: center;
  }

  .hearing-inner {
    padding: 48px 32px;
  }

  .cert-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 23, 42, 0.98);
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 28px;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .about-dark-card {
    padding: 36px 28px;
  }

  .stats-grid {
    gap: 24px;
  }

  .hearing-features {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ── ROOMEBOOK CTA (HERO EXTRA) ─────────────── */
.hero-subnote {
  margin-top: 18px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  max-width: 520px;
}

.hero-subnote a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(96, 165, 250, 0.35);
  transition: all 0.2s ease;
}

.hero-subnote a:hover {
  color: #93c5fd;
  border-bottom-color: #93c5fd;
}
.hero-subnote a {
  display: inline-block;
  padding: 2px 0;
}
