﻿:root {
  --bg: #f6fafc;
  --surface: #ffffff;
  --surface-soft: #f1f8ff;
  --text: #0f172a;
  --muted: #475569;
  --line: #d8e3ef;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --focus: #ea580c;
  --radius: 22px;
  --shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92vw); margin: 0 auto; position: relative; z-index: 2; }

.bg-animation {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.45;
}

.orb-one {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, #99f6e4, transparent 68%);
  top: -180px;
  left: -150px;
  animation: driftA 18s ease-in-out infinite;
}

.orb-two {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 60% 40%, #bfdbfe, transparent 70%);
  top: 100px;
  right: -120px;
  animation: driftB 20s ease-in-out infinite;
}

.orb-three {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 50% 50%, #fdba74, transparent 72%);
  bottom: -140px;
  left: 35%;
  animation: driftC 24s linear infinite;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(246, 250, 252, 0.82);
  border-bottom: 1px solid rgba(216, 227, 239, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

nav { display: flex; gap: 24px; color: var(--muted); font-weight: 700; }

nav a:hover { color: var(--brand); }

.btn,
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  background: var(--brand);
  color: #fff;
  transition: 0.2s ease;
}

.btn { padding: 13px 22px; }
.btn-small { padding: 10px 18px; }

.btn:hover,
.btn-small:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.hero {
  padding: 62px 0 36px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-strong);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.7rem);
  margin-bottom: 14px;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  margin-bottom: 12px;
}

h3 { font-size: 1.2rem; margin-bottom: 8px; }

.lead {
  margin: 0 0 14px;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: #1e293b;
  max-width: 56ch;
}

.hero-points {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-points li {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 12px;
  font-weight: 600;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.platform-strip span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-row article {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  padding: 12px;
}

.metric-row h2 {
  margin: 0;
  font-size: 1.34rem;
  color: var(--brand);
}

.metric-row p { margin: 4px 0 0; color: var(--muted); font-size: 0.93rem; }

.lead-card {
  border-radius: 24px;
  border: 1px solid #b9d8f5;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(239, 248, 255, 0.9));
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
}

.lead-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(15, 118, 110, 0.35), rgba(14, 165, 233, 0.35), rgba(234, 88, 12, 0.2));
  z-index: -1;
}

.lead-card p { margin-top: 0; color: var(--muted); }

form {
  display: grid;
  gap: 8px;
}

label { font-weight: 700; font-size: 0.92rem; margin-top: 4px; }

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bed1e5;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}

.hidden-field { position: absolute; left: -9999px; opacity: 0; }

.form-note {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

.services,
.process,
.faq { padding: 34px 0; position: relative; z-index: 1; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  min-height: 172px;
}

.card h3 a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.card h3 a:hover { color: var(--brand); }

.card p { margin: 0; color: var(--muted); }

.process-grid {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.process ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.process li {
  border: 1px solid #bfdbfe;
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 10px 12px;
}

.faq {
  max-width: 900px;
}

details {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p { margin: 8px 0 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  position: relative;
  z-index: 2;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0;
  color: #334155;
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}

@keyframes driftB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-45px, -28px); }
}

@keyframes driftC {
  0% { transform: rotate(0deg) translateX(0); }
  50% { transform: rotate(180deg) translateX(16px); }
  100% { transform: rotate(360deg) translateX(0); }
}

@media (max-width: 1020px) {
  nav { display: none; }
  .hero-grid,
  .cards,
  .process-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .phone-link { width: 100%; }
  .hero { padding-top: 34px; }
  .btn,
  .btn-small { width: 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

.service-page {
  padding: 38px 0 56px;
  position: relative;
  z-index: 1;
}

.service-hero {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 14px;
}

.service-block {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 12px;
}

.service-block ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.service-block p { color: var(--muted); }

.service-top {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 14px;
}

.service-top-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 16px;
  align-items: start;
}

.service-theses {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-theses li {
  border: 1px solid #c9d8e8;
  background: #f8fbff;
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 600;
}

.service-form-wrap {
  border: 1px solid #b9d8f5;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 255, 0.92));
  padding: 14px;
}

.service-form-wrap h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.service-form-wrap p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .service-top-grid { grid-template-columns: 1fr; }
}

/* Global menu with services dropdown */
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav > a,
.nav-dropdown > a {
  padding: 8px 2px;
}

.main-nav a:hover,
.nav-dropdown:hover > a {
  color: var(--brand);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  z-index: 30;
}

.dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f1f8ff;
  color: var(--brand);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

/* Footer with duplicated menu + call form */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  gap: 20px;
  padding: 22px 0;
  color: #334155;
}

.footer-about p {
  margin: 8px 0 0;
}

.footer-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.footer-menu a {
  color: #1e293b;
}

.footer-menu a:hover {
  color: var(--brand);
}

.footer-call {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
}

.footer-call h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.footer-call .btn {
  margin-top: 6px;
}

@media (max-width: 1020px) {
  .main-nav {
    display: flex;
    gap: 14px;
    font-size: 0.94rem;
  }

  .dropdown-menu {
    min-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .phone-link { width: 100%; }
  .nav-wrap {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .dropdown-menu {
    left: 0;
    right: auto;
    min-width: 250px;
  }
}


.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-weight: 700;
  white-space: nowrap;
}

.phone-link-footer {
  width: fit-content;
}
