/* Webmitki palette: primary actions stay yellow across every service. */
:root {
  --brand-ink: #183c32;
  --brand-forest-deep: #102d25;
  --brand-paper: #f1f0e7;
  --brand-surface: #214b3f;
  --brand-white: #f1f0e7;
  --brand-yellow: #d7fa45;
  --brand-turquoise: #d7fa45;
  --brand-orange: #d7fa45;
  --brand-error: #ffb49e;
  --brand-muted: #bdcec2;
  --paper: var(--brand-paper);
  --line: #456456;
  --ink: var(--brand-ink);
  --white: var(--brand-white);
  --lime: var(--brand-yellow);
  --muted: var(--brand-muted);
}
[data-brand-accent="yellow"] { --service-accent: var(--brand-yellow); --service-accent-ink: #4c6100; }
[data-brand-accent="turquoise"] { --service-accent: var(--brand-turquoise); --service-accent-ink: #3e5b21; }
[data-brand-accent="orange"] { --service-accent: var(--brand-orange); --service-accent-ink: #3e5b21; }
.service-row { border-top-color: #40483c; }
.services-section .service-row > .service-arrow { color: var(--service-accent, var(--brand-yellow)); transition: color .18s, background-color .18s; border-radius: 50%; }
.service-row:hover .service-arrow, .service-row:focus-visible .service-arrow { color: var(--brand-ink); background: var(--service-accent, var(--brand-yellow)); }
.services-section .service-row:hover strong { color: var(--white); text-decoration: underline; text-decoration-color: var(--service-accent); text-underline-offset: .22em; text-decoration-thickness: 2px; }
.project-meta > span { color: var(--service-accent-ink, #4c6100); border-left: 3px solid var(--service-accent, var(--brand-yellow)); padding-left: 9px; }
.project-card .project-arrow { color: var(--brand-ink); background: var(--brand-yellow); }
body[data-brand-accent] .page-breadcrumb a:hover { color: var(--service-accent); }
body[data-brand-accent] .article-toc { border-left-color: var(--service-accent); }
.contact-whatsapp { --lime: var(--brand-yellow); color: var(--brand-white); }
.whatsapp-form { border-color: #466158; }
.whatsapp-form :is(input, textarea):focus-visible { outline: 2px solid var(--brand-turquoise); outline-offset: 3px; border-color: var(--brand-turquoise); }
.whatsapp-form :is(input, textarea):user-invalid { border-color: var(--brand-error); }
[data-inquiry-choices] button[aria-pressed="true"] { background: var(--brand-turquoise); color: var(--brand-ink); border-color: var(--brand-turquoise); }
.site-footer a:hover { color: #526900; }
[data-theme="dark"] .site-footer a:hover { color: var(--brand-yellow); }
.site-footer .footer-action:hover { border-color: var(--brand-yellow); }
.chat-suggestions button:hover { border-color: var(--brand-turquoise); }
.chat-root .chat-form input:focus-visible { outline-color: var(--brand-turquoise); }
@media (prefers-reduced-motion: reduce) { .services-section .service-row > .service-arrow { transition: none; } }

/* Forest & lemon — shared surfaces, including carried-over legal and app pages. */
body { background-color: var(--brand-ink); color: var(--brand-white); }
.hero.aura-hero { background: var(--brand-ink); }
.liquid-hero::after { background: linear-gradient(0deg,#183c32 3%,#183c32e8 30%,#183c3270 52%,transparent 77%); }
.desktop-nav, .mobile-nav { background-color: var(--brand-forest-deep); border-color: var(--line); }
.desktop-nav a:hover,.desktop-nav a:focus-visible { background-color: var(--brand-surface); }
.work-section { background-color: var(--brand-paper); color: var(--brand-ink); }
.process-section { background-color: var(--brand-paper); color: var(--brand-ink); }
.process-section ol,.process-section li { border-color: #b4c0aa; }
.contact-whatsapp { --ink: var(--brand-ink); background: var(--brand-surface); }
.whatsapp-form:not([hidden]) { background: var(--brand-forest-deep); border-color: #557363; }
.whatsapp-form :is(input,textarea) { background: #16372d; color: var(--brand-white); border-color: #648270; }
.whatsapp-form :is(input,textarea)::placeholder { color: #aec3b4; }
.whatsapp-intro p,.whatsapp-form-note { color: var(--brand-muted); }
.chat-root { --chat-paper: #102d25; --chat-line: #456456; --chat-muted: #bdcec2; }
.site-footer[data-astro-cid-nns7i3if] { --footer-bg: #f1f0e7; --footer-ink: #183c32; --footer-muted: #526757; --footer-line: #ccd1c1; }
:root[data-theme=dark] .site-footer[data-astro-cid-nns7i3if] { --footer-bg: #102d25; --footer-ink: #f1f0e7; --footer-muted: #bdcec2; --footer-line: #456456; }
body[data-brand-accent] .primary { background: var(--brand-yellow); color: var(--brand-ink); }
html:has(.error-block),html:has(.error-page) { background: var(--brand-ink); }
@media(max-width:700px) { .liquid-hero::after { background: linear-gradient(0deg,#183c32 27%,#183c32d4 44%,transparent 83%); } }
.local-banner,.guide-card,.contact-section:not(.contact-whatsapp),.article-toc { background-color: var(--brand-surface); }
.contact-section > p { color: var(--brand-muted); }
.analytics-consent { background-color: var(--brand-forest-deep); border-color: var(--line); }
/* Light homepage hero; invert the dark-source sculpture pass onto white. */
.hero.aura-hero.liquid-hero { background: #ffffff; color: #183c32; }
.hero.liquid-hero h1 em { color: #183c32; }
.hero.liquid-hero .hero-bottom p { color: #526757; }
.hero.liquid-hero::after { background: linear-gradient(0deg,#ffffff 3%,#fffffff0 30%,#ffffff80 52%,transparent 77%); }
.hero.liquid-hero .aura-stage { filter: invert(1) hue-rotate(180deg); mix-blend-mode: multiply; }
body:has(.liquid-hero) .site-header .brand img { filter: brightness(0) saturate(100%) invert(19%) sepia(16%) saturate(1176%) hue-rotate(107deg) brightness(94%) contrast(90%); }
body:has(.liquid-hero) .site-header .langs a { color: #526757; }
body:has(.liquid-hero) .site-header .langs a[aria-current=page] { color: #183c32; text-decoration: underline; text-underline-offset: 5px; }
body.menu-open:has(.liquid-hero) .site-header .brand img { filter: none; }
body.menu-open:has(.liquid-hero) .site-header .langs a { color: #bdcec2; }
@media(max-width:700px) { .hero.liquid-hero::after { background: linear-gradient(0deg,#ffffff 27%,#ffffffdf 44%,transparent 83%); } }
body:has(.liquid-hero):not(.menu-open) .site-header .brand-word,
body:has(.liquid-hero):not(.menu-open) .site-header .brand-word i { color: #183c32; }
body:has(.liquid-hero):not(.menu-open) .site-header .brand-word > span,
body:has(.liquid-hero):not(.menu-open) .site-header .brand-word b { color: #526b19; }
/* Homepage title hierarchy: a strong statement with a quieter second voice. */
.hero.liquid-hero .aura-copy:has(.hero-title-primary) { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 32px; align-items: end; max-width: 1280px; width: 100%; }
.hero.liquid-hero .aura-copy h1:has(.hero-title-primary) { font-size: inherit; line-height: 1; margin: 0; max-width: none; letter-spacing: normal; }
.hero-title-primary { display: block; max-width: 15ch; font-size: clamp(3.5rem,7.4vw,7rem); font-style: normal; font-weight: 600; line-height: .99; letter-spacing: -.065em; text-wrap: balance; }
.hero-title-secondary { display: block; max-width: 28ch; margin-top: 24px; color: #526757; font-size: clamp(1.3rem,2.6vw,2.3rem); font-weight: 400; line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.hero.liquid-hero .aura-copy:has(.hero-title-primary) .hero-bottom { margin: 0 0 4px; }
.hero.liquid-hero .aura-copy:has(.hero-title-primary) .round-button { font-size: 14px; gap: 20px; }
@media(max-width:850px) {
 .hero.liquid-hero .aura-copy:has(.hero-title-primary) { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .hero-title-primary { font-size: clamp(3.05rem,9vw,5rem); max-width: 15ch; }
 .hero-title-secondary { margin-top: 20px; font-size: clamp(1.25rem,4.5vw,1.65rem); }
}
.hero-title-secondary { max-width: 55ch; font-size: clamp(1rem,1.7vw,1.2rem); line-height: 1.5; letter-spacing: -.015em; }

/* Full-height editorial navigation in the forest palette. */
body.menu-open { overflow: hidden; }
body.menu-open .chat-root { visibility: hidden; }
.menu-button { background: #102d25; border-color: #6b8976; width: 50px; height: 50px; }
.menu-button:hover,.menu-button:focus-visible { background: #214b3f; border-color: #d7fa45; }
.mobile-nav[hidden] { display: none; }
.mobile-nav:not([hidden]) { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(200px,1fr); grid-template-rows: auto 1fr auto; column-gap: 9vw; position: fixed; inset: 0; padding: 110px 6vw 36px; min-height: 100dvh; height: 100dvh; overflow-y: auto; background: #102d25; color: #f1f0e7; border: 0; border-radius: 0; animation: forest-menu-in .25s ease-out both; }
.mobile-nav-top { grid-column: 1/-1; padding-bottom: 20px; border-bottom: 1px solid #456456; }
.mobile-nav-top .kicker { font-family: inherit; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: #bdcec2; margin: 0; }
.mobile-nav-links { grid-column: 1; border: 0; margin: 20px 0 30px; justify-content: center; }
.mobile-nav-links > a { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border: 0; animation: none; }
.mobile-nav-links > a > span { display: none; }
.mobile-nav-links > a strong { font-size: clamp(34px,5.4vw,68px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; }
.mobile-nav-links > a b { align-self: center; font-size: 27px; color: #87a18e; }
.mobile-nav-links > a:hover,.mobile-nav-links > a:focus-visible,.mobile-nav-links > a[aria-current=page] { color: #d7fa45; }
.mobile-nav-links > a:hover b { color: #d7fa45; }
.mobile-nav-links > a:focus-visible { outline: 2px solid #d7fa45; outline-offset: 5px; }
.mobile-nav-bottom { grid-column: 2; grid-row: 2; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: 36px; gap: 28px; }
.mobile-nav-bottom .langs { order: 2; margin: 0; gap: 6px; }
.mobile-nav-bottom .langs a { display: grid; place-items: center; min-height: 44px; min-width: 44px; border-bottom: 1px solid transparent; font-family: inherit; font-size: 13px; color: #bdcec2; }
.mobile-nav-bottom .langs a[aria-current=page] { color: #d7fa45; border-bottom-color: #d7fa45; }
.mobile-nav .mobile-contact { color: #f1f0e7; font-size: clamp(16px,2vw,22px); border: 0; padding: 0; }
.mobile-nav .mobile-contact:hover { color: #d7fa45; }
.mobile-nav .menu-conversation { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 20px; border: 1px solid #698675; border-radius: 0; font-size: 16px; color: #d7fa45; }
.mobile-nav .menu-conversation:hover { background: #d7fa45; color: #102d25; }
@keyframes forest-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media(max-width:600px) {
 .mobile-nav:not([hidden]) { padding: 96px 24px max(24px,env(safe-area-inset-bottom)); grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr auto; gap: 0; }
 .mobile-nav-links { grid-column: 1; margin: 16px 0 24px; }
 .mobile-nav-links > a { padding: 9px 0; }
 .mobile-nav-links > a strong { font-size: clamp(30px,8.7vw,42px); }
 .mobile-nav-bottom { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: 1fr; padding: 20px 0 0; border-top: 1px solid #456456; gap: 16px; }
 .mobile-nav-bottom .langs { order: initial; }
 .mobile-nav .menu-conversation { justify-self: start; padding: 12px 16px; }
 .mobile-nav .mobile-contact { font-size: 16px; }
}
@media(max-height:700px) and (max-width:600px) {
 .mobile-nav:not([hidden]) { padding-top: 80px; }
 .mobile-nav-links > a strong { font-size: 29px; }
 .mobile-nav-links > a { padding: 7px 0; }
 .mobile-nav-bottom { gap: 8px; padding-top: 12px; }
}
@media(prefers-reduced-motion:reduce) { .mobile-nav:not([hidden]) { animation: none; } }
.menu-button[aria-expanded=true],.menu-button[aria-expanded=true]:hover,.menu-button[aria-expanded=true]:focus-visible { background: #d7fa45; border-color: #d7fa45; }
.menu-button[aria-expanded=true] span { background: #102d25; }
.mobile-nav-top .menu-rule { display: none; }

/* Local presence: an open two-column invitation, with a quiet location rail. */
main > .local-banner.local-editorial { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(210px,.8fr); gap: clamp(28px,6vw,88px); align-items: center; border: 1px solid #597363; border-radius: 0; background: #102d25; padding-block: clamp(36px,6vw,76px); }
.local-editorial .local-copy { min-width: 0; }
.local-editorial .kicker { display: block; color: #d7fa45; font-family: inherit; letter-spacing: .06em; font-size: 12px; margin-bottom: 24px; }
.local-editorial h2 { margin: 0 0 22px; max-width: 19ch; font-size: clamp(2.1rem,4.5vw,4.3rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 600; }
.local-editorial .local-copy > p { max-width: 46ch; color: #bdcec2; font-size: 1rem; margin-bottom: 30px; }
.local-editorial .local-copy > a { display: inline-flex; padding: 0 0 8px; border-bottom: 1px solid #d7fa45; color: #d7fa45; font-size: .95rem; }
.local-location { align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #456456; padding-left: clamp(24px,4vw,54px); }
.local-location svg { width: 34px; height: 34px; color: #d7fa45; margin-bottom: 24px; }
.local-location strong { font-size: clamp(2rem,4vw,3.2rem); line-height: 1.1; font-weight: 500; letter-spacing: -.045em; }
.local-location span { margin-top: 9px; font-size: 14px; color: #bdcec2; }
.local-location p { color: #bdcec2; max-width: 23ch; font-size: .9rem; margin: 28px 0 0; }
/* Conversational interior: a light reading surface and a clear forest header. */
.chat-root .chat-panel { width: min(430px,calc(100vw - 32px)); height: min(680px,calc(100dvh - 116px)); max-height: calc(100dvh - 116px); background: #f1f0e7; color: #183c32; border: 1px solid #567362; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 70px #001d2440; }
.chat-root .chat-header { background: #102d25; color: #f1f0e7; padding: 18px; border-bottom: 1px solid #456456; }
.chat-root .chat-header h2 { font-size: 18px; font-weight: 600; }
.chat-root .chat-header p { color: #bdcec2; max-width: 29ch; font-size: 11px; line-height: 1.5; }
.chat-root .chat-mini-logo { border-radius: 50%; width: 40px; height: 40px; font-size: 25px; background: #d7fa45; color: #102d25; }
.chat-root .chat-toolbar { background: #f1f0e7; color: #526757; padding: 4px 18px; border-bottom: 1px solid #d0d7c9; font-size: 12px; }
.chat-root .chat-reset { color: #183c32; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.chat-root .chat-history { flex: 1 1 auto; min-height: 80px; padding: 20px 18px 12px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #8fa38f transparent; }
.chat-root .chat-message { max-width: 94%; background: #ffffff; color: #183c32; padding: 14px 16px; border: 1px solid #dbe0d4; border-radius: 14px 14px 14px 3px; font-size: 14px; line-height: 1.65; margin-bottom: 14px; }
.chat-root .chat-message.user { max-width: 88%; background: #214b3f; color: #f1f0e7; border-color: #214b3f; border-radius: 14px 14px 3px 14px; }
.chat-root .chat-message a { color: #365b15; text-decoration: underline; }
.chat-root .chat-message.user a { color: #d7fa45; }
.chat-root .chat-prepared-label { color: #526757; font-size: 11px; }
.chat-root .chat-suggestions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; overflow: visible; padding: 0 18px 14px; }
.chat-root .chat-suggestions button { justify-content: space-between; text-align: left; white-space: normal; font-size: 12px; line-height: 1.4; padding: 10px; min-height: 48px; border: 1px solid #b6c4b1; border-radius: 8px; background: transparent; color: #183c32; }
.chat-root .chat-suggestions button svg { flex-shrink: 0; }
.chat-root .chat-suggestions button:hover { background: #e3e8d9; border-color: #567362; }
.chat-root .chat-form { padding: 12px 18px; gap: 8px; background: #fff; border-top: 1px solid #d0d7c9; }
.chat-root .chat-form input { border: 0; border-radius: 0; background: transparent; color: #183c32; font-size: 16px; padding: 0 4px; }
.chat-root .chat-form input::placeholder { color: #687b69; }
.chat-root .chat-form .icon-button { border-radius: 50%; flex-basis: 44px; }
.chat-root .chat-footer { padding: 10px 18px 6px; gap: 14px; border: 0; color: #526757; background: #fff; font-size: 10px; }
.chat-root .chat-contact { color: #183c32; white-space: nowrap; }
.chat-root .chat-safety { background: #fff; color: #687b69; padding: 0 18px 12px; font-size: 10px; }
.chat-root :focus-visible { outline-color: #526b19; }
@media(max-width:700px) {
 main > .local-banner.local-editorial { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .local-location { border-left: 0; border-top: 1px solid #456456; padding: 24px 0 0; display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; }
 .local-location svg { grid-row: 1/4; margin: 0; }
 .local-location strong { font-size: 1.8rem; }
 .local-location span,.local-location p { grid-column: 2; margin-top: 7px; max-width: none; }
}
@media(max-width:600px) {
 .chat-root .chat-panel { width: calc(100vw - 24px); bottom: max(78px,calc(env(safe-area-inset-bottom) + 66px)); height: min(660px,calc(100dvh - 98px)); max-height: calc(100dvh - 98px); }
 .chat-root .chat-header { padding: 14px; }
}
@media(max-height:650px) { .chat-root .chat-suggestions { display: flex; overflow-x: auto; } .chat-root .chat-suggestions button { min-width: 160px; } }
