/* ==========================================================================
   UBEZPIECZENIA ANDRZEJ SIEDLECKI S.C. - STYLE CSS (1:1 Z MAKIETĄ)
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Kolory z makiety */
  --blue-primary: #1868db;
  --blue-primary-hover: #1456b8;
  --blue-bright: #2574f5;
  --blue-cyan: #38bdf8;
  --navy-hero-top: #114595;
  --navy-hero-bottom: #0d3677;
  --navy-dark: #0b2246;
  --navy-card: #0c264e;
  --navy-footer: #0b2246;

  --text-dark: #0f1f38;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-white: #ffffff;
  --bg-light: #f6f8fc;
  --border-light: #e2e8f0;
  --border-card: #dce5f2;

  --shadow-soft: 0 10px 30px rgba(11, 34, 70, 0.06);
  --shadow-card: 0 14px 34px rgba(11, 34, 70, 0.09);
  --shadow-blue: 0 8px 22px rgba(24, 104, 219, 0.28);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --container: 1160px;
  --transition: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Wspólne komponenty --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--blue-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--blue-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--blue-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

/* ==========================================================================
   1. NAWIGACJA (HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 16px rgba(11, 34, 70, 0.04);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 34, 70, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-primary);
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.82rem;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   2. HERO SECTION (1:1 Z MAKIETĄ)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #2A4B7C;
  color: #ffffff;
  padding: 64px 0 76px;
  overflow: hidden;
}

.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 540px;
}

/* Połączony przycisk biało-granatowy jak na makiecie */
.hero-btn-combined {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(8, 28, 60, 0.22);
}

.hero-btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #0f1f38;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 22px 0 26px;
  transition: background-color var(--transition), color var(--transition);
}

.hero-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  background-color: #0b192e;
  color: #ffffff;
  font-size: 0.95rem;
  transition: background-color var(--transition);
}

.hero-btn-combined:hover {
  transform: translateY(-2px);
}

.hero-btn-combined:hover .hero-btn-text {
  color: #0066ff;
}

.hero-btn-combined:hover .hero-btn-arrow {
  background-color: #0066ff;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-wrap {
  position: relative;
  width: 390px;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtelny jaśniejszy okrąg w tle za zdjęciem rodziny z płynnym przejściem */
.hero-ring-backdrop {
  position: absolute;
  top: -18px;
  left: -34px;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 88, 133, 0.65) 0%, rgba(57, 88, 133, 0.35) 68%, rgba(42, 75, 124, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   3. SEKCJA O NAS (1:1 Z MAKIETĄ)
   ========================================================================== */
.about-section {
  position: relative;
  background-color: #ffffff;
  padding: 88px 0 96px;
  overflow: hidden;
}

/* Płynne przejście jasnoszarego tła po lewej stronie sekcji bez ostrej linii */
.about-bg-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(90deg, #f1f5f9 0%, rgba(241, 245, 249, 0.75) 65%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.about-dots-left {
  position: absolute;
  left: 52px;
  top: 42%;
  width: 30px;
  height: 30px;
  background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
  background-size: 10px 10px;
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.about-media {
  position: relative;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 36px;
  padding-right: 36px;
  max-width: 440px;
  margin: 0 auto;
}

/* Niebieski obrys prostokąta za lewym górnym rogiem zdjęcia */
.about-outline-rect {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 76%;
  border: 1.5px solid #2574f5;
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
}

/* Granatowa ramka zdjęcia głównego */
.about-image-frame {
  position: relative;
  z-index: 1;
  background-color: #163663;
  padding: 13px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(11, 34, 70, 0.14);
}

.about-image-frame img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}

/* Granatowa karta 25+ w prawym dolnym rogu */
.about-exp-card {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  background-color: #0A284E;
  color: #ffffff;
  border-radius: 20px;
  padding: 24px 20px 22px;
  width: 185px;
  text-align: center;
  box-shadow: 0 14px 32px rgba(10, 40, 78, 0.24);
  border: 5px solid #ffffff;
}

.exp-circle {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2.5px solid #1d8cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 140, 248, 0.08);
}

.exp-circle span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.exp-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.35;
}

.about-content .section-badge {
  background-color: #0066ff;
  padding: 6px 18px;
  font-size: 0.74rem;
}

.about-lead {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.68;
  margin-top: 14px;
  margin-bottom: 24px;
}

/* Przyciski zakładek 1:1 jak na makiecie */
.about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.about-tab-btn {
  position: relative;
  min-width: 146px;
  padding: 12px 22px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  background-color: #f1f5f9;
  color: #0f1f38;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.about-tab-btn:hover {
  background-color: #e2e8f0;
}

.about-tab-btn.active {
  background-color: #0066ff;
  color: #ffffff;
}

/* Trójkątny wskaźnik na dole aktywnego przycisku jak na makiecie */
.about-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #0066ff;
}

/* Punkty z niebieskim ptaszkiem 1:1 jak na makiecie */
.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
}

.check-icon {
  color: #0066ff;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   4. SEKCJA OFERTA (GRANATOWA FALA NA GÓRZE + BIAŁE TŁO POD KARTAMI)
   ========================================================================== */
.services-section {
  position: relative;
  background-color: #ffffff;
  padding: 78px 0 60px;
  overflow: hidden;
}

.services-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 490px;
  pointer-events: none;
  z-index: 0;
}

.services-wave-bg svg,
.services-wave-bg img {
  width: 100%;
  height: 100%;
  display: block;
}

.services-container {
  position: relative;
  z-index: 1;
}

.services-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}

.services-top-left .section-badge {
  background-color: #0066ff;
  padding: 6px 18px;
}

.services-heading {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
}

.services-top-right p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: #cbd5e1;
}

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

.service-card {
  background-color: #ffffff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 36px rgba(11, 34, 70, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(11, 34, 70, 0.12);
}

.service-card-body {
  padding: 28px 26px 8px;
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-icon-circle {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #003268;
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Wewnętrzny niebieski okrąg w ikonie jak na makiecie */
.service-icon-circle::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.4px solid #1d8cf8;
  pointer-events: none;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.26;
  color: #0f1f38;
}

.service-desc {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 4px;
}

.service-card-img {
  position: relative;
  width: 100%;
  margin-top: auto;
  line-height: 0;
}

.service-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   5. SEKCJA OPINIE GOOGLE
   ========================================================================== */
.reviews-section {
  background-color: #ffffff;
  padding: 84px 0 70px;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.reviews-controls-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.google-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 8px 18px 8px 10px;
  box-shadow: 0 6px 20px rgba(11, 34, 70, 0.06);
}

.google-badge-pill:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.google-score-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-badge-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.google-badge-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  margin-top: 2px;
}

.stars-gold {
  color: #f59e0b;
  letter-spacing: 1px;
}

.years-note {
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.review-nav-btn.prev {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.review-nav-btn.prev:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.review-nav-btn.next {
  background-color: var(--blue-primary);
  border: 1px solid var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(24, 104, 219, 0.3);
}

.review-nav-btn.next:hover {
  background-color: var(--blue-primary-hover);
}

.reviews-viewport {
  overflow: hidden;
  padding: 12px 6px 26px;
  margin: -12px -6px -26px;
  cursor: grab;
  user-select: none;
}

.reviews-viewport:active {
  cursor: grabbing;
}

.reviews-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.reviews-grid.is-animating {
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  background-color: #ffffff;
  border: 1.5px solid #e5edf8;
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(11, 34, 70, 0.04);
  transition: border-color 0.38s ease, box-shadow 0.38s ease, transform 0.3s ease;
}

.review-card.featured {
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(24, 104, 219, 0.1);
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.review-quote-mark {
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  color: #cbd5e1;
  font-weight: 700;
}

.review-quote-mark.blue-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  color: #ffffff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.review-text {
  font-size: 0.82rem;
  line-height: 1.68;
  color: var(--text-body);
  margin-bottom: 22px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-avatar.navy {
  background-color: var(--navy-card);
}

.review-avatar.blue {
  background-color: var(--blue-primary);
}

.review-author-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.google-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #eff6ff;
  color: var(--blue-primary);
  font-size: 0.62rem;
  font-weight: 800;
}

.review-author-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-primary);
}

.review-bars {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 6px;
}

.review-bars .bar {
  height: 3px;
  border-radius: 3px;
  background-color: #e2e8f0;
}

.review-bars .bar.active {
  background-color: var(--blue-primary);
}

/* ==========================================================================
   6. FORMULARZ KONTAKTOWY
   ========================================================================== */
.contact-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  padding: 50px 0 70px;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.contact-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.contact-heading {
  margin-bottom: 12px;
}

.contact-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 520px;
}

.contact-desc a {
  color: var(--text-dark);
  font-weight: 700;
}

.contact-form-box {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  max-width: 540px;
}

.form-field {
  margin-bottom: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-input {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  font-size: 0.82rem;
  color: var(--text-dark);
  background-color: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input::placeholder {
  color: #64748b;
}

.form-input:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(24, 104, 219, 0.12);
}

.form-input.invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}

.field-error {
  display: block;
  font-size: 0.72rem;
  color: #dc2626;
  margin-top: 4px;
  min-height: 0;
}

.btn-form-submit {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  background-color: var(--blue-primary);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}

.btn-form-submit:hover {
  background-color: var(--blue-primary-hover);
  transform: translateY(-1px);
}

.btn-form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-status.error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Prawa kolumna - mapa dojazdu obok formularza */
.contact-right {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.contact-right .google-map-card {
  width: 100%;
}

.contact-right .google-map-frame {
  height: 410px;
}

/* ==========================================================================
   7. MAPA GOOGLE (NA DOLE POD FORMULARZEM)
   ========================================================================== */
.google-map-section {
  background-color: #f4f7fc;
  padding: 0 0 72px;
}

.google-map-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.google-map-info {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 20px;
  max-width: 340px;
  box-shadow: 0 10px 25px rgba(11, 34, 70, 0.12);
}

.map-info-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.map-info-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.map-info-address {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 10px;
}

.map-info-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.map-info-meta a {
  color: var(--blue-primary);
  font-weight: 600;
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--blue-primary);
  padding: 8px 14px;
  border-radius: 6px;
}

.map-directions-link:hover {
  background-color: var(--blue-primary-hover);
}

.google-map-frame {
  width: 100%;
  height: 370px;
}

.google-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   8. STOPKA (FOOTER 1:1 Z MAKIETĄ - 06-Dark-Blue-Footer.svg)
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #0A284E;
  color: #ffffff;
  padding: 68px 0 34px;
  overflow: hidden;
}

.footer-bg-svg {
  position: absolute;
  top: 0;
  left: -50px;
  width: calc(100% + 50px);
  height: 100%;
  object-fit: cover;
  object-position: left top;
  pointer-events: none;
  z-index: 1;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr;
  gap: 48px;
  padding-left: 90px;
  margin-bottom: 48px;
}

.footer-logo-pill {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 9px 22px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.footer-logo-pill img {
  height: 34px;
  width: auto;
}

.footer-owners {
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.footer-addr {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.footer-phones {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-cyan);
  margin-bottom: 6px;
}

.footer-phones a:hover {
  text-decoration: underline;
}

.footer-hours {
  font-size: 0.78rem;
  color: #64748b;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #94a3b8;
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-seo-keywords {
  position: relative;
  z-index: 2;
  padding: 18px 0;
  padding-left: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-seo-keywords strong {
  color: #cbd5e1;
}

.footer-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding-top: 20px;
  padding-left: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.74rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   8B. SEKCJA E-E-A-T, GEO 2026 TABELA PORÓWNAWCZA & FAQ
   ========================================================================== */
.eeat-faq-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 72px 0 48px;
  border-top: 1px solid var(--border-light);
}

.eeat-expert-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 40px 38px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 56px;
}

.eeat-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.eeat-badge-row .section-badge {
  margin-bottom: 0;
}

.eeat-update-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: #f1f5f9;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.eeat-summary-box {
  margin-top: 20px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background-color: #eff6ff;
  border-left: 4px solid var(--blue-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.eeat-summary-box a {
  color: var(--blue-primary);
  font-weight: 700;
}

.eeat-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 36px;
}

.eeat-subheading {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.eeat-story-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 12px;
}

.eeat-practical-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.eeat-practical-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--text-body);
}

.eeat-practical-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-primary);
  font-weight: 800;
}

.eeat-practical-list li strong {
  color: var(--text-dark);
}

.eeat-authors-box {
  background-color: #0A284E;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: 0 12px 28px rgba(10, 40, 78, 0.16);
}

.eeat-authors-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.eeat-Verified-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eeat-authors-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
}

.eeat-authors-role {
  font-size: 0.74rem;
  color: var(--blue-cyan);
  font-weight: 600;
}

.eeat-authors-bio {
  font-size: 0.8rem;
  line-height: 1.62;
  color: #cbd5e1;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.eeat-nap-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.eeat-nap-grid strong {
  color: #ffffff;
}

.eeat-nap-grid a {
  color: var(--blue-cyan);
  font-weight: 700;
}

/* Tabela porównawcza GEO */
.eeat-table-wrap {
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.geo-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.8rem;
  min-width: 680px;
}

.geo-comparison-table thead th {
  background-color: #0A284E;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 13px 16px;
  font-size: 0.78rem;
}

.geo-comparison-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  line-height: 1.55;
  vertical-align: top;
}

.geo-comparison-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.geo-comparison-table tbody td strong {
  color: var(--text-dark);
}

/* Sekcja FAQ (AEO Accordion) */
.faq-block {
  max-width: 940px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 32px;
}

.faq-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 10px auto 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--blue-primary);
  box-shadow: 0 8px 24px rgba(24, 104, 219, 0.08);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #eff6ff;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background-color: var(--blue-primary);
  color: #ffffff;
}

.faq-answer {
  padding: 0 22px 18px;
  border-top: 1px solid #f1f5f9;
}

.faq-answer-text {
  padding-top: 12px;
  font-size: 0.84rem;
  line-height: 1.68;
  color: var(--text-body);
}

.faq-answer-text a {
  color: var(--blue-primary);
  font-weight: 700;
}

/* ==========================================================================
   9. RESPONSYWNOŚĆ (RWD - TABLET I TELEFON)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  /* Ukrycie pionowego pasa tła w O nas, gdy układ przechodzi w 1 kolumnę */
  .about-bg-left,
  .about-dots-left,
  .footer-diamonds,
  .advisor-dots {
    display: none;
  }

  .services-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-wave-bg {
    height: 460px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }

  .contact-form-box {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
  }

  .footer-seo-keywords,
  .footer-bottom {
    padding-left: 0;
  }

  .eeat-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  /* Ukrycie wszystkich zbędnych elementów dekoracyjnych i przeszkadzających na telefonie (w tym fali w Ofercie) */
  .hero-ring-backdrop,
  .about-bg-left,
  .about-dots-left,
  .about-outline-rect,
  .services-wave-bg,
  .review-bars,
  .footer-bg-svg {
    display: none !important;
  }

  /* Wyłączenie sztywnych łamań linii <br> w nagłówkach i opisach na wąskich ekranach */
  .hero-title br,
  .hero-desc br,
  .section-heading br,
  .about-lead br,
  .services-heading br,
  .services-top-right p br,
  .service-desc br {
    display: none;
  }

  /* Nawigacja mobilna */
  .navbar {
    height: 68px;
  }

  .brand-logo img {
    height: 36px;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 12px 24px rgba(11, 34, 70, 0.1);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero na telefonie */
  .hero-section {
    padding: 40px 0 56px;
    text-align: center;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-circle-wrap {
    width: 250px;
    height: 250px;
  }

  /* O nas na telefonie */
  .about-section {
    padding: 52px 0 60px;
  }

  .about-media {
    padding: 0 0 24px 0;
    max-width: 100%;
  }

  .about-exp-card {
    right: 12px;
    bottom: 0;
    width: 150px;
    padding: 14px 14px;
    border-width: 3px;
  }

  .exp-circle {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
  }

  .exp-circle span {
    font-size: 1rem;
  }

  .section-heading,
  .services-heading {
    font-size: 1.65rem;
    line-height: 1.26;
  }

  .about-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-tab-btn {
    width: 100%;
    text-align: center;
  }

  .about-tab-btn.active::after {
    display: none;
  }

  /* Oferta na telefonie (bez fali - czytelny ciemny tekst na jasnym tle) */
  .services-section {
    padding: 52px 0 48px;
    background-color: #f8fafc;
  }

  .services-heading {
    color: #0f1f38;
  }

  .services-top-right p {
    color: #475569;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card-body {
    padding: 22px 20px 8px;
  }

  /* Opinie Google na telefonie */
  .reviews-section {
    padding: 48px 0 44px;
  }

  .review-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .reviews-header {
    margin-bottom: 26px;
  }

  .reviews-controls-wrap {
    width: 100%;
    justify-content: space-between;
  }

  /* Formularz i Mapa Google na telefonie */
  .contact-section {
    padding: 36px 0 40px;
  }

  .contact-form-box {
    padding: 20px 16px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .google-map-section {
    padding: 0 0 48px;
  }

  .google-map-info {
    position: static;
    max-width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    box-shadow: none;
  }

  .google-map-frame,
  .contact-right .google-map-frame {
    height: 290px;
  }

  /* Stopka na telefonie */
  .site-footer {
    padding: 48px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }

  /* E-E-A-T & FAQ na telefonie */
  .eeat-faq-section {
    padding: 48px 0 36px;
  }

  .eeat-expert-card {
    padding: 24px 18px;
    margin-bottom: 40px;
  }

  .eeat-summary-box {
    padding: 16px 16px;
  }

  .eeat-authors-box {
    padding: 20px 18px;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 0.88rem;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }
}
