/* Banner start */
@import url("https://fonts.googleapis.com/css2?family=Mona+Sans:wght@400;500;600;700&display=swap");

html {
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI";
  font-size: 1rem;
}

header {
  text-align: -webkit-center;
  background-color: #ffd4ad;
  padding: 20px;
}

header .logo {
  font-weight: bold;
  font-size: 20px;
  color: #1d1d1f;
  display: flex;
  align-items: center;
}

.arrow {
  width: 16px;
  padding-left: 5px;
}

.banner-bg {
  display: flex;
  align-items: center;
  flex-direction: row;
  max-width: 70rem;
}

header .logo img {
  height: 55px;
  margin-right: 8px;
}

header .link a {
  font-size: 14px;
  display: flex;
  color: #1d1d1f;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
}

.banner {
  background-color: #ffd4ad;
  padding: 0px 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.header-top {
  max-width: 70rem;
  display: flex;
  justify-content: space-between;
}

.banner-content {
  max-width: 40rem;
}

.banner h1 {
  font-size: 2.3rem;
  color: #1d1d1f;
  line-height: 3rem;
  margin: 0px;
}

.banner p {
  color: #555;
  padding-bottom: 20px;
}

.banner-image img {
  max-height: 31rem;
}

.breadcrumb {
  padding: 20px 0;
}

.banner-icon {
  padding-bottom: 20px;
  width: 100px;
}

.breadcrumb a {
  color: #1d1d1f;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  font-size: 0.9rem;
}

.banner-form {
  display: flex;
  background: white;
  flex-direction: row;
  padding: 7px;
  width: 28rem;
  border-radius: 15px;
  margin-top: 20px;
  gap: 10px;
  margin-bottom: 5rem;
}

.banner-form select,
.floating-input input {
  border: 1px solid #beb8b8;
  border-radius: 5px;
  padding: 24px 10px 6px;
  font-size: 1.2rem;
  width: 12rem;
  background-color: white;
  font-family: sans-serif;
}

.floating-input {
  position: relative;
}

.floating-input label {
  position: absolute;
  left: 10px;
  top: 0.9rem;
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s ease all;
}

.floating-input input:focus + label,
.floating-input input:not(:placeholder-shown) + label {
  top: 5px;
  font-size: 12px;
  color: #555;
}

.floating-input input:focus {
  outline: none;
  border-color: #ff6b00;
}

.banner-image {
  max-width: 33rem;
  margin-bottom: -1rem;
}

.separator {
  padding: 0 8px;
  /* відстань ліворуч і праворуч */
}

.banner-form button {
  background-color: #ff6b00;
  color: #fff;
  border-radius: 5px;
  border: none;
  padding: 0rem 2rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Banner end */

.window-img-phone {
  display: none;
}

.why {
  text-align: -webkit-center;
  padding-bottom: 50px;
  padding-top: 50px;
}

.why-content {
  max-width: 70rem;
}

.additional {
  text-align: -webkit-center;
  padding-bottom: 50px;
  background-color: #f8f8f8;
  padding-top: 50px;
}

.additional-section {
  max-width: 70rem;
}

.before-after-section {
  max-width: 70rem;
}

.before-after-section h2,
.additional-section h2 {
  font-size: 1.9rem;
  margin-bottom: 0px;
}

.before-after {
  max-width: 1000px;
  margin: auto;
}

.why-header {
  display: flex;
  gap: 50px;
  max-width: 70rem;
  text-align: center;
  margin-top: 20px;
  align-content: flex-end;
  justify-content: center;
  align-items: center;
}

.why-check {
  text-align: left;
}

.why-header p {
  gap: 10px;
  display: flex;
  font-size: 1rem;
  flex-direction: row;
}

.window-img {
  width: 47%;
  max-width: 35rem;
  border-radius: 20px;
  margin: 0 auto;
}

h2 {
  font-size: 1.9rem;
}

.benefits-section {
  background-color: #fff3ec;
  padding: 60px 20px;
}

.container-benefits {
  max-width: 70rem;
  margin: 0 auto;
}

.benefits-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #000;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit {
  background: transparent;
  padding: 10px;
}

.benefit .icon {
  font-size: 24px;
  color: #ff6a00;
  margin-bottom: 10px;
}

.benefit h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0px;
}

.benefit p {
  font-size: 0.875rem;
  color: #333;
  line-height: 1.5;
}

.cards {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  border-radius: 12px;
  padding: 0 0 20px;
  text-align: left;
  width: 21rem;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card h3 {
  font-size: 1.125rem;
  margin: 16px;
  font-weight: bold;
  color: #111;
}

.card p {
  font-size: 0.875rem;
  color: #444;
  margin: 0 16px;
}

/* #region How It Works */
/* #region How It Works Base */
.how-works-content {
  max-width: 70rem;
  padding-top: 50px;
  padding-bottom: 50px;
}

.how-works-alt {
  text-align: -webkit-center;
  background-color: #f8f8f8;
}

.hiw-step {
  width: 48px;
  height: 48px;
  line-height: 40px;
  box-sizing: border-box;
  background-color: #f37110;
  border-radius: 50%;
  border: 4px solid #fff1e6;
  margin: auto;
  margin-top: -35px;
  position: relative;
  color: #fff;
}

.how-works-header {
  display: flex;
  gap: 10px;
  max-width: 70rem;
  text-align: center;
  margin-top: 20px;
  align-content: flex-end;
  justify-content: center;
  align-items: center;
}

.arrow-how-works {
  width: 30px;
}

.how-works-step-1 img,
.how-works-step-2 img,
.how-works-step-3 img {
  width: auto;
  max-height: 10rem;
}

/* Subscribe  */

.subscribe-content {
  max-width: 70rem;
}

.subscribe {
  text-align: -webkit-center;
  padding-bottom: 50px;
  padding-top: 50px;
}

/* subscribe start  */
.subscribe-container {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  background-color: #fff3e6;
  padding: 30px;
  border-radius: 12px;
  max-width: 1100px;
  margin: 50px auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.subscribe-text {
  flex: 1;
  max-width: 40rem;
  text-align: -webkit-left;
}

.subscribe-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1c1c1c;
}

.subscribe-text p {
  font-size: 16px;
  margin: 10px 0 20px;
  color: #333;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.subscribe-form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  flex: 1;
  max-width: 11rem;
}

.subscribe-form button {
  background-color: #ff7a00;
  color: white;
  border: none;
  width: 12rem;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-form button:hover {
  background-color: #e56f00;
}

.privacy {
  font-size: 13px !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
}

.subscribe-image img {
  max-width: 23rem;
  height: auto;
  bottom: 0rem;
  position: absolute;
  right: 2rem;
}

/* subscribe end */

@media screen and (min-width: 1600px) {
  .subscribe-content {
    max-width: 100rem;
  }

  .subscribe-container {
    max-width: 100rem;
  }

  .subscribe-text h2 {
    font-size: 3rem;
  }

  .subscribe-text {
    max-width: 60rem;
  }

  .subscribe-image img {
    max-width: 28rem;
    right: 8rem;
  }

  .subscribe-text p {
    font-size: 1.2rem;
  }

  .subscribe-form input {
    max-width: 17rem;
    font-size: 1.2rem;
  }

  .subscribe-form button {
    width: 17rem;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  .subscribe-image img {
    position: static;
    max-width: 100%;
  }

  .subscribe-container {
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
  }

  .subscribe-form input {
    max-width: 100%;
  }

  .subscribe-form button {
    width: 100%;
  }

  .subscribe {
    padding-bottom: 0px;
  }
}

@media screen and (min-width: 1600px) {
  .header-top {
    max-width: 100rem;
  }

  header .logo img {
    height: 3rem;
  }

  .banner-bg {
    max-width: 100rem;
  }

  .banner-image img {
    min-height: 37rem;
  }

  h2,
  .benefits-section h2,
  .before-after-section h2,
  .additional-section h2 {
    font-size: 3rem;
  }

  .why h2 {
    margin-top: 15px;
  }

  .why-header p {
    font-size: 1.2rem;
  }

  .container-benefits {
    max-width: 100rem;
  }

  .before-after-section {
    max-width: 100rem;
  }

  .before-after img {
    max-width: 100rem;
    height: auto;
    width: 90rem;
  }

  .additional-section {
    max-width: 100rem;
  }

  .how-works-content, .how-works-header {
    max-width: 100rem;
  }

  .card {
    width: 31rem;
  }

  .card img {
    height: 17rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 30px;
  }

  .benefit h3,
  .card h3 {
    font-size: 1.5rem;
  }

  .benefit p,
  .card p {
    font-size: 1rem;
  }

  .banner h1 {
    font-size: 3.5rem;
    line-height: 4rem;
  }

  .why-content {
    max-width: 100rem;
  }

  .why-header {
    max-width: 100rem;
  }

  .banner input,
  .banner select {
    width: 15rem;
    font-size: 1.2rem;
  }

  .banner p {
    font-size: 1.2rem;
  }

  header .link {
    font-size: 1rem;
  }

  .arrow {
    width: 22px;
  }

  .banner-content {
    max-width: 70rem;
  }

  .banner-image {
    max-width: 50rem;
    margin-bottom: -2.6rem;
  }

  .banner-form {
    width: 31rem;
    margin-bottom: 10rem;
  }

  .window-img-phone {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 1.125rem;
  }

  .banner-image {
    max-height: 17rem;
    margin-bottom: 0px;
  }

  .banner-image img {
    max-height: 17rem;
    width: auto;
    margin: 0 auto;
  }

  .window-img-phone {
    display: block;
    width: 100%;
    border-radius: 20px;
    max-width: 100%;
    margin: 0 auto;
  }

  .breadcrumb a {
    font-size: 1rem;
  }

  .banner-bg {
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  .before-after-section {
    padding: 0 20px;
  }

  .why-header {
    flex-direction: column;
  }

  .why-check h2 {
    text-align: center;
  }

  .why-check {
    padding: 0px 20px;
  }

  .window-img {
    display: none;
  }

  .banner {
    width: 100%;
    padding: 0px;
  }

  .banner-bg {
    max-width: 100%;
  }

  .banner-content {
    max-width: 100%;
    text-align: -webkit-center;
  }

  .banner-content img {
    max-width: 100%;
    height: auto;
  }

  .banner h1 {
    font-size: 1.6rem;
    line-height: 2rem;
    padding: 0px 20px;

    text-align: center;
  }

  .banner p {
    padding: 0px 20px;
  }

  .banner-icon {
    padding-top: 30px;
  }

  .breadcrumb {
    padding: 0 20px;
    text-align: left;
  }

  * {
    box-sizing: border-box;
  }

  .before-after img {
    max-width: 100%;
  }

  .banner-form {
    width: 90%;
    margin: 5%;
    display: flex;
    flex-direction: column;
  }

  .banner-form select,
  .floating-input input {
    width: 100%;
  }

  .banner-form button {
    width: 100%;
    padding: 1rem 2rem;
  }

  body {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 400px) {
  html {
    font-size: 1.125rem;
    /* трохи більший шрифт */
  }
}

/* Sticky ZIP bar */
.zip-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  z-index: 10000;
  background: white;
  /* у тон вашого header/banner */
  backdrop-filter: saturate(180%) blur(6px);
  box-shadow: 6px 1px 6px rgba(0, 0, 0, 0.12);
  padding-top: env(safe-area-inset-top);
}

.zip-sticky--show {
  transform: translateY(0);
}

.zip-sticky__inner {
  max-width: 70rem;
  /* як у вашого лейаута */
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.zip-sticky__form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.zip-sticky__label {
  font-weight: 600;
  white-space: nowrap;
  color: #1d1d1f;
}

.zip-sticky__input {
  border: 1px solid #beb8b8;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
  width: 10rem;
  background: #fff;
}

.zip-sticky__input:focus {
  outline: none;
  border-color: #ff6b00;
}

.zip-sticky__btn {
  background: #ff6b00;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .zip-sticky__label {
    display: none;
  }

  .zip-sticky__inner {
    padding: 12px 12px;
  }

  .zip-sticky__input {
    flex: 1;
    width: auto;
  }
}

/* --- Attention animation for the banner form --- */
@keyframes formNudge {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes formGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(255, 107, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.banner-form.attention {
  animation: formNudge 600ms ease, formGlow 1200ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .banner-form.attention {
    animation: none;
    box-shadow: 0 0 0 3px #ff6b00;
  }
}

/* Make the H1 appear clickable when it triggers the form animation */
/* .attention-clickable {
    cursor: pointer;
} */

.attention-clickable:hover {
  text-underline-offset: 0.15em;
  text-decoration-thickness: 0.08em;
}
