/* ── DESIGN TOKENS ── */
:root {
  --bg:           #F5F3EF;
  --surface:      #FDFCFA;
  --text:         #1C1917;
  --muted:        #706A63;
  --accent:       #7C5C3E;
  --accent-h:     #9B7450;
  --border:       #E8E3DB;
  --dark-bg:      #1C1917;
  --max-w:        1080px;
  --font:         'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --shadow-sm:    0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.03);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.07), 0 12px 32px rgba(0,0,0,0.05);
  --radius:       10px;
}

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

/* ── BASE ── */
html { scroll-behavior: smooth; }

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

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── TYPOGRAPHY UTILITIES ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.section-rule {
  height: 1px;
  background: var(--border);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.98); }

.btn-dark {
  background: var(--text);
  color: #fff;
  border: 1px solid var(--text);
}
.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.btn-wa {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
}
.btn-wa:hover,
.btn-wa:focus-visible {
  background: #1eba57;
  border-color: #1eba57;
  outline: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--muted);
  outline: none;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 239, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:focus-visible { outline: 2px solid var(--accent); border-radius: 4px; }

.nav-logo-img {
  height: 96px;
  width: auto;
  max-width: 243px;
  display: block;
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 0.5rem 1.125rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
  letter-spacing: -0.01em;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--accent);
  color: #fff;
  outline: none;
}

/* ── HERO ── */
.hero { padding: 6rem 0 5rem; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 820px;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ── POSITIONING — editorial pull quote ── */
.positioning {
  padding: 5.5rem 0;
  text-align: center;
}

.positioning p {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 780px;
  margin: 0 auto;
  color: var(--text);
}

.positioning strong {
  font-weight: 600;
  color: var(--accent);
}

/* ── COMPETENCIES ── */
.competencies {
  padding: 4.5rem 0;
  background: var(--surface);
}

.comp-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 0.9375rem;
  line-height: 1.55;
  transition: border-color 0.2s, background 0.2s;
}
.comp-item:hover {
  border-color: var(--accent);
  background: #FAF7F3;
}


/* ── SERVICES ── */
.services { padding: 4.5rem 0; }

.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.service-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #D8D0C6;
}

.service-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Featured cards (bento spans) get a richer feel */
.service-card--featured h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ── WHY TBD ── */
.why {
  padding: 5rem 0;
  background: var(--dark-bg);
  color: #F5F3EF;
}

.why .section-label {
  color: rgba(245, 243, 239, 0.3);
}
.why .section-label::before {
  background: rgba(245, 243, 239, 0.15);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.why-lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.why-lead strong {
  font-weight: 600;
  color: var(--accent-h);
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9rem;
  color: rgba(245, 243, 239, 0.6);
  line-height: 1.7;
}


/* ── CONTACT ── */
.contact { padding: 5.5rem 0; }
.contact-inner { max-width: 560px; }

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-body {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-logo-img {
  height: 66px;
  width: auto;
  max-width: 176px;
  display: block;
  opacity: 0.45;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (min-width: 560px) {
  .comp-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card:nth-child(1),
  .service-card:nth-child(4) {
    grid-column: span 2;
  }

  .why-inner { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
}
