/* Shared material system. Solid surfaces remain the fallback for unsupported blur. */
:root {
  --paper: #f9faf9;
  --ink: #15221e;
  --muted: #5e6b65;
  --green: #087a50;
  --on-green: #fff;
  --soft: #eef2ef;
  --leaf: #dce9e1;
  --line: #d8dfda;
  --night: #101f19;
  --glass: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .94);
  --glass-shadow: 0 12px 48px #112c1c0b, inset 0 1px 0 #fff;
  --header-height: 88px;
  --gutter: clamp(20px, 4.4vw, 76px);
  --ease: cubic-bezier(.2,.75,.2,1);
}
[data-theme="dark"] {
  --paper: #101915;
  --ink: #edf3ef;
  --muted: #afbeb5;
  --green: #a7e4bf;
  --on-green: #0b3821;
  --soft: #1c2a22;
  --leaf: #2b4133;
  --line: #35473c;
  --night: #09120d;
  --glass: rgba(27, 42, 33, .87);
  --glass-edge: rgba(216, 243, 223, .17);
  --glass-shadow: 0 12px 48px #0003, inset 0 1px 0 #e1ffe015;
}
body, button, input, select, textarea { font-family: 'Manrope', Arial, sans-serif; }
h1, h2, h3, em { font-family: 'Manrope', Arial, sans-serif; font-style: normal; }
h1, h2 { font-weight: 500; letter-spacing: -.065em; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.125rem); }
h2 span { color: var(--muted); }
h3 { font-weight: 600; letter-spacing: -.035em; }
.section-label { font-family: inherit; font-size: 0.625rem; letter-spacing: .13em; font-weight: 700; }
.site-header { background: transparent; border: 0; height: var(--header-height); padding: 12px 22px; }
.header-inner { width: min(100%, 1480px); height: 64px; gap: 22px; padding: 8px 10px 8px 14px; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 22px; box-shadow: var(--glass-shadow); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); }
.brand { gap: 10px; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand span { font-family: inherit; font-size: 0.5625rem; font-weight: 700; letter-spacing: .015em; line-height: 1.5; }
.desktop-nav { margin: auto; gap: 24px; }
.desktop-nav a { font-size: 0.75rem; font-weight: 600; }
.header-contact { min-height: 44px; padding: 10px 17px; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: inset 0 1px 0 #ffffff26, 0 3px 7px #102a1520; font-size: 0.6875rem; }
.header-actions { gap: 6px; }
.icon-button { background: transparent; border: 1px solid transparent; border-radius: 14px; }
.icon-button:hover { border-color: var(--line); }
.glass-surface { border: 1px solid var(--glass-edge); background: var(--glass); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
.button { position: relative; min-height: 52px; padding: 6px 6px 6px 20px; gap: 24px; border-radius: 16px; border: 1px solid #ffffff1a; background: var(--green); color: var(--on-green); box-shadow: inset 0 1px 1px #ffffff35, 0 4px 0 #003e2c, 0 9px 20px #102a1514; font-size: 0.8125rem; font-weight: 700; letter-spacing: -.015em; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.button > .site-icon { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: #ffffff19; box-shadow: inset 0 1px 0 #ffffff18; transition: transform .25s; }
.button:hover { transform: translateY(-3px); box-shadow: inset 0 1px 1px #ffffff35, 0 6px 0 #003e2c, 0 14px 24px #102a1520; }
.button:active { transform: translateY(3px); box-shadow: inset 0 1px 1px #ffffff35, 0 1px 0 #003e2c; }
.button:hover > .site-icon { transform: translateX(1px); }
.button-white { background: #f7fbf8; color: #173c2c; box-shadow: inset 0 1px 0 #fff, 0 4px 0 #c3d3c8, 0 10px 20px #0002; }
.button-white > .site-icon { background: #dfece3; }
.button-white:hover { box-shadow: inset 0 1px 0 #fff, 0 6px 0 #c3d3c8, 0 14px 22px #0002; }
.button-outline { background: var(--glass); border-color: var(--line); color: var(--ink); box-shadow: 0 3px 0 var(--line); }
.button-glass { background: #ffffffdf; color: #112e21; border: 1px solid #fff; backdrop-filter: blur(15px); box-shadow: 0 4px 0 #d6e2d8, 0 8px 25px #0002; }
.text-link { font-family: inherit; font-size: 0.75rem; font-weight: 600; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
dialog { border: 1px solid var(--glass-edge); border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 35px 140px #0005; max-width: calc(100vw - 28px); }
dialog::backdrop { background: #071b1455; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.navigation-dialog { width: 640px; max-width: calc(100vw - 28px); padding: 25px; }
.navigation-dialog nav { grid-template-columns: 1fr 1fr; gap: 0 20px; }
.navigation-dialog nav a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
.dialog-top { padding-bottom: 16px; }
.dialog-top > span { font-size: 0.75rem; font-weight: 600; }
.contact-panel { border: 1px solid var(--glass-edge); border-radius: 26px; background: var(--glass); padding: 30px; box-shadow: var(--glass-shadow); }
.contact-panel input, .contact-panel select, .contact-panel textarea { border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.contact-panel input:focus, .contact-panel select:focus, .contact-panel textarea:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.contact-panel .button { width: 100%; }
.contact-person img { width: 48px; height: 48px; background: var(--soft); }
.contact-person strong { font-weight: 700; }
.contact-person span { font-size: 0.625rem; }
.contact-panel > h3 { font-size: 1.5rem; }
.selected-answer { border: 0; border-left: 2px solid var(--green); background: transparent; padding: 5px 0 5px 14px; }
.selected-answer > p, .form-note { font-size: 0.6875rem; }
.question > summary { font-size: 1.0625rem; font-weight: 500; }
.question > summary .site-icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; border: 1px solid var(--line); }
.question[open] > summary { color: var(--green); }
.question-answer > p { font-size: 0.8125rem; }
.guide-index a, .filter-row button, .category-filter { border-radius: 12px; }
.site-footer { background: var(--night); color: #edf4ef; border-radius: 36px 36px 0 0; }
.footer-heading h2, .footer-heading h2 span { font: 500 clamp(32px, 4vw, 52px)/1.12 'Manrope', Arial, sans-serif; letter-spacing: -.05em; }
.footer-heading h2 span { color: #a0b7a8; }
.footer-main nav a { font-size: 0.75rem; }
.footer-main .brand span { color: #fff; }
.footer-contact .theme-field { color: #b5cabc; }
.footer-contact select { color: #f1f7f3; background: #1d3628; border-color: #496250; border-radius: 8px; }
.footer-bottom, .preview-note { font-size: 0.625rem; color: #b2c3b6; }
.mobile-actions { background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-edge); border-radius: 20px; box-shadow: 0 6px 28px #0002; left: 12px; right: 12px; bottom: 10px; width: auto; padding: 6px; gap: 6px; }
.mobile-actions a { min-height: 44px; border-radius: 14px; font-size: 0.6875rem; }
.mobile-actions .mobile-demo { color: var(--ink); background: transparent; }
.mobile-actions .mobile-whatsapp { background: var(--green); color: var(--on-green); }
@media (min-width: 761px) { .mobile-actions { display: none; } }
@media (max-width: 1100px) { .desktop-nav { gap: 16px; } .desktop-nav a { font-size: 0.625rem; } }
@media (max-width: 980px) { .desktop-nav { display: none; } .js .menu-toggle { display: inline-flex !important; } .header-actions { margin-left: auto; } }
@media (max-width: 760px) {
  :root { --header-height: 78px; --gutter: 22px; }
  .site-header { padding: 9px 12px; }
  .header-inner { height: 60px; padding: 6px 8px; border-radius: 19px; gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .brand span { font-size: 0.5rem; }
  .brand { gap: 7px; }
  .header-contact { display: none; }
  .header-actions { gap: 0; }
  .icon-button { width: 38px; height: 40px; }
  h2 { font-size: 2.375rem; }
  .button { font-size: 0.75rem; }
  .navigation-dialog { padding: 20px; border-radius: 24px; }
  .navigation-dialog nav a { font-size: 0.8125rem; }
  .contact-panel { padding: 24px 20px; border-radius: 22px; }
  .site-footer { padding-bottom: 100px; }
}
@media (max-width: 359px) {
  :root { --gutter: 18px; }
  .brand span { font-size: 0.4375rem; }
  .brand img { width: 35px; height: 35px; }
  .header-inner { padding-inline: 7px; }
  .button { gap: 12px; padding-left: 14px; }
  .contact-panel { padding: 20px 16px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root { --glass: #ffffff; }
  [data-theme="dark"] { --glass: #17251c; }
  .header-inner, .glass-surface, .mobile-actions, dialog::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .button:hover, .button:active { transform: none; }
}
