:root {
  --font-display: "forevs", serif;
  --font-body: "ibm-plex-sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
}

h1 {
  font-weight: 700;
  text-transform: uppercase;
}

h2.wp-block-heading {
  font-size: clamp(24px, 5vw, 40px);
  text-align: center;
  color: #fff;
}

input, button, textarea, select {
  font: inherit;
}

button,
[type="button"],
[type="submit"],
[type="reset"],
.btn{
  cursor: pointer;
}

button:disabled,
.btn[aria-disabled="true"]{
  cursor: not-allowed;
  opacity: 0.6;
}


/* Layout basics */

html, body { margin: 0; padding: 0;}

body {
  background: #0A1A27;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
}

.container {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

/* ===== HEADER ===== */

.site-header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px 0;
  background: transparent;

  transition:
    background-color 240ms ease,
    backdrop-filter 240ms ease,
    box-shadow 240ms ease,
    padding 240ms ease,
    transform 240ms ease;
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header__logo img {
  height: 34px;
  width: auto;
  display: block;
  transition: height 240ms ease;
}

/* ===== NAVIGATION ===== */

.site-nav{
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav__menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
  font-weight: 700;
}

.site-nav__menu a{
  font-family: var(--font-body);
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}

.site-nav__menu a:hover{
  opacity: 1;
}

/* Admin-bar offset */
.admin-bar .site-header{ top: 32px; }
@media (max-width: 782px){
  .admin-bar .site-header{ top: 46px; }
}

/* Scroll state: now we "pin" it and add glass */
.site-header.is-scrolled{
  position: fixed; /* sticky i praktiken, men stabilare över browsers */
  background: rgba(7, 26, 36, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 14px 0;
}

/* Keep admin bar offset even when fixed */
.admin-bar .site-header.is-scrolled{ top: 32px; }
@media (max-width: 782px){
  .admin-bar .site-header.is-scrolled{ top: 46px; }
}

.site-header.is-scrolled .site-nav__menu{
  gap: 20px;
}

.site-header.is-scrolled .header__logo img{
  height: 28px;
}

/* Mobile toggle */
.nav-toggle{
  display: none;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-toggle__bars{
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  margin: 0 auto;
  border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.nav-toggle__bars::before{ top: -6px; }
.nav-toggle__bars::after{ top: 6px; }

/* Mobile layout */
@media (max-width: 900px){
  .site-header{ padding: 14px 0; }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav__menu{
    position: absolute;
    top: 70px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(10,39,27,0.92);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
  }

  .site-nav.is-open .site-nav__menu{
    display: flex;
  }
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 55vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 26, 39, 0.8) 0%,
      transparent 30%
    ),
    linear-gradient(
      to bottom,
      transparent 40%,
      #0A1A27 100%
    );
  pointer-events: none;
}

.hero__inner{
  position: relative;
  text-align: center;
  padding-top: 128px;
  padding-bottom: 64px;
}

.hero__title{
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  word-spacing: 20px;
  margin: 0 0 16px 0;
  line-height: 0.95;
  font-size: clamp(40px, 5vw, 72px);
  text-transform: uppercase;
}

.hero__lead{
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 68ch;
  margin: 0 auto 28px auto;
  opacity: 0.95;
}

/* ========== BUTTONS ========== */

.btn{
  display: inline-flex;
  align-items: center;
  padding: 10px 18px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background-color 220ms ease, border-color 220ms ease;
}

/* Arrow system (used by secondary + tertiary) */
.btn--with-arrow{
  --arrow-space: 0px;
}

.btn__label{
  display: inline-block;
}

.btn__icon{
  display: inline-block;
  margin-left: 0;
  opacity: 0;
  transform: translateX(-6px);
  width: 0;
  overflow: hidden;
  transition: opacity 220ms ease, transform 220ms ease, width 220ms ease;
  white-space: nowrap;
}

.btn--with-arrow:hover{
  --arrow-space: 10px; 
  padding-right: calc(16px + var(--arrow-space));
}

.btn--with-arrow:hover .btn__icon{
  opacity: 1;
  transform: translateX(12px);
  width: 1.2em;
}

/* Primary */
.btn--primary {
  background: #AAFFC4;
  border: 1px solid #64D987;
  color: #0A271B;
  font-family: var(--font-display);
  font-size: 1.5em;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  will-change: transform;
  transform: translateZ(0);
}

.btn--primary:hover{
  border-color: rgba(170,255,196,0.9);
  background-color: #CCFFDC;
  transform: scale(1.03);
}

.btn--primary:active{
  transform: scale(0.99);
}

.btn--primary:focus-visible{
  outline: 2px solid rgba(170,255,196,0.55);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce){
  .btn--primary{
    transition: background-color 180ms ease, border-color 180ms ease;
  }
  .btn--primary:hover,
  .btn--primary:active{
    transform: none;
  }
}

/* Secondary (outline) */
.btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(170,255,196,0.55);
}

.btn--secondary:hover{
  border-color: rgba(170,255,196,0.9);
}

/* Tertiary (no border) */
.btn--tertiary{
  background: transparent;
  color: #fff;
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.btn--tertiary.btn--with-arrow{
  padding-right: var(--arrow-space);
}

.btn--tertiary:hover{
  opacity: 0.9;
}

/* ========== SERVICES ========== */

.services {
  color: #fff;
  padding: 72px 0;
}

.services__header {
  text-align: left;
  margin-bottom: 28px;
}

.services__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  margin: 0;
}

.services__list{
  display: grid;
  gap: 26px;
}

/* 2-kolumns variant (startsidan) */
.services__list--cols-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  max-width: 1200px;
  margin-inline: auto;
}

/* ---- Horisontellt kort (undersidor) ---- */
.service-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: 28px;
}

.service-card--reverse{
  grid-template-columns: 0.9fr 1.1fr;
}

.service-card--reverse .service-card__media {
  order: 2;
}
.service-card--reverse .service-card__content {
  order: 1;
}

.service-card__media {
  overflow: hidden;
  border-radius: 22px;
}

.service-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.service-card__title {
  font-family: var(--font-display);
  margin: 0 0 10px 0;
  font-size: clamp(24px, 2.6vw, 38px);
}

.service-card__text {
  font-family: var(--font-body);
  margin: 0 0 18px 0;
  line-height: 1.6;
  max-width: 55ch;
  opacity: 0.95;
}

/* ---- Stående kort (startsidan) ---- */
.service-card--portrait {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.service-card--portrait .service-card__media {
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
}

.service-card--portrait .service-card__image {
  aspect-ratio: 3 / 2;
  height: auto;
}

.service-card--portrait .service-card__content {
  padding: 24px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card--portrait .service-card__actions {
  margin-top: auto;
  padding-top: 16px;
}



/* ========== TESTIMONIALS ========== */

.testimonials {
  color: #fff;
  padding: 56px 0 84px;
}

.testimonials__header {
  margin-bottom: 18px;
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 24px);
  margin: 0;
}

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

.testimonial-card {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 24px;
  min-height: 220px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
}

.testimonial-card__rating {
  display: inline-flex;
  gap: 6px;
  line-height: 1;
  justify-content: center;
  color: #ffc821;
}

.testimonial-card__star {
  font-size: 14px;
  opacity: 0.95;
}

.testimonial-card__quote {
  font-family: var(--font-body);
  line-height: 1.7;
  margin: 0;
  opacity: 0.95;
}

.testimonial-card__footer {
  margin-top: 6px;
}

.testimonial-card__name {
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0;
}

.testimonial-card__meta {
  font-family: var(--font-body);
  margin: 4px 0 0 0;
  opacity: 0.8;
  font-size: 14px;
}

/* Karusell-läge (> 3 citat) */
.testimonials--carousel .testimonials__grid {
  display: flex;
  overflow: hidden;
  gap: 0;
  margin-top: 18px;
}

.testimonials--carousel .testimonial-card {
  flex: 0 0 calc(33.333% - 12px);
  margin-right: 18px;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonials__btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: border-color 200ms, background 200ms;
}

.testimonials__btn:hover {
  border-color: #FFEAAA;
  color: #FFEAAA;
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background 200ms;
}

.testimonials__dot--active {
  background: #FFEAAA;
}


/* ========== WHY & FOUNDER ========== */

.why-founder {
  color: #fff;
  padding: 72px 0;
}

.why-founder__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ========== INFO PUFF (horisontell, startsidan) ========== */

.info-puff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 420px;
}

/* Bild till höger: byt ordning */
.info-puff--image-right .info-puff__media {
  order: 2;
}
.info-puff--image-right .info-puff__content {
  order: 1;
}

.info-puff__media {
  overflow: hidden;
  border-radius: 20px;
}

.info-puff__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.info-puff__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.info-puff__subtitle {
  font-family: 'Forevs', var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFEAAA;
  margin: 0;
}

.info-puff__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 40px);
  margin: 0;
}

/* ========== PUFF-SECTION (block-wrapper för info-puff) ========== */

.puff-section {
  color: #fff;
  padding: 48px 0;
}

/* Ingen extra padding om två puff-block staplas direkt efter varandra */
.puff-section + .puff-section {
  padding-top: 0;
}

/* ========== PRIS-PUFF ========== */

.price-puff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.price-puff--image-right {
  direction: rtl;
}

.price-puff--image-right > * {
  direction: ltr;
}

.price-puff__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.price-puff__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Title + price overlaid at the bottom of the image */
.price-puff__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 28px 28px;
  background: linear-gradient(to top, rgba(10,26,39,0.92) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-puff__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  margin: 0;
  line-height: 1.15;
  color: #fff;
}

.price-puff__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-puff__price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: #FFEAAA;
  color: #0A1A27;
  border-radius: 6px;
  padding: 6px 14px;
  align-self: flex-start;
}

.price-puff__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
}

.price-puff__price-note {
  font-family: var(--font-body);
  font-size: 13px;
  opacity: 0.7;
}

.price-puff__content-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}

.price-puff__ingress {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

.price-puff__items-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.price-puff__actions {
  margin-top: 4px;
}

.price-puff__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-puff__list--addons {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  margin-top: -4px;
}

.price-puff__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

.price-puff__bullet {
  flex-shrink: 0;
  margin-top: 2px;
}

.price-puff__item--included .price-puff__bullet {
  color: #AAFFC4;
}

.price-puff__item--addon .price-puff__bullet {
  color: #FFEAAA;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .price-puff,
  .price-puff--image-right {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }

  .price-puff__media {
    width: 100%;
  }
}

/* ========== INFO CARD ========== */

/* List */
.info-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.info-card__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-family: var(--font-body);
  line-height: 1.5;
  opacity: 0.95;
}

.info-card__check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #AAFFC4;
  font-size: 12px;
  line-height: 1;
  margin-top: 3px;
}

/* ========== FAQ ========== */

.faq {
  color: #fff;
  padding: 3rem 0 1rem;
}

/* En grupp: smal centrerad kolumn. Flera grupper: full bredd */
.faq:has(.faq__groups:not(.faq__groups--cols)) > .container {
    width: min(800px, calc(100% - 48px));
    margin-inline: auto;
}

.faq__header {
  margin-bottom: 16px;
}

.faq__title {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.2vw, 20px);
  margin: 0;
  font-weight: 600;
  color: #FFEAAA;
}

.faq__description {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  opacity: 0.75;
  margin: 12px 0 0 0;
  max-width: 72ch;
}

/* Grupp-grid */
.faq__groups {
  display: block;
}

.faq__groups--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
}

.faq__group-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFEAAA;
  margin: 0 0 4px;
}

.faq__list {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 18px;
}

/* Details reset-ish */

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.16);
  padding: 0;
}

.faq-item__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 26px;
  align-items: center;
  gap: 12px;
  padding: 18px 6px;
  user-select: none;
}

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

.faq-item__q {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.01em;
  font-weight: 600;
}

details[open] .faq-item__q {
  color: #FFEAAA;
}

/* Plus/minus icon */

.faq-item__icon {
  width: 22px;
  height: 22px;
  position: relative;
  opacity: 0.85;
}

.faq-item__icon::before,
.faq-item__icon::after{
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.faq-item__icon::after{
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

/* Open state: turn plus into minus */
.faq-item[open] .faq-item__icon::after{
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Content */
.faq-item__content{
  padding: 0;
  max-width: 72ch;
  opacity: 0.92;
  font-family: var(--font-body);
  line-height: 1.7;
  overflow: hidden;           /* viktigt för height-animation */
  height: 0;                  /* stängd default */
}

.faq-item[open] .faq-item__content{
  height: auto;               /* JS kommer sätta px-värden, men detta är fallback */
}

.faq-item__content p{
  margin: 0 0 0px 0;
}

.faq-item__content p:last-child{
  margin-bottom: 0;
}

/* Subtle hover/focus */
.faq-item__summary:hover{
  opacity: 0.95;
}

.faq-item__summary:focus{
  outline: none;
}

.faq-item__summary:focus-visible{
  outline: 2px solid rgba(170,255,196,0.55);
  outline-offset: 4px;
  border-radius: 10px;
}

.faq-item__inner{
  padding: 0 6px 18px 6px;
  max-width: 72ch;
  font-family: var(--font-body);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.faq-item[open] .faq-item__inner{
  opacity: 0.92;            /* matchar din nuvarande opacity */
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .faq-item__inner{ transition: none; transform: none; }
}

@media (max-width: 768px) {
  .faq__groups--cols {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ========== FOOTER ========== */

.site-footer {
  background: #081621;
  color: #fff;
  padding: 72px 0;
  font-size: clamp(0.75rem, 0.5938rem + 0.5vw, 0.875rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr 0.6fr;
  gap: 48px;
  align-items: start;
}

/* Brand / contact */

.footer__logo {
  margin-bottom: 16px;
}

.footer__contact {
  font-family: var(--font-body);
  font-style: normal;
  line-height: 1.6;
  
}

.footer__contact a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer__contact a:hover {
  opacity: 1;
}

/* Headings */
.footer__heading {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 12px 0;
}

/* Nav */
.footer__menu{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}


.footer__menu li { margin: 0; padding: 0; }

.footer__menu a {
  display: inline-block;
  font-family: var(--font-body);
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer__menu a:hover{
  opacity: 1;
}


/* Newsletter */
.footer__newsletter-text{
  font-family: var(--font-body);
  line-height: 1.6;
  margin-bottom: 14px;
  opacity: 0.9;
}

.footer__newsletter-form{
  display: flex;
  gap: 10px;
}

.footer__newsletter-form input{
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
}

.footer__newsletter-form input,
.footer__newsletter-form button,
.footer__newsletter-form .btn {
  font-size: 14px;
  line-height: 1.2;
}

/* Social */
.footer__social-links{
  display: flex;
  gap: 14px;
}

.footer__social-links a{
  font-family: var(--font-body);
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer__social-links a:hover{
  opacity: 1;
}

/* ========== STEPS ========== */

.steps{
  color: #fff;
  padding: 72px 0;
}

.steps__title{
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  margin: 0 0 18px 0;
  text-align: center;
}

.steps__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 320px));
  justify-content: center;
  gap: 14px;
}

/* 4 steg — fyll hela raden jämnt */
.steps__list:has(.step-card:nth-child(4)) {
  grid-template-columns: repeat(4, 1fr);
  justify-content: stretch;
}

.step-card{
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 10px;
  transition: border 150ms ease;
}

.step-card:hover{
  border: 1px solid rgba(255,255,255,1);
}

.step-card__num{
  width: 32px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(170,255,196,0.45);
  background: rgba(170,255,196,0.14);
  color: #AAFFC4;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 48px;
  padding: 0 0 4px;
}

.step-card__title{
  font-family: var(--font-display);
  margin: 0;
}

.step-card__text{
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.6;
  opacity: 0.92;
}

/* ========== CTA (Generic) ========== */

.cta{
  padding: 84px 0 96px;
}

.cta__inner{
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.cta__title{
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
  margin: 0;
  color: #fff;

}

.cta__text{
  font-family: var(--font-body);
  max-width: 50ch;
  opacity: 0.9;
  margin: 0;
}

/* ========== BOKNINGSEKTION ========== */

.booking {
  padding: 80px 0;
}

.booking__title {
  text-align: center;
  margin: 0 0 24px;
  font-size: 2rem;
}

.booking__ingress {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto 48px;
}

/* ── Kortrad ── */
.booking__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

/* Kolumn 3: paket 2 + kalkylator staplade */
.booking__col3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Baskortet – matchar offer-card-stilen */
.booking-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
  text-align: left;
  color: inherit;
  font: inherit;
  /* Säkerställ att grid-items (inkl. <button>) fyller sin cell */
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Klickbara meny-kort */
.booking-card--menu {
  cursor: pointer;
}

.booking-card--menu:hover {
  border-color: rgba(255,255,255,0.4);
}

.booking-card--menu.booking-card--selected {
  border-color: #AAFFC4;
  background: rgba(170,255,196,0.06);
}

/* "Vald"-badge */
.booking-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #AAFFC4;
  color: #0d1f17;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.booking-card--selected .booking-card__badge {
  opacity: 1;
  transform: translateY(0);
}

/* Kortets rubrik */
.booking-card__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #FFEAAA;
  margin: 0 0 20px;
}

/* Featurelista (bock-ikoner) */
.booking-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.booking-card__icon--check {
  color: #AAFFC4;
  opacity: 0.8;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Tilläggslista (plus-ikoner) */
.booking-card__features--addons {
  margin: 8px 0 16px;
}

.booking-card__features--addons li {
  color: rgba(255,255,255,0.55);
}

.booking-card__icon--bullet {
  color: #FFEAAA;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

/* Tilläggs-etikett med avdelare ovanför */
.booking-card__addon-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,1.0);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 20px 0 8px;
  padding-top: 20px;
  width: 100%;
  align-self: stretch;
}

/* Priset längst ner */
.booking-card__price {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  width: 100%;
  align-self: stretch;
}

.booking-card__price-note {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}

/* Dryckesbeskrivning */
.booking-card__intro {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px;
  line-height: 1.55;
}

/* Fotnot på dryckeskortet */
.booking-card__footnote {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Fritext-beskrivning (paket 2) */
.booking-card__description {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin: 0;
}

/* ── Dryckesvariant-knappar ── */
.drink-variants {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.drink-variant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  background: rgba(0,0,0,0.2);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease;
  width: 100%;
}

.drink-variant:hover {
  border-color: rgba(255,255,255,0.25);
}

.drink-variant--selected {
  border-color: #5BE38A;
  background: rgba(91,227,138,0.08);
}

.drink-variant__name {
  color: #F1DD9A;
  font-weight: 700;
  font-size: 15px;
}

.drink-variant__price {
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.drink-variant--dim .drink-variant__price {
  color: rgba(255,255,255,0.4);
}

/* ── Priskalkylator ── */
.booking__calculator {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 28px;
}

/* Antal-väljare */
.booking__calc-antal {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.booking__calc-antal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.booking__calc-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 8px 36px 8px 12px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.booking__calc-select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
}

.booking__calc-select option {
  background: #0d2235;
  color: #fff;
}

/* Totalpris */
.booking__calc-price {
  text-align: right;
  flex-shrink: 0;
  padding-bottom: 3px; /* align baseline with select */
}

.booking__calc-total {
  font-size: 24px;
  font-weight: 700;
  color: #AAFFC4;
  line-height: 1.1;
  margin: 0;
}

.booking__calc-detail {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin: 3px 0 0;
}

.booking__calc-vat {
  display: inline;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  margin-left: 2px;
}


/* ========== MEDIA QUERIES ========== */

/* Responsive */
@media (max-width: 900px){

  .steps__list,
  .steps__list:has(.step-card:nth-child(4)) {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .step-card {
    min-height: 0;
    align-content: start;
  }

  .step-card__num {
    margin-bottom: 0;
  }

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

  .booking__col3 {
    gap: 12px;
  }

  .site-header{
    padding: 14px 0;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav__menu{
    position: absolute;
    top: 70px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(10,39,27,0.92);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
  }

  .site-nav.is-open .site-nav__menu{
    display: flex;
  }

  /* Services: 2-kol → 1-kol */
  .services__list--cols-2 {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card--reverse{
    grid-template-columns: 1fr;
  }
  .service-card--reverse .service-card__media,
  .service-card--reverse .service-card__content{
    order: initial;
  }

  /* Info puff: horisontell → vertikal */
  .info-puff {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .info-puff--image-right .info-puff__media,
  .info-puff--image-right .info-puff__content {
    order: initial;
  }

  .info-puff__media {
    aspect-ratio: 4 / 3;
  }

  .info-puff__content {
    padding: 28px;
  }

  .footer__grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__newsletter-form{
    flex-direction: column;
    align-items: stretch;
  }

  /* ===== Testimonials carousel (mobile) ===== */

  .testimonials__grid {
    grid-template-columns: none !important;

    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 85%;     /* 78–90% beroende på hur mycket "nästa kort" ska synas */
    gap: 14px;
    
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px; /* matchar din container-känsla */
    -webkit-overflow-scrolling: touch;

    padding: 10px 24px 14px;    /* ger lite luft + hint om scroll */
    margin-inline: -24px;       /* låter karusellen gå kant-till-kant */
  }

  .testimonial-card{
    scroll-snap-align: start;
    scroll-snap-stop: always;   /* gör att den "snäpper" mer konsekvent */
    min-width: 0;
  }

  /* Göm scrollbar men behåll scroll */
  .testimonials__grid::-webkit-scrollbar{ display: none; }
  .testimonials__grid{ scrollbar-width: none; }

}


/* ── Formulär-sektion ─────────────────────────────────────────────────────── */

.form-section {
  padding: 5rem 0;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  min-width: 0;
}

.form-layout--centered {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin-inline: auto;
}

/* Grid-barn måste ha min-width: 0 annars kan de växa utanför sin kolumn */
.form-layout__left,
.form-layout__right {
  min-width: 0;
  overflow: hidden;
}

/* Vänster kolumn */
.form-layout__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 36px);
  color: #fff;
  margin: 0 0 1.25rem;
}

.form-layout__ingress {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin: 0 0 2rem;
}

.form-layout__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-layout__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.form-layout__check {
  color: #6FCF97;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Höger: formulärkortet */
.form-card {
  background: #0d2235;
  border-radius: 12px;
  padding: 2.5rem;
  box-sizing: border-box;
  min-width: 0;
}

.form-card__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6FCF97;
  margin: 0 0 0.5rem;
  text-align: center;
}

.form-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  color: #fff;
  margin: 0 0 2rem;
  text-align: center;
}

.form-card__placeholder {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* CF7-formuläret inuti kortet */
.form-card__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Ta bort CF7:s automatiska <br> mellan label och input */
.form-card__form p br {
  display: none;
}

/* Fältetiketter (t.ex. DITT NAMN) */
.form-card__form .cf7-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

/* Alternativtexter för radio/checkbox – normal stil */
.form-card__form .wpcf7-radio label,
.form-card__form .wpcf7-checkbox label {
  display: inline;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.85);
}

.form-card__form input[type="text"],
.form-card__form input[type="email"],
.form-card__form input[type="tel"],
.form-card__form input[type="date"],
.form-card__form textarea,
.form-card__form select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 0.65rem 0.9rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form-card__form input[type="text"]:focus,
.form-card__form input[type="email"]:focus,
.form-card__form input[type="tel"]:focus,
.form-card__form input[type="date"]:focus,
.form-card__form textarea:focus,
.form-card__form select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.45);
}

.form-card__form textarea {
  min-height: 100px;
  resize: vertical;
}

.form-card__form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
  cursor: pointer;
  color: rgba(255,255,255,0.9);
}

.form-card__form select option {
  background: #0d2235;
  color: #fff;
}

/* Datuminput — dölj webbläsarens kalenderikon och anpassa färger */
.form-card__form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.5);
  cursor: pointer;
}

/* Kalender-ikon injekterad av flatpickr-init.js */
.date-input-wrap {
  position: relative;
  display: block;
}

.date-input-wrap input {
  padding-right: 40px !important;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.date-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.form-card__form input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  color: rgba(255,255,255,0.5);
}

.form-card__form input[type="date"]:not(:placeholder-shown)::-webkit-datetime-edit-fields-wrapper,
.form-card__form input[type="date"]:focus::-webkit-datetime-edit-fields-wrapper {
  color: #fff;
}

/* Radio-knappar – wrapper som kolumn */
.form-card__form .wpcf7-radio,
.form-card__form .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-card__form .wpcf7-radio .wpcf7-list-item,
.form-card__form .wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.form-card__form input[type="radio"],
.form-card__form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #6FCF97;
  cursor: pointer;
  flex-shrink: 0;
}

/* Skicka-knapp — samma stil som .btn--primary */
.form-card__form input[type="submit"],
.form-card__form .wpcf7-submit,
.form-card__form .cf7-submit {
  width: 100%;
  background: #AAFFC4;
  border: 1px solid #64D987;
  color: #0A271B;
  font-family: var(--font-display);
  font-size: 1.5em;
  font-weight: 600;
  border-radius: 50px;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  will-change: transform;
  transform: translateZ(0);
  margin-top: 0.5rem;
}

.form-card__form input[type="submit"]:hover,
.form-card__form .wpcf7-submit:hover,
.form-card__form .cf7-submit:hover {
  border-color: rgba(170,255,196,0.9);
  background-color: #CCFFDC;
  transform: scale(1.03);
}

.form-card__form input[type="submit"]:active,
.form-card__form .wpcf7-submit:active,
.form-card__form .cf7-submit:active {
  transform: scale(0.99);
}

.form-card__form input[type="submit"]:focus-visible,
.form-card__form .wpcf7-submit:focus-visible,
.form-card__form .cf7-submit:focus-visible {
  outline: 2px solid rgba(170,255,196,0.55);
  outline-offset: 4px;
}

/* CF7 interna wrappers – layout */
.cf7-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.cf7-field--full {
  width: 100%;
}

.cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.cf7-row--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

.cf7-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.cf7-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0.5rem 0 1.5rem;
}

/* Villkorat fält (CF7 Conditional Fields) */
.wpcf7-not-valid-tip {
  color: #CF6F6F;
}

.form-card__form .wpcf7-conditional {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.form-card__form .wpcf7-conditional.hidden {
  max-height: 0 !important;
  opacity: 0;
}

/* Responsivt */
@media (max-width: 768px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-card {
    padding: 1.5rem;
  }

  .cf7-row,
  .cf7-row--3col {
    grid-template-columns: 1fr;
  }

  /* Förhindra att CF7-element sticker utanför kortet */
  .form-card__form input[type="text"],
  .form-card__form input[type="email"],
  .form-card__form input[type="tel"],
  .form-card__form input[type="date"],
  .form-card__form textarea,
  .form-card__form select {
    max-width: 100%;
  }

  /* Mindre knapptext på mobil */
  .form-card__form input[type="submit"],
  .form-card__form .wpcf7-submit,
  .form-card__form .cf7-submit {
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
  }
}




/* ========== TEAM ========== */

.team {
  padding: 80px 0;
  color: #fff;
}

.team__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  text-align: center;
  margin: 0 0 56px;
}

.team__list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.team-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.team-card--reversed {
  direction: rtl;
}

.team-card--reversed > * {
  direction: ltr;
}

/* Bild */
.team-card__image-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.team-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.06);
}

/* Innehåll */
.team-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-card__role {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6FCF97;
  margin: 0;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}

.team-card__bio {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0;
}

.team-card__contact {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.team-card__contact a:hover {
  color: #fff;
}

.team-card__icon {
  flex-shrink: 0;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .team-card,
  .team-card--reversed {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .team-card__image-wrap {
    aspect-ratio: 3 / 2;
  }
}


/* ===== ERBJUDANDE / OFFER (Pricing table) ===== */

.offer {
  padding: 80px 0;
}

.offer__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  text-align: center;
  color: #fff;
  margin: 0 0 32px;
}

.offer__ingress {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.offer__packages {
  display: grid;
  gap: 24px;
  align-items: start;
}

.offer__packages--count-2 { grid-template-columns: repeat(2, 1fr); }
.offer__packages--count-3 { grid-template-columns: repeat(3, 1fr); }
.offer__packages--count-4 { grid-template-columns: repeat(4, 1fr); }

/* Default fallback for other counts */
.offer__packages:not([class*="count-"]) {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Card base */
.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 36px 32px 32px;
  gap: 0;
  transition: border-color 0.2s;
}

.offer-card:hover {
  border-color: rgba(255,255,255,0.4);
}

/* Featured card */
.offer-card--featured {
  background: rgba(170,255,196,0.06);
  border-color: #AAFFC4;
  box-shadow: 0 0 40px rgba(170,255,196,0.08);
}

.offer-card--featured:hover {
  border-color: #AAFFC4;
}

/* Badge */
.offer-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #AAFFC4;
  color: #0A1A27;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.offer-card__name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #FFEAAA;
  margin: 0 0 20px;
}

.offer-card__price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

.offer-card__price-amount {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

.offer-card__price-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* Description */
.offer-card__description {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Items list */
.offer-card__items {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.offer-card__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.offer-card__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #AAFFC4;
  opacity: 0.8;
}

.offer-card--featured .offer-card__icon {
  opacity: 1;
}

.offer-card__addon-label {
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,1.0);
  margin-bottom: 2px;
}

.offer-card__bullet {
  flex-shrink: 0;
  color: #FFEAAA;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 1px;
}

.offer-card__divider {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 8px 0;
  padding: 0;
}

.offer-card__item--addon {
  color: rgba(255,255,255,0.55);
}

/* CTA */
.offer-card__footer {
  margin-top: auto;
}

.offer-card__footer .btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .offer__packages--count-3,
  .offer__packages--count-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .offer__packages--count-2,
  .offer__packages--count-3,
  .offer__packages--count-4 {
    grid-template-columns: 1fr;
  }

  .offer-card {
    padding: 32px 24px 28px;
  }
}

/* ===== 404 ===== */

.error-404 {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  text-align: center;
}

.error-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.error-404__code {
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.06);
  margin: 0;
  user-select: none;
}

.error-404__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: -16px 0 0;
}

.error-404__lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 440px;
  margin: 0;
}

@media (max-width: 640px) {
  .error-404__lead {
    font-size: 15px;
  }
}
