:root {
  --dark: #232629;
  --gold: #d5a34f;
  --text: #232629;
  --muted: #818181;
  --soft: #f8f1ef;
  --panel: #f7f7f7;
  --serif: "Cormorant", Georgia, serif;
  --sans: "Open Sans", Arial, sans-serif;
  --container: 1170px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: var(--sans); font-size: 14px; line-height: 1.9; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 30px), var(--container)); margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top-strip { height: 50px; color: #fff; background: var(--dark); font-family: var(--serif); font-size: 16px; }
.top-strip__inner { display: flex; height: 50px; align-items: center; justify-content: space-between; }
.top-strip p { margin: 0; }
.top-strip p span { color: var(--gold); }
.top-strip__right { display: flex; height: 50px; align-items: center; }
.social-links { display: flex; gap: 38px; padding-right: 70px; font-family: var(--sans); font-size: 12px; font-weight: 600; }
.top-phone { display: flex; width: 200px; height: 50px; align-items: center; justify-content: center; background: var(--gold); font-weight: 700; }

.main-header { height: 105px; background: #fff; }
.main-header__inner { display: flex; height: 105px; align-items: center; justify-content: space-between; }
.logo img { width: 153px; }
.main-menu { display: flex; align-items: center; gap: 42px; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.main-menu > a:not(.header-button):hover { color: var(--gold); }
.header-button { display: grid; width: 175px; height: 50px; place-items: center; margin-left: 54px; color: #fff; background: var(--dark); font-size: 15px; }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { position: relative; height: 600px; overflow: hidden; background: url("assets/images/warsaw-business.webp") center 49% / cover no-repeat; }
.hero__shade { position: absolute; inset: 0; background: rgba(17, 21, 22, .46); }
.hero__content { position: absolute; inset: 0; display: flex; align-items: center; flex-direction: column; justify-content: center; padding-bottom: 10px; color: #fff; text-align: center; }
.hero h1 { margin: 0 0 25px; font-family: var(--serif); font-size: 68px; font-weight: 700; line-height: .98; }
.hero p { margin: 0 0 45px; font-family: var(--serif); font-size: 24px; line-height: 1.65; }
.hero__content > a { display: grid; width: 165px; height: 50px; place-items: center; background: var(--gold); font-family: var(--serif); font-size: 15px; font-weight: 700; }

.services { height: 325px; margin-top: 50px; margin-bottom: 75px; padding-top: 8px; background: #fff; }
.center-title { text-align: center; }
.center-title span, .section-kicker { margin: 0; color: #747474; font-family: var(--serif); font-size: 15px; text-transform: uppercase; }
.center-title h2 { margin: -2px 0 7px; font-family: var(--serif); font-size: 48px; line-height: 1.2; }
.center-title em, .contact-section h2 em { color: var(--gold); font-style: normal; font-weight: 500; }
.center-title i { display: block; width: 2px; height: 50px; margin: 0 auto; background: var(--gold); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.service { display: grid; height: 100px; grid-template-columns: 99px 1fr 45px; align-items: center; background: var(--soft); }
.service__icon { display: grid; height: 100px; place-items: center; border-right: 2px solid #fff; }
.service__icon svg { width: 52px; height: 52px; fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.service strong { padding-left: 27px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.service b { font-family: var(--serif); font-size: 21px; font-weight: 400; }

.about { height: 858px; padding-top: 15px; background: #fff; }
.about__grid { display: grid; grid-template-columns: 570px 1fr; gap: 100px; }
.about__image img { width: 570px; height: 828px; object-fit: cover; object-position: center top; }
.about__copy { padding-top: 51px; }
.about__copy h2 { margin: 0 0 11px; font-family: var(--serif); font-size: 48px; line-height: 1.2; }
.about__copy p { margin: 0 0 20px; color: var(--muted); text-align: justify; }
.about__copy .about__lead { color: var(--gold); font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.8; }
.about__lead a { text-decoration: underline; }
.about__copy hr, .consultation hr { height: 1px; margin: 23px 0 25px; border: 0; background: #e4e4e4; }
.signature { width: 254px; height: 49px; object-fit: contain; margin-top: 14px; }

.opinions { height: 531px; margin-top: 75px; margin-bottom: 75px; padding-top: 37px; }
.opinions .center-title i { margin-top: 10px; }
.testimonial-slider { position: relative; max-width: 1170px; min-height: 305px; margin: 24px auto 0; overflow: hidden; }
.testimonial-track { position: relative; width: 100%; min-height: 288px; }
.testimonial { position: absolute; inset: 0; display: none; max-width: 944px; margin: 0 auto; text-align: center; }
.testimonial.is-active { display: block; animation: testimonial-in .55s ease both; }
.testimonial blockquote { margin: 0 0 -6px; color: #777; font-family: var(--serif); font-size: 32px; line-height: 52px; }
.testimonial-stars { color: #fcc65d; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: 1px; line-height: 26px; }
.testimonial p { margin: 0; color: var(--text); font-family: var(--serif); font-size: 24px; line-height: 29px; }
.testimonial-arrow { position: absolute; z-index: 2; top: 112px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #e1e1e1; border-radius: 50%; opacity: 0; background: #fff; color: var(--gold); font-family: var(--serif); font-size: 28px; cursor: pointer; transition: opacity .25s, background .25s, color .25s; }
.testimonial-slider:hover .testimonial-arrow, .testimonial-arrow:focus-visible { opacity: 1; }
.testimonial-arrow:hover { color: #fff; background: var(--gold); }
.testimonial-arrow--prev { left: 5px; }
.testimonial-arrow--next { right: 5px; }
.testimonial-dots { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; gap: 8px; }
.testimonial-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #d9d9d9; cursor: pointer; }
.testimonial-dots button.is-active { background: var(--gold); }
@keyframes testimonial-in {
  from { opacity: 0; transform: translateX(35px); }
  to { opacity: 1; transform: translateX(0); }
}

.contact-section { min-height: 760px; background: linear-gradient(90deg, #f7f7f7 0 50%, #fff 50%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.faq-panel, .consultation { min-height: 760px; padding-top: 112px; }
.faq-panel { padding-right: 30px; }
.consultation { padding-left: 30px; }
.contact-section h2 { margin: -4px 0 45px; font-family: var(--serif); font-size: 48px; line-height: 1.2; }
.accordion { border: 1px solid #e4e4e4; }
.accordion-item { background: #fff; }
.accordion-item + .accordion-item { border-top: 1px solid #e7e7e7; }
.accordion-item button { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: space-between; padding: 10px 30px; border: 0; background: #fff; font-family: var(--serif); font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; }
.accordion-item.is-open button { color: #fff; background: var(--gold); }
.accordion-content { display: none; padding: 20px 30px; color: var(--muted); }
.accordion-content p { margin: 0; }
.accordion-item.is-open .accordion-content { display: block; }
.consultation__phone { margin: 0; font-family: var(--serif); font-size: 20px; }
.consultation hr { margin: 30px 0 25px; }
.consultation h3, .footer h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 24px; }
.simple-form { display: grid; gap: 10px; }
.simple-form input, .simple-form textarea { width: 100%; border: 1px solid #e1e1e1; border-radius: 0; background: #fff; color: #555; outline: 0; }
.simple-form input { height: 45px; padding: 0 20px; }
.simple-form textarea { height: 125px; padding: 14px 20px; resize: vertical; }
.simple-form input::placeholder, .simple-form textarea::placeholder { color: #bec2c8; }
.simple-form button { width: 170px; height: 45px; margin-top: 18px; border: 0; color: #fff; background: var(--gold); font-family: var(--serif); font-size: 16px; font-weight: 700; cursor: pointer; }

.footer { min-height: 640px; padding-top: 120px; color: rgba(255,255,255,.72); background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 400px 1fr 270px; gap: 95px; }
.footer-about > img { width: 146px; height: 43px; object-fit: contain; margin-bottom: 14px; }
.footer-about p { margin: 0 0 20px; }
.footer-contact { color: #fff; font-family: var(--serif); font-size: 21px; line-height: 1.5; }
.footer h2 { color: #fff; font-size: 18px; }
.footer-links > div { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; }
.footer-links nav { display: grid; gap: 18px; }
.footer-form { padding: 25px 30px 30px; background: rgba(255,255,255,.025); }
.simple-form--footer textarea { height: 125px; }
.simple-form--footer button { width: 170px; }

.page-title { position: relative; padding: 179px 0 181px; background: url("assets/images/page-title-bg.jpg") center center / cover no-repeat; color: #fff; }
.page-title .overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.page-title .container { position: relative; z-index: 1; }
.page-title.default { text-align: left; }
.page-title-heading { margin: 0 0 12px; font-family: var(--serif); font-size: 72px; font-weight: 700; line-height: 1; color: #fff; }
.breadcrumbs { font-family: var(--serif); font-size: 16px; font-weight: 700; color: #fff; }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { margin: 0 10px; font-family: Arial, sans-serif; }

.subpage-main { padding: 120px 0; background: #fff; }
.subpage-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; }
.content-area { min-width: 0; }

.practise-area-content-top { margin-bottom: 35px; }
.category-tag { display: inline-block; margin-bottom: 14px; color: var(--gold); font-family: var(--serif); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.category-tag:hover { color: var(--dark); }
.post-title { margin: 0; font-family: var(--serif); font-size: 48px; font-weight: 700; line-height: 1.15; color: var(--text); }
.post-title .first-letter { color: var(--gold); }

.content-image { margin: 30px 0 40px; }
.content-image img { width: 100%; height: auto; }

.widget-title { margin: 0 0 22px; font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--text); }
.services-list-inner p { margin: 0 0 18px; color: var(--muted); line-height: 1.9; text-align: justify; }
.services-list-inner strong { color: var(--text); font-weight: 700; }
.services-list-inner p:last-child { margin-bottom: 0; }

.closing-text { margin-top: 40px; color: var(--muted); line-height: 1.9; }

.sidebar { min-width: 0; }
.sidebar-widget { margin-bottom: 45px; }
.sidebar-widget h3 { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--text); }
.sidebar-widget ul { margin: 0; padding: 0; list-style: none; }
.sidebar-widget li { padding: 10px 0; border-bottom: 1px solid #e7e7e7; }
.sidebar-widget li a { color: var(--muted); }
.sidebar-widget li a:hover { color: var(--gold); }

.cta-section { padding: 80px 0; text-align: center; background: var(--dark); color: #fff; }
.cta-section h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 42px; font-weight: 700; }
.cta-section p { max-width: 700px; margin: 0 auto 30px; color: rgba(255,255,255,.75); line-height: 1.9; }
.cta-section a { display: inline-grid; width: 190px; height: 50px; place-items: center; background: var(--gold); font-family: var(--serif); font-size: 16px; font-weight: 700; color: #fff; }

@media (max-width: 767px) {
  body { font-size: 14px; }
  .container { width: calc(100% - 30px); }
  .top-strip { display: none; }
  .main-header, .main-header__inner { height: 75px; }
  .logo img { width: 153px; }
  .menu-toggle { display: grid; width: 35px; height: 35px; place-content: center; gap: 6px; padding: 0; cursor: pointer; }
  .menu-toggle span { width: 29px; height: 2px; background: #111; }
  .main-menu { position: absolute; z-index: 10; top: 75px; right: 0; left: 0; display: none; padding: 15px; background: #fff; box-shadow: 0 12px 22px rgba(0,0,0,.12); }
  .main-menu.is-open { display: grid; gap: 0; }
  .main-menu a { padding: 12px 8px; }
  .header-button { width: auto; height: 45px; margin: 8px 0 0; }
  .hero { height: 488px; background-position: 43% center; }
  .hero__content { padding: 0 18px; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 17px; line-height: 1.45; }
  .hero p br { display: none; }
  .services { height: 565px; margin-top: 60px; margin-bottom: 60px; padding-top: 5px; }
  .center-title h2 { font-size: 32px; }
  .center-title i { height: 50px; margin-top: 6px; }
  .service-list { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .service { height: 100px; grid-template-columns: 98px 1fr 40px; }
  .service strong { padding-left: 26px; font-size: 24px; }
  .about { min-height: 1407px; padding-top: 15px; }
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .about__image img { width: 100%; height: 523px; }
  .about__copy { padding-top: 0; }
  .about__copy h2 { font-size: 32px; }
  .about__copy .about__lead { font-size: 17px; }
  .about__copy p { line-height: 2; }
  .opinions { height: 744px; margin-top: 76px; margin-bottom: 75px; padding-top: 37px; }
  .testimonial-slider { min-height: 475px; margin-top: 28px; overflow: hidden; }
  .testimonial-track { min-height: 445px; }
  .testimonial { max-width: 360px; }
  .testimonial blockquote { font-size: 25px; line-height: 42px; }
  .testimonial p { font-size: 22px; }
  .testimonial-arrow { display: none; }
  .contact-section { min-height: 1314px; background: #f7f7f7; }
  .contact-grid { width: 100%; grid-template-columns: 1fr; }
  .faq-panel, .consultation { min-height: 0; padding: 80px 15px; }
  .faq-panel { height: 640px; background: #f7f7f7; }
  .consultation { height: 674px; background: #fff; }
  .contact-section h2 { margin-bottom: 45px; font-size: 32px; }
  .accordion-item button { min-height: 50px; padding: 10px 30px; }
  .accordion-content { padding: 20px 30px; }
  .footer { min-height: 1179px; padding-top: 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 55px; }
  .footer-about > img { width: 146px; }
  .footer-links > div { grid-template-columns: 1fr; gap: 18px; }
  .footer-links nav { gap: 18px; }
  .footer-form { padding: 25px 30px 30px; }
  .page-title { padding: 100px 0; }
  .page-title-heading { font-size: 42px; }
  .subpage-layout { grid-template-columns: 1fr; gap: 50px; }
  .post-title { font-size: 34px; }
  .sidebar { order: 2; }
  .cta-section { padding: 60px 20px; }
  .cta-section h2 { font-size: 30px; }
}
