/* Darangi Solutions & Consult — company site */

@import url("https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap");

:root {
  --bg: #f7f6f3;
  --bg-elevated: #ffffff;
  --text: #141414;
  --text-muted: #5c5c5c;
  --border: #e2e0da;
  --accent: #0d7c66;
  --accent-dark: #0a5f4e;
  --max-width: 68rem;
  --font-display: "Clash Display", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

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

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

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

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

/* Layout */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo__mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.logo__text {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo__tagline {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.logo--footer .logo__mark {
  width: 2rem;
  height: 2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--text);
}

main {
  min-height: calc(100vh - 12rem);
}

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

/* Typography */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.125rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.7;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--text-muted);
}

/* Hero */

.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__meta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
}

.hero__meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero__meta dd {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

/* Sections */

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.section--flush-bottom {
  border-bottom: none;
}

.section__header {
  margin-bottom: 2.5rem;
  max-width: 32rem;
}

.section__header p {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
  background: var(--bg-elevated);
  padding: 1.75rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Product block */

.product-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2rem;
}

.product-block__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.product-block__features {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.product-block__features li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.product-block__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Page header (inner pages) */

.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.75rem;
}

.contact-card h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-card p,
.contact-card a {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--accent);
}

/* Legal pages */

.legal {
  padding: 3rem 0 5rem;
  max-width: 42rem;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal p,
.legal li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr repeat(2, 1fr);
  margin-bottom: 2.5rem;
}

.site-footer__brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 22rem;
  line-height: 1.65;
}

.site-footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.site-footer__col ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.site-footer__col a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer__col a:hover {
  color: var(--text);
}

.site-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Responsive */

@media (min-width: 48rem) {
  .hero__grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .product-block {
    grid-template-columns: 1fr auto;
    padding: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 40rem) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

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

  .nav-toggle {
    display: block;
  }

  .site-header__inner {
    position: relative;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
