:root {
  --blue: #076afa;
  --navy: #081d41;
  --muted: #546478;
  --line: #e3e9f1;
  --shadow: 0 10px 30px #0b306015;
  --soft: #f6faff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #fff;
  line-height: 1.5;
}
button, a { font: inherit; }
button { cursor: pointer; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4.4%, calc((100vw - 1540px) / 2));
  gap: 22px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
}
.logo { width: 220px; max-width: 24vw; height: auto; object-fit: contain; }
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}
.nav a { position: relative; padding: 33px 0; }
.nav a.active { color: var(--blue); }
.nav a.active:after {
  content: "";
  position: absolute;
  bottom: 23px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 4px;
}
.header-actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 14px 22px;
  border: 1.5px solid transparent;
  font-weight: 750;
  white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 5px 14px #0666ff1f; }
.btn-outline { border-color: #365276; background: #fff; color: var(--navy); }
.btn-video { background: #fff; border: 1.5px solid var(--blue); color: var(--navy); }
.btn-video .play {
  background: var(--blue);
  width: 28px;
  height: 28px;
  color: #fff;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
}
.btn-ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.hamburger { display: none; border: 0; background: transparent; font-size: 25px; }

.hero {
  background: linear-gradient(110deg, #fff 7%, #f1fbff 46%, #d0e9fc 100%);
  min-height: 544px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 1672px; margin: auto; min-height: 544px; position: relative; }
.hero-picture {
  position: absolute;
  inset: 0 0 0 30.25%;
  background-image: url("../assets/hero-studio.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-picture:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 7%;
  background: linear-gradient(90deg, #f3faff, transparent);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 36%;
  padding: 34px 0 28px max(4.4%, calc((100vw - 1540px) / 2));
  min-width: 510px;
}
.eyebrow {
  display: inline-block;
  padding: 8px 16px;
  background: var(--blue);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}
.hero h1 {
  font-size: clamp(43px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin: 17px 0 8px;
  font-weight: 850;
}
.hero h1 span { color: var(--blue); }
.sub { color: #425773; font-size: 17px; line-height: 1.33; max-width: 446px; margin: 8px 0 14px; }
.checks { padding: 0; margin: 0 0 18px; list-style: none; display: grid; gap: 12px; font-size: 16px; font-weight: 520; }
.checks li { display: flex; align-items: center; gap: 13px; }
.check {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #12b86b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
}
.hero-buttons { display: flex; gap: 17px; }
.hero-buttons .btn { min-width: 196px; height: 57px; }

.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1672px;
  margin: auto;
  padding: 20px 5%;
  min-height: 132px;
  gap: 18px;
  align-items: center;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-right: 1px solid #e7ebf2;
  padding-right: 12px;
  min-width: 0;
  color: inherit;
}
.feature:last-child { border: 0; }
.feature .ico {
  width: 65px;
  height: 65px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.feature:nth-child(1) .ico { background: linear-gradient(130deg, #0879ff, #40b7ff); }
.feature:nth-child(2) .ico { background: linear-gradient(130deg, #8c33ec, #4f78ff); }
.feature:nth-child(3) .ico { background: linear-gradient(130deg, #00c89b, #16d7ba); }
.feature:nth-child(4) .ico { background: linear-gradient(130deg, #ffac11, #ff721c); }
.feature:nth-child(5) .ico { background: linear-gradient(130deg, #f72fbc, #cb30df); }
.feature h3 { margin: 8px 0 5px; font-size: 17px; line-height: 1.15; letter-spacing: -.3px; }
.feature p { margin: 0; color: #7b8796; font-size: 14px; line-height: 1.35; }

.templates { background: #f7fafc; padding: 28px 3.5% 44px; }
.templates-inner { max-width: 1565px; margin: auto; display: flex; align-items: center; gap: 22px; }
.template-title { width: 290px; min-width: 275px; font-size: 27px; letter-spacing: -1px; line-height: 1.24; margin: 0; font-weight: 800; }
.round-arrow {
  background: #fff;
  border: 1px solid #e0e5ed;
  box-shadow: 0 3px 11px #0001;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  font-size: 25px;
}
.template-track {
  display: flex;
  flex: 1;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 5px;
}
.template-track::-webkit-scrollbar { display: none; }
.template-card {
  border: 0;
  flex: 0 0 132px;
  padding: 0 0 9px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 11px #101e2a11;
  text-align: center;
  overflow: hidden;
  color: #102344;
  transition: transform .2s;
  display: block;
}
.template-card:hover { transform: translateY(-5px); }
.template-card img { width: 100%; height: 88px; object-fit: cover; display: block; }
.template-card span { font-size: 12px; font-weight: 750; display: block; margin-top: 9px; white-space: nowrap; }

.band { padding: 72px 5%; }
.band h2, .page-hero h1, .section-head h2 {
  letter-spacing: -1.2px;
  line-height: 1.15;
}
.band.center, .center { text-align: center; }
.lead { color: var(--muted); margin: 0 auto 28px; max-width: 680px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1120px; margin: 28px auto 0; gap: 22px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  padding: 26px;
  box-shadow: var(--shadow);
  color: inherit;
  display: block;
}
.step b { font-size: 30px; color: var(--blue); }
.step h3 { margin: 12px 0 7px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

.page-hero {
  background: linear-gradient(110deg, #fff 8%, #f1fbff 52%, #d7ecfc 100%);
  padding: 54px 5% 48px;
}
.page-hero .wrap, .wrap { max-width: 1120px; margin: 0 auto; }
.crumbs { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.crumbs a { color: var(--blue); font-weight: 700; }
.page-hero h1 { font-size: clamp(34px, 4vw, 54px); margin: 8px 0 12px; font-weight: 850; }
.page-hero p { max-width: 640px; color: #425773; margin: 0; font-size: 18px; }
.page-hero .actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.section { padding: 64px 5%; }
.section.alt { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { font-size: 34px; margin: 0 0 8px; }
.section-head p { margin: 0; color: var(--muted); }

.card-grid, .price-grid, .post-grid, .sector-grid { display: grid; gap: 20px; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card, .price, .post, .sector-card, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.card, .panel { padding: 24px; }
.card h3, .panel h3 { margin: 8px 0; }
.card p, .panel p { margin: 0; color: var(--muted); font-size: 15px; }
.mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(130deg, #0879ff, #40b7ff);
}

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 22px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--navy);
}
.chip.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.sector-grid { grid-template-columns: repeat(3, 1fr); }
.sector-card { overflow: hidden; color: inherit; display: flex; flex-direction: column; }
.sector-card img { width: 100%; height: 170px; object-fit: cover; display: block; background: #e8f2fb; }
.sector-card div { padding: 16px 16px 18px; }
.sector-card h3 { margin: 0 0 6px; }
.sector-card p { margin: 0; color: var(--muted); font-size: 14px; }
.sector-card[hidden] { display: none; }

.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price { padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.price.featured { border: 2px solid var(--blue); transform: translateY(-6px); }
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
}
.price h3 { margin: 0 0 6px; font-size: 22px; }
.price .plan-note { color: var(--muted); min-height: 44px; }
.price ul { padding: 0 0 0 18px; margin: 8px 0 20px; color: #243852; flex: 1; }
.price li { margin: 8px 0; }
.installments {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 18px;
}
.installments span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
}

.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.post-grid { grid-template-columns: repeat(3, 1fr); }
.post { overflow: hidden; color: inherit; display: flex; flex-direction: column; }
.post .cover {
  height: 140px;
  display: grid;
  place-items: end start;
  padding: 16px;
  color: #fff;
  font-weight: 800;
}
.post .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post h3 { margin: 0; }
.post p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.meta { font-size: 13px; color: #7b8796; font-weight: 700; }

.article { max-width: 760px; }
.article p { color: #2c415c; font-size: 17px; }
.article h2 { margin-top: 28px; }
.article ul { color: #2c415c; }

.contact-grid, .auth-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.field, select.field, textarea.field {
  display: block;
  width: 100%;
  border: 1px solid #c7d3e1;
  padding: 13px;
  margin: 8px 0 14px;
  border-radius: 10px;
  font: inherit;
  color: var(--navy);
  background: #fff;
}
textarea.field { min-height: 130px; resize: vertical; }
label { font-weight: 700; font-size: 14px; }
.info-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.info-list a { color: var(--blue); font-weight: 750; }

.wizard-progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.wizard-progress li {
  flex: 1;
  background: #eef3f9;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 750;
  color: var(--muted);
}
.wizard-progress li.is-current { background: #e7f1ff; color: var(--blue); }
.wizard-progress li.is-done { background: #e8f8ef; color: #0d8a4d; }
.wizard-step { display: none; }
.wizard-step.is-on { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  padding: 0 0 10px;
  overflow: hidden;
}
.choice img { width: 100%; height: 84px; object-fit: cover; display: block; }
.choice span { display: block; padding: 8px 10px 0; font-weight: 750; font-size: 14px; }
.choice.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px #076afa22; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.summary { background: var(--soft); border-radius: 12px; padding: 16px; display: grid; gap: 6px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.summary b { font-weight: 650; }

.editor-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.editor-side { background: #10233f; color: #d5e4f7; padding: 18px 14px; }
.editor-side strong { display: block; color: #fff; margin-bottom: 14px; }
.editor-side button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 8px;
  padding: 10px;
}
.editor-side button.is-on, .editor-side button:hover { background: #1c3b66; }
.editor-main { padding: 18px; background: #f4f7fb; }
.editor-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.canvas {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  min-height: 280px;
  border: 1px dashed #b9d4f5;
}
.canvas h2 { margin-top: 0; }
.hint { color: var(--muted); font-size: 14px; }

.context {
  position: fixed;
  display: none;
  z-index: 100;
  background: #fff;
  box-shadow: 0 8px 35px #061a3d40;
  border-radius: 11px;
  min-width: 190px;
  padding: 8px;
}
.context button { width: 100%; padding: 10px; border: 0; background: #fff; text-align: left; border-radius: 6px; }
.context button:hover { background: #f0f6ff; }
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #08244b;
  color: #fff;
  padding: 14px 19px;
  border-radius: 10px;
  z-index: 101;
  opacity: 0;
  transform: translateY(20px);
  transition: .3s;
  max-width: min(360px, calc(100% - 40px));
}
.toast.show { opacity: 1; transform: none; }

.site-footer { background: #081e40; color: #d7e3f4; padding: 42px 5% 22px; }
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer img { width: 160px; background: #fff; border-radius: 8px; padding: 6px; }
.site-footer h3 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.site-footer a, .site-footer p { color: #d7e3f4; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal { max-width: 1120px; margin: 22px auto 0; padding-top: 16px; border-top: 1px solid #1c3a66; font-size: 13px; color: #9fb4d0; }

.cta-band {
  margin: 10px 5% 64px;
  background: linear-gradient(110deg, #081d41, #076afa);
  color: #fff;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #d6e8ff; }
.cta-band .btn-primary { background: #fff; color: var(--blue); }

@media (max-width: 1350px) {
  .nav { gap: 16px; }
  .site-header { padding: 0 3%; }
  .logo { width: 190px; }
  .hero-copy { padding-left: 4%; min-width: 460px; }
  .hero h1 { font-size: 58px; }
  .features { padding: 18px 3%; gap: 9px; }
  .feature { gap: 10px; }
  .feature .ico { width: 50px; height: 50px; font-size: 20px; }
  .feature h3 { font-size: 14px; }
  .feature p { font-size: 12px; }
  .template-title { min-width: 200px; width: 200px; font-size: 23px; }
}

@media (max-width: 1020px) {
  .hamburger { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 81px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 10px 25px 16px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; }
  .nav a.active:after { bottom: 8px; width: 70px; }
  .header-actions .btn-outline { display: none; }
  .hero-copy { min-width: 0; width: 54%; padding-left: 4%; }
  .hero h1 { font-size: clamp(40px, 6vw, 58px); }
  .hero-picture { left: 40%; }
  .features, .steps, .card-grid, .card-grid.four, .price-grid, .post-grid, .sector-grid, .footer-grid, .split, .contact-grid, .choice-grid {
    grid-template-columns: 1fr 1fr;
  }
  .editor-shell { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .template-title { min-width: 170px; width: 170px; font-size: 20px; }
}

@media (max-width: 720px) {
  .site-header { height: 70px; padding: 0 16px; }
  .logo { max-width: none; width: 160px; }
  .header-actions .btn-primary { display: none; }
  .nav { top: 69px; }
  .hero { min-height: 0; }
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding: 28px 22px 18px; }
  .hero h1 { font-size: 42px; letter-spacing: -1.5px; }
  .hero-picture { position: relative; inset: auto; height: 280px; left: 0; }
  .hero-picture:before { display: none; }
  .hero-buttons { flex-wrap: wrap; }
  .hero-buttons .btn { min-width: 0; height: 48px; padding: 11px 15px; font-size: 14px; }
  .features, .steps, .card-grid, .card-grid.four, .price-grid, .post-grid, .sector-grid, .footer-grid, .split, .contact-grid, .choice-grid, .installments {
    grid-template-columns: 1fr;
  }
  .feature { border: 0; }
  .templates-inner { flex-wrap: wrap; }
  .template-title { width: auto; min-width: 0; }
  .template-track { order: 3; width: 100%; flex-basis: 100%; }
  .cta-band, .wizard-progress { flex-direction: column; }
  .band, .section { padding: 42px 18px; }
  .page-hero { padding: 36px 18px; }
}
