/*
Theme Name: Sonia Worwa Adwokat
Theme URI: https://adwokatworwa.pl
Author: 
Description: Motyw kancelarii adwokackiej Sonii Worwa.
Version: 1.0
Text Domain: adwokat-worwa
*/

:root {
  --black:#080808;
  --black-soft:#111;
  --black-line:#292723;
  --white:#e8e3da;
  --white-soft:#bdb7ad;
  --gold:#a98b68;
  --gold-light:#c1a47e;
  --max-width:1440px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:Montserrat,Helvetica,sans-serif;
  line-height:1.5
}

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

.site-header {
  min-height:92px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  border-bottom:1px solid var(--black);
  position:relative;
  z-index:20
}

.header-inner {
  width:100%;
  max-width:calc(var(--max-width) + 200px);
  min-height:92px;
  margin:0 auto;
  padding:0 clamp(20px,4vw,48px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px
}

.brand img {
  display:block;
  width:min(310px,32vw);
  height:auto
}

.main-nav {
  display:flex;
  gap:clamp(25px,4vw,60px);
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase
}

.main-nav a {
  opacity:.9;
  transition:.2s
}

.main-nav a:hover {
  color:var(--gold-light);
  opacity:1
}

.menu-toggle {
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--black-line);
  background:transparent;
  padding:10px
}

.menu-toggle span {
  display:block;
  height:1px;
  margin:5px 0;
  background:var(--white)
}

.hero {
  min-height:calc(100vh - 92px);
  max-width:var(--max-width);
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,1.05fr)
}

.hero-copy {
  padding:clamp(70px,9vw,135px) clamp(30px,5vw,85px);
  position:relative;
  z-index:3
}

.eyebrow,.section-label,.section-kicker,.article-meta {
  font-size:10px;
  font-weight:700;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--white-soft)
}

.eyebrow {
  margin:0 0 30px;
  color:var(--gold-light);
  font-weight:700
}

h1,h2,h3,p {
  margin-top:0
}

h1 {
  max-width:760px;
  margin-bottom:34px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(52px,6.1vw,94px);
  font-weight:400;
  line-height:.91;
  letter-spacing:-.035em
}

h1 em,h2 em {
  color:var(--gold-light);
  font-style:normal
}

.hero-lead {
  max-width:590px;
  color:var(--white-soft);
  font-size:15px;
  line-height:1.75;
  text-align:justify
}

.button {
  display:inline-flex;
  align-items:center;
  gap:35px;
  margin-top:12px;
  padding:16px 22px;
  border:1px solid var(--gold);
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  transition:.2s
}

.button:hover {
  background:var(--gold);
  color:var(--black)
}

.button span {
  color:var(--gold-light);
  font-size:18px
}

.signature {
  display:flex;
  align-items:end;
  gap:25px;
  margin-top:70px
}

.signature-mark img {
  display:block;
  height:48px;
  width:auto
}

.signature-caption {
  padding-left:25px;
  border-left:1px solid var(--gold);
  font-size:13px;
  letter-spacing:.28em;
  line-height:1.8
}

.hero-visual {
  min-height:720px;
  position:relative;
  overflow:visible
}

.hero-photo {
  position:absolute;
  inset:0;
  background-image:linear-gradient(90deg,#080808 0%,#08080830 25%,#08080808 65%),linear-gradient(180deg,#08080835 0%,#08080808 55%,#08080855 100%),url("assets/hero-office.jpg");
  background-size:cover;
  background-position:center center
}

.visual-note {
  position:absolute;
  right:-1px;
  top:21%;
  width:125px;
  padding:28px 22px;
  background:#080808dc;
  border-left:1px solid var(--gold)
}

.visual-note span {
  display:block;
  margin-bottom:25px;
  color:var(--gold-light);
  font-family:Georgia,"Times New Roman",serif;
  font-size:14px;
  line-height:1.4;
  letter-spacing:.18em
}

.visual-note small {
  color:var(--white-soft);
  font-size:8px;
  letter-spacing:.2em;
  line-height:2.3
}

.emergency-card {
  position:absolute;
  z-index:4;
  right:25px;
  bottom:42px;
  width:fit-content;
  max-width:72%;
  padding:23px 28px;
  border:1px solid var(--gold);
  background:#080808ed;
  box-shadow:0 20px 60px #00000080;
  text-align:right
}

.emergency-card p {
  margin-bottom:3px;
  color:var(--gold-light);
  font-size:10px;
  font-weight:700;
  letter-spacing:.2em
}

.emergency-card strong {
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:45px;
  font-weight:400;
  line-height:1
}

.emergency-card a {
  display:block;
  margin-top:8px;
  color:var(--white-soft);
  font-size:15px
}

.specialization-strip {
  max-width:var(--max-width);
  margin:48px auto 0;
  display:grid;
  grid-template-columns:repeat(6,1fr)
}

.specialization-card {
  min-height:150px;
  padding:28px 30px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:.25s
}

.specialization-card:hover {
  background:var(--black-soft)
}

.specialization-card span {
  color:var(--gold-light);
  font-size:13px
}

.specialization-card strong {
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  font-weight:400;
  letter-spacing:.08em;
  line-height:1.45
}

.specialization-card b {
  font-size:19px;
  font-weight:400
}

.section {
  max-width:var(--max-width);
  margin:auto;
  padding:clamp(90px,12vw,170px) 5vw
}

.about-section {
  max-width:calc(var(--max-width) + 100px);
  margin:auto;
  border-bottom:1px solid rgba(169,139,104,.35)
}

.about-photo {
  float:left;
  width:380px;
  margin:6px 40px 24px 0
}

.about-photo img {
  display:block;
  width:100%;
  height:auto
}

.section-label {
  color:var(--gold-light);
  padding-top:9px
}

.section-kicker {
  color:var(--gold-light);
  margin-top:0;
  margin-bottom:28px
}

h2 {
  margin-bottom:28px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(45px,5vw,78px);
  font-weight:400;
  line-height:.95;
  letter-spacing:-.03em
}

.section-text {
  max-width:650px;
  color:var(--white-soft);
  font-size:16px;
  line-height:1.8
}

.about-content .section-text {
  max-width:none;
  text-align:justify;
  font-family:Montserrat,Helvetica,sans-serif
}

.about-content .section-kicker {
  font-weight:400
}

.about-signature {
  text-align:right
}

.blog-section {
  border-bottom:1px solid rgba(169,139,104,.35)
}

.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:60px
}

.text-link {
  color:var(--gold-light);
  font-size:10px;
  letter-spacing:.2em;
  text-transform:uppercase;
  white-space:nowrap
}

.blog-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px
}

.article-card {
  border-top:1px solid var(--black-line);
  padding-top:20px
}

.article-image {
  aspect-ratio:16/9;
  margin-bottom:24px;
  background:linear-gradient(120deg,#26231f,#0d0d0d)
}

.article-image--czynny {
  background:url("assets/czynny.jpg") center center/cover
}

.article-image--szkoda {
  background:url("assets/szkoda.jpg") center center/cover
}

.article-image--wezwanie {
  background-image:url("assets/wezwanie.jpg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-color:var(--black-soft)
}

.article-meta {
  color:var(--gold-light);
  margin-bottom:15px
}

.article-card h3 {
  min-height:70px;
  margin-bottom:22px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  font-weight:400;
  line-height:1.15
}

.article-card a {
  color:var(--gold-light);
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase
}

.contact-section {
  display:grid;
  grid-template-columns:.6fr 1.4fr;
  gap:70px
}

#kontakt .section-kicker {
  margin-top:9px
}

.contact-details {
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  margin-top:50px
}

.contact-details a {
  color:var(--gold-light);
  font-size:17px
}

.site-footer {
  min-height:150px;
  max-width:var(--max-width);
  margin:auto;
  padding:35px 5vw;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  border-top:1px solid rgba(169,139,104,.35)
}

.footer-brand-group {
  display:flex;
  align-items:center;
  gap:16px
}

.footer-logo {
  display:block;
  height:34px;
  width:auto
}

.footer-brand {
  font-size:11px;
  letter-spacing:.3em;
  line-height:1.8
}

.footer-brand small {
  color:var(--gold-light);
  font-size:8px
}

.footer-motto {
  text-align:center;
  color:var(--white-soft);
  font-size:9px;
  font-weight:700;
  letter-spacing:.35em
}

.footer-socials {
  display:flex;
  justify-content:flex-end;
  gap:18px
}

.footer-socials a {
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid var(--black-line)
}

.footer-legal {
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 5vw 35px;
  color:var(--white-soft);
  font-size:10px;
  letter-spacing:.04em;
  line-height:1.9
}

.footer-legal p {
  margin:0
}

.footer-copyright {
  padding:24px 0;
  text-align:center;
  color:var(--gold-light);
  font-family:Georgia,"Times New Roman",serif;
  font-size:12px;
  letter-spacing:.08em
}

.footer-legal a {
  color:var(--gold-light)
}

.mobile-emergency {
  display:none
}

@media(max-width:900px) {
  .main-nav {
    position:absolute;
    top:92px;
    left:0;
    right:0;
    display:none;
    padding:25px 5vw;
    background:var(--black);
    border-bottom:1px solid var(--black-line);
    flex-direction:column;
    align-items:flex-start
  }
  .main-nav.is-open {
    display:flex
  }
  .menu-toggle {
    display:block
  }
  .hero {
    grid-template-columns:1fr
  }
  .hero-copy {
    padding-bottom:55px
  }
  .hero-visual {
    min-height:520px
  }
  .specialization-strip {
    grid-template-columns:1fr 1fr
  }
  .about-photo {
    float:none;
    width:100%;
    margin:0 0 24px
  }
  .contact-section {
    grid-template-columns:1fr;
    gap:25px
  }
  .blog-grid {
    grid-template-columns:1fr
  }
  .article-card h3 {
    min-height:0
  }
  .site-footer {
    grid-template-columns:1fr;
    gap:25px
  }
  .footer-motto {
    text-align:left
  }
  .footer-socials {
    justify-content:flex-start
  }
  .footer-legal {
    padding-bottom:100px
  }
  .mobile-emergency {
    display:block;
    position:fixed;
    z-index:50;
    left:12px;
    right:12px;
    bottom:12px;
    border:1px solid var(--gold);
    background:#080808f5;
    box-shadow:0 12px 35px #0009
  }
  .mobile-emergency a {
    min-height:62px;
    padding:10px 14px;
    display:flex;
    align-items:center;
    gap:12px
  }
  .mobile-emergency span {
    color:var(--gold-light);
    font-size:22px
  }
  .mobile-emergency strong {
    flex:1;
    font-size:9px;
    letter-spacing:.12em;
    line-height:1.4
  }
  .mobile-emergency b {
    color:var(--gold-light);
    font-size:8px;
    letter-spacing:.12em
  }
}

@media(max-width:560px) {
  .site-header {
    min-height:76px
  }
  .brand img {
    width:215px
  }
  .main-nav {
    top:76px
  }
  .hero {
    min-height:auto
  }
  .hero-copy {
    padding:65px 24px 45px
  }
  h1 {
    font-size:clamp(45px,14vw,65px)
  }
  .hero-lead {
    font-size:14px
  }
  .hero-visual {
    min-height:470px
  }
  .emergency-card {
    right:15px;
    bottom:20px
  }
  .visual-note {
    display:none
  }
  .specialization-strip {
    grid-template-columns:1fr
  }
  .specialization-card {
    min-height:150px
  }
  .section {
    padding:85px 24px
  }
  .section-heading {
    align-items:flex-start;
    flex-direction:column;
    margin-bottom:45px
  }
  h2 {
    font-size:48px
  }
  .signature {
    margin-top:50px
  }
}
