/* Shared V1.1 chrome. Loaded last; preserves navigation and contact destinations. */
@media screen {
  /* Brief feedback without moving controls or delaying the content. */
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) :is(.button,.talk,.whatsapp,summary,.header nav a,footer a) {
    transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) main summary {
    cursor:pointer;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) main summary:is(:hover,:focus-visible) {color:#00853d}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) main summary:focus-visible {
    outline:3px solid #123f32;
    outline-offset:4px;
    box-shadow:0 0 0 3px #fcfbf7;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) main .button.primary:not(:disabled):not([aria-disabled="true"]):active,
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk:active {
    background:#123f32;
    border-color:#123f32;
    color:#fff;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) main .button.outline:not(:disabled):not([aria-disabled="true"]):active {
    background:#e9ecdf;
    color:#123f32;
    border-color:#123f32;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) .services-dropdown > summary > span[aria-hidden="true"] {
    display:inline-block;
    transition:transform 180ms ease;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) .services-dropdown[open] > summary > span[aria-hidden="true"] {transform:rotate(180deg)}
  @media (prefers-reduced-motion:reduce) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) :is(.button,.talk,.whatsapp,summary,.header nav a,footer a),
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) .services-dropdown > summary > span[aria-hidden="true"] {
      transition:none !important;
    }
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header {
    background:#fcfbf7;
    border-bottom:1px solid #deded2;
    backdrop-filter:none;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .header-inner {
    max-width:1440px;
    min-height:100px;
    padding:20px 5%;
    gap:36px;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .logo {width:154px}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav {gap:32px}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk {
    display:flex;
    align-items:center;
    justify-content:center;
    background:#00853d;
    color:#fff;
    min-height:48px;
    padding:13px 26px;
    border-radius:0;
    font-size:14px;
    font-weight:600;
    letter-spacing:.01em;
    flex-shrink:0;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk:hover {background:#123f32}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk:focus-visible {
    outline:3px solid #123f32;
    outline-offset:4px;
    box-shadow:0 0 0 3px #fcfbf7;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-top > p {
    display:block;
    margin:0;
    color:#fcfbf7;
    font-family:Georgia,'Times New Roman',serif;
    font-size:25px;
    line-height:1.3;
  }
  /* Keyboard focus must remain distinct on the dark conversion sections. */
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) main :is(.sst-final,.capabilities-final,.about-close,.contact-close,.diagnostic) :is(a.button,button.button,a):focus-visible {
    outline:3px solid #fcfbf7;
    outline-offset:5px;
    box-shadow:0 0 0 3px #123f32;
  }
  @media (max-width:1100px) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .header-inner {padding:16px 5%;gap:16px}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav {gap:18px}
  }
  /* Keep the floating contact control in the desktop gutter, clear of text. */
  @media (min-width:1101px) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp {
      width:48px;
      height:48px;
      min-width:0;
      padding:10px;
      right:12px;
      bottom:18px;
      box-sizing:border-box;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:0;
    }
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp > span {display:none}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp > svg {width:28px;height:28px;flex-shrink:0}
  }
  @media (max-width:900px) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav {gap:0}
  }
  @media (max-width:640px) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .header-inner {min-height:78px;padding:14px 6%;gap:10px}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .logo {width:115px}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk {min-height:44px;padding:10px 12px;font-size:12px}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .menu-toggle {min-height:44px;padding:8px;font-size:12px}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-top > p {font-size:23px}
  }
}

/* V14: white brand surfaces, clearer navigation and a round contact control. */
@media screen {
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header,
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header.scrolled {
    background:#fff;
    border-bottom-color:#e1e8e3;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .logo,
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .logo {background:#fff;border-radius:0}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > a,
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > .services-dropdown > summary {
    min-height:44px;
    padding:10px 14px;
    border:1px solid transparent;
    border-radius:6px;
    font-weight:600;
    color:#123f32;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > a[href="/diagnostico"] {
    background:#edf5ef;
    border-color:#b8d5c1;
    color:#006d32;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > a:hover,
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > .services-dropdown > summary:hover,
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > .services-dropdown[open] > summary {
    background:#edf5ef;
    border-color:#b8d5c1;
    color:#006d32;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk {
    border:1px solid #00853d;
    border-radius:6px;
    font-weight:700;
    box-shadow:0 3px 10px #123f321f;
    gap:12px;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk::after {content:'↗';font-size:18px;line-height:1}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk:hover {border-color:#123f32;box-shadow:0 5px 14px #123f322b}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header :is(nav > a,.services-dropdown > summary):focus-visible {
    outline:3px solid #00853d;outline-offset:3px;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer {
    background:#fff;
    color:#123f32;
    border-top:1px solid #d8e2da;
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer :is(.footer-top,.footer-bottom) {border-color:#d8e2da}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-top > p,
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-grid .footer-title {color:#123f32}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer :is(.footer-grid a,.footer-bottom) {color:#465b50}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer a:hover {color:#006d32}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer a:focus-visible {outline-color:#00853d}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp {
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    min-width:56px;
    padding:12px;
    gap:0;
    box-sizing:border-box;
    border:2px solid #fff;
    border-radius:50%;
    background:#00853d;
    color:#fff;
    box-shadow:0 4px 16px #123f3238;
    right:16px;
    bottom:20px;
    bottom:max(20px,env(safe-area-inset-bottom));
  }
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp > span {display:none}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp > svg {width:28px;height:28px;flex-shrink:0}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp:hover {background:#006d32;box-shadow:0 6px 20px #123f3245}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp:focus-visible {outline:3px solid #123f32;outline-offset:4px}
  @media (min-width:901px) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav {gap:12px}
  }
  @media (min-width:901px) and (max-width:1100px) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav {gap:4px}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > a,
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > .services-dropdown > summary {padding:10px}
  }
  @media (max-width:900px) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav {background:#fff}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > a,
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header nav > .services-dropdown > summary {padding:12px;min-height:48px}
  }
  @media (max-width:640px) {
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk {gap:6px;padding:10px 12px}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .header .talk::after {font-size:15px}
    body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) > .whatsapp {width:52px;height:52px;min-width:52px;padding:10px;right:12px}
  }
}
/* White brand strip; green site directory creates a distinct closing section. */
@media screen {
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer{padding:0;background:#fff}
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-top{padding:48px max(5%,calc((100vw - 1400px)/2));margin:0;border:0;background:#fff}
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-grid{margin:0;padding:40px max(5%,calc((100vw - 1400px)/2));background:#123f32;color:#fff}
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-grid .footer-title{color:#fff}
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-grid a{color:#e1ece5}
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-bottom{margin:0;padding:24px max(5%,calc((100vw - 1400px)/2)) 32px;background:#123f32;border-color:#ffffff30;color:#d4e3d9}
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer :is(.footer-grid,.footer-bottom) a:hover{color:#fff;text-decoration:underline}
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer :is(.footer-grid,.footer-bottom) a:focus-visible{outline-color:#c4e5b1}
 @media(max-width:640px){
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-top{padding:32px 6%;gap:24px}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-grid{padding:32px 6%;gap:26px 20px}
  body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer .footer-bottom{padding:24px 6% 82px}
 }
}
@media screen {
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer div.footer-bottom,
 body:is(.home-page,.sst-page,.contact-v11,.v11-chrome) footer div.footer-bottom > :is(span,a){color:#d4e3d9}
}
