/* Velina Developments — brand tokens from Logos/README.md */
:root {
  --green: #163F32;
  --green-deep: #0F2E24;
  --ochre: #D99A2B;
  --ink: #1E2A27;
  --paper: #F7F6F2;
  --stone: #ECEAE3;
  --muted: #55625E;
  --white: #FFFFFF;
  --radius: 6px;
  --wrap: 1120px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

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

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

a { color: var(--green); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ochre); color: var(--ink); padding: .5em 1em; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 160px; }
@media (min-width: 720px) { .brand img { width: 188px; } }

nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--green); }
nav li:not(:last-child) { display: none; }
@media (min-width: 820px) { nav li:not(:last-child) { display: list-item; } }
.nav-cta {
  background: var(--green); color: var(--white) !important;
  padding: .55em 1.1em; border-radius: var(--radius);
}
.nav-cta:hover { background: var(--green-deep); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 500;
  padding: .85em 1.5em; border-radius: var(--radius);
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ochre); color: var(--ink); }
.btn-primary:hover { background: #C6871C; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-lg { font-size: 1.15rem; padding: 1em 1.8em; overflow-wrap: anywhere; }

/* Hero */
.hero { position: relative; background: var(--green); color: var(--white); overflow: hidden; }
.hero-inner {
  display: grid; gap: 40px; align-items: center;
  padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(64px, 10vw, 128px);
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.4fr 1fr; } }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-mark { display: none; }
@media (min-width: 900px) {
  .hero-mark { display: flex; justify-content: center; }
  .hero-mark img {
    width: 340px; padding: 36px; border-radius: 12px;
    background: var(--paper); box-shadow: 0 24px 60px rgba(0,0,0,.25);
  }
}
/* Ochre "foundation course" from the logo */
.course { height: 10px; background: var(--ochre); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600;
  color: var(--ochre); margin-bottom: .9em;
}
.section .eyebrow:not(.eyebrow-light) { color: #9A6A12; }

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--stone); }
.section-dark { background: var(--green-deep); color: var(--white); }
.section-dark .section-lead { color: rgba(255,255,255,.8); }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 44em; margin-bottom: 2.5em; }

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border-top: 4px solid var(--green);
  box-shadow: 0 1px 2px rgba(30,42,39,.06), 0 8px 24px rgba(30,42,39,.05);
}
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.card-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }

/* Benefits */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefits li { background: var(--green-deep); padding: 28px; }
.benefits h3 { color: var(--white); display: flex; align-items: center; gap: 10px; }
.benefits h3::before { content: ""; width: 14px; height: 8px; background: var(--ochre); flex: none; }
.benefits p { color: rgba(255,255,255,.75); margin: 0; }

/* Steps */
.steps { list-style: none; margin: 2em 0 0; padding: 0; display: grid; gap: 28px; counter-reset: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
  background: var(--green); color: var(--white); font-weight: 600; border-radius: 4px;
}
.steps p { color: var(--muted); margin: 0; }

/* Projects */
.project-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .project-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
.projects-empty {
  grid-column: 1 / -1; margin: 0; padding: 40px 28px; text-align: center;
  border: 2px dashed #C9C5B9; border-radius: var(--radius); color: var(--muted);
  max-width: 46em; justify-self: start; width: 100%;
}
.project { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(30,42,39,.06); }
.project img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.project-body { padding: 22px 24px 26px; }
.project-meta { font-size: .88rem; color: #9A6A12; font-weight: 500; }
.project-body p:last-child { margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--paper); }
.contact-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .contact-inner { grid-template-columns: 1.5fr auto; } }
.contact .section-lead { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--green); color: rgba(255,255,255,.75); padding: 48px 0; font-size: .88rem; border-top: 10px solid var(--ochre); }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 48px; } .footer-legal { text-align: right; } }
.footer-legal p { margin: 0 0 .3em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.logo-404 { width: 188px; margin-bottom: 48px; }

[hidden] { display: none !important; }

/* Ecobrix key figures */
.stats { display: grid; gap: 16px; margin: 0 0 40px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { border-left: 4px solid var(--ochre); padding: 4px 0 4px 18px; }
.stats dt { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; color: var(--white); line-height: 1.15; }
.stats dd { margin: 6px 0 0; color: rgba(255,255,255,.75); font-size: .92rem; }
