:root {
  --container: 1240px;

  --bg: #071116;
  --bg2: #0b1a21;
  --bg3: #10252d;

  --surface: rgba(255, 255, 255, 0.05);
  --surface2: rgba(255, 255, 255, 0.08);

  --text: #f3fbfd;
  --muted: #9fb8c0;

  --line: rgba(200, 230, 236, 0.08);
  --line-strong: rgba(200, 230, 236, 0.16);

  --accent: #6fd6df;
  --accent2: #2f8f9e;
  --accent3: #f7feff;
  --glow: rgba(111, 214, 223, 0.12);

  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(65, 210, 232, 0.08), transparent 20%),
    radial-gradient(circle at 90% 18%, rgba(239, 253, 255, 0.04), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(20, 136, 161, 0.07), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 45%, var(--bg3) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 86%);
  opacity: 0.22;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.mouse-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  filter: blur(28px);
  transition: opacity 0.25s ease;
  background: radial-gradient(circle, rgba(65, 210, 232, 0.08) 0%, rgba(65, 210, 232, 0.03) 40%, transparent 72%);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section {
  padding: 72px 0;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(6, 20, 27, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 0.74;
  filter: brightness(0.72) saturate(1.02);
  will-change: transform;
  backface-visibility: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 14, 18, 0.18) 0%, rgba(6, 14, 18, 0.38) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 1180px;
  min-height: 100svh;
  padding: 40px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: none;
  border: none;
  box-shadow: none;
}

.hero-card-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(111, 214, 223, 0.14) 0%, rgba(111, 214, 223, 0.05) 36%, transparent 72%);
  filter: blur(20px);
  transition: opacity 0.25s ease;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svg-hero {
  position: relative;
  width: 500px;
  height: 500px;
  overflow: visible;
  display: grid;
  place-items: center;
}

.svg-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-mark {
  position: absolute;
  color: rgba(243, 251, 253, 0.92);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  pointer-events: none;
}

.hero-mark-registered {
  top: 14px;
  right: -20px;
  font-size: 34px;
}

.hero-mark-domain {
  right: 34px;
  bottom: 12px;
  font-size: 35px;
}

.domain-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.domain-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  min-width: 200px;
  padding: 14px 22px;
  border-radius: 999px;
  background: none;
}

.domain-domain {
  color: #ffffff;
  font-size: 40px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.hero-title-line {
  width: 180px;
  height: 2px;
  border-radius: 999px;
  margin: 22px auto 18px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 24px rgba(65, 210, 232, 0.18);
}

.hero-subheading {
  max-width: 1300px;
  font-size: clamp(25px, 1.6vw, 24px);
  line-height: 1.22;
  font-weight: 5720;
  letter-spacing: -0.010em;
  color: rgba(243, 251, 253, 0.96);
}

.hero-subtitle {
  max-width: 860px;
  margin-top: 10px;
  font-size: clamp(28px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(166, 250, 248, 0.72);
  letter-spacing: 0.01em;
  font-weight: bolder;
  
}

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

.section-header h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.section-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.panel,
.brand-card,
.contact-side,
.history-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.panel,
.history-card,
.contact-side {
  padding: 34px;
}

.editorial-panel {
  padding: 34px;
}

.editorial-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 28px;
}

.editorial-intro h3,
.history-copy h3,
.contact-side h3,
.closing-copy h2 {
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.editorial-copy p,
.history-copy p {
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}

.editorial-grid {
  display: grid;
  gap: 22px;
}

.editorial-row,
.editorial-row-reverse {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.editorial-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.32s ease, border-color 0.32s ease, background 0.32s ease;
  min-height: 420px;
  height: 100%;
}

.editorial-card:hover,
.brand-card:hover,
.history-point:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--surface2);
}

.editorial-image {
  min-height: 420px;
  height: 100%;
  background:
    radial-gradient(circle at 18% 18%, rgba(111, 214, 223, 0.10), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  transition: transform 0.8s ease;
}

.editorial-card:hover img {
  transform: scale(1.04);
}

.editorial-text {
  min-height: 420px;
  height: 100%;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-index {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(243, 251, 253, 0.46);
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.editorial-text h4 {
  font-size: clamp(30px, 3vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  max-width: none;
}

.editorial-text p {
  color: var(--muted);
  font-size: 15px;
  max-width: 26ch;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.brand-card {
  overflow: hidden;
  min-height: 340px;
  transition: 0.3s ease;
}

.brand-visual {
  height: 260px;
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 25%, rgba(65, 210, 232, 0.16), transparent 22%),
    radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.brand-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.brand-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.brand-card:hover .brand-visual-inner img {
  transform: scale(1.05);
}

.brand-content {
  padding: 22px;
}

.brand-content h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.brand-content p {
  color: var(--muted);
  font-size: 15px;
}

.history-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.history-photo {
  min-height: 410px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(65, 210, 232, 0.17), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 20px;
}

.doctor-placeholder {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.doctor-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-copy p + p {
  margin-top: 14px;
}

.history-points {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.history-point {
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 20px;
  transition: 0.28s ease;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.contact-side h3 {
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.contact-side p {
  color: var(--muted);
}

.contact-side p + p {
  margin-top: 14px;
}

.footer {
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-closing {
  padding-top: 40px;
  padding-bottom: 36px;
}

.closing-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(111, 214, 223, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: 34px;
  padding: 40px;
}

.closing-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.closing-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(243, 251, 253, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.closing-copy h2 {
  margin-bottom: 18px;
}

.closing-copy p {
  color: var(--muted);
  font-size: 16px;
  max-width: 64ch;
  margin: 0 auto;
}

.closing-copy p + p {
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .editorial-top,
  .history-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .editorial-row,
  .editorial-row-reverse {
    grid-template-columns: 1fr;
  }

  .editorial-image,
  .editorial-text {
    min-height: auto;
  }

  .editorial-image {
    min-height: 340px;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }

  .panel,
  .history-card,
  .contact-side,
  .editorial-panel {
    padding: 24px;
  }

  .hero-card {
    padding: 110px 20px 44px;
  }

  .section {
    padding: 44px 0;
  }

  .mouse-glow {
    width: 220px;
    height: 220px;
  }

  .svg-hero {
    width: 280px;
    height: 280px;
  }

  .domain-sub {
    min-width: unset;
    padding: 8px 14px;
  }

  .domain-domain {
    font-size: 20px;
  }

  .hero-subheading {
    font-size: clamp(18px, 5vw, 24px);
  }

  .hero-subtitle {
    font-size: clamp(16px, 4.2vw, 20px);
  }

  .editorial-text {
    padding: 26px 22px;
  }

  .editorial-text h4 {
    max-width: none;
  }

  .editorial-text p {
    max-width: none;
  }

  .history-photo {
    min-height: 300px;
  }
  .hero-mark-registered {
    top: 8px;
    right: -15px;
    font-size: 20px;
  }
  
  .hero-mark-domain {
    right: 1px;
    bottom: 7px;
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .brand-visual {
    height: 200px;
    padding: 12px;
  }

  .editorial-image {
    min-height: 260px;
  }
}