:root {
  --ink: #15201b;
  --muted: #52615a;
  --line: #d8e3dc;
  --paper: #ffffff;
  --soft: #f3f7f2;
  --green: #237246;
  --green-dark: #145435;
  --green-soft: #e7f1e8;
  --red: #9f1f2d;
  --red-dark: #7d1823;
  --black: #101815;
  --charcoal: #1d2924;
  --shadow: 0 18px 42px rgba(16, 24, 21, .10);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fbfdfb;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.28rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 172px;
}

.brand img {
  width: 172px;
}

.nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-size: .92rem;
  font-weight: 700;
  color: #28312d;
}

.nav a {
  padding: .7rem .75rem;
  border-radius: var(--radius);
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--green-soft);
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border .15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: var(--charcoal);
  color: #fff;
}

.button-secondary:hover {
  background: var(--black);
}

.button-outline {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.button-light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  position: relative;
  color: #fff;
  background: var(--black);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(13, 25, 19, .93) 0%, rgba(13, 25, 19, .76) 42%, rgba(13, 25, 19, .28) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem 1rem 4.6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #cbe8d0;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--green);
}

.hero p {
  max-width: 720px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, .88);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  max-width: var(--max);
  margin: -2.4rem auto 0;
  padding: 0 1rem 2.4rem;
}

.strip-item {
  min-height: 132px;
  background: rgba(255, 255, 255, .98);
  color: var(--ink);
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 24, 21, .12);
  overflow-wrap: anywhere;
}

.strip-item strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--green-dark);
}

.strip-item span {
  color: var(--muted);
  font-size: .93rem;
}

.section {
  padding: 6.2rem 1rem;
}

.section-tight {
  padding: 4.5rem 1rem;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(243, 247, 242, .92), rgba(243, 247, 242, 1)),
    radial-gradient(circle at 10% 0%, rgba(35, 114, 70, .09), transparent 34%);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-head p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.service-card,
.proof-card,
.faq-item,
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 24, 21, .06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card-body {
  padding: 1.35rem;
}

.service-card h3,
.proof-card strong,
.faq-item h3,
.process-step h3 {
  color: var(--charcoal);
}

.service-card p,
.proof-card p,
.faq-item p {
  margin: .65rem 0 0;
}

.service-card .button {
  margin-top: 1rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 21, .05);
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 2rem;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.notice {
  border-left: 4px solid var(--green);
  background: #ffffff;
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.notice p {
  margin: 0;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(16, 24, 21, .98), rgba(25, 58, 42, .98));
  color: #fff;
  padding: 4rem 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, .78);
  max-width: 720px;
  font-size: 1.08rem;
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: flex-end;
}

.page-hero {
  background: var(--black);
  color: #fff;
  padding: 5.8rem 1rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(13, 25, 19, .93), rgba(13, 25, 19, .52)),
    var(--page-image);
  background-size: cover;
  background-position: center;
  opacity: .92;
}

.page-hero .container {
  position: relative;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .84);
  font-size: 1.16rem;
  margin-top: 1.1rem;
}

.breadcrumbs {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, .74);
  font-size: .9rem;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.proof-card {
  padding: 1.2rem;
  box-shadow: 0 12px 28px rgba(16, 24, 21, .05);
}

.proof-card strong {
  display: block;
  font-size: 1.06rem;
}

.faq-list {
  display: grid;
  gap: .8rem;
}

.faq-item {
  padding: 1.1rem 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-panel {
  padding: 1.3rem;
}

.form {
  display: grid;
  gap: .85rem;
}

.form label {
  display: grid;
  gap: .35rem;
  font-weight: 800;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem .9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: .9rem;
  color: var(--muted);
}

.site-footer {
  background: #101815;
  color: #fff;
  padding: 3rem 1rem 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-logo {
  width: 150px;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .74);
}

.footer-links {
  display: grid;
  gap: .45rem;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .58);
  font-size: .9rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: .6rem;
}

.float-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  border-radius: 999px;
  border: 0;
  box-shadow: var(--shadow);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.float-whatsapp {
  background: var(--green);
  padding: 0 1rem;
  gap: .4rem;
}

.float-chat {
  background: var(--charcoal);
  min-width: 56px;
  padding: 0 1rem;
}

.assistant {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 70;
  width: min(380px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}

.assistant.is-open {
  display: block;
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--charcoal), var(--green-dark));
  color: #fff;
}

.assistant-header strong {
  display: block;
}

.assistant-header span {
  color: rgba(255, 255, 255, .74);
  font-size: .86rem;
}

.assistant-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
}

.assistant-log {
  height: 280px;
  overflow: auto;
  padding: 1rem;
  background: #f8faf8;
  display: grid;
  align-content: start;
  gap: .7rem;
}

.message {
  max-width: 88%;
  padding: .75rem .85rem;
  border-radius: var(--radius);
  font-size: .94rem;
}

.message.bot {
  background: #fff;
  border: 1px solid var(--line);
}

.message.user {
  justify-self: end;
  background: var(--green);
  color: #fff;
}

.assistant-options {
  padding: .8rem;
  display: grid;
  gap: .5rem;
}

.assistant-options button {
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  text-align: left;
  padding: .65rem .8rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-options button:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.assistant-footer {
  padding: .8rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.assistant-footer .button {
  width: 100%;
}

.professional-note {
  background: var(--green-soft);
  border: 1px solid #c9decf;
  padding: 1rem;
  border-radius: var(--radius);
}

.professional-note p {
  margin: 0;
  color: var(--green-dark);
}

@media (max-width: 1020px) {
  .nav {
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .7rem 1rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .header-actions .button {
    display: none;
  }

  .hero-strip,
  .process,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .split,
  .contact-grid,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .brand img {
    width: 144px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    padding-top: 6rem;
  }

  .hero-strip,
  .grid-3,
  .grid-2,
  .process,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.2rem 1rem;
  }

  .floating-actions {
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr auto;
  }

  .float-whatsapp {
    width: 100%;
  }

  .float-chat {
    width: auto;
    padding: 0 1rem;
  }

  .assistant {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 86px;
  }
}
