@font-face {
  font-family: "Roboto";
  src: url("/assets/roboto-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/roboto-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --orange: #ef5b0a;
  --orange-dark: #df5004;
  --ink: #252525;
  --muted: #757575;
  --panel: #f4f4f4;
  --page: #f8f8f8;
  --footer: #242424;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #111;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 90px;
  color: #fff;
}

.header-inner {
  width: min(calc(100% - 66px), 1199px);
  height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  align-items: center;
}

.brand-white {
  width: 168px;
  align-self: end;
}

.brand-white img {
  width: 168px;
  height: 60px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  text-transform: uppercase;
  font-size: 13px;
}

.desktop-nav a,
.lawyer-cta {
  transition: color 160ms ease, background-color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--orange);
}

.lawyer-cta {
  justify-self: end;
  min-width: 168px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
}

.lawyer-cta:hover,
.lawyer-cta:focus-visible {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 684px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #151a20 url("/assets/hero.jpg") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 17, .38);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 70px), 1000px);
  margin-top: 8px;
  text-align: center;
  transform: translateY(-4px);
}

.hero h1 {
  margin: 0;
  font-family: Verdana, sans-serif;
  font-size: 66px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2.2px;
}

.hero p {
  margin: 38px auto 0;
  font-family: Verdana, sans-serif;
  font-size: 23px;
  line-height: 1.5;
}

.lawyer-search {
  position: relative;
  width: 465px;
  max-width: 100%;
  margin: 72px auto 0;
}

.lawyer-search input {
  width: 100%;
  height: 55px;
  padding: 0 16px;
  color: #111;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}

.lawyer-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .16);
}

.search-results {
  position: absolute;
  z-index: 10;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  text-align: left;
}

.search-results a,
.search-message {
  display: block;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.search-results a:hover,
.search-results a:focus-visible {
  color: var(--orange);
  background: #fafafa;
}

.section-shell {
  width: min(calc(100% - 70px), var(--shell));
  margin: 0 auto;
}

.practice-section {
  padding: 54px 0 43px;
  background: var(--page) url("/assets/background.avif") center top / cover no-repeat;
}

.practice-shell {
  padding: 0 9px 31px;
  background: rgba(255, 255, 255, .9);
}

.practice-section h2,
.why-section h2 {
  margin: 0;
  font-family: Verdana, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.practice-section h2 {
  padding: 4px 0 23px;
  text-align: center;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.practice-card {
  min-height: 200px;
  padding: 32px 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.practice-card:hover,
.practice-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.practice-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.practice-card h3 {
  margin: 22px 0 0;
  font-family: Verdana, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.practice-footer {
  padding: 30px 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
}

.practice-footer p {
  margin: 0;
}

.practice-footer strong {
  color: #666;
}

.text-link {
  flex: 0 0 auto;
  color: var(--orange);
  font-weight: 700;
}

.text-link span {
  padding-left: 14px;
  font-size: 22px;
}

.why-section {
  padding: 64px 0 81px;
  background: #fff;
}

.why-shell h2 {
  margin-bottom: 38px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.why-copy {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.benefit-list {
  margin: 0;
  padding: 13px 20px;
  color: #fff;
  background: var(--orange);
  border-radius: 4px;
  list-style: none;
}

.benefit-list li {
  padding: 10px 3px;
  border-bottom: 1px dashed rgba(255, 255, 255, .55);
  font-size: 17px;
}

.benefit-list li:last-child {
  border-bottom: 0;
}

.benefit-list li::before {
  content: "✓";
  margin-right: 9px;
  font-weight: 700;
}

.primary-button {
  display: table;
  margin: 38px auto 0;
  padding: 9px 23px;
  color: #fff;
  background: var(--orange);
  border-radius: 4px;
  font-weight: 700;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--orange-dark);
}

.site-footer {
  color: #777;
  background: var(--footer);
}

.footer-inner {
  position: relative;
  width: min(calc(100% - 70px), 980px);
  min-height: 195px;
  margin: 0 auto;
  padding: 35px 0 41px;
  display: grid;
  grid-template-columns: 250px 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  align-self: center;
  width: 190px;
}

.footer-column h2 {
  margin: 0 0 24px;
  padding-bottom: 8px;
  color: var(--orange);
  border-bottom: 1px dashed #555;
  font-family: Georgia, serif;
  font-size: 20px;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
  color: var(--orange);
}

.share-links {
  display: flex;
  gap: 8px;
}

.share-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.share-links .facebook { background: #3f5fa6; }
.share-links .x { background: #030303; }
.share-links .linkedin { background: #0b84b7; }
.share-links .email { background: #ee4e45; }

.copyright {
  position: absolute;
  right: 0;
  bottom: 6px;
  width: calc(100% - 250px);
  margin: 0;
  padding-top: 7px;
  border-top: 1px solid #353535;
  text-align: right;
  font-size: 13px;
}

@media (max-width: 900px) {
  .header-inner {
    width: 100%;
    grid-template-columns: 1fr auto;
  }

  .brand-white {
    width: 168px;
  }

  .brand-white img {
    width: 168px;
    height: 60px;
  }

  .desktop-nav,
  .lawyer-cta {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    margin-right: 15px;
  }

  .menu-toggle span {
    width: 29px;
    height: 4px;
    display: block;
    background: currentColor;
    border-radius: 2px;
  }

  .mobile-menu {
    position: absolute;
    top: 82px;
    right: 15px;
    left: 15px;
    padding: 12px;
    display: grid;
    color: var(--ink);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 11px 10px;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu a:last-child {
    color: var(--orange);
    border-bottom: 0;
    font-weight: 700;
  }

  .hero {
    min-height: 802px;
    align-items: start;
    background-position: 45% center;
  }

  .hero-content {
    width: 305px;
    max-width: calc(100% - 70px);
    margin-top: 200px;
    transform: none;
  }

  .hero h1 {
    font-size: 66px;
    line-height: 1;
  }

  .hero p {
    width: 259px;
    max-width: 100%;
    margin: 25px auto 0;
    font-size: 23px;
    line-height: 1.5;
  }

  .lawyer-search {
    width: 305px;
    margin-top: 42px;
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    gap: 35px;
  }

  .footer-inner {
    grid-template-columns: 190px 1fr 1fr;
    gap: 25px;
  }
}

/* Stranica Pravni saveti */
.legal-advice-route .desktop-nav a[aria-current="page"],
.legal-advice-route .mobile-menu a[aria-current="page"] {
  color: var(--orange);
}

.legal-advice-page {
  background: #f6f6f6;
}

.advice-hero,
.advice-guide {
  background: #eee8e4 url("/assets/pravni-saveti-hero.avif") center center / cover no-repeat;
}

.advice-hero {
  min-height: 469px;
  display: flex;
  align-items: center;
}

.advice-hero-inner {
  width: min(calc(100% - 66px), 1199px);
  margin: 0 auto;
  padding: 22px 10px 0;
}

.advice-hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: var(--orange);
  font-size: clamp(35px, 3.15vw, 42px);
  line-height: 1.18;
  letter-spacing: .2px;
}

.advice-hero p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
}

.advice-hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 50px;
}

.advice-button {
  min-width: 228px;
  min-height: 49px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.advice-button-primary {
  color: #fff;
  background: var(--orange);
}

.advice-button-primary:hover,
.advice-button-primary:focus-visible {
  color: #fff;
  background: var(--orange-dark);
}

.advice-button-light {
  color: var(--orange);
  background: rgba(255, 255, 255, .92);
}

.advice-button-light:hover,
.advice-button-light:focus-visible {
  color: #fff;
  background: var(--orange);
}

.advice-content {
  padding: 30px 0 33px;
  background: #f6f6f6 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.advice-shell {
  width: min(calc(100% - 66px), 1199px);
  margin: 0 auto;
}

.advice-types-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.advice-type-card,
.advice-package-card {
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .07);
}

.advice-type-card {
  min-height: 300px;
  padding: 31px 30px 29px;
}

.advice-type-card h2 {
  margin: 0 0 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 25px;
  line-height: 1.2;
}

.advice-type-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.advice-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.advice-check-list li {
  position: relative;
  min-height: 38px;
  padding: 5px 0 5px 33px;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  font-size: 17px;
  line-height: 28px;
}

.advice-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  font-weight: 700;
}

.advice-type-card .advice-button {
  margin-top: 15px;
}

.advice-section-title {
  margin: 52px 0 39px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.advice-section-title span {
  height: 1px;
  background: #666;
}

.advice-section-title h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.advice-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
}

.advice-package-card {
  min-height: 281px;
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
}

.advice-package-card h3 {
  min-height: 82px;
  margin: 0 -20px 9px;
  padding: 24px 20px 17px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--orange);
  background: rgba(248, 248, 248, .86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.22;
}

.package-icon {
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 22px;
}

.advice-package-card .advice-check-list {
  margin-bottom: 13px;
}

.advice-package-card .advice-check-list li {
  min-height: 35px;
  padding-left: 32px;
  font-size: 16px;
  line-height: 25px;
}

.advice-package-card > a {
  min-height: 48px;
  margin-top: auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  background: #f5f5f5;
  font-weight: 700;
  text-align: center;
}

.advice-package-card > a:hover,
.advice-package-card > a:focus-visible {
  color: #fff;
  background: var(--orange);
}

.advice-guide {
  min-height: 469px;
  padding: 112px max(33px, calc((100% - 1199px) / 2));
  display: flex;
  align-items: flex-start;
}

.advice-guide-card {
  width: min(790px, 68%);
  min-height: 236px;
  padding: 22px 20px 18px;
  background: rgba(255, 255, 255, .76);
  border-radius: 2px;
}

.advice-guide-card h2 {
  margin: 0 0 7px;
  font-size: 22px;
  font-weight: 400;
}

.advice-guide-card .advice-check-list li {
  min-height: 34px;
  font-size: 16px;
  line-height: 24px;
}

.advice-guide-card .advice-button {
  margin-top: 8px;
}

body.advice-modal-open {
  overflow: hidden;
}

.advice-modal[hidden] {
  display: none;
}

.advice-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
}

.advice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .76);
}

.advice-dialog {
  position: relative;
  z-index: 1;
  width: min(635px, 100%);
  max-height: calc(100vh - 48px);
  padding: 25px 30px 30px;
  overflow-y: auto;
  background: #fff;
  border-radius: 5px;
}

.advice-dialog > h2 {
  margin: 0 35px 12px 0;
  font-size: 22px;
  line-height: 1.25;
}

.advice-dialog > p {
  margin: 0 0 29px;
  color: #777;
  font-size: 16px;
  line-height: 1.45;
}

.advice-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 21px;
  height: 21px;
  padding: 0;
  color: #333;
  background: #fff;
  border: 2px solid #d39b00;
  border-radius: 3px;
  font-size: 20px;
  line-height: 15px;
  cursor: pointer;
}

.advice-form {
  padding: 28px 20px 38px;
  border: 1px dashed #aaa;
}

.advice-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.advice-form label {
  margin-bottom: 12px;
  display: block;
  color: #555;
  font-size: 15px;
}

.advice-form label > span {
  display: block;
  margin-bottom: 2px;
}

.advice-form input,
.advice-form textarea {
  width: 100%;
  padding: 8px 10px;
  color: #222;
  background: #fff;
  border: 1px solid #888;
  border-radius: 2px;
  outline: 0;
  font: inherit;
}

.advice-form input {
  height: 43px;
}

.advice-form textarea {
  min-height: 66px;
  resize: vertical;
}

.advice-form input:focus,
.advice-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .14);
}

.advice-form > button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.advice-form-status {
  margin: 8px 0 0;
  padding: 9px 12px;
  color: #7a4b00;
  background: #fff5d6;
  border-left: 3px solid #e2a300;
  font-size: 14px;
}

@media (max-width: 900px) {
  .advice-hero {
    min-height: 540px;
    background-position: 62% center;
  }

  .advice-hero-inner,
  .advice-shell {
    width: calc(100% - 32px);
  }

  .advice-hero-inner {
    padding: 20px 0;
  }

  .advice-hero h1 {
    max-width: 640px;
    font-size: clamp(34px, 7vw, 46px);
  }

  .advice-hero p {
    max-width: 640px;
  }

  .advice-types-grid,
  .advice-packages-grid {
    grid-template-columns: 1fr;
  }

  .advice-type-card,
  .advice-package-card {
    min-height: 0;
  }

  .advice-guide {
    min-height: 430px;
    padding: 80px 24px;
    background-position: 65% center;
  }

  .advice-guide-card {
    width: min(680px, 88%);
  }
}

@media (max-width: 600px) {
  .advice-hero {
    min-height: 510px;
    background-position: 68% center;
  }

  .advice-hero-inner {
    align-self: stretch;
    padding-top: 56px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .68) 74%, transparent 100%);
  }

  .advice-hero h1 {
    font-size: 34px;
  }

  .advice-hero p {
    font-size: 16px;
  }

  .advice-hero-actions {
    margin-top: 28px;
    display: grid;
    gap: 12px;
  }

  .advice-button {
    width: 100%;
    min-width: 0;
  }

  .advice-content {
    padding-top: 18px;
  }

  .advice-type-card {
    padding: 25px 20px;
  }

  .advice-type-card h2 {
    align-items: flex-start;
    font-size: 21px;
  }

  .advice-check-list li {
    font-size: 15px;
  }

  .advice-section-title {
    margin: 40px 0 30px;
    gap: 14px;
  }

  .advice-section-title h2 {
    font-size: 23px;
  }

  .advice-guide {
    min-height: 410px;
    padding: 60px 16px;
  }

  .advice-guide-card {
    width: 100%;
    background: rgba(255, 255, 255, .84);
  }

  .advice-modal {
    padding: 10px;
  }

  .advice-dialog {
    max-height: calc(100vh - 20px);
    padding: 24px 18px 20px;
  }

  .advice-form {
    padding: 20px 14px 24px;
  }

  .advice-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Kontakt forma advokata */
body.modal-open {
  overflow: hidden;
}

.inquiry-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 24px 20px;
  display: grid;
  place-items: start center;
  overflow-y: auto;
}

.inquiry-modal[hidden] {
  display: none;
}

.inquiry-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
}

.inquiry-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  min-height: 588px;
  display: grid;
  grid-template-columns: 415px minmax(0, 1fr);
  color: #7a7a7a;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .42);
}

.inquiry-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #252525;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 22px;
  cursor: pointer;
}

.inquiry-intro {
  padding: 19px 20px 24px;
}

.inquiry-intro h2 {
  margin: 0 0 20px;
  color: #ef5b0a;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.inquiry-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.inquiry-intro img {
  width: 250px;
  height: 251px;
  margin-top: 22px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 4px;
}

.inquiry-form {
  margin: 20px 20px 20px 0;
  padding: 58px 20px 25px;
  border: 1px solid #ededed;
  border-radius: 5px;
}

.inquiry-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 24px;
}

.inquiry-form label {
  min-width: 0;
  display: block;
}

.inquiry-form label > span {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 20px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  color: #252525;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  outline: 0;
}

.inquiry-form input,
.inquiry-form select {
  height: 42px;
  padding: 8px 12px;
}

.inquiry-form textarea {
  min-height: 160px;
  padding: 10px 12px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .12);
}

.inquiry-message-field {
  margin-top: 40px;
}

.inquiry-honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry-form-status {
  margin: 10px 0 0;
  color: #666;
  font-size: 14px;
}

.inquiry-form-status.is-error {
  color: #b12e1e;
}

.inquiry-submit {
  width: 100%;
  height: 40px;
  margin-top: 26px;
  color: #fff;
  background: #ef5b0a;
  border: 0;
  border-radius: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

.inquiry-submit:hover,
.inquiry-submit:focus-visible {
  background: var(--orange-dark);
}

.inquiry-submit:disabled {
  opacity: .65;
  cursor: wait;
}

/* Stranica uspešno poslatog upita */
.inquiry-success-page {
  min-height: 590px;
  padding: 70px 35px;
  display: grid;
  place-items: center;
  background: #f7f7f7 url("/assets/background.avif") center / cover fixed no-repeat;
}

.inquiry-success-card {
  width: min(100%, 700px);
  padding: 48px 55px 52px;
  background: rgba(255, 255, 255, .96);
  border-radius: 5px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .08);
  text-align: center;
}

.success-check {
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 38px;
  font-weight: 700;
}

.inquiry-success-card h1 {
  margin: 0 0 22px;
  font-family: Verdana, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}

.inquiry-success-card p {
  margin: 0 auto 12px;
  color: #6f6f6f;
  font-size: 18px;
  line-height: 1.55;
}

.inquiry-success-card .success-email-note {
  font-size: 15px;
}

.inquiry-success-card .primary-button {
  margin-top: 30px;
}

@media (max-width: 760px) {
  .inquiry-modal {
    padding: 12px;
  }

  .inquiry-dialog {
    min-height: 0;
    display: block;
  }

  .inquiry-intro {
    padding: 20px;
  }

  .inquiry-intro p {
    font-size: 16px;
  }

  .inquiry-intro img {
    width: 150px;
    height: 150px;
    margin-top: 18px;
  }

  .inquiry-form {
    margin: 0 12px 12px;
    padding: 25px 15px 18px;
  }

  .inquiry-fields-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .inquiry-message-field {
    margin-top: 18px;
  }

  .inquiry-submit {
    margin-top: 22px;
  }

  .inquiry-success-page {
    min-height: 560px;
    padding: 40px 20px;
  }

  .inquiry-success-card {
    padding: 38px 24px 42px;
  }

  .inquiry-success-card h1 {
    font-size: 29px;
  }
}

/* Globalni loader stranice */
.page-loader {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #252525;
  background: rgba(248, 248, 248, .97);
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease, visibility 220ms ease;
}

body:not(.page-loading) .page-loader {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.legal-loader {
  position: relative;
  width: 127px;
  height: 127px;
}

.loader-ring,
.loader-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.loader-ring-outer,
.loader-orbit-outer {
  width: 119px;
  height: 119px;
}

.loader-ring-inner,
.loader-orbit-inner {
  width: 88px;
  height: 88px;
}

.loader-ring-outer {
  border: 2px solid rgba(239, 91, 10, .48);
  box-shadow:
    0 0 9px rgba(239, 91, 10, .34),
    0 0 20px rgba(239, 91, 10, .18),
    inset 0 0 8px rgba(239, 91, 10, .15);
}

.loader-ring-inner {
  border: 2px solid rgba(37, 37, 37, .38);
  box-shadow:
    0 0 8px rgba(37, 37, 37, .28),
    0 0 17px rgba(37, 37, 37, .12),
    inset 0 0 7px rgba(37, 37, 37, .12);
}

.loader-orbit {
  animation: loader-orbit-clockwise 1.4s linear infinite;
}

.loader-orbit-inner {
  animation-name: loader-orbit-counterclockwise;
  animation-duration: 1.05s;
}

.loader-orbit span {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.loader-orbit-outer span {
  background: #252525;
  box-shadow: 0 0 5px 2px rgba(37, 37, 37, .28);
}

.loader-orbit-inner span {
  background: #ef5b0a;
  box-shadow: 0 0 6px 2px rgba(239, 91, 10, .38);
}

.loader-scale {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  color: #252525;
  transform: translate(-50%, -50%);
  animation: loader-scale-color 1.4s ease-in-out infinite;
}

.loader-scale g {
  stroke-width: 4;
}

.loader-scale .loader-pan {
  fill: currentColor;
  fill-opacity: .13;
}

.loader-label {
  margin-top: 5px;
  color: #686868;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

@keyframes loader-orbit-clockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes loader-orbit-counterclockwise {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes loader-scale-color {
  0%, 100% {
    color: #252525;
    filter: drop-shadow(0 0 0 rgba(239, 91, 10, 0));
  }
  50% {
    color: #ef5b0a;
    filter: drop-shadow(0 0 7px rgba(239, 91, 10, .34));
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-orbit,
  .loader-scale {
    animation-duration: 3s;
  }
}

@media (max-width: 600px) {
  .desktop-only {
    display: none;
  }

  .hero-content {
    width: 305px;
  }

  .hero h1 {
    font-size: 66px;
    line-height: 1;
    letter-spacing: -1.6px;
  }

  .hero p {
    font-size: 23px;
    line-height: 1.5;
  }

  .section-shell {
    width: calc(100% - 60px);
  }

  .practice-section {
    padding-top: 40px;
  }

  .practice-shell {
    padding: 0 0 30px;
    background: transparent;
  }

  .practice-section h2,
  .why-section h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .practice-section h2 {
    padding-bottom: 20px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .practice-card {
    min-height: 200px;
  }

  .practice-footer {
    padding: 30px 0 0;
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 22px;
  }

  .why-section {
    padding: 55px 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .benefit-list {
    margin-top: 3px;
  }

  .footer-inner {
    width: calc(100% - 60px);
    padding-bottom: 62px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    width: 190px;
  }

  .copyright {
    left: 0;
    width: 100%;
    text-align: left;
  }
}

/* Unutrašnje stranice */
.utility-bar {
  display: none;
}

.inner-page .utility-bar {
  height: 35px;
  display: block;
  color: #a8a8a8;
  background: #252525;
  font-size: 11px;
  line-height: 35px;
  text-transform: uppercase;
}

.utility-inner {
  width: min(calc(100% - 66px), 1199px);
  height: 35px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-member-label {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  color: #d6d6d6;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .01em;
  text-transform: none;
}

.portal-member-label strong { color: #fff; }

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
}

.utility-left a,
.utility-right a,
.language-label {
  padding: 0 11px;
  border-right: 1px solid #3f3f3f;
}

.utility-right .portal-header-logout {
  height: 35px;
  padding: 0 11px;
  color: inherit;
  background: transparent;
  border: 0;
  border-right: 1px solid #3f3f3f;
  font: inherit;
  font-size: inherit;
  line-height: 35px;
  text-transform: uppercase;
  cursor: pointer;
}

.utility-right .portal-header-logout:hover,
.utility-right .portal-header-logout:focus-visible {
  color: #fff;
}

.utility-left a:first-child {
  padding-left: 0;
}

.utility-right .cart-link {
  padding-right: 0;
  border-right: 0;
  font-size: 16px;
}

.utility-bar a:hover,
.utility-bar a:focus-visible {
  color: #fff;
}

.inner-page .site-header {
  position: relative;
  height: 81px;
  color: #252525;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
}

.inner-page .header-inner {
  height: 81px;
}

.inner-page .brand-white {
  width: 150px;
  align-self: center;
}

.inner-page .brand-white img {
  width: 150px;
  height: 61px;
}

.inner-page .lawyer-cta {
  color: var(--orange);
  border-color: var(--orange);
}

.inner-page .lawyer-cta:hover,
.inner-page .lawyer-cta:focus-visible {
  color: #fff;
}

.lawyers-page {
  min-height: 680px;
  padding: 20px 0 34px;
  background: #f7f7f7 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.lawyers-shell {
  width: min(calc(100% - 87px), 1178px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.lawyers-sidebar {
  padding: 0;
}

.archive-search {
  width: 100%;
  height: 42px;
  padding: 8px 16px;
  color: #1d2327;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  outline: 0;
}

.archive-search:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .14);
}

.filters-toggle {
  display: none;
}

.lawyer-filters {
  margin-top: 25px;
}

.filter-loading,
.filter-error {
  margin: 0;
  color: #777;
}

.filter-group {
  min-width: 0;
  margin: 0 5px 13px;
  padding: 0;
  border: 0;
}

.filter-group legend {
  width: 100%;
  margin: 0 0 5px;
  padding: 5px;
  color: #fff;
  background: #e95d0f;
  border-radius: 5px;
  font-size: 18px;
  line-height: 23.4px;
}

.filter-options {
  padding: 2px 6px 4px;
  background: rgba(255, 255, 255, .64);
}

.filter-options label {
  min-height: 27px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 7px;
  color: #555;
  cursor: pointer;
}

.filter-options input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--orange);
}

.practice-menu {
  padding: 9px 10px 11px;
  background: #fff;
}

.practice-menu a {
  display: block;
  padding: 6px 5px;
  color: #777;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

.practice-menu a:last-child {
  border-bottom: 0;
}

.practice-menu a:hover,
.practice-menu a:focus-visible,
.practice-menu a[aria-current="page"] {
  color: var(--orange);
}

.lawyer-practices a:hover,
.lawyer-practices a:focus-visible {
  color: var(--orange);
}

.lawyers-results {
  min-width: 0;
}

.lawyers-status {
  padding: 30px;
  color: #777;
  background: #fff;
  border-radius: 5px;
  text-align: center;
}

.lawyers-status.is-error {
  color: #a43220;
}

.lawyer-card {
  min-height: 170px;
  margin: 5px 0 0;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 129px minmax(0, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, .94);
  border-radius: 5px;
  overflow: hidden;
}

.lawyer-card:first-child {
  margin-top: 10px;
}

.lawyer-card.has-many-practices {
  min-height: 181px;
}

.lawyer-card.has-long-practices {
  min-height: 205px;
}

.lawyer-photo,
.lawyer-photo img {
  width: 129px;
  height: 150px;
}

.lawyer-photo img {
  object-fit: cover;
  object-position: center 22%;
  border-radius: 4px;
}

.lawyer-card-body {
  min-width: 0;
  padding: 10px 10px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 179px;
  gap: 30px;
}

.lawyer-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lawyer-info h2 {
  margin: 0;
  color: #252525;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
}

.lawyer-info h2 a:hover,
.lawyer-info h2 a:focus-visible {
  color: var(--orange);
}

.lawyer-excerpt {
  margin: 18px 0 12px;
  color: #777;
  font-size: 15px;
  line-height: 21px;
}

.lawyer-practices {
  margin: auto 0 0;
  color: #9a9a9a;
  font-size: 14px;
  line-height: 20px;
}

.lawyer-actions {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-button {
  min-width: 140px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  background: #e95d0f;
  border-radius: 3px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, .18);
  font-size: 15px;
  line-height: 15px;
}

.profile-button:hover,
.profile-button:focus-visible {
  background: var(--orange-dark);
}

.lawyer-languages {
  margin: 10px 0 0;
  color: #8d8d8d;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.archive-pagination {
  margin: 18px 0 2px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.archive-pagination button {
  width: 36px;
  height: 36px;
  color: #555;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  cursor: pointer;
}

.archive-pagination button[aria-current="page"],
.archive-pagination button:hover {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

@media (max-width: 900px) {
  .inner-page .utility-bar {
    height: 30px;
    line-height: 30px;
  }

  .inner-page .utility-inner {
    width: 100%;
    height: 30px;
    justify-content: flex-end;
  }

  .inner-page .utility-left,
  .inner-page .utility-right > :not(.cart-link):not(.portal-header-logout) {
    display: none;
  }

  .portal-member-label { display: none; }

  .inner-page .utility-right .cart-link {
    height: 30px;
    padding: 0 8px;
    display: block;
    color: #696969;
    line-height: 30px;
  }

  .inner-page .utility-right .portal-header-logout {
    height: 30px;
    padding: 0 9px;
    display: block;
    line-height: 30px;
  }

  .inner-page .site-header,
  .inner-page .header-inner {
    height: 75px;
  }

  .inner-page .brand-white {
    width: 143px;
    margin-left: 12px;
  }

  .inner-page .brand-white img {
    width: 143px;
    height: 58px;
  }

  .inner-page .menu-toggle {
    color: var(--orange);
  }

  .inner-page .mobile-menu {
    top: 68px;
  }

  .lawyers-page {
    min-height: 500px;
    padding: 0 0 30px;
    background-position: center top;
  }

  .lawyers-shell {
    width: 100%;
    display: block;
  }

  .lawyers-sidebar {
    margin: 0 10px;
    padding: 16px 10px 10px;
    background: rgba(255, 255, 255, .78);
  }

  .archive-search {
    height: 42px;
  }

  .filters-toggle {
    width: 100%;
    height: 41px;
    margin-top: 13px;
    display: block;
    color: #fff;
    background: #ef5b0a;
    border: 0;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
  }

  .filters-toggle span {
    display: inline-block;
    margin-right: 5px;
    font-size: 12px;
    transform: rotate(-90deg);
    transition: transform 150ms ease;
  }

  .filters-toggle[aria-expanded="true"] span {
    transform: rotate(0);
  }

  .lawyer-filters {
    display: none;
    margin: 15px 0 0;
  }

  .lawyer-filters.is-open {
    display: block;
  }

  .lawyers-results {
    padding: 39px 20px 0;
  }

  .lawyer-card,
  .lawyer-card:first-child {
    min-height: 0;
    margin: 0 0 5px;
    padding: 10px 0;
    display: block;
  }

  .lawyer-card.has-many-practices,
  .lawyer-card.has-long-practices {
    min-height: 0;
  }

  .lawyer-photo,
  .lawyer-photo img {
    width: 100%;
    height: 150px;
  }

  .lawyer-card-body {
    padding: 18px 9px 8px;
    display: block;
  }

  .lawyer-info h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .lawyer-excerpt {
    margin: 10px 0 25px;
    font-size: 15px;
    line-height: 21px;
  }

  .lawyer-practices {
    min-height: 0;
    margin: 0 0 43px;
    font-size: 14px;
    line-height: 21px;
  }

  .lawyer-card.has-many-practices {
    padding-bottom: 13px;
  }

  .lawyer-card:not(.has-many-practices) .lawyer-actions {
    transform: translateY(-3px);
  }

  .lawyer-languages {
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .inner-page .footer-inner {
    width: calc(100% - 40px);
  }
}

/* Pojedinačni profil advokata */
.lawyer-profile-page {
  min-height: 610px;
  padding: 19px 0 28px;
  background: #f7f7f7 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.lawyer-profile-shell {
  width: min(calc(100% - 66px), 1199px);
  margin: 0 auto;
  padding-right: 12px;
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
}

.lawyer-profile-sidebar > div,
.lawyer-profile-content {
  background: rgba(255, 255, 255, .94);
  border-radius: 3px;
}

.profile-photo-panel {
  padding: 11px 10px 10px;
}

.profile-photo {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.profile-inquiry-button {
  width: 100%;
  height: 39px;
  margin-top: 15px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  background: #e95d0f;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .14);
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
}

.profile-inquiry-button:hover,
.profile-inquiry-button:focus-visible {
  background: var(--orange-dark);
}

.profile-inquiry-button[aria-disabled="true"] {
  cursor: default;
}

.profile-email-panel {
  min-height: 37px;
  margin-top: 6px;
  padding: 9px 10px;
  color: #7a7a7a;
  font-size: 16px;
  line-height: 19px;
}

.profile-email-panel.is-empty {
  visibility: hidden;
}

.profile-email-panel a:hover,
.profile-email-panel a:focus-visible {
  color: var(--orange);
}

.profile-practice-panel {
  min-height: 69px;
  margin-top: 10px;
  padding: 11px 10px 10px;
}

.profile-practice-panel h2 {
  margin: 0 0 5px;
  color: #252525;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
}

.profile-practice-panel p {
  margin: 0;
  color: #252525;
  font-size: 14px;
  line-height: 20px;
}

.lawyer-profile-content {
  min-height: 568px;
  padding: 20px 30px 25px;
  font-family: Verdana, sans-serif;
}

.profile-loading {
  padding: 30px;
  color: #777;
  text-align: center;
}

.profile-loading.is-error {
  color: #a43220;
}

.profile-title-row {
  min-height: 44px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.profile-title-row h1 {
  margin: 0;
  color: #252525;
  font-size: 30px;
  font-weight: 400;
  line-height: 30px;
}

.profile-title-row p {
  margin: 8px 0 0;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 20px;
  text-align: right;
}

.profile-divider {
  height: 2px;
  margin: 0 -20px 33px;
  background: #777;
}

.profile-biography {
  margin-right: -25px;
  margin-left: -4px;
  color: #7a7a7a;
  font-size: 16px;
  line-height: 24px;
}

.profile-biography p {
  margin: 0 0 14.4px;
}

.profile-biography p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .lawyer-profile-page {
    min-height: 500px;
    padding: 11px 0 25px;
    background-position: center top;
  }

  .lawyer-profile-shell {
    width: calc(100% - 20px);
    padding: 0;
    display: block;
  }

  .profile-photo-panel {
    padding: 15px 11px 0;
  }

  .profile-photo {
    width: 100%;
    height: 300px;
  }

  .profile-email-panel {
    min-height: 36px;
    margin-top: 2px;
    padding: 8px 10px;
  }

  .profile-practice-panel {
    min-height: 67px;
    margin-top: 9px;
    padding: 11px 10px 9px;
  }

  .lawyer-profile-content {
    min-height: 0;
    margin-top: 10px;
    padding: 43px 25px 30px;
  }

  .profile-title-row {
    min-height: 68px;
    display: block;
  }

  .profile-title-row h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .profile-title-row p {
    margin-top: 8px;
    text-align: left;
  }

  .profile-divider {
    margin: 0 -15px 52px;
  }

  .profile-biography {
    margin-right: -4px;
    margin-left: -4px;
    font-size: 16px;
    line-height: 24px;
  }
}

/* Članstvo advokata i prijava */
.membership-page,
.lawyer-signup-page {
  background: #f7f7f7 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.membership-page {
  min-height: 717px;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
}

.membership-shell {
  width: min(calc(100% - 66px), 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 95px;
}

.membership-copy {
  max-width: 645px;
}

.membership-kicker {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.membership-copy h1,
.lawyer-signup-heading h1 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 28px;
  line-height: 1.2;
}

.membership-copy p {
  margin: 0 0 16px;
  color: #6f6f6f;
  font-size: 18px;
  line-height: 1.48;
}

.membership-apply-button {
  min-height: 52px;
  padding: 14px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #fff;
  background: var(--orange);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(80, 38, 10, .16);
  font-weight: 700;
  text-align: center;
}

.membership-apply-button:hover,
.membership-apply-button:focus-visible {
  color: #fff;
  background: var(--orange-dark);
}

.lawyer-signup-page {
  min-height: 720px;
  padding: 58px 0 70px;
}

.lawyer-signup-shell {
  width: min(calc(100% - 66px), 1030px);
  margin: 0 auto;
}

.lawyer-signup-heading {
  max-width: 750px;
  margin: 0 auto 27px;
  text-align: center;
}

.lawyer-signup-heading h1 {
  font-size: 34px;
}

.lawyer-signup-heading > p:last-child {
  margin: 0;
  color: #696969;
  font-size: 17px;
  line-height: 1.55;
}

.lawyer-signup-form,
.lawyer-signup-success {
  padding: 34px;
  background: rgba(255, 255, 255, .96);
  border-radius: 5px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .09);
}

.lawyer-signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 32px;
}

.lawyer-signup-form label {
  display: block;
  color: #5d5d5d;
}

.lawyer-signup-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.lawyer-signup-form input:not([type="checkbox"]):not([type="file"]),
.lawyer-signup-form textarea {
  width: 100%;
  color: #222;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 0;
  outline: 0;
  font: inherit;
}

.lawyer-signup-form input:not([type="checkbox"]):not([type="file"]) {
  height: 38px;
  padding: 4px 2px;
}

.lawyer-signup-form textarea {
  min-height: 135px;
  padding: 8px 2px;
  resize: vertical;
}

.lawyer-signup-form input:not([type="checkbox"]):not([type="file"]):focus,
.lawyer-signup-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 2px 0 -1px var(--orange);
}

.lawyer-form-wide {
  grid-column: 1 / -1;
}

.lawyer-term-fieldset {
  min-width: 0;
  margin: 29px 0 0;
  padding: 0;
  border: 0;
}

.lawyer-term-fieldset legend {
  width: 100%;
  margin-bottom: 12px;
  padding: 9px 12px;
  color: #fff;
  background: var(--orange);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.lawyer-term-fieldset legend em {
  font-style: normal;
}

.lawyer-term-options {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;
  padding: 0 2px;
}

.lawyer-term-options > p {
  margin: 0;
  color: #777;
}

.lawyer-term-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  cursor: pointer;
  font-size: 16px;
}

.lawyer-term-options input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--orange);
}

.lawyer-upload-grid {
  margin-top: 29px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 32px;
}

.lawyer-upload-field {
  min-height: 168px;
  padding: 16px;
  background: #fafafa;
  border: 1px dashed #c5c5c5;
  border-radius: 4px;
}

.lawyer-upload-field > span {
  color: #333;
  font-weight: 700;
}

.lawyer-upload-field input[type="file"] {
  width: 100%;
  margin: 19px 0 13px;
  color: #555;
  font-size: 14px;
}

.lawyer-upload-field small {
  display: block;
  color: #777;
  font-size: 13px;
  line-height: 1.45;
}

.lawyer-about-field {
  margin-top: 29px;
}

.lawyer-about-field > span {
  color: #333;
  font-weight: 700;
}

.lawyer-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.lawyer-signup-status {
  margin: 24px 0 0;
  padding: 12px 15px;
  color: #2f6032;
  background: #edf8ee;
  border-left: 4px solid #49824d;
}

.lawyer-signup-status.is-error {
  color: #8d2923;
  background: #fff0ee;
  border-left-color: #c8463c;
}

.lawyer-signup-submit {
  min-width: 190px;
  min-height: 48px;
  margin: 29px auto 0;
  padding: 12px 24px;
  display: block;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
}

.lawyer-signup-submit:hover,
.lawyer-signup-submit:focus-visible {
  background: var(--orange-dark);
}

.lawyer-signup-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.lawyer-signup-note {
  margin: 26px 0 0;
  padding: 14px 16px;
  color: #696969;
  border: 1px dashed #aaa;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.lawyer-signup-success {
  max-width: 680px;
  margin: 40px auto 0;
  text-align: center;
}

.lawyer-signup-success .success-check {
  margin-inline: auto;
}

.lawyer-signup-success h2 {
  margin: 18px 0 10px;
  color: var(--orange);
  font-size: 28px;
}

.lawyer-signup-success p {
  margin: 0 0 24px;
  color: #666;
}

@media (max-width: 900px) {
  .membership-page {
    min-height: 620px;
    padding: 85px 0;
  }

  .membership-shell {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .membership-apply-button {
    width: fit-content;
  }

  .lawyer-signup-page {
    padding: 38px 0 50px;
  }

  .lawyer-signup-shell {
    width: calc(100% - 32px);
  }
}

@media (max-width: 600px) {
  .membership-page {
    padding: 56px 0;
  }

  .membership-copy h1,
  .lawyer-signup-heading h1 {
    font-size: 29px;
  }

  .membership-copy p {
    font-size: 16px;
  }

  .membership-apply-button {
    width: 100%;
  }

  .lawyer-signup-form,
  .lawyer-signup-success {
    padding: 23px 18px;
  }

  .lawyer-signup-grid,
  .lawyer-upload-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lawyer-term-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lawyer-signup-heading {
    text-align: left;
  }
}

/* Prijava za advokate */
.portal-login-page {
  min-height: 690px;
  padding: 88px 20px;
  display: grid;
  place-items: center;
  background: #f7f7f7 url("/assets/background.avif") center center / cover fixed no-repeat;
}

.portal-login-card {
  width: min(100%, 500px);
  padding: 42px 44px 38px;
  background: rgba(255, 255, 255, .97);
  border-radius: 5px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .1);
  text-align: center;
}

.portal-login-card h1 {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 32px;
  line-height: 1.18;
}

.portal-login-intro {
  margin: 0 0 31px;
  color: #6b6b6b;
  line-height: 1.5;
}

.portal-login-form {
  text-align: left;
}

.portal-login-form > label:not(.portal-remember):not(.lawyer-honeypot) {
  margin-bottom: 21px;
  display: block;
  color: #555;
}

.portal-login-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.portal-login-form input[type="email"],
.portal-login-form input[type="password"] {
  width: 100%;
  height: 45px;
  padding: 9px 11px;
  color: #222;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  outline: 0;
  font: inherit;
}

.portal-login-form input[type="email"]:focus,
.portal-login-form input[type="password"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 91, 10, .14);
}

.portal-remember {
  margin: 3px 0 23px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  cursor: pointer;
  font-size: 14px;
}

.portal-remember input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--orange);
}

.portal-remember span {
  margin: 0 !important;
}

.portal-login-form > button {
  width: 100%;
  min-height: 48px;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
}

.portal-login-form > button:hover,
.portal-login-form > button:focus-visible {
  background: var(--orange-dark);
}

.portal-login-form > button:disabled {
  opacity: .7;
  cursor: wait;
}

.portal-login-status {
  margin: 0 0 17px;
  padding: 11px 13px;
  color: #2f6032;
  background: #edf8ee;
  border-left: 4px solid #49824d;
  font-size: 14px;
  line-height: 1.45;
}

.portal-login-status.is-error {
  color: #8d2923;
  background: #fff0ee;
  border-left-color: #c8463c;
}

.portal-login-links {
  margin-top: 27px;
  padding-top: 22px;
  border-top: 1px solid #e4e4e4;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.portal-login-links p {
  margin: 0 0 10px;
}

.portal-login-links a {
  color: var(--orange);
  font-weight: 700;
}

.portal-login-links a:hover,
.portal-login-links a:focus-visible {
  text-decoration: underline;
}

.portal-login-pending {
  color: #888;
  font-size: 13px;
}

@media (max-width: 600px) {
  .portal-login-page {
    min-height: 610px;
    padding: 45px 16px;
  }

  .portal-login-card {
    padding: 31px 23px 27px;
  }

  .portal-login-card h1 {
    font-size: 29px;
  }
}

/* Potvrda e-mail adrese */
.email-verification-page {
  min-height: 650px;
  padding: 90px 20px;
  display: grid;
  place-items: center;
  background: #f7f7f7 url("/assets/background.avif") center / cover fixed no-repeat;
}

.email-verification-card {
  width: min(100%, 580px);
  padding: 46px 52px 42px;
  background: rgba(255, 255, 255, .97);
  border-radius: 5px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .1);
  text-align: center;
}

.email-verification-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 27px;
}

.email-verification-card h1 {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 31px;
}

.email-verification-message {
  margin: 0;
  color: #666;
  line-height: 1.65;
}

.email-verification-message.is-success { color: #2f6032; }
.email-verification-message.is-error { color: #9a332b; }

.email-verification-actions {
  margin-top: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.email-verification-secondary {
  color: #666;
  text-decoration: underline;
}

/* Moj portal */
.member-portal-page {
  min-height: 720px;
  padding: 54px 20px 70px;
  background: #f7f7f7 url("/assets/background.avif") center / cover fixed no-repeat;
}

.member-portal-shell {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 25px;
}

.member-portal-sidebar,
.member-portal-content {
  background: rgba(255, 255, 255, .97);
  border-radius: 5px;
  box-shadow: 0 5px 19px rgba(0, 0, 0, .09);
}

.member-portal-sidebar {
  padding: 31px 28px;
}

.member-portal-sidebar h1 {
  margin: 5px 0 13px;
  color: var(--orange);
  font-size: 31px;
}

.member-portal-welcome {
  margin: 0 0 28px;
  color: #686868;
  line-height: 1.5;
}

.member-public-profile,
.member-logout-button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 3px;
  font: inherit;
}

.member-public-profile {
  margin-bottom: 11px;
  color: #3e629f;
  background: #edf2fa;
  font-size: 14px;
  font-weight: 700;
}

.member-logout-button {
  color: #fff;
  background: #383838;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.member-logout-button:hover,
.member-logout-button:focus-visible { background: #171717; }
.member-logout-button:disabled { opacity: .65; cursor: wait; }

.member-portal-content { min-height: 500px; padding: 39px 42px 45px; }

.member-portal-loading,
.member-portal-unauthorized {
  max-width: 570px;
  margin: 70px auto;
  color: #666;
  text-align: center;
  line-height: 1.6;
}

.member-portal-unauthorized h2 {
  color: var(--orange);
  font-size: 28px;
}

.member-portal-unauthorized .primary-button { margin-top: 13px; }

.member-portal-heading {
  margin-bottom: 33px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 22px;
  border-bottom: 1px solid #e5e5e5;
}

.member-portal-heading h2 {
  margin: 4px 0 8px;
  color: #333;
  font-size: 28px;
}

.member-portal-heading p:not(.membership-kicker) {
  max-width: 590px;
  margin: 0;
  color: #777;
  line-height: 1.5;
}

.member-status-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #326838;
  background: #eaf5eb;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}

.member-profile-form h3 {
  margin: 0 0 18px;
  color: #333;
  font-size: 20px;
}

.member-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.member-profile-grid label,
.member-profile-form > .lawyer-about-field {
  display: block;
  color: #555;
}

.member-profile-grid label > span,
.member-profile-form > .lawyer-about-field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.member-profile-grid input,
.member-profile-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 11px;
  color: #262626;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 3px;
  outline: 0;
  font: inherit;
}

.member-profile-grid input { height: 44px; }
.member-profile-form textarea { resize: vertical; min-height: 170px; }
.member-profile-grid input:focus,
.member-profile-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239, 91, 10, .13); }
.member-form-wide { grid-column: 1 / -1; }

.member-password-section {
  margin: 33px 0;
  padding: 27px 0 0;
  border-top: 1px solid #e7e7e7;
}

.member-password-section p {
  margin: -10px 0 19px;
  color: #7c7c7c;
  font-size: 14px;
}

.member-profile-form .lawyer-term-fieldset { margin-top: 25px; }
.member-photo-section {
  margin: 27px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 23px;
  align-items: center;
}

.member-current-photo {
  width: 150px;
  height: 150px;
  overflow: hidden;
  background: #eee;
  border-radius: 4px;
}

.member-current-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-profile-form > .lawyer-about-field { margin-top: 8px; }

.member-profile-status {
  margin: 21px 0 0;
  padding: 11px 13px;
  color: #2f6032;
  background: #edf8ee;
  border-left: 4px solid #49824d;
  line-height: 1.45;
}

.member-profile-status.is-error { color: #8d2923; background: #fff0ee; border-left-color: #c8463c; }

.member-profile-save {
  min-width: 190px;
  min-height: 47px;
  margin-top: 25px;
  padding: 10px 18px;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.member-profile-save:hover,
.member-profile-save:focus-visible { background: var(--orange-dark); }
.member-profile-save:disabled { opacity: .7; cursor: wait; }

@media (max-width: 850px) {
  .member-portal-shell { grid-template-columns: 1fr; }
  .member-portal-sidebar { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; }
  .member-portal-sidebar .membership-kicker,
  .member-portal-sidebar h1,
  .member-portal-welcome { grid-column: 1 / -1; margin: 0; }
  .member-public-profile,
  .member-logout-button { width: auto; white-space: nowrap; }
}

@media (max-width: 600px) {
  .email-verification-page { min-height: 570px; padding: 50px 16px; }
  .email-verification-card { padding: 35px 24px; }
  .email-verification-card h1 { font-size: 27px; }
  .email-verification-actions { flex-direction: column; gap: 15px; }
  .member-portal-page { padding: 25px 12px 43px; }
  .member-portal-sidebar,
  .member-portal-content { padding: 25px 19px; }
  .member-portal-sidebar { display: block; }
  .member-portal-sidebar h1 { margin: 6px 0 12px; }
  .member-public-profile,
  .member-logout-button { width: 100%; margin-top: 10px; }
  .member-profile-grid { grid-template-columns: 1fr; gap: 17px; }
  .member-form-wide { grid-column: auto; }
  .member-portal-heading { display: block; }
  .member-status-badge { display: inline-block; margin-top: 14px; }
  .member-photo-section { grid-template-columns: 1fr; }
}
