/* ============================================================
   MATTERHORN MARKETING GROUP — STYLESHEET
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --bg-3: #0f1728;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eef7;
  --text-muted: #9aa7bd;
  --text-dim: #6b7891;
  --accent: #38bdf8;
  --accent-2: #6366f1;
  --accent-3: #22d3ee;
  --success: #34d399;
  --danger: #f87171;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   PRELOADER
   ============================================================ */

.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
  animation: pulseLogo 1.4s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { opacity: 0.6; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

.preloader-bar {
  width: 220px;
  height: 3px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 18px;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: loadBar 1.4s ease forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

.preloader-text {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 22px;
  color: #04101f;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--surface);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: right;
}

.phone-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.phone-number {
  font-size: 14px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101f;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.35);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--accent);
}

.btn-full {
  width: 100%;
}

.header-cta {
  padding: 10px 18px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.55), transparent 70%);
  top: -140px;
  right: -80px;
}

.orb-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 70%);
  bottom: -160px;
  left: -120px;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 100px;
  background: rgba(56, 189, 248, 0.06);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-3), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.metric-suffix {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.metric-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.hero-panel {
  position: relative;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  animation: floatPanel 6s ease-in-out infinite;
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-green {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
}

.panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}

.panel-row strong {
  color: var(--text);
  font-weight: 700;
}

.panel-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin: 22px 0 14px;
}

.panel-chart .bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent), rgba(56, 189, 248, 0.15));
  border-radius: 6px 6px 0 0;
  animation: growBar 1.2s ease forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

@keyframes growBar {
  to { transform: scaleY(1); }
}

.panel-chart .bar:nth-child(1) { animation-delay: 0.1s; }
.panel-chart .bar:nth-child(2) { animation-delay: 0.2s; }
.panel-chart .bar:nth-child(3) { animation-delay: 0.3s; }
.panel-chart .bar:nth-child(4) { animation-delay: 0.4s; }
.panel-chart .bar:nth-child(5) { animation-delay: 0.5s; }
.panel-chart .bar:nth-child(6) { animation-delay: 0.6s; }
.panel-chart .bar:nth-child(7) { animation-delay: 0.7s; }
.panel-chart .bar:nth-child(8) { animation-delay: 0.8s; }

.panel-foot {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
}

.floating-badge {
  position: absolute;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  animation: floatBadge 5s ease-in-out infinite;
}

.badge-1 { top: -14px; left: -18px; animation-delay: 0s; }
.badge-2 { top: 40%; right: -26px; animation-delay: -1.6s; }
.badge-3 { bottom: -14px; left: 20%; animation-delay: -3.2s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.trust-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
}

.trust-logos span {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.7;
  transition: var(--transition);
}

.trust-logos span:hover {
  opacity: 1;
  color: var(--accent);
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-frame {
  position: relative;
}

.about-image {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(56, 189, 248, 0.25), rgba(99, 102, 241, 0.15)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="600"><rect width="600" height="600" fill="%230b1220"/><g stroke="%231e293b" stroke-width="1"><path d="M0 150h600M0 300h600M0 450h600M150 0v600M300 0v600M450 0v600"/></g><circle cx="300" cy="300" r="140" fill="none" stroke="%2338bdf8" stroke-opacity="0.3"/><circle cx="300" cy="300" r="220" fill="none" stroke="%236366f1" stroke-opacity="0.18"/></svg>');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 20, 0.9));
}

.image-caption {
  position: absolute;
  bottom: 22px;
  left: 24px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-stat {
  position: absolute;
  right: -24px;
  bottom: 36px;
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  max-width: 220px;
}

.about-stat strong {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--accent);
  line-height: 1;
}

.about-stat span {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-copy strong {
  color: var(--text);
}

.about-list {
  margin: 28px 0;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.list-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  position: relative;
  flex-shrink: 0;
}

.list-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.about-signature {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.signature-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
}

.signature-role {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent);
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-icon {
  background: rgba(56, 189, 248, 0.16);
  transform: rotate(-6deg) scale(1.05);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.service-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   PROCESS
   ============================================================ */

.process {
  background: var(--bg-2);
}

.process-timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 860px;
}

.process-line {
  position: absolute;
  left: 28px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent);
  opacity: 0.4;
}

.process-step {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 26px 0;
}

.step-index {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-index {
  background: var(--accent);
  color: #04101f;
  transform: scale(1.08);
}

.step-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 560px;
}

/* ============================================================
   RESULTS
   ============================================================ */

.results-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.results-copy p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.results-cards {
  display: grid;
  gap: 16px;
}

.result-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.result-card:hover {
  transform: translateX(6px);
  border-color: rgba(56, 189, 248, 0.3);
}

.result-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.result-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin: 6px 0;
}

.result-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.chart-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.chart-legend {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-area {
  height: 220px;
}

.line-chart {
  width: 100%;
  height: 100%;
}

.chart-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 2s ease forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.chart-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  background: var(--bg-2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-soft);
}

.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 22px;
  position: relative;
  padding-top: 10px;
}

.testimonial-card blockquote::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.t-name {
  font-weight: 700;
  font-size: 14px;
}

.t-role {
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================================
   LOCATION
   ============================================================ */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-copy p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.location-list {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.location-list li {
  display: flex;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.loc-label {
  min-width: 90px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.loc-value {
  font-size: 15px;
  color: var(--text);
}

.loc-value a {
  color: var(--accent);
}

.map-frame {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 60% 40%, rgba(56, 189, 248, 0.12), transparent 50%),
    var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-pin {
  position: absolute;
  top: 44%;
  left: 56%;
  width: 20px;
  height: 20px;
}

.pin-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.2);
}

.pin-pulse {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pinPulse 2s ease-out infinite;
}

@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-label strong {
  font-size: 14px;
}

.map-label span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-copy p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-value {
  font-size: 15px;
  color: var(--text);
}

.contact-value a {
  color: var(--accent);
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: var(--transition);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.form-field input.invalid,
.form-field textarea.invalid {
  border-color: var(--danger);
}

.field-error {
  font-size: 11px;
  color: var(--danger);
  min-height: 14px;
}

.form-consent {
  margin: 6px 0 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
}

.form-note {
  font-size: 13px;
  margin-top: 14px;
  min-height: 18px;
}

.form-note.success { color: var(--success); }
.form-note.error { color: var(--danger); }

/* ============================================================
   LEGAL
   ============================================================ */

.legal {
  background: var(--bg);
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.legal-tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.legal-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101f;
  border-color: transparent;
}

.legal-panels {
  position: relative;
}

.legal-panel {
  display: none;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  animation: fadeIn 0.4s ease;
}

.legal-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-panel h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 6px;
}

.legal-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-panel h4 {
  font-size: 15px;
  margin: 22px 0 8px;
  color: var(--text);
}

.legal-panel p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-panel a {
  color: var(--accent);
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  color: var(--text);
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: #04101f;
  border-color: var(--accent);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-panel {
    max-width: 460px;
  }

  .about-grid,
  .results-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .services-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .about-stat {
    right: 16px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    padding: 100px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 850;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
    z-index: 860;
  }

  .header-phone,
  .header-cta {
    display: none;
  }

  .services-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 140px 0 80px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .hero-metrics {
    gap: 24px;
  }

  .metric-value {
    font-size: 28px;
  }

  .hero-title {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 340px;
  }

  .about-stat {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }

  .legal-panel,
  .contact-form {
    padding: 22px;
  }

  .floating-badge {
    display: none;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}