/*
Theme Name:   Hesam Claude
Description:  Personal branding theme for Hesam Moradi
Version:      2.0
Text Domain:  editorial-bespoke
*/

@font-face {
  font-family: 'YekanBakh';
  src: url('fonts/YekanBakh-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('fonts/YekanBakh-Bold.woff2') format('woff2');
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --font:        'YekanBakh', Tahoma, Arial, sans-serif;
  --bg:          #DBE2DC;
  --card-bg:     #F5F8F5;
  --border:      #B6D9E0;
  --accent:      #335765;
  --accent-dark: #264455;
  --accent-alt:  #264455;
  --accent-sec:  #74A8A4;
  --accent-warm: #7F543D;
  --text:        #1A2A30;
  --text-muted:  #5A7A82;
  --text-light:  #8A9EA5;
  --radius-card:  18px;
  --radius-btn:   10px;
  --radius-input: 10px;
  --radius-drop:  14px;
  --shadow-card:  0 2px 12px rgba(0,0,0,0.07);
  --shadow-drop:  0 6px 24px rgba(0,0,0,0.10);
  --transition:   0.18s ease;
  --max-w:        480px;
}

.hm-dark {
  --bg:         #1A2A30;
  --card-bg:    #243540;
  --border:     #335765;
  --text:       #DBE2DC;
  --text-muted: #74A8A4;
  --text-light: #5A7A82;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.30);
  --shadow-drop:  0 6px 24px rgba(0,0,0,0.40);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); min-height: 100vh; font-size: 13px; line-height: 1.7; transition: background var(--transition), color var(--transition); }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

.hm-page-outer { width: 100%; min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; align-items: center; }
.hm-wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; }
.hm-card { background: var(--card-bg); border: 1.5px solid var(--border); border-radius: var(--radius-card); padding: 24px 20px; box-shadow: var(--shadow-card); transition: background var(--transition), border-color var(--transition); }
.hm-section { padding: 4px 0; margin-bottom: 12px; }
.hm-section.hm-card {
  padding: 24px 20px;
}

.hm-btn-fill { display: block; width: 100%; padding: 12px 20px; background: var(--accent); color: #fff; border-radius: var(--radius-btn); font-family: var(--font); font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; border: none; transition: background var(--transition), transform 0.1s; }
.hm-btn-fill:hover { background: var(--accent-dark); color: #fff; }
.hm-btn-fill:active { transform: scale(0.98); }
.hm-btn-ghost { display: block; width: 100%; padding: 11px 20px; background: transparent; color: var(--accent); border: 1.5px solid var(--accent); border-radius: var(--radius-btn); font-family: var(--font); font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; transition: background var(--transition), color var(--transition); }
.hm-btn-ghost:hover { background: var(--accent); color: #fff; }

.hm-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hm-section__title { font-size: 18px; font-weight: 900; color: var(--text); line-height: 1.4; }
.hm-section__more { font-size: 12px; color: var(--accent); font-weight: 700; }

/* NAVBAR */
.hm-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 20px; background: var(--card-bg); border: 1.5px solid var(--border); border-radius: 14px; position: sticky; top: 0; z-index: 200; transition: background var(--transition), border-color var(--transition); margin: 12px 0 8px; }
.hm-nav__logo { text-decoration: none; flex-shrink: 0; }
.hm-nav__logo-text { font-size: 16px; font-weight: 400; color: var(--text); letter-spacing: -0.5px; border: 1.5px solid var(--border); border-radius: 20px; padding: 4px 14px; }
.hm-nav__logo-img { height: 32px; width: auto; }
.hm-nav__links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.hm-nav__link { font-size: 12px; font-weight: 600; color: var(--text-muted); padding: 6px 8px; border-radius: 8px; transition: color var(--transition), background var(--transition); background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.hm-nav__link:hover { color: var(--accent); background: rgba(51,87,101,0.07); }
.hm-nav__item--dropdown { position: relative; }
.hm-nav__chevron { transition: transform 0.18s; flex-shrink: 0; }
.hm-nav__item--dropdown:hover .hm-nav__chevron,
.hm-nav__dropdown-toggle[aria-expanded="true"] .hm-nav__chevron { transform: rotate(180deg); }
.hm-nav__dropdown { position: absolute; top: calc(100% + 6px); right: 0; min-width: 160px; background: var(--card-bg); border: 1.5px solid var(--border); border-radius: var(--radius-drop); padding: 8px; z-index: 100; box-shadow: var(--shadow-drop); display: none; flex-direction: column; gap: 2px; }
.hm-nav__dropdown.is-open { display: flex; }
.hm-nav__dropdown-item { font-size: 12px; color: var(--text); padding: 8px 12px; border-radius: 8px; transition: color var(--transition), background var(--transition); white-space: nowrap; display: block; }
.hm-nav__dropdown-item:hover { color: var(--accent); background: rgba(51,87,101,0.07); }
.hm-nav__controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hm-lang-switcher { display: flex; align-items: center; gap: 2px; font-size: 11px; }
.hm-lang-switcher__btn { color: var(--text-muted); font-weight: 700; padding: 3px 4px; border-radius: 4px; transition: color var(--transition); font-size: 11px; }
.hm-lang-switcher__btn:hover, .hm-lang-switcher__btn.is-active { color: var(--accent); }
.hm-lang-switcher__sep { color: var(--border); font-size: 11px; }
.hm-darkmode-toggle { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--text-muted); transition: color var(--transition), background var(--transition); }
.hm-darkmode-toggle:hover { color: var(--accent); background: rgba(51,87,101,0.07); }
.hm-icon-sun  { display: none; }
.hm-icon-moon { display: block; }
.hm-dark .hm-icon-sun  { display: block; }
.hm-dark .hm-icon-moon { display: none; }
.hm-nav__hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 32px; height: 32px; gap: 5px; border-radius: 8px; padding: 4px; cursor: pointer; }
.hm-nav__hamburger span { display: block; width: 18px; height: 1.8px; background: var(--text-muted); border-radius: 2px; transition: transform 0.2s, opacity 0.2s, width 0.2s; }
.hm-nav__hamburger.is-active span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.hm-nav__hamburger.is-active span:nth-child(2) { opacity: 0; width: 0; }
.hm-nav__hamburger.is-active span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }
.hm-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.hm-sheet-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.hm-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border-radius: 20px 20px 0 0;
  border-top: 1.5px solid var(--border);
  z-index: 1999;
  padding: 0 0 40px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  max-height: 85vh;
  overflow-y: auto;
}
.hm-bottom-sheet.is-open {
  transform: translateY(0);
}
.hm-bottom-sheet.is-open ~ * .hm-floatbar,
body.sheet-open .hm-floatbar {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease;
}
.hm-bottom-sheet__handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 12px auto 20px;
}
.hm-bottom-sheet__links {
  list-style: none;
  padding: 0 20px;
  margin: 0;
}
.hm-bottom-sheet__links li {
  border-bottom: 1px solid var(--border);
}
.hm-bottom-sheet__links li:last-child {
  border-bottom: none;
}
.hm-bottom-sheet__links a,
.hm-bottom-sheet__links span {
  display: block;
  padding: 16px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  text-align: right;
  direction: rtl;
}
.hm-bottom-sheet__links .hm-mobile-menu__sub {
  list-style: none;
  padding: 0 16px 8px;
  margin: 0;
}
.hm-bottom-sheet__links .hm-mobile-menu__sub a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  padding: 10px 4px;
}
.hm-bottom-sheet__links .hm-mobile-menu__group-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 4px 6px;
  display: block;
  text-align: right;
}
/* HERO */
.hm-hero .hm-card { padding: 0; overflow: hidden; }
.hm-hero .hm-card .hm-win-bar {
  margin: 0 0 0 0;
  width: 100%;
  border-radius: 0;
}
.hm-hero__photo { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius-card); display: block; }
.hm-hero__placeholder { width: 100%; height: 280px; display: flex; align-items: center; justify-content: center; background: var(--bg); border-radius: var(--radius-card); color: var(--border); }
.hm-hero__placeholder-icon { width: 80px; height: 80px; }

/* STORY */
.hm-story__title { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.hm-story__excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.hm-story__btn { margin-top: 4px; }
@media (max-width: 560px) {
  .hm-story .hm-card {
    min-height: calc(100vh - 360px);
    min-height: calc(100svh - 360px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* SERVICES */
.hm-services .hm-section__title { margin-bottom: 16px; }
.hm-services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-services__link {
  text-decoration: none;
  color: inherit;
  display: contents;
}
.hm-services__link .hm-services__item {
  height: 100%;
}
.hm-services__item { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px; transition: border-color var(--transition); }
.hm-services__item:hover { border-color: var(--accent); }
.hm-services__icon { color: var(--accent); }
.hm-services__name { font-size: 13px; font-weight: 700; color: var(--text); }
.hm-services__desc { font-size: 11px; color: var(--text-muted); line-height: 1.7; }

/* BLOG */
.hm-blog .hm-section__title { margin-bottom: 4px; }
.hm-blog__list { display: flex; flex-direction: column; }
.hm-blog__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0 16px; border-bottom: 1px solid var(--border); }
.hm-blog__item:last-child { border-bottom: none; padding-bottom: 0; }
.hm-blog__thumb-link { flex-shrink: 0; }
.hm-blog__thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.hm-blog__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hm-blog__title-link { text-decoration: none; }
.hm-blog-title { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.5; }
.hm-blog__title-link:hover .hm-blog-title { color: var(--accent); }
.hm-blog-excerpt { font-size: 11px; color: var(--text-muted); line-height: 1.7; margin-top: 4px; }
.hm-blog__date { font-size: 10px; color: var(--text-light); margin-top: 4px; display: block; direction: ltr; text-align: right; }

/* SOCIAL */
.hm-social .hm-section__title { margin-bottom: 14px; }
.hm-social__buttons { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.hm-social__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; text-align: center; font-size: 11px; border: 1.5px solid var(--border); border-radius: var(--radius-btn); color: var(--text); font-weight: 700; background: var(--bg); transition: border-color var(--transition), color var(--transition), background var(--transition); }
.hm-social__btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(51,87,101,0.05); }

/* CONTACT FORM */
.hm-contact-form__title { font-size: 18px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.hm-contact-form__subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }
.hm-contact-form__form { display: flex; flex-direction: column; }
.hm-contact-form__row { display: flex; flex-direction: column; gap: 0; width: 100%; }
.hm-contact-form__field { display: flex; flex-direction: column; gap: 0; width: 100%; margin-bottom: 14px; }
.hm-contact-form__label { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.hm-contact-form__required { color: var(--accent); margin-right: 2px; }
.hm-contact-form__input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-input); font-family: var(--font); font-size: 12px; background: var(--card-bg); color: var(--text); margin-bottom: 10px; outline: none; transition: border-color var(--transition); -webkit-appearance: none; }
.hm-contact-form__input:focus { border-color: var(--accent); }
.hm-contact-form__input::placeholder { color: var(--text-light); }
.hm-contact-form__textarea { resize: vertical; min-height: 80px; }
.hm-contact-form__submit { margin-top: 4px; }
.hm-contact-form__success { background: #D1FAE5; color: #065F46; border: 1.5px solid #6EE7B7; border-radius: var(--radius-input); padding: 12px 14px; font-size: 13px; font-weight: 700; }
.hm-dark .hm-contact-form__success { background: #064E3B; color: #A7F3D0; border-color: #065F46; }
.hm-contact-form__error { background: #FEE2E2; color: #991B1B; border: 1.5px solid #FCA5A5; border-radius: var(--radius-input); padding: 12px 14px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.hm-dark .hm-contact-form__error { background: #450A0A; color: #FCA5A5; border-color: #991B1B; }

/* FOOTER */
.hm-footer { background: var(--card-bg); border: 1.5px solid var(--border); border-radius: var(--radius-card); margin: 8px 0 0; padding: 32px 20px 40px; transition: background var(--transition), border-color var(--transition); }
.hm-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.hm-footer__brand { display: flex; flex-direction: column; gap: 3px; }
.hm-footer__logo { font-size: 14px; font-weight: 800; color: var(--text); text-decoration: none; }
.hm-footer__logo:hover { color: var(--accent); }
.hm-footer__tagline { font-size: 10px; color: var(--text-muted); }
.hm-footer__links { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.hm-footer__link { font-size: 10px; color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.hm-footer__link:hover { color: var(--accent); }
.hm-footer__bio { font-size: 10px; color: var(--text-muted); margin: 12px 0; line-height: 1.6; }
.hm-footer__contact { display: flex; flex-direction: column; gap: 5px; }
.hm-footer__contact-item { font-size: 10px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.hm-footer__contact-item a { color: inherit; }
.hm-footer__contact-item a:hover { color: var(--accent); }
.hm-footer__divider { border: none; border-top: 1px solid var(--border); margin: 14px 0 10px; }
.hm-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hm-footer__copy { font-size: 10px; color: var(--text-muted); }
.hm-footer__copy a { color: var(--text-muted); }
.hm-footer__copy a:hover { color: var(--accent); }
.hm-footer__socials { display: flex; align-items: center; gap: 8px; }
.hm-footer__social-icon { color: var(--text-muted); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; transition: color var(--transition), background var(--transition); }
.hm-footer__social-icon:hover { color: var(--accent); background: rgba(51,87,101,0.08); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

@media (max-width: 520px) {
  .hm-services__grid { grid-template-columns: 1fr; }
  .hm-footer__top { flex-direction: column; }
  .hm-footer__links { flex-direction: row; flex-wrap: wrap; gap: 6px; }
}

/* FOOTER GRID - 3 columns */
.hm-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.hm-footer__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hm-footer__col--center {
  align-items: center;
  text-align: center;
}
.hm-footer__col--end {
  align-items: flex-end;
}
@media (max-width: 420px) {
  .hm-footer__grid { grid-template-columns: 1fr; }
  .hm-footer__col--center, .hm-footer__col--end { align-items: flex-start; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.hm-section,
.hm-footer {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.hm-section.is-visible,
.hm-footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hm-section.is-hidden,
.hm-footer.is-hidden {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.hm-section .hm-card > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hm-section.is-visible .hm-card > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
.hm-section.is-visible .hm-card > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.hm-section.is-visible .hm-card > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.hm-section.is-visible .hm-card > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }
.hm-section.is-visible .hm-card > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .hm-section,
  .hm-footer,
  .hm-section .hm-card > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* -- Page Title -- */
.hm-page-title { padding: 20px 0 4px; text-align: right; }
.hm-page-title h1 { font-size: 24px; font-weight: 900; color: var(--text); }

/* -- Shared Form Inputs -- */
.hm-form-input { display: block; width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-input,10px); font-family: var(--font); font-size: 12px; background: var(--card-bg); color: var(--text); margin-bottom: 10px; outline: none; transition: border-color var(--transition,.18s); -webkit-appearance: none; }
.hm-form-input:focus { border-color: var(--accent); }
.hm-form-input::placeholder { color: var(--text-light); }
.hm-form-textarea { resize: vertical; min-height: 80px; }
.hm-form { display: flex; flex-direction: column; gap: 0; width: 100%; }
.hm-form-group { display: flex; flex-direction: column; width: 100%; margin-bottom: 14px; }
.hm-form-success { background: #D1FAE5; color: #065F46; border: 1.5px solid #6EE7B7; border-radius: 10px; padding: 12px 14px; font-size: 13px; font-weight: 700; margin-top: 8px; }
.hm-form-error   { background: #FEE2E2; color: #991B1B; border: 1.5px solid #FCA5A5; border-radius: 10px; padding: 12px 14px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.hm-dark .hm-form-success { background: #064E3B; color: #A7F3D0; border-color: #065F46; }
.hm-dark .hm-form-error   { background: #450A0A; color: #FCA5A5; border-color: #991B1B; }

/* -- Service Page: Hook -- */
.hm-mkt-hook__h2 { font-size: 17px; font-weight: 800; color: var(--accent); border-bottom: 2px solid var(--border); padding-bottom: 14px; margin-top: 10px; line-height: 1.5; }
.hm-mkt-section-title { font-size: 18px; font-weight: 900; color: var(--text); margin-bottom: 14px; line-height: 1.4; }

/* -- Service Page: Plain Language -- */
.hm-mkt-dark-box { background: #1A2A30; color: #fff; border-radius: 10px; padding: 14px 16px; margin: 12px 0 14px; font-size: 13px; line-height: 1.8; font-style: italic; }
.hm-mkt-plain-body { font-size: 13px; color: var(--text-muted); line-height: 1.85; margin-bottom: 10px; }

/* -- Service Page: Pain Grid -- */
.hm-pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.hm-pain-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 14px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px; position: relative; }
.hm-pain-icon { color: var(--accent); }
.hm-pain-label { font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.4; }
.hm-pain-num { font-size: 10px; color: var(--text-muted); font-weight: 900; letter-spacing: 1px; }

/* -- Service Page: Components Grid -- */
.hm-comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.hm-comp-item { display: flex; align-items: flex-start; gap: 10px; padding: 16px 14px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px; transition: border-color var(--transition,.18s); }
.hm-comp-item:hover { border-color: var(--accent); }
.hm-comp-item--wide { grid-column: 1 / -1; }
.hm-comp-icon { color: var(--accent); flex-shrink: 0; }
.hm-comp-num  { font-size: 9px; font-weight: 900; color: var(--text-muted); letter-spacing: 1px; display: block; margin-bottom: 2px; }
.hm-comp-title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.hm-comp-desc { font-size: 10px; color: var(--text-muted); line-height: 1.7; }

/* -- Service Page: Crisis Card -- */
.hm-crisis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.hm-crisis-desc { font-size: 12px; color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
.hm-crisis-right { display: flex; flex-direction: column; gap: 10px; }
.hm-crisis-item { display: flex; align-items: flex-start; gap: 10px; padding: 14px; }
.hm-crisis-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.hm-crisis-item span { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 420px) { .hm-crisis-grid { grid-template-columns: 1fr; } }

/* -- Service Page: Multi-step Form -- */
.hm-step-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.hm-step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background var(--transition,.18s), transform .2s; }
.hm-step-dot.is-active { background: var(--accent); transform: scale(1.3); }
.hm-field-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.hm-field-btn { padding: 10px 8px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px; font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all var(--transition,.18s); text-align: center; }
.hm-field-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(51,87,101,0.05); }
.hm-field-btn.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.hm-mkt-submit { width: 100%; padding: 13px 20px; background: #1A2A30; color: #fff; border: none; border-radius: 10px; font-family: var(--font); font-size: 13px; font-weight: 700; cursor: pointer; margin-top: 8px; transition: background .2s; }
.hm-mkt-submit:hover { background: #264455; }
@media (max-width: 380px) { .hm-field-grid { grid-template-columns: 1fr 1fr; } }

/* -- Dark Footer (service pages) -- */
.hm-mkt-footer { background: #1A2A30; border-radius: var(--radius-card,18px); margin: 8px 0 0; padding: 48px 20px 56px; }
.hm-mkt-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hm-mkt-footer__brand { display: flex; flex-direction: column; gap: 3px; }
.hm-mkt-footer__logo { font-size: 15px; font-weight: 900; color: #fff; text-decoration: none; }
.hm-mkt-footer__tagline { font-size: 10px; color: rgba(255,255,255,.5); }
.hm-mkt-footer__links { display: flex; flex-direction: column; gap: 5px; }
.hm-mkt-footer__links a { font-size: 11px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .18s; }
.hm-mkt-footer__links a:hover { color: #fff; }
.hm-mkt-footer__socials { display: flex; gap: 8px; align-items: center; }
.hm-mkt-footer__socials a { color: rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); transition: all .18s; }
.hm-mkt-footer__socials a:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.hm-mkt-footer__divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 12px 0 10px; }
.hm-mkt-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.hm-mkt-footer__bottom span { font-size: 10px; color: rgba(255,255,255,.4); }
.hm-mkt-footer__bottom a { color: rgba(255,255,255,.5); }
.hm-mkt-footer__bottom a:hover { color: #fff; }

/* -- Contact Page -- */
.hm-contact-row { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.hm-contact-row:last-child { border-bottom: none; }
.hm-contact-row .hm-contact-row-icon { flex-shrink: 0; padding-top: 2px; }
.hm-section .hm-card > .hm-contact-row { opacity: 1; transform: none; transition: none; }
.hm-contact-row--social { display: flex; flex-direction: row; gap: 12px; align-items: center; }
.hm-contact-row--social a { display: flex; align-items: center; justify-content: center; }
.hm-contact-row-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(51,87,101,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.hm-contact-row-label { font-size: 10px; color: var(--text-muted); display: block; margin-bottom: 2px; }
.hm-contact-row-value { font-size: 13px; font-weight: 700; color: var(--text); }
.hm-contact-row-value a { color: var(--text); transition: color .18s; }
.hm-contact-row-value a:hover { color: var(--accent); }

/* -- Timeline (Story Page) -- */
.hm-timeline { position: relative; padding-right: 28px; }
.hm-timeline::before { content: ''; position: absolute; right: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.hm-timeline-item { position: relative; margin-bottom: 44px; }
.hm-timeline-item:last-child { margin-bottom: 0; }
.hm-timeline-dot { position: absolute; right: -22px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2.5px solid var(--card-bg); box-shadow: 0 0 0 2px var(--accent); }
.hm-timeline-dot--alt   { background: #7F543D; box-shadow: 0 0 0 2px #7F543D; }
.hm-timeline-dot--pulse { animation: hm-pulse 2s infinite; }
@keyframes hm-pulse { 0%,100%{ box-shadow: 0 0 0 2px var(--accent) } 50%{ box-shadow: 0 0 0 6px rgba(51,87,101,.2) } }
.hm-timeline-badge     { display: inline-flex; font-size: 10px; font-weight: 900; color: #fff; background: var(--accent); border-radius: 6px; padding: 2px 8px; margin-bottom: 5px; }
.hm-timeline-badge--alt { background: #7F543D; }
.hm-timeline-year  { font-size: 10px; color: var(--text-muted); display: block; margin-bottom: 5px; }
.hm-timeline-title { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.hm-timeline-body  { font-size: 12px; color: var(--text-muted); line-height: 1.9; border-right: 3px solid var(--border); padding-right: 12px; margin-bottom: 10px; }
.hm-timeline-body--accent { color: var(--accent); font-weight: 700; border-right-color: var(--accent); }
.hm-timeline-img   { width: 100%; border-radius: 14px; height: 200px; background: var(--bg); display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--border); margin-top: 8px; font-size: 11px; color: var(--text-muted); overflow: hidden; }
.hm-timeline-img img { width: 100%; height: 100%; object-fit: cover; }

/* -- Archive (Blog) -- */
.hm-archive-list { display: flex; flex-direction: column; gap: 16px; }

.archive-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hm-archive-item { padding: 0; overflow: hidden; margin-bottom: 0; }

.hm-archive__link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  min-height: 120px;
}

.hm-archive__thumb-wrap {
  position: relative;
  width: 120px;
  min-width: 120px;
  flex-shrink: 0;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  overflow: hidden;
  background: var(--bg);
}

.hm-archive__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hm-archive__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.hm-archive__cat-chip {
  position: absolute;
  bottom: 8px;
  right: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
}

.hm-archive__body {
  flex: 1;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.hm-archive__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.hm-archive__excerpt {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.hm-archive__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.hm-archive__meta span:not(:last-child)::after {
  content: '·';
  margin-right: 8px;
}

.hm-archive-item .hm-win-bar {
  margin: 0 0 12px 0;
  width: 100%;
  border-radius: 16px 16px 0 0;
}

.hm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 8px 0 4px;
  flex-wrap: wrap;
}
.hm-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.hm-breadcrumb a:hover { color: var(--accent); }
.hm-breadcrumb__sep { color: var(--border); }
.hm-breadcrumb__current { color: var(--text); font-weight: 600; }
.hm-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.hm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--text-muted); background: var(--bg); border: 1.5px solid var(--border); transition: all .18s; }
.hm-pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.hm-pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* -- Single Post -- */
.hm-single-header { margin-bottom: 14px; }
.hm-single-title  { font-size: 18px; font-weight: 900; line-height: 1.5; margin: 10px 0; color: var(--text); }
.hm-single-meta   { display: flex; gap: 16px; font-size: 10px; color: var(--text-muted); flex-wrap: wrap; margin-top: 8px; }
.hm-single-thumb  { width: 100%; border-radius: 14px; max-height: 280px; object-fit: cover; margin-top: 14px; display: block; }
.hm-single-content p          { font-size: 13px; line-height: 2; color: var(--text); margin-bottom: 14px; }
.hm-single-content h2         { font-size: 17px; font-weight: 900; margin: 20px 0 10px; color: var(--text); }
.hm-single-content h3         { font-size: 15px; font-weight: 700; margin: 16px 0 8px; }
.hm-single-content a          { color: var(--accent); text-decoration: underline; }
.hm-single-content img        { width: 100%; border-radius: 10px; margin: 12px 0; display: block; }
.hm-single-content blockquote { border-right: 3px solid var(--accent); padding-right: 14px; color: var(--text-muted); font-style: italic; margin: 16px 0; }
.hm-single-content ul,
.hm-single-content ol         { padding-right: 20px; margin-bottom: 14px; }
.hm-single-content li         { margin-bottom: 6px; font-size: 13px; line-height: 1.8; }
.hm-single-content code       { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-size: 12px; }
.hm-single-content pre        { background: var(--bg); padding: 14px; border-radius: 10px; overflow-x: auto; margin-bottom: 14px; }
.hm-single-nav  { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; padding: 14px 0; }
.hm-single-nav a { color: var(--accent); }
.hm-single-nav a:hover { text-decoration: underline; }
.hm-author-box    { display: flex; align-items: center; gap: 12px; flex-direction: row-reverse; padding-top: 14px; }
.hm-author-avatar { border-radius: 50%; flex-shrink: 0; }
.hm-author-name   { font-size: 13px; font-weight: 700; color: var(--text); display: block; margin-bottom: 2px; }
.hm-author-bio    { font-size: 11px; color: var(--text-muted); line-height: 1.7; }

/* -- Utilities -- */
.hm-btn-full { width: 100%; display: block; text-align: center; }
.hm-section-title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 16px; line-height: 1.4; }
.hm-chip { font-weight: 600; }

/* -- CHANGE 7: Hide hook label/line on service pages -- */
.hm-mkt-hook .hm-mkt-label-text { display: none; }
.hm-mkt-hook .hm-mkt-line { display: none; }

/* -- CHANGE 8: Branding page animated icon -- */
.hm-page-title--branding {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.hm-brand-anim { display: none; }
@media (min-width: 481px) {
  .hm-brand-anim {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hm-brand-icon {
    animation: hm-brand-spin 3s ease-in-out infinite,
               hm-brand-pulse 3s ease-in-out infinite;
    transform-origin: center;
  }
}
@keyframes hm-brand-spin {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(72deg) scale(1.1); }
  50%  { transform: rotate(144deg) scale(1); }
  75%  { transform: rotate(216deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes hm-brand-pulse {
  0%, 100% { stroke: var(--accent); }
  50%       { stroke: var(--accent-sec); }
}

#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

.hm-nav-links > li > a { padding: 8px 12px; font-size: 12px; font-weight: 600; }
.hm-nav-controls { gap: 10px; padding: 0 4px; overflow: visible; align-items: center; }

.hm-footer-top { padding: 0 20px; margin-bottom: 16px; }
.hm-footer-bottom { padding: 0 20px; }
.hm-footer-contact { padding: 0 20px; margin-bottom: 16px; }
.hm-footer-story { padding: 0 20px; }
.hm-mkt-footer-inner { padding: 0 20px; }

.hm-mkt-hook-title { font-size: 17px; font-weight: 800; }
.hm-mkt-plain-title { font-size: 18px; }
.hm-mkt-crisis-title { font-size: 16px; }
.hm-mkt-collab-title { font-size: 20px; }
.hm-story-title { font-size: 18px; font-weight: 800; }
.hm-footer-logo { font-size: 14px; font-weight: 800; }
.hm-blog-item { padding-bottom: 16px; }

.hm-theme-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; overflow: hidden; flex-shrink: 0; }
.hm-theme-toggle svg { width: 18px; height: 18px; display: block; flex-shrink: 0; }
.hm-darkmode-toggle { overflow: hidden; }
.hm-darkmode-toggle svg { width: 18px; height: 18px; display: block; }

.hm-nav__dropdown { top: 100%; padding-top: 8px; }
.hm-has-dropdown { position: relative; }
.hm-has-dropdown > a::after { content: ''; display: block; position: absolute; bottom: -10px; left: 0; right: 0; height: 10px; }
.hm-dropdown { position: absolute; top: 100%; padding-top: 8px; z-index: 999; }
.hm-has-dropdown:hover .hm-dropdown,
.hm-has-dropdown:focus-within .hm-dropdown { display: block; }

/* === Window Controls === */
body { overflow-x: hidden; }
.hm-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 7px 12px 10px;
  margin: -24px -20px 16px;
  width: calc(100% + 40px);
  box-sizing: border-box;
  background: var(--border);
  border-radius: 12px 12px 0 0;
  border-bottom: 1.5px solid var(--border);
  user-select: none;
}
.hm-win-title {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
  direction: rtl;
}
.hm-win-controls {
  display: flex;
  gap: 7px;
  align-items: center;
}
.hm-btn-min,
.hm-btn-max,
.hm-btn-close {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 9px;
  line-height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: rgba(0,0,0,0.6);
  font-weight: 900;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.1s;
}
.hm-btn-close { background: #ED6A5E !important; }
.hm-btn-min   { background: #F5BF4F !important; }
.hm-btn-max   { background: #57C038 !important; }
.hm-btn-min:hover,
.hm-btn-max:hover,
.hm-btn-close:hover {
  opacity: 0.75;
  transform: scale(1.2);
}

/* Dock */
#hm-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 48px;
  background: var(--card-bg);
  border-top: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  z-index: 10000;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.hm-dock-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
  direction: rtl;
}
.hm-dock-item:hover {
  background: var(--border);
  transform: translateY(-3px);
}
/* Dock item entrance animation */
.hm-dock-item--new {
  transform: translateY(20px);
  opacity: 0;
}
.hm-dock-item--visible {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
/* === End Window Controls === */

/* === English / LTR === */
.hm-lang-en {
  direction: ltr;
  text-align: left;
}
.hm-lang-en .hm-win-bar {
  flex-direction: row;
}
.hm-lang-en .hm-win-title {
  direction: ltr;
}
.hm-lang-en .hm-dock-item {
  direction: ltr;
}
.hm-lang-en .hm-nav {
  direction: ltr;
}
.hm-lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
}
.hm-lang-btn {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all 0.2s;
}
.hm-lang-btn--active {
  color: var(--accent);
  border-color: var(--accent);
}
.hm-lang-btn:hover {
  background: var(--border);
  color: var(--text);
}
.hm-lang-en .hm-form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* === Floating Bar === */
.hm-floatbar {
  position: fixed;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 6px 8px;
  gap: 0;
  z-index: 10001;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
.hm-floatbar__btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.15s;
  padding: 0;
  text-decoration: none;
}
.hm-floatbar__btn:hover { background: var(--border); }
.hm-floatbar__lang {
  font-family: inherit;
  letter-spacing: 0.3px;
}
.hm-floatbar__divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 2px;
  flex-shrink: 0;
}
.hm-palette-circle {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: conic-gradient(#335765 0deg 90deg, #111111 90deg 180deg, #1A4A7A 180deg 270deg, #7F543D 270deg 360deg);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.hm-palette-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: none;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  z-index: 10002;
}
.hm-floatbar__palette-trigger { position: relative; }
.hm-palette-popover.is-open { display: flex; }
.hm-palette-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s, border-color 0.15s;
}
.hm-palette-dot:hover { transform: scale(1.2); }
.hm-palette-dot.is-active { border-color: var(--text); }
/* === End Floating Bar === */

@media (max-width: 480px) {
  .hm-nav__links { display: none; }
  .hm-nav__logo {
    display: none;
    width: 0;
    overflow: hidden;
  }

  .hm-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 16px;
    z-index: 200;
    justify-content: flex-end;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .hm-wrap {
    padding-top: 56px;
  }

  .hm-nav__controls {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .hm-nav__hamburger {
    display: block;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text);
    width: 40px;
    height: 40px;
  }

  .hm-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hm-nav__hamburger.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hm-nav__hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .hm-nav__hamburger.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hm-floatbar {
    bottom: 80px;
    left: auto;
    right: 12px;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,0.18) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 16px;
    padding: 6px 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }

  .hm-floatbar__divider {
    width: 80%;
    height: 1px;
    margin: 2px 0;
  }
}
.hm-lang-en .hm-label {
  text-align: left;
  margin-bottom: 4px;
}
.hm-lang-en .hm-field {
  text-align: left;
  direction: ltr;
}
.hm-lang-en .hm-comp-grid {
  direction: ltr;
}
.hm-lang-en .hm-services-grid {
  direction: ltr;
}
.hm-lang-en .hm-footer {
  direction: ltr;
  text-align: left;
}
.hm-lang-en .hm-card {
  padding: 24px 20px;
}
.hm-lang-en .hm-win-bar {
  margin: -24px -20px 16px;
  padding: 7px 10px 10px;
}
.hm-lang-en .hm-service-icon {
  margin-bottom: 10px;
}
.hm-lang-en .hm-comp-item {
  padding: 16px 14px;
}
.hm-lang-en .hm-comp-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hm-lang-en .hm-field {
  width: 100%;
  box-sizing: border-box;
}
.hm-lang-en .hm-form-group {
  width: 100%;
}
/* === End English / LTR === */

/* Bottom Sheet Submenu */
.hm-sheet__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  direction: rtl;
  text-align: right;
  font-family: inherit;
}
.hm-sheet__chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}
.hm-sheet__group-toggle[aria-expanded="true"] .hm-sheet__chevron {
  transform: rotate(180deg);
}
.hm-sheet__sub {
  list-style: none;
  padding: 0 16px 8px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
}
.hm-sheet__sub.is-open {
  max-height: 300px;
}
.hm-sheet__sub a {
  display: block;
  padding: 10px 4px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  text-align: right;
  direction: rtl;
}

/* Mobile Focus Mode */
@media (max-width: 480px) {
  .hm-card--dimmed {
    opacity: 0.25;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .hm-card--focused {
    position: relative;
    z-index: 100;
  }
}
