/* =========================================
   CarpetOps — Professional Landing Page
   ========================================= */

:root {
  --green-deep: #1B4332;
  --green-mid: #2D6A4F;
  --green-light: #40916C;
  --cream: #F8F5F0;
  --cream-dark: #EDE8E0;
  --copper: #B5862A;
  --copper-light: #D4A63A;
  --ink: #1A1A1A;
  --ink-light: #4A4A4A;
  --white: #FFFFFF;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--cream-dark);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--ink-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- HERO ---- */
.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.hero-text {
  padding: 5rem 3rem 5rem max(2rem, 6vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 420px;
  font-weight: 300;
}
.hero-right {
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.hero-block {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.04) 48px,
      rgba(255,255,255,0.04) 49px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.04) 48px,
      rgba(255,255,255,0.04) 49px
    );
}
.hero-block::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border: 2px solid rgba(181, 134, 42, 0.4);
  border-radius: 50%;
}

/* ---- PROOF ---- */
.proof {
  background: var(--green-deep);
  padding: 3rem 2rem;
}
.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.proof-stat {
  flex: 1;
  padding: 0 2.5rem;
}
.proof-stat:first-child { padding-left: 0; }
.proof-stat:last-child { padding-right: 0; }
.proof-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.proof-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  font-weight: 300;
}
.proof-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ---- SECTION HEADER ---- */
.section-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.section-sub {
  margin-top: 0.75rem;
  color: var(--ink-light);
  font-size: 1rem;
  font-weight: 300;
}

/* ---- PROCESS ---- */
.process {
  padding: 6rem 2rem;
  background: var(--cream);
}
.process-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.process-step {}
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 400;
}
.step-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.step-body {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.7;
  font-weight: 300;
}

/* ---- PRICING ---- */
.pricing {
  padding: 6rem 2rem;
  background: var(--cream-dark);
}
.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: var(--white);
  border: 1px solid rgba(26, 26, 26, 0.08);
  padding: 2rem;
  border-radius: 2px;
  position: relative;
}
.pricing-card--featured {
  border: 2px solid var(--green-deep);
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.1);
}
.pricing-tier {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 1rem;
  font-weight: 500;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.pricing-unit {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-light);
  font-weight: 300;
}
.pricing-features {
  list-style: none;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--ink-light);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-weight: 300;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 2px 2px;
}

/* ---- GUARANTEE ---- */
.guarantee {
  padding: 5rem 2rem;
  background: var(--green-deep);
}
.guarantee-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}
.guarantee-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(181, 134, 42, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guarantee-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.guarantee-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  font-weight: 300;
}

/* ---- CLOSING ---- */
.closing {
  padding: 7rem 2rem;
  text-align: center;
  background: var(--cream);
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  color: var(--ink);
  line-height: 1.2;
  max-width: 620px;
  margin: 0 auto 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--ink-light);
  font-weight: 300;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--ink);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  display: block;
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  font-weight: 300;
  max-width: 300px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-col-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
  cursor: pointer;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right {
    height: 280px;
  }
  .hero-text {
    padding: 3.5rem 2rem 3rem;
  }
  .proof-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .proof-divider {
    width: 40px;
    height: 1px;
  }
  .proof-stat {
    padding: 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .guarantee-inner {
    flex-direction: column;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .nav-tagline { display: none; }
  .section-header { padding: 0 1.25rem; }
  .process { padding: 4rem 1.25rem; }
  .pricing { padding: 4rem 1.25rem; }
  .closing { padding: 5rem 1.25rem; }
}