/* =========================================================
   Site footer — complete redesign
   ========================================================= */

.site-footer {
  --sf-bg: #15131c;
  --sf-ink: #f7f3ec;
  --sf-muted: rgba(247, 243, 236, 0.62);
  --sf-line: rgba(247, 243, 236, 0.12);
  --sf-accent: #e8a598;
  --sf-violet: #8b83ff;
  --sf-wa: #25d366;

  position: relative;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  color: var(--sf-ink);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(232, 165, 152, 0.14), transparent 55%),
    radial-gradient(70% 60% at 100% 20%, rgba(139, 131, 255, 0.16), transparent 50%),
    linear-gradient(180deg, #1c1824 0%, var(--sf-bg) 55%, #100e16 100%);
}

.site-footer__glow {
  position: absolute;
  inset: auto -10% -30% 40%;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(232, 165, 152, 0.12), transparent 70%);
  pointer-events: none;
}

.site-footer__shell {
  position: relative;
  z-index: 1;
}

.site-footer__panel {
  position: relative;
  z-index: 1;
}

.site-footer__actions {
  display: none;
}

.site-footer__btn--call,
.site-footer__btn--book {
  display: none;
}

.site-footer__top {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--sf-line);
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1.15fr 0.95fr;
    align-items: end;
  }
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

.site-footer__logo img {
  display: block;
  height: 48px;
  width: auto;
}

.site-footer__tagline {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.site-footer__about {
  margin: 0;
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--sf-muted);
}

.site-footer__about strong {
  color: #fff;
  font-weight: 700;
}

.site-footer__cta-block {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sf-line);
  backdrop-filter: blur(8px);
}

.site-footer__cta-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sf-accent);
}

.site-footer__cta-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.site-footer__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.site-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.site-footer__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.site-footer__btn--primary {
  background: linear-gradient(135deg, #f0b7ab, #e85d4c);
  color: #1a1010;
}

.site-footer__btn--wa {
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #9af0bf;
}

.site-footer__btn--call {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--sf-line);
  color: #fff;
}

.site-footer__btn--book {
  background: rgba(139, 131, 255, 0.18);
  border: 1px solid rgba(139, 131, 255, 0.4);
  color: #d7d3ff;
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(2rem, 4.5vw, 3rem) 0;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 0.9fr 0.9fr 1.15fr 1.2fr;
  }
}

.site-footer__heading {
  margin: 0 0 0.9rem;
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.9);
}

.site-footer__links,
.site-footer__contact,
.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li + li,
.site-footer__contact li + li {
  margin-top: 0.55rem;
}

.site-footer__links a,
.site-footer__contact a {
  color: var(--sf-muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: #fff;
}

.site-footer__place {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(247, 243, 236, 0.48);
  max-width: 28ch;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--sf-line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(247, 243, 236, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer__social a:hover {
  background: rgba(139, 131, 255, 0.22);
  border-color: rgba(139, 131, 255, 0.45);
  color: #fff;
}

.site-footer__news {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sf-line);
}

.site-footer__news-text {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--sf-muted);
}

.site-footer__news-row {
  display: flex;
  gap: 0.5rem;
}

.site-footer__news-input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--sf-line);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
}

.site-footer__news-input::placeholder {
  color: rgba(247, 243, 236, 0.4);
}

.site-footer__news-input:focus {
  outline: none;
  border-color: var(--sf-violet);
  box-shadow: 0 0 0 3px rgba(139, 131, 255, 0.25);
}

.site-footer__news-btn {
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, var(--sf-violet), #6c63ff);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.site-footer__news-btn:hover {
  filter: brightness(1.06);
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--sf-line);
  background: rgba(0, 0, 0, 0.22);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 1.1rem 0;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(247, 243, 236, 0.45);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-footer__legal a {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(247, 243, 236, 0.62);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: #fff;
}

/* =========================================================
   Mobile footer — boxed, action-first, no edge-hugging text
   ========================================================= */
@media (max-width: 767px) {
  .site-footer {
    margin-top: 1.75rem;
    padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0px));
    background: #100e16;
  }

  .site-footer__glow {
    display: none;
  }

  .site-footer__shell {
    padding-inline: 12px;
  }

  .site-footer__panel {
    border: 1px solid rgba(247, 243, 236, 0.12);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
      #1a1622;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    padding: 1rem 0.95rem 0.85rem;
  }

  .site-footer__top {
    gap: 0.85rem;
    padding: 0 0 0.9rem;
    border-bottom: 1px solid rgba(247, 243, 236, 0.1);
  }

  .site-footer__brand-block {
    text-align: center;
  }

  .site-footer__logo {
    margin: 0 auto 0.45rem;
  }

  .site-footer__logo img {
    height: 36px;
    margin-inline: auto;
  }

  .site-footer__tagline {
    font-size: 1.05rem;
    margin: 0 auto 0.35rem;
    max-width: 16ch;
  }

  .site-footer__about {
    display: none;
  }

  .site-footer__cta-block {
    padding: 0.9rem 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
  }

  .site-footer__cta-label {
    text-align: center;
    margin-bottom: 0.2rem;
    font-size: 0.66rem;
  }

  .site-footer__cta-title {
    text-align: center;
    margin: 0 0 0.75rem;
    font-size: 1.02rem;
    line-height: 1.25;
  }

  .site-footer__cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .site-footer__btn,
  .site-footer__btn--call,
  .site-footer__btn--book {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.55rem;
    font-size: 0.8rem;
    border-radius: 12px;
  }

  .site-footer__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    margin: 0.85rem 0 0.2rem;
  }

  .site-footer__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(247, 243, 236, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
  }

  .site-footer__action:nth-child(1) {
    background: rgba(108, 99, 255, 0.22);
    border-color: rgba(108, 99, 255, 0.35);
  }

  .site-footer__action:nth-child(2) {
    background: rgba(37, 211, 102, 0.16);
    border-color: rgba(37, 211, 102, 0.4);
    color: #9af0bf;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 0.75rem;
    padding: 0.9rem 0 0.75rem;
  }

  .site-footer__connect,
  .site-footer__news {
    grid-column: 1 / -1;
  }

  .site-footer__nav,
  .site-footer__connect,
  .site-footer__news {
    padding: 0.75rem 0.7rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(247, 243, 236, 0.08);
  }

  .site-footer__heading {
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
  }

  .site-footer__links li + li,
  .site-footer__contact li + li {
    margin-top: 0.35rem;
  }

  .site-footer__links a,
  .site-footer__contact a {
    font-size: 0.84rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .site-footer__contact a[href^="mailto"] {
    font-size: 0.78rem;
  }

  .site-footer__place {
    margin-top: 0.6rem;
    font-size: 0.76rem;
    max-width: none;
  }

  .site-footer__social {
    margin-top: 0.7rem;
    gap: 0.35rem;
  }

  .site-footer__social a {
    padding: 0.38rem 0.6rem;
    font-size: 0.72rem;
  }

  .site-footer__news {
    padding: 0.8rem 0.75rem 0.85rem;
  }

  .site-footer__news-text {
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
  }

  .site-footer__news-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
  }

  .site-footer__news-input,
  .site-footer__news-btn {
    min-height: 44px;
    font-size: 16px;
  }

  .site-footer__bottom {
    border-top: 1px solid rgba(247, 243, 236, 0.1);
    background: transparent;
    margin-top: 0.15rem;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 0.75rem 0.15rem 0.15rem;
  }

  .site-footer__copy {
    font-size: 0.72rem;
  }

  .site-footer__legal {
    justify-content: center;
    gap: 0.3rem 0.7rem;
  }

  .site-footer__legal a {
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .site-footer__shell {
    padding-inline: 10px;
  }

  .site-footer__panel {
    padding: 0.85rem 0.8rem 0.75rem;
    border-radius: 18px;
  }

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

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

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

  .site-footer__news-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__btn {
    transition: none;
  }
}

/* Hide legacy footer markup if any page still has it */
.footer:not(.site-footer) {
  display: none !important;
}
