/* Sgroupmedia — static site styles
   Brand: black + teal (#20b2aa). System font stack (no external font calls, GDPR-friendly). */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7f7;
  --ink: #14181a;
  --ink-soft: #4a5459;
  --black: #000000;
  --teal: #17998f;          /* accessible teal (AA on white) */
  --teal-bright: #20b2aa;   /* original brand accent */
  --teal-dark: #0f6f68;
  --line: #e4e8e8;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

a { color: var(--teal-dark); }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; transition: .18s ease;
  cursor: pointer; font-size: 1rem;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--black); color: #fff;
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 4.75rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a {
  color: #d6dcdc; text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--teal-bright); }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3); color: #fff;
  text-decoration: none; transition: .18s ease; flex: 0 0 auto;
}
.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: var(--teal-bright); color: var(--teal-bright);
  background: rgba(32, 178, 170, .15);
}
.icon-btn svg { width: 1.7rem; height: 1.7rem; display: block; }

/* Hero */
.hero {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(32,178,170,.18), transparent 55%),
    linear-gradient(180deg, #000 0%, #0b1414 100%);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero-inner { max-width: 780px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700;
  color: var(--teal-bright); margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #c8d0d0; margin: 1.25rem 0 0; }
.hero .lead { max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-badges {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  font-size: .95rem; color: #9fb0af;
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
.section-intro { color: var(--ink-soft); max-width: 65ch; margin: 1rem 0 0; font-size: 1.1rem; }

/* Cards */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; transition: .18s ease;
}
.card:hover { border-color: var(--teal); box-shadow: 0 12px 30px -18px rgba(23,153,143,.5); transform: translateY(-2px); }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { margin: 0; color: var(--ink-soft); }

/* Feature list */
.feature-list {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.feature-list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; position: relative; padding-left: 3.1rem;
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 1.25rem; top: 1.25rem;
  color: #fff; background: var(--teal); width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.feature-list strong { display: block; }

/* Split / sustainability */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: center; }
.split p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 1rem; }
.eco-badge {
  display: flex; align-items: center; gap: 1rem; justify-self: end;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff; border-radius: var(--radius); padding: 1.5rem 1.75rem; font-weight: 700;
}
.eco-mark { font-size: 2.5rem; line-height: 1; }

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 2.5rem 0 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem;
}
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--black); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem;
}
.steps h3 { font-size: 1.1rem; }
.steps p { margin: .25rem 0 0; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--black); color: #fff; }
.contact .section-title { color: #fff; }
.contact .lead { color: #c8d0d0; max-width: 60ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Footer */
.site-footer { background: #0b1414; color: #9fb0af; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: .95rem;
}
.site-footer a { color: #c8d0d0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { font-weight: 800; color: #fff; }
.footer-copy { margin-left: auto; }

/* Responsive */
@media (max-width: 760px) {
  .nav { display: none; }
  .split { grid-template-columns: 1fr; }
  .eco-badge { justify-self: start; }
}

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