/* SoTech Solutions — static site
   Brand: primary #48C0EE, secondary #75D69C, accent #E2A062, text #242424.
   #48C0EE and #E2A062 fail AA contrast as text on white, so text and links
   use the darker derived tints below. The bright values stay as fills. */

:root {
  --blue: #48c0ee;
  --blue-dark: #0f6e9c;   /* AA-passing text/link blue on white */
  --green: #75d69c;
  --green-dark: #1d7a4b;  /* AA-passing green text on white */
  --orange: #e2a062;
  --orange-dark: #95571c; /* AA-passing orange text on white */
  --ink: #242424;
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --panel: #f2f8fb;
  --line: #d7e5ee;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(15, 110, 156, 0.12);
  --maxw: 1080px;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Lato", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: 2.1rem; font-weight: 700; }
h2 { font-size: 1.6rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--blue-dark); }
a:hover { color: var(--orange-dark); }

:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand img { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--blue-dark);
  border-radius: var(--radius);
  color: var(--blue-dark);
  font: 600 1rem var(--font-head);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.site-nav a:hover { background: var(--panel); color: var(--blue-dark); }
.site-nav a[aria-current="page"] {
  color: var(--blue-dark);
  font-weight: 600;
  border-bottom: 3px solid var(--blue);
}

.nav-group { position: relative; }
.nav-group > button {
  background: none;
  border: 0;
  font: 400 0.95rem var(--font-head);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-group > button:hover { background: var(--panel); color: var(--blue-dark); }
.nav-group > button[aria-expanded="true"] { background: var(--panel); color: var(--blue-dark); }
.nav-group ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-direction: column;
  padding: 0.4rem;
  z-index: 60;
}
.nav-group.open ul { display: flex; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .nav-group ul { position: static; border: 0; box-shadow: none; margin-left: 1rem; }
  .header-inner { flex-wrap: wrap; }
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, #eaf6fd 0%, #f4fbf7 100%);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0;
}
.hero h1 { color: var(--blue-dark); }
.hero .tagline { font-size: 1.25rem; color: var(--ink-soft); max-width: 46ch; }

.page-hero {
  background: linear-gradient(135deg, #eaf6fd 0%, #f4fbf7 100%);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0;
}
.page-hero h1 { margin-bottom: 0.25rem; }
.breadcrumb { font-size: 0.9rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--blue-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #123;
  font: 600 1rem var(--font-head);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
}
.btn-secondary:hover { background: var(--blue-dark); color: #fff; }

/* ---------- sections & cards ---------- */
section { padding: 2.75rem 0; }
.section-alt { background: var(--panel); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img { width: 100%; height: auto; }
.card .card-body { padding: 1.1rem 1.25rem 1.4rem; flex: 1; }
.card h3 { margin-bottom: 0.35rem; }
.card h3 a { color: var(--blue-dark); text-decoration: none; }
.card h3 a:hover { color: var(--orange-dark); text-decoration: underline; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature h3 { color: var(--green-dark); }

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.pillars { counter-reset: pillar; }
.price {
  font: 700 1.4rem var(--font-head);
  color: var(--orange-dark);
}

/* ---------- lists ---------- */
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding-left: 1.7rem; position: relative; margin-bottom: 0.5rem; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

/* ---------- big numbers (3-2-1) ---------- */
.numbers { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.number-card {
  flex: 1 1 220px;
  background: #fff;
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
}
.number-card .big {
  font: 800 3rem var(--font-head);
  color: var(--blue-dark);
  line-height: 1;
}

/* ---------- partners ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.partner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.partner img { align-self: flex-start; }
.partner p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- forms ---------- */
form .field { margin-bottom: 1.2rem; }
label { display: block; font-weight: 700; margin-bottom: 0.3rem; font-family: var(--font-head); font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue-dark); }
.honey { position: absolute; left: -9999px; }
.checkbox-row { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.5rem; }
.checkbox-row input { width: auto; margin-top: 0.3rem; }
.checkbox-row label { margin: 0; font-weight: 400; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.contact-card h3 { margin-bottom: 0.4rem; }

/* ---------- footer ---------- */
.site-footer {
  background: #123a4e;
  color: #dbeaf2;
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
}
.site-footer a { color: #9fd8f3; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-base {
  border-top: 1px solid #2b5a71;
  padding-top: 1.2rem;
  font-size: 0.9rem;
  color: #a8c7d6;
}

/* ---------- legal ---------- */
.legal { max-width: 76ch; }
.legal h2 { margin-top: 2rem; }
