:root {
  --green-900: #0f2a17;
  --green-800: #1c4828;
  --green-700: #285c36;
  --green-100: #e6efe8;
  --wood: #c9a16a;
  --wood-dark: #a8814c;
  --ink: #16201a;
  --muted: #56625a;
  --line: #dfe4dc;
  --bg: #f7f6f2;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(15, 42, 23, .35);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
svg { fill: currentColor; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--wood); color: var(--green-900); padding: .6rem 1rem; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none;
  cursor: pointer; transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--wood); color: var(--green-900); }
.btn--accent:hover { background: #d7b27e; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-700); margin-bottom: .9rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--wood); }
.eyebrow--light { color: var(--wood); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s; color: var(--white);
}
.site-header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-logo { width: 245px; height: auto; }
.brand-logo--dark { display: none; }
.is-scrolled .brand-logo--dark { display: block; }
.is-scrolled .brand-logo--light { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.08rem; }
.brand-text small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--wood); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(201,161,106,.22), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  padding: calc(var(--header-h) + 4rem) 0 5rem;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 90px);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); font-weight: 800; }
.hero h1 span { color: var(--wood); }
.hero .eyebrow { color: var(--wood); }
.lead { font-size: 1.2rem; max-width: 34rem; color: rgba(255,255,255,.85); }
.lead strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.75rem; }
.hero-facts { list-style: none; padding: 1.5rem 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-head); font-size: 1.1rem; }
.hero-facts span { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.4; }

.hero-media { position: relative; margin: 0; }
.hero-media > img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%;
  border-radius: 28px 28px 28px 120px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
}
.hero-badge {
  position: absolute; left: -2rem; bottom: 2.5rem; display: flex; align-items: center; gap: .8rem;
  background: var(--white); color: var(--ink); padding: .9rem 1.2rem; border-radius: 14px;
  box-shadow: var(--shadow); font-size: .92rem; max-width: 260px; line-height: 1.35;
}
.hero-badge img { width: 40px; flex: none; }

/* Values */
.values { margin-top: -2.5rem; position: relative; z-index: 2; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.value svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--green-100); fill: var(--green-800); margin-bottom: 1rem; }
.value h2 { font-size: 1.2rem; }
.value p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Sections */
.section { padding: 6.5rem 0; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head h2, .clt h2, .about-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.service:hover img { transform: scale(1.04); }
.service p { padding: 1.1rem 1.25rem 1.3rem; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; position: relative; background: var(--white); }
.service--cta {
  display: flex; flex-direction: column; justify-content: center; padding: 2rem; text-decoration: none;
  background: var(--green-800); color: var(--white); border: 0;
}
.service--cta h3 { font-size: 1.35rem; }
.service--cta p { padding: 0; background: none; color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.link-arrow { font-family: var(--font-head); font-weight: 700; color: var(--wood); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.service--cta:hover .link-arrow::after { margin-left: .3rem; }

/* CLT */
.clt { background: var(--green-900); color: var(--white); position: relative; overflow: hidden; }
.clt::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 10% 0%, rgba(201,161,106,.18), transparent 60%);
}
.clt-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.clt-media img { border-radius: 24px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.clt-copy > p { color: rgba(255,255,255,.82); font-size: 1.1rem; }
.benefits { list-style: none; padding: 0; margin: 2rem 0 2.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.benefits li {
  display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-weight: 600;
}
.benefits span { font-family: var(--font-head); font-size: .8rem; color: var(--wood); }

/* About */
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--ink); }
.signature { font-family: var(--font-head); font-weight: 700; color: var(--green-800) !important; font-size: 1.1rem; border-left: 3px solid var(--wood); padding-left: 1rem; margin-top: 1.5rem; }
.about-media { margin: 0; }
.about-media img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; }

/* Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s;
}
a.contact-card:hover { border-color: var(--green-700); transform: translateX(4px); }
.contact-card svg { width: 42px; height: 42px; flex: none; padding: 10px; border-radius: 10px; background: var(--green-800); fill: var(--white); }
.contact-card span { display: flex; flex-direction: column; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.contact-card small { font-weight: 500; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

.contact-form { background: var(--green-800); color: var(--white); padding: 2rem; border-radius: var(--radius); display: grid; gap: 1rem; }
.contact-form h3 { font-size: 1.4rem; margin: 0; }
.form-note { margin: 0; color: rgba(255,255,255,.75); font-size: .92rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: .8rem 1rem; border-radius: 10px; border: 1px solid transparent;
  background: var(--white); color: var(--ink); width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form [aria-invalid="true"] { border-color: #f1a7a7; box-shadow: 0 0 0 3px rgba(241,167,167,.35); }
.form-error { margin: 0; color: #ffd0d0; font-size: .92rem; }

.map { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 360px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.footer-brand { display: grid; gap: .6rem; }
.footer-brand img { width: 230px; }
.footer-brand strong { font-family: var(--font-head); color: var(--white); font-size: 1.1rem; }
.footer-brand p { margin: 0; font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a, .social { text-decoration: none; }
.footer-nav a:hover, .social:hover { color: var(--wood); }
.social { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.social svg { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner, .clt-inner, .about-inner { gap: 2.5rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); color: var(--ink); padding: .5rem 1.25rem 1.5rem; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
  .site-header.menu-open { background: var(--white); color: var(--ink); }
  .menu-open .brand-logo--dark { display: block; }
  .menu-open .brand-logo--light { display: none; }

  .hero { padding: calc(var(--header-h) + 2.5rem) 0 4.5rem; }
  .hero-inner, .clt-inner, .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; }
  .hero-media > img { aspect-ratio: 1; }
  .hero-badge { left: 1rem; bottom: 1rem; }
  .values { margin-top: 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 4.5rem 0; }
  .clt-media { max-width: 440px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 2rem); }
  .brand-logo { width: 170px; }
  .hero-facts { grid-template-columns: 1fr; gap: .9rem; }
  .hero-actions .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .service p { padding: .8rem .9rem 1rem; font-size: .86rem; }
  .service--cta { grid-column: 1 / -1; padding: 1.5rem; }
  .benefits { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .map { height: 280px; }
}
