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

:root {
  --bg: #fbf9f7;
  --bg-soft: #f6f2ee;
  --white: #ffffff;
  --text-dark: #1f2430;
  --text-body: #5f6673;
  --border: #ece8e4;
  --coral: #e77c6b;
  --coral-dark: #da6f5e;
  --coral-soft: #fdf1ee;
  --shadow-soft: 0 12px 35px rgba(31, 36, 48, 0.06);
  --shadow-card: 0 8px 24px rgba(31, 36, 48, 0.04);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.section-header {
  margin-bottom: 44px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  max-width: 760px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 720px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered h2,
.section-header.centered p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.split-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: end;
}

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 249, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(236, 232, 228, 0.8);
}

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

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  white-space: nowrap;
}

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

.main-nav a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--text-dark);
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(231, 124, 107, 0.18);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: #d9d2cd;
  transform: translateY(-1px);
}

/* =========================
   Hero
========================= */
.hero-section {
  padding: 70px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
  max-width: 680px;
}

.hero-text {
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-visual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.hero-visual-card img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

/* =========================
   Split Content
========================= */
.content-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.content-split.reverse-mobile {
  grid-template-columns: 1.05fr 0.95fr;
}

.content-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 24px;
  height: 100%;
}

.content-visual img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* =========================
   Cards
========================= */
.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.compact {
  align-content: start;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.service-card,
.step-card,
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.info-card {
  padding: 24px;
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.info-card p {
  color: var(--text-body);
  font-size: 0.98rem;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--coral-soft);
  color: var(--coral);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* =========================
   How It Works
========================= */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.how-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 280px;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(31, 36, 48, 0.08);
}

.how-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.how-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--coral-soft);
  color: var(--coral);
  font-weight: 700;
  font-size: 0.92rem;
}

.how-card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.how-card p {
  color: var(--text-body);
  font-size: 0.98rem;
}

.how-hover-panel {
  position: absolute;
  inset: 0;
  background: #1f2430;
  color: #ffffff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

.how-hover-panel strong {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.how-hover-panel p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.how-card:hover .how-hover-panel {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Services
========================= */
.service-card {
  padding: 28px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.98rem;
}

/* =========================
   Steps
========================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  padding: 30px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--coral-soft);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--text-body);
}

/* =========================
   Pricing
========================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pricing-card {
  padding: 30px;
  position: relative;
}

.pricing-card.featured {
  border-color: #f2c1b8;
  box-shadow: 0 14px 36px rgba(231, 124, 107, 0.12);
}

.pricing-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.pricing-card h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.price {
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 14px;
}

.pricing-card p {
  color: var(--text-body);
}

/* =========================
   Contact / Jotform
========================= */
.section-contact {
  padding-top: 20px;
  padding-bottom: 100px;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 42px;
}

.contact-header {
  margin-bottom: 28px;
}

.jotform-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 0 0;
  overflow: hidden;
}

/* =========================
   Footer
========================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 44px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: flex-start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-branding p {
  color: var(--text-body);
  max-width: 420px;
  font-size: 0.96rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-body);
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-dark);
}

/* =========================
   Responsive
========================= */
@media (max-width: 1180px) {
  .hero-grid,
  .split-header,
  .content-split,
  .content-split.reverse-mobile {
    grid-template-columns: 1fr;
  }

  .four-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .three-col,
  .steps-grid,
  .pricing-grid,
  .how-it-works-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    min-height: 76px;
  }

  .section {
    padding: 78px 0;
  }

  .hero-section {
    padding: 56px 0 42px;
  }

  .three-col,
  .four-col,
  .steps-grid,
  .pricing-grid,
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 26px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .trust-pills {
    gap: 10px;
  }

  .trust-pills span {
    width: 100%;
    justify-content: center;
  }

  .hero-visual-card,
  .content-visual {
    padding: 16px;
  }

  .info-card,
  .service-card,
  .step-card,
  .pricing-card,
  .how-card {
    padding: 22px;
  }

  .contact-box {
    padding: 20px;
  }
}