/* ========================================
   ESTIMAATE — Global Stylesheet
   Brand: Navy #0F1923 | Teal #00B4A6
          Steel #2E4057 | LGrey #F5F7FA
   ======================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #FFFFFF;
  color: #0F1923;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- CSS Variables ---- */
:root {
  --navy:   #0F1923;
  --teal: #00B4A6;
  --steel:  #2E4057;
  --lgrey:  #F5F7FA;
  --mgrey:  #8A9BAE;
  --white:  #FFFFFF;
  --radius: 10px;
  --max:    1180px;
  --gap:    clamp(1.5rem, 4vw, 3rem);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mgrey); font-weight: 600; }
p  { font-size: 1.05rem; color: var(--steel); line-height: 1.75; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--steel); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2.5rem); }
.section    { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--grey { background: var(--lgrey); }
.section--navy { background: var(--navy); }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo svg { height: 32px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem); }
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav__links a:hover { color: #FFFFFF; }
.nav__cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.15s;
}
.nav__cta:hover { background: #009e91 !important; transform: translateY(-1px); }
.nav__mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__mobile-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover { background: #009e91; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,180,166,0.3); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--steel); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 68px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(0,180,166,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(46,64,87,0.4) 0%, transparent 60%),
    linear-gradient(135deg, #0F1923 0%, #1a2d42 100%);
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,166,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,166,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,180,166,0.12);
  border: 1px solid rgba(0,180,166,0.25);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--teal); }
.hero .lead { color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; max-width: 540px; }

/* ---- Stat strip ---- */
.stat-strip {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stat-strip__inner { display: flex; gap: clamp(2rem, 5vw, 5rem); flex-wrap: wrap; justify-content: center; }
.stat-item { text-align: center; }
.stat-item__number { font-size: 2.2rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat-item__label  { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }

/* ---- Problem / Pain Section ---- */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.pain-card {
  background: var(--white);
  border: 1.5px solid #E8ECF0;
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pain-card:hover { border-color: var(--teal); box-shadow: 0 4px 20px rgba(0,180,166,0.08); }
.pain-card__icon {
  width: 44px; height: 44px;
  background: rgba(0,180,166,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.pain-card h3 { margin-bottom: 0.5rem; color: var(--navy); }
.pain-card p  { font-size: 0.95rem; }

/* ---- How It Works (steps) ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; }
.step__number {
  width: 52px; height: 52px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step__connector {
  display: none;
}
.step h3 { color: var(--navy); margin-bottom: 0.5rem; }
.step p   { font-size: 0.95rem; }

/* ---- Section Header ---- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 1rem; }
.section-header h4 { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { }

/* ---- Proof / Callout ---- */
.callout {
  background: var(--navy);
  border-radius: 16px;
  padding: clamp(2.5rem, 5vw, 4rem);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.callout__bg {
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,180,166,0.15), transparent 70%);
  border-radius: 50%;
}
.callout__inner { position: relative; z-index: 1; max-width: 600px; }
.callout h3 { color: var(--white); font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 1rem; }
.callout p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.callout .tag {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  background: rgba(0,180,166,0.15);
  border: 1px solid rgba(0,180,166,0.3);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

/* ---- Pricing Card ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.pricing-card {
  border: 1.5px solid #E8ECF0;
  border-radius: 14px;
  padding: 2.5rem;
  background: var(--white);
}
.pricing-card--featured {
  border-color: var(--teal);
  background: var(--navy);
  position: relative;
}
.pricing-card--featured::before {
  content: 'FOUNDING PARTNER';
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card__price { font-size: 3rem; font-weight: 700; line-height: 1; margin: 1rem 0 0.25rem; color: var(--navy); }
.pricing-card--featured .pricing-card__price { color: var(--white); }
.pricing-card__period { font-size: 0.9rem; color: var(--mgrey); margin-bottom: 1.5rem; }
.pricing-card--featured .pricing-card__period { color: rgba(255,255,255,0.5); }
.pricing-card h3 { color: var(--navy); }
.pricing-card--featured h3 { color: var(--white); }
.pricing-card__features { list-style: none; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.pricing-card__features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--steel); }
.pricing-card--featured .pricing-card__features li { color: rgba(255,255,255,0.75); }
.pricing-card__features li::before { content: ''; width: 16px; height: 16px; background: var(--teal); border-radius: 50%; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; }

/* ---- Team / About ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder {
  color: rgba(255,255,255,0.2);
  font-size: 0.85rem;
  text-align: center;
  font-style: italic;
  padding: 2rem;
}
.about-content h4 { margin-bottom: 0.75rem; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p  { margin-bottom: 1.25rem; }

/* ---- Contact Form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); }
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p  { margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; font-size: 0.95rem; }
.contact-detail__icon { width: 36px; height: 36px; background: rgba(0,180,166,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; font-size: 1rem; }
.form {
  background: var(--lgrey);
  border-radius: 14px;
  padding: clamp(2rem, 4vw, 3rem);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E0E5EA;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); margin-bottom: 3rem; }
.footer__brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; line-height: 1.65; }
.footer__col h5 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.footer__col a  { display: block; color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 0.6rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer__bottom a { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer__bottom a:hover { color: var(--white); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  padding-top: calc(68px + clamp(3rem, 6vw, 5rem));
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(0,180,166,0.07), transparent 60%);
}
.page-hero__content { position: relative; z-index: 1; max-width: 680px; }
.page-hero h4 { margin-bottom: 0.75rem; color: var(--teal); font-size: 0.75rem; letter-spacing: 0.12em; }
.page-hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.page-hero .lead { color: rgba(255,255,255,0.65); }

/* ---- Scrap categories ---- */
.categories { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.category-tag {
  background: rgba(0,180,166,0.08);
  border: 1px solid rgba(0,180,166,0.2);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

/* ---- Utility ---- */
.teal { color: var(--teal); }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }
.mb-1  { margin-bottom: 1rem; }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.divider { height: 1px; background: #E8ECF0; margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__mobile-toggle { display: block; }
  .footer__top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-strip__inner { gap: 1.5rem; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .hero { min-height: auto; padding-bottom: 4rem; }
}

/* ---- Mobile nav (toggled) ---- */
.nav--open .nav__links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  padding: 2rem;
  gap: 1.5rem;
  align-items: flex-start;
  font-size: 1.2rem;
}
