/* Servmitr marketing page — mobile first. */

:root {
  --ink: #0b0b0c;
  --ink-soft: #5d5d66;
  --paper: #ffffff;
  --tint: #f7f6f2;
  --line: #e6e6e4;
  --yellow: #ffc933;
  --yellow-deep: #f2b400;
  --yellow-wash: #fff6df;
  --dark: #111113;
  --wa: #1fa855;
  --wa-deep: #178a45;
  --error: #c4291c;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 12px 32px rgb(11 11 12 / 10%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.btn--lg {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn--yellow:hover {
  background: var(--yellow-deep);
}

.btn--yellow:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn--wa {
  background: var(--wa);
  color: #fff;
}

.btn--wa:hover {
  background: var(--wa-deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

/* ---- header ---- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

/* The website's logo: the mascot mark beside "Serv" in black, "Mitr" in yellow. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}

.logo__mark {
  height: 2.1em;
  width: auto;
}

.logo__text {
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.logo__text span {
  color: var(--yellow);
}

.logo--light .logo__mark {
  height: 2.1em;
  padding: 0.18em 0.32em;
  border-radius: 0.5em;
  background: #fff;
}

.logo--light .logo__text {
  color: #fff;
}

.top__nav {
  display: none;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
}

.top__nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.top__nav a:hover {
  color: var(--ink);
}

/* ---- hero ---- */

.hero {
  padding: 28px 0 40px;
  background: linear-gradient(180deg, var(--yellow-wash) 0%, var(--paper) 100%);
}

.hero__grid {
  display: grid;
  gap: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 4px rgb(31 168 85 / 18%);
}

.hero h1 {
  font-size: clamp(32px, 8.5vw, 58px);
  font-weight: 800;
}

.mark {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
}

.hero__lede {
  margin: 16px 0 22px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero__actions {
  display: grid;
  gap: 10px;
}

.ticks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  font-weight: 500;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticks li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
  flex: none;
}

.hero__art {
  position: relative;
}

.hero__art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: grid;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.hero__badge strong {
  font-size: 15px;
}

.hero__badge span {
  color: var(--ink-soft);
}

/* ---- store buttons ---- */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.stores--center {
  justify-content: center;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 158px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  font-size: 17px;
  font-weight: 600;
}

.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store span {
  display: grid;
}

.store small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store--light {
  background: #fff;
  color: var(--ink);
}

/* ---- sections ---- */

.section {
  padding: 52px 0;
}

.section--tint {
  background: var(--tint);
}

.head {
  margin-bottom: 26px;
}

.head h2,
.section h2 {
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 700;
}

.head p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.offers {
  display: grid;
  gap: 16px;
}

.offer {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.offer__art {
  display: grid;
  place-items: center;
  height: 170px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--yellow-wash);
}

.offer__art img {
  width: 150px;
}

.offer h3 {
  font-size: 22px;
}

.offer p {
  margin: 6px 0 12px;
  color: var(--ink-soft);
}

.offer ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
  flex: 1;
  font-size: 14.5px;
}

.offer li {
  display: flex;
  gap: 8px;
}

.offer li::before {
  content: '✓';
  color: var(--wa);
  font-weight: 700;
}

.chips {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.chips a:hover {
  border-color: var(--ink);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 800;
}

.steps h3 {
  font-size: 19px;
}

.steps p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.trust {
  display: grid;
  gap: 26px;
  align-items: center;
}

.trust img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.trust__lede {
  margin: 12px 0 18px;
  color: var(--ink-soft);
}

.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.trust__list li {
  display: grid;
  gap: 2px;
  padding-left: 16px;
  border-left: 3px solid var(--yellow);
  color: var(--ink-soft);
  font-size: 15px;
}

.trust__list strong {
  color: var(--ink);
}

/* ---- contact ---- */

.contact {
  display: grid;
  gap: 26px;
}

.contact__copy p {
  margin: 10px 0 20px;
  color: var(--ink-soft);
}

.contact__ways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact__ways a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.contact__ways a > span:last-child {
  display: grid;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.contact__ways strong {
  color: var(--ink);
}

.contact__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yellow-wash);
  flex: none;
}

.contact__icon svg {
  width: 22px;
  height: 22px;
}

.contact__icon--wa {
  background: #e3f6ea;
  color: var(--wa);
}

.form {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form__row {
  margin-bottom: 14px;
}

.form__pair {
  display: grid;
  gap: 0 14px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d2d2cf;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.form textarea {
  resize: vertical;
  min-height: 90px;
}

.form select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d5d66' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat;
  padding-right: 40px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--yellow-deep);
  box-shadow: 0 0 0 4px var(--yellow-wash);
}

.phone {
  display: flex;
  align-items: stretch;
}

.phone span {
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #d2d2cf;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: var(--tint);
  font-weight: 600;
}

.phone input {
  border-radius: 0 12px 12px 0;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fdeceb;
  color: var(--error);
  font-size: 14px;
  font-weight: 500;
}

.form__note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---- app band ---- */

.app {
  display: grid;
  gap: 22px;
  padding: 26px;
  border-radius: 24px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.app p {
  margin: 10px 0 0;
  color: #c9c9cf;
}

.app__art {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---- faq ---- */

.faq details {
  margin-bottom: 10px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 20px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

/* ---- footer ---- */

.foot {
  padding: 40px 0 110px;
  background: var(--dark);
  color: #c9c9cf;
  font-size: 14px;
}

.foot__grid {
  display: grid;
  gap: 20px;
}

.foot__grid p {
  margin: 12px 0 0;
  max-width: 40ch;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: #fff;
}

.foot__copy {
  margin-top: 24px;
  color: #8a8a92;
  font-size: 13px;
}

/* ---- floating actions ---- */

.float-wa {
  position: fixed;
  right: 16px;
  bottom: 84px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 24px rgb(31 168 85 / 40%);
}

.float-wa svg {
  width: 30px;
  height: 30px;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 96%);
  border-top: 1px solid var(--line);
}

/* ---- thank you ---- */

.thanks {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, var(--yellow-wash) 0%, var(--paper) 70%);
  min-height: calc(100vh - 64px);
}

.thanks__card {
  max-width: 640px;
  text-align: center;
}

.thanks__tick {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
}

.thanks__tick svg {
  width: 38px;
  height: 38px;
}

.thanks h1 {
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
}

.thanks p {
  color: var(--ink-soft);
  margin: 12px 0 0;
}

.thanks__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.thanks__app {
  margin-top: 40px;
  font-size: 20px;
}

/* ---- wider screens ---- */

@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }

  .hero__actions,
  .thanks__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .thanks__actions {
    justify-content: center;
  }

  .form__pair {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .top__nav {
    display: flex;
  }

  .top__logo {
    font-size: 24px;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }

  .hero__art img {
    aspect-ratio: 5 / 6;
  }

  .section {
    padding: 80px 0;
  }

  .offers {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .contact {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
  }

  .form {
    padding: 28px;
  }

  .app {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 48px;
  }

  .foot {
    padding-bottom: 40px;
  }

  .foot__grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .float-wa {
    bottom: 24px;
  }

  .sticky-cta {
    display: none;
  }
}
