:root {
  --green: #1a962f;
  --white: #ffffff;
  --radius-btn: 50%;
  --radius-card: 16px;
  --btn-size: 64px;
}

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

body {
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DM Sans', Georgia, sans-serif;
  color: #111;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 0;
  width: 100%;
  max-width: 780px;
  gap: 72px;
  position: relative;
  z-index: 1;
  margin-top: -180px;
}

/* Hero — full-bleed background, no card */
.hero {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 40px 24px 60px;
  background-color: #c8eacf;
  background-image: url('assets/images/hero-ribbons.jpg');
  background-size: cover;
  background-position: center top;
}

/* Viewing banner pinned to top of hero — white, minimal */
.hero > .viewing-banner {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 732px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #111;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
}

.hero > .viewing-banner:hover {
  background: rgba(255,255,255,0.95);
}

.hero > .viewing-banner .viewing-banner-text {
  color: #111;
}

.hero > .viewing-banner .viewing-banner-arrow {
  color: #111;
}

/* White logo adapts to colorful background */
.hero .logo {
  filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(0,0,0,0.2));
}

.hero .slogan {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.2);
}

.hero .tagline {
  color: rgba(255,255,255,0.88);
}

.hero .nav-pill {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.hero .nav-pill:hover {
  background: rgba(255,255,255,0.32);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.16);
}

/* Logo */
.logo-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-bottom: -8px;
}

.slogan {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  margin-top: 0;
  letter-spacing: 0.01em;
}

.tagline {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--green);
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Buttons */
.buttons {
  display: flex;
  gap: 8px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  background: var(--white);
  color: var(--green);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-pill:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26, 150, 47, 0.22);
}

.nav-pill--sm {
  padding: 7px 14px;
  font-size: 0.78rem;
  gap: 5px;
}

/* Card */
.card {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: row;
}

.card-image-wrap {
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
  background: #e8e8e8;
  min-height: 240px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  flex: 1;
  background: var(--green);
  padding: 36px 40px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.9;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 22px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  width: fit-content;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.card-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* Viewing banner */
.viewing-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  padding: 5px 12px 5px 5px;
  transition: background 0.2s ease;
}

.viewing-banner:hover {
  background: #157826;
}

.viewing-banner-img-wrap {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.viewing-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.viewing-banner-text {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.viewing-banner-arrow {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Subpage */
.subpage {
  align-items: center;
}

.subpage-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.logo--small {
  max-width: 160px;
}

.subpage-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.back-btn:hover {
  background: var(--green);
  color: var(--white);
}

/* Offering text section */
.offering-section {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  padding-bottom: 24px;
}

.offering-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
}

.offering-text strong {
  color: var(--green);
  font-weight: 600;
}

.offering-statement {
  font-weight: 700;
  color: var(--green);
}

/* Collage card */
.collage-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
  aspect-ratio: 16 / 9;
}

.collage-cell {
  overflow: hidden;
  background: #e8e8e4;
  position: relative;
}

.collage-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.collage-cell:hover img {
  transform: scale(1.04);
}

.accent-divider {
  width: 40px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.7;
}


/* Karta section */
.karta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.karta-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.karta-wrap {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
}

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

/* Pricing section */
.pricing-section {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-tier {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.01em;
}

.pricing-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
  max-width: 480px;
}

.pricing-desc--punch {
  font-weight: 600;
  color: #222;
}

.pricing-extra {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #888;
  max-width: 420px;
  margin-top: 4px;
}

.pricing-disclaimer {
  font-size: 0.72rem;
  color: #bbb;
  font-style: italic;
  line-height: 1.6;
  max-width: 380px;
}

.extras-section {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.extras-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.extras-text strong {
  font-weight: 700;
  color: #111;
}

.extras-highlight {
  font-style: normal;
  color: var(--green);
  font-weight: 600;
}

.extras-disclaimer {
  font-size: 0.72rem;
  color: #bbb;
  font-style: italic;
  line-height: 1.6;
}

/* Subpage intro */
.page-intro {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.page-intro-ornament {
  width: 36px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.6;
}

.page-intro-lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: #222;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

.page-intro-aside {
  font-size: 0.83rem;
  font-style: italic;
  color: #999;
  line-height: 1.7;
}

.offering-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* Mini cards section */
.mini-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mini-section-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.mini-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.11);
  transform: translateY(-1px);
}

.mini-card-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #edf7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.mini-card-title {
  flex: 1;
  color: #111;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mini-card-arrow {
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mini-card:hover .mini-card-arrow {
  transform: translateX(3px);
}

/* Contact section */
.contact-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-bar {
  width: 100%;
  background: url('assets/images/nyfiken-ribbons.png') center center / cover no-repeat;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-bar-label {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.contact-bar-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.contact-bar-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.contact-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  transition: background 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}

.contact-bar-btn:hover {
  background: rgba(255,255,255,0.18);
}

.contact-bar-btn.active,
.contact-bar-btn.copied {
  background: rgba(255,255,255,0.22);
}

/* Contact form panel */
.contact-card.active {
  background: #edf7ef;
}

.cf-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, opacity 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.cf-panel.open {
  max-height: 600px;
  opacity: 1;
  margin-top: 12px;
}

.cf-form {
  background: #fff;
  border: none;
  border-radius: 14px;
  padding: 24px;
}

.cf-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cf-field--message {
  grid-column: 1 / -1;
}

.cf-field--submit {
  grid-column: 1 / -1;
  align-items: flex-end;
}

.cf-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
}

.cf-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e0de;
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: inherit;
  color: #111;
  background: #fafafa;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}

.cf-input:focus {
  border-color: var(--green);
  background: #fff;
}

.cf-textarea {
  resize: none;
  line-height: 1.6;
}

.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.15s;
}

.cf-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.cf-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.cf-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 24px;
  background: #fff;
  border: none;
  border-radius: 14px;
  color: var(--green);
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.cf-success.visible {
  display: flex;
}

@media (max-width: 600px) {
  .cf-fields {
    grid-template-columns: 1fr;
  }
  .cf-field--submit {
    align-items: stretch;
  }
  .cf-submit {
    justify-content: center;
  }
}

/* About / Emil section */
.about-section {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
}

.about-img-wrap {
  width: 36%;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.about-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-desc {
  font-size: 0.9rem;
  line-height: 1.72;
  color: #555;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  color: var(--green);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: inherit;
  width: fit-content;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-cta:hover {
  background: var(--green);
  color: #fff;
}

/* Gallery section */
.gallery-section {
  width: 100%;
}

/* Gallery grid */
.gallery-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gallery-item {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #f0f0ee;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-empty {
  display: none;
  color: #aaa;
  font-size: 0.9rem;
  text-align: center;
  padding: 48px 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  gap: 16px;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  text-align: center;
  max-width: 540px;
  line-height: 1.6;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.18s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Footer */
.site-footer {
  position: relative;
  width: 100%;
  min-height: 380px;
  padding: 120px 8vw 48px;
  color: white;
  overflow: hidden;
  background: url('assets/images/wgfooter.png') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -120px -10% 0;
  background:
    linear-gradient(105deg, transparent 20%, rgba(255,255,255,.32) 42%, transparent 62%),
    linear-gradient(8deg, transparent 35%, rgba(255,255,255,.18) 48%, transparent 60%);
  filter: blur(22px);
  opacity: .65;
  transform: skewY(-4deg);
}

.footer-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-icon-link {
  color: white;
  opacity: 0.85;
  transition: opacity 0.2s;
  display: flex;
}

.footer-icon-link:hover {
  opacity: 1;
}

.footer-divider {
  opacity: 0.35;
  font-size: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Mobile — stack vertically */
@media (max-width: 600px) {
  .page {
    padding: 36px 16px 64px;
    gap: 48px;
  }

  .hero {
    height: var(--hero-h, 100svh);
    background-position: 68% top;
    padding: 36px 16px 60px;
  }

  .hero > .viewing-banner {
    width: calc(100% - 32px);
    top: 14px;
  }

  .logo {
    max-width: 200px;
  }

  .card {
    flex-direction: column;
  }

  .card-image-wrap {
    width: 100%;
    min-height: 200px;
    height: 200px;
  }

  .card-body {
    padding: 24px 24px 28px;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .contact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 16px;
  }

  .contact-bar-actions {
    width: 100%;
    justify-content: space-around;
  }

  .contact-bar-sep {
    display: none;
  }

  .about-section {
    flex-direction: column;
    gap: 20px;
  }

  .about-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .site-footer {
    min-height: 200px;
    padding: 40px 6vw 32px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-copy {
    font-size: 0.75rem;
  }

}

