/* advokatka-budyne.cz — hand-written CSS, values measured from the original
   Webflow site (see MEASURE-PRESERVE.md). No framework. */

@font-face { font-family: "Uncut Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Uncut-Sans-Regular.woff") format("woff"); }
@font-face { font-family: "Uncut Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Uncut-Sans-Medium.woff") format("woff"); }

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --gray-900: #040605;
  --gray-600: #424847;
  --gray-200: #eceeed;
  --gray-100: #fafafa;
  --green-base: #45877e;
  --green-dark: #2a514c;
  --green-darker: #1c3632;
  --green-lighter: #f1f8f7;
  --ease: cubic-bezier(.6, .6, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
html { scroll-padding-top: 0; }
body {
  margin: 0; min-height: 100%;
  background: #fff; color: var(--gray-900);
  font-family: Inter, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; border: 0; vertical-align: middle; display: inline-block; }
a { color: var(--green-base); text-decoration: none; }
p { margin: 0; font-size: 16px; line-height: 24px; }
h1, h2, h3 { margin: 0; font-family: "Uncut Sans", sans-serif; font-weight: 500; }
h1 { font-size: 56px; letter-spacing: -.02em; line-height: 1.2; }
h2 { font-size: 48px; letter-spacing: -.02em; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--green-base); outline-offset: 2px; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 2000; background: var(--green-darker); color: #fff; padding: 12px 16px; }
.skip-link:focus { top: 8px; }

/* ---------- helpers ---------- */
.container { z-index: 1; width: 100%; max-width: 1128px; margin-left: auto; margin-right: auto; position: relative; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-80 { margin-bottom: 80px; }
.lead { color: var(--gray-600); letter-spacing: -.02em; font-size: 18px; line-height: 1.5; }
.overtitle {
  /* Original asks for "Satoshi", which is never loaded, so live shows the
     browser's default serif. Reproduced (FIDELITY, see DECISIONS F13). */
  color: var(--green-base); font-family: serif; font-size: 14px; font-weight: 700;
  letter-spacing: .04em; line-height: 1.8; text-transform: uppercase; margin: 0 0 12px;
}
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  background: var(--green-base); color: #fff; text-align: center;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 1.6;
  transition: all .3s var(--ease);
}
.btn:hover { background: var(--green-dark); }
.btn:active { background: var(--green-darker); }
.btn-icon { padding: 12px 16px 12px 24px; }
.btn-nav { padding: 12px 24px; }
.btn .icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }

/* ---------- navigation ---------- */
.navigation-fixed { position: absolute; inset: 0 0 auto; z-index: 1000; }
.navigation { position: relative; display: flex; align-items: center; height: 112px; padding: 0 5%; }
.navigation-container { position: relative; display: flex; align-items: center; width: 100%; max-width: 1128px; margin: 0 auto; }
.nav-menu { display: flex; align-items: center; gap: 40px; width: 100%; padding-left: 40px; }
.navigation-link { display: flex; align-items: center; gap: 12px; flex: 1; }
.navigation-button-wrapper { display: flex; align-items: center; gap: 16px; }
.nav-link {
  border: 1px solid transparent; padding: 8px 16px; color: var(--gray-600);
  font-size: 14px; font-weight: 500; letter-spacing: -.01em; line-height: 1.8;
  transition: all .3s var(--ease);
}
.nav-link:hover { border-color: var(--gray-200); color: var(--gray-900); }
.nav-link[aria-current="page"] { border-color: var(--gray-100); background: var(--gray-100); color: var(--gray-900); }
.menu-button {
  display: none; margin-left: auto; padding: 12px; border: 0; cursor: pointer;
  background: var(--green-base); color: #fff; transition: all .3s var(--ease);
}
.menu-button:hover, .navigation.is-open .menu-button { background: var(--green-darker); }
.menu-button svg { display: block; width: 24px; height: 24px; }

/* ---------- hero ---------- */
.section-header { position: relative; isolation: isolate; overflow: hidden; max-width: 2400px; margin: 0 auto; padding: 124px 5% 0; }
.header-background {
  position: absolute; inset: 0 0 0 auto; z-index: -1; display: flex; justify-content: flex-end;
  width: 40%; height: 100%; background: var(--green-darker);
}
.header-grid { display: grid; grid-template-columns: 1fr 1.25fr; grid-column-gap: 33px; grid-row-gap: 32px; }
.header-text { display: flex; flex-direction: column; align-items: flex-start; align-self: center; margin-bottom: 72px; }
.header-text h1 { font-size: 48px; font-weight: 400; line-height: 1.3; }
.header-button { margin-top: 40px; }
.header-image { display: flex; align-items: flex-end; position: relative; }
.header-image img { display: block; height: auto; }

/* ---------- about ---------- */
.section-about { position: relative; isolation: isolate; padding: 96px 5% 100px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 32px; grid-row-gap: 32px; }
.about-image { position: relative; }
.about-image-block { position: relative; }
.about-image-block img { max-width: 100%; height: auto; }
.about-background {
  position: absolute; inset: auto 0 0 0; z-index: -1; display: flex; align-items: flex-end;
  width: 65%; height: 90%; background: var(--green-lighter);
}
.about-background img { width: 100%; height: 100%; }
.about-text { align-self: center; max-width: 456px; }
.about-text h2 { font-size: 48px; }
.about-more { margin: 109px 4% 0; }
.about-more p + p { margin-top: 24px; }

/* ---------- services ---------- */
.section-services { position: relative; padding: 20px 5% 37px; }
.title-grid { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 32px; grid-row-gap: 32px; }
.title-grid.single { grid-template-columns: 1fr; }
.area-wrapper { display: flex; align-items: flex-start; column-gap: 40px; }
.area-wrapper + .area-wrapper { margin-top: 0; }
.area-column { display: flex; flex-direction: column; align-items: flex-start; row-gap: 56px; }
.area-spacer { width: 100%; height: 1px; }
.area-card { position: relative; border: 1px solid var(--gray-200); padding: 40px 20px; }
.area-badge {
  position: absolute; inset: -16px auto auto 40px; display: inline-block; margin-bottom: 24px; padding: 4px 12px;
  background: var(--green-lighter); color: var(--green-base);
  font-size: 12px; font-weight: 700; letter-spacing: .07em; line-height: 2; text-transform: uppercase;
}
.area-card h3 { margin-bottom: 16px; font-size: 24px; letter-spacing: -.0125em; line-height: 1.4; }

/* ---------- fee ---------- */
.section-dark { position: relative; overflow: hidden; padding: 55px 5% 35px; background: var(--gray-100); }
.section-dark p { padding-top: 40px; }

/* ---------- contact ---------- */
.section-contact { position: relative; width: 100%; }
.contact-block { position: relative; z-index: 0; overflow: hidden; width: 100%; max-width: 1376px; padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; grid-row-gap: 72px; width: 100%; }
.contact-text { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; width: 100%; margin-bottom: 20px; padding-left: 5%; }
.contact-text h2 { font-size: 48px; }
.contact-details { display: flex; flex-direction: column; justify-content: space-around; align-items: baseline; gap: 24px; width: 100%; margin: 115px 0 0; padding: 0; list-style: none; text-align: justify; font-size: 18px; }
.contact-row { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; padding-right: 40px; text-align: right; }
.contact-row p, .contact-row span { display: block; margin: 0; color: var(--gray-600); font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: -.03em; text-align: left; }
.contact-row a { color: inherit; }
.contact-row a:hover { color: var(--green-base); text-decoration: underline; }

/* Map: the original Webflow widget is a 400 px full-width Google map that
   loads Google scripts automatically. Here the same Google map is an iframe
   (no API key, no script of ours) loaded with the page, lazily when the
   contact section comes near the viewport (DECISIONS D5). */
.map { position: relative; width: 100%; height: 400px; background: var(--green-lighter); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.footer { padding: 20px 5%; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px;
  padding: 20px 0 16px; border-top: 1px solid var(--gray-200);
  font-size: 12px; font-weight: 500; line-height: 1.4;
}
.footer-bottom a { color: var(--gray-900); }
.footer-bottom a:hover { color: var(--green-base); text-decoration: underline; }

/* ---------- legal / 404 pages ---------- */
.page-plain { padding: 160px 5% 80px; }
.legal { max-width: 680px; margin: 0 auto; }
.legal h1 { font-size: 48px; margin-bottom: 40px; }
.legal h2 { font-size: 28px; margin: 40px 0 12px; line-height: 1.3; }
.legal p { margin-bottom: 16px; color: var(--gray-600); }
.legal a { text-decoration: underline; }
.legal .updated { margin-top: 40px; font-size: 14px; }
.not-found { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 150px); padding: 160px 5% 40px; text-align: center; }
.not-found .code { font-family: "Uncut Sans", sans-serif; font-size: 160px; font-weight: 500; letter-spacing: -.02em; line-height: 1; color: var(--green-lighter); -webkit-text-stroke: 0; text-shadow: 0 0 0 var(--green-base); color: var(--green-base); opacity: .25; }
.not-found h1 { font-size: 48px; margin: 8px 0 16px; }
.not-found p { color: var(--gray-600); margin-bottom: 32px; max-width: 480px; }
.not-found .btn { padding: 12px 24px; }

/* ---------- scroll-in (replaces Webflow interactions) ---------- */
@keyframes rise-y { from { opacity: 0; transform: translate3d(0, 44px, 0); } to { opacity: 1; transform: none; } }
@keyframes rise-x { from { opacity: 0; transform: translate3d(44px, 0, 0); } to { opacity: 1; transform: none; } }
.header-text { animation: rise-y .625s ease-out both; }
.header-image { animation: rise-x .625s ease-out both; }
.reveal { transition: opacity .625s ease-out, transform .625s ease-out; }
.reveal.is-hidden { opacity: 0; transform: translate3d(0, 44px, 0); }
.reveal.is-hidden.from-left { transform: translate3d(-44px, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  .header-text, .header-image { animation: none; }
  .reveal, .reveal.is-hidden { opacity: 1; transform: none; transition: none; }
}

/* ---------- <= 991 ---------- */
@media screen and (max-width: 991px) {
  .btn { display: flex; }
  .menu-button { display: block; }
  .navigation-container { justify-content: space-between; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    padding: 24px; gap: 0; border-bottom: 4px solid var(--green-base); background: #fff;
  }
  .navigation.is-open .nav-menu { display: block; }
  .navigation-link { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .nav-link { width: 100%; }
  .header-background { inset: auto 0 0 0; width: 100%; height: 40%; }
  .header-grid { grid-template-columns: 1fr; }
  .header-text { margin: 0; }
  .title-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; grid-row-gap: 92px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-about { padding-bottom: 96px; }
}

/* ---------- <= 767 ---------- */
@media screen and (max-width: 767px) {
  h2 { font-size: 44px; }
  .section-services { padding-top: 33px; padding-bottom: 33px; }
  .area-wrapper { flex-direction: column; }
  .about-grid { grid-row-gap: 32px; }
  .about-text h2 { font-size: 26px; }
  .section-dark { padding-top: 40px; padding-bottom: 40px; }
  .contact-details { margin-top: -21px; padding-left: 28px; }
  .section-about { padding-top: 72px; padding-bottom: 72px; }
}

/* ---------- <= 479 ---------- */
@media screen and (max-width: 479px) {
  .lead { display: inline; }
  .section-services { padding-top: 44px; padding-bottom: 44px; }
  .btn { width: 100%; }
  .navigation-button-wrapper { flex-direction: column; gap: 16px; }
  .header-background { height: 30%; }
  .about-text h2 { font-size: 28px; }
  .area-card h3 { font-size: 20px; }
  .section-services h2 { font-size: 36px; }
  .section-dark { padding-top: 57px; padding-bottom: 0; }
  .section-dark h2 { font-size: 34px; }
  .contact-text h2 { font-size: 34px; display: inline; }
  .contact-details { margin: -24px auto 0; padding-left: 19px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .contact-row p, .contact-row span { font-size: 16px; line-height: 1; }
  .legal h1, .not-found h1 { font-size: 36px; }
}
