:root {
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --surface-2: #eef4ee;
  --ink: #16211d;
  --muted: #5b6962;
  --line: #d8ddd4;
  --primary: #0d625f;
  --primary-dark: #123937;
  --accent: #a5434f;
  --gold: #c99642;
  --shadow: 0 20px 50px rgba(21, 32, 28, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(247,244,237,0.98) 360px),
    var(--paper) !important;
  color: var(--ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  line-height: 1.65 !important;
}

.container {
  max-width: 1180px !important;
  padding-left: clamp(18px, 4vw, 32px) !important;
  padding-right: clamp(18px, 4vw, 32px) !important;
}

.nav {
  background: rgba(255, 253, 248, 0.94) !important;
  border-bottom: 1px solid rgba(22, 33, 29, 0.1) !important;
  box-shadow: 0 10px 28px rgba(22, 33, 29, 0.08);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 74px;
  gap: 18px !important;
}

.brand {
  gap: 12px !important;
  min-width: 0 !important;
}

.brand img {
  width: 46px !important;
  height: 46px !important;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 33, 29, 0.12);
}

.brand span {
  color: var(--ink) !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.nav-right {
  gap: 10px !important;
}

.lang-toggle {
  gap: 4px !important;
  padding: 4px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #efe9df !important;
  color: var(--ink) !important;
}

.lang-toggle span {
  display: none;
}

.lang-toggle button {
  min-width: 38px;
  padding: 7px 10px !important;
  border-radius: 6px !important;
  color: var(--muted) !important;
  text-align: center;
}

.lang-toggle button.active {
  background: var(--primary) !important;
  color: #fff !important;
}

.btn {
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(13, 98, 95, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--primary-dark) !important;
  box-shadow: 0 14px 28px rgba(13, 98, 95, 0.28);
  transform: translateY(-1px);
}

.hero.container {
  position: relative;
  max-width: none !important;
  min-height: clamp(560px, 78vh, 760px);
  margin: 0 !important;
  padding:
    clamp(112px, 14vh, 156px)
    max(22px, calc((100vw - 1180px) / 2))
    clamp(82px, 10vh, 118px) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff !important;
  background:
    linear-gradient(90deg, rgba(13, 31, 29, 0.93) 0%, rgba(13, 31, 29, 0.77) 48%, rgba(13, 31, 29, 0.42) 100%),
    url("gallery_04.jpg") center center / cover no-repeat;
}

.hero.container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--accent));
}

.hero > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

h1 {
  color: inherit !important;
  font-size: clamp(44px, 6vw, 78px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.hero h1 {
  margin: 0 0 24px !important;
}

.lead {
  color: var(--muted) !important;
  font-size: 18px !important;
  font-weight: 520;
}

.hero .lead {
  max-width: 720px !important;
  margin: 0 !important;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(18px, 2vw, 22px) !important;
}

section {
  padding: clamp(58px, 8vw, 92px) 0 !important;
}

section.container:not(.hero) {
  max-width: 1180px !important;
}

h2 {
  margin: 0 0 14px !important;
  color: var(--ink) !important;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

h3 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

ul {
  padding-left: 20px;
}

li {
  color: var(--muted) !important;
  font-weight: 560 !important;
}

#gallery {
  padding-top: clamp(64px, 8vw, 96px) !important;
}

.gallery-wrap {
  margin-top: 26px !important;
  border: 1px solid rgba(22, 33, 29, 0.16) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #101815 !important;
  box-shadow: var(--shadow);
}

.gallery {
  aspect-ratio: 16 / 9 !important;
  max-height: 680px !important;
}

.gallery img {
  background: #101815 !important;
  object-fit: contain !important;
}

.gallery-btn {
  width: 46px !important;
  height: 46px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.36) !important;
  background: rgba(16, 24, 21, 0.68) !important;
  font-size: 28px;
  line-height: 1;
}

.gallery-btn:hover,
.gallery-btn:focus-visible {
  background: rgba(16, 24, 21, 0.9) !important;
}

.gallery-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 8px !important;
  border-color: rgba(255,255,255,0.64) !important;
}

.gallery-dot.active {
  width: 28px !important;
  background: #fff !important;
}

#founder {
  border-top: 1px solid rgba(22, 33, 29, 0.1);
  border-bottom: 1px solid rgba(22, 33, 29, 0.1);
}

#founder-grid {
  max-width: 1040px !important;
  margin-top: 28px;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) !important;
  gap: clamp(28px, 6vw, 62px) !important;
}

#founder-grid > img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  border-radius: 8px !important;
  border: 0 !important;
  box-shadow: var(--shadow);
}

#founder-text {
  padding-left: 0 !important;
}

#founder-text h3 {
  font-size: clamp(24px, 3vw, 34px) !important;
}

#founder-text p {
  color: var(--muted) !important;
  font-size: 17px;
  font-weight: 520 !important;
}

.cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 16px !important;
  max-width: none !important;
  margin-top: 28px !important;
}

.card {
  border: 1px solid rgba(22, 33, 29, 0.12) !important;
  border-radius: 8px !important;
  background: var(--surface) !important;
  box-shadow: 0 14px 36px rgba(22, 33, 29, 0.08);
}

.trainer {
  position: relative;
  flex-direction: column;
  gap: 16px !important;
  min-height: 242px;
  padding: 18px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.trainer:hover,
.trainer:focus-visible {
  border-color: rgba(13, 98, 95, 0.38) !important;
  box-shadow: 0 18px 42px rgba(22, 33, 29, 0.12);
  transform: translateY(-2px);
}

#trainers .card.trainer::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}

#trainers .card.trainer.expanded::after {
  content: "-";
}

.trainer img {
  width: 88px !important;
  height: 88px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(22, 33, 29, 0.12) !important;
  background: #eef0ec !important;
  object-fit: cover !important;
}

.trainer h3 {
  margin: 0 30px 6px 0 !important;
  font-size: 19px !important;
}

.trainer .role {
  margin: 0 !important;
  color: var(--primary-dark) !important;
  font-weight: 800 !important;
  line-height: 1.35;
}

.trainer .meta {
  margin-top: 14px !important;
  color: var(--muted) !important;
  font-weight: 520 !important;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  max-width: none !important;
  margin-top: 28px !important;
}

.service-card {
  min-height: 118px;
  padding: 20px !important;
  border: 1px solid rgba(22, 33, 29, 0.12) !important;
  border-radius: 8px !important;
  background: var(--surface) !important;
  color: var(--ink) !important;
  box-shadow: 0 14px 36px rgba(22, 33, 29, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(165, 67, 79, 0.42) !important;
  box-shadow: 0 18px 42px rgba(22, 33, 29, 0.12);
  transform: translateY(-2px);
}

.service-card .svc-title {
  align-items: flex-start !important;
}

.service-card .svc-text {
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
}

.service-card .chev {
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #f4eee5;
  color: var(--accent);
}

.service-card .svc-details {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.service-card .svc-details ul {
  margin-top: 0 !important;
}

.service-card .svc-details li {
  color: var(--muted) !important;
  font-size: 15px;
}

#contact {
  padding-bottom: clamp(64px, 8vw, 96px) !important;
}

.contact-social-icons {
  gap: 12px !important;
  margin-top: 24px !important;
}

.contact-social-icons a {
  width: 54px !important;
  height: 54px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: var(--primary-dark) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(18, 57, 55, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-social-icons a:hover,
.contact-social-icons a:focus-visible {
  background: var(--accent) !important;
  box-shadow: 0 16px 34px rgba(165, 67, 79, 0.24);
  transform: translateY(-2px);
}

footer.container {
  max-width: none !important;
  padding:
    28px
    max(22px, calc((100vw - 1180px) / 2)) !important;
  background: var(--ink) !important;
  color: rgba(255,255,255,0.76) !important;
}

footer span {
  color: inherit !important;
}

*:focus-visible {
  outline: 3px solid rgba(201, 150, 66, 0.78) !important;
  outline-offset: 3px;
}

.rtl h1,
.rtl h2,
.rtl h3,
.rtl p {
  text-align: right;
}

.rtl h2::after {
  margin-left: auto;
}

.rtl .hero .lead {
  padding-left: 0;
  padding-right: 18px;
  border-left: 0;
  border-right: 4px solid var(--gold);
}

.rtl #founder-grid {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) !important;
}

.rtl #founder-text {
  padding-right: 0 !important;
}

.rtl .trainer {
  align-items: flex-start;
}

.rtl #trainers .card.trainer::after {
  right: auto;
  left: 14px;
}

.rtl .trainer h3 {
  margin-right: 0 !important;
  margin-left: 30px !important;
}

.rtl ul,
.rtl .service-card .svc-details ul {
  padding-left: 0 !important;
  padding-right: 20px !important;
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #founder-grid,
  .rtl #founder-grid {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    min-height: auto;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .brand span {
    font-size: 18px !important;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero.container {
    min-height: auto;
    padding: 108px 22px 82px !important;
    background-position: center center;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px) !important;
  }

  section {
    padding: 58px 0 !important;
  }

  .gallery {
    aspect-ratio: 4 / 5 !important;
  }

  .gallery-btn {
    width: 40px !important;
    height: 40px !important;
  }

  #founder-grid,
  .rtl #founder-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  #founder-grid > img {
    width: min(260px, 100%) !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 460px) {
  .brand img {
    width: 40px !important;
    height: 40px !important;
  }

  .brand span {
    white-space: normal !important;
  }

  .lang-toggle button {
    min-width: 34px;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .hero.container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .contact-social-icons {
    flex-wrap: wrap !important;
  }
}
