/* ================================================
   Mendoxa – Deep Tech × Sophistication
   Dark-theme corporate design system
   ================================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --bg-primary: #060a14;
  --bg-secondary: #0c1122;
  --bg-card: rgba(12, 17, 34, 0.7);
  --bg-glass: rgba(12, 17, 34, 0.55);
  --surface: #111827;
  --border: rgba(100, 120, 180, 0.12);
  --border-hover: rgba(0, 212, 255, 0.3);

  --text-primary: #e8ecf4;
  --text-secondary: #8892a8;
  --text-muted: #556178;

  --accent-cyan: #00d4ff;
  --accent-purple: #7c3aed;
  --accent-blue: #3b82f6;
  --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  --gradient-glow: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));

  --font-sans: 'Inter', 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --header-h: 72px;
  --container-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ---------- LAYOUT ---------- */
.container {
  width: min(var(--container-w), 100% - 48px);
  margin-inline: auto;
}

.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }

/* ---------- TEXT UTILITIES ---------- */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn--primary:hover::after { opacity: 1; }

.btn--ghost {
  border: 1px solid var(--border-hover);
  color: var(--accent-cyan);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn--lg { padding: 18px 40px; font-size: 16px; }

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.header--scrolled {
  background: rgba(6, 10, 20, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.header__logo-mark {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 18px;
  background: rgba(0, 212, 255, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s, background 0.3s;
  letter-spacing: 0.02em;
}

.header__link:hover,
.header__link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.header__link--cta {
  background: var(--gradient-main);
  color: #fff !important;
  margin-left: 8px;
}

.header__link--cta:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 6px 4px;
}

.header__burger span {
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header__burger { display: flex; }
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(6, 10, 20, 0.96);
    backdrop-filter: blur(20px);
    padding: 40px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .header__nav.open { transform: translateX(0); }
  .header__link {
    font-size: 18px;
    padding: 16px 20px;
    width: 100%;
  }
  .header__link--cta { margin-left: 0; margin-top: 16px; text-align: center; justify-content: center; display: flex; }
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 212, 255, 0.06), transparent),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(124, 58, 237, 0.06), transparent),
    linear-gradient(180deg, rgba(6, 10, 20, 0.3) 0%, rgba(6, 10, 20, 0.7) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--accent-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease-out) forwards;
}

.hero__kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

.hero__title {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  min-height: 1.4em;
  margin-bottom: 24px;
}

.hero__title-line {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__cursor {
  font-weight: 300;
  color: var(--accent-cyan);
  animation: blink-cursor 1s step-end infinite;
  -webkit-text-fill-color: var(--accent-cyan);
}

.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 1.8s var(--ease-out) forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 2.2s var(--ease-out) forwards;
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  animation: fadeUp 0.8s 2.8s var(--ease-out) forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-cyan), transparent);
  animation: scroll-line 2s infinite;
}

/* ================================================
   SECTIONS (shared)
   ================================================ */
.section {
  padding: 120px 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.section__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.section__desc {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin-inline: auto;
}

/* ================================================
   ABOUT
   ================================================ */
.about {
  background:
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0, 212, 255, 0.03), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(124, 58, 237, 0.03), transparent);
}

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

.about__lead {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 24px;
}

.about__body {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image {
  border-radius: var(--radius-lg);
  filter: brightness(0.9) saturate(1.2);
}

.about__image-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.15), transparent 60%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { order: -1; }
}

/* ================================================
   SERVICES
   ================================================ */
.services {
  background: var(--bg-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.3s var(--ease-out), box-shadow 0.4s;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--gradient-glow);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.service-card__icon svg { width: 26px; height: 26px; }

.service-card__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card__body {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card__tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.12);
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
}

/* Glow effect container */
.glow-card {
  --glow-x: 50%;
  --glow-y: 50%;
}

.glow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    600px circle at var(--glow-x) var(--glow-y),
    rgba(0, 212, 255, 0.06),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.glow-card:hover::before { opacity: 1; }

@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ================================================
   NUMBERS
   ================================================ */
.numbers {
  background:
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(0, 212, 255, 0.04), transparent);
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.number-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.number-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.number-card__value {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.number-card__suffix {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--text-secondary);
  margin-left: 2px;
}

.number-card__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .numbers__grid { grid-template-columns: 1fr; }
}

/* ================================================
   COMPANY
   ================================================ */
.company__table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 20px 28px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.company__table tr:last-child th,
.company__table tr:last-child td { border-bottom: none; }

.company__table th {
  width: 160px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.03);
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.03em;
  vertical-align: top;
}

.company__table td {
  color: var(--text-primary);
  line-height: 1.8;
}

.company__sub {
  display: inline-block;
  margin-left: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .company__table th,
  .company__table td {
    display: block;
    width: 100%;
    padding: 12px 20px;
  }
  .company__table th { padding-bottom: 4px; border-bottom: none; }
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
  background: var(--bg-secondary);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.3s var(--ease-out);
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.contact-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-card__value {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: block;
}

a.contact-card__value:hover {
  color: var(--accent-cyan);
}

.contact-card__note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact__cta {
  text-align: center;
}

.contact__note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer__logo {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent-cyan);
}

.footer__tagline {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
}

.footer__links a:hover { color: var(--accent-cyan); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer__bottom p {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
}

/* ================================================
   REVEAL ANIMATION (controlled by JS)
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ================================================
   KEYFRAMES
   ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink-cursor {
  50% { opacity: 0; }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--accent-cyan); }
  50%      { box-shadow: 0 0 20px var(--accent-cyan), 0 0 40px rgba(0, 212, 255, 0.3); }
}

@keyframes scroll-line {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  30%  { opacity: 1; transform: scaleY(1); }
  60%  { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.05); }
}

/* ================================================
   SELECTION
   ================================================ */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
}

/* ================================================
   SCROLLBAR
   ================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: rgba(100, 120, 180, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(100, 120, 180, 0.5); }
/* ================================================
   SERVICE CARDS (Image + Border)
   ================================================ */
.service-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.service-card__link {
  display: block;
  height: 100%;
  color: inherit;
}

.service-card__image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__image {
  transform: scale(1.05);
}

.service-card__content {
  padding: 36px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__arrow {
  margin-top: auto;
  padding-top: 24px;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  transition: transform 0.3s;
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

/* ================================================
   FAQ ACCORDION
   ================================================ */
.faq {
  background: var(--bg-primary);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq__item:hover {
  border-color: var(--border-hover);
}

.faq__question {
  padding: 24px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none; /* hide default marker */
  color: var(--text-primary);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__icon {
  font-size: 24px;
  font-weight: 400;
  color: var(--accent-cyan);
  transition: transform 0.3s;
}

details[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 32px 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  animation: fadeDown 0.3s var(--ease-out);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   COMPANY MAP
   ================================================ */
.company__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.company__map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 300px;
}

@media (max-width: 860px) {
  .company__grid {
    grid-template-columns: 1fr;
    max-width: 800px;
  }
}

/* ================================================
   UX: COPY TO CLIPBOARD
   ================================================ */
.contact-card__copy-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-card__copy-wrapper .contact-card__value {
  margin-bottom: 0;
}

.copy-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}

.copy-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--accent-cyan);
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-spring);
  z-index: 2000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ================================================
   UX: FLOATING ACTIONS
   ================================================ */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: auto;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
  z-index: 1000;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.floating-contact:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.5);
}

.back-to-top {
  position: fixed;
  right: 140px;
  bottom: 24px;
  width: auto;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(12, 17, 34, 0.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-spring);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.1);
}

@media (max-width: 640px) {
  .back-to-top {
    right: 24px;
    bottom: 96px;
    height: 48px;
    padding: 0 20px;
  }
  .floating-contact {
    bottom: 24px;
    right: 24px;
    height: 48px;
    padding: 0 20px;
  }
}

/* ================================================
   UX: STATUS BADGE
   ================================================ */
.header__status {
  margin-left: 24px;
  margin-right: auto;
  font-size: 13px;
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.low { background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.status-dot.medium { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }
.status-dot.high { background: #ef4444; box-shadow: 0 0 10px #ef4444; }

@media (max-width: 768px) {
  .header__status { display: none; }
}
