/*
Theme Name: LEXTEL Premium
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Minimalistyczny, premium motyw WordPress dla Kancelarii Doradczej LEXTEL.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: lextel-premium
*/

:root {
  --navy: #10233b;
  --navy-soft: #1b3556;
  --gold: #c7a15a;
  --gold-dark: #ab8543;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f7f6f2;
  --white: #ffffff;
  --border: rgba(16, 35, 59, 0.1);
  --shadow: 0 18px 50px rgba(16, 35, 59, 0.08);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1,h2,h3,h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 246, 242, 0.88);
  border-bottom: 1px solid rgba(16, 35, 59, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 30px;
}
.brand img { height: 52px; width: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  font-size: 15px;
  color: var(--navy);
  opacity: 0.9;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.25s ease;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  box-shadow: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(199,161,90,0.16), transparent 30%),
    linear-gradient(135deg, #0d1f35 0%, #162e4a 55%, #1d3c5d 100%);
  color: var(--white);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(199,161,90,0.22);
}
.hero::before {
  width: 640px; height: 640px; right: -220px; top: -180px;
}
.hero::after {
  width: 900px; height: 900px; left: -500px; bottom: -520px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 64px 0;
}
.eyebrow {
  display: inline-block;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 90px);
  margin-bottom: 16px;
}
.hero-lead {
  max-width: 620px;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.28;
  color: rgba(255,255,255,0.9);
}
.hero-copy p { max-width: 600px; color: rgba(255,255,255,0.78); }
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px;
}
.hero-card {
  position: relative;
  padding: 24px;
  border-radius: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.22);
}
.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
}
.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(16,35,59,0.78);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.hero-badge strong { display: block; font-size: 18px; }
.hero-badge span { font-size: 14px; color: rgba(255,255,255,0.75); }
.section {
  padding: 100px 0;
}
.section--white { background: var(--white); }
.section-title {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 58px);
  color: var(--navy);
}
.section-subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(199,161,90,0.12);
  color: var(--gold-dark);
  font-size: 26px;
  margin-bottom: 18px;
}
.card h3 { font-size: 32px; color: var(--navy); margin-bottom: 12px; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.owner-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
}
.owner-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.owner-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
}
.owner-copy h2 { font-size: clamp(36px, 4.5vw, 60px); color: var(--navy); }
.owner-copy .role { color: var(--gold-dark); font-size: 20px; margin-bottom: 22px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.metric {
  background: rgba(16,35,59,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}
.metric strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
  font-family: Georgia, "Times New Roman", serif;
}
.metric span { color: var(--muted); font-size: 14px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.why-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.why-item h3 { font-size: 28px; color: var(--navy); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 36px;
}
.contact-panel {
  background: linear-gradient(180deg, #11243b 0%, #17314d 100%);
  color: var(--white);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-panel p { color: rgba(255,255,255,0.76); }
.contact-list { margin-top: 24px; display: grid; gap: 12px; }
.contact-list div {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
}
.contact-note h3 { color: var(--navy); font-size: 30px; }
.site-footer {
  padding: 28px 0 40px;
  background: var(--white);
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.anchor-offset { scroll-margin-top: 100px; }

@media (max-width: 1100px) {
  .hero-grid,
  .owner-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .metrics,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid { min-height: auto; padding: 50px 0 70px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 76px; }
  .main-nav { display: none; }
  .brand img { height: 42px; }
  .section { padding: 72px 0; }
  .grid-3,
  .metrics,
  .why-grid { grid-template-columns: 1fr; }
  .card,
  .contact-panel,
  .contact-note { padding: 28px; }
  .hero-card { padding: 16px; }
  .hero-badge { position: static; margin-top: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
