/* =========================================================
   Mgr. Farid Alizey, advokát — static site styles
   Brand colours taken from the original WordPress/Elementor site
   ========================================================= */
:root {
  --burgundy: #72434D;
  --burgundy-dark: #5a333c;
  --gold: #E8C56C;
  --gold-dark: #c9a54d;
  --ink: #272727;
  --text: #4a4a4a;
  --muted: #7a7a7a;
  --bg: #ffffff;
  --bg-soft: #faf7f2;
  --line: #ece6dc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--burgundy); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 40px;
  font-weight: 500; text-decoration: none; letter-spacing: .3px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--burgundy); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand img { height: 52px; width: auto; }

.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  position: relative; padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .25s;
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.site-nav a.nav-cta {
  background: var(--burgundy); color: #fff; padding: 9px 22px; border-radius: 30px;
}
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:hover { background: var(--burgundy-dark); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; width: 26px; background: var(--ink); transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden; color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(114,67,77,.92) 0%, rgba(114,67,77,.75) 45%, rgba(114,67,77,.25) 100%);
}
.hero-content { position: relative; max-width: 1180px; }
.hero-content > * { max-width: 640px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 500;
  color: var(--gold); margin-bottom: 14px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 600; }
.hero-sub { font-size: 20px; font-weight: 300; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Section titles ---------- */
.section-title {
  text-align: center; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 50px;
  text-transform: none; position: relative; padding-bottom: 18px;
}
.section-title::first-letter { text-transform: uppercase; }
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 70px; height: 3px; background: var(--gold); border-radius: 2px;
}
.section-title.left { text-align: left; }
.section-title.left::after { left: 0; transform: none; }
.section-title.light { color: #fff; }

/* ---------- Practice areas ---------- */
.practice { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.card {
  background: #fff; border-radius: var(--radius); padding: 36px 30px 30px;
  box-shadow: var(--shadow); text-align: center; border-top: 4px solid var(--burgundy);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(114,67,77,.15); }
.card-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px;
  background: rgba(232,197,108,.18); color: var(--burgundy);
}
.card h2 { font-size: 20px; margin-bottom: 12px; }
.divider { display: block; width: 50px; height: 2px; background: var(--gold); margin: 0 auto 16px; }
.card p { font-size: 15px; color: var(--muted); }
.card .more p { margin-top: 0; }
.read-more {
  margin-top: auto; align-self: center; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 500; font-size: 14px; color: var(--burgundy);
  padding: 6px 12px; display: inline-flex; gap: 8px; align-items: center;
}
.read-more i { transition: transform .3s; font-size: 12px; }
.read-more[aria-expanded="true"] i { transform: rotate(180deg); }
.read-more:hover { color: var(--gold-dark); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.about-text p { font-size: 16.5px; }
.lang-tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lang-tags li {
  border: 1px solid var(--gold); color: var(--burgundy); font-size: 13px; font-weight: 500;
  padding: 5px 14px; border-radius: 20px; background: rgba(232,197,108,.1);
}
.about-photo { margin: 0; position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
.about-photo figcaption {
  position: absolute; left: 20px; bottom: 20px; background: var(--burgundy); color: #fff;
  padding: 8px 18px; border-radius: 30px; font-weight: 500; font-size: 14px;
}

/* ---------- Specialisation ---------- */
.specialisation { background: var(--bg-soft); }
.spec-list {
  list-style: none; padding: 0; margin: 0 auto; max-width: 960px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 30px;
}
.spec-list li {
  background: #fff; padding: 20px 22px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.05);
  display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--ink);
  border-left: 4px solid var(--gold);
}
.spec-list i { color: var(--burgundy); margin-top: 5px; }

/* ---------- Clients marquee ---------- */
.clients { padding-bottom: 70px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 70px; align-items: center; width: max-content; animation: scroll 35s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 60px; width: auto; max-width: 200px; object-fit: contain;
  filter: grayscale(100%); opacity: .7; transition: filter .3s, opacity .3s;
}
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Info ---------- */
.info {
  background:
    linear-gradient(rgba(116,66,77,.93), rgba(116,66,77,.93)),
    url("../images/team-photo.jpg") center / cover fixed;
  color: #fff;
}
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.info-box {
  background: rgba(255,255,255,.08); border: 1px solid rgba(232,197,108,.4);
  border-radius: var(--radius); padding: 34px;
}
.info-box i { font-size: 28px; color: var(--gold); margin-bottom: 16px; display: block; }
.info-box p { margin: 0; }
.info-box a { color: var(--gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: stretch; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.directions { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.dir-item { display: flex; gap: 18px; align-items: flex-start; }
.dir-item i {
  flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--burgundy); color: var(--gold); font-size: 18px;
}
.dir-item p { margin: 0; }

/* ---------- Hours ---------- */
.hours { background: var(--burgundy); color: #fff; padding: 60px 0; }
.hours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.hour-box i { font-size: 34px; color: var(--gold); margin-bottom: 14px; }
.hour-box h3 { color: var(--gold); font-size: 20px; text-transform: none; }
.hour-box h3::first-letter { text-transform: uppercase; }
.hour-box p { margin: 0; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 40px 0 30px; border-top: 1px solid var(--line); text-align: center; }
.footer-inner .brand img { height: 56px; margin: 0 auto 8px; }
.tagline { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--burgundy); margin-bottom: 8px; }
.copy { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center;
  text-decoration: none; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .brand img { height: 42px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; padding: 10px 20px 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .site-nav.open { transform: none; }
  .site-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav a.nav-cta { margin-top: 14px; text-align: center; border: 0; }

  .section { padding: 64px 0; }
  .about-grid, .contact-grid, .info-grid { grid-template-columns: 1fr; }
  .about-photo::before { display: none; }
  .spec-list { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; gap: 36px; }
  .info { background-attachment: scroll; }
  .hero { min-height: 80vh; }
  .hero-overlay { background: rgba(114,67,77,.82); }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .marquee-track { gap: 44px; }
  .marquee-track img { height: 46px; }
}
