/* FREZ Serwis Ostrzarski - local visual system */
:root {
  --ink: #172027;
  --ink-soft: #4f5b61;
  --muted: #718087;
  --paper: #f5f6f3;
  --white: #ffffff;
  --line: #dfe4e2;
  --copper: #a45a2a;
  --copper-dark: #7f421e;
  --copper-soft: #f2e5d8;
  --night: #172027;
  --shadow: 0 20px 55px rgba(23, 32, 39, 0.1);
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink-soft);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--copper-dark); text-decoration: none; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
a:hover { color: var(--copper); }

h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); line-height: 1.12; }
h1, h2, h3, h4, p { margin-top: 0; }
img { max-width: 100%; }
section { padding: 104px 0; }

.container { max-width: 1160px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 16px;
  color: var(--white);
  background: var(--copper-dark);
  transform: translateY(-160%);
}
.skip-link:focus { color: var(--white); transform: translateY(0); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-heading { max-width: 640px; margin-bottom: 48px; }
.section-heading h2 { margin: 13px 0 16px; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.045em; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.text-link i { font-size: 18px; transition: transform .25s ease; }
.text-link:hover i { transform: translateX(4px); }

/* Header */
.header {
  z-index: 997;
  width: 100%;
  padding: 18px 0;
  background: rgba(23, 32, 39, .96);
  transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
}
.header.sticked { padding: 11px 0; background: rgba(23, 32, 39, .98); box-shadow: 0 8px 30px rgba(0, 0, 0, .16); }
.header .logo { display: inline-flex; align-items: center; width: 190px; }
.header .logo img { display: block; width: 176px; height: auto; margin: 0; }
.navbar ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.navbar a { display: inline-flex; align-items: center; padding: 11px 15px; border-radius: 5px; color: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 700; }
.navbar a:hover, .navbar a.active { color: var(--white); background: rgba(255, 255, 255, .09); }
.navbar .nav-cta { margin-left: 12px; padding: 12px 19px; color: var(--white); background: var(--copper); }
.navbar .nav-cta:hover { color: var(--white); background: var(--copper-dark); }
.language-picker { display: flex; align-items: center; gap: 2px; margin-left: 8px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.2); }
.navbar .language-picker a { padding: 8px 7px; color: rgba(255,255,255,.56); font-size: 11px; letter-spacing: .08em; }
.navbar .language-picker a:hover, .navbar .language-picker a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.12); }
.mobile-nav-toggle { display: none; color: var(--white); font-size: 28px; cursor: pointer; }
.button:focus-visible, .navbar a:focus-visible, .mobile-nav-toggle:focus-visible, .scroll-top:focus-visible { outline: 3px solid var(--copper-dark); outline-offset: 3px; }
.header .navbar a:focus-visible, .header .mobile-nav-toggle:focus-visible { outline-color: #e9b082; }

/* Homepage hero */
.hero {
  position: relative;
  min-height: 740px;
  padding: 180px 0 110px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(14, 20, 24, .93) 0%, rgba(14, 20, 24, .76) 42%, rgba(14, 20, 24, .25) 100%), url("../img/hero-modern.jpg") center / cover;
}
.hero::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: rgba(255,255,255,.18); }
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 680px; }
.hero .eyebrow { color: #e9b082; }
.hero h1 { max-width: 680px; margin: 20px 0 24px; color: var(--white); font-size: clamp(44px, 6vw, 78px); font-weight: 700; letter-spacing: -.06em; }
.hero h1 span { color: #e9b082; }
.hero p { max-width: 610px; margin-bottom: 34px; color: rgba(255,255,255,.76); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 800; }
.button-primary { color: var(--white); background: var(--copper); box-shadow: 0 10px 24px rgba(199,119,60,.24); }
.button-primary:hover { color: var(--white); background: var(--copper-dark); transform: translateY(-2px); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.button-ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.08); }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 52px; color: rgba(255,255,255,.58); font-size: 13px; }
.hero-note i { color: #e9b082; font-size: 19px; }
.hero-side { display: flex; align-items: flex-end; justify-content: flex-end; height: 100%; }
.hero-card { width: 280px; padding: 28px; border: 1px solid rgba(233,176,130,.45); border-radius: 6px; color: var(--white); background: rgba(17,24,29,.94); box-shadow: var(--shadow); }
.hero-card .mark { display: flex; align-items: center; justify-content: space-between; margin-bottom: 65px; color: #e9b082; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero-card .mark span { color: #e9b082; }
.hero-card .mark i { font-size: 24px; }
.hero-card strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 42px; letter-spacing: -.06em; }
.hero-card span { color: rgba(255,255,255,.62); font-size: 13px; }

.trust-bar { position: relative; z-index: 2; margin-top: -1px; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-item { display: flex; align-items: center; gap: 13px; min-height: 98px; padding: 20px 26px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item i { color: var(--copper); font-size: 25px; }
.trust-item strong { display: block; color: var(--ink); font-size: 14px; }
.trust-item span { display: block; color: var(--muted); font-size: 12px; }

/* Homepage sections */
.services-preview { background: var(--paper); }
.service-card { height: 100%; padding: 32px 30px 30px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { border-color: rgba(199,119,60,.5); box-shadow: var(--shadow); transform: translateY(-5px); }
.service-card .icon-box { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 28px; border-radius: 4px; color: var(--copper-dark); background: var(--copper-soft); font-size: 23px; }
.service-card h3 { margin-bottom: 13px; font-size: 22px; letter-spacing: -.025em; }
.service-card p { min-height: 82px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.service-card ul { margin: 0; padding: 0; list-style: none; }
.service-card li { display: flex; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.service-card li::before { content: "✓"; color: var(--copper); font-weight: 800; }

.about-preview { background: var(--white); }
.about-image { position: relative; padding-right: 28px; }
.about-image img { width: 100%; height: 500px; border-radius: 5px; object-fit: cover; }
.image-caption { position: absolute; right: 0; bottom: 26px; width: 190px; padding: 22px; color: var(--white); background: var(--night); box-shadow: var(--shadow); }
.image-caption strong { display: block; color: #e9b082; font-family: var(--font-display); font-size: 34px; line-height: 1; }
.image-caption span { display: block; margin-top: 8px; color: rgba(255,255,255,.7); font-size: 12px; }
.about-copy { padding-left: 28px; }
.about-copy h2 { margin: 15px 0 20px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.05em; }
.about-copy p { color: var(--muted); }
.check-list { margin: 28px 0 32px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; margin-bottom: 13px; color: var(--ink); font-size: 14px; font-weight: 700; }
.check-list i { color: var(--copper); font-size: 18px; }

.cta-section { padding: 78px 0; color: var(--white); background: var(--night); }
.cta-section .eyebrow { color: #e9b082; }
.cta-section h2 { margin: 12px 0 13px; color: var(--white); font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; }
.cta-section p { max-width: 580px; margin-bottom: 0; color: rgba(255,255,255,.66); }
.cta-section .button { margin-top: 10px; }

/* Inner-page hero */
.page-hero { position: relative; padding: 170px 0 76px; background: linear-gradient(90deg, rgba(14,20,24,.84), rgba(14,20,24,.48)), url("../img/about-breadcrumb.jpg") center 52% / cover; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 15px 0 14px; color: var(--white); font-size: clamp(42px, 6vw, 64px); letter-spacing: -.06em; }
.page-hero p { max-width: 580px; margin-bottom: 20px; color: rgba(255,255,255,.7); }
.breadcrumbs { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.62); font-size: 13px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,.4); }
.breadcrumbs a { color: rgba(255,255,255,.78); }

/* About page */
.about-page { background: var(--white); }
.about-page .about-copy { padding-left: 0; }
.about-page .about-image { padding-right: 0; }
.about-page .about-image img { height: 560px; }
.about-page .section-heading { margin-bottom: 32px; }
.principles { padding-top: 0; background: var(--white); }
.principle { height: 100%; padding: 28px; border-top: 2px solid var(--copper); background: var(--paper); }
.principle i { color: var(--copper); font-size: 26px; }
.principle h3 { margin: 18px 0 10px; font-size: 20px; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }

/* Services page */
.services-page { background: var(--paper); }
.services-page .services-section { padding-bottom: 80px; }
.services-page .section-heading { margin-bottom: 38px; }
.service-detail { height: 100%; padding: 34px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.service-detail .icon-box { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 25px; border-radius: 4px; color: var(--copper-dark); background: var(--copper-soft); font-size: 25px; }
.service-detail h3 { margin-bottom: 13px; font-size: 25px; }
.service-detail p { min-height: 52px; color: var(--muted); font-size: 14px; }
.service-detail ul { margin: 22px 0 0; padding: 0; list-style: none; }
.service-detail li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.service-detail li::before { content: "→"; color: var(--copper); font-weight: 800; }
.service-callout { margin-top: 40px; padding: 30px 34px; color: var(--white); background: var(--night); }
.service-callout h2 { margin: 0 0 8px; color: var(--white); font-size: 26px; }
.service-callout p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.service-callout .button { margin-top: 4px; }

/* Contact page */
.contact-page { background: var(--paper); }
.contact-section { padding-bottom: 70px; }
.contact-section .section-heading { margin-bottom: 36px; }
.contact-card { height: 100%; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.contact-card .icon-box { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 50%; color: var(--copper-dark); background: var(--copper-soft); font-size: 21px; }
.contact-card h3 { margin-bottom: 8px; font-size: 20px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-card a { font-weight: 800; }
.location-map { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; margin: 48px 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.location-map-copy { padding: 34px; }
.location-map-copy h2 { margin: 14px 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; }
.location-map-copy p { color: var(--muted); }
.location-map-frame { min-height: 320px; background: #e5e1d8; }
.location-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.billing-card { padding: 34px; border: 1px solid var(--line); background: var(--white); }
.billing-card h2 { margin-bottom: 20px; font-size: 26px; }
.billing-card table { width: 100%; margin: 0; color: var(--ink-soft); font-size: 14px; }
.billing-card td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.billing-card tr:last-child td { border-bottom: 0; }
.contact-action { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 30px; background: var(--copper-soft); }
.contact-action h2 { margin: 0; font-size: 22px; }
.contact-action p { margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; }

/* Footer and utilities */
.footer { color: rgba(255,255,255,.64); font-size: 14px; background: var(--night); }
.footer .footer-content { padding: 64px 0 32px; background: var(--night); }
.footer-brand img { width: 176px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 275px; margin-bottom: 0; color: rgba(255,255,255,.58); font-size: 13px; }
.footer h2 { margin: 4px 0 20px; color: var(--white); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a, .footer-contact a { color: rgba(255,255,255,.65); }
.footer li a:hover, .footer-contact a:hover { color: #e9b082; }
.footer-contact p { margin: 0; line-height: 1.9; }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: 12px; }
.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 990; display: flex; visibility: hidden; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 4px; opacity: 0; color: var(--white); background: var(--copper); transition: opacity .25s ease, visibility .25s ease; }
.scroll-top.active { visibility: visible; opacity: 1; }
.scroll-top:hover { color: var(--white); background: var(--copper-dark); }
@media (max-width: 991px) {
  section { padding: 78px 0; }
  .hero { min-height: auto; padding: 155px 0 90px; }
  .hero-side { justify-content: flex-start; margin-top: 55px; }
  .about-image, .about-copy { padding-right: 0; padding-left: 0; }
  .about-copy { margin-top: 40px; }
  .about-page .about-image img { height: 440px; }
  .trust-item, .trust-item:first-child { padding: 20px 12px; }
}
@media (max-width: 767px) {
  .location-map { display: block; }
  .location-map-copy { padding: 26px; }
  .location-map-frame, .location-map-frame iframe { min-height: 280px; }
}

@media (max-width: 767px) {
  .header { padding: 13px 0; }
  .header .logo, .header .logo img { width: 158px; }
  .mobile-nav-toggle { display: block; }
  .navbar { position: fixed; top: 0; right: -100%; z-index: 9997; width: min(88vw, 360px); height: 100vh; padding: 75px 24px 24px; background: var(--night); transition: right .3s ease; box-shadow: -20px 0 50px rgba(0,0,0,.2); }
  .navbar ul { display: block; }
  .navbar li { margin-bottom: 5px; }
  .navbar a, .navbar a.nav-cta { display: flex; justify-content: flex-start; width: 100%; margin: 0; padding: 14px 15px; }
  .navbar .nav-cta { margin-top: 16px; }
  .language-picker { justify-content: flex-start; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .navbar .language-picker a { display: inline-flex; width: auto; padding: 10px 13px; }
  .mobile-nav-active { overflow: hidden; }
  .mobile-nav-active .navbar { right: 0; }
  .mobile-nav-active .navbar::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(0,0,0,.55); transform: translateX(-100%); }
  .mobile-nav-hide { position: fixed; top: 18px; right: 20px; z-index: 9999; }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero p { font-size: 16px; }
  .hero-card { width: 100%; }
  .trust-item, .trust-item:first-child { min-height: 0; padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section-heading { margin-bottom: 32px; }
  .service-card p { min-height: auto; }
  .about-image img, .about-page .about-image img { height: 330px; }
  .image-caption { right: 10px; bottom: 16px; width: 160px; padding: 17px; }
  .image-caption strong { font-size: 28px; }
  .page-hero { padding: 145px 0 60px; }
  .contact-action { display: block; }
  .contact-action .button { margin-top: 18px; }
  .footer .footer-content { padding-top: 48px; }
  .footer-brand { margin-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
