/* ==========================================================================
   LTK Solutions — Site Styles
   Brand palette: cream background, deep teal ink, teal primary, mint accent
   ========================================================================== */

:root {
  --cream: #f5f3ec;
  --cream-2: #fbfaf5;
  --white: #ffffff;
  --ink: #15393a;
  --ink-soft: #1f4a4b;
  --teal: #1e8f8c;
  --teal-dark: #146662;
  --mint: #7bc8a4;
  --mint-light: #e3f1ea;
  --muted: #5c6e6c;
  --line: #e2ddd0;
  --shadow: 0 10px 30px rgba(21, 57, 58, 0.08);
  --shadow-lg: 0 18px 50px rgba(21, 57, 58, 0.12);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Offset anchor scrolling so the sticky header doesn't cover section tops */
[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
a  { color: var(--teal-dark); }

.container {
  width: min(var(--max), 92%);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46em;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.nav-logo img { height: 40px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-links a:hover { color: var(--teal); }

.nav-links a.active {
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover { background: var(--teal-dark); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); box-shadow: var(--shadow); }

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 200, 164, 0.45), rgba(123, 200, 164, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 143, 140, 0.18), rgba(30, 143, 140, 0) 70%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---------- Sections ---------- */

.section { padding: 4.5rem 0; }

.section-alt { background: var(--cream-2); border-block: 1px solid var(--line); }

.section-head { max-width: 44em; margin-bottom: 2.5rem; }

/* ---------- Cards & grids ---------- */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.card h3 { color: var(--teal-dark); }

.card .tagline {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.card:hover { box-shadow: var(--shadow-lg); }

.card-link { text-decoration: none; color: inherit; display: block; }

/* numbered steps */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--teal-dark);
  font-weight: 700;
  border: 1px solid var(--mint);
  margin-bottom: 0.9rem;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
}

.stat .stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.stat .stat-label {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius);
  color: var(--white);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2, .cta-banner p { color: var(--white); }

.cta-banner p { opacity: 0.9; max-width: 42em; margin-inline: auto; }

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
}

.cta-banner .btn-primary:hover { background: var(--mint-light); }

/* ---------- Service detail blocks ---------- */

.service-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.service-block > h2 { color: var(--teal-dark); }

.service-meta {
  margin: 1.25rem 0;
  padding: 1.1rem 1.4rem;
  background: var(--mint-light);
  border-left: 4px solid var(--mint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.service-meta p { margin: 0 0 0.6rem; }
.service-meta p:last-child { margin-bottom: 0; }

.service-meta strong { color: var(--teal-dark); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.55rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 0.55rem;
  height: 0.95rem;
  border: solid var(--teal);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* ---------- About: pillars ---------- */

.pillar-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: var(--mint-light);
  border: 1px solid var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 1.25rem; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-2);
  font: inherit;
  color: var(--ink);
}

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

textarea { min-height: 140px; resize: vertical; }

.required { color: #b3412f; }

.form-status { margin-top: 1rem; font-weight: 600; }

.contact-side .card { margin-bottom: 1.25rem; }

.contact-side .card h3 { margin-bottom: 0.3rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand img { height: 44px; margin-bottom: 1rem; }

.footer-brand p {
  color: var(--muted);
  max-width: 30em;
  font-size: 0.95rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-contact li { margin-bottom: 0.35rem; }

.site-footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  margin-bottom: 0.9rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal-dark); }

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 4%;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }

  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: 0; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
  }

  .nav-links .btn { margin: 0.75rem 0; text-align: center; }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3.5rem; }
  .cta-banner { padding: 2.25rem 1.5rem; }
}
