@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --anchor: #2f4964;
  --deep: #20364b;
  --gardenia: #fff8ee;
  --canal: #6f9fe5;
  --pastel: #eef6fb;
  --aqua: #92d9d0;
  --black: #111820;
  --yellow: #ffd84a;
  --orange: #f47a32;
  --green: #1f9d68;
  --line: rgba(47, 73, 100, 0.18);
  --shadow: 0 18px 45px rgba(47, 73, 100, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--gardenia);
  color: var(--black);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

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

.wrap {
  width: min(1180px, calc(100% - 34px));
  margin: auto;
}

.top {
  background: var(--deep);
  color: #fff;
  text-align: center;
  padding: 9px;
  font-size: 13px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 238, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.logo {
  font-weight: 900;
  color: var(--deep);
  font-size: 21px;
}

.logo b {
  color: var(--canal);
}

.links {
  display: flex;
  gap: 18px;
  font-weight: 700;
  font-size: 14px;
}

.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--anchor);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.book {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.send {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.hero,
.mini {
  background: linear-gradient(120deg, var(--gardenia), var(--pastel));
  padding: 76px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--anchor);
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--deep);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(43px, 6vw, 76px);
  margin: 12px 0 18px;
}

h2 {
  font-size: clamp(31px, 4vw, 50px);
  margin: 8px 0 18px;
}

.lead {
  font-size: 19px;
  max-width: 760px;
}

.yellow {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  font-weight: 800;
}

.card,
.service,
.form,
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 23px;
}

.hero-card {
  background: linear-gradient(145deg, #fff, #dff5f1);
}

section {
  padding: 68px 0;
}

.soft {
  background: var(--pastel);
}

.aqua {
  background: #dff5f1;
}

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

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 265px;
}

.service h3,
.card h3 {
  color: var(--deep);
  font-size: 21px;
  margin: 8px 0;
}

.service p {
  color: #586773;
}

.service .actions {
  margin-top: auto;
}

.tag {
  display: inline-flex;
  width: max-content;
  background: #dff5f1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

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

.num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  font-weight: 900;
}

.form {
  padding: 28px;
}

.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  padding: 13px;
  border: 1px solid rgba(47, 73, 100, 0.34);
  border-radius: 12px;
  background: #fff;
}

.field textarea {
  min-height: 100px;
}

.full {
  grid-column: 1 / -1;
}

.phone {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: var(--yellow);
  padding: 17px;
  border-radius: 16px;
  font-weight: 900;
  margin-top: 18px;
}

.check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.check div {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 13px;
}

.check div::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 8px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 10px 0;
  padding: 15px;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.service-nav a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 700;
  font-size: 13px;
}

/* FOOTER */

.footer {
  background: var(--deep);
  color: #eaf2f7;
  border-top: 7px solid var(--yellow);
  padding: 44px 0;
}

.footgrid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 14px;
}

.footer p {
  color: rgba(234, 242, 247, 0.82);
}

.footer .footgrid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer .footgrid > div > a {
  display: block !important;
  width: 100%;
  margin: 0 0 8px;
  padding: 2px 0;
  color: #eaf2f7;
  line-height: 1.5;
  white-space: normal;
}

.footer .footgrid > div > a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.notice {
  background: var(--yellow);
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
}

.prices {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.prices th,
.prices td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prices th {
  background: var(--anchor);
  color: #fff;
}

@media (max-width: 900px) {
  .links {
    display: none;
  }

  .hero-grid,
  .footgrid {
    grid-template-columns: 1fr;
  }

  .grid4,
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }

  .footgrid {
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .grid4,
  .grid3,
  .steps,
  .formgrid,
  .check {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }

  .actions .book {
    display: none;
  }

  .phone {
    display: block;
  }

  .hero h1,
  .mini h1 {
    font-size: 42px;
  }

  .wrap {
    width: min(100% - 22px, 1180px);
  }
}
