@font-face { font-family: Manrope; src: url("../assets/fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url("../assets/fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url("../assets/fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url("../assets/fonts/Manrope-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f6f7f4;
  --white: #fff;
  --ink: #17241d;
  --muted: #59665f;
  --green: #164b38;
  --green-dark: #10392c;
  --mint: #e9f1e7;
  --lime: #d8f59b;
  --line: #dfe4dc;
  --control-border: #768379;
  --focus: #246649;
  --danger: #a42e27;
  --success: #17653f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, system-ui, sans-serif; font-size: 1rem; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:where(button, a, input, select, textarea, summary, main):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: Manrope, sans-serif; line-height: 1.17; letter-spacing: -.045em; }
h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(2.8rem, 6vw, 5.7rem); font-weight: 700; }
h1 span, h2 span { color: var(--green); }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { margin-bottom: 12px; font-size: 1.35rem; }
p { color: var(--muted); }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 20; top: -60px; left: 16px; padding: 10px 16px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(30, 55, 39, .08); background: rgba(246, 247, 244, .94); backdrop-filter: blur(14px); }
.navigation { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .04em; line-height: 1.05; }
.brand strong { font-weight: 800; }
.brand small { display: block; margin-top: 5px; font-size: 9px; font-weight: 600; letter-spacing: .25em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-family: Manrope, sans-serif; font-weight: 800; }
.nav-menu { display: flex; align-items: center; gap: 32px; font-size: .91rem; font-weight: 600; }
.nav-menu > a:not(.button):hover, .text-link:hover { color: var(--green); }
.nav-menu a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 24px; cursor: pointer; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; border: 1px solid transparent; border-radius: 5px; font-weight: 700; line-height: 1.3; text-align: center; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--green); color: var(--white); }
.button-dark:hover { background: var(--green-dark); color: white; }
.button-outline { border-color: var(--control-border); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--green); background: var(--mint); }
.button-small { min-height: 42px; padding: 9px 15px; font-size: .86rem; }
.button:disabled { cursor: wait; background: var(--mint); color: var(--green); transform: none; }
.button[hidden] { display: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: .94rem; font-weight: 700; }

.eyebrow { margin-bottom: 14px; color: #536e5e; font-size: .73rem; font-weight: 800; letter-spacing: .13em; line-height: 1.5; }
.hero-description { max-width: 610px; margin-bottom: 26px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.75; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.section { padding: 82px 0; }

.home { padding: 32px 0 72px; background: #f6f8f3; }
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  background: linear-gradient(145deg, #103627 0%, #1a4d39 70%);
}
.home-hero-copy { align-self: center; padding: clamp(32px, 4.4vw, 64px); }
.home-eyebrow { margin-bottom: 14px; color: #e5f4d5; font-size: .88rem; font-weight: 800; letter-spacing: .055em; }
.home-hero h1 { margin-bottom: 18px; color: var(--white); font-size: clamp(2.45rem, 4.65vw, 4.25rem); line-height: 1.02; }
.home-hero h1 span { display: block; color: var(--lime); }
.home-intro { max-width: 42ch; margin-bottom: 26px; color: #eaf3ea; font-size: 1.05rem; line-height: 1.65; }
.home-hero .button { border-radius: 10px; }
.home-hero .button-dark { background: var(--lime); color: #173421; }
.home-hero .button-dark:hover { background: #e5ffb5; }
.home-hero .button-outline { border-color: #a3bdb0; color: var(--white); }
.home-hero .button-outline:hover { background: rgba(255, 255, 255, .12); }
.home-hero .button:focus-visible { outline-color: var(--lime); }
.home-hero-photo { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; object-position: 50% 45%; }

.home-services { margin-top: 46px; }
.home-services h2 { margin-bottom: 20px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.home-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.home-service {
  display: flex;
  min-height: 132px;
  height: 100%;
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px;
  border: 1px solid #d8e1d5;
  border-top: 4px solid #69976b;
  border-radius: 12px;
  background: white;
  transition: background .18s ease, border-color .18s ease;
}
.home-service-grid li:nth-child(2) .home-service { border-top-color: #9aae59; }
.home-service-grid li:nth-child(3) .home-service { border-top-color: #72a3a1; }
.home-service-grid li:nth-child(4) .home-service { border-top-color: #b7986c; }
.home-service:hover { border-color: var(--focus); background: #edf5e9; }
.home-service strong { color: var(--green-dark); font-size: 1.1rem; line-height: 1.3; }
.home-service span { color: var(--muted); font-size: .92rem; line-height: 1.5; }

.home-assistance { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 24px 28px; border-radius: 14px; background: #e8f2e3; }
.home-assistance h2 { margin-bottom: 6px; font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.home-assistance p { margin: 0; }
.home-assistance .button { flex-shrink: 0; border-radius: 10px; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card { position: relative; min-height: 260px; display: flex; align-items: flex-start; flex-direction: column; padding: 25px 22px 23px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #b7c8b7; box-shadow: 0 16px 38px rgba(27, 44, 34, .07); }
.service-card .eyebrow { margin: 0 0 16px; font-size: .78rem; }
.service-card h3 { margin-bottom: 11px; }
.service-card > p:not(.eyebrow) { margin-bottom: 24px; line-height: 1.6; }
.service-card .text-link { margin-top: auto; }
.steps-list { padding: 0; margin: 0; list-style: none; }
.steps-list li { display: flex; align-items: flex-start; gap: 20px; padding: 0 0 24px; }
.steps-list li + li { padding-top: 24px; border-top: 1px solid #cfd9cf; }
.steps-list li > span { flex: 0 0 40px; color: var(--green); font-size: .83rem; font-weight: 800; }
.steps-list p { margin-bottom: 0; }

.page-hero { padding: 80px 0 64px; background: linear-gradient(120deg, #f3f6f0, #eaf1e8); }
.page-hero h1 { max-width: 890px; font-size: clamp(2.6rem, 5.5vw, 4.65rem); }
.page-hero .hero-description { max-width: 710px; }
.page-hero .service-grid { margin-top: 35px; }
.service-hero { padding: 52px 0 62px; }
.service-hero .button { margin-top: 4px; }
.back-link { display: inline-block; margin-bottom: 36px; color: var(--green); font-size: .88rem; font-weight: 700; }
.back-link:hover { text-decoration: underline; }
.compact-hero { padding: 66px 0 46px; }
.compact-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.slim-section { padding-top: 34px; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.contact-strip h2 { margin: 0; font-size: 2rem; }
.contact-strip .eyebrow { margin-bottom: 8px; }
.detail-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.detail-copy .muted { max-width: 480px; font-size: 1.04rem; }
.steps-list li { gap: 17px; }
.steps-list li > span { flex-basis: 30px; }
.diagnosis-section { padding: 48px 0; background: #edf2eb; }
.narrow-container { max-width: 820px; }
.diagnosis-section h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.form-section { background: white; }
.form-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 70px; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 32px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.form-intro { grid-column: 1 / -1; }
.form-intro h3 { font-size: 1.65rem; }
.form-intro > p:last-child { max-width: 580px; margin-bottom: 0; font-size: .91rem; }
.form-fields { display: flex; flex-direction: column; gap: 17px; grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: .88rem; font-weight: 700; }
.required-mark { color: var(--danger); }
.field input, .field select, .field textarea, .assistant-question input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--control-border); border-radius: 4px; background: white; color: var(--ink); font-size: 1rem; font-weight: 400; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .assistant-question input::placeholder { color: #68756c; opacity: 1; }
.field select { cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus, .assistant-question input:focus { border-color: var(--green); }
.diagnosis-fields { display: flex; flex-direction: column; gap: 17px; }
.recommendations { padding: 18px; border: 1px solid #cbd9c7; border-radius: 4px; background: #edf4e9; }
.recommendations h4 { margin-bottom: 12px; }
.recommendations p { margin: 12px 0 0; font-size: .9rem; }
.check-list { padding: 0; margin: 0 0 20px; list-style: none; }
.check-list li { position: relative; padding: 0 0 12px 24px; color: var(--muted); }
.check-list li::before { position: absolute; left: 0; color: var(--green); content: "✓"; font-weight: 800; }
.recommendations .check-list { margin-bottom: 0; }
.diagnosis-button { align-self: flex-start; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.45em; margin: 0; font-size: .9rem; }
.status-error { color: var(--danger); }
.status-success { color: var(--success); }
.submit-button { align-self: flex-start; }
.inquiry-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: clamp(20px, 5vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink); }
.inquiry-dialog::backdrop { background: rgb(16 57 44 / 65%); }
.inquiry-dialog h2 { margin-bottom: 8px; font-size: clamp(1.65rem, 4vw, 2rem); }
.inquiry-dialog .button-row { justify-content: flex-end; }
.inquiry-summary { display: grid; gap: 12px; padding: 16px; margin: 0 0 22px; border-radius: 10px; background: var(--paper); }
.inquiry-summary dt { font-size: .88rem; font-weight: 800; }
.inquiry-summary dd { margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.inquiry-receipt { padding: 20px; border: 1px solid #b7cbb3; border-radius: 12px; background: #e8f2e3; }
.inquiry-receipt h4 { margin-bottom: 8px; font-size: 1.2rem; }
.inquiry-receipt code { display: block; width: fit-content; max-width: 100%; padding: 8px 10px; margin-bottom: 14px; border-radius: 6px; background: var(--white); overflow-wrap: anywhere; }
.inquiry-receipt .form-status:empty { display: none; }
.inquiry-receipt .form-status { margin-top: 8px; }
.form-whatsapp { align-self: flex-start; font-size: .84rem; }
.form-aside { position: sticky; top: 115px; padding-top: 18px; }
.form-aside > p:not(.eyebrow) { max-width: 370px; }
.aside-note { display: flex; gap: 12px; margin-top: 26px; padding: 16px; border-left: 3px solid #91ad71; background: var(--mint); }
.aside-note > span { color: var(--green); }
.aside-note p { margin: 0; font-size: .85rem; }
.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; }
.faq-layout h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.faq-item { padding: 17px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--green); font-size: 1.2rem; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { margin: 11px 0 0; font-size: .93rem; }

.assistant-section { background: white; }
.assistant-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 65px; }
.assistant-panel { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 12px 35px rgba(27,44,34,.05); }
.assistant-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.assistant-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-family: Manrope, sans-serif; font-weight: 800; }
.assistant-head > div { display: grid; line-height: 1.4; }
.assistant-head > div span { color: var(--muted); font-size: .78rem; }
.chat-messages { min-height: 115px; max-height: 280px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 16px 0; }
.chat-bubble { max-width: 88%; padding: 11px 13px; border-radius: 8px; line-height: 1.55; overflow-wrap: anywhere; }
.bot-bubble { align-self: flex-start; background: white; }
.user-bubble { align-self: flex-end; background: var(--green); color: white; }
.assistant-select { margin-bottom: 14px; }
.assistant-question { display: flex; align-items: stretch; gap: 8px; }
.assistant-question input { flex: 1; min-width: 0; }
.assistant-question .button { min-width: 120px; }
.assistant-response-actions { display: flex; flex-wrap: wrap; gap: 15px; padding-top: 14px; }
.assistant-disclaimer { margin: 18px 0 0; font-size: .78rem; }
.assistant-aside { padding-top: 20px; }
.assistant-aside h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.advisor-layout { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 70px; }
.advisor-card { display: flex; flex-direction: column; gap: 19px; padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.advisor-card .field textarea { min-height: 135px; }
.advisor-card .button { align-self: flex-start; }
.tracking-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; padding-block: 34px 64px; }
.tracking-form .form-status:empty { display: none; }
.tracking-result { padding: clamp(20px, 5vw, 30px); border-radius: 12px; background: #e8f2e3; }
.tracking-result h2 { margin-bottom: 6px; font-size: 1.55rem; }
.tracking-steps { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tracking-steps li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: #40544a; }
.tracking-steps li::before { content: ""; width: 10px; height: 10px; border: 2px solid #637b6b; border-radius: 50%; }
.tracking-steps li[aria-current] { background: var(--white); color: var(--green-dark); font-weight: 800; }
.tracking-steps li[aria-current]::before { background: var(--green); border-color: var(--green); }
.contact-info { padding: 20px 0; }
.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--mint); color: var(--green); }
.contact-info h2 { max-width: 420px; }
.contact-info .text-link { margin-top: 6px; }
.loading-state { padding-block: 100px; }

.site-footer { padding: 25px 0; border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner > p, .footer-inner > span { margin: 0; color: var(--muted); font-size: .82rem; }
.brand-footer { font-size: 13px; }
.brand-footer .brand-mark { width: 31px; height: 31px; }

@media (max-width: 920px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid, .form-layout, .faq-layout, .assistant-layout, .advisor-layout { gap: 38px; }
  .nav-menu { gap: 20px; }
}

@media (max-width: 760px) {
  .navigation { min-height: 68px; }
  .menu-toggle { display: block; }
  .nav-menu { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-menu.menu-open { display: flex; }
  .nav-menu > a:not(.button) { padding: 10px 4px; }
  .nav-contact { align-self: flex-start; margin-top: 7px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 80px; }
  .container { width: min(100% - 36px, 520px); }
  .home { padding: 16px 0 48px; }
  .home-hero { grid-template-columns: 1fr; border-radius: 18px; }
  .home-hero-copy { padding: 28px 22px 26px; }
  .home-hero h1 { font-size: clamp(2.15rem, 8vw, 3.1rem); }
  .home-intro { font-size: 1rem; }
  .home-hero-photo { height: auto; aspect-ratio: 16 / 10; min-height: 0; max-height: 280px; object-position: center 38%; }
  .home-services { margin-top: 32px; }
  .home-service-grid { gap: 10px; }
  .home-service { min-height: 0; padding: 13px 12px; }
  .home-service strong { font-size: 1rem; }
  .home-assistance { align-items: flex-start; flex-direction: column; margin-top: 24px; padding: 20px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .section { padding: 58px 0; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; padding: 22px; }
  .service-card > p:not(.eyebrow) { margin-bottom: 18px; }
  .detail-grid, .form-layout, .faq-layout, .assistant-layout, .advisor-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 58px 0 42px; }
  .page-hero h1 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .page-hero .service-grid { margin-top: 28px; }
  .service-hero { padding-top: 37px; }
  .back-link { margin-bottom: 27px; }
  .service-hero .button { width: 100%; }
  .contact-strip { padding: 22px; }
  .contact-strip .button { width: 100%; }
  .inquiry-form { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .form-intro, .form-fields { grid-column: auto; }
  .form-aside { position: static; padding: 0; }
  .form-whatsapp { line-height: 1.5; }
  .faq-layout { gap: 8px; }
  .assistant-panel { padding: 17px; }
  .assistant-question { flex-direction: column; }
  .assistant-question .button { width: 100%; }
  .advisor-card { padding: 20px; }
  .advisor-card .button { width: 100%; }
  .tracking-layout { grid-template-columns: 1fr; gap: 14px; padding-block: 20px 48px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
