:root {
  --navy: #1E2A4A;
  --coral: #F2674A;
  --coral-dark: #D9523A;
  --text: #1E2A4A;
  --muted: #6B7590;
  --line: #E4E7EF;
  --tint: #F6F4F1;
  --bg: #FFFFFF;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.eyebrow {
  color: var(--coral);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--coral);
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--navy); }
.btn--small { padding: 9px 18px; font-size: .95rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand__name span { color: var(--coral); }
.brand__tag { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--navy); }

/* Hero */
.hero { padding: 80px 0 96px; background: linear-gradient(180deg, var(--tint), var(--bg)); }
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.langs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.langs li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; background: #fff; }

.hero__card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: var(--navy);
  overflow: hidden;
}
.bubble {
  position: absolute;
  padding: 14px 22px;
  border-radius: 22px;
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: #fff;
  white-space: nowrap;
}
.bubble::after {
  content: ""; position: absolute; bottom: -9px; left: 22px;
  border: 10px solid transparent; border-top-color: inherit; border-bottom: 0;
}
.bubble--a { top: 12%; left: 10%; background: var(--coral); border-color: var(--coral); }
.bubble--b { top: 30%; right: 8%; background: #fff; color: var(--navy); border-color: #fff; }
.bubble--b::after { left: auto; right: 22px; }
.bubble--c { top: 50%; left: 16%; background: #3E5085; border-color: #3E5085; }
.bubble--d { top: 68%; right: 14%; background: #F7A58F; color: var(--navy); border-color: #F7A58F; }
.bubble--d::after { left: auto; right: 22px; }
.bubble--e { bottom: 6%; left: 8%; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -20px rgba(30,42,74,.35); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #FDECE8; display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.special { margin-top: 48px; padding: 32px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.special h3 { margin-bottom: 16px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 600; font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { padding: 28px; background: #fff; border-radius: var(--radius); }
.steps p { color: var(--muted); margin: 0; }
.steps__num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--coral); color: #fff; font-weight: 800; margin-bottom: 16px;
}

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: start; }
.price-box { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.price-box h3 { margin-bottom: .25em; }
.price-box--main { border: 2px solid var(--coral); }
.price-box .muted { font-size: .9rem; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
th { text-align: right; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 0 0 8px; }
th:first-child { text-align: left; }
td { padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
td:not(:first-child) { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.note { font-size: .85rem; color: var(--muted); margin: 0; }

.note a { color: var(--coral); font-weight: 700; }

/* Terms */
.terms { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.terms summary {
  cursor: pointer; list-style: none;
  padding: 20px 28px; font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center;
}
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--coral); line-height: 1; }
.terms[open] summary::after { content: "−"; }
.terms__body { padding: 0 28px 24px; color: var(--muted); font-size: .95rem; }
.terms__body ul, .terms__body ol { margin: 0 0 16px; padding-left: 1.3em; }
.terms__body li { margin-bottom: 8px; }
.terms__body h4 { color: var(--navy); margin: 8px 0 8px; font-size: 1rem; }
.terms__body strong { color: var(--navy); }
.terms__cases { list-style: lower-roman; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.about__photo { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__text p { color: var(--muted); }
.sign { margin-top: 28px; }
.sign strong { color: var(--navy); font-size: 1.1rem; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.contact__item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s;
}
.contact__item:hover { border-color: var(--coral); }
.contact__item strong { font-size: 1.15rem; }
.company { margin-top: 32px; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 28px 0; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: #fff; text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner, .about { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 420px; width: 100%; }
  .about__photo { max-width: 420px; }
  .cards, .steps, .prices, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { display: none; }
  .header__inner { justify-content: space-between; gap: 12px; }
  .brand__tag { display: none; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .card, .price-box, .steps li, .contact__item, .special { padding: 22px; }
  .terms summary { padding: 18px 22px; }
  .terms__body { padding: 0 22px 20px; }
}
