/*
Theme Name: Cicha Sowa Premium
Theme URI: https://cicha-sowa-premium.fundacja-ase-0685.chatgpt.site
Author: OpenAI Codex
Description: Produkcyjny motyw WordPress dla premium centrum szkoleniowego Cicha Sowa.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cicha-sowa-premium
*/

:root {
  --ink: #14201d;
  --muted: #65716b;
  --paper: #fbf8f1;
  --ivory: #fffdf8;
  --line: rgba(67, 54, 35, 0.16);
  --green: #062f27;
  --gold: #c28a38;
  --gold-2: #e0b365;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.admin-bar .topbar {
  top: 32px;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(251, 248, 241, 1) 44%),
    var(--paper);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(16, 31, 27, 0.08);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 238px;
  color: var(--ink);
}

.owl-mark {
  width: 44px;
  height: 44px;
  color: var(--gold);
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: #192622;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.nav-links a {
  padding: 10px 0;
  white-space: nowrap;
}

.top-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.1px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.top-cta,
.button.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #fffdf8;
  box-shadow: 0 16px 38px rgba(123, 84, 31, 0.22);
}

.button.secondary {
  border-color: rgba(255, 253, 248, 0.64);
  color: #fffdf8;
  background: rgba(255, 255, 255, 0.02);
}

.button.outline-gold {
  width: 100%;
  border-color: rgba(224, 179, 101, 0.82);
  color: #fffdf8;
}

.hero {
  position: relative;
  min-height: clamp(520px, 61vw, 720px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 35, 29, 0.96) 0%, rgba(4, 42, 34, 0.82) 31%, rgba(4, 42, 34, 0.18) 68%, rgba(4, 42, 34, 0.02) 100%),
    linear-gradient(180deg, rgba(5, 35, 30, 0.18), rgba(5, 35, 30, 0.34));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 62px 0 88px;
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.5vw, 86px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--gold-2);
}

.hero-lede {
  max-width: 585px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.service-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(1220px, calc(100% - 40px));
  margin: -24px auto 0;
  border: 1px solid rgba(117, 83, 44, 0.12);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 55px rgba(33, 30, 24, 0.08);
}

.service-item {
  min-height: 156px;
  padding: 23px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.service-svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 13px;
  color: var(--gold);
}

.service-item h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.service-item p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(390px, 1.22fr) minmax(360px, 1fr) minmax(290px, 0.84fr);
  gap: 18px;
  width: min(1220px, calc(100% - 40px));
  margin: 30px auto 0;
  align-items: stretch;
}

.schedule-card,
.rooms-panel,
.catering-panel {
  min-width: 0;
  border: 1px solid rgba(67, 54, 35, 0.12);
  box-shadow: 0 18px 55px rgba(33, 30, 24, 0.08);
}

.schedule-card {
  padding: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(224, 179, 101, 0.18), transparent 28%),
    linear-gradient(135deg, #07322a, #08281f);
  color: #fffdf8;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2,
.catering-panel h2,
.about-band h2,
.knowledge-band h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.section-heading h2 {
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.05;
}

.section-heading.inverse a,
.rooms-panel .section-heading a,
.knowledge-band a {
  border: 1px solid currentColor;
  padding: 11px 14px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading.inverse a {
  color: rgba(255, 253, 248, 0.86);
}

.rooms-panel .section-heading a,
.knowledge-band a {
  color: var(--green);
}

.training-list {
  border-top: 1px solid rgba(224, 179, 101, 0.45);
}

.training-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(224, 179, 101, 0.34);
}

.date-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 64px;
  background: #fffdf8;
  color: var(--green);
  font-style: normal;
}

.date-tile strong {
  font-size: 26px;
  line-height: 1;
}

.date-tile span,
.date-tile small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.date-tile span {
  margin-top: 4px;
}

.date-tile small {
  margin-top: 1px;
  color: rgba(6, 47, 39, 0.68);
}

.training-meta {
  margin: 0 0 5px;
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.training-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.24;
}

.training-row p:not(.training-meta) {
  margin: 7px 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.seat-pill {
  justify-self: end;
  border: 1px solid rgba(224, 179, 101, 0.38);
  padding: 7px 9px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.schedule-card .button {
  margin-top: 22px;
}

.rooms-panel {
  padding: 28px;
  background: rgba(255, 253, 248, 0.9);
}

.rooms-image {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  border: 1px solid rgba(67, 54, 35, 0.1);
}

.room-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.room-types div {
  min-height: 64px;
  border: 1px solid rgba(67, 54, 35, 0.12);
  padding: 12px 10px;
  text-align: center;
  background: #fffaf1;
}

.room-types strong,
.room-types span {
  display: block;
}

.room-types strong {
  font-size: 13px;
}

.room-types span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.catering-panel {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background:
    radial-gradient(circle at 24% 10%, rgba(224, 179, 101, 0.16), transparent 30%),
    linear-gradient(135deg, #07322a, #08281f);
  color: #fffdf8;
}

.catering-panel h2 {
  font-size: clamp(27px, 2.7vw, 34px);
  line-height: 1.05;
}

.catering-panel img {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  margin-top: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 253, 248, 0.2);
}

.catering-panel p {
  margin: 18px 0 22px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 15px;
  line-height: 1.5;
}

.catering-panel .button {
  margin-top: auto;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(200px, 270px) 1fr;
  gap: 24px;
  width: min(1220px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 28px 30px;
  border-block: 1px solid rgba(67, 54, 35, 0.12);
  background: rgba(255, 253, 248, 0.72);
}

.about-band h2 {
  font-size: clamp(31px, 3.2vw, 40px);
  line-height: 1.04;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 24px;
}

.reasons-grid article {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  align-items: start;
}

.reasons-grid span {
  width: 25px;
  height: 25px;
  border: 1px solid var(--gold);
  margin-top: 3px;
}

.reasons-grid h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.reasons-grid p {
  grid-column: 2;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.knowledge-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1220px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 30px;
  background: #fffaf1;
  border-block: 1px solid rgba(67, 54, 35, 0.12);
}

.knowledge-band h2 {
  max-width: 440px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.knowledge-band p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.contact-band {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  width: min(1220px, calc(100% - 40px));
  margin: 20px auto 42px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(8, 50, 42, 0.98), rgba(5, 35, 28, 0.98)),
    var(--green);
  color: #fffdf8;
}

.contact-logo {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(224, 179, 101, 0.75);
}

.contact-logo .owl-mark {
  width: 46px;
  height: 46px;
}

.contact-copy h2 {
  font-size: clamp(27px, 3vw, 35px);
}

.contact-copy p {
  margin: 8px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.contact-items {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .service-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-item:nth-child(3) {
    border-right: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .schedule-card {
    grid-column: 1 / -1;
  }

  .contact-band,
  .knowledge-band {
    grid-template-columns: auto 1fr;
  }

  .contact-items,
  .knowledge-band p {
    grid-column: 2;
  }

  .knowledge-band a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .feature-grid,
  .about-band {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-items {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-band .button {
    width: 100%;
  }
}

@media (max-width: 782px) {
  .admin-bar .topbar {
    top: 46px;
  }
}

@media (max-width: 720px) {
  .topbar {
    min-height: 74px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand small,
  .top-cta {
    display: none;
  }

  .owl-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 590px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 35, 29, 0.98), rgba(4, 42, 34, 0.86) 62%, rgba(4, 42, 34, 0.44)),
      linear-gradient(180deg, rgba(5, 35, 30, 0.18), rgba(5, 35, 30, 0.58));
  }

  .hero-content {
    width: min(100% - 32px, 560px);
    padding: 54px 0 76px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .service-strip {
    width: calc(100% - 28px);
    grid-template-columns: 1fr 1fr;
    margin-top: -18px;
  }

  .service-item {
    min-height: 134px;
    padding: 20px 14px;
  }

  .service-item:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .service-item:nth-child(2n) {
    border-right: 0;
  }

  .feature-grid,
  .about-band,
  .knowledge-band,
  .contact-band {
    width: calc(100% - 28px);
  }

  .feature-grid {
    margin-top: 18px;
  }

  .schedule-card,
  .rooms-panel,
  .catering-panel,
  .about-band,
  .knowledge-band,
  .contact-band {
    padding: 22px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .training-row {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .seat-pill {
    grid-column: 2;
    justify-self: start;
  }

  .room-types {
    grid-template-columns: 1fr;
  }

  .reasons-grid,
  .knowledge-band {
    grid-template-columns: 1fr;
  }

  .knowledge-band p,
  .knowledge-band a {
    grid-column: auto;
  }
}
