/* LineDelta — marketing site styles
   Palette: deep navy primary, teal accent, warm neutrals. No external fonts/assets. */

:root {
  --navy: #16324f;
  --navy-dark: #0e2338;
  --teal: #0e7c86;
  --teal-dark: #0a5d65;
  --ink: #24313f;
  --ink-soft: #55677a;
  --bg: #ffffff;
  --bg-alt: #f2f6f9;
  --line: #dbe4ec;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(22, 50, 79, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }

.section { padding: 4.5rem 0; scroll-margin-top: 36px; } /* anchor jumps tuck part of the section's top padding under the 64px sticky header, so the heading lands ~24px below it */
.section-alt { background: var(--bg-alt); }
.section-sub {
  color: var(--ink-soft);
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span { color: var(--teal); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, #123a45 100%);
  color: #fff;
  padding: 5.5rem 0 5rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.hero-sub {
  max-width: 40rem;
  font-size: 1.1rem;
  color: #d4e0ea;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.25rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  list-style: none;
  color: #a9c3d6;
  font-size: 0.95rem;
}
.hero-points li::before { content: "✓ "; color: #4fd1c5; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-lg { padding: 0.9rem 1.7rem; font-size: 1.05rem; }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }

.btn-ghost { border: 1.5px solid currentColor; color: inherit; }
.hero .btn-ghost { color: #d4e0ea; }
.hero .btn-ghost:hover { color: #fff; }
.contact .btn-ghost { color: var(--navy); }
.contact .btn-ghost:hover { color: var(--teal); }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 1.7rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.industry {
  background: var(--bg);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.industry p { color: var(--ink-soft); font-size: 0.95rem; }
.industry-wide { grid-column: 1 / -1; }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem 3rem;
  margin-top: 2rem;
}
.why-item p { color: var(--ink-soft); }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  list-style: none;
  margin-top: 2.5rem;
  counter-reset: step;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.steps p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing-heading {
  font-size: 1.25rem;
  margin: 2.75rem 0 1.25rem;
  color: var(--navy);
}
.pricing-heading:first-of-type { margin-top: 0; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.plan {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.plan-featured {
  border: 2px solid var(--teal);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.5rem; }

.plan-price {
  color: var(--teal-dark);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.plan-price span { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }

.plan ul { list-style: none; }
.plan li {
  color: var(--ink-soft);
  font-size: 0.93rem;
  padding: 0.3rem 0 0.3rem 1.3rem;
  position: relative;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.table-wrap { overflow-x: auto; }

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-table td {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
  vertical-align: top;
}
.pricing-table tr:first-child td { border-top: none; }
.pricing-table td strong { color: var(--ink); }
.pricing-table .price {
  white-space: nowrap;
  text-align: right;
  font-weight: 700;
  color: var(--teal-dark);
}

.pricing-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink);
}

.pricing-fineprint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .section-sub { margin-left: auto; margin-right: auto; }

.contact-form {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.form-services {
  border: none;
  margin: 1.25rem 0;
}
.form-services legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  color: var(--ink);
  font-size: 0.93rem;
  cursor: pointer;
}
.checkbox-grid input { accent-color: var(--teal); }

.form-message { margin-bottom: 1.25rem; }
.form-message .optional { font-weight: 400; color: var(--ink-soft); }

.contact-form .btn { border: none; cursor: pointer; width: 100%; }

.form-note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.contact-or {
  display: block;
  width: 100%;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 560px) {
  .form-row, .checkbox-grid { grid-template-columns: 1fr; }

  /* Stack pricing rows: description full-width, price below */
  .pricing-table tr {
    display: block;
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--line);
  }
  .pricing-table tr:first-child { border-top: none; }
  .pricing-table td {
    display: block;
    padding: 0;
    border-top: none;
  }
  .pricing-table .price {
    text-align: left;
    margin-top: 0.4rem;
  }
}

.contact-note { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #a9c3d6;
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}
.brand-footer { color: #fff; display: inline-block; margin-bottom: 0.5rem; }
.brand-footer span { color: #4fd1c5; }
.copyright { margin-top: 0.75rem; color: #6d8aa0; }

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--line);
  }
  .nav-cta { border-radius: 0; text-align: center; }

  .section { padding: 3.25rem 0; }
  .hero { padding: 3.5rem 0; }
  .hero h1 br { display: none; }
}
