/* AEVO Capital — layout corrections only. Original branding and gradients unchanged. */
:root{color-scheme:light}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
*,*::before,*::after{box-sizing:border-box}
body{min-width:0;overflow-x:clip}
img,video,iframe{max-width:100%;height:auto}
svg{max-width:100%}
input,select,textarea,button{font:inherit;max-width:100%}
textarea{resize:vertical}
header a,header button,header summary{touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7B2CD4;outline-offset:3px}
/* Do not allow flex children and cards to force page width on smaller screens. */
x-dc,main,section,footer,header{max-width:100%}
section *,footer *,header *{min-width:0}
.dd-wrap:focus-within .dd-panel, header nav>div:focus-within .dd-panel{display:block!important}
.aevo-language{display:flex;align-items:center;gap:3px;flex:none;border:1px solid #E6E8EE;padding:3px;border-radius:999px;background:#fff;box-shadow:0 2px 10px rgba(15,16,24,.035);white-space:nowrap;z-index:3}
.aevo-language svg{width:15px;height:15px;stroke:#71748A;fill:none;stroke-width:1.8;flex:none;margin-left:5px}
.aevo-language a{display:inline-flex;align-items:center;justify-content:center;min-width:31px;min-height:29px;padding:4px 7px;border-radius:999px;text-decoration:none;font-size:12px;font-weight:700;color:#616577!important}
.aevo-language a[aria-current="page"]{color:#fff!important;background:#7B2CD4}
.aevo-language a:hover:not([aria-current="page"]){background:#F1F3F7}
.aevo-mobile-links details{border-bottom:1px solid #EFF1F5}
.aevo-mobile-links summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;font-size:.89rem;font-weight:600;padding:13px 5px;color:#3A3D4A}
.aevo-mobile-links summary::-webkit-details-marker{display:none}
.aevo-mobile-links summary:after{content:'+';font-size:18px;color:#7B2CD4}
.aevo-mobile-links details[open] summary:after{content:'−'}
.aevo-mobile-links a{display:block;padding:10px 14px!important;font-size:.88rem!important;color:#3A3D4A!important;text-decoration:none}
.aevo-mobile-links a:hover{background:#F7F4FC;border-radius:8px}
@media(max-width:1100px){
  header .aevo-nav-desktop{display:none!important}
  header .aevo-burger{display:inline-flex!important}
  header nav[style*="gap:22px"]{display:none!important}
  header label.mnav-burger{display:flex!important;margin-left:2px!important}
  header>.mnav-panel{z-index:70}
  header input#mnav:checked ~ .mnav-panel{display:block!important}
  header .aevo-language{margin-left:auto}
  header>div[style*="padding:18px 32px"]{gap:12px!important;padding:14px 22px!important}
  header a[href="/kontakt/"][style*="background:#7B2CD4"],header a[href="/en/contact/"][style*="background:#7B2CD4"]{display:none!important}
}
@media(max-width:900px){
  header .aevo-nav-desktop{display:none!important}
  header .aevo-burger{display:inline-flex!important}
  header a[href="#kontakt"][style*="background:linear-gradient"]{display:none!important}
  header>div[style*="padding-inline:26px"]{padding-left:18px!important;padding-right:18px!important;gap:10px!important}
  header .aevo-language{margin-left:auto}
  [style*="grid-template-columns:repeat(4,1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="grid-template-columns:1.6fr 1fr 1fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr 1fr 1fr"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="grid-template-columns:repeat(3,1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="grid-template-columns:1.05fr .95fr"]{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:760px){
  header>div[style*="padding:18px 32px"]{padding:12px 16px!important;gap:8px!important}
  header .mnav-panel{max-height:calc(100dvh - 72px)!important;overflow-y:auto!important}
  header .aevo-mobile-links{padding-bottom:10px}
  header svg[role="img"]{max-width:110px!important;height:auto!important}
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns:1fr 1fr;gap:50px"],
  [style*="grid-template-columns:1fr 1fr;gap:64px"],
  [style*="grid-template-columns:minmax(0,1fr) minmax(0,1fr)"],
  [style*="grid-template-columns:0.9fr 1.1fr"]{grid-template-columns:minmax(0,1fr)!important}
  [style*="grid-template-columns:1.4fr 1fr 1fr 1fr"],
  [style*="grid-template-columns:1.6fr 1fr 1fr 1fr"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="padding:70px 32px"], [style*="padding:60px 32px"],
  [style*="padding:50px 32px"], [style*="padding:40px 32px"],
  [style*="padding:30px 32px"], [style*="padding:26px 32px"],
  [style*="padding:0 32px"]{padding-left:18px!important;padding-right:18px!important}
  [style*="font-size:42px"], [style*="font-size:38px"], [style*="font-size:34px"]{font-size:clamp(26px,7vw,34px)!important}
  [style*="min-width:260px"], [style*="min-width:290px"], [style*="min-width:300px"]{min-width:0!important}
  [style*="display:flex;gap:24px;flex-wrap:wrap"]{gap:12px!important}
  [style*="padding:64px 40px"]{padding:36px 20px!important}
}
@media(max-width:480px){
  header>div[style*="padding-inline:26px"]{padding-left:14px!important;padding-right:14px!important}
  header svg[role="img"]{max-width:102px!important}
  header .aevo-language a{min-width:29px;padding:4px 6px}
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns:1.6fr 1fr 1fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr 1fr 1fr"]{grid-template-columns:minmax(0,1fr)!important}
  [style*="padding:20px 26px"]{padding-left:16px!important;padding-right:16px!important}
  [style*="padding:18px 32px"]{padding-left:16px!important;padding-right:16px!important}
  button,[type=submit]{white-space:normal}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* 2026-10-13: staging-safe mobile layout + icons (existing palette retained). */
.aevo-language{font-size:12px!important;line-height:1!important}
.aevo-language>svg{width:16px!important;height:16px!important;stroke:#71748A!important;fill:none!important;margin:0 3px 0 5px!important}
.aevo-language>a{font-size:12px!important;line-height:1!important;letter-spacing:0!important}
.aevo-about-graphic svg,.aevo-service-icon svg{display:block!important;opacity:1!important}
/* Cards use different first-column SVGs, rather than an empty symbol background. */
@media(max-width:1100px){
 header .aevo-header-cta{display:none!important}
 header .aevo-nav-desktop{display:none!important}
 header nav[style*="gap:22px"]{display:none!important}
 header .aevo-burger,header .mnav-burger{display:inline-flex!important}
 header .aevo-language{margin-left:auto!important}
}
@media(max-width:760px){
 header{width:100%!important;max-width:100%!important}
 header>div[style*="display:flex"]{max-width:100%!important;min-height:62px!important;padding:10px 16px!important;gap:10px!important;flex-wrap:nowrap!important}
 header svg[role="img"]{max-width:112px!important;max-height:53px!important;height:auto!important;min-width:90px!important}
 header .aevo-burger,header .mnav-burger{width:42px!important;height:42px!important;flex:0 0 42px!important;margin-left:0!important}
 header .aevo-language{margin-left:auto!important;flex-shrink:0!important;gap:2px!important}
 header .aevo-language a{min-width:30px!important;min-height:32px!important;padding:6px!important}
 header .aevo-language svg{width:15px!important;height:15px!important}
 header .mnav-panel{position:absolute!important;left:0!important;right:0!important;top:100%!important;max-height:calc(100dvh - 64px)!important;overflow-y:auto!important;background:#fff!important;box-shadow:0 18px 40px rgba(16,18,32,.12)!important;z-index:70!important}
 header .aevo-mobile-links details>a{padding:11px 14px!important}
 header>div[style*="{{ mobileNavStyle }}"]{max-height:calc(100dvh - 64px)!important}
 section{scroll-margin-top:72px}
 #o-nas,#kontakt{scroll-margin-top:72px}
 [style*="grid-template-columns:repeat(3,1fr)"],
 [style*="grid-template-columns:1fr 1fr;gap:64px"],
 [style*="grid-template-columns:1fr 1fr;gap:60px"],
 [style*="grid-template-columns:1fr 1fr;gap:50px"],
 [style*="grid-template-columns:1.05fr .95fr"]{grid-template-columns:minmax(0,1fr)!important}
 #proces [style*="grid-template-columns:repeat(3,1fr)"]{grid-template-columns:minmax(0,1fr)!important}
 #o-nas [style*="grid-template-columns:1fr 1fr"],
 #kontakt [style*="grid-template-columns:1.05fr .95fr"]{grid-template-columns:minmax(0,1fr)!important}
 #proces [style*="padding:36px 32px"]{padding:25px 22px!important}
 [style*="padding:36px 32px"]{padding:26px 22px!important}
 [style*="padding:42px 38px"]{padding:28px 22px!important}
 [style*="padding:36px"]{padding:26px 20px!important}
 [style*="column-gap:24px;row-gap:44px"]{grid-template-columns:minmax(0,1fr)!important;row-gap:18px!important}
 main>section:first-child[style*="min-height:min(100svh"]{min-height:75svh!important;padding-top:108px!important}
 main>section:first-child h1{font-size:clamp(2rem,8vw,2.9rem)!important}
}
@media(max-width:400px){
 header svg[role="img"]{max-width:95px!important;min-width:80px!important}
 header .aevo-language>a{min-width:27px!important;padding:5px!important}
 header .aevo-language>svg{margin-left:3px!important;margin-right:0!important}
}
