:root {
  --bg: #0a2215;
  --panel: #0f2b1f;
  --accent: #cec4a5;
  --muted: rgba(206, 196, 165, 0.75);
  --toxic: #aadd77;
  --container: 1100px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--accent);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 84px;
  display: flex;
  align-items: center;
  background: var(--bg);
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.site-header-spacer {
  height: 84px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}
.logo img {
  height: 56px;
}
.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list .nav-note {
  color: var(--accent);
  font-weight: 600;
  padding-right: 12px;
}
.nav-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions .nav-note {
  color: var(--accent);
  font-weight: 600;
}
.header-actions .btn {
  margin-left: 0;
}

/* Book button styling to match design */
.btn.book {
  background: var(--toxic);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 14px;
  border: 0;
  font-weight: 700;
}

/* Ensure header content is inside the container width */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}
@media (max-width: 900px) {
  .nav-list {
    display: none;
  }
  .site-header {
    height: 64px;
  }
  .site-header-spacer {
    height: 64px;
  }
  .logo img {
    height: 44px;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 60px;
  }
  .site-header-spacer {
    height: 60px;
  }
  .logo img {
    height: 36px;
  }
  .btn.book {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Hero */
.hero {
  position: relative;
  padding-top: 200px;
  padding-bottom: 120px;
  overflow: hidden;
  width: 100%;
  min-height: calc(100vh - 84px);
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 3rem 1rem;
}

/* subtle green tint overlay applied across the full-bleed hero background
   sits behind hero-inner (z-index:3) and in front of the hero-bg image */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  bottom: 0;
  left: 50%;
  /* keep the overlay full-bleed in viewport while aligning center like .hero-bg */
  width: 100vw;
  transform: translateX(-50%);
  /* a slightly desaturated green gradient—adjust alpha to taste */
  background: rgba(10, 34, 21, 0.5);
  z-index: 1;
  pointer-events: none;
}

/* decorative overlay on hero (napisy) */
.hero-decor {
  position: absolute;
  z-index: 2;
  opacity: 0.95;
  pointer-events: none;
  /* align decoration with container left gutter + small offset */
  left: calc((100vw - var(--container)) / 2 - 80px);
  top: 100px;
  width: 180px;
  transform: rotate(-15deg);
}
.hero-decor-2 {
  position: absolute;
  z-index: 2;
  opacity: 0.95;
  pointer-events: none;
  /* align decoration with container left gutter + small offset */
  bottom: 50px;
  width: 180px;
  right: calc((100vw - var(--container)) / 2 - 80px);
}
.hero-title {
  font-family: "Climate Crisis", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem;
  line-height: 1.5;
  margin: 0;
  color: var(--accent);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
.hero-ctas {
  margin-top: 3rem;
  display: flex;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
}
.btn.primary {
  background: var(--toxic);
  color: var(--bg);
}
.btn.outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.feature .btn {
  margin-top: 1.5rem;
}
/* Feature */
.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 48px;
  align-items: center;
  padding: 120px 0;
  position: relative;
}
.feature-text h2 {
  font-family: "Climate Crisis", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 34px;
  margin: 0 0 12px;
  color: var(--accent);
  line-height: 1;
}
.feature-text p {
  color: var(--muted);
  max-width: 640px;
}
.feature-text-bold {
  font-weight: 700;
  font-size: 24px;
}
/* image card on the right */
.feature-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.feature-media .image-card {
  width: 100%;
  max-width: 560px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.feature-media .image-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* decorative SVGs for this section */
.feature-deco-odziomali {
  position: absolute;
  z-index: 0;
  top: -130px;
  left: -60px;
  width: 160px;
  opacity: 0.85;
  transform: rotate(-18deg);
  pointer-events: none;
}
.feature-deco-napisy {
  width: 200px !important;
  position: absolute;
  z-index: 1;
  left: 25%;
  top: 10%;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .feature-deco-napisy {
    display: none !important;
  }
}

/* ensure text sits above decorations */
.feature-text {
  position: relative;
  z-index: 3;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

/* Make each card a column flex container and force equal heights via grid-auto-rows */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  padding: 0;
  border-radius: 12px;
  height: 100%;
}
.card img {
  width: 100%;
  height: 483px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  flex: 0 0 auto;
}
.card h3 {
  margin: 0.6rem 0 0;
  color: var(--accent);
  font-size: 18px;
}
.card p {
  color: var(--muted);
  margin: 0.3rem 0 0;
}

/* Ensure card text area can grow/shrink consistently */
.card > h3,
.card > p {
  flex-shrink: 0;
}

/* Rock Salt for card headings requested in Figma section */
.card h3,
.sekcja-heading {
  font-family: "Climate Crisis", cursive;
  font-size: 18px;
  line-height: 1.4;
}

/* Styles for the new sekcja-three */
.sekcja-three {
  margin-top: 80px;
  padding: 64px 0;
}
.sekcja-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.sekcja-title {
  font-size: 28px;
  margin: 2rem 0 18px;
  color: var(--accent);
}
.sekcja-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sekcja-card {
  background: transparent;
  padding: 0;
  border-radius: 12px;
  z-index: 1;
}
.sekcja-media {
  border-radius: 12px;
  overflow: hidden;
}
.sekcja-media img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.sekcja-deco {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -180px;
  width: 350px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.sekcja-heading {
  margin: 1.5rem 0 0;
  color: var(--accent);
}

@media (max-width: 980px) {
  .sekcja-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .sekcja-grid {
    grid-template-columns: 1fr;
  }
}

/* Quote */
.section.quote {
  position: relative;
  padding: 120px 0;
  min-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  padding-bottom: 430px;
}
@media (max-width: 980px) {
  .section.quote {
    padding-bottom: 0;
    min-height: auto;
  }
}
.quote-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}
.quote-deco-left {
  left: calc((100vw - var(--container)) / 2 - 120px);
  width: 420px;
  top: 20%;
}
.quote-deco-right {
  right: calc((100vw - var(--container)) / 2 - 120px);
  width: 420px;
}
.quote-inner {
  padding: 0;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}
.quote-text {
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.25;
  color: var(--accent);
  margin: 0 auto;
  max-width: 1200px;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 50px;
}
.quote-author img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.author-name {
  font-family: "Climate Crisis", cursive;
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
}
.author-role {
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 980px) {
  .quote-deco {
    display: none !important;
  }
  .section.quote {
    padding: 60px 0;
  }
  .quote-text {
    padding: 0 20px;
    font-size: 24px;
  }
}

/* Contact */
.contact .btn {
  margin-top: 1rem;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: center;
  padding: 80px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 80px 0;
}
.contact-info h3 {
  font-family: "Climate Crisis", cursive;
  font-weight: 400;
  font-style: normal;
  color: var(--accent);
  font-size: 42px;
  margin: 0;
  line-height: 1.4;
}
.contact-info .muted {
  color: var(--muted);
  margin-top: 12px;
}
.contact-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-illustration img {
  max-width: 420px;
  width: 100%;
  height: auto;
}
.contact-address {
  line-height: 1.5;
  margin-top: 12px;
}
.contact-map .map-frame {
  background: #eaf6ff;
  border-radius: 6px;
  /* responsive embed: use aspect ratio and absolute-positioned iframe inside */
  position: relative;
  overflow: hidden;
  /* 16:9 aspect ratio by default; adjust as needed */
  padding-top: 56.25%;
}
.contact-map .map-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-map img {
  max-width: 320px;
  width: 100%;
  height: auto;
}
.contact-info {
  padding: 20px;
}
/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 36px 0;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.footer-col {
  display: flex;
  align-items: center;
}
.footer-col--brand {
  flex-direction: column;
  align-items: flex-start;
  order: 1;
  justify-self: start;
}
.footer-brand {
  font-size: 24px;
  font-weight: 400;
  font-family: "Climate Crisis", cursive;
  margin-bottom: 16px;
}
.footer-col--socials {
  order: 3;
  justify-self: end;
}
.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-socials img {
  width: 28px;
  height: 28px;
  display: block;
}
.footer-col--deco {
  order: 2;
  justify-self: center;
}
.footer-deco {
  width: 140px;
  height: auto;
  opacity: 0.95;
  margin-top: 0;
}

@media (max-width: 640px) {
  .footer-inner {
    display: flex;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-col {
    justify-content: flex-start;
  }
  .footer-col--socials {
    justify-content: flex-start;
    margin-bottom: 16px;
  }
  .footer-col--deco {
    justify-content: flex-start;
  }
  .footer-col--brand {
    align-items: flex-start;
  }
  .footer-brand { text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .feature {
    padding: 100px 0;
    gap: 28px;
  }
  .feature-text {
    margin-bottom: 30px;
    padding: 20px;
  }
  .feature-media {
    justify-content: center;
  }
  .feature-media .image-card {
    max-width: 720px;
    margin: 0 20px;
  }
  .feature-deco-odziomali {
    left: 10px;
    top: -70px;
    width: 120px;
    transform: rotate(-14deg);
  }
  .feature-deco-napisy {
    right: 8px;
    top: 8%;
    width: 180px;
  }
}
@media (max-width: 640px) {
  .feature {
    padding: 40px 0;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-media {
    order: 1;
    margin-top: 18px;
  }
  .feature-text {
    order: 2;
    text-align: left;
    margin-bottom: 20px;
  }
  .feature-deco-odziomali {
    display: none;
  }
  .feature-deco-napisy {
    left: 0;
  }
  .feature-text h2 {
    font-size: 28px;
  }
}
@media (max-width: 980px) {
  /* adjust hero decoration and cropping */
  .hero {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  .hero-decor {
    left: calc((100vw - var(--container)) / 2 + 18px);
    top: 28px;
    width: 240px;
  }
  .hero-bg {
    background-position: center center;
  }
}
@media (max-width: 640px) {
  .nav-list {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Card image height fallback for smaller screens */
@media (max-width: 640px) {
  .contact-map {
    padding: 0 20px;
  }
  .card img {
    height: 260px;
  }

  .sekcja-three {
    padding-top: 180px;
  }
  .sekcja-deco {
    width: 300px !important;
    height: auto !important;
    top: -200px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-col--socials {
    order: 2;
  }
  .footer-col--deco {
    order: 3;
  }
}
@media (max-width: 420px) {
  .hero-decor {
    display: none;
  }
  .hero {
    padding-top: 80px;
    padding-bottom: 60px;
  }
}

.inlined-group-svg {
  width: calc(100% - 20px) !important;
  height: auto;
}
