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

:root {
  --yellow: #FFCC00;
  --black: #1D1D1D;
  --white: #FFFFFF;
  --green: #34C759;
  --purple: #6155F5;
  --orange: #FF8D28;
  --light-gray: #EBEBEB;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.25; }

h2 {
  font-size: clamp(28px, 4vw, 48px);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--black);
  opacity: .75;
  margin-top: 14px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 100px;
  padding: 10px 6px 10px 22px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.btn__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn--purple { background: var(--purple); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--small { padding: 10px 6px 10px 20px; }

/* ---------- Forms ---------- */
.subscribe-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input {
  width: min(320px, 60vw);
  height: 40px;
  border-radius: 100px;
  border: 1px solid #AEAEB2;
  padding: 0 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  outline: none;
  background: var(--white);
}

.subscribe-form input::placeholder { color: var(--black); opacity: .6; }

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.logo__wordmark { height: 22px; width: auto; }

/* ================= HERO ================= */
.hero {
  position: relative;
  background: var(--yellow);
  padding-bottom: 90px;
  overflow: hidden;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 20px;
}

.hero__nav {
  display: flex;
  gap: 32px;
  font-weight: 600;
  font-size: 15px;
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 24px 60px;
  flex-wrap: wrap;
}

.hero__text { max-width: 620px; }

.hero__text h1 {
  font-size: clamp(30px, 4.4vw, 46px);
}

.hero__subtitle {
  margin: 20px 0 28px;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
}

.hero__device {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  flex-shrink: 0;
  aspect-ratio: 590 / 749;
}

.hero-phone {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.35));
}

.hero-logo-blur {
  position: absolute;
  width: 130%;
  left: -15%;
  top: -10%;
  z-index: 0;
  opacity: .25;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-card {
  position: absolute;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.3));
}

.hero-card--museu {
  width: 44%;
  left: 1%;
  top: 42%;
}

.hero-card--casa {
  width: 54%;
  left: 33%;
  top: 56%;
}

.hero-card--phoenix {
  width: 42%;
  left: 58%;
  top: 78%;
}

.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  z-index: 1;
}

/* ================= HOW IT WORKS ================= */
.how-it-works {
  padding: 90px 0 100px;
  text-align: center;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.step img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

/* ================= VALUE ================= */
.value {
  position: relative;
  background: var(--yellow);
  padding: 70px 0 90px;
  overflow: hidden;
}

.value .container { padding-top: 40px; padding-bottom: 20px; }

.value h2 { }

.value__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  height: 420px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
}

.value-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.value-card--off {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  background: var(--green);
  color: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  font-size: 18px;
  text-transform: none;
}
.value-card--off strong { font-size: 48px; line-height: 1.1; }

.wave--value-top { top: -1px; }
.wave--value-bottom { bottom: -1px; }

/* ================= MARQUEE ================= */
.marquee-wrap {
  position: relative;
  padding: 30px 0;
  background: var(--white);
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 36px);
  text-transform: uppercase;
}

.marquee--light { background: var(--light-gray); transform: rotate(-2.5deg) scale(1.03); }
.marquee--green { background: var(--green); transform: rotate(2.5deg) scale(1.03); margin-top: -10px; }

.marquee__track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee__track--reverse {
  animation-direction: reverse;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= ABOUT ================= */
.about { padding: 100px 0; }

.about__grid {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about__text { flex: 1 1 420px; }

.about__text p {
  margin: 20px 0 36px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
}

.about__stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}
.stat strong { color: var(--orange); font-size: 40px; }

.about__map {
  flex: 1 1 360px;
  max-width: 480px;
  margin: 0 auto;
}

.about__map img { width: 100%; height: auto; }

/* ================= REVIEWS ================= */
.reviews { padding: 90px 0 110px; background: var(--white); }

.reviews__title {
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 36px);
}

.reviews__track {
  margin-top: 56px;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 4px 6px rgba(0,0,0,.1);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stars { width: 115px; height: auto; }

.review-card p {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.review-card__author { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.review-card__author span { color: #555; font-style: italic; }

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.reviews__controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.reviews__dots { display: flex; gap: 8px; }
.reviews__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}
.reviews__dots span.active { background: var(--black); }

/* ================= CTA ================= */
.cta { padding: 0 0 100px; background: var(--white); }

.cta__box {
  background: var(--green);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 50px 60px;
  overflow: hidden;
  flex-wrap: wrap;
  position: relative;
}

.cta__phone { flex-shrink: 0; width: 220px; }
.cta-hand { width: 100%; filter: drop-shadow(0 15px 25px rgba(0,0,0,.25)); }

.cta__content { flex: 1 1 400px; text-align: center; }
.cta__content h2 { text-transform: uppercase; }
.cta__content p { margin: 16px 0 28px; font-weight: 700; text-transform: uppercase; font-size: 17px; }
.cta__content .subscribe-form { justify-content: center; }

/* ================= FOOTER ================= */
.footer {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 100px 0 40px;
}

.wave--footer { top: -1px; }

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.logo--footer img { width: clamp(160px, 30vw, 260px); filter: invert(1); }

.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer__copy { font-size: 12px; opacity: .7; margin-top: 10px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .value__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { flex-direction: column; }
  .hero__content { justify-content: center; text-align: center; }
  .hero__text { margin: 0 auto; }
  .subscribe-form { justify-content: center; }
}

@media (max-width: 600px) {
  .hero__nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .value__grid { grid-template-columns: 1fr; }
  .value-card { height: 320px; }
  .review-card { flex-basis: 85%; }
  .cta__box { justify-content: center; text-align: center; padding: 40px 24px; }
  .cta__phone { display: none; }
}

@media (max-width: 900px) and (min-width: 601px) {
  .review-card { flex-basis: calc((100% - 28px) / 2); }
}
