/* ==========================================================
   Brand settings: change these to restyle the whole site
   ========================================================== */
:root {
  --navy: #26307a;         /* DKC bleu */
  --green: #5ea72f;        /* DKC vert */
  --ink: #1a2150;          /* main text, dark sections */
  --ink-soft: #4b5373;     /* secondary text */
  --paper: #f7f8f4;        /* page background */
  --paper-2: #eef2e8;      /* tinted sections */
  --line: #d9dde3;         /* borders */
  --accent: #5ea72f;       /* highlights */
  --accent-dark: #4a8a22;
  --sage: #a9d38a;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--accent); }

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

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--sage); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--ink); color: var(--paper); text-decoration: none; border: 0; cursor: pointer;
  font: 600 .95rem var(--font-body); padding: .95em 1.6em; border-radius: 999px;
  transition: background .2s, transform .2s;
}
.btn { background: var(--navy); }
.btn:hover { background: var(--green); transform: translateY(-1px); }
.btn--small { padding: .6em 1.2em; font-size: .88rem; }
.btn--full { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.86); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__logo { width: 44px; height: 38px; flex: none; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.brand__tag { font-size: .72rem; color: var(--ink-soft); font-style: italic; }
.brand--light .brand__name, .brand--light .brand__tag { color: var(--paper); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--ink-soft); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2rem; }
.hero__art { position: relative; aspect-ratio: 1 / 1.05; }
.orb { position: absolute; border-radius: 50%; }
.orb--one { inset: 4% 6% 14% 10%; background: radial-gradient(circle at 30% 30%, #4a55a8, var(--navy) 55%, #171d55); border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; animation: float 12s ease-in-out infinite; }
.orb--two { width: 46%; aspect-ratio: 1; right: 0; bottom: 4%; background: radial-gradient(circle at 35% 35%, #b9e09a, var(--green) 60%, #3f7a1d); opacity: .92; animation: float 14s ease-in-out infinite reverse; }
.card-float {
  position: absolute; left: 0; bottom: 10%; background: var(--white); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: 0 18px 40px -18px rgba(20,35,29,.35); display: grid; min-width: 200px;
}
.card-float__label { font-size: .75rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; }
.card-float__value { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.2; color: var(--navy); }
.card-float { max-width: 250px; }
.card-float__note { font-size: .85rem; color: var(--ink-soft); }
@keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--line); }
.stat { display: grid; }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; }
.stat__label { font-size: .9rem; color: var(--ink-soft); }

/* Logos */
.logos { padding: 36px 0 24px; }
.logos__title { text-align: center; font-size: .85rem; color: var(--ink-soft); }
.logos__row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; }
.logos__row { gap: 12px 14px; }
.logos__row li { font-size: .92rem; color: var(--navy); font-weight: 500; padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }

/* Sections */
.section { padding: 110px 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--navy); color: var(--paper); }
.section__head { max-width: 680px; margin-bottom: 56px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.section__intro { color: var(--ink-soft); margin-top: 1rem; }
.section__intro--light { color: rgba(247,248,244,.78); }
.service h3 { color: var(--navy); }
.service.service--cta { background: var(--navy); color: var(--paper); border-color: var(--navy); display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.service--cta h3 { color: var(--paper); }
.service--cta p { color: rgba(247,248,244,.8) !important; }
.service--cta .link-arrow { color: var(--sage); align-self: flex-start; }
.solutions { margin-top: 64px; padding: 36px; border-radius: var(--radius); background: var(--paper-2); }
.solutions h3 { color: var(--navy); margin-bottom: 1rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.05em .5em 2.1em; font-size: .93rem; position: relative; }
.chips li::before { content: ""; position: absolute; left: .85em; top: 50%; width: .6em; height: .6em; border-radius: 50%; background: var(--green); transform: translateY(-50%); }
.ambition { margin: 1.6rem 0; padding: 20px 24px; border-left: 4px solid var(--green); background: var(--white); border-radius: 0 12px 12px 0; }
.ambition h3, .checks__title { color: var(--navy); font-size: 1.2rem; }
.ambition p { margin: 0; color: var(--ink-soft); }
.checks__title { margin-top: 1.4rem; }
.checks li { font-weight: 400; color: var(--ink-soft); }
.checks li strong { color: var(--ink); font-weight: 600; }
.values-note { margin: 56px auto 0; max-width: 820px; text-align: center; color: var(--ink-soft); font-size: 1.05rem; }
.arrows { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.arrows li { padding-left: 1.6rem; position: relative; }
.arrows li::before { content: "›"; position: absolute; left: 0; top: -.15em; font-size: 1.5rem; color: var(--sage); font-weight: 600; }
.arrows--cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.quote h3 { font-size: 1.25rem; color: var(--sage); }
.pull { margin: 56px 0 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4; max-width: 900px; }
.refs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ref { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 14px; padding: 24px; }
.ref:nth-child(even) { border-top-color: var(--navy); }
.ref h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 1rem; }
.ref ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(20,35,29,.4); border-color: transparent; }
.service__num { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--accent); margin-bottom: 40px; }
.service p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about__visual { position: relative; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--green), var(--navy)); display: grid; place-items: center; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__initials { font-family: Georgia, serif; font-size: 4.6rem; letter-spacing: .14em; color: rgba(255,255,255,.9); }
.about__badge {
  position: absolute; right: -18px; bottom: 28px; background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 16px 20px; display: grid; box-shadow: 0 16px 30px -16px rgba(0,0,0,.4);
}
.about__badge strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.about__badge span { font-size: .85rem; opacity: .9; }
.about__copy > p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.checks li { padding-left: 2rem; position: relative; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23f7f4ee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line); }
.step { position: relative; padding-top: 44px; }
.step__dot { position: absolute; top: 0; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.step:first-child .step__dot { background: var(--accent); }
.step h3 { color: var(--navy); }
.section--tint .step__dot { background: var(--paper-2); }
.step p { color: var(--ink-soft); font-size: .97rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.quote { margin: 0; padding: 32px; border: 1px solid rgba(247,248,244,.18); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; }
.quote figcaption { display: grid; font-size: .9rem; }
.quote figcaption span { color: var(--sage); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact__copy > p { color: var(--ink-soft); }
.contact__details { margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact__details div { display: grid; grid-template-columns: 90px 1fr; border-top: 1px solid var(--line); padding-top: 1rem; }
.contact__details dt { font-size: .85rem; color: var(--ink-soft); }
.contact__details dd { margin: 0; font-weight: 500; }
.contact__details a { text-decoration: none; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.form input, .form textarea {
  width: 100%;
  font: inherit; font-size: 1rem; padding: .8em 1em; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,167,47,.2); }
.form textarea { resize: vertical; }
.form__note { margin: 0; font-size: .88rem; color: var(--ink-soft); min-height: 1.4em; }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding: 56px 0 40px; border-top: 1px solid rgba(247,244,238,.1); }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.6rem; }
.footer__links a { text-decoration: none; font-size: .92rem; opacity: .8; }
.footer__links a:hover { opacity: 1; }
.footer__copy { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid rgba(247,244,238,.12); font-size: .85rem; opacity: .6; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* Logo & photos */
.brand__logo { width: 58px; height: auto; }
.footer__logo { background: #fff; border-radius: 14px; padding: 8px 10px; width: 92px; height: auto; flex: none; }
.hero__photo { overflow: hidden; box-shadow: 0 30px 60px -30px rgba(26,33,80,.55); border: 6px solid #fff; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.orb--two { width: 34%; right: 2%; bottom: 2%; z-index: -1; }
.hero__art { isolation: isolate; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.94); color: var(--navy); font-size: .85rem; font-weight: 600; padding: .45em .9em; border-radius: 999px; }

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .refs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links .btn { margin-top: 16px; }
  .hero { padding-top: 40px; }
  .hero__grid, .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { max-width: 420px; width: 100%; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 72px; }
  .hero__art { max-width: 340px; }
  .section { padding: 80px 0; }
  .about__badge { right: 12px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .services, .steps, .refs, .arrows--cols, .gallery { grid-template-columns: 1fr; }
  .solutions { padding: 24px; }
  .brand__tag { display: none; }
  .brand__name { font-size: 1.05rem; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { margin-top: 64px; max-width: 820px; }
.faq h3 { margin: 0 0 16px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.3em; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Service pages */
.page-hero { padding: 88px 0 72px; background: linear-gradient(135deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #b9e09a, var(--green) 60%, #3f7a1d); opacity: .18; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 16em; color: var(--ink); }
.page-hero .lead { margin: 0; }
.cta-band { padding: 0 0 100px; }
.section--dark + .cta-band, .section--tint + .cta-band { padding-top: 100px; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(120deg, var(--navy), #1a2160); color: var(--paper); border-radius: 24px; padding: 48px 52px; }
.cta-band__inner h2 { margin-bottom: .3em; }
.cta-band__inner p { margin: 0; opacity: .8; }
.btn--light { background: var(--green); color: var(--white); flex: none; }
.btn--light:hover { background: var(--white); color: var(--navy); }
@media (max-width: 700px) {
  .page-hero { padding: 56px 0 48px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; position: relative; z-index: 1; }
.crumbs a { color: var(--ink-soft); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .hero__actions { margin-top: 28px; }
.prose { max-width: 760px; margin: 0 0 56px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose p { color: var(--ink-soft); }
.prose .arrows li { color: var(--ink); }
.faq h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.related { margin-top: 56px; }
.related__title { font-size: 1.3rem; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 500; background: var(--white); }
.related a:hover { border-color: var(--green); color: var(--green); }
.footer__links--services { opacity: .85; font-size: .92rem; }
