/* Advokatės Ievos Labukės kontora – labuke.lt */
:root {
  --ink: #1A1A1A;
  --text: #33332F;
  --muted: #5F5F59;
  --line: #E6E6E2;
  --ground: #F3F3F1;
  --accent: #2E2E2A;
  --dark: #1D1E20;
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: #000; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: var(--ink); }
p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--serif); font-size: 22px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--muted); font-size: 16px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.nav a { color: #4A4A43; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--accent); background: var(--accent); color: #FFF; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: #000; color: #FFF; }
.btn-ghost { background: transparent; color: var(--accent); border-color: #8F8F88; }
.btn-ghost:hover { background: var(--accent); color: #FFF; }

/* Hero */
.hero { position: relative; background: #DCDCD8; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 0 50%; }
@media (min-width: 901px) { .hero-bg img { width: 118%; max-width: none; } }
.hero .wrap { position: relative; display: flex; align-items: center; min-height: min(78vh, 680px); padding-top: 72px; padding-bottom: 72px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.1; }
.li-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.li-link:hover { border-bottom-color: var(--ink); }
.li-link svg { color: var(--accent); flex: none; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 520px; }
.proof { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; max-width: 520px; }
.proof li { padding: 10px 0; border-top: 1px solid rgba(26, 26, 26, 0.18); font-size: 15px; line-height: 1.5; color: var(--text); }
.proof li:last-child { border-bottom: 1px solid rgba(26, 26, 26, 0.18); }
.proof strong { color: var(--ink); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
@media (max-width: 900px) {
  .hero-bg img { object-position: 78% 50%; }
  .hero-text { background: rgba(243, 243, 241, 0.88); padding: 28px 24px; }
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--ground); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4vw, 40px); line-height: 1.15; }

/* Practice cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: #FFF; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card svg { width: 32px; height: 32px; stroke: #4A4A43; }
.card h3 { font-size: 24px; line-height: 1.2; }
.card-cta { border: 1px solid #C9C9C3; justify-content: center; align-items: flex-start; }
.card-cta .btn { margin-top: 6px; }
.card p { font-size: 16px; color: #4A4A43; }

/* CTA */
.cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); background: var(--dark); color: #D8D8D4; }
.cta img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.cta-text { padding: 72px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.cta h2 { color: #FFF; font-size: clamp(34px, 4vw, 44px); }
.cta .btn { background: #FFF; color: var(--ink); border-color: #FFF; }
.cta .btn:hover { background: var(--ground); }

/* Contacts page */
.contact .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.panel { background: #FFF; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.panel h1 { font-size: clamp(32px, 4vw, 40px); line-height: 1.15; }
.form { display: flex; flex-direction: column; gap: 18px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-size: 14px; font-weight: 600; color: var(--text); }
.field label small { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 11px 14px; min-height: 46px; border: 1px solid #C9C9C3; background: #FFF; color: var(--ink); border-radius: 0; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
fieldset { margin: 0; padding: 0; border: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 8px; }
.radios label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.radios input { width: 18px; height: 18px; accent-color: var(--accent); }
.note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.side { display: flex; flex-direction: column; gap: 28px; }
.side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.details { display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.details .name { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.details .links { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #D6D6D1; padding-top: 14px; }
.details .links a { font-size: 18px; color: var(--ink); }

/* Text pages */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 24px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }

/* Footer */
.site-footer { background: var(--dark); color: #D8D8D4; font-size: 15px; line-height: 1.7; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer .col { display: flex; flex-direction: column; gap: 6px; }
.site-footer .title { font-family: var(--serif); font-size: 22px; color: #FFF; margin-bottom: 6px; }
.site-footer .label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #A9A9A3; margin-bottom: 6px; }
.site-footer a { color: #FFF; }
.site-footer .bottom { border-top: 1px solid #3A3B3E; padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: #A9A9A3; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 40px; min-height: 0; }
  .hero-text { padding: 24px 20px; }
  .section { padding: 64px 0; }
  .panel { padding: 28px 20px; }
  .cta-text { padding: 56px 24px; }
  .card { padding: 26px; }
}
