/* =========================================================
   01. ROOT / THEME
========================================================= */
:root {
  --bg: #f7f9f4;
  --surface: #ffffff;
  --surface-soft: #eef4ea;
  --line: #d9e4d4;
  --text: #1f2b20;
  --text-soft: #667364;
  --primary: #4e7c59;
  --primary-dark: #3f6848;
  --max-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
}

/* =========================================================
   02. RESET / BASE
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Manrope, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

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

/* =========================================================
   03. LAYOUT / GENERIC
========================================================= */
.app {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  font-size: 1.8rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-text {
  color: var(--text-soft);
  max-width: 58ch;
  line-height: 1.75;
  margin-top: 14px;
}

.section-text + .section-text {
  margin-top: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--primary-dark);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary);
}

/* =========================================================
   04. HEADER / NAVIGATION
========================================================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--text);
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem; /* mobil */
  }
}

.logo img {
  height: 30px;
  display: block;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.logo-icon svg {
  width: 18px;
  height: 18px;
  color: var(--primary-dark);
}

.logo-text {
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  font-size: 0.96rem;
  color: var(--text-soft);
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-dark);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 999px;
}

/* =========================================================
   05. START PAGE / HERO
========================================================= */
.hero {
  padding: 72px 0 44px;
}

.hero-inner {
  max-width: 980px;
}

.hero-home-content h1,
.hero h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 12ch;
}

@media (max-width: 640px) {
  .hero-home-content h1,
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 6vw, 2.4rem);
  }
}

.hero-home-content {
  max-width: 720px;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 52ch;
}

/* =========================================================
   05. CONTACT / HERO
========================================================= */

body.kontakta-oss .hero-home-content h1 {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: none;
}

.contact-method i {
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
}

.contact-method strong {
  display: block;
  font-size: 0.9rem;
}

.contact-method span {
  font-size: 0.9rem;
  color: var(--text-soft);
}


/* =========================================================
   SERVICE AREA / SKÅNE CARD
========================================================= */
.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 380px;
  gap: 28px;
  align-items: start;
}

.service-area-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcf9 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    0 10px 30px rgba(31, 43, 32, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.service-area-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-area-card h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.service-area-card p {
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 1.6;
}

.service-area-map {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-soft);
  margin-bottom: 16px;
}

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

.service-area-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 18px;
}

.service-area-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  line-height: 1.5;
}

.service-area-list li i,
.service-area-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-area-note {
  padding: 14px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-top: 25px;
}

.service-area-list + .service-area-note,
.service-area-button + .service-area-note {
  margin-top: 16px;
}

@media (max-width: 980px) {
  .page-hero-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-area-card {
    padding: 20px;
    border-radius: 18px;
  }

  .service-area-map {
    border-radius: 14px;
  }
}


/* =========================================================
   06. MODAL
========================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 20, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(20, 30, 20, 0.12);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-package-head {
  margin-bottom: 12px;
}

.modal-package-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#modalContent h3 {
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.modal-package-text {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.modal-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.modal-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-soft);
  line-height: 1.5;
}

.modal-info-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-note {
  padding: 14px 16px;
  background: var(--surface-soft);
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}


.package-card-premium .package-content {
  padding: 24px;
}

.package-topline {
  align-items: flex-start;
}

.package-tag {
  background: rgba(78, 124, 89, 0.08);
  border: 1px solid rgba(78, 124, 89, 0.18);
  color: var(--primary-dark);
}

.package-card-premium .package-price {
  margin-top: 4px;
}

.package-card-premium .package-button {
  margin-top: auto;
}

.package-card-premium .package-trust {
  margin-bottom: 20px;
}

.package-card.featured .package-tag {
  background: var(--primary-dark);
  color: #fff;
  border: none;
}


.how-grid-clean .how-item {
  padding: 28px 26px;
}

.how-grid-clean .how-item h3 {
  margin-bottom: 6px;
}

.how-grid-clean .how-item p {
  font-size: 0.95rem;
  max-width: 26ch;
}

/* subtle hover – mer premium */
.how-grid-clean .how-item:hover {
  transform: translateY(-4px);
}

.package-grid-2 .package-card-premium .package-price-value {
  font-size: 2.5rem;
}

/* =========================================================
   06. START PAGE / ENTRY CARDS
========================================================= */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
  max-width: 900px;
}

.entry-card {
  display: block;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: 0.2s ease;
}

.entry-card:hover {
  transform: translateY(-3px);
  border-color: #c9d9c5;
}

.entry-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary-dark);
  stroke-width: 1.75;
}

.entry-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.entry-card h2 {
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.entry-card p {
  color: var(--text-soft);
  margin-bottom: 22px;
  max-width: 30ch;
}

.entry-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.entry-card h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.entry-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
  max-width: 32ch;
}

.entry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 700;
}

/* =========================================================
   07. START PAGE / INTRO
========================================================= */
.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 28px 0 72px;
}

.intro-item h3 {
  font-size: 1.08rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.intro-item p {
  color: var(--text-soft);
  max-width: 30ch;
}

/* =========================================================
   08. PAGE HERO
========================================================= */
.page-hero {
  padding: 60px 20px 30px;
}

.hero-home {
  padding: 76px 20px 54px;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 400px;
  gap: 30px;
  align-items: stretch;
}

.hero-home-content {
  max-width: 780px;
}

.hero-home-content h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  max-width: 9ch;
  margin-bottom: 18px;
}

.hero-home-content .hero-text {
  max-width: 58ch;
  margin-bottom: 0;
}

.hero-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: #f8faf7;
  border-color: #c8d7c5;
}

.hero-home-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-home-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-home-trust svg {
  width: 16px;
  height: 16px;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.hero-home-card {
  display: flex;
}

.hero-home-card-inner {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(20, 40, 20, 0.06);
}

.hero-home-card-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-home-card-inner h2 {
  font-size: 1.7rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.hero-home-steps {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-home-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.hero-home-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-home-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-size: 0.88rem;
}

.hero-home-step span {
  color: var(--text-soft);
  line-height: 1.55;
}

.hero-home-card-button {
  width: 100%;
}

.hero-home-note {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-services,
.home-benefits,
.home-cta,
.home-examples {
  padding: 34px 20px 84px;
}

.home-cta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 10px 28px rgba(20, 40, 20, 0.04);
}

.home-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-example-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-example-card:hover {
  transform: translateY(-3px);
  border-color: #c8d7c5;
  box-shadow: 0 10px 24px rgba(20, 40, 20, 0.05);
}

.home-example-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-example-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary-dark);
  stroke-width: 1.8;
}

.home-example-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.home-example-card p {
  color: var(--text-soft);
  line-height: 1.6;
}

.home-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-highlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(20, 40, 20, 0.04);
}

.home-highlight-value {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-highlight-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.home-highlight-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .hero-home-grid {
    grid-template-columns: 1fr;
  }

  .hero-home-content h1 {
    max-width: 100%;
  }

  .home-example-grid,
  .home-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-home {
    padding: 48px 0 28px;
  }

  .hero-home-card-inner,
  .home-cta-box,
  .home-highlight-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .hero-home-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-home-actions .btn-primary,
  .hero-home-actions .btn-secondary {
    width: 100%;
  }

  .hero-home-trust {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-example-grid,
  .home-highlight-grid {
    grid-template-columns: 1fr;
  }

  .home-example-card {
    padding: 18px;
    border-radius: 16px;
  }
}

/* =========================================================
   09. HOW / STEPS SECTION
========================================================= */
.how {
  padding: 72px 20px 56px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.how-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 228, 212, 0.9);
  border-radius: 24px;
  padding: 32px 28px;
  text-align: left;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 10px 30px rgba(31, 43, 32, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.how-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #efaf37 0%, #59a674 100%);
  opacity: 0.95;
}

.how-item:hover {
  transform: translateY(-6px);
  border-color: rgba(89, 166, 116, 0.28);
  box-shadow:
    0 18px 40px rgba(31, 43, 32, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.how-icon {
  width: 52px;
  height: 52px;
  margin: 0 0 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #efaf37 0%, #f6c766 100%);
  color: #1f2b20;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(239, 175, 55, 0.22);
}

.how-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2b20;
  letter-spacing: -0.02em;
}

.how-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #667364;
  max-width: 28ch;
}

/* =========================================================
   10. PACKAGES / SHARED
========================================================= */
.section-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.packages {
  padding: 50px 20px 80px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

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

.package-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 43, 32, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(31, 43, 32, 0.08);
  border-color: #c8d8c2;
}

.package-card.featured {
  border: 2px solid var(--primary-dark);
}

.package-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-soft);
  overflow: hidden;
}

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

.package-weight-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 43, 32, 0.78);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.package-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.package-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #4e7c59;
  letter-spacing: 0.01em;
}

.package-card h3 {
  margin-bottom: 0;
  min-height: auto;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0;
  background: none;
  border-radius: 0;
}

.package-price-value {
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1f2b20;
}

.package-price-note {
  font-size: 13px;
  color: #667364;
}

.package-meta {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
}

.package-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  color: #1f2b20;
  font-size: 14px;
  line-height: 1.4;
}

.package-meta li svg,
.package-meta li i {
  width: 18px;
  height: 18px;
  color: #4e7c59;
  flex-shrink: 0;
}

.package-meta li span {
  font-size: 14px;
  line-height: 1.4;
  color: #465245;
}

.package-trust {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #667364;
}

.package-button {
  width: 100%;
  margin-top: auto;
  text-align: center;
  white-space: nowrap;
}

.badge-popular {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-block;
  padding: 7px 11px;
  background: #efaf37;
  color: #1f2b20;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(239, 175, 55, 0.22);
}

/* =========================================================
   11. PACKAGES / OPTIONAL PREMIUM VARIANT
========================================================= */
.package-card-premium {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 40, 20, 0.04);
}

.package-card-premium:hover {
  transform: translateY(-4px);
  border-color: #c8d7c5;
  box-shadow: 0 14px 34px rgba(20, 40, 20, 0.08);
}

.package-card-premium .package-image {
  position: relative;
}

.package-card-premium .package-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(20, 30, 20, 0.14), rgba(20, 30, 20, 0));
  pointer-events: none;
}

.package-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.package-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f4ef;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.package-tag-featured {
  background: var(--primary-dark);
  color: #fff;
}

.package-card-premium h3 {
  min-height: auto;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.package-description {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 16px;
  min-height: 4.6em;
}

.package-card-premium .package-price {
  border: 1px solid #e1e9dd;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--surface-soft);
  border-radius: 14px;
}

.package-card-premium .package-meta {
  margin-bottom: 18px;
}

.package-card-premium .package-meta li {
  align-items: flex-start;
}

.package-card-premium .package-button {
  min-height: 50px;
  font-size: 0.96rem;
}

.package-card-premium.featured {
  border: 2px solid var(--primary-dark);
  box-shadow: 0 16px 36px rgba(63, 104, 72, 0.12);
}

.package-card-premium.featured .package-price {
  background: #e8f0e7;
  border-color: #d7e3d3;
}

.package-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0;
  margin-bottom: 18px;
  background: none;
  border: none;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.package-more-btn:hover {
  opacity: 0.75;
}

.package-more-btn svg {
  width: 16px;
  height: 16px;
  color: var(--primary-dark);
  flex-shrink: 0;
}

/* =========================================================
   12. POPUP / MODAL
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 20, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  animation: fadeIn 0.2s ease;
  box-shadow: 0 20px 50px rgba(20, 30, 20, 0.12);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-package-head {
  margin-bottom: 12px;
}

.modal-package-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#modalContent h3 {
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.modal-package-text {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.modal-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.modal-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-soft);
  line-height: 1.5;
}

.modal-info-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-note {
  padding: 14px 16px;
  background: var(--surface-soft);
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* =========================================================
   13. CHECKLIST
========================================================= */
.check-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6f2ea;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   14. BOOKING PAGE
========================================================= */
.booking-section {
  padding: 24px 20px 84px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.booking-summary h2 {
  margin-bottom: 14px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.booking-package-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcf9 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    0 10px 30px rgba(31, 43, 32, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.booking-package-card h3 {
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.booking-package-card .package-label {
  display: inline-block;
  margin-bottom: 10px;
}

.booking-package-card .package-price {
  margin-bottom: 18px;
}

.booking-package-card .package-meta {
  margin-bottom: 0;
}

.booking-form-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 10px 30px rgba(31, 43, 32, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.booking-form {
  display: grid;
  gap: 18px;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d7e1d3;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group textarea {
  min-height: 138px;
  resize: vertical;
  padding-top: 14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8a9788;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(78, 124, 89, 0.08);
  background: #fff;
}

#apartmentFields {
  padding-top: 2px;
  transition: 0.2s ease;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.form-check input {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: var(--primary-dark);
  flex-shrink: 0;
}

.booking-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: none;
  margin-top: -2px;
}

.booking-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
  font-size: 0.98rem;
  border-radius: 14px;
}

.booking-back-link {
  margin-top: 16px;
}

.booking-addons {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 43, 32, 0.08);
}

.booking-addons h4 {
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(31, 43, 32, 0.06);
}

.addon-item:first-of-type {
  padding-top: 0;
  border-top: none;
}

.addon-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}

.addon-info span {
  display: block;
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.addon-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d7e1d3;
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.qty-btn:hover {
  background: var(--surface-soft);
  border-color: #c9d9c5;
}

.addon-qty input {
  width: 54px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #d7e1d3;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

.addon-total,
.package-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
}

.addon-total {
  margin-top: 6px;
  border-top: 1px solid rgba(31, 43, 32, 0.08);
}

.package-total {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.addon-total span,
.package-total span {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.addon-total strong,
.package-total strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.package-total strong {
  color: var(--primary-dark);
  font-size: 1.14rem;
}

/* =========================================================
   15. THANK YOU PAGE
========================================================= */
.thank-you-section {
  padding: 34px 20px 90px;
}

.thank-you-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.thank-you-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
}

.thank-you-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.thank-you-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary-dark);
  stroke-width: 2;
}

.thank-you-card h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  max-width: 14ch;
}

.thank-you-lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 58ch;
  margin-bottom: 28px;
}

.thank-you-summary {
  margin-bottom: 28px;
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.thank-you-summary h2 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.thank-you-summary-list {
  display: grid;
  gap: 12px;
}

.thank-you-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 43, 32, 0.08);
}

.thank-you-summary-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.thank-you-summary-row span {
  color: var(--text-soft);
  line-height: 1.4;
}

.thank-you-summary-row strong {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.thank-you-summary-total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.thank-you-summary-total span,
.thank-you-summary-total strong {
  color: var(--primary-dark);
  font-size: 1rem;
}

.thank-you-info {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.thank-you-info-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.thank-you-info-item:first-child {
  border-top: none;
  padding-top: 0;
}

.thank-you-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
  margin-top: 2px;
}

.thank-you-info-item h2 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.thank-you-info-item p {
  color: var(--text-soft);
  line-height: 1.6;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.thank-you-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.thank-you-link:hover {
  opacity: 0.75;
}

.thank-you-side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.thank-you-side-card h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.thank-you-side-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
  line-height: 1.6;
}

.thank-you-contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.thank-you-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  line-height: 1.5;
}

.thank-you-contact-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   16. ALERTS / MESSAGES
========================================================= */
.alert-success {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e6f2ea;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

/* =========================================================
   17. ANIMATIONS
========================================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   18. RESPONSIVE / LARGE
========================================================= */
@media (max-width: 1200px) {
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   19. RESPONSIVE / MEDIUM
========================================================= */
@media (max-width: 1000px) {
  .package-grid,
  .package-grid-2,
  .package-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* =========================================================
   20. RESPONSIVE / TABLET
========================================================= */
@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .entry-grid,
  .intro,
  .footer-inner,
  .booking-layout,
  .thank-you-layout {
    grid-template-columns: 1fr;
  }

  .how-item {
    padding: 28px 24px;
  }

  .how-item p {
    max-width: none;
  }
}


/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  margin-top: 72px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-col-brand {
  max-width: 100%;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary-dark);
}

.footer-brand-name {
  display: block;
  gap: 12px;
 font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-dark);
  margin-bottom: 8px;
}

.footer-brand-text {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 42ch;
}

.footer-payment {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-width: 360px;
}

.footer-payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.footer-payment-label {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-payment-value {
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: right;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0;
}

.footer-col a {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  margin-top: 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 56px;
    padding-top: 22px;
  }

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

  .footer-payment {
    max-width: none;
  }

  .footer-payment-item {
    padding: 12px 14px;
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
  }
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #667364;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
}


/* =========================================================
   21. RESPONSIVE / SMALL
========================================================= */
@media (max-width: 760px) {
  .package-description {
    min-height: auto;
  }

  .package-topline {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .package-grid,
  .package-grid-2,
  .package-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .package-card {
    border-radius: 16px;
  }

  .package-content {
    padding: 20px;
  }

  .package-price-value {
    font-size: 28px;
  }

  .package-button {
    min-height: 50px;
  }
}

/* =========================================================
   22. RESPONSIVE / MOBILE
========================================================= */
@media (max-width: 640px) {
  .app {
    width: min(100% - 20px, var(--max-width));
    padding-top: 16px;
  }

  .hero {
    padding: 48px 0 28px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 10vw, 4rem);
  }

  .entry-card {
    padding: 24px;
  }

  .entry-card h2 {
    font-size: 1.7rem;
  }

  .main-nav {
    gap: 14px 20px;
  }

  .modal-box {
    padding: 22px 18px;
    border-radius: 18px;
  }

  #modalContent h3 {
    font-size: 1.35rem;
  }

  .modal-package-text,
  .modal-note,
  .modal-info-list li {
    font-size: 0.94rem;
  }

  .booking-form-wrap,
  .booking-package-card {
    padding: 20px;
    border-radius: 18px;
  }

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

  .booking-section {
    padding: 14px 0 70px;
  }

  .addon-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .addon-qty {
    align-self: flex-start;
  }

  .thank-you-section {
    padding: 20px 0 70px;
  }

  .thank-you-card,
  .thank-you-side-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .thank-you-card h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .thank-you-summary {
    padding: 18px;
    border-radius: 16px;
  }

  .thank-you-summary-row {
    align-items: flex-start;
  }

  .thank-you-summary-row strong {
    max-width: 48%;
  }

  .thank-you-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thank-you-actions .btn-primary {
    width: 100%;
  }
}