/* =====================================================================
   FITNESS PLANETS - main stylesheet
   Sections: 1 Variables | 2 Base | 3 Buttons | 4 Header & drawer | 5 Hero
   6 Sections shared | 7 About | 8 Services | 9 Why | 10 Packages | 11 FAQ
   12 Contact | 13 Footer | 14 Modal | 15 Animations helpers | 16 Responsive
   ===================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --orange: #f48916;
  --orange-hover: #ff9f3a;
  --bg: #080808;
  --bg-2: #111111;
  --bg-card: #171717;
  --bg-alt: #0d0d0d;
  --text: #ffffff;
  --text-2: #b8b8b8;
  --border: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --radius-btn: 10px;
  --header-h: 76px;
  --font-head: "Orbitron", sans-serif;
  --font-body: "Roboto", sans-serif;
}

/* ---------- 2. Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.2;
}

.accent {
  color: var(--orange);
}

.container-wide {
  max-width: 1400px;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 3000;
  background: var(--orange);
  color: #111;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
}

/* Fallback when a remote image fails (see data-fallback in script.js) */
.img-failed {
  background: linear-gradient(135deg, #1b1b1b, #0c0c0c);
}

.img-failed::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background: url("../assets/images/logo.png") center / 40% auto no-repeat;
}

/* ---------- 3. Buttons ---------- */
.btn-fp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.6rem;
  min-height: 48px;
  background: var(--orange);
  color: #111;
  border: 2px solid var(--orange);
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s, border-color .25s, box-shadow .25s;
}

.btn-fp i {
  transition: transform .25s;
  font-size: 1.05em;
}

.btn-fp:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(244, 137, 22, .28);
}

.btn-fp:hover i.bi-arrow-right,
.btn-fp:hover i.bi-arrow-up {
  transform: translateX(4px);
}

.btn-fp-sm {
  padding: .65rem 1.2rem;
  min-height: 42px;
  font-size: .74rem;
}

.btn-fp-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.btn-fp-outline:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
  box-shadow: none;
}

.btn-fp-dark {
  background: #0b0b0b;
  border-color: #0b0b0b;
  color: #fff;
}

.btn-fp-dark:hover {
  background: #000;
  border-color: #000;
  color: var(--orange);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.btn-fp-dark-outline {
  background: transparent;
  border-color: #0b0b0b;
  color: #0b0b0b;
}

.btn-fp-dark-outline:hover {
  background: #0b0b0b;
  border-color: #0b0b0b;
  color: #fff;
  box-shadow: none;
}

/* ---------- 4. Header, nav, drawer ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(8, 8, 8, .75), rgba(8, 8, 8, 0));
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, .92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  max-width: 200px;
  width: auto;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.main-nav {
  gap: 1.6rem;
}

.nav-list {
  gap: 1.8rem;
}

.nav-link-fp {
  position: relative;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  padding: .4rem 0;
  transition: color .25s;
}

.nav-link-fp::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width .25s;
}

.nav-link-fp:hover,
.nav-link-fp.active {
  color: var(--orange);
}

.nav-link-fp:hover::after,
.nav-link-fp.active::after {
  width: 100%;
}

.menu-toggle,
.drawer-close {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: border-color .25s, color .25s;
}

.menu-toggle:hover,
.drawer-close:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.drawer-close {
  font-size: 1.1rem;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  z-index: 2000;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s ease, visibility .35s;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-links {
  margin: 0;
  padding: 0;
}

.drawer-links li+li {
  border-top: 1px solid var(--border);
}

.drawer-links .nav-link-fp {
  display: block;
  padding: 1rem 0;
  font-size: .9rem;
}

.drawer-links .nav-link-fp::after {
  display: none;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  background: var(--bg);
}

.hero-swiper {
  width: 100%;
  height: clamp(560px, 100vh, 900px);
}

.hero-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0b0b0b;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0s;
}

.swiper-slide-active .hero-bg {
  transform: scale(1.12);
  transition: transform 7s ease-out;
}

/* slow zoom-in */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, .88) 0%, rgba(8, 8, 8, .6) 55%, rgba(8, 8, 8, .35) 100%),
    linear-gradient(to top, rgba(8, 8, 8, .7), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  padding-bottom: 4.5rem;
}

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before,
.section-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--orange);
}

.hero-title {
  margin: 1rem 0 1.1rem;
  max-width: 14ch;
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(2.2rem, 6.2vw, 5rem);
  letter-spacing: .01em;
}

.hero-text {
  max-width: 560px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(8, 8, 8, .55);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}

.hero-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #111;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-pagination {
  width: 99% !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px !important;
  z-index: 5;
  display: flex;
  justify-content: end;
  gap: 10px;
}

.hero-pagination .swiper-pagination-bullet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, .65);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  opacity: 1;
  margin: 0 !important;
  cursor: pointer;
  transition: color .25s;
}

.hero-pagination-indicator {
  display: block;
  width: 34px;
  height: 4px;
  background: rgba(255, 255, 255, .4);
  transition: background .25s, width .25s;
}

.hero-pagination .swiper-pagination-bullet-active {
  color: var(--orange);
}

.hero-pagination .swiper-pagination-bullet-active .hero-pagination-indicator {
  background: var(--orange);
  width: 54px;
}

/* ---------- 6. Shared section styles ---------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  margin: 1rem 0 1.25rem;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  letter-spacing: .01em;
}

.section-sub {
  font-size: 1.1rem;
}

.lead-text {
  color: #e4e4e4;
  font-size: 1.1rem;
}

/* Split-text characters (created by script.js) */
.split-char {
  display: inline-block;
  will-change: transform, opacity;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
}

/* ---------- 7. About ---------- */
.about-figure {
  position: relative;
  padding: 0 22px 22px 0;
}

.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 4.4;
  background: #111;
}

.img-frame.tall {
  aspect-ratio: 4 / 5.2;
}

.about-figure::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80%;
  height: 80%;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  z-index: 0;
}

.about-figure .img-frame,
.about-figure .about-badge {
  position: relative;
  z-index: 1;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.img-frame:hover img {
  transform: scale(1.06);
}

.about-badge {
  position: absolute !important;
  left: -12px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.2rem;
  background: var(--orange);
  color: #111;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}

.badge-icon {
  width: 34px;
  height: 34px;
  flex: none;
}

.feature-list {
  margin: 1.8rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.feature-list i {
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1.3;
}

.feature-list strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: .9rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.feature-list span {
  font-size: .95rem;
}

/* ---------- 8. Services ---------- */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform .3s, border-color .3s, box-shadow .3s, background .3s;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #fff;
  font-size: 1.7rem;
  transition: color .3s, border-color .3s;
}

.service-icon svg {
  width: 34px;
  height: 34px;
}

.service-card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: .7rem;
  letter-spacing: .03em;
}

.service-card p {
  flex: 1;
  font-size: .96rem;
  margin-bottom: 1.4rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  transition: color .3s;
}

.service-link i {
  transition: transform .3s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  background: #1b1b1b;
  box-shadow: 0 16px 40px rgba(244, 137, 22, .12);
}

.service-card:hover .service-icon {
  color: var(--orange);
  border-color: var(--orange);
}

.service-card:hover .service-link {
  color: var(--orange);
}

.service-card:hover .service-link i {
  transform: translateX(6px);
}

/* ---------- 9. Why choose us ---------- */
.benefit {
  height: 100%;
  padding: 1.3rem 1.3rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .3s, transform .3s;
}

.benefit:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.benefit i {
  font-size: 1.6rem;
  color: var(--orange);
}

.benefit h3 {
  font-size: .88rem;
  text-transform: uppercase;
  margin: .7rem 0 .4rem;
  letter-spacing: .03em;
}

.benefit p {
  font-size: .92rem;
  margin: 0;
}

/* ---------- 10. Packages ---------- */
.package-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.7rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 137, 22, .7);
}

.package-card.is-featured {
  border: 2px solid var(--orange);
  box-shadow: 0 0 0 1px rgba(244, 137, 22, .2), 0 18px 50px rgba(244, 137, 22, .14);
  background: #1a1713;
}

.package-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #111;
  padding: .3rem .9rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.package-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: 1.2rem;
}

.package-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--orange);
}

.package-tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: .25rem .6rem;
  border-radius: 999px;
  text-align: right;
}

.package-name {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.package-desc {
  font-size: .93rem;
  min-height: 4.2em;
}

.package-price {
  margin: .8rem 0 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
}

.package-price .price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
}

.package-price small {
  color: var(--text-2);
}

.package-features {
  flex: 1;
  margin-bottom: 1.5rem;
  display: grid;
  gap: .65rem;
  align-content: start;
}

.package-features li {
  display: flex;
  gap: .6rem;
  font-size: .92rem;
}

.package-features i {
  color: var(--orange);
  flex: none;
  margin-top: 2px;
}

.packages-note {
  margin: 2rem 0 0;
  font-size: .9rem;
}

/* ---------- 11. FAQ ---------- */
.faq-accordion {
  --bs-accordion-bg: transparent;
  display: grid;
  gap: .9rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: border-color .3s;
}

.faq-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--orange) !important;
}

.faq-item .accordion-header {
  margin: 0;
  font-size: 1rem;
}

.faq-item .accordion-button {
  background: transparent;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
  padding: 1.15rem 1.3rem;
  box-shadow: none;
  gap: 1rem;
  line-height: 1.4;
}

.faq-item .accordion-button:not(.collapsed) {
  color: var(--orange);
  background: transparent;
}

.faq-item .accordion-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}

/* Replace Bootstrap's chevron with plus / minus */
.faq-item .accordion-button::after {
  content: "\F4FE";
  font-family: "bootstrap-icons";
  background-image: none !important;
  width: auto;
  height: auto;
  font-size: 1.3rem;
  color: var(--orange);
  transform: none !important;
  flex: none;
}

.faq-item .accordion-button:not(.collapsed)::after {
  content: "\F2EA";
}

.faq-item .accordion-body {
  padding: 0 1.3rem 1.3rem;
  color: var(--text-2);
}

/* ---------- 12. Contact ---------- */
.contact-section {
  background: var(--orange);
  color: #1a1a1a;
}

.contact-section .section-title,
.contact-section h3 {
  color: #0b0b0b;
}

.section-eyebrow.on-orange {
  color: #0b0b0b;
}

.section-eyebrow.on-orange::before {
  background: #0b0b0b;
}

.contact-lead {
  font-size: 1.12rem;
  color: #1f1f1f;
  max-width: 520px;
}

.contact-list {
  margin: 1.8rem 0 2rem;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #0b0b0b;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex: none;
}

.contact-list small {
  display: block;
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #2a2a2a;
}

.contact-list a {
  font-weight: 700;
  font-size: 1.15rem;
  color: #0b0b0b;
  word-break: break-word;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-panel {
  background: #0b0b0b;
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
}

.contact-section .contact-panel h3,
.form-title {
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.form-hint {
  display: none;
}

.contact-panel .form-label {
  color: #e6e6e6;
  font-size: .85rem;
  font-weight: 500;
}

.contact-panel .form-control,
.contact-panel .form-select {
  background-color: #151515;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .8rem 1rem;
  min-height: 48px;
}

.contact-panel .form-control::placeholder {
  color: #777;
}

.contact-panel .form-control:focus,
.contact-panel .form-select:focus {
  background-color: #151515;
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 .2rem rgba(244, 137, 22, .25);
}

.contact-panel .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f48916' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.contact-panel .form-select option {
  background: #151515;
  color: #fff;
}

.contact-panel .form-control.is-invalid,
.login-modal .form-control.is-invalid {
  border-color: #ff6b6b;
  background-image: none;
  padding-right: 1rem;
}

.contact-panel .form-control.is-valid,
.login-modal .form-control.is-valid {
  border-color: #35c27a;
  background-image: none;
  padding-right: 1rem;
}

.invalid-feedback {
  color: #ff8f8f;
  font-size: .83rem;
}

.form-success {
  display: flex;
  gap: .9rem;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #35c27a;
  background: rgba(53, 194, 122, .1);
  color: #d9f7e8;
}

.form-success[hidden] {
  display: none;
}

.form-success i {
  font-size: 1.5rem;
  color: #35c27a;
}

.form-success strong {
  display: block;
  color: #fff;
}

.dev-note {
  display: block;
  font-size: .85rem;
  margin-top: .25rem;
  color: #b9d9c8;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-top {
  padding-bottom: 3rem;
}

.footer-about {
  max-width: 340px;
  font-size: .95rem;
}

.social {
  display: flex;
  gap: .7rem;
  margin-top: 1.2rem;
}

.social a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .25s;
}

.social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #111;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .8rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--orange);
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.footer-links a,
.footer-contact a {
  transition: color .25s, padding-left .25s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--orange);
}

.footer-links a:hover {
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  word-break: break-word;
}

.footer-contact i {
  color: var(--orange);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0;
  font-size: .9rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: .6rem 1.1rem;
  min-height: 44px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all .25s;
}

.back-to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #111;
}

/* ---------- 14. Login modal ---------- */
.login-modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text-2);
}

.login-modal .modal-header {
  border-bottom: 1px solid var(--border);
}

.login-modal .modal-title {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.login-modal .form-label {
  color: #e6e6e6;
  font-size: .85rem;
}

.login-modal .form-control {
  background: #151515;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 48px;
}

.login-modal .form-control:focus {
  background: #151515;
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 .2rem rgba(244, 137, 22, .25);
}

.login-note {
  margin: 1rem 0 0;
  font-size: .9rem;
}

.login-note[hidden] {
  display: none;
}

.login-note a {
  color: var(--orange);
  text-decoration: underline;
}

/* ------------------------Resources Images------------ */

.resource-grid.row {
  display: grid !important;
  /* Four tracks preserve the original large-image mosaic. */
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: 250px 250px;
  gap: 13px;
}

.resource-grid.row>.resource-large {
  grid-column: span 2;
  grid-row: span 2;
}

.resource-grid.row>.resource-tile {
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.resource-tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: white;
}

.resource-tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: white;
}

.resource-large {
  grid-row: span 2;
  padding: 0;
}

.resource-large:after,
.resource-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #080517df, transparent 75%);
}

.resource-tile>img {
  transition: transform 0.7s;
  filter: saturate(0.76);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-tile:hover>img {
  transform: scale(1.06);
}

.resource-large>div {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: white;
  padding: 15px;
}

.resource-large>div>span,
.resource-index {
  font-size: 14px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.resource-large h3 {
  font: 600 25px/1.12 var(--text);
  margin: 8px 0;
}

.resource-large a,
.resource-info a,
.resource-mini a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.resource-photo {
  padding: 0;
}

.resource-photo>div {
  position: absolute;
  z-index: 2;
  bottom: 13px;
  left: 16px;
  color: white;
  padding: 15px;
}

.resource-photo span {
  font-size: 8px;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.resource-photo h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 5px 0;
}

.resource-info {
  padding: 20px 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-info h3,
.resource-mini h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-2);
  margin: 12px 0;
}

.resource-info p,
.resource-mini p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 13px;
}

.resource-info a,
.resource-mini a {
  color: var(--bg-2);
  margin-top: auto;
}

.light-card {
  background: var(--bg-2);
  color: #d6d3de;
}

.light-card h3 {
  color: white;
}

.light-card .resource-index,
.light-card a {
  color: var(--orange);
}

.resource-mini {
  background: var(--orange);
  padding: 17px 20px;
}

.resource-mini .resource-icon {
  font-size: 21px;
  color: var(--bg-2);
}

.resource-mini h3 {
  margin: 3px 0;
}

.resource-mini p {
  color: #47301a;
  margin: 0 0 5px;
}

.resource-mini a {
  color: var(--bg-2);
}

.location-note {
  text-align: center;
  font-size: 9px;
  margin: 19px auto 0;
}

@media (max-width: 950px) {
  .resource-grid.row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: 220px 180px 180px;
  }

  .resource-grid.row>.resource-large {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .resource-grid.row {
    grid-template-columns: 1fr !important;
    grid-template-rows: none;
    padding-left: 15px;
    padding-right: 15px;
  }

  .resource-grid.row>.resource-large {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}


/* -----------------------About Page---------------- */
.inner-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 4.5rem;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    color: #c1c9b7;
    font-size: 13px;
    margin: 25px 0 0;
}

.img-frame.medium{
      aspect-ratio: 4 / 4.5;
}


/* ---------- 15. Animation helpers ---------- */
/* Content starts hidden only when JS + motion are available (class set by script.js) */
.js-anim .reveal,
.js-anim .hero-anim {
  opacity: 0;
}

.js-anim .service-card,
.js-anim .package-card,
.js-anim .benefit {
  opacity: 0;
}

.js-anim .reveal-img .img-frame {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .swiper-slide-active .hero-bg {
    transform: none;
  }
}

/* ---------- 16. Responsive ---------- */
@media (min-width: 1400px) {
  .hero-swiper {
    height: clamp(640px, 92vh, 920px);
  }
}

@media (max-width: 991.98px) {
  .hero-swiper {
    height: clamp(560px, 88vh, 760px);
  }

  .hero-arrow {
    display: none;
  }

  .about-figure {
    max-width: 560px;
    margin-inline: auto;
  }

  .img-frame.tall {
    aspect-ratio: 4 / 4;
    max-height: 520px;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    max-width: 170px;
    height: auto;
    max-height: 44px;
  }

  .hero-swiper {
    height: clamp(540px, 86vh, 680px);
  }

  .hero-content {
    padding-bottom: 5rem;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-actions .btn-fp {
    flex: 1 1 100%;
  }

  .hero-pagination {
    bottom: 20px;
  }

  .hero-pagination-indicator {
    width: 24px;
  }

  .hero-pagination .swiper-pagination-bullet-active .hero-pagination-indicator {
    width: 40px;
  }

  .package-desc {
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .about-figure {
    padding: 0 14px 14px 0;
  }

  .about-badge {
    left: 8px;
    bottom: 30px;
    padding: .7rem .9rem;
  }

  .service-card,
  .package-card {
    padding: 1.6rem 1.3rem;
  }

  .footer-bottom {
    justify-content: center !important;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .brand img {
    max-width: 140px;
    height: auto;
    max-height: 38px;
  }

  .btn-fp {
    padding: .85rem 1.1rem;
    font-size: .74rem;
  }

  .contact-list a {
    font-size: 1rem;
  }
}