/* ============================================================
   Glowee — landing page styles
   Built from the "Desktop - Clean" Pencil frame (1440 px wide).
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #fffffb;
  --green: #9AD16E;
  --ink: #161515;
  --ink-2: #272626;
  --gray: #555151;
  --black: #000000;
  /* --pink: #fce4e4; */
  --pink: #fffffb;
  --pink-icon: #ffe5e5;
  --lime: #b5e78d;
  --beige: #e5e2db;
  --gray-icon: #eeeaea;
  --border: #dfdfdf;
  --border-faint: #f2f2f2;
  --white: #ffffff;

  --footer-green: #9ad16e;
  --footer-wave: #3f9153;
  --footer-card: #090909;

  --font-display: "Parkinsans", system-ui, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --font-inter: "Inter", system-ui, sans-serif;

  --maxw: 1440px;
  --section-x: clamp(20px, 5vw, 56px);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { height: auto; }

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 { font-weight: 500; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--section-x);
}

/* ---------- Shared typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.4;
}

.eyebrow--lg { font-size: clamp(18px, 2vw, 24px); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  border-radius: 12px;
  padding: 14px 28px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.btn--dark { background: var(--black); }
.btn--ink { background: var(--ink); padding: 18px 36px; }
.btn--lg { padding: 20px 40px; font-size: 18px; }
.btn--md { padding: 18px 40px; }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* ============================================================
   1. Promo bar
   ============================================================ */
.promo { background: var(--green); }

.promo__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 8px;
  padding-block: 16px;
}

.promo__text,
.promo__link {
  font-size: 14px;
  gap: 8px;
  letter-spacing: -0.16px;
  color: var(--white);
}

.promo__link { font-weight: 600; }
.promo__link:hover { text-decoration: underline; }

/* ============================================================
   2. Header
   ============================================================ */
.header {
  position: relative;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.06em;
  color: var(--ink);
}

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

.nav a {
  font-size: 16px;
  color: var(--gray);
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--ink); }

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   3. Hero
   ============================================================ */
.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 20px;
}

.hero__left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero__desc {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero__image {
  position: relative;
  flex: 0 0 600px;
  max-width: 600px;
}

.hero__image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 24px;
}

/* Folded-corner notch in the bottom-left of the hero image.
   Overhangs the edges by 2px so the rounded corner is fully covered. */
.hero__image::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: -2px;
  width: 116px;
  height: 116px;
  background: var(--bg);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

/* ============================================================
   4. Chi siamo
   ============================================================ */
.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-block: 80px;
  text-align: center;
}

.about__heading {
  max-width: 854px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============================================================
   5. Benefits strip
   ============================================================ */
.benefits__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px var(--section-x) 80px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 20px;
}

.benefit__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit__icon svg { width: 22px; height: 22px; }

.benefit__icon--outline {
  background: var(--white);
  border: 1px solid var(--beige);
  color: var(--ink);
}

.benefit__icon--green {
  background: var(--green);
  color: var(--white);
}

.benefit__text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin-bottom: 4px;
}

.benefit__text p {
  font-size: 15px;
  color: var(--gray);
}

/* ============================================================
   6. Steps section
   ============================================================ */
.steps__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-block: 80px;
}

.steps__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps__grid {
  display: flex;
  gap: 24px;
}

.step-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card__image {
  border-radius: 24px;
  overflow: hidden;
}

.step-card__image img {
  width: 100%;
  height: 492px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.step-card:hover .step-card__image img { transform: scale(1.04); }

.step-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -0.48px;
  line-height: 1.25;
  color: var(--black);
}

.step-card__desc {
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -0.48px;
  line-height: 1.3;
  color: var(--ink);
}

.steps__cta {
  display: flex;
  justify-content: center;
}

/* ============================================================
   7. Stats / Testimonials
   ============================================================ */
.testimonials {
  position: relative;
  background: var(--green);
  overflow: clip;
}

.testimonials__wave {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 101%;
  pointer-events: none;
}

.testimonials__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding-block: 96px 80px;
}

.testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.testimonials__header .eyebrow,
.testimonials__header .section-title { color: var(--black); }

.testimonials__grid {
  display: flex;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials__grid::-webkit-scrollbar { display: none; }

.testimonial {
  flex: 1 0 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 320px;
  padding: 32px;
  background: var(--white);
  border-radius: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.testimonial__quote {
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 1.3;
  color: var(--ink);
}

.testimonial__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.testimonial__person {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.testimonial__name {
  font-size: 18px;
  letter-spacing: -0.36px;
  color: var(--ink);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--ink);
}

.stars svg { width: 18px; height: 18px; }

.testimonial__avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trustpilot {
  background: var(--white);
  border-radius: 60px;
  padding: 14px 24px;
  font-size: 14px;
  color: var(--ink);
}

.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.arrow-btn svg { width: 18px; height: 18px; }

.arrow-btn:hover {
  background: #f0f0ee;
  transform: scale(1.06);
}

.arrow-btn:active { transform: scale(0.96); }

/* ============================================================
   8. Pink CTA
   ============================================================ */
.pink-cta { background: var(--pink); }

.pink-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding-block: 64px;
}

.pink-cta__left {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pink-cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 32px;
  color: var(--ink);
}

.pink-cta__desc {
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray);
}

/* ============================================================
   9. Come operiamo
   ============================================================ */
.how__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-block: 80px;
}

.how__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.how__body {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: 100%;
}

.how__image {
  flex: 0 0 540px;
  border-radius: 24px;
  overflow: hidden;
}

.how__image img {
  width: 100%;
  height: 618px;
  object-fit: cover;
}

.how__grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 1px;
  border-radius: 24px;
  overflow: hidden;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--white);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--green);
}

.feature__icon svg { width: 24px; height: 24px; }

/* The --gray / --pink / --lime classes are kept in the markup but
   no longer change the icon — every feature icon is white with a
   green outline. */

.feature__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.48px;
  line-height: 1.3;
  color: var(--ink);
}

.feature__desc {
  font-size: 16px;
  line-height: 1.4;
  color: var(--gray);
}

/* ============================================================
   10. FAQ
   ============================================================ */
.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-block: 80px;
}

.faq__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.faq__header .eyebrow { color: var(--ink); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 880px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-faint);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item:hover { border-color: #e4e4e4; }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: -0.3px;
  line-height: 1.4;
  color: var(--ink);
}

.faq-item__icon {
  flex: 0 0 24px;
  display: flex;
  color: var(--ink);
  transition: transform 0.25s ease;
}

.faq-item__icon svg { width: 24px; height: 24px; }

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__a p {
  padding: 0 30px 30px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray);
}

/* ============================================================
   11. Footer
   ============================================================ */
.footer {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--footer-green);
  border-radius: 48px 48px 0 0;
  color: var(--white);
  padding-top: 32px;
}

/* Decorative wave + scissors, clipped to the rounded section */
.footer__deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.footer__wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer__scissors {
  position: absolute;
  top: clamp(28px, 5vw, 90px);
  left: clamp(-24px, -1vw, -8px);
  width: clamp(96px, 11vw, 160px);
  height: auto;
}

.footer__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-block: clamp(28px, 3.5vw, 44px);
}

.footer__cta-title {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--white);
}

.footer__cta-btn {
  min-width: 200px;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 26px;
}

.footer__card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(4px, 1vw, 12px);
  padding: clamp(24px, 2.8vw, 40px);
  background: var(--footer-card);
  border-radius: clamp(20px, 2.2vw, 32px);
}

.footer__card-main {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
}

.footer__brand {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.footer__tag {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.02em;
  opacity: 0.85;
}

.footer__socials {
  display: flex;
  gap: 16px;
  margin-top: clamp(12px, 1.6vw, 20px);
}

.footer__socials a {
  color: var(--white);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.footer__socials a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.footer__socials svg { width: 22px; height: 22px; }

.footer__divider {
  flex: 0 0 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.18);
}

.footer__links {
  flex: 1.1;
  display: flex;
  gap: clamp(24px, 4vw, 56px);
}

.footer__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
}

.footer__col a {
  font-size: 15px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.footer__col a:hover { opacity: 1; }

.footer__copy {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.7;
}

/* ============================================================
   Responsive — tablet (<= 1024 px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding-block: 56px;
  }

  .hero__image {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .hero__image img { height: clamp(320px, 48vw, 480px); }
  .hero__desc { max-width: none; }

  .steps__inner { gap: 48px; }
  .steps__grid { flex-wrap: wrap; }
  .step-card { flex: 1 1 300px; }
  .step-card__image img { height: clamp(300px, 38vw, 460px); }

  /* Testimonials become a horizontal, swipeable track.
     Break the track out of the container padding so cards slide
     flush to the page edges. The explicit width is needed because
     .testimonials__inner uses align-items: center, which would
     otherwise just re-center the negative margins. */
  .testimonials__grid {
    width: calc(100% + 2 * var(--section-x));
    margin-inline: calc(-1 * var(--section-x));
  }

  .testimonial { flex: 0 0 min(420px, 78%); }

  .how__body { flex-direction: column; }
  .how__image { flex: none; width: 100%; }
  .how__image img { height: clamp(340px, 52vw, 560px); }

  .footer__card-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer__divider { display: none; }
}

/* ============================================================
   Responsive — mobile nav (<= 1024 px)
   The five Italian nav items are wide, so collapse to a
   hamburger together with the tablet layout breakpoint.
   ============================================================ */
@media (max-width: 1024px) {
  .header__inner {
    gap: 12px;
    min-height: 72px;
  }

  .logo { margin-right: auto; }

  .hamburger { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--section-x) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 15px 2px;
    font-size: 17px;
    border-bottom: 1px solid var(--border-faint);
  }

  .nav a:last-child { border-bottom: none; }
}

/* ============================================================
   Booking / Contact modal
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  animation: modal-fade 0.18s ease;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  animation: modal-pop 0.2s ease;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--ink);
  background: var(--border-faint);
  transition: background-color 0.18s ease;
}

.modal__close:hover { background: var(--beige); }
.modal__close svg { width: 20px; height: 20px; }
.modal__close:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding-right: 44px;
}

.modal__intro {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--gray);
}

.modal__form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.field__label {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.field__opt {
  color: var(--gray);
  font-weight: 400;
}

.field__input {
  font-family: var(--font-inter);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field__input::placeholder { color: #9a9696; }

.field__input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 150, 64, 0.15);
}

.field__input--area {
  resize: vertical;
  min-height: 84px;
}

.field--invalid .field__input { border-color: #c0392b; }
.field--invalid .field__input:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.field__error {
  font-family: var(--font-inter);
  font-size: 13px;
  color: #c0392b;
}

.field__error[hidden] { display: none; }

.modal__submit {
  width: 100%;
  margin-top: 4px;
}

.modal__hint {
  font-family: var(--font-inter);
  font-size: 13px;
  color: var(--gray);
  text-align: center;
}

body.modal-open { overflow: hidden; }

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   Responsive — small screens (<= 640 px)
   ============================================================ */
@media (max-width: 640px) {
  .header__cta {
    padding: 11px 20px;
    font-size: 14px;
  }

  .modal { padding: 0; align-items: stretch; }

  .modal__panel {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }

  .benefits__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 8px var(--section-x) 64px;
    width: max-content;
    max-width: 100%;
    padding-bottom: 16px;
  }

  .benefit { width: 100%; }

  .steps__inner { padding-block: 56px; }
  .steps__grid { flex-direction: column; }
  .step-card { flex: none; }
  .step-card__image img { height: clamp(260px, 64vw, 360px); }

  .about__inner,
  .how__inner,
  .faq__inner { padding-block: 56px; }

  .testimonials__inner { padding-block: 64px 56px; gap: 40px; }
  .testimonial { flex-basis: 86%; padding: 24px; }
  .testimonial__quote { font-size: 18px; }

  .pink-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 48px;
  }

  .pink-cta .btn { width: 100%; }

  .how__grid { grid-template-columns: 1fr; }
  .how__image img { height: clamp(280px, 70vw, 420px); }
  .feature { padding: 28px 24px; }

  .faq-item__q {
    padding: 22px;
    font-size: 16px;
  }

  .faq-item__a p { padding: 0 22px 24px; }

  .footer { border-radius: 36px 36px 0 0; }

  .footer__scissors { display: none; }

  .footer__socials { margin-top: 24px; }

  .footer__links {
    flex-direction: column;
    gap: 32px;
  }
}

/* ============================================================
   Accessibility — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
