/* ==========================================================================
   Fit By Arvin — Site Overrides
   Premium personal coaching brand layer on Gymfito template
   ========================================================================== */

:root {
  --fba-primary: #f67a45;
  --fba-primary-hover: #e56835;
  --fba-dark: #01010f;
  --fba-secondary: #d5bda2;
  --fba-surface: rgba(255, 255, 255, 0.04);
  --fba-border: rgba(255, 255, 255, 0.1);
  --fba-text-muted: rgba(255, 255, 255, 0.72);
  --fba-radius: 12px;
  --fba-radius-sm: 8px;
  --fba-radius-md: 12px;
  --fba-radius-lg: 16px;
  --fba-radius-pill: 999px;
  --fba-transition: 0.22s ease;
}

/* ==========================================================================
   Buttons — border-radius + premium interactions
   ========================================================================== */
.button-primary,
.button-primary.type_2,
.button-primary.style_2,
.button-primary.color2,
.button-primary.color3 {
  border-radius: var(--fba-radius-pill) !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.01em;
  background: var(--fba-primary) !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  box-shadow: 0 4px 16px rgba(246, 122, 69, 0.22);
  transition:
    background var(--fba-transition),
    transform var(--fba-transition),
    box-shadow var(--fba-transition),
    border-color var(--fba-transition),
    color var(--fba-transition) !important;
}

.button-primary:hover,
.button-primary.type_2:hover,
.button-primary.style_2:hover,
.button-primary.color3:hover {
  background: var(--fba-primary-hover) !important;
  background-position: center !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246, 122, 69, 0.32);
}

.button-primary.color2 {
  background: #fff !important;
  color: var(--fba-dark) !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.button-primary.color2:hover {
  background: var(--fba-secondary) !important;
  color: var(--fba-dark) !important;
}

.button-primary.color3 {
  background: rgba(213, 189, 162, 0.1) !important;
  border: 1px solid var(--fba-border) !important;
  box-shadow: none;
}

.button-primary .icon {
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

.button-primary:hover .icon,
.button-primary.color2:hover .icon {
  transform: translateX(4px) !important;
}

.button-secondary,
.fba-contact-btn,
.fba-google-btn {
  border-radius: var(--fba-radius-pill);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  transition:
    background var(--fba-transition),
    border-color var(--fba-transition),
    transform var(--fba-transition),
    box-shadow var(--fba-transition);
}

.button-primary:active,
.button-secondary:active,
.fba-contact-btn:active,
.fba-google-btn:active {
  transform: translateY(0);
}

@media (hover: hover) {
  .button-secondary:hover,
  .fba-contact-btn:hover {
    transform: translateY(-1px);
  }

  .fba-google-btn:hover {
    transform: translateY(-2px);
  }
}

/* ==========================================================================
   Forms, cards & section polish
   ========================================================================== */
.form-control.style1,
.form-control.style1.color2,
.form-select.style1,
.form-select.style1.color2 {
  border-radius: var(--fba-radius-md) !important;
  border: 1px solid var(--fba-border) !important;
  transition: border-color var(--fba-transition), box-shadow var(--fba-transition);
}

.form-control.style1:focus,
.form-control.style1.color2:focus,
.form-select.style1:focus,
.form-select.style1.color2:focus {
  border-color: rgba(246, 122, 69, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(246, 122, 69, 0.15) !important;
}

.service-card-home,
.fba-process-step,
.fba-answer-block,
.fba-reviews-section,
.fba-final-cta,
.fba-faq .ak-accordion-item,
.post-card.style2 {
  border-radius: var(--fba-radius-lg);
}

@media (hover: hover) {
  .service-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  }
}

.section-heading .section-title {
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-heading .section-subtitle {
  color: var(--fba-primary);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

html[lang="fa"] .section-heading .section-subtitle {
  text-transform: none;
  letter-spacing: 0;
}

.common-page-title .page-title {
  line-height: 1.15;
}

.lang-switch a {
  border-radius: var(--fba-radius-sm);
}

.footer.style-1 .link a,
.footer.style-1 .social a,
.fba-footer__links a,
.fba-footer__social a {
  transition: color var(--fba-transition), opacity var(--fba-transition);
}

.footer.style-1 .link a:hover,
.footer.style-1 .social a:hover,
.fba-footer__links a:hover,
.fba-footer__social a:hover {
  color: var(--fba-primary);
}

.ak-accordion-title {
  padding: 16px 20px;
  cursor: pointer;
  transition: background var(--fba-transition);
}

.fba-faq .ak-accordion-item:hover .ak-accordion-title {
  background: rgba(246, 122, 69, 0.04);
}

.package-content .package-one.style2,
.package-content .package-two.style2,
.package-content .package-three.style2 {
  border-radius: var(--fba-radius-lg);
}

.post-card.style2 {
  overflow: hidden;
  border: 1px solid var(--fba-border);
  background: var(--fba-surface);
}

.post-card.style2 .post-title {
  transition: color var(--fba-transition);
}

.post-card.style2:hover .post-title {
  color: var(--fba-primary);
}

/* --- Header scroll background --- */
.ak-site_header.ak-style1 {
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ak-site_header.ak-style1.ak-sticky-active {
  background: rgba(1, 1, 15, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(246, 122, 69, 0.2);
}

.ak-site_header.ak-style1.ak-sticky-active .top-header-info {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ak-site_header.ak-style1.ak-sticky-active .ak-main_header_in.style-2 {
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Keep header pinned and visible on scroll */
.ak-site_header.ak-sticky_header.ak-gescout_sticky {
  top: 0 !important;
}

.ak-site_header.ak-sticky_header.ak-gescout_sticky.ak-gescout_show {
  top: 0 !important;
}

/* --- Logo sizing (override template max-height: 145px) --- */
.ak-site_branding {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.ak-site_branding img {
  width: auto;
  height: 38px;
  max-height: 38px !important;
  max-width: 112px;
  object-fit: contain;
  border-radius: 0 !important;
}

.offcanvas.style-2 .offcanvas-body-coustom-style .ak-site_branding img {
  height: 34px;
  max-height: 34px !important;
  max-width: 100px;
}

.footer.style-1 .logo-footer .logo img,
.fba-footer__logo img {
  height: 42px;
  max-height: 42px !important;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  border-radius: 0 !important;
}

/* --- Mobile menu toggle (fix native <button> default background) --- */
button.button-offcanva {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
  line-height: 0;
  font: inherit;
  box-shadow: none;
}

button.button-offcanva.style-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

button.button-offcanva.style-2:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

button.button-offcanva.style-2:focus-visible {
  background: rgba(246, 122, 69, 0.12);
  border-color: rgba(246, 122, 69, 0.35);
  outline: none;
}

button.button-offcanva .button-offcanva-toggle {
  pointer-events: none;
}

/* Use offcanvas menu on tablet/mobile (template hid style-2 offcanvas) */
@media (max-width: 1199px) {
  .button-offcanva.style-2 {
    display: inline-flex !important;
  }

  .offcanvas.offcanvas-end.style-2 {
    display: block !important;
  }

  .ak-munu_toggle {
    display: none !important;
  }

  .ak-nav .ak-nav_list {
    display: none !important;
  }
}

/* --- Typography & readability --- */
body {
  -webkit-font-smoothing: antialiased;
}

.section-short-desp,
.hero-desp,
.fba-lead {
  color: var(--fba-text-muted);
  line-height: 1.75;
}

/* --- Focus & accessibility --- */
a:focus-visible,
button:focus-visible,
.button-primary:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.lang-switch a:focus-visible {
  outline: 2px solid var(--fba-primary);
  outline-offset: 3px;
}

/* --- Language switcher --- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--fba-border);
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-switch a:hover,
.lang-switch a.is-active {
  color: #fff;
  border-color: var(--fba-primary);
  background: rgba(246, 122, 69, 0.12);
}

.top-header-info .lang-switch a {
  border-color: rgba(255, 255, 255, 0.2);
}

.offcanvas .lang-switch {
  margin: 20px 0 0;
}

.offcanvas .lang-switch a {
  min-width: 42px;
  height: 36px;
}

/* --- RTL & Persian typography --- */
html[lang="fa"] {
  --heading-font-family: "Vazirmatn", sans-serif;
  --body-font-family: "Vazirmatn", sans-serif;
}

html[dir="rtl"] body,
html[lang="fa"] body {
  text-align: right;
  font-family: "Vazirmatn", sans-serif;
}

/* Vazirmatn on all Persian text (override template Teko on headings/nav/footer) */
html[lang="fa"] :where(
  h1, h2, h3, h4, h5, h6,
  p, a, li, label, button, input, select, textarea, option,
  .section-title, .section-subtitle, .section-short-desp,
  .page-title, .page-subtitle, .common-page-title,
  .button-primary, .button-secondary,
  .ak-nav_list a, .top-header-info, .email-info,
  .footer, .footer .title, .footer .link, .footer .social, .footer .desp,
  .footer .email, .footer .address, .copyright-text,
  .fba-footer, .fba-footer__title, .fba-footer__desc, .fba-footer__links,
  .fba-footer__contact, .fba-footer__social, .fba-footer__copy, .fba-footer__legal,
  .offcanvas, .offcanvas-body, .location-contant, .location-contant-title,
  .location-contant-text, .desp,
  .service-card-home, .fba-hero__content, .fba-hero__sub, .fba-hero__trust,
  .fba-trust-item, .fba-process-step, .fba-answer-block, .fba-lead,
  .fba-reviews-section, .fba-final-cta, .fba-faq,
  .ak-accordion-title, .ak-accordion-tab,
  .form-control, .form-select, .fba-form-note, .fba-form-success,
  .post-title, .post-desp, .post-card, .fba-article-content,
  .fba-contact-btn, .fba-bmi-disclaimer, .fba-legal-content,
  .lang-switch a, .fba-google-btn, .hero-desp
) {
  font-family: "Vazirmatn", sans-serif !important;
}

/* Persian headings — natural case & line-height (not Teko uppercase) */
html[lang="fa"] :where(
  h1, h2, h3, h4, h5, h6,
  .page-title, .section-title, .section-subtitle,
  .footer .title, .location-contant-title,
  .fba-footer__title,
  .button-primary, .button-secondary, .ak-nav_list a
) {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.45;
}

html[lang="fa"] .fba-hero__content h1 {
  line-height: 1.35;
}

html[lang="fa"] .page-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
}

html[lang="fa"] .section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

html[dir="rtl"] .ak-nav_list,
html[dir="rtl"] .footer .link,
html[dir="rtl"] .fba-footer__links,
html[dir="rtl"] .fba-footer__social,
html[dir="rtl"] .page-subtitle,
html[dir="rtl"] .breadcrumb-list {
  direction: rtl;
}

html[dir="rtl"] .lang-switch {
  margin-left: 0;
  margin-right: 12px;
}

html[dir="rtl"] .offcanvas.offcanvas-end {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

html[dir="rtl"] .offcanvas.offcanvas-end.show {
  transform: none;
}

html[dir="rtl"] .button-primary .icon {
  transform: scaleX(-1);
}

html[dir="rtl"] .ak-accordion-title h5 span {
  margin-right: 0;
  margin-left: 10px;
}

html[dir="rtl"] .service-card-home,
html[dir="rtl"] .fba-trust-grid,
html[dir="rtl"] .fba-process-steps {
  text-align: right;
}

html[dir="rtl"] .form-control,
html[dir="rtl"] .form-select {
  text-align: right;
}

/* --- Premium hero (single-slide) --- */
.fba-hero {
  position: relative;
  min-height: clamp(520px, 85vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--fba-dark);
}

.fba-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.fba-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 1, 15, 0.92) 0%, rgba(1, 1, 15, 0.55) 55%, rgba(1, 1, 15, 0.85) 100%);
}

.fba-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 120px 0 80px;
}

.fba-hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
}

.fba-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 680px;
  margin-bottom: 32px;
}

.fba-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.fba-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--fba-secondary);
  letter-spacing: 0.02em;
}

.fba-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fba-hero__trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fba-primary);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: var(--fba-primary);
  background: rgba(246, 122, 69, 0.12);
  color: #fff;
}

/* --- Trust bar --- */
.fba-trust-bar {
  background: rgba(246, 122, 69, 0.08);
  border-top: 1px solid var(--fba-border);
  border-bottom: 1px solid var(--fba-border);
  padding: 28px 0;
}

.fba-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.fba-trust-item strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}

.fba-trust-item span {
  font-size: 0.9rem;
  color: var(--fba-text-muted);
}

/* --- Service cards --- */
.fba-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card-home {
  background: var(--fba-surface);
  border: 1px solid var(--fba-border);
  border-radius: var(--fba-radius);
  padding: 28px;
  height: 100%;
  transition: border-color 0.25s, transform 0.25s;
}

.service-card-home:hover {
  border-color: rgba(246, 122, 69, 0.45);
}

.service-card-home h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #fff;
}

.service-card-home .for-whom {
  font-size: 0.85rem;
  color: var(--fba-secondary);
  margin: 12px 0 16px;
}

.service-card-home .card-cta {
  margin-top: auto;
  padding-top: 8px;
}

/* --- Process steps --- */
.fba-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.fba-process-step {
  position: relative;
  padding: 24px;
  background: var(--fba-surface);
  border: 1px solid var(--fba-border);
  border-radius: var(--fba-radius);
}

.fba-process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fba-primary);
  margin-bottom: 12px;
}

.fba-process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

/* --- Reviews / Google CTA --- */
.fba-reviews-section {
  text-align: center;
  padding: 48px 32px;
  background: var(--fba-surface);
  border: 1px solid var(--fba-border);
  border-radius: var(--fba-radius);
}

.fba-reviews-section p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--fba-text-muted);
}

.fba-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--fba-primary);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(246, 122, 69, 0.22);
}

.fba-google-btn:hover {
  background: var(--fba-primary-hover);
  color: #fff;
}

.fba-testimonial-placeholder {
  margin-top: 32px;
  padding: 20px;
  border: 1px dashed var(--fba-border);
  border-radius: var(--fba-radius);
  font-size: 0.9rem;
  color: var(--fba-text-muted);
}

/* --- FAQ --- */
.fba-faq .ak-accordion-item {
  margin-bottom: 12px;
  border: 1px solid var(--fba-border);
  border-radius: var(--fba-radius);
  overflow: hidden;
  background: var(--fba-surface);
}

.fba-faq .ak-accordion-title h5 {
  font-size: 1rem;
  padding: 4px 0;
}

.fba-faq .ak-accordion-tab {
  padding: 0 20px 20px;
  color: var(--fba-text-muted);
  line-height: 1.7;
}

/* --- Answer blocks (AEO) --- */
.fba-answer-blocks {
  display: grid;
  gap: 20px;
}

.fba-answer-block {
  padding: 24px;
  background: var(--fba-surface);
  border: 1px solid var(--fba-border);
  border-radius: var(--fba-radius);
}

.fba-answer-block h3 {
  font-size: 1.05rem;
  color: var(--fba-secondary);
  margin-bottom: 8px;
}

.fba-answer-block p {
  margin: 0;
  color: var(--fba-text-muted);
  line-height: 1.7;
}

/* --- Contact page --- */
.fba-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.fba-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--fba-border);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.fba-contact-btn:hover {
  border-color: var(--fba-primary);
  background: rgba(246, 122, 69, 0.12);
  color: #fff;
}

.fba-contact-btn.is-primary {
  background: var(--fba-primary);
  border-color: var(--fba-primary);
}

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

.fba-form-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(246, 122, 69, 0.08);
  border-left: 3px solid var(--fba-primary);
  font-size: 0.9rem;
  color: var(--fba-text-muted);
  border-radius: 0 var(--fba-radius) var(--fba-radius) 0;
}

html[dir="rtl"] .fba-form-note {
  border-left: none;
  border-right: 3px solid var(--fba-primary);
  border-radius: var(--fba-radius) 0 0 var(--fba-radius);
}

.fba-form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.35);
  border-radius: var(--fba-radius);
  color: #a5d6a7;
}

/* --- BMI calculator --- */
.fba-bmi-disclaimer {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: var(--fba-radius);
  font-size: 0.9rem;
  color: var(--fba-text-muted);
}

/* --- Gallery placeholders --- */
.fba-gallery-note {
  text-align: center;
  margin-bottom: 32px;
  color: var(--fba-text-muted);
  font-size: 0.95rem;
}

.fba-gallery-grid .fba-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--fba-radius);
  cursor: zoom-in;
  line-height: 0;
}

.fba-gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--fba-radius);
  transition: transform var(--fba-transition), opacity var(--fba-transition);
}

.fba-gallery-grid .fba-gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

/* --- Gallery lightbox --- */
body.fba-lightbox-open {
  overflow: hidden;
}

.fba-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background: rgba(1, 1, 15, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.fba-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.fba-lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}

.fba-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--fba-radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.fba-lightbox__caption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.fba-lightbox__close,
.fba-lightbox__nav {
  position: absolute;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: background var(--fba-transition), border-color var(--fba-transition);
}

.fba-lightbox__close:hover,
.fba-lightbox__nav:hover {
  background: rgba(246, 122, 69, 0.22);
  border-color: rgba(246, 122, 69, 0.45);
}

.fba-lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
}

.fba-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
}

.fba-lightbox__prev {
  left: 16px;
}

.fba-lightbox__next {
  right: 16px;
}

html[dir="rtl"] .fba-lightbox__close {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .fba-lightbox__prev {
  left: auto;
  right: 16px;
}

html[dir="rtl"] .fba-lightbox__next {
  right: auto;
  left: 16px;
}

@media (max-width: 575px) {
  .fba-lightbox {
    padding: 64px 12px 24px;
  }

  .fba-lightbox__img {
    max-height: calc(100vh - 100px);
  }

  .fba-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .fba-lightbox__prev {
    left: 8px;
  }

  .fba-lightbox__next {
    right: 8px;
  }

  html[dir="rtl"] .fba-lightbox__prev {
    right: 8px;
  }

  html[dir="rtl"] .fba-lightbox__next {
    left: 8px;
  }
}

/* --- Legal pages --- */
.fba-legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.fba-legal-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--fba-secondary);
}

.fba-legal-content p,
.fba-legal-content li {
  color: var(--fba-text-muted);
  line-height: 1.75;
}

.fba-legal-placeholder {
  background: rgba(255, 193, 7, 0.08);
  border: 1px dashed rgba(255, 193, 7, 0.4);
  padding: 12px 16px;
  border-radius: 8px;
  margin: 8px 0;
}

/* --- Footer (premium redesign) --- */
.footer.fba-footer {
  position: relative;
  background: linear-gradient(180deg, #0a0a12 0%, #01010f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
  overflow: hidden;
}

.footer.fba-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 122, 69, 0.35), transparent);
  pointer-events: none;
}

.footer.fba-footer .footer_bg_light,
.footer.fba-footer .border-footer-1,
.footer.fba-footer .border-footer-2 {
  display: none !important;
}

.fba-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, 1fr));
  gap: 40px 32px;
  padding: 56px 0 48px;
}

.fba-footer__brand {
  padding-inline-end: 16px;
}

.fba-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
}

.fba-footer__desc {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 340px;
  margin: 0 0 24px;
}

.fba-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fba-footer__actions .button-primary,
.fba-footer__actions .button-secondary {
  padding: 12px 22px;
  font-size: 0.875rem;
}

.fba-footer__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 20px;
}

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

.fba-footer__links li + li,
.fba-footer__social li + li {
  margin-top: 10px;
}

.fba-footer__links a,
.fba-footer__social a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  text-decoration: none;
}

.fba-footer__contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.fba-footer__contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--fba-transition);
}

.fba-footer__contact a:hover {
  color: var(--fba-primary);
}

.fba-footer__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.fba-footer__languages {
  margin-top: 4px !important;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.fba-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0 32px;
  text-align: center;
}

.fba-footer__copy {
  margin: 0 0 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.fba-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.fba-footer__legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--fba-transition);
}

.fba-footer__legal a:hover {
  color: var(--fba-primary);
}

/* --- Health disclaimer footer --- */
.fba-health-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

/* --- Final CTA section --- */
.fba-final-cta {
  padding: 64px 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(246, 122, 69, 0.12) 0%, rgba(1, 1, 15, 0) 100%);
  border: 1px solid var(--fba-border);
  border-radius: var(--fba-radius);
}

.fba-final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

/* --- Cookie consent --- */
.fba-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 20px;
  background: rgba(1, 1, 15, 0.96);
  border-top: 1px solid var(--fba-border);
  display: none;
}

.fba-cookie-banner.is-visible {
  display: block;
}

.fba-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fba-cookie-inner p {
  margin: 0;
  flex: 1;
  min-width: 240px;
  font-size: 0.9rem;
  color: var(--fba-text-muted);
}

.fba-cookie-actions {
  display: flex;
  gap: 10px;
}

/* --- Blog --- */
.fba-blog-meta {
  font-size: 0.85rem;
  color: var(--fba-secondary);
  margin-bottom: 8px;
}

.fba-article-content {
  max-width: 760px;
  margin: 0 auto;
}

.fba-article-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: #fff;
}

.fba-article-content p,
.fba-article-content li {
  color: var(--fba-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --- Reduce animation noise --- */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive — Tablet (≤1199px), Mobile (≤767px), Small (≤575px)
   ========================================================================== */

/* Prevent horizontal scroll from full-bleed mobile nav */
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

.container {
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* --- Tablet (≤1199px) --- */
@media (max-width: 1199px) {
  .lang-switch--desktop {
    display: none;
  }

  .ak-site_header.ak-style1 .ak-main_header_in.style-2,
  .ak-site_header.ak-style1 .ak-top_header_in.style-2 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ak-site_header.ak-style1 .top-header-info {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .ak-site_header.ak-style1 .top-header-info .email-info {
    gap: 16px;
    flex-wrap: wrap;
  }

  .ak-main-header-left {
    gap: 12px !important;
    flex: 1;
    min-width: 0;
  }

  .ak-nav .ak-nav_list {
    width: 100%;
    left: 0;
  }

  .ak-nav .ak-nav_list .lang-switch,
  .ak-nav .ak-nav_list .lang-switch-item .lang-switch {
    display: flex;
    margin: 12px 20px 8px;
    padding-top: 12px;
    border-top: 1px solid var(--fba-border);
  }

  .ak-nav_list .lang-switch-item {
    list-style: none;
  }

  .common-page-title .page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    padding: 0 12px;
  }

  .common-page-title .page-subtitle {
    font-size: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .fba-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .fba-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

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

  .fba-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .fba-footer__brand {
    grid-column: 1 / -1;
    padding-inline-end: 0;
  }
}

/* --- Tablet portrait / large phone (≤991px) --- */
@media (max-width: 991px) {
  .lang-switch--mobile-nav {
    display: none;
  }

  .ak-main-header-right .button-primary.color2 {
    display: none;
  }

  /* Keep hamburger / offcanvas visible (template hides entire right column at 575px) */
  .ak-main-header-right {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
  }

  .fba-hero {
    min-height: clamp(460px, 78vh, 640px);
  }

  .fba-hero__content {
    padding: 96px 0 56px;
  }

  .fba-hero__trust {
    gap: 8px 14px;
    font-size: 12px;
  }

  .fba-trust-bar {
    padding: 20px 0;
  }

  .service-card-home {
    padding: 22px;
  }

  .service-card-home h3 {
    font-size: 1.2rem;
  }

  .fba-reviews-section {
    padding: 36px 24px;
  }

  .fba-final-cta {
    padding: 48px 24px;
  }

  .fba-answer-blocks {
    margin-top: 8px;
  }

  .section-heading.style-1.text-center {
    text-align: center !important;
  }

  .ak-height-200 {
    height: 120px !important;
  }

  .ak-height-135 {
    height: 72px !important;
  }

  .ak-height-100 {
    height: 56px !important;
  }

  .ak-height-80 {
    height: 48px !important;
  }
}

/* --- Mobile (≤767px) --- */
@media (max-width: 767px) {
  .top-header-info .d-flex.gap-4 {
    flex-wrap: wrap;
    gap: 8px !important;
    font-size: 13px;
  }

  .ak-site_header.ak-style1 .top-header-info .email-info a {
    font-size: 13px;
    word-break: break-all;
  }

  .ak-site_branding img {
    height: 30px;
    max-height: 30px !important;
    max-width: 88px;
  }

  .fba-hero {
    min-height: auto;
    align-items: flex-end;
  }

  .fba-hero__content {
    padding: 88px 0 40px;
  }

  .fba-hero__content h1 {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    margin-bottom: 14px;
  }

  .fba-hero__sub {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .fba-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 22px;
  }

  .fba-hero__actions .button-primary,
  .fba-hero__actions .button-secondary,
  .fba-final-cta .button-primary,
  .fba-final-cta .button-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 48px;
  }

  .fba-hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  html[dir="rtl"] .fba-hero__trust {
    align-items: flex-end;
  }

  .fba-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fba-trust-item strong {
    font-size: 1rem;
  }

  .fba-trust-item span {
    font-size: 0.82rem;
  }

  .fba-services-grid,
  .fba-process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card-home .card-cta,
  .service-card-home .card-cta.d-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .service-card-home .card-cta .button-primary,
  .service-card-home .card-cta .button-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .fba-answer-block {
    padding: 18px;
  }

  .fba-faq .ak-accordion-title h5 {
    font-size: 0.95rem;
    line-height: 1.45;
    padding-right: 8px;
  }

  .fba-faq .ak-accordion-tab {
    padding: 0 16px 16px;
    font-size: 0.95rem;
  }

  .fba-contact-actions {
    gap: 10px;
  }

  .fba-contact-btn {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .fba-gallery-grid .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .fba-gallery-grid img {
    height: 220px;
  }

  .fba-reviews-section {
    padding: 28px 18px;
  }

  .fba-google-btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .fba-final-cta {
    padding: 36px 18px;
    margin-left: 0;
    margin-right: 0;
  }

  .fba-final-cta .fba-hero__actions {
    align-items: stretch;
  }

  .common-page-title .page-title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .fba-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 36px;
  }

  .fba-footer__desc {
    max-width: none;
  }

  .fba-footer__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fba-footer__actions .button-primary,
  .fba-footer__actions .button-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .fba-footer__bottom {
    padding: 20px 0 28px;
  }

  .fba-health-disclaimer {
    font-size: 0.75rem;
    padding: 0 8px;
  }

  .fba-cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .fba-cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .fba-cookie-actions .button-primary,
  .fba-cookie-actions .button-secondary {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .fba-cookie-banner {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .offcanvas.style-2 {
    width: min(100%, 360px);
  }

  .offcanvas-body-coustom-style .button-primary.color2 {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .fba-article-content h2 {
    font-size: 1.2rem;
  }

  .row.g-5 {
    --bs-gutter-y: 2rem;
  }
}

/* --- Small phones (≤575px) --- */
@media (max-width: 575px) {
  .ak-site_header.ak-style1 .top-header-info .email-info .location-desp {
    display: none;
  }

  .top-header-info > .d-flex > a:not([href*="instagram"]) {
    font-size: 12px;
  }

  .fba-trust-grid {
    grid-template-columns: 1fr;
  }

  .fba-trust-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--fba-border);
  }

  .fba-trust-item:last-child {
    border-bottom: none;
  }

  .fba-contact-btn {
    flex: 1 1 100%;
  }

  .service-card-home {
    padding: 18px;
  }

  .button-primary,
  .button-secondary {
    font-size: 14px !important;
    padding: 11px 20px !important;
  }

  .ak-munu_toggle {
    right: 16px !important;
  }

  .ak-nav .ak-nav_list a {
    padding: 10px 16px;
    font-size: 18px;
  }
}

/* --- Desktop only --- */
@media (min-width: 992px) {
  .lang-switch--mobile-nav {
    display: none;
  }
}

@media (min-width: 1200px) {
  .lang-switch--mobile-nav {
    display: none;
  }
}
