/* CTA section (scoped) — Figma node 84:3001 */

.cta-section {
  --cta-bg: #f5f5f5;
  --cta-card-width: 764px;
  --cta-card-height: 311px;
  --cta-card-radius: 20px;
  --cta-card-orange: #ff6c3b;
  --cta-gutter: 45px;
  --cta-pill-width: 383px;
  --cta-email-link: #691d05;
  --cta-btn-text: #ff6738;

  box-sizing: border-box;
  background-color: var(--cta-bg);
  font-family: "Creato Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cta-section *,
.cta-section *::before,
.cta-section *::after {
  box-sizing: border-box;
}

.cta-section__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px var(--cta-gutter);
  display: flex;
  justify-content: center;
}

/* Card — Figma: 764×311, 20px radius, orange + texture + inset glow */
.cta-section__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--cta-card-width);
  min-height: var(--cta-card-height);
  padding: 37px 50px 32px;
  border-radius: var(--cta-card-radius);
  overflow: hidden;
  text-align: center;
}

.cta-section__card-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--cta-card-radius);
  background-color: var(--cta-card-orange);
  box-shadow:
    inset 0 -8px 18px -5.38px #ffffff,
    inset 0 0 79px 3.623px #ff4122,
    inset 0 2px 40px 0px #fd4426;
  pointer-events: none;
  z-index: 0;
}

.cta-section__card-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--cta-card-radius);
  pointer-events: none;
  z-index: 1;
}

.cta-section__headline,
.cta-section__pill,
.cta-section__email {
  position: relative;
  z-index: 2;
}

/* Headline — Figma: 42px Medium, white, line-height 1.1, tracking -0.42px */
.cta-section__headline {
  margin: 0;
  max-width: 492px;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.42px;
  color: #ffffff;
}

/* Glass pill — Figma: 383×60, blur 42px, rgba(0,0,0,0.05) */
.cta-section__pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: var(--cta-pill-width);
  height: 60px;
  margin-top: 30px;
  padding: 10px 10px 10px 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(42px);
  backdrop-filter: blur(42px);
}

.cta-section__pill-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: #ffffff;
}

.cta-section__pill-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.14px;
  color: #ffffff;
  text-align: left;
}

/* Book a call button — Figma: 123×40, white, 3px border, inner glow */
.cta-section__pill-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  height: 40px;
  min-width: 123px;
  padding: 0 16px 0 12px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--cta-btn-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.42px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.cta-section__pill-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -31px;
  width: 142px;
  height: 42px;
  margin-left: -71px;
  border-radius: 30px;
  background-color: #ffdfcd;
  filter: blur(9.5px);
  pointer-events: none;
  z-index: -1;
}

.cta-section__pill-btn-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Email row — Figma: 14px white + arrow + #691d05 underline */
.cta-section__email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 30px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.14px;
  color: #ffffff;
}

.cta-section__email-label {
  white-space: nowrap;
}

.cta-section__email-arrow {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transform: rotate(135deg);
}

.cta-section__email-link {
  color: var(--cta-email-link);
  text-decoration: underline;
  text-underline-position: from-font;
  white-space: nowrap;
}

.cta-section__email-link:hover {
  color: var(--cta-email-link);
}

@media (max-width: 1023px) {
  .cta-section {
    --cta-gutter: clamp(20px, 4.5vw, 40px);
  }

  .cta-section__headline {
    font-size: clamp(28px, 4vw, 36px);
    letter-spacing: -0.02em;
  }

  .cta-section__pill {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    justify-content: center;
    padding: 12px;
  }

  .cta-section__pill-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .cta-section__pill-btn {
    margin: 0 auto;
  }
}

@media (max-width: 639px) {
  .cta-section__inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cta-section__card {
    padding: 28px 20px 24px;
    min-height: 0;
  }

  .cta-section__headline {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .cta-section__pill {
    margin-top: 24px;
  }

  .cta-section__email {
    margin-top: 24px;
    flex-direction: column;
  }
}
