/* Дизайн под ilyavizitka.png: белая tech-карточка, cyan + magenta, тёмный фон */

:root {
  --bg: #070e1a;
  --bg2: #0c1628;
  --card: #f4f7fb;
  --card2: #ffffff;
  --ink: #0f2740;
  --ink2: #2a4a66;
  --mute: #6b8499;
  --cyan: #00b8d4;
  --cyan2: #0088a8;
  --magenta: #ff2d95;
  --magenta2: #e91e8c;
  --line: rgba(0, 184, 212, 0.22);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 980px;
  --font: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: #e8f1f8;
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 20% -10%, #13284a 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 20%, #1a0a28 0%, transparent 50%),
    var(--bg);
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(0, 184, 212, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 184, 212, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.bg-glow-a {
  width: 320px;
  height: 320px;
  background: var(--cyan);
  top: -80px;
  right: 10%;
  opacity: 0.18;
}
.bg-glow-b {
  width: 280px;
  height: 280px;
  background: var(--magenta);
  bottom: 10%;
  left: -40px;
  opacity: 0.12;
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

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

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 18px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), #5ce1ff);
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 184, 212, 0.35);
}
.logo-text {
  font-size: 13px;
  color: #9bb4c8;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #9bb4c8;
}
.nav a:hover {
  color: #fff;
}
.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #031018 !important;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(0, 184, 212, 0.35);
}

/* —— Главная: визитка —— */
.hero {
  max-width: var(--max);
  margin: 8px auto 0;
  padding: 8px 16px 28px;
}

.card-frame {
  position: relative;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, var(--cyan), #7ee8ff 35%, var(--magenta) 100%);
  box-shadow:
    var(--shadow),
    0 0 40px rgba(0, 184, 212, 0.2),
    0 0 80px rgba(255, 45, 149, 0.1);
}

.vizitka {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
  background: #fff;
}

.hero-cta {
  margin-top: 22px;
  text-align: center;
}

.hero-line {
  font-size: 15px;
  color: #9bb4c8;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  padding: 13px 22px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.btn.primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}
.btn.primary:hover {
  filter: brightness(1.06);
}
.btn.ghost {
  background: transparent;
  color: #dff6ff;
  box-shadow: inset 0 0 0 1.5px rgba(0, 184, 212, 0.45);
}
.btn.ghost:hover {
  background: rgba(0, 184, 212, 0.1);
}
.btn.whatsapp-big {
  margin-top: 18px;
  width: 100%;
  max-width: 320px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.3);
}

.foot-phone {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.foot-phone a {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 184, 212, 0.35);
}
.foot-phone a:hover {
  color: #7ee8ff;
}

.strip {
  max-width: var(--max);
  margin: 0 auto 10px;
  padding: 0 16px;
}
.strip p {
  background: linear-gradient(90deg, rgba(0, 184, 212, 0.12), rgba(255, 45, 149, 0.08));
  border: 1px solid var(--line);
  color: #cfe6f4;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
}
.strip a {
  color: var(--cyan);
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 184, 212, 0.4);
}
.strip-strong p {
  font-size: 15.5px;
  line-height: 1.55;
}
.strip-strong strong {
  color: #fff;
  font-weight: 750;
}
.hero-line strong {
  color: #e8fbff;
  font-weight: 750;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 16px 36px;
}

.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #f2f8fc;
}

.section-lead {
  color: #8aa3b8;
  margin-bottom: 20px;
  max-width: 42ch;
}

.order-intro .section-lead {
  color: var(--ink2);
}

.grid {
  display: grid;
  gap: 12px;
}
.services {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(0, 184, 212, 0.18);
  border-radius: 14px;
  padding: 18px 16px;
  position: relative;
}
.card .dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.2);
  margin-bottom: 12px;
}
.card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #f0f7fc;
}
.card p {
  font-size: 13px;
  color: #8aa3b8;
  line-height: 1.45;
}
.card .pain {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), #5ce1ff);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.card .pain-accent {
  background: linear-gradient(135deg, var(--magenta), #ff6bb5);
  color: #fff;
}
.card-accent {
  border-color: rgba(255, 45, 149, 0.35);
  background: linear-gradient(160deg, rgba(255, 45, 149, 0.1), rgba(0, 184, 212, 0.06));
}
.card-accent h3 {
  color: #fff;
}
.card-accent strong {
  color: #7ee8ff;
}

.how-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}
.how-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(0, 184, 212, 0.18);
  border-radius: 14px;
  padding: 18px 16px;
}
.how-card .num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 10px;
}
.how-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #f0f7fc;
}
.how-card p {
  font-size: 13.5px;
  color: #8aa3b8;
  line-height: 1.45;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-list li {
  font-size: 12px;
  font-weight: 700;
  color: #cfe6f4;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 184, 212, 0.25);
  background: rgba(0, 184, 212, 0.08);
}

.order-section {
  padding-bottom: 56px;
}

.order-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  background: linear-gradient(145deg, #f7fafc 0%, #eef3f8 100%);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 184, 212, 0.25);
  position: relative;
  overflow: hidden;
}

/* cyan/magenta accent like the print card corners */
.order-wrap::before,
.order-wrap::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  border-radius: 2px;
}
.order-wrap::before {
  top: 0;
  left: 24px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.order-wrap::after {
  bottom: 0;
  right: 24px;
  background: linear-gradient(90deg, transparent, var(--magenta));
}

.order-intro {
  color: var(--ink);
}
.order-intro h2 {
  color: var(--ink);
  margin-bottom: 8px;
}
.order-intro .section-kicker {
  color: var(--cyan2);
}

.contacts-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.contacts-list li span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 2px;
}
.contacts-list a {
  font-weight: 750;
  color: var(--ink);
  font-size: 16px;
}
.contacts-list a:hover {
  color: var(--cyan2);
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink2);
}
.field label em {
  font-style: normal;
  color: var(--mute);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(15, 39, 64, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.18);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.form-foot .btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #031018;
  box-shadow: 0 8px 24px rgba(0, 184, 212, 0.3);
}
.form-note {
  font-size: 13px;
  color: var(--mute);
}

.form-status {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
}
.form-status.ok {
  background: rgba(37, 211, 102, 0.12);
  color: #0d6b3a;
}
.form-status.err {
  background: rgba(233, 30, 140, 0.1);
  color: #a01860;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4px 16px 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  font-size: 13px;
  color: #c5d8e8;
}
.mute {
  color: #6b8499;
}

@media (max-width: 820px) {
  .services,
  .how-grid,
  .order-wrap {
    grid-template-columns: 1fr;
  }
  .order-form {
    grid-template-columns: 1fr;
  }
  .nav a:not(.nav-cta) {
    display: none;
  }
  .logo-text {
    display: none;
  }
}
