/* =========================================================
   Sigraf.pl – Shared Stylesheet
   Brand: Navy #0d2461 · Gold #c9a127
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0e2a6e;
  --navy-dark: #0b1d4f;
  --navy-mid:  #1a3a9c;
  --navy-lite: #2655d4;
  --gold:      #c9a127;
  --gold-lite: #ddb840;
  --white:     #ffffff;
  --gray-bg:   #f5f7fc;
  --gray:      #e4e9f2;
  --gray-mid:  #94a3b8;
  --text:      #0f172a;
  --text-muted:#64748b;
  --radius:    5px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 3px rgba(6,15,46,.06);
  --shadow:    0 4px 12px rgba(6,15,46,.08);
  --shadow-md: 0 8px 24px rgba(6,15,46,.1);
  --shadow-lg: 0 16px 48px rgba(6,15,46,.14);
  --shadow-gold: 0 6px 20px rgba(201,161,39,.28);
  --shadow-gold-lg: 0 10px 32px rgba(201,161,39,.38);
  --transition:200ms ease-out;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography helpers ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,161,39,.07);
  border: 1px solid rgba(201,161,39,.22);
  padding: .4em 1em;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Gradient text accent — wraps a word in a headline */
.accent-word {
  background: linear-gradient(135deg, var(--gold), var(--gold-lite));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem);   letter-spacing: -.025em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .75em 1.75em;
  border-radius: 5px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, background 200ms ease-out, border-color 200ms ease-out;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lite));
  color: #1a1000;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  box-shadow: var(--shadow-gold-lg);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.07);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  box-shadow: var(--shadow-md);
}

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,29,79,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Single unified nav row: logo | links (centered) | contact */
.nav-main-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }

/* Links perfectly centered via absolute */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  position: relative;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
  padding: .6em 1.2rem;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--white);
  font-weight: 700;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}

/* Contact info right-aligned — 2 rows: phones / emails */
.nav-contact {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
  flex-shrink: 0;
}
.nav-contact-row {
  display: flex;
  align-items: center;
}
.nav-contact-row a {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  padding: 0 .75rem;
  border-right: 1px solid rgba(255,255,255,.1);
  line-height: 1;
  transition: color var(--transition);
  letter-spacing: .01em;
}
.nav-contact-row a:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.nav-contact-row a:hover { color: rgba(255,255,255,.95); }

/* ── Unified hover effect for all contact data (tel/mailto) — mirrors top-menu active style ── */
a[href^="tel:"],
a[href^="mailto:"] {
  transition: color var(--transition), text-decoration-color var(--transition), font-weight var(--transition);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2.5px;
  text-underline-offset: 5px;
}
a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
  font-weight: 700;
  text-decoration-color: var(--gold);
}
/* Buttons keep their own styling — don't add underline */
a.btn[href^="tel:"],
a.btn[href^="mailto:"],
a.btn[href^="tel:"]:hover,
a.btn[href^="mailto:"]:hover {
  text-decoration: none;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  margin-left: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero — Parallax ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

/* Parallax background layer — moved by JS */
.hero-bg {
  position: absolute;
  inset: -20% 0;
  background: linear-gradient(160deg, #0e2a6e 0%, #0b1d4f 60%, #091540 100%);
  will-change: transform;
  z-index: 0;
}

/* Radial glow */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(38,85,212,.7) 0%, transparent 65%);
}

/* Diagonal accent lines */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 40%, rgba(201,161,39,.06) 40%, rgba(201,161,39,.06) 41%, transparent 41%),
    linear-gradient(135deg, transparent 55%, rgba(201,161,39,.04) 55%, rgba(201,161,39,.04) 56%, transparent 56%),
    linear-gradient(135deg, transparent 70%, rgba(201,161,39,.03) 70%, rgba(201,161,39,.03) 71%, transparent 71%);
}

/* Gold geometric accent */
.hero-accent {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border: 1px solid rgba(201,161,39,.15);
  border-radius: 50%;
  z-index: 0;
}
.hero-accent::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201,161,39,.1);
  border-radius: 50%;
}
.hero-accent::after {
  content: '';
  position: absolute;
  inset: 48px;
  border: 1px solid rgba(201,161,39,.07);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Scroll-in animations */
.hero-content .label    { opacity: 0; transform: translateY(16px); animation: fadeUp .6s .1s forwards ease-out; }
.hero-content h1        { opacity: 0; transform: translateY(20px); animation: fadeUp .7s .25s forwards ease-out; }
.hero-content p         { opacity: 0; transform: translateY(16px); animation: fadeUp .6s .45s forwards ease-out; }
.hero-content .hero-actions { opacity: 0; transform: translateY(12px); animation: fadeUp .6s .6s forwards ease-out; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.0;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.6);
  max-width: 500px;
  margin: 0 auto 2.8rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  opacity: 0;
  animation: fadeUp .6s 1s forwards ease-out;
}
.hero-scroll span {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,161,39,.6), transparent);
  animation: scrollLine 1.8s 1.2s infinite ease-in-out;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Scroll reveal for sections ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Page Header (inner pages) ── */
.page-header {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem 3.5rem;
  color: var(--white);
}
.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(30,77,183,.4) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.page-header .page-subtitle {
  margin-top: .7rem;
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  max-width: 560px;
}

/* ── Sections ── */
.section { padding: 5.5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.section-gray { background: var(--gray-bg); }
.container { max-width: 1240px; margin: 0 auto; }
.section-heading { margin-bottom: 3.5rem; }
.section-heading h2 {
  margin-bottom: .7rem;
  line-height: 1.1;
}
.section-heading p { color: var(--text-muted); max-width: 520px; font-size: .97rem; line-height: 1.7; }

/* ── Portfolio Grid ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray);
  box-shadow: var(--shadow-sm);
  transition: transform 280ms ease-out, box-shadow 280ms ease-out, border-color 280ms ease-out;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.portfolio-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray);
}
.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.05); }

.portfolio-card-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(11,29,79,.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .32em .75em;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.12);
}

.portfolio-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.portfolio-card-body h3 { margin-bottom: .4rem; font-size: 1.05rem; }
.portfolio-card-body p {
  font-size: .88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}
.portfolio-card-body a.card-link {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: .3em;
  transition: color var(--transition);
}
.portfolio-card-body a.card-link:hover { color: var(--gold); }
.portfolio-card-body a.card-link::after { content: '→'; }

/* ── Offer (oferta.html) ── */
.offer-category { margin-bottom: 3.5rem; }
.offer-category h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.offer-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.section-neuro { background: #e8edf4; }

.offer-list-item {
  background: #e8edf4;
  border: 1px solid rgba(163,177,198,.3);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  box-shadow: inset 3px 3px 6px rgba(163,177,198,.35), inset -3px -3px 6px rgba(255,255,255,.65);
  transition: box-shadow 300ms ease-out, transform 300ms ease-out, border-color 300ms ease-out;
}
.offer-list-item:hover {
  box-shadow: 4px 4px 10px rgba(163,177,198,.4), -4px -4px 10px rgba(255,255,255,.6);
  border-color: rgba(201,161,39,.25);
  transform: translateY(-2px);
}
.offer-list-item h3 { font-size: .95rem; color: var(--navy); margin-bottom: .3rem; }
.offer-list-item p  { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* ── Services strip (homepage) ── */
.services-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.service-chip {
  background: var(--gray-bg);
  border: 1px solid var(--gray);
  border-radius: 3px;
  padding: .5em 1.1em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.service-chip:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 0;
  position: relative;
}
.contact-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 3.6rem;
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.contact-item:last-of-type::after { display: none; }
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,161,39,.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-item-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-text strong {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .15rem;
}
.contact-item-text a,
.contact-item-text span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.contact-item-text a:hover { color: var(--navy); }

.map-box {
  background: var(--gray-bg);
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .9rem;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
}

/* ── Portfolio detail ── */
.portfolio-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link::before { content: '←'; }
.back-link:hover { color: var(--gold); }

.detail-category {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3em .8em;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.detail-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}
.detail-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.detail-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.detail-body p { margin-bottom: 1rem; }

.related-section h2 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.2rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.related-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.related-chip {
  background: var(--gray-bg);
  border: 1px solid var(--gray);
  border-radius: 3px;
  padding: .45em 1em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition), border-color var(--transition);
}
.related-chip:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(30,77,183,.45) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.cta-banner h2 {
  margin-bottom: .8rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.cta-banner p  { color: rgba(255,255,255,.55); margin-bottom: 2.2rem; font-size: .97rem; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.8rem;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 1rem; opacity: .9; }
.footer-brand p { font-size: .88rem; line-height: 1.6; }
.footer-brand .footer-tagline {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: .3rem;
}

.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .5rem; font-size: .88rem; }
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65em;
  margin-bottom: .7rem;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  stroke: rgba(201,161,39,.7);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: .18em;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  font-size: .78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  color: rgba(255,255,255,.35);
}

/* ── Contact form ── */
.contact-form {
  max-width: 680px;
  margin: 2.5rem auto 0;
  background: #e8edf4;
  border: 1px solid rgba(163,177,198,.35);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: inset 3px 3px 6px rgba(163,177,198,.35), inset -3px -3px 6px rgba(255,255,255,.65);
}

.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .55rem;
}
.req { color: var(--gold); margin-left: .15em; }

.form-input {
  display: block;
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid rgba(163,177,198,.4);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #e8edf4;
  box-shadow: inset 2px 2px 5px rgba(163,177,198,.3), inset -2px -2px 5px rgba(255,255,255,.55);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--gray-mid); }
.form-input:focus {
  border-color: var(--gold);
  box-shadow: inset 2px 2px 5px rgba(163,177,198,.3), inset -2px -2px 5px rgba(255,255,255,.55), 0 0 0 2px rgba(201,161,39,.18);
}
.form-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }

/* Radio cards */
.form-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-radio { display: block; position: relative; cursor: pointer; }
.form-radio input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.form-radio-box {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1.1rem;
  border: 1px solid rgba(163,177,198,.4);
  border-radius: var(--radius);
  background: #e8edf4;
  cursor: pointer;
  box-shadow: inset 2px 2px 5px rgba(163,177,198,.3), inset -2px -2px 5px rgba(255,255,255,.55);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  user-select: none;
}
.form-radio-box svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  stroke: var(--gold);
}
.form-radio-box-text strong {
  display: block;
  font-size: .95rem;
  color: var(--navy);
  font-weight: 700;
}
.form-radio-box-text span {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .1rem;
}
.form-radio input:checked ~ .form-radio-box {
  border-color: var(--gold);
  background: #e8edf4;
  box-shadow: 3px 3px 7px rgba(163,177,198,.4), -3px -3px 7px rgba(255,255,255,.6);
}
.form-radio-box:hover { border-color: rgba(201,161,39,.45); }

/* Checkbox RODO */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  cursor: pointer;
  user-select: none;
}
.form-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-checkbox-box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: .2em;
  border: 1px solid rgba(163,177,198,.4);
  border-radius: 3px;
  background: #e8edf4;
  box-shadow: inset 2px 2px 4px rgba(163,177,198,.3), inset -2px -2px 4px rgba(255,255,255,.55);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.form-checkbox input:checked ~ .form-checkbox-box {
  background: var(--gold);
  border-color: var(--gold);
}
.form-checkbox input:checked ~ .form-checkbox-box::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form-checkbox-text { font-size: .8rem; color: var(--text-muted); line-height: 1.65; }

.form-submit { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-mid); }
.form-msg { font-size: .88rem; font-weight: 600; }
.form-msg.ok  { color: #1a7a3c; }
.form-msg.err { color: #c0392b; }

/* ── About ── */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.about-lead {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 0;
}
.about-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  padding-top: .25rem;
  margin-bottom: 0;
}
.about-values-heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}
.value-card {
  background: #e8edf4;
  border: 1px solid rgba(163,177,198,.3);
  border-radius: 10px;
  padding: 1.8rem 1.6rem;
  text-align: center;
  box-shadow: inset 3px 3px 6px rgba(163,177,198,.35), inset -3px -3px 6px rgba(255,255,255,.65);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.value-card:hover {
  box-shadow: 4px 4px 10px rgba(163,177,198,.4), -4px -4px 10px rgba(255,255,255,.6);
  border-color: rgba(201,161,39,.25);
  transform: translateY(-2px);
}
.value-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lite));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.value-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}
.value-card h3 { font-size: .95rem; color: var(--navy); margin-bottom: .4rem; font-weight: 700; }
.value-card p  { font-size: .82rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-top { display: none; }
  .nav-contact { display: none; }
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 100px;
    left: 0; right: 0;
    transform: none;
    background: var(--navy-dark);
    padding: 1.5rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 99;
  }
  .nav-links.open a { font-size: .95rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .hero { padding: 4rem 1.5rem 3.5rem; text-align: center; }
  .hero-content { width: 100%; }
  .hero-scroll { display: none; }

  .about-intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col ul {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.2rem;
  }
  .footer-col ul li { margin-bottom: 0; }
  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .offer-items-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .offer-items-list  { grid-template-columns: 1fr; }
  .portfolio-grid    { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .form-radio-group  { grid-template-columns: 1fr; }
}

/* ── Header Search (pod menu) ── */
.header-search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 10px 0 14px;
  background: rgba(11,29,79,.97);
}

.header-search .search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.header-search input {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  border-radius: 6px 0 0 6px;
  outline: none;
  width: 280px;
  max-width: 50vw;
  font-family: inherit;
  font-size: .9rem;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: border-color var(--transition), background var(--transition);
}
.header-search input::placeholder {
  color: rgba(255,255,255,.35);
}
.header-search input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
}

.header-search button {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lite));
  border: 1px solid var(--gold);
  color: #1a1000;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  font-family: inherit;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  gap: 0.45em;
}
.header-search button:hover {
  box-shadow: var(--shadow-gold);
}

/* ── Szukaj w ofercie ── */
.search-offer-box {
  background: #e8edf4;
  border: 1px solid rgba(163,177,198,.3);
  border-radius: 10px;
  padding: 1.4rem;
  box-shadow: inset 3px 3px 6px rgba(163,177,198,.35), inset -3px -3px 6px rgba(255,255,255,.65);
}

.search-offer-form {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.search-offer-form .form-input {
  flex: 1;
}

.search-offer-form .btn-gold {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .45em;
}
.search-offer-form .btn-gold svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Search Results Highlight ── */
mark {
  background: rgba(201,161,39,.25);
  color: inherit;
  padding: 0.1em 0.2em;
  border-radius: 2px;
  font-weight: 600;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  animation: lightboxFadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-radius: 8px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.1);
}

.lightbox-close::before,
.lightbox-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.detail-image {
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f7fc;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.detail-image img {
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: 600px;
}

.detail-image::after {
  content: '';
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: rgba(14,42,110,0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(201,161,39,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.detail-image::before {
  content: "";
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(to right, #c9a127 0%, #c9a127 100%),
    linear-gradient(to bottom, #c9a127 0%, #c9a127 100%),
    linear-gradient(to right, #c9a127 0%, #c9a127 100%),
    linear-gradient(to bottom, #c9a127 0%, #c9a127 100%),
    linear-gradient(to right, #c9a127 0%, #c9a127 100%),
    linear-gradient(to bottom, #c9a127 0%, #c9a127 100%),
    linear-gradient(to right, #c9a127 0%, #c9a127 100%),
    linear-gradient(to bottom, #c9a127 0%, #c9a127 100%);
  background-size:
    6px 2px, 2px 6px,
    6px 2px, 2px 6px,
    6px 2px, 2px 6px,
    6px 2px, 2px 6px;
  background-position:
    0 0, 0 0,
    100% 0, 100% 0,
    0 100%, 0 100%,
    100% 100%, 100% 100%;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-close::before,
  .lightbox-close::after {
    width: 20px;
  }

  .detail-image {
    min-height: 300px;
  }

  .detail-image img {
    max-height: 400px;
  }

  .detail-image::after,
  .detail-image::before {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }

  .detail-image::before {
    background-size: 12px 2.5px, 2.5px 12px;
  }
}
