/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Archivo', sans-serif; color: #1C2620; background: #f7f5f0; }
img { display: block; width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --cream: #f7f5f0;
  --dark: #1C2620;
  --mint: #b7e9d3;
  --mint-light: #d2f2e2;
  --text: #1C2620;
  --muted: #6b7c74;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 28px rgba(0,0,0,0.10);
  --max: 1140px;
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.bg-cream { background: var(--cream); }
.bg-dark  { background: var(--dark); }

/* ===== ARCHIVO BLACK — sve bold headings ===== */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-heading, .activity-text h3,
.tl-content h3, .card-price, .btn {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-weight: 400; /* Archivo Black nema weight varijante */
}

/* ===== SECTION TITLES ===== */
.section-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: .5rem;
}
.section-heading.light { color: var(--white); }
.section-sub {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  margin-bottom: 4rem;
}
.section-sub.light { color: rgba(255,255,255,.55); }
.section-intro {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  text-align: center;
  color: var(--text);
  margin-top: -.5rem;
  margin-bottom: 4rem;
  opacity: .75;
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.4rem 2rem;
  transition: background .35s, backdrop-filter .35s;
}
.header.scrolled {
  background: rgba(33,43,39,.96);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
}
.logo { flex-shrink: 0; }
.nav {
  display: flex; gap: 2rem; flex: 1; justify-content: center;
}
.nav a {
  color: var(--white); font-size: .82rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  opacity: .9; transition: opacity .2s;
}
.nav a:hover { opacity: 1; }
.header-cta { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1.2rem; border-radius: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  cursor: pointer; transition: all .2s; white-space: nowrap;
  border: none;
}
.btn-outline-white { color: var(--white); border: 1.8px solid var(--white); background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-white { background: var(--white); color: var(--text); }
.btn-white:hover { background: #e8e6e2; }
.btn-dark { background: #1C2620; color: var(--white); }
.btn-dark:hover { background: #111d18; }
.btn-dark-full { background: var(--dark); color: var(--white); width: 100%; padding: .8rem; font-size: .85rem; margin-top: auto; border-radius: 10px; }
.btn-dark-full:hover { opacity: .85; }
.btn-mint-full  { background: var(--mint); color: var(--text); width: 100%; padding: .8rem; font-size: .85rem; margin-top: auto; border-radius: 10px; }
.btn-mint-full:hover { opacity: .85; }

/* Burger */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 190;
  background: var(--dark); padding: 7rem 2rem 2rem;
  gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--white); font-size: 1.3rem; font-weight: 600; }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 560px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero > picture {
  display: contents;
}
.hero-bg {
  position: absolute; inset: 0; object-fit: cover;
  width: 100%; height: 100%; object-position: center 50%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.55) 100%);
}
.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 85px; z-index: 1;
  background: linear-gradient(to bottom, transparent 0%, var(--cream) 100%);
}
.hero .container {
  position: relative; z-index: 3;
  text-align: center;
}
.hero-title {
  color: var(--white); font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: .2em;
  text-shadow: 0 2px 32px rgba(0,0,0,.5);
  white-space: nowrap; line-height: 1;
}

/* ===== AKTIVNOSTI ===== */
.activity {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 5rem; align-items: center; margin-bottom: 6rem;
}
.activity:last-child { margin-bottom: 0; }
.activity-reverse { grid-template-columns: .9fr 1.1fr; }
.activity-reverse .activity-img { order: -1; }
.activity-text h3 {
  font-size: 1.7rem; color: var(--text);
  margin-bottom: 1.25rem; line-height: 1.2;
}
.activity-text p {
  font-size: .96rem; color: var(--muted);
  line-height: 1.8; margin-bottom: .9rem;
}
.activity-text p:last-child { margin-bottom: 0; }
.activity-img {
  display: flex; align-items: center;
}
.activity-img img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}

/* ===== SMEŠTAJ — CAROUSEL ===== */
/* ── Carousel — native scroll-snap ── */
.carousel-wrap {
  position: relative;
  padding-bottom: 2.5rem;
  /* soft fade at edges creates "peek" effect */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: .5rem 20% 1rem;
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 60%;
  min-width: 0;
  scroll-snap-align: center;
  transition: transform .4s ease, opacity .4s ease, filter .4s ease;
  will-change: transform, opacity;
}
.carousel-slide picture,
.carousel-slide img {
  display: block; width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
  object-fit: cover;
}
.carousel-slide:not(.active) {
  opacity: .5; filter: blur(1.5px); transform: scale(.94);
}
.carousel-slide.active {
  opacity: 1; filter: none; transform: scale(1);
}

.carousel-dots {
  display: flex; justify-content: center; gap: .55rem; margin-top: 1.1rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: var(--muted);
  cursor: pointer; transition: all .25s; padding: 0;
}
.dot.active {
  background: var(--dark); width: 22px; border-radius: 4px;
}

/* ── Mobile carousel adjustments ── */
@media (max-width: 860px) {
  .carousel-wrap {
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right,
      transparent 0%, #000 5%, #000 95%, transparent 100%);
  }
  .carousel-track {
    gap: .9rem;
    padding: .5rem 8% 1rem;
  }
  .carousel-slide { flex: 0 0 78%; }
}
@media (max-width: 480px) {
  .carousel-track { padding: .5rem 5% 1rem; gap: .7rem; }
  .carousel-slide { flex: 0 0 86%; }
  .carousel-slide:not(.active) { filter: blur(.5px); }
}

/* ===== PLAN I PROGRAM — TIMELINE ===== */
.timeline {
  position: relative; margin-top: 1rem;
}
.timeline-axis {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1.5px; background: rgba(255,255,255,.18);
  transform: translateX(-50%);
}
.timeline-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  column-gap: 3rem; align-items: start; margin-bottom: 5rem;
  position: relative;
}
.timeline-row:last-child { margin-bottom: 0; }

.tl-dot {
  width: 13px; height: 13px; background: var(--white);
  border-radius: 50%; margin-top: 1.5rem; flex-shrink: 0;
  position: relative; z-index: 1;
}

/* Left layout: content | dot | images */
.tl-left .tl-content { grid-column: 1; text-align: right; padding-right: 1rem; }
.tl-left .tl-dot     { grid-column: 2; }
.tl-left .tl-images  { grid-column: 3; padding-left: 1rem; }

/* Right layout: images | dot | content */
.tl-right .tl-images  { grid-column: 1; padding-right: 1rem; }
.tl-right .tl-dot     { grid-column: 2; }
.tl-right .tl-content { grid-column: 3; text-align: left; padding-left: 1rem; }

.tl-content h3 {
  color: var(--white); font-size: 1.35rem;
  margin-bottom: 1rem;
}
.tl-date {
  font-size: .8rem; font-weight: 400;
  color: var(--mint); letter-spacing: .03em;
  opacity: .9; white-space: nowrap;
}
.tl-content p {
  color: rgba(255,255,255,.82); font-size: .93rem;
  line-height: 1.75; margin-bottom: .7rem;
}
.tl-content p:last-child { margin-bottom: 0; }
.tl-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.88;
}
.tl-images picture {
  position: absolute;
  display: block;
  transition: z-index 0s, box-shadow .2s;
  cursor: pointer;
}
.tl-images picture:first-child {
  top: 0; left: 0;
  width: 76%;
  z-index: 1;
}
.tl-images picture:last-child {
  bottom: 0; right: 0;
  width: 58%;
  z-index: 2;
}
.tl-images picture img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(0,0,0,.5);
  display: block;
  transition: box-shadow .2s, transform .2s;
}
.tl-images picture:hover img {
  box-shadow: 0 12px 48px rgba(0,0,0,.7);
  transform: scale(1.02);
}
.tl-images picture.tl-front {
  z-index: 10 !important;
}
.tl-images picture.tl-front img {
  box-shadow: 0 16px 56px rgba(0,0,0,.75);
}

/* ===== CENE I USLOVI ===== */
.pricing-sub {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
}
.pricing-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-bottom: 1.5rem; align-items: start;
}
.pricing-card {
  border-radius: 20px; padding: 2.25rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  display: flex; flex-direction: column; gap: 0;
}
.card-mint { background: var(--mint); }
.card-dark { background: var(--dark); }
.card-badge {
  font-size: .82rem; font-weight: 500; margin-bottom: .9rem;
  display: block; text-align: center;
}
.card-mint .card-badge { color: var(--text); }
.card-dark .card-badge { color: rgba(255,255,255,.65); }
.card-price {
  font-size: 3rem; line-height: 1;
  margin-bottom: 1.6rem; text-align: center;
}
.card-per {
  font-size: .9rem; font-weight: 400; opacity: .6;
  font-family: 'Archivo', sans-serif;
}
.card-mint .card-price { color: var(--dark); }
.card-dark .card-price { color: var(--white); }
.card-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.1rem; }
.card-list li {
  display: flex; align-items: center; gap: .75rem;
  font-size: .92rem; font-family: 'Archivo', sans-serif;
}
.card-mint .card-list li { color: var(--text); }
.card-dark .card-list li { color: rgba(255,255,255,.88); }
.card-divider { height: 1px; margin: 1.1rem 0; }
.card-mint .card-divider { background: rgba(0,0,0,.12); }
.card-dark .card-divider { background: rgba(255,255,255,.15); }
.card-act { margin-bottom: 1.75rem; }

/* Pricing icons — line SVG */
.ci {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
}
.card-mint .ci { color: var(--dark); }
.card-dark .ci { color: rgba(255,255,255,.9); }
.ci svg { width: 18px; height: 18px; }

/* Exclusions box */
.exclusions {
  background: var(--mint); border-radius: var(--radius);
  padding: 1.75rem 2rem; display: flex; gap: 1.25rem; align-items: flex-start;
}
.excl-icon { color: var(--dark); flex-shrink: 0; margin-top: .1rem; }
.exclusions strong {
  display: block; margin-bottom: .6rem;
  font-size: 1rem; color: var(--text);
  font-family: 'Archivo Black', sans-serif; font-weight: 400;
}
.exclusions ul { display: flex; flex-direction: column; gap: .35rem; list-style: disc; padding-left: 1.1rem; }
.exclusions li { font-size: .92rem; color: var(--text); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); }
.footer-top {
  max-width: var(--max); margin: 0 auto; padding: 4.5rem 2rem 3.5rem;
  display: flex; gap: 4rem; align-items: flex-start;
}
.footer-brand { flex-shrink: 0; }
.footer-logos {
  display: flex; align-items: center; gap: 1rem;
}
.footer-x {
  color: rgba(255,255,255,.45); font-size: 1.4rem; font-family: 'Archivo', sans-serif;
  line-height: 1; user-select: none;
}
.footer-jadranje {
  height: 40px; width: auto; object-fit: contain; filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-cols { display: flex; gap: 4rem; flex: 1; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col h4 {
  color: var(--white); font-size: .78rem; font-family: 'Archivo Black', sans-serif;
  letter-spacing: .12em; margin-bottom: .5rem;
}
.footer-col p, .footer-col a {
  color: rgba(255,255,255,.65); font-size: .88rem;
}
.footer-col a:hover { color: var(--white); }
.footer-col-info { max-width: 260px; }
.footer-info-text { color: rgba(255,255,255,.5); font-size: .82rem; line-height: 1.65; }
.ficon {
  margin-right: .6rem; display: inline-flex; align-items: center;
  color: rgba(255,255,255,.45); vertical-align: middle;
}

.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 1.4rem 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.4);
}
.social-links { display: flex; gap: .6rem; align-items: center; }
.footer-mensch {
  font-size: .75rem; color: rgba(255,255,255,.3); text-decoration: none;
  transition: color .2s; white-space: nowrap;
}
.footer-mensch:hover { color: rgba(255,255,255,.7); }
.footer-mensch strong { font-weight: 700; }
.social-link {
  color: rgba(255,255,255,.4); transition: color .2s;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
}
.social-link:hover { color: var(--white); border-color: rgba(255,255,255,.4); }

/* ===== RESPONSIVE ===== */

@media (max-width: 860px) {
  .activity { grid-template-columns: 1fr; gap: 2rem; }
  .activity-reverse .activity-img { order: 1; }

  .timeline-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline-axis { left: 1.2rem; }
  .tl-dot {
    position: absolute; left: 1.2rem; top: 0;
    transform: translateX(-50%);
  }
  .tl-left .tl-content,
  .tl-right .tl-content {
    grid-column: 1; text-align: left;
    padding: 0 0 0 3rem; order: 1;
  }
  .tl-left .tl-dot,
  .tl-right .tl-dot { grid-column: 1; order: 0; }
  .tl-left .tl-images,
  .tl-right .tl-images { grid-column: 1; padding: 0 0 0 3rem; order: 2; }

  .pricing-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-cols { flex-direction: column; gap: 2rem; }
  .footer-col-info { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 1.8rem; letter-spacing: .12em; white-space: normal; text-align: center; padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  .section-sub { margin-bottom: 2.5rem; }
  .activity { margin-bottom: 3.5rem; }
  .btn-white { display: none; }
}

/* ===== MOBILE BOTTOM NAV ===== */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(20, 29, 24, 0.96);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,.09);
  padding: .65rem 1.25rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.bnav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; flex: 1;
  color: rgba(255,255,255,.55);
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-size: .6rem; letter-spacing: .11em; text-transform: uppercase;
  background: none; border: none; cursor: pointer;
  padding: .4rem .5rem; border-radius: 10px;
  transition: color .2s, background .2s;
  text-decoration: none;
}
.bnav-item:active { color: #fff; background: rgba(255,255,255,.07); }

.bnav-cta {
  flex: 1.6;
  flex-direction: row; gap: .45rem;
  background: var(--mint);
  color: var(--dark);
  border-radius: 14px;
  padding: .7rem 1.2rem;
  font-size: .72rem; letter-spacing: .08em;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(183, 233, 211, .35);
}
.bnav-cta:active { opacity: .85; transform: scale(.97); }
.bnav-cta span { font-family: 'Archivo Black', 'Archivo', sans-serif; }

@media (max-width: 1024px) {
  /* Sakrij desktop nav i phone dugme */
  .nav { display: none; }
  .btn-outline-white { display: none; }

  /* Prikaži bottom nav */
  .bottom-nav { display: flex; }

  /* Centrovani logo, sakriveni CTA i burger */
  .header { padding: .9rem 1.5rem; }
  .header-inner { justify-content: center; }
  .header-cta { display: none; }
  .mobile-nav { display: none !important; }

  /* Pad body so content isn't hidden under bottom nav */
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== MODAL REZERVACIJA ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(28, 38, 32, .6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal-overlay.open {
  opacity: 1; visibility: visible;
}
.modal-box {
  background: #fff; border-radius: 16px;
  width: 100%; max-width: 500px;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute; top: 1.1rem; right: 1.2rem;
  background: none; border: none; font-size: 1.6rem; line-height: 1;
  color: #aaa; cursor: pointer; padding: .2rem .4rem;
  border-radius: 6px; transition: color .2s, background .2s;
}
.modal-close:hover { color: var(--dark); background: var(--cream); }
.modal-title {
  font-family: 'Archivo Black', sans-serif; font-size: 1.5rem;
  color: var(--dark); margin-bottom: .35rem;
}
.modal-sub { font-size: .9rem; color: #888; margin-bottom: 1.8rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; color: var(--dark); margin-bottom: .45rem;
}
.form-group .req { color: #c0392b; }
.form-group select,
.form-group input,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid #d8d4cc; border-radius: 8px;
  font-family: 'Archivo', sans-serif; font-size: .95rem;
  color: var(--dark); background: #fff;
  outline: none; transition: border-color .2s;
  resize: vertical;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus { border-color: var(--dark); }
.form-group select.invalid,
.form-group input.invalid,
.form-group textarea.invalid { border-color: #c0392b; }
.form-group select { cursor: pointer; 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='%231C2620' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; }

.form-msg {
  border-radius: 8px; padding: .75rem 1rem;
  font-size: .88rem; margin-bottom: .8rem; display: none;
}
.form-msg.error   { display: block; background: #fde8e8; color: #c0392b; }
.form-msg.success { display: block; background: #e8f8ef; color: #1a6e3a; }

.btn-submit {
  width: 100%; padding: .95rem;
  background: var(--dark); color: #fff;
  border: none; border-radius: 10px;
  font-family: 'Archivo Black', sans-serif;
  font-size: .95rem; letter-spacing: .04em;
  cursor: pointer; transition: opacity .2s;
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  margin-top: .4rem;
}
.btn-submit:hover:not(:disabled) { opacity: .85; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.btn-spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  display: none; animation: spin .7s linear infinite;
}
.btn-submit.loading .btn-spinner { display: block; }
.btn-submit.loading .btn-label   { opacity: .7; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 500px) {
  .modal-box { padding: 2rem 1.4rem 1.5rem; }
  .modal-title { font-size: 1.25rem; }
}

/* ─── Footer policy links ─────────────────────────────── */
.footer-policy-link {
  display: inline-block;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  text-decoration: none;
  margin-top: .4rem;
  transition: color .2s;
}
.footer-policy-link:hover { color: #fff; }
.footer-policy-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; text-align: left;
}

/* ─── Cookie Banner ───────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(18,24,20,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 1.5rem;
  padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  animation: slideUpCookie .35s ease;
}
.cookie-banner[hidden] { display: none; }

@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 220px; }
.cookie-banner-text strong {
  display: block; color: #fff; font-size: .95rem; margin-bottom: .3rem;
}
.cookie-banner-text p {
  color: rgba(255,255,255,.6); font-size: .82rem; margin: 0; line-height: 1.5;
}
.cookie-banner-text a { color: var(--mint); text-decoration: underline; }

.cookie-banner-actions {
  display: flex; gap: .7rem; flex-wrap: wrap; flex-shrink: 0;
}
.cookie-btn {
  padding: .55rem 1.2rem; border-radius: 6px; font-size: .82rem;
  font-weight: 600; cursor: pointer; border: none; transition: opacity .2s;
  white-space: nowrap;
}
.cookie-btn:hover { opacity: .85; }
.cookie-btn-primary { background: var(--mint); color: #fff; }
.cookie-btn-outline {
  background: transparent; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
}
.cookie-btn-outline:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* Cookie Settings Panel */
.cookie-settings-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.cookie-settings-overlay[hidden] { display: none; }
.cookie-settings-box {
  background: #fff; border-radius: 14px;
  padding: 2rem; max-width: 540px; width: 100%;
  position: relative; max-height: 90vh; overflow-y: auto;
}
.cookie-settings-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.1rem;
  cursor: pointer; color: #666; padding: .3rem;
}
.cookie-settings-box h3 {
  color: var(--dark); font-size: 1.25rem; margin: 0 0 .5rem;
}
.cookie-settings-intro { color: #555; font-size: .88rem; margin: 0 0 1.5rem; }

.cookie-category {
  border: 1px solid #e8e8e8; border-radius: 8px;
  padding: 1rem; margin-bottom: .8rem;
}
.cookie-cat-header {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.cookie-cat-name { font-weight: 700; color: var(--dark); font-size: .9rem; }
.cookie-cat-badge.always-on {
  background: #e8f5e9; color: #2e7d32;
  font-size: .72rem; font-weight: 600; padding: .2rem .6rem;
  border-radius: 20px;
}
.cookie-cat-desc { color: #666; font-size: .8rem; margin: .6rem 0 0; line-height: 1.5; }

/* Toggle switch */
.cookie-toggle { position: relative; display: inline-block; width: 42px; height: 24px; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute; inset: 0; background: #ccc;
  border-radius: 24px; cursor: pointer; transition: .25s;
}
.cookie-slider:before {
  content: ''; position: absolute;
  width: 18px; height: 18px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: .25s;
}
.cookie-toggle input:checked + .cookie-slider { background: var(--mint); }
.cookie-toggle input:checked + .cookie-slider:before { transform: translateX(18px); }

.cookie-settings-footer {
  margin-top: 1.5rem; display: flex; justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
