@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap");

:root {
  --green: #13372d;
  --deep: #0d2922;
  --ink: #18352d;
  --muted: #52635b;
  --paper: #f7f5ee;
  --white: #fffcf6;
  --gold: #e2c186;
  --line: #ded8ca;
  --body-font: "DM Sans", system-ui, sans-serif;
  --heading-font: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.62 var(--body-font); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-family: var(--heading-font); line-height: 1.12; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #a76922; outline-offset: 4px; }
.wood :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .6rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: none; }
.container { width: min(72rem, calc(100% - 5rem)); margin-inline: auto; }
.wood { background: linear-gradient(110deg, #0b2a23d9, #133b2db8), url("assets/wood-effect.png") center / cover; }

.site-header { position: sticky; top: 0; z-index: 5; color: var(--white); border-bottom: 1px solid #e2c18638; }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font: 700 1.65rem/1.1 var(--heading-font); }
.brand-mark { width: 1.24rem; height: 1.24rem; flex: 0 0 auto; border: 1px solid var(--gold); transform: rotate(45deg); position: relative; margin: .2rem; }
.brand-mark::after { content: ""; position: absolute; inset: .22rem; border: 1px solid var(--gold); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); font-size: .92rem; font-weight: 600; }
nav a { text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--gold); }
.header-contact { color: var(--gold); border: 1px solid #e2c18675; border-radius: .25rem; padding: .48rem .85rem; }
.header-contact span { margin-left: .3rem; }
.menu-toggle { display: none; }

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, #0d2e25 0%, #0e3026f7 28%, #102f25e0 43%, #102d2280 63%, #0b201c0a 86%),
    url("assets/hero.png") right center / auto 110% no-repeat,
    var(--deep);
}
.hero-inner { display: flex; align-items: center; min-height: 34rem; padding-block: 4.6rem 7.1rem; }
.hero-copy { max-width: 37rem; }
.hero h1 { font-size: clamp(2.65rem, 5.45vw, 5rem); letter-spacing: -.045em; }
.hero em { color: var(--gold); display: block; font-weight: 600; }
.hero p { max-width: 29rem; margin-top: 1.45rem; font-size: clamp(1rem, 1.8vw, 1.16rem); color: #f3f0e4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .8rem 1.12rem; border: 1px solid transparent; border-radius: .25rem; font-weight: 700; font-size: .94rem; text-decoration: none; transition: background-color .2s ease; }
.button-gold { background: var(--gold); color: #183126; }
.button-gold:hover { background: #f0d39c; }
.button-outline { border-color: #f6f1e595; color: var(--white); }
.button-outline:hover { background: #ffffff18; }

.services { position: relative; z-index: 1; margin-top: -3.35rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; align-items: start; }
.service { display: flex; flex-direction: column; align-items: flex-start; min-height: 15.8rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid #be9657; border-radius: .32rem; box-shadow: 0 12px 29px #18352d10; padding: 1.55rem 1.55rem 1.25rem; }
.service h2 { font-family: var(--body-font); font-size: 1.2rem; font-weight: 700; margin: .95rem 0 .65rem; }
.service p { font-size: .95rem; color: var(--muted); }
.service-icon { position: relative; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .32rem; background: var(--green); color: var(--gold); }
.icon-ledger::before { content: ""; width: .91rem; height: 1.12rem; border: 1.5px solid currentColor; border-radius: 2px; }
.icon-ledger::after { content: ""; position: absolute; width: .44rem; height: .31rem; border-block: 1.5px solid currentColor; }
.icon-check::before { content: ""; width: 1.08rem; height: .61rem; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.icon-audit::before { content: ""; width: .85rem; height: .85rem; border: 1.5px solid currentColor; border-radius: 50%; transform: translate(-2px, -2px); }
.icon-audit::after { content: ""; position: absolute; width: .55rem; height: 1.5px; background: currentColor; transform: translate(6px, 6px) rotate(48deg); }
.service details { margin-top: auto; padding-top: 1rem; width: 100%; }
.service summary { border-top: 1px solid var(--line); padding-top: .78rem; font-size: .88rem; }
.service details p { padding-top: .55rem; }
summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; cursor: pointer; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 auto; color: #765724; font: 600 1.28rem/1 var(--body-font); }
details[open] > summary::after { content: "−"; }
summary:hover { color: #765724; }

.collaboration { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(2rem, 9vw, 8rem); padding-block: 5.4rem; }
.collaboration h2, .faq-grid h2, .contact h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.035em; }
.intro { margin-top: 1.15rem; max-width: 31rem; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.steps li { display: grid; grid-template-columns: 2.35rem 1fr; gap: .15rem .85rem; padding: .9rem 0; border-top: 1px solid var(--line); counter-increment: steps; }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(steps, decimal-leading-zero); grid-row: span 2; font-size: .8rem; font-weight: 700; color: #765724; padding-top: .2rem; }
.steps h3 { font-size: 1rem; }
.steps p { font-size: .93rem; color: var(--muted); }

.faq-section { background: #eeebe1; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .7fr 1fr; gap: clamp(2rem, 7vw, 6rem); padding-block: 4.6rem; }
.faq-list details { border-bottom: 1px solid #d4ccbb; }
.faq-list details:first-child { border-top: 1px solid #d4ccbb; }
.faq-list summary { padding: 1rem 0; }
.faq-list p { color: var(--muted); padding: 0 1.2rem 1rem 0; font-size: .95rem; }

.contact { color: var(--white); border-top: 1px solid #e2c18638; }
.contact-grid { display: grid; grid-template-columns: .7fr 1fr; gap: clamp(2rem, 7vw, 6rem); padding-block: 4rem; }
.contact h2 { color: var(--gold); }
.contact p { margin-top: .9rem; max-width: 24rem; color: #e5e8dd; }
.contact-details > div { display: grid; grid-template-columns: 5.2rem 1fr; gap: .6rem; padding: .7rem 0; border-bottom: 1px solid #e2c18642; }
.contact-details > div:first-child { border-top: 1px solid #e2c18642; }
.contact-details dt { font-weight: 700; }
.contact-details dd { color: #e5e8dd; overflow-wrap: anywhere; }
.contact-details a { text-underline-offset: .2em; }
.footer { background: #0b241e; color: #ebebdf; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; flex-wrap: wrap; min-height: 4.4rem; padding-block: .75rem; }
.footer-inner > span:first-child { font: 700 1.12rem/1.25 var(--heading-font); }
.footer a { text-underline-offset: .2em; }
.back-to-top {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  margin-inline-start: auto;
  border: 1px solid #e2c18675;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font: 600 1.3rem/1 var(--body-font);
  text-decoration: none;
}
.back-to-top:hover { border-color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: .45rem 1.5rem; flex-wrap: wrap; padding-block: .9rem; border-top: 1px solid #e2c18638; }
.footer-bottom a { color: var(--gold); }

@media (min-width: 1200px) {
  .hero { background-size: cover, max(58rem, 66vw) auto; }
}

@media (max-width: 880px) {
  .container { width: calc(100% - 3rem); }
  .hero { background-size: cover, auto 100%; background-position: center, 80% center; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 4.5rem; }
  .container { width: calc(100% - 2rem); }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) max-content; min-height: 4rem; gap: 0 .75rem; padding-block: .7rem; }
  .brand { min-width: 0; overflow-wrap: anywhere; font-size: 1.35rem; }
  .menu-toggle { grid-column: 2; display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #e2c18675; border-radius: .25rem; color: var(--white); background: transparent; padding: .35rem .65rem; white-space: nowrap; }
  nav { grid-column: 1 / -1; align-items: stretch; flex-direction: column; gap: 0; padding-top: .55rem; }
  nav a { padding: .55rem 0; }
  .header-contact { border: 0; }
  .menu-toggle[aria-expanded="false"] + nav[data-collapsible] { display: none; }
  .hero { background-image: linear-gradient(90deg, #102e27f5, #102e27bf), url("assets/hero.png"); background-position: center; background-size: cover; }
  .hero-inner { min-height: 29rem; padding-block: 3.65rem 5.55rem; }
  .services { margin-top: -2.45rem; }
  .service { min-height: auto; }
  .collaboration, .faq-grid, .contact-grid { grid-template-columns: 1fr; padding-block: 3.1rem; }
}

@media (max-width: 350px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero h1 { font-size: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
