/**
 * TrendMix Layout Styles
 * Header, Footer, Navigation, Page Structures, Service Archive, Single Service
 *
 * @package TrendMix
 */

/* ═══════════════════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background-color: var(--glass-bg);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-6);
}

/* Logo */
.site-logo-wrap {
  flex-shrink: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  max-height: 44px;
  width: auto;
}

.site-name {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
}

/* Primary Nav */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-1);
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
  margin: 0;
}

.nav-item > .nav-link,
.nav-item > a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item:hover > a {
  color: var(--color-primary);
  background-color: var(--color-neutral-50);
}

.nav-item.current-menu-item > a,
.nav-item.current-menu-ancestor > a {
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  position: relative;
}

.nav-item.current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

/* Dropdown */
.nav-item.menu-item-has-children > ul {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  min-width: 220px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
  z-index: var(--z-dropdown);
}

.nav-item.menu-item-has-children:hover > ul,
.nav-item.menu-item-has-children:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.menu-item-has-children > ul li {
  margin: 0;
}

.nav-item.menu-item-has-children > ul li a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

.nav-item.menu-item-has-children > ul li a:hover {
  background-color: var(--color-neutral-50);
  color: var(--color-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}

.lang-btn {
  padding: var(--space-1) var(--space-3);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
  font-size: var(--text-sm);
}

.lang-btn:hover,
.lang-btn.is-active {
  color: var(--color-primary);
  background-color: var(--color-neutral-100);
}

.lang-sep {
  color: var(--color-neutral-300);
  font-size: var(--text-xs);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background-color: var(--color-neutral-100);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Close Button */
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  transition: background-color var(--transition-fast);
}

.mobile-menu-close:hover {
  background-color: var(--color-neutral-100);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: var(--z-overlay);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  display: none;
}

.mobile-nav.is-open {
  display: block;
  transform: translateX(0);
}

body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.mobile-nav-inner {
  padding: var(--space-4);
}

.mobile-nav-menu,
.mobile-nav .nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu li,
.mobile-nav .nav-menu li {
  margin: 0;
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-menu li:last-child,
.mobile-nav .nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu a,
.mobile-nav .nav-menu a {
  display: block;
  padding: var(--space-4) var(--space-2);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-nav-menu a:hover,
.mobile-nav .nav-menu a:hover {
  color: var(--color-accent);
}

.mobile-nav-menu li.current-menu-item > a,
.mobile-nav .nav-menu li.current-menu-item > a {
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
}

/* Sub-menu in mobile */
.mobile-nav-menu .sub-menu {
  padding-left: var(--space-4);
  list-style: none;
  border-top: 1px solid var(--color-border-light);
}

.mobile-nav .nav-menu .sub-menu {
  padding-right: var(--space-4);
}

.mobile-nav-menu .sub-menu li,
.mobile-nav .nav-menu .sub-menu li {
  border-bottom: none;
}

.mobile-nav-menu .sub-menu a {
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-2);
  color: var(--color-text-muted);
}

.mobile-nav-navigation {
  margin-bottom: var(--space-6);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-nav-actions .btn {
  width: 100%;
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════════ */

.site-footer {
  background-color: var(--color-primary-900);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
  border-top: 1px solid var(--color-primary-800);
}

.footer-top {
  padding: var(--space-20) 0 var(--space-16);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-12) 0 var(--space-8);
  }
}

/* Column 1: logo + description. Styling lives on .footer-logo and the
   description block below. */

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer-logo img {
  max-height: 40px;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
}

.footer-tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-6);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

.footer-social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.footer-col-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-5);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: var(--space-3);
}

.footer-nav-list a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ═══════════════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════════════ */

.site-main {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════
   PAGE HERO
═══════════════════════════════════════════════════ */

.page-hero {
  padding: var(--space-20) 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-hero-dark {
  background-color: var(--color-neutral-800);
  border-bottom: none;
}

.page-hero-dark .page-hero-title,
.page-hero-dark .page-hero-subtitle {
  color: var(--color-white);
}

.page-hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-4);
}

.page-hero-dark .page-hero-label {
  color: var(--color-accent-light);
}

.page-hero-title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
  max-width: 800px;
}

@media (max-width: 768px) {
  .page-hero-title { font-size: var(--text-4xl); }
}

@media (max-width: 640px) {
  .page-hero-title { font-size: var(--text-3xl); }
}

.page-hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-bottom: 0;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* ═══════════════════════════════════════════════════
   HOME PAGE SECTIONS
═══════════════════════════════════════════════════ */

/* Hero (Home) */
.tm-hero {
  padding: var(--space-32) 0;
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.home-hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-5);
}

.home-hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  max-width: 700px;
}

@media (max-width: 1024px) {
  .home-hero-title { font-size: var(--text-5xl); }
}

@media (max-width: 768px) {
  .home-hero-title { font-size: var(--text-4xl); }
  .home-hero { padding: var(--space-20) 0; }
}

@media (max-width: 640px) {
  .home-hero-title { font-size: var(--text-3xl); }
}

.home-hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin-bottom: var(--space-10);
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Stats section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-item {
  padding: var(--space-8) var(--space-6);
  border-right: 1px solid var(--color-border);
  text-align: center;
}

.stat-item:last-child,
.stat-item:nth-child(2n):last-child {
  border-right: none;
}

@media (max-width: 1024px) {
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
}

.stat-value {
  display: block;
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; }
}

.process-step {
  position: relative;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.process-step-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.process-step-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════
   SERVICES ARCHIVE
═══════════════════════════════════════════════════ */

.services-archive-header {
  padding: var(--space-16) 0 var(--space-8);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-12);
}

.services-filter {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.service-filter-tab {
  display: inline-flex;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast);
  text-decoration: none;
}

.service-filter-tab:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.service-filter-tab.is-active {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   SINGLE SERVICE PAGE
═══════════════════════════════════════════════════ */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-12);
  align-items: start;
  padding: var(--space-12) 0;
}

@media (max-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.service-detail-header {
  margin-bottom: var(--space-6);
}

.service-detail-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-3);
}

.service-detail-title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .service-detail-title { font-size: var(--text-3xl); }
}

.service-detail-title-ar {
  font-size: var(--text-2xl);
  font-family: var(--font-arabic);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-4);
}

.service-detail-excerpt {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.service-detail-image {
  margin-bottom: var(--space-8);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: auto;
}

.service-detail-content {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.service-detail-content h2,
.service-detail-content h3 {
  color: var(--color-primary);
  margin-top: var(--space-8);
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.service-sidebar-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.service-price-display {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border-light);
}

.service-price-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.service-price-amount {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.service-price-currency {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  vertical-align: super;
  margin-right: var(--space-1);
}

/* Service features list */
.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: 0;
}

.feature-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border-radius: 50%;
  font-size: 11px;
  font-weight: var(--fw-bold);
  margin-top: 1px;
}

/* Manager Info Card */
.manager-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background-color: var(--color-neutral-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.manager-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-neutral-200);
}

.manager-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manager-name {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.manager-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════
   FRONT PAGE SECTIONS
═══════════════════════════════════════════════════ */

.tm-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.tm-hero-primary {
  background-color: var(--color-primary);
}

.tm-hero .container {
  max-width: var(--container-max);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

.tm-hero .grid {
  display: grid;
  gap: var(--space-8);
}

.tm-hero .grid-cols-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tm-hero .md\:grid-cols-12 {
    grid-template-columns: repeat(12, 1fr);
  }
  .tm-hero .md\:col-span-7 { grid-column: span 7; }
  .tm-hero .md\:col-span-5 { grid-column: span 5; }
}

.tm-hero .btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.tm-hero .btn-primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

.tm-hero .btn-outline-white {
  background-color: transparent;
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
  border-radius: var(--radius-base);
}

.tm-hero .btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-neutral-900);
}

.tm-hero .btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.tm-hero .text-display-md {
  font-size: var(--text-5xl);
  font-family: var(--font-arabic);
  font-weight: var(--fw-bold);
  line-height: 1.1;
}

.tm-hero .text-display-sm {
  font-size: var(--text-3xl);
  font-family: var(--font-arabic);
  font-weight: var(--fw-bold);
}

.tm-hero .text-body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.tm-hero .font-extrabold { font-weight: 800; }
.tm-hero .tracking-tight { letter-spacing: var(--tracking-tight); }
.tm-hero .text-white { color: #fff; }

.tm-hero .space-y-4 > *:not([hidden]) ~ *:not([hidden]) { margin-top: 1rem; margin-bottom: 0; }
.tm-hero .flex-wrap { flex-wrap: wrap; }
.tm-hero .gap-4 { gap: 1rem; }

.tm-hero .shadow-lg { box-shadow: var(--shadow-lg); }
.tm-hero .hover\:shadow-xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.tm-hero .transition-all { transition: all 150ms ease-in-out; }

.tm-hero .grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.tm-hero .grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.tm-hero .lg\:grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .tm-hero .lg\:grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .tm-hero .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .tm-hero .md\:grid-cols-2 { grid-template-columns: 1fr; }
  .tm-hero .md\:col-span-7 { grid-column: span 12; }
  .tm-hero .md\:col-span-5 { grid-column: span 12; }
  .tm-hero .hidden.md\:block { display: none; }
  .tm-hero .text-display-md { font-size: var(--text-4xl); }
  .tm-hero .text-display-sm { font-size: var(--text-2xl); }
}

/* Stats Bar */
.stats-bar {
  background-color: var(--color-neutral-900);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-bar .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

@media (max-width: 1024px) {
  .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .stats-bar .stats-grid { grid-template-columns: 1fr; }
}

.stats-bar .stat-value {
  display: block;
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
}

.stats-bar .stat-label {
  font-size: var(--text-sm);
}

/* Services Preview */
.services-preview .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .services-preview .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-preview .services-grid { grid-template-columns: 1fr; }
}

.services-preview .service-card {
  background-color: var(--color-neutral-800);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all 300ms ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-preview .service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.services-preview .service-card .group:hover .text-primary {
  color: var(--color-primary);
}

.services-preview .btn-ghost {
  background-color: transparent;
  border: none;
  color: var(--color-primary);
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.services-preview .btn-ghost:hover {
  color: var(--color-accent);
}

/* Why Choose */
.why-choose .grid-gap-12 {
  gap: 3rem;
}

@media (max-width: 1024px) {
  .why-choose .md\:grid-cols-2 { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .why-choose .md\:grid-cols-2 { grid-template-columns: 1fr 1fr; }
}

.why-choose .items-center {
  align-items: start;
}

.why-choose .rounded-3xl { border-radius: 32px; }

/* Section spacing helpers */
.section-spacing { padding: var(--space-16) 0; }
.section-spacing-lg { padding: var(--space-24) 0; }

@media (max-width: 1024px) {
  .section-spacing { padding: var(--space-12) 0; }
  .section-spacing-lg { padding: var(--space-20) 0; }
}

@media (max-width: 768px) {
  .section-spacing { padding: var(--space-10) 0; }
  .section-spacing-lg { padding: var(--space-16) 0; }
}

/* ═══════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.post-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
}

.post-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-neutral-100);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: var(--space-5) var(--space-6);
}

.post-card-date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-2);
}

.post-card-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.post-card-title a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ═══════════════════════════════════════════════════
   RESPONSIVE MOBILE
═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .site-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-actions .btn-ghost {
    display: none;
  }

  .page-hero {
    padding: var(--space-12) 0;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-lg {
    padding: var(--space-20) 0;
  }
}

/* ═══════════════════════════════════════════════════
   TREND360 REDESIGN - HOMEPAGE SECTIONS
   ═══════════════════════════════════════════════════ */

/* Hero */
.tm-hero--premium {
  padding: var(--space-28) 0 var(--space-20);
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.tm-hero--premium::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.tm-hero__grid {
  display: grid;
  gap: var(--space-12);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .tm-hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.tm-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
}

.tm-hero__title {
  font-size: var(--text-5xl);
  font-family: var(--font-arabic);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

@media (max-width: 1024px) {
  .tm-hero__title { font-size: var(--text-4xl); }
}

@media (max-width: 768px) {
  .tm-hero__title { font-size: var(--text-3xl); }
}

.tm-hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.tm-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Why Section */
.tm-why {
  background-color: var(--color-white);
}

.tm-why__grid {
  display: grid;
  gap: var(--space-12);
  text-align: center;
}

@media (min-width: 768px) {
  .tm-why__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tm-why__item {
  padding: var(--space-4);
}

.tm-why__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-accent);
  color: var(--color-neutral-800);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.tm-why__item h3 {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-neutral-800);
  margin-bottom: var(--space-2);
}

.tm-why__item p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* Services Store */
.tm-services {
  background-color: var(--color-neutral-50);
}

.tm-services .tm-section-header--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}



.tm-section-title {
  font-size: var(--text-4xl);
  font-family: var(--font-arabic);
  font-weight: var(--fw-bold);
  color: var(--color-neutral-800);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}



.tm-categories-nav {
  margin-bottom: var(--space-10);
  overflow-x: auto;
}

.tm-categories-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: fit-content;
}

.tm-category-link {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tm-category-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}

.tm-category-link.is-active {
  color: var(--color-white);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.tm-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .tm-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .tm-product-grid { grid-template-columns: 1fr; }
}

.tm-product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.tm-product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.tm-product-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.tm-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-product-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tm-product-card__meta {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.tm-product-tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-accent);
  background: rgba(47, 191, 160, 0.1);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
}

.tm-product-card__title {
  font-size: var(--text-xl);
  font-family: var(--font-arabic);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.tm-product-card__title a {
  color: var(--color-neutral-800);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.tm-product-card__title a:hover {
  color: var(--color-primary);
}

.tm-product-card__desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  flex: 1;
}

.tm-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
  gap: var(--space-4);
}

.tm-product-price .tm-price__amount {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.tm-section-cta {
  text-align: center;
  margin-top: var(--space-12);
}



/* Why Choose Grid */
.tm-why-choose__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 1024px) {
  .tm-why-choose__grid { grid-template-columns: 1fr; }
}

.tm-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tm-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.tm-checklist__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  margin-top: 2px;
}

/* Secondary CTA */
.tm-cta--secondary {
  background-color: var(--color-primary);
  text-align: center;
  padding: var(--space-16) 0;
}

@media (max-width: 768px) {
  .tm-cta--secondary { padding: var(--space-12) 0; }
}

.tm-cta__title {
  font-size: var(--text-3xl);
  font-family: var(--font-arabic);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
  .tm-cta__title { font-size: var(--text-2xl); }
}

.tm-cta__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}

.tm-text-center { text-align: center; }

/* Button Variants */
.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-base);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
}

.btn--gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background-color: var(--color-accent);
  color: var(--color-neutral-800);
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-base);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn--gold:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-base);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn--outline:hover {
  background-color: var(--color-neutral-50);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.tm-metric {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.tm-metric__value {
  display: block;
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
}

.tm-metric__label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}
/* =========================================================
   TREND360 — PROFESSIONAL SPACING & LAYOUT OVERRIDES
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL CONTAINER
   --------------------------------------------------------- */

.container {
    width: min(100% - 48px, var(--container-max));
    margin-inline: auto;
    padding-inline: 0;
}

/* Prevent content from touching the viewport */
.site-main,
.site-header,
.site-footer {
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, var(--container-max));
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 24px, var(--container-max));
    }
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.site-header-inner {
    padding-inline: 24px;
}

@media (max-width: 768px) {
    .site-header-inner {
        padding-inline: 16px;
    }
}


/* ---------------------------------------------------------
   PAGE HERO
   --------------------------------------------------------- */

.page-hero {
    padding: clamp(64px, 8vw, 112px) 24px;
}

.page-hero .container {
    max-width: var(--container-max);
    margin-inline: auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 56px 16px;
    }
}


/* ---------------------------------------------------------
   HOME HERO
   --------------------------------------------------------- */

.home-hero,
.tm-hero--premium {
    padding-inline: 24px;
}

@media (max-width: 768px) {
    .home-hero,
    .tm-hero--premium {
        padding-inline: 16px;
    }
}


/* ---------------------------------------------------------
   GENERAL SECTIONS
   --------------------------------------------------------- */

.section-spacing {
    padding: clamp(64px, 7vw, 104px) 24px;
}

.section-spacing-lg {
    padding: clamp(80px, 9vw, 136px) 24px;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 56px 16px;
    }

    .section-spacing-lg {
        padding: 72px 16px;
    }
}


/* ---------------------------------------------------------
   SERVICES
   --------------------------------------------------------- */

.services-archive-header {
    padding-inline: 24px;
}

.services-grid,
.tm-product-grid,
.services-preview .services-grid {
    padding-inline: 0;
}

.tm-services {
    padding-inline: 24px;
}

@media (max-width: 768px) {
    .services-archive-header,
    .tm-services {
        padding-inline: 16px;
    }
}


/* ---------------------------------------------------------
   SERVICE CARDS
   --------------------------------------------------------- */

.tm-product-card,
.services-preview .service-card,
.post-card {
    box-sizing: border-box;
}

.tm-product-card__body {
    padding: 28px;
}

@media (max-width: 768px) {
    .tm-product-card__body {
        padding: 24px;
    }
}


/* ---------------------------------------------------------
   WHY SECTION
   --------------------------------------------------------- */

.tm-why {
    padding-inline: 24px;
}

.tm-why__item {
    padding: 24px;
}

@media (max-width: 768px) {
    .tm-why {
        padding-inline: 16px;
    }

    .tm-why__item {
        padding: 20px 12px;
    }
}


/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.tm-faq {
    padding-inline: 24px;
}

.tm-faq-question {
    padding: 20px 24px;
}

.tm-faq-answer-inner {
    padding: 0 24px 24px;
}

@media (max-width: 768px) {
    .tm-faq {
        padding-inline: 16px;
    }

    .tm-faq-question {
        padding: 18px 20px;
    }

    .tm-faq-answer-inner {
        padding: 0 20px 20px;
    }
}


/* ---------------------------------------------------------
   SERVICE DETAIL
   --------------------------------------------------------- */

.service-detail {
    padding: clamp(56px, 7vw, 96px) 24px;
}

.service-detail-content {
    max-width: 820px;
}

.service-detail-content p {
    margin-bottom: 1.25rem;
}

.service-detail-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.service-detail-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .service-detail {
        padding: 48px 16px;
    }
}


/* ---------------------------------------------------------
   BLOG
   --------------------------------------------------------- */

.blog-grid {
    padding-inline: 24px;
}

.post-card-body {
    padding: 28px;
}

@media (max-width: 768px) {
    .blog-grid {
        padding-inline: 16px;
    }

    .post-card-body {
        padding: 22px;
    }
}


/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.stats-bar {
    padding-inline: 24px;
}

.stats-bar .stats-grid {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

@media (max-width: 768px) {
    .stats-bar {
        padding-inline: 16px;
    }
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.tm-cta--secondary {
    padding-inline: 24px;
}

.tm-cta__title,
.tm-cta__subtitle {
    margin-inline: auto;
}

@media (max-width: 768px) {
    .tm-cta--secondary {
        padding-inline: 16px;
    }
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {
    padding-inline: 24px;
}

.footer-top,
.footer-bottom {
    max-width: var(--container-max);
    margin-inline: auto;
}

@media (max-width: 768px) {
    .site-footer {
        padding-inline: 16px;
    }
}


/* ---------------------------------------------------------
   ARABIC / RTL
   --------------------------------------------------------- */

[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .service-detail,
[dir="rtl"] .tm-hero,
[dir="rtl"] .tm-services,
[dir="rtl"] .tm-why,
[dir="rtl"] .tm-faq {
    text-align: right;
}

[dir="rtl"] .tm-hero__actions,
[dir="rtl"] .home-hero-actions {
    justify-content: flex-start;
}


/* ---------------------------------------------------------
   BETTER TEXT READABILITY
   --------------------------------------------------------- */

.tm-product-card__desc,
.service-detail-content,
.tm-checklist li,
.tm-why__item p {
    max-width: 70ch;
}

.tm-section-title {
    max-width: 800px;
}

.tm-section-header--center .tm-section-title {
    margin-inline: auto;
}


/* ---------------------------------------------------------
   PROFESSIONAL HOVER / FOCUS
   --------------------------------------------------------- */

.tm-product-card,
.post-card,
.service-sidebar-card,
.faq-item,
.tm-faq-item {
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.tm-product-card:hover,
.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}


/* ---------------------------------------------------------
   PREVENT HORIZONTAL OVERFLOW
   --------------------------------------------------------- */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
}


/* ---------------------------------------------------------
   MOBILE SPACING
   --------------------------------------------------------- */

@media (max-width: 640px) {

    .tm-section-title {
        font-size: var(--text-3xl);
    }

    .tm-hero__subtitle {
        font-size: var(--text-base);
    }

    .tm-hero__actions,
    .home-hero-actions {
        width: 100%;
    }

    .tm-hero__actions .btn,
    .home-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .tm-product-card__footer {
        flex-direction: column;
        align-items: stretch;
    }
}
/**
 * TrendMix — الصفحة الرئيسية
 *
 * تصميم الصفحة الرئيسية لموقع تريند 360
 */

/* =========================================================
   الحاوية والمسافات العامة
   ========================================================= */

.site-main {
    overflow: hidden;
}

.tm-hero,
.tm-services,
.tm-why,
.tm-packages,
.tm-why-choose,
.tm-faq,
.tm-cta {
    position: relative;
}

.tm-hero .container,
.tm-services .container,
.tm-why .container,
.tm-packages .container,
.tm-why-choose .container,
.tm-faq .container,
.tm-cta .container {
    width: 100%;
    max-width: var(--container-max, 1280px);
    margin-inline: auto;
    padding-inline: var(--container-padding, 24px);
}


/* =========================================================
   العناوين المشتركة
   ========================================================= */

.tm-section-header {
    max-width: 760px;
    margin-bottom: 48px;
}

.tm-section-header--center {
    margin-inline: auto;
    text-align: center;
}

.tm-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--color-primary, #0fa96b);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tm-section-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--color-accent, #2fbfa0);
    border-radius: 999px;
}

.tm-section-header--center .tm-section-eyebrow {
    justify-content: center;
}

.tm-section-title {
    margin: 0;
    color: var(--color-text-primary, #18181b);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.tm-section-subtitle {
    max-width: 680px;
    margin: 16px auto 0;
    color: var(--color-text-secondary, #3f3f46);
    font-size: 17px;
    line-height: 1.85;
}


/* =========================================================
   القسم الرئيسي
   ========================================================= */

.tm-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background: var(--color-primary);
    border-bottom: 1px solid var(--color-border, #e7e7ea);
}

.tm-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 80px;
    padding-block: 90px;
}

.tm-hero__content {
    max-width: 680px;
}

.tm-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 7px 14px;
    color: var(--color-primary, #0fa96b);
    background: var(--color-primary-soft, #eaf7f3);
    border: 1px solid rgba(15, 169, 107, 0.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.tm-hero__title {
    max-width: 680px;
    margin: 0;
    color: var(--color-text-primary, #18181b);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.tm-hero__subtitle {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--color-text-secondary, #3f3f46);
    font-size: 18px;
    line-height: 1.9;
}

.tm-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}


/* =========================================================
   العنصر البصري في البطل
   ========================================================= */

.tm-hero__visual {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tm-hero__visual::before {
    content: "";
    position: absolute;
    inset: 8% 8%;
    border: 1px solid rgba(15, 169, 107, 0.12);
    border-radius: 28px;
    transform: rotate(-3deg);
}

.tm-hero__visual::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: 8%;
    right: 5%;
    background: rgba(47, 191, 160, 0.08);
    border-radius: 50%;
    filter: blur(2px);
}

.tm-hero__visual-card {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
    padding: 42px;
    background: #ffffff;
    border: 1px solid var(--color-border, #e7e7ea);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(24, 24, 27, 0.09);
}

.tm-hero__visual-card h2 {
    margin: 24px 0 14px;
    color: var(--color-text-primary, #18181b);
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
}

.tm-hero__visual-card p {
    margin: 0;
    color: var(--color-text-secondary, #3f3f46);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   الشارات
   ========================================================= */

.tm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.tm-badge--gold {
    color: #0a5f6b;
    background: #e6f7f4;
    border: 1px solid rgba(47, 191, 160, 0.28);
}


/* =========================================================
   الخدمات
   ========================================================= */

.tm-services {
    background: #ffffff;
}

.tm-categories-nav {
    margin-bottom: 40px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tm-categories-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    color: var(--color-text-secondary, #3f3f46);
    background: #ffffff;
    border: 1px solid var(--color-border, #e7e7ea);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        color var(--transition-base, 220ms ease),
        background var(--transition-base, 220ms ease),
        border-color var(--transition-base, 220ms ease),
        transform var(--transition-base, 220ms ease);
}

.tm-category-link:hover {
    color: var(--color-primary, #0fa96b);
    border-color: rgba(15, 169, 107, 0.25);
    transform: translateY(-1px);
}

.tm-category-link.is-active {
    color: #ffffff;
    background: var(--color-primary, #0fa96b);
    border-color: var(--color-primary, #0fa96b);
}


/* =========================================================
   شبكة الخدمات والباقات
   ========================================================= */

.tm-services-grid,
.tm-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tm-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border, #e7e7ea);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(24, 24, 27, 0.04);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.tm-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 169, 107, 0.18);
    box-shadow: 0 16px 36px rgba(24, 24, 27, 0.08);
}

.tm-product-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f4f5;
}

.tm-product-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 350ms ease;
}

.tm-product-card:hover .tm-product-card__image img {
    transform: scale(1.025);
}

.tm-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.tm-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.tm-product-tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    color: var(--color-primary, #0fa96b);
    background: var(--color-primary-soft, #eaf7f3);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.tm-product-card__title {
    margin: 0;
    color: var(--color-text-primary, #18181b);
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;
}

.tm-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.tm-product-card__title a:hover {
    color: var(--color-primary, #0fa96b);
}

.tm-product-card__desc {
    margin: 12px 0 0;
    color: var(--color-text-secondary, #3f3f46);
    font-size: 14px;
    line-height: 1.8;
}

.tm-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}

.tm-product-price {
    display: flex;
    align-items: center;
}

.tm-price__amount {
    color: var(--color-primary, #0fa96b);
    font-size: 18px;
    font-weight: 700;
}

.tm-price__custom {
    color: var(--color-text-muted, #71717a);
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   أزرار الصفحة
   ========================================================= */

.tm-section-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.tm-hero .btn,
.tm-section-cta .btn,
.tm-cta .btn {
    min-height: 48px;
    padding-inline: 24px;
}

.tm-hero .btn--primary,
.tm-section-cta .btn--primary {
    background: var(--color-primary, #0fa96b);
    border-color: var(--color-primary, #0fa96b);
    color: #ffffff;
}

.tm-hero .btn--primary:hover,
.tm-section-cta .btn--primary:hover {
    background: var(--color-primary-dark, #0a6b4a);
    border-color: var(--color-primary-dark, #0a6b4a);
}

.tm-hero .btn--outline {
    color: var(--color-primary, #0fa96b);
    background: #ffffff;
    border: 1px solid rgba(15, 169, 107, 0.28);
}

.tm-hero .btn--outline:hover {
    color: #ffffff;
    background: var(--color-primary, #0fa96b);
    border-color: var(--color-primary, #0fa96b);
}

.tm-product-card .btn--ghost {
    min-height: 38px;
    padding-inline: 14px;
    color: var(--color-primary, #0fa96b);
    border: 1px solid rgba(15, 169, 107, 0.16);
    background: #ffffff;
}

.tm-product-card .btn--ghost:hover {
    color: #ffffff;
    background: var(--color-primary, #0fa96b);
    border-color: var(--color-primary, #0fa96b);
}


/* =========================================================
   لماذا تريند 360
   ========================================================= */

.tm-why {
    background: #f7f7f8;
    border-block: 1px solid var(--color-border, #e7e7ea);
}

.tm-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tm-why__item {
    position: relative;
    min-height: 250px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--color-border, #e7e7ea);
    border-radius: 16px;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.tm-why__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(24, 24, 27, 0.06);
}

.tm-why__number {
    margin-bottom: 42px;
    color: var(--color-accent-dark, #0d7a8a);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tm-why__item h3 {
    margin: 0 0 12px;
    color: var(--color-text-primary, #18181b);
    font-size: 19px;
    line-height: 1.45;
}

.tm-why__item p {
    margin: 0;
    color: var(--color-text-secondary, #3f3f46);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   الباقات
   ========================================================= */

.tm-packages {
    background: #ffffff;
}

.tm-package-card {
    position: relative;
}

.tm-package-card .tm-product-card__body {
    padding: 26px;
}

.tm-package-card .tm-product-card__title {
    font-size: 21px;
}

.tm-package-card .tm-product-card__footer {
    justify-content: flex-start;
}


/* =========================================================
   لماذا نحن
   ========================================================= */

.tm-why-choose {
    background: #f7f7f8;
    border-block: 1px solid var(--color-border, #e7e7ea);
}

.tm-why-choose__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
}

.tm-why-choose__item--image {
    overflow: hidden;
    border-radius: 20px;
    background: #e4e4e7;
}

.tm-why-choose__item--image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tm-why-choose .tm-section-header {
    margin-bottom: 28px;
}

.tm-why-choose .tm-section-title {
    font-size: clamp(30px, 4vw, 44px);
}

.tm-why-choose .tm-section-subtitle {
    margin-inline: 0;
}

.tm-checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    color: var(--color-text-secondary, #3f3f46);
    background: #ffffff;
    border: 1px solid var(--color-border, #e7e7ea);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.tm-checklist__icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #0fa96b);
    background: var(--color-primary-soft, #eaf7f3);
    border-radius: 50%;
}


/* =========================================================
   الأسئلة الشائعة
   ========================================================= */

.tm-faq {
    background: #ffffff;
}

.tm-faq__list {
    max-width: 860px;
    margin-inline: auto;
    border-top: 1px solid var(--color-border, #e7e7ea);
}

.tm-faq-item {
    border-bottom: 1px solid var(--color-border, #e7e7ea);
}

.tm-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 4px;
    color: var(--color-text-primary, #18181b);
    background: transparent;
    border: 0;
    text-align: start;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
}

.tm-faq-question:hover {
    color: var(--color-primary, #0fa96b);
}

.tm-faq-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: var(--color-primary, #0fa96b);
    transition: transform 220ms ease;
}

.tm-faq-question[aria-expanded="true"] .tm-faq-icon {
    transform: rotate(180deg);
}

.tm-faq-answer {
    padding: 0 4px 24px;
}

.tm-faq-answer-inner {
    max-width: 760px;
    color: var(--color-text-secondary, #3f3f46);
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   الدعوة للتواصل
   ========================================================= */

.tm-cta {
    background: #ffffff;
}

.tm-cta--secondary {
    background: var(--color-primary, #0fa96b);
}

.tm-cta__content {
    max-width: 760px;
    margin-inline: auto;
    padding: 76px 32px;
}

.tm-cta--secondary .tm-section-eyebrow {
    color: #ffffff;
}

.tm-cta--secondary .tm-section-eyebrow::before {
    background: var(--color-accent, #2fbfa0);
}

.tm-cta__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
    font-weight: 700;
}

.tm-cta__subtitle {
    max-width: 620px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.85;
}

.tm-cta .btn--gold {
    margin-top: 28px;
    color: #18181b;
    background: var(--color-accent, #2fbfa0);
    border-color: var(--color-accent, #2fbfa0);
}

.tm-cta .btn--gold:hover {
    background: var(--color-accent-light, #d9fff0);
    border-color: var(--color-accent-light, #d9fff0);
}


/* =========================================================
   الحالة الفارغة
   ========================================================= */

.tm-empty-state {
    padding: 56px 24px;
    text-align: center;
    background: #fafafa;
    border: 1px dashed var(--color-border-strong, #d4d4d8);
    border-radius: 16px;
}

.tm-empty-state h3 {
    margin: 0 0 8px;
    color: var(--color-text-primary, #18181b);
    font-size: 20px;
}

.tm-empty-state p {
    margin: 0;
    color: var(--color-text-muted, #71717a);
}


/* =========================================================
   دعم RTL
   ========================================================= */

[dir="rtl"] .tm-hero__content,
[dir="rtl"] .tm-product-card__body,
[dir="rtl"] .tm-why__item,
[dir="rtl"] .tm-why-choose__item,
[dir="rtl"] .tm-faq,
[dir="rtl"] .tm-cta {
    text-align: right;
}

[dir="rtl"] .tm-section-header--center,
[dir="rtl"] .tm-cta__content {
    text-align: center;
}

[dir="rtl"] .tm-hero__actions {
    justify-content: flex-start;
}

[dir="rtl"] .tm-checklist li {
    flex-direction: row;
}

[dir="rtl"] .tm-faq-question {
    text-align: right;
}


/* =========================================================
   الشاشات المتوسطة
   ========================================================= */

@media (max-width: 1100px) {

    .tm-hero__grid {
        grid-template-columns: 1fr 0.8fr;
        gap: 48px;
    }

    .tm-hero__title {
        font-size: clamp(38px, 5vw, 56px);
    }

    .tm-services-grid,
    .tm-packages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .tm-why-choose__grid {
        gap: 48px;
    }
}


/* =========================================================
   الأجهزة اللوحية
   ========================================================= */

@media (max-width: 768px) {

    .tm-hero {
        min-height: auto;
    }

    .tm-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-block: 64px;
    }

    .tm-hero__content {
        max-width: none;
        text-align: center;
    }

    .tm-hero__eyebrow {
        margin-inline: auto;
    }

    .tm-hero__title {
        max-width: 720px;
        margin-inline: auto;
        font-size: clamp(36px, 8vw, 52px);
    }

    .tm-hero__subtitle {
        margin-inline: auto;
        font-size: 16px;
    }

    .tm-hero__actions {
        justify-content: center;
    }

    .tm-hero__visual {
        min-height: 330px;
    }

    .tm-section-header {
        margin-bottom: 36px;
    }

    .tm-section-title {
        font-size: 32px;
    }

    .tm-section-subtitle {
        font-size: 15px;
    }

    .tm-categories-list {
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: max-content;
    }

    .tm-why-choose__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tm-why-choose__item--image {
        max-width: 720px;
    }

    .tm-why-choose .tm-section-header {
        text-align: center;
    }

    .tm-why-choose .tm-section-subtitle {
        margin-inline: auto;
    }

    .tm-checklist {
        max-width: 720px;
        margin-inline: auto;
    }

    .tm-cta__content {
        padding: 60px 20px;
    }
}


/* =========================================================
   الهواتف
   ========================================================= */

@media (max-width: 560px) {

    .tm-hero__grid {
        padding-block: 48px;
    }

    .tm-hero__title {
        font-size: 36px;
        line-height: 1.2;
    }

    .tm-hero__subtitle {
        font-size: 15px;
        line-height: 1.8;
    }

    .tm-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .tm-hero__actions .btn {
        width: 100%;
    }

    .tm-hero__visual {
        min-height: 270px;
    }

    .tm-hero__visual-card {
        padding: 28px 24px;
    }

    .tm-hero__visual-card h2 {
        font-size: 26px;
    }

    .tm-services-grid,
    .tm-packages-grid,
    .tm-why__grid {
        grid-template-columns: 1fr;
    }

    .tm-product-card__body {
        padding: 20px;
    }

    .tm-product-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tm-product-card__footer .btn {
        width: 100%;
    }

    .tm-why__item {
        min-height: auto;
        padding: 24px;
    }

    .tm-why__number {
        margin-bottom: 28px;
    }

    .tm-faq-question {
        padding: 20px 0;
        font-size: 15px;
    }

    .tm-faq-answer {
        padding-bottom: 20px;
    }

    .tm-cta__title {
        font-size: 32px;
    }

    .tm-cta__subtitle {
        font-size: 15px;
    }
}


/* =========================================================
   الهواتف الصغيرة
   ========================================================= */

@media (max-width: 400px) {

    .tm-hero__title {
        font-size: 32px;
    }

    .tm-section-title {
        font-size: 28px;
    }

    .tm-product-card__title {
        font-size: 18px;
    }

    .tm-hero__visual-card {
        padding: 24px 20px;
    }
}


/* =========================================================
   تقليل الحركة
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tm-product-card,
    .tm-product-card__image img,
    .tm-category-link,
    .tm-why__item,
    .tm-faq-icon {
        transition: none;
    }

    .tm-product-card:hover,
    .tm-why__item:hover,
    .tm-category-link:hover {
        transform: none;
    }

    .tm-product-card:hover .tm-product-card__image img {
        transform: none;
    }
}
/* =========================================================
   TREND360 — HOMEPAGE
   Premium Arabic Agency / Digital Services
   ========================================================= */

.tm-homepage {
    overflow: hidden;
    background: #fff;
}

/* =========================================================
   SHARED
   ========================================================= */

.tm-homepage .container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.tm-home-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #0fa96b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.tm-home-label::before {
    content: "";
    width: 24px;
    height: 2px;
    background: #2fbfa0;
    display: inline-block;
}

.tm-homepage h1,
.tm-homepage h2,
.tm-homepage h3,
.tm-homepage p {
    margin-top: 0;
}

.tm-homepage a {
    text-decoration: none;
}

/* =========================================================
   HERO
   ========================================================= */

.tm-home-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background: var(--color-neutral-50);
    border-bottom: 1px solid var(--color-border);
}

.tm-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
    align-items: center;
    gap: 90px;
    padding: 90px 0;
}

.tm-home-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    margin-bottom: 26px;
    border: 1px solid rgba(15, 169, 107, .14);
    background: #fff;
    color: #0a6b4a;
    font-size: 12px;
    font-weight: 700;
    border-radius: 5px;
}

.tm-home-hero__label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2fbfa0;
}

.tm-home-hero__title {
    max-width: 720px;
    margin-bottom: 24px !important;
    color: #18181b;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.045em;
}

.tm-home-hero__title span {
    display: block;
    color: #0fa96b;
}

.tm-home-hero__description {
    max-width: 620px;
    margin-bottom: 34px !important;
    color: #5f5f68;
    font-size: 17px;
    line-height: 2;
}

.tm-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tm-home-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.tm-home-btn:hover {
    transform: translateY(-2px);
}

.tm-home-btn span {
    font-size: 18px;
    line-height: 1;
}

.tm-home-btn--primary {
    color: #fff;
    background: #0fa96b;
}

.tm-home-btn--primary:hover {
    background: #0a6b4a;
}

.tm-home-btn--light {
    color: #27272a;
    background: #fff;
    border-color: #dedee2;
}

.tm-home-btn--light:hover {
    border-color: #0fa96b;
    color: #0fa96b;
}

.tm-home-btn--dark {
    color: #fff;
    background: #18181b;
}

.tm-home-btn--gold {
    color: #18181b;
    background: #2fbfa0;
}

.tm-home-hero__trust {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 38px;
}

.tm-home-hero__trust strong,
.tm-home-hero__trust small {
    display: block;
}

.tm-home-hero__trust strong {
    color: #27272a;
    font-size: 12px;
}

.tm-home-hero__trust small {
    margin-top: 3px;
    color: #8b8b93;
    font-size: 11px;
}

.tm-home-hero__avatars {
    display: flex;
    direction: ltr;
}

.tm-home-hero__avatars span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-left: -8px;
    border: 2px solid #fafafa;
    border-radius: 50%;
    background: #0fa96b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.tm-home-hero__avatars span:nth-child(2) {
    background: #0a6b4a;
}

.tm-home-hero__avatars span:nth-child(3) {
    background: #2fbfa0;
    color: #18181b;
}

.tm-home-hero__visual {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.tm-hero-orbit {
    position: absolute;
    border: 1px solid rgba(15, 169, 107, .1);
    border-radius: 50%;
}

.tm-hero-orbit--one {
    width: 500px;
    height: 500px;
}

.tm-hero-orbit--two {
    width: 350px;
    height: 350px;
}

.tm-hero-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
    min-height: 430px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: #18181b;
    border-radius: 10px;
    box-shadow: 0 35px 80px rgba(24, 24, 27, .18);
}

.tm-hero-panel::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -120px;
    left: -80px;
    border-radius: 50%;
    background: rgba(15, 169, 107, .35);
    filter: blur(5px);
}

.tm-hero-panel__top,
.tm-hero-panel__status {
    position: relative;
    z-index: 2;
}

.tm-hero-panel__top {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.tm-hero-panel__status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #aaa;
    font-weight: 500;
}

.tm-hero-panel__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2fbfa0;
}

.tm-hero-panel__main {
    position: relative;
    z-index: 2;
    text-align: center;
}

.tm-hero-panel__icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border: 1px solid rgba(47, 191, 160, .35);
    border-radius: 50%;
}

.tm-hero-panel__icon span {
    width: 26px;
    height: 26px;
    display: block;
    border: 5px solid #2fbfa0;
    border-radius: 50%;
    border-right-color: transparent;
}

.tm-hero-panel__main p {
    margin-bottom: 8px !important;
    color: #b7b7bd;
    font-size: 13px;
}

.tm-hero-panel__main strong {
    display: block;
    color: #fff;
    font-size: 58px;
    line-height: 1;
    letter-spacing: -.04em;
}

.tm-hero-panel__main small {
    display: block;
    margin-top: 14px;
    color: #888890;
    font-size: 12px;
}

.tm-hero-panel__bottom {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
}

.tm-hero-panel__bottom div {
    padding-inline: 15px;
    border-inline-start: 1px solid rgba(255, 255, 255, .1);
}

.tm-hero-panel__bottom div:first-child {
    border-inline-start: 0;
}

.tm-hero-panel__bottom small,
.tm-hero-panel__bottom strong {
    display: block;
}

.tm-hero-panel__bottom small {
    margin-bottom: 5px;
    color: #77777f;
    font-size: 10px;
}

.tm-hero-panel__bottom strong {
    color: #2fbfa0;
    font-size: 17px;
}

/* =========================================================
   INTRO
   ========================================================= */

.tm-home-intro {
    padding: 110px 0;
    background: #fff;
}

.tm-home-intro__grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    align-items: center;
    gap: 80px;
    max-width: 1050px;
    margin: auto;
}

.tm-home-intro__number {
    color: #f0f0f2;
    font-size: clamp(100px, 15vw, 190px);
    line-height: .8;
    font-weight: 700;
    letter-spacing: -.08em;
}

.tm-home-intro__content h2 {
    max-width: 650px;
    margin-bottom: 22px !important;
    color: #18181b;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.tm-home-intro__content h2 span {
    color: #0fa96b;
}

.tm-home-intro__content > p:last-child {
    max-width: 650px;
    color: #66666f;
    font-size: 16px;
    line-height: 2;
}

/* =========================================================
   SERVICES
   ========================================================= */

.tm-home-services {
    padding: 110px 0;
    background: #f7f7f8;
}

.tm-home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.tm-home-section-head h2,
.tm-home-packages__header h2 {
    margin: 0 !important;
    color: #18181b;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.tm-home-section-head h2 span,
.tm-home-packages__header h2 span {
    color: #0fa96b;
}

.tm-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0fa96b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.tm-home-text-link span {
    font-size: 18px;
}

.tm-home-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 35px;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.tm-home-categories::-webkit-scrollbar {
    display: none;
}

.tm-home-categories a {
    flex: 0 0 auto;
    padding: 10px 17px;
    border: 1px solid #e1e1e5;
    border-radius: 5px;
    background: #fff;
    color: #66666f;
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

.tm-home-categories a:hover,
.tm-home-categories a.is-active {
    border-color: #0fa96b;
    background: #0fa96b;
    color: #fff;
}

.tm-home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tm-home-service-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e8;
    border-radius: 7px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.tm-home-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 169, 107, .25);
    box-shadow: 0 18px 45px rgba(24, 24, 27, .08);
}

.tm-home-service-card__number {
    position: absolute;
    z-index: 3;
    top: 17px;
    inset-inline-end: 17px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.tm-home-service-card__image {
    display: block;
    height: 205px;
    overflow: hidden;
    background: #eee;
}

.tm-home-service-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.tm-home-service-card:hover .tm-home-service-card__image img {
    transform: scale(1.04);
}

.tm-home-service-card__body {
    padding: 24px;
}

.tm-home-service-card__body h3 {
    margin-bottom: 10px !important;
    font-size: 19px;
    line-height: 1.5;
}

.tm-home-service-card__body h3 a {
    color: #18181b;
}

.tm-home-service-card__body p {
    min-height: 52px;
    margin-bottom: 20px !important;
    color: #71717a;
    font-size: 13px;
    line-height: 1.9;
}

.tm-home-service-card__link,
.tm-home-package-card__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0fa96b;
    font-size: 12px;
    font-weight: 700;
}

.tm-home-service-card__link span,
.tm-home-package-card__link span {
    font-size: 17px;
    transition: transform .2s ease;
}

.tm-home-service-card:hover .tm-home-service-card__link span,
.tm-home-package-card:hover .tm-home-package-card__link span {
    transform: translateX(-4px);
}

/* =========================================================
   PACKAGES
   ========================================================= */

.tm-home-packages {
    padding: 115px 0;
    background: #fff;
}

.tm-home-packages__header {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 45px;
}

.tm-home-packages__header > p {
    margin: 0;
    color: #71717a;
    font-size: 15px;
    line-height: 2;
}

.tm-home-packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tm-home-package-card {
    overflow: hidden;
    border: 1px solid #e5e5e8;
    background: #fff;
    border-radius: 7px;
    transition: .25s ease;
}

.tm-home-package-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 169, 107, .25);
    box-shadow: 0 18px 45px rgba(24, 24, 27, .07);
}

.tm-home-package-card__image {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #f1f1f2;
}

.tm-home-package-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.tm-home-package-card:hover .tm-home-package-card__image img {
    transform: scale(1.04);
}

.tm-home-package-card__body {
    padding: 21px;
}

.tm-home-package-card__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 17px;
    color: #0fa96b;
    font-size: 10px;
    font-weight: 700;
}

.tm-home-package-card__top span:last-child {
    color: #b3b3ba;
}

.tm-home-package-card__body h3 {
    margin-bottom: 9px !important;
    font-size: 17px;
}

.tm-home-package-card__body h3 a {
    color: #18181b;
}

.tm-home-package-card__body p {
    min-height: 49px;
    margin-bottom: 18px !important;
    color: #777780;
    font-size: 12px;
    line-height: 1.8;
}

.tm-home-packages__footer {
    margin-top: 35px;
    text-align: center;
}

/* =========================================================
   ABOUT / WHY
   ========================================================= */

.tm-home-about {
    padding: 115px 0;
    background: #f7f7f8;
}

.tm-home-about__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.tm-home-about__visual {
    position: relative;
}

.tm-home-about__image {
    height: 560px;
    overflow: hidden;
    border-radius: 7px;
}

.tm-home-about__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tm-home-about__badge {
    position: absolute;
    bottom: 28px;
    inset-inline-end: -25px;
    width: 145px;
    padding: 20px;
    background: #0fa96b;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(15, 169, 107, .2);
}

.tm-home-about__badge strong,
.tm-home-about__badge span {
    display: block;
}

.tm-home-about__badge strong {
    margin-bottom: 3px;
    color: #2fbfa0;
    font-size: 30px;
}

.tm-home-about__badge span {
    font-size: 11px;
}

.tm-home-about__content h2 {
    max-width: 600px;
    margin-bottom: 20px !important;
    color: #18181b;
    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.tm-home-about__content h2 span {
    color: #0fa96b;
}

.tm-home-about__lead {
    max-width: 600px;
    margin-bottom: 40px !important;
    color: #686870;
    font-size: 15px;
    line-height: 2;
}

.tm-home-about__points {
    display: grid;
    gap: 0;
}

.tm-home-about__points > div {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid #dedee2;
}

.tm-home-about__points > div:last-child {
    border-bottom: 1px solid #dedee2;
}

.tm-home-about__points > div > span {
    color: #0fa96b;
    font-size: 12px;
    font-weight: 700;
}

.tm-home-about__points h3 {
    margin-bottom: 5px !important;
    color: #27272a;
    font-size: 15px;
}

.tm-home-about__points p {
    margin: 0;
    color: #777780;
    font-size: 12px;
    line-height: 1.8;
}

/* =========================================================
   FAQ
   ========================================================= */

.tm-home-faq {
    padding: 115px 0;
    background: #fff;
}

.tm-home-faq__grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 100px;
    max-width: 1100px;
    margin: auto;
}

.tm-home-faq__intro h2 {
    margin-bottom: 20px !important;
    color: #18181b;
    font-size: clamp(35px, 4vw, 50px);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.tm-home-faq__intro h2 span {
    display: block;
    color: #0fa96b;
}

.tm-home-faq__intro > p:last-child {
    max-width: 330px;
    color: #71717a;
    font-size: 14px;
    line-height: 1.9;
}

.tm-home-faq__list {
    border-top: 1px solid #dedee2;
}

.tm-home-faq-item {
    border-bottom: 1px solid #dedee2;
}

.tm-home-faq-question {
    width: 100%;
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #27272a;
    text-align: start;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.tm-home-faq-question > span:last-child {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border: 1px solid #dcdce0;
    border-radius: 50%;
    color: #0fa96b;
    font-size: 17px;
    font-weight: 400;
    transition: .2s ease;
}

.tm-home-faq-question[aria-expanded="true"] > span:last-child {
    background: #0fa96b;
    border-color: #0fa96b;
    color: #fff;
    transform: rotate(45deg);
}

.tm-home-faq-answer {
    padding: 0 0 22px;
    display: none;
}

.tm-home-faq-item.is-open .tm-home-faq-answer {
    display: block;
}

.tm-home-faq-answer p {
    max-width: 700px;
    margin: 0;
    color: #71717a;
    font-size: 13px;
    line-height: 2;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.tm-home-final {
    padding: 80px 0;
    background: #18181b;
}

.tm-home-final__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 70px 80px;
    background: var(--color-primary);
    border: 1px solid var(--color-neutral-700);
    border-radius: 8px;
}

.tm-home-final .tm-home-label {
    color: #2fbfa0;
}

.tm-home-final__inner h2 {
    max-width: 650px;
    margin-bottom: 15px !important;
    color: #fff;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.15;
    letter-spacing: -.04em;
}

.tm-home-final__inner h2 span {
    color: #2fbfa0;
}

.tm-home-final__inner p:last-child {
    max-width: 580px;
    margin: 0;
    color: #a4a4aa;
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .tm-home-hero__grid {
        gap: 50px;
    }

    .tm-home-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-home-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-home-about__grid {
        gap: 50px;
    }

    .tm-home-faq__grid {
        gap: 60px;
    }

}

@media (max-width: 900px) {

    .tm-home-hero__grid {
        grid-template-columns: 1fr;
        padding: 70px 0;
    }

    .tm-home-hero__content {
        text-align: center;
    }

    .tm-home-hero__label,
    .tm-home-hero__actions,
    .tm-home-hero__trust {
        justify-content: center;
    }

    .tm-home-hero__description,
    .tm-home-hero__title {
        margin-inline: auto;
    }

    .tm-home-hero__visual {
        min-height: 420px;
    }

    .tm-home-intro__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .tm-home-intro__number {
        font-size: 110px;
    }

    .tm-home-packages__header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tm-home-about__grid {
        grid-template-columns: 1fr;
    }

    .tm-home-about__visual {
        max-width: 650px;
        margin: auto;
        width: 100%;
    }

    .tm-home-faq__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .tm-home-faq__intro > p:last-child {
        max-width: 600px;
    }

    .tm-home-final__inner {
        padding: 55px 45px;
    }

}

@media (max-width: 640px) {

    .tm-homepage .container {
        width: min(100% - 32px, 1280px);
    }

    .tm-home-hero {
        min-height: auto;
    }

    .tm-home-hero__grid {
        padding: 55px 0;
    }

    .tm-home-hero__title {
        font-size: 42px;
    }

    .tm-home-hero__description {
        font-size: 14px;
    }

    .tm-home-hero__actions {
        flex-direction: column;
    }

    .tm-home-btn {
        width: 100%;
    }

    .tm-home-hero__visual {
        min-height: 350px;
    }

    .tm-hero-panel {
        min-height: 360px;
        padding: 21px;
    }

    .tm-hero-panel__main strong {
        font-size: 46px;
    }

    .tm-hero-orbit--one {
        width: 350px;
        height: 350px;
    }

    .tm-hero-orbit--two {
        width: 260px;
        height: 260px;
    }

    .tm-home-intro,
    .tm-home-services,
    .tm-home-packages,
    .tm-home-about,
    .tm-home-faq {
        padding: 75px 0;
    }

    .tm-home-section-head {
        display: block;
    }

    .tm-home-text-link {
        margin-top: 20px;
    }

    .tm-home-services-grid,
    .tm-home-packages-grid {
        grid-template-columns: 1fr;
    }

    .tm-home-service-card__image,
    .tm-home-package-card__image {
        height: 220px;
    }

    .tm-home-about__image {
        height: 400px;
    }

    .tm-home-about__badge {
        inset-inline-end: 15px;
        bottom: 15px;
    }

    .tm-home-final {
        padding: 35px 0;
    }

    .tm-home-final__inner {
        display: block;
        padding: 40px 25px;
    }

    .tm-home-final__inner .tm-home-btn {
        margin-top: 30px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .tm-homepage *,
    .tm-homepage *::before,
    .tm-homepage *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

}
/* ==================================================
   أرشيف الخدمات
   ================================================== */

.services-archive {
  background: var(--color-background);
  overflow: hidden;
}


/* ==================================================
   رأس الصفحة
   ================================================== */

.services-archive .page-hero {
  position: relative;
  isolation: isolate;

  overflow: hidden;

  background: var(--color-primary);

  color: var(--color-white);

  padding-block: 92px 100px;
}

.services-archive .page-hero::before {
  content: "";

  position: absolute;
  z-index: -1;

  width: 420px;
  height: 420px;

  top: -230px;
  left: -160px;

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

.services-archive .page-hero::after {
  content: "";

  position: absolute;
  z-index: -1;

  width: 300px;
  height: 300px;

  bottom: -220px;
  right: 8%;

  border: 1px solid rgba(47, 191, 160, 0.18);
  border-radius: 50%;
}

.services-archive .page-hero .container {
  position: relative;
  z-index: 1;
}


/* ==================================================
   تسمية رأس الصفحة
   ================================================== */

.services-archive .page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 20px;

  color: var(--color-accent-light);

  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);

  line-height: 1;
}

.services-archive .page-hero-label::before {
  content: "";

  display: block;

  width: 28px;
  height: 2px;

  background: var(--color-accent);
}


/* ==================================================
   عنوان رأس الصفحة
   ================================================== */

.services-archive .page-hero-title {
  max-width: 820px;

  margin: 0;

  color: var(--color-white);

  font-size: clamp(
    2.5rem,
    5vw,
    4.25rem
  );

  font-weight: var(--fw-bold);
  line-height: 1.12;

  letter-spacing: -0.035em;
}

html[dir="rtl"] .services-archive .page-hero-title {
  letter-spacing: 0;
}


/* ==================================================
   وصف رأس الصفحة
   ================================================== */

.services-archive .page-hero-subtitle {
  max-width: 680px;

  margin-top: 24px;

  color: rgba(255, 255, 255, 0.72);

  font-size: var(--text-lg);
  line-height: 1.9;
}


/* ==================================================
   محتوى الأرشيف
   ================================================== */

.services-archive-content {
  padding-block: 56px 112px;
}


/* ==================================================
   فلاتر الخدمات
   ================================================== */

.services-archive .services-filter {
  display: flex;
  align-items: center;
  gap: 8px;

  width: 100%;

  margin-bottom: 48px;
  padding: 6px;

  overflow-x: auto;

  background: var(--color-surface);

  border: 1px solid var(--color-border);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-xs);

  scrollbar-width: none;
}

.services-archive .services-filter::-webkit-scrollbar {
  display: none;
}


/* ==================================================
   تبويبات التصنيفات
   ================================================== */

.services-archive .service-filter-tab {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding-inline: 20px;

  border-radius: var(--radius-sm);

  color: var(--color-text-muted);

  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);

  text-decoration: none;

  white-space: nowrap;

  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.services-archive .service-filter-tab:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);

  text-decoration: none;
}

.services-archive .service-filter-tab.is-active {
  background: var(--color-primary);

  color: var(--color-white);

  box-shadow:
    0 3px 8px rgba(
      var(--color-primary-rgb),
      0.18
    );
}

.services-archive .service-filter-tab.is-active:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}


/* ==================================================
   شبكة الخدمات
   ================================================== */

.services-archive .services-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 28px;
}


/* ==================================================
   بطاقة الخدمة
   ================================================== */

.services-archive .service-card {
  min-width: 0;

  background: var(--color-surface);

  border: 1px solid var(--color-border);

  border-radius: var(--radius-xl);

  overflow: hidden;

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.services-archive .service-card:hover {
  transform: translateY(-6px);

  border-color:
    rgba(var(--color-primary-rgb), 0.20);

  box-shadow: var(--shadow-lg);
}


/* ==================================================
   رابط البطاقة
   ================================================== */

.services-archive .service-card-link {
  display: flex;
  flex-direction: column;

  height: 100%;

  color: inherit;

  text-decoration: none;
}

.services-archive .service-card-link:hover {
  color: inherit;
}


/* ==================================================
   صورة الخدمة
   ================================================== */

.services-archive .service-card-image {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: var(--color-neutral-100);
}

.services-archive .service-card-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.15);

  pointer-events: none;

  opacity: 0.55;

  transition: opacity var(--transition-base);
}

.services-archive .service-card:hover
.service-card-image::after {
  opacity: 0.2;
}

.services-archive .service-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 500ms
    cubic-bezier(0.2, 0.7, 0.2, 1);
}

.services-archive .service-card:hover
.service-card-image img {
  transform: scale(1.045);
}


/* ==================================================
   الصورة الافتراضية
   ================================================== */

.services-archive .service-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  background-color: var(--color-primary-50);

  color: var(--color-primary);
}

.services-archive
.service-card-image-placeholder svg {
  width: 42px;
  height: 42px;

  opacity: 0.35;
}


/* ==================================================
   محتوى البطاقة
   ================================================== */

.services-archive .service-card-body {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 24px;
}


/* ==================================================
   تصنيف الخدمة
   ================================================== */

.services-archive .service-card-category {
  display: inline-flex;
  align-self: flex-start;

  margin-bottom: 14px;
  padding: 6px 10px;

  background: var(--color-primary-50);

  border-radius: var(--radius-xs);

  color: var(--color-primary);

  font-size: 0.75rem;
  font-weight: var(--fw-semibold);

  line-height: 1;
}


/* ==================================================
   عنوان الخدمة
   ================================================== */

.services-archive .service-card-title {
  margin: 0;

  color: var(--color-text-primary);

  font-size: 1.3rem;
  font-weight: var(--fw-bold);

  line-height: 1.45;

  letter-spacing: -0.015em;

  transition: color var(--transition-fast);
}

html[dir="rtl"]
.services-archive .service-card-title {
  letter-spacing: 0;
}

.services-archive .service-card:hover
.service-card-title {
  color: var(--color-primary);
}


/* ==================================================
   وصف الخدمة
   ================================================== */

.services-archive .service-card-excerpt {
  margin-top: 12px;

  color: var(--color-text-muted);

  font-size: var(--text-sm);

  line-height: 1.85;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  overflow: hidden;
}


/* ==================================================
   أسفل البطاقة
   ================================================== */

.services-archive .service-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-top: auto;
  padding-top: 24px;

  border-top: 1px solid var(--color-border-light);
}


/* ==================================================
   السعر
   ================================================== */

.services-archive .service-card-pricing {
  min-width: 0;
}

.services-archive .service-card-price {
  color: var(--color-primary);

  font-size: 1.2rem;
  font-weight: var(--fw-bold);

  line-height: 1.3;
}

.services-archive .service-card-currency {
  margin-inline-start: 3px;

  font-size: 0.78em;
  font-weight: var(--fw-semibold);
}

.services-archive .service-card-price-hint {
  margin-top: 5px;

  color: var(--color-text-subtle);

  font-size: 0.72rem;
}


/* ==================================================
   رابط التفاصيل
   ================================================== */

.services-archive .service-card-details {
  color: var(--color-primary);

  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
}


/* ==================================================
   زر السهم
   ================================================== */

.services-archive .service-card-arrow {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  padding: 0;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-full);

  background: var(--color-white);

  color: var(--color-primary);

  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base);
}

.services-archive .service-card:hover
.service-card-arrow {
  background: var(--color-primary);

  border-color: var(--color-primary);

  color: var(--color-white);

  transform: translateX(-3px);
}

html:not([dir="rtl"])
.services-archive .service-card:hover
.service-card-arrow {
  transform: translateX(3px);
}


/* ==================================================
   pagination
   ================================================== */

.services-archive .services-pagination {
  display: flex;
  justify-content: center;

  margin-top: 64px;
}

.services-archive .services-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.services-archive .services-pagination li {
  margin: 0;
}

.services-archive .services-pagination a,
.services-archive .services-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;

  padding-inline: 12px;

  border: 1px solid var(--color-border);

  border-radius: var(--radius-sm);

  background: var(--color-surface);

  color: var(--color-text-secondary);

  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);

  text-decoration: none;

  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.services-archive .services-pagination a:hover {
  border-color: var(--color-primary);

  background: var(--color-primary-50);

  color: var(--color-primary);
}

.services-archive .services-pagination .current {
  border-color: var(--color-primary);

  background: var(--color-primary);

  color: var(--color-white);
}


/* ==================================================
   حالة عدم وجود خدمات
   ================================================== */

.services-archive .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 640px;

  margin: 40px auto 0;

  padding: 72px 32px;

  background: var(--color-surface);

  border: 1px solid var(--color-border);

  border-radius: var(--radius-xl);

  text-align: center;

  box-shadow: var(--shadow-sm);
}

.services-archive .empty-state-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 72px;
  height: 72px;

  margin-bottom: 24px;

  background: var(--color-primary-50);

  border-radius: 50%;

  color: var(--color-primary);
}

.services-archive .empty-state-icon {
  width: 30px;
  height: 30px;
}

.services-archive .empty-state-title {
  margin: 0;

  color: var(--color-text-primary);

  font-size: var(--text-2xl);
}

.services-archive .empty-state-text {
  max-width: 460px;

  margin-top: 12px;

  color: var(--color-text-muted);

  line-height: 1.8;
}

.services-archive .empty-state .btn {
  margin-top: 28px;
}


/* ==================================================
   ظهور البطاقات
   ================================================== */

.services-archive .service-card.reveal {
  animation: service-card-reveal 500ms
    cubic-bezier(0.2, 0.7, 0.2, 1)
    both;
}

.services-archive .service-card:nth-child(2) {
  animation-delay: 50ms;
}

.services-archive .service-card:nth-child(3) {
  animation-delay: 100ms;
}

.services-archive .service-card:nth-child(4) {
  animation-delay: 150ms;
}

.services-archive .service-card:nth-child(5) {
  animation-delay: 200ms;
}

.services-archive .service-card:nth-child(6) {
  animation-delay: 250ms;
}

@keyframes service-card-reveal {

  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==================================================
   شاشات متوسطة
   ================================================== */

@media (max-width: 1100px) {

  .services-archive .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;
  }

  .services-archive .page-hero {
    padding-block: 80px 88px;
  }

}


/* ==================================================
   الأجهزة اللوحية
   ================================================== */

@media (max-width: 768px) {

  .services-archive .page-hero {
    padding-block: 68px 72px;
  }

  .services-archive .page-hero-title {
    font-size: clamp(
      2.25rem,
      9vw,
      3.25rem
    );
  }

  .services-archive .page-hero-subtitle {
    margin-top: 18px;

    font-size: var(--text-base);

    line-height: 1.8;
  }

  .services-archive-content {
    padding-block: 40px 72px;
  }

  .services-archive .services-filter {
    margin-bottom: 32px;

    border-radius: var(--radius-md);
  }

  .services-archive .service-filter-tab {
    min-height: 42px;

    padding-inline: 16px;
  }

  .services-archive .services-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .services-archive .service-card-body {
    padding: 22px;
  }

}


/* ==================================================
   الهواتف
   ================================================== */

@media (max-width: 480px) {

  .services-archive .page-hero {
    padding-block: 56px 60px;
  }

  .services-archive .page-hero-label {
    margin-bottom: 16px;
  }

  .services-archive .page-hero-title {
    font-size: 2.15rem;

    line-height: 1.2;
  }

  .services-archive .page-hero-subtitle {
    font-size: 0.95rem;
  }

  .services-archive-content {
    padding-block: 32px 56px;
  }

  .services-archive .services-filter {
    margin-inline: -2px;

    padding: 5px;
  }

  .services-archive .service-filter-tab {
    min-height: 40px;

    padding-inline: 14px;

    font-size: 0.8rem;
  }

  .services-archive .service-card {
    border-radius: var(--radius-lg);
  }

  .services-archive .service-card-image {
    aspect-ratio: 16 / 10;
  }

  .services-archive .service-card-body {
    padding: 20px;
  }

  .services-archive .service-card-title {
    font-size: 1.15rem;
  }

  .services-archive .service-card-excerpt {
    font-size: 0.85rem;
  }

  .services-archive .service-card-footer {
    padding-top: 20px;
  }

  .services-archive .service-card-arrow {
    width: 38px;
    height: 38px;
  }

  .services-archive .empty-state {
    padding: 56px 20px;
  }

  .services-archive .services-pagination {
    margin-top: 44px;
  }

  .services-archive .services-pagination a,
  .services-archive .services-pagination span {
    min-width: 38px;
    height: 38px;
  }
}


/* ==================================================
   تقليل الحركة
   ================================================== */

@media (prefers-reduced-motion: reduce) {

  .services-archive .service-card.reveal {
    animation: none;
  }

  .services-archive .service-card,
  .services-archive .service-card-image img,
  .services-archive .service-card-arrow {
    transition: none;
  }
}
/**
 * TrendMix — Single Service
 * Premium RTL service detail page
 *
 * Requires:
 * - TrendMix Design System variables
 * - Global container / button styles
 */

/* =========================================================
   SERVICE SINGLE — BASE
========================================================= */

.service-single {
  background: var(--color-background);
  color: var(--color-text-primary);
  direction: rtl;
}

.service-single *,
.service-single *::before,
.service-single *::after {
  box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.service-detail-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0;
  background:
    linear-gradient(
      135deg,
      var(--color-primary-dark) 0%,
      var(--color-primary) 68%,
      #0fa96b 100%
    );
  color: var(--color-white);
}

.service-detail-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -220px;
  left: -140px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}

.service-detail-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: -160px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}

.service-detail-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-detail-hero .page-hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

.service-detail-hero .page-hero-title {
  max-width: 900px;
  margin: 0 auto;
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.service-detail-hero .page-hero-subtitle {
  max-width: 700px;
  margin: var(--space-6) auto 0;
  color: rgba(255, 255, 255, .76);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}


/* =========================================================
   MAIN SECTION
========================================================= */

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.service-main {
  min-width: 0;
}

.service-detail-image {
  overflow: hidden;
  margin: 0 0 var(--space-10);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.service-detail-image-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.service-detail-content {
  max-width: 820px;
}

.service-intro {
  margin-bottom: var(--space-10);
  padding: var(--space-6) var(--space-7);
  border-right: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
}

.service-intro p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  line-height: var(--leading-relaxed);
}


/* =========================================================
   WORDPRESS CONTENT
========================================================= */

.service-content-body {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
}

.service-content-body > * {
  margin-top: 0;
  margin-bottom: var(--space-6);
}

.service-content-body h2,
.service-content-body h3,
.service-content-body h4 {
  color: var(--color-text-primary);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
}

.service-content-body h2 {
  margin-top: var(--space-12);
  font-size: var(--text-3xl);
}

.service-content-body h3 {
  margin-top: var(--space-10);
  font-size: var(--text-2xl);
}

.service-content-body h4 {
  margin-top: var(--space-8);
  font-size: var(--text-xl);
}

.service-content-body p {
  color: var(--color-text-secondary);
}

.service-content-body ul,
.service-content-body ol {
  padding-right: var(--space-6);
  padding-left: 0;
}

.service-content-body li {
  margin-bottom: var(--space-3);
}

.service-content-body a {
  color: var(--color-primary);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-decoration-color: rgba(var(--color-primary-rgb), .25);
  text-underline-offset: 3px;
}

.service-content-body a:hover {
  color: var(--color-primary-dark);
  text-decoration-color: currentColor;
}

.service-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.service-content-body blockquote {
  margin: var(--space-8) 0;
  padding: var(--space-5) var(--space-6);
  border-right: 3px solid var(--color-accent);
  border-left: 0;
  border-radius: var(--radius-sm);
  background: var(--color-surface-muted);
  color: var(--color-text-secondary);
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.service-detail-section-block {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
}

.service-section-heading {
  margin-bottom: var(--space-7);
}

.service-section-eyebrow,
.service-sidebar-card-eyebrow {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
}

.service-section-title {
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
}


/* =========================================================
   BENEFITS
========================================================= */

.service-benefits-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 68px;
  padding: 16px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.service-benefit-item:hover {
  border-color: var(--color-primary-200);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.service-benefit-icon {
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.service-benefit-text {
  padding-top: 4px;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}


/* =========================================================
   DELIVERY
========================================================= */

.service-delivery-content {
  padding: var(--space-6);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  background: var(--color-surface-muted);
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}


/* =========================================================
   SIDEBAR
========================================================= */

.service-sidebar {
  min-width: 0;
}

.service-sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.service-sidebar-card {
  margin-bottom: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.service-sidebar-card:last-child {
  margin-bottom: 0;
}


/* =========================================================
   PURCHASE CARD
========================================================= */

.service-purchase-card {
  padding: 0;
  overflow: hidden;
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.service-price-display {
  padding: var(--space-7);
  border-bottom: 1px solid var(--color-border-light);
  background:
    linear-gradient(
      180deg,
      var(--color-primary-soft) 0%,
      var(--color-surface) 100%
    );
}

.service-price-label {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}

.service-price-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.service-price-amount {
  color: var(--color-primary-dark);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.service-price-amount .woocommerce-Price-currencySymbol {
  margin-right: 5px;
  color: var(--color-text-muted);
  font-size: .48em;
  font-weight: var(--fw-semibold);
}


/* =========================================================
   PURCHASE FORM
========================================================= */

.service-purchase-form {
  padding: var(--space-7);
}

.service-purchase-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: var(--space-6);
  border: 0;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
}

.service-purchase-button svg {
  transition: transform var(--transition-base);
}

.service-purchase-button:hover svg {
  transform: translateX(-4px);
}


/* =========================================================
   PAYMENT PLAN SELECTOR
========================================================= */

.payment-plan-selector {
  margin: 0;
}

.payment-plan-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--space-4);
}

.payment-plan-selector-title {
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
}

.payment-plan-selector-hint {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.payment-plan-options {
  display: grid;
  gap: 10px;
}

.payment-plan-option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.payment-plan-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.payment-plan-option-content {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base);
}

.payment-plan-option:hover .payment-plan-option-content {
  border-color: var(--color-primary-200);
  background: var(--color-primary-50);
}

.payment-plan-option.is-selected .payment-plan-option-content {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.payment-plan-check {
  flex: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-white);
}

.payment-plan-check span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: transparent;
  transition: background-color var(--transition-fast);
}

.payment-plan-option.is-selected .payment-plan-check {
  border-color: var(--color-primary);
}

.payment-plan-option.is-selected .payment-plan-check span {
  background: var(--color-primary);
}

.payment-plan-label {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.payment-plan-name {
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  line-height: var(--leading-snug);
}

.payment-plan-amount {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
}

.payment-plan-radio:focus-visible
  + .payment-plan-option-content {
  box-shadow: var(--focus-ring);
}


/* =========================================================
   PAYMENT PROVIDER NOTE
========================================================= */

.payment-provider-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
}

.payment-provider-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-faint);
}


/* =========================================================
   UNAVAILABLE
========================================================= */

.service-unavailable {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: var(--space-7);
  padding: var(--space-5);
  border: 1px solid var(--color-warning-border);
  border-radius: var(--radius-lg);
  background: var(--color-warning-bg);
}

.service-unavailable-icon {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(18, 45, 38, .10);
  color: var(--color-warning);
}

.service-unavailable-content {
  min-width: 0;
}

.service-unavailable-content h3 {
  margin: 0 0 4px;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
}

.service-unavailable-content p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
}


/* =========================================================
   SIDEBAR CARD HEADERS
========================================================= */

.service-sidebar-card-header {
  margin-bottom: var(--space-5);
}

.service-sidebar-card-title {
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
}


/* =========================================================
   SERVICE INFO
========================================================= */

.service-info-card {
  padding: var(--space-6);
}

.service-info-list {
  display: grid;
  gap: 0;
  margin-top: var(--space-5);
}

.service-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.service-info-item:first-child {
  padding-top: 0;
}

.service-info-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-info-icon {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.service-info-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.service-info-label {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.service-info-value {
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
}


/* =========================================================
   FEATURES
========================================================= */

.service-features-card {
  padding: var(--space-6);
}

.service-features-card .service-sidebar-card-header {
  margin-bottom: var(--space-5);
}

.service-features-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.feature-icon {
  flex: 0 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.service-feature-text {
  padding-top: 3px;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}


/* =========================================================
   SERVICE MANAGER
========================================================= */

.service-manager-card {
  padding: var(--space-6);
}

.manager-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--space-5);
}

.manager-avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}

.manager-avatar img,
.manager-avatar-image {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.manager-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.manager-name {
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  line-height: var(--leading-snug);
}

.manager-role {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
}


/* =========================================================
   BUTTON SAFETY
========================================================= */

.service-single .btn-full {
  width: 100%;
}

.service-single button:focus-visible,
.service-single a:focus-visible,
.service-single input:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}


/* =========================================================
   RESPONSIVE — LARGE
========================================================= */

@media (max-width: 1100px) {

  .service-detail-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
  }

  .service-sidebar-sticky {
    top: calc(var(--header-height) + 20px);
  }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-sidebar {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }

  .service-sidebar-sticky {
    position: static;
  }

  .service-purchase-card {
    box-shadow: var(--shadow-base);
  }

  .service-detail-content {
    max-width: none;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 640px) {

  .service-detail-hero {
    padding: 64px 0 72px;
  }

  .service-detail-hero .page-hero-title {
    font-size: 2rem;
  }

  .service-detail-hero .page-hero-subtitle {
    margin-top: var(--space-4);
    font-size: var(--text-base);
  }

  .service-detail-image {
    margin-bottom: var(--space-7);
    border-radius: var(--radius-lg);
  }

  .service-intro {
    margin-bottom: var(--space-8);
    padding: var(--space-5);
  }

  .service-intro p {
    font-size: var(--text-base);
  }

  .service-detail-section-block {
    margin-top: var(--space-10);
    padding-top: var(--space-8);
  }

  .service-section-title {
    font-size: var(--text-xl);
  }

  .service-benefits-list {
    grid-template-columns: 1fr;
  }

  .service-sidebar-card {
    border-radius: var(--radius-lg);
  }

  .service-price-display,
  .service-purchase-form {
    padding: var(--space-6);
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .service-detail-hero {
    padding: 52px 0 60px;
  }

  .service-detail-hero .page-hero-title {
    font-size: 1.75rem;
  }

  .service-detail-hero .page-hero-label {
    font-size: var(--text-xs);
  }

  .service-price-amount {
    font-size: 2rem;
  }

  .service-price-display,
  .service-purchase-form {
    padding: 20px;
  }

  .payment-plan-option-content {
    min-height: 64px;
    padding: 12px;
  }

  .service-purchase-button {
    min-height: 50px;
  }

  .service-unavailable {
    margin: 20px;
  }

  .service-sidebar-card {
    padding: 20px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .service-single *,
  .service-single *::before,
  .service-single *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}
/**
 * TrendMix — About Page
 * Premium RTL / Arabic
 */

/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page {
    direction: rtl;
    background: var(--color-background);
    color: var(--color-text-primary);
    overflow: hidden;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.about-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(76px, 9vw, 120px) 0;
    background: var(--gradient-premium-hero);
    color: var(--color-white);
}

.about-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 520px;
    top: -310px;
    left: -160px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
}

.about-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    right: -190px;
    bottom: -220px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.about-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-hero .page-hero-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 20px;
    padding: 6px 15px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .9);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
}

.about-hero .page-hero-title {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: var(--fw-bold);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.about-hero .page-hero-subtitle {
    max-width: 700px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, .76);
    font-size: var(--text-lg);
    line-height: 1.85;
}


/* =========================================================
   SHARED ABOUT LABELS
========================================================= */

.about-section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    line-height: 1.5;
}

.about-section-label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    margin-left: 9px;
    vertical-align: middle;
    border-radius: var(--radius-full);
    background: var(--color-accent);
}


/* =========================================================
   ABOUT INTRO
========================================================= */

.about-section {
    padding: var(--section-padding-y-lg) 0;
}

.about-intro {
    background: var(--color-surface);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
}


/* =========================================================
   IMAGE
========================================================= */

.about-visual {
    position: relative;
}

.about-image {
    position: relative;
    overflow: visible;
    margin: 0;
}

.about-image::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 28px;
    right: -24px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-primary-200);
    border-radius: var(--radius-2xl);
}

.about-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.about-image-badge {
    position: absolute;
    z-index: 3;
    right: -24px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 14px 17px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.about-image-badge-number {
    color: var(--color-primary);
    font-size: 1.55rem;
    font-weight: var(--fw-bold);
    line-height: 1;
}

.about-image-badge-text {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
}


/* =========================================================
   ABOUT CONTENT
========================================================= */

.about-content {
    max-width: 650px;
}

.about-section-title {
    margin: 0;
    color: var(--color-text-primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: var(--fw-bold);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.about-lead {
    margin: 24px 0 16px;
    color: var(--color-text-secondary);
    font-size: var(--text-xl);
    font-weight: var(--fw-medium);
    line-height: 1.8;
}

.about-description {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-base);
    line-height: 1.9;
}


/* =========================================================
   ABOUT POINTS
========================================================= */

.about-points {
    display: grid;
    gap: 0;
    margin-top: 42px;
}

.about-point {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
}

.about-point:last-child {
    border-bottom: 1px solid var(--color-border);
}

.about-point-content h3 {
    margin: 0 0 6px;
    color: var(--color-text-primary);
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
}

.about-point-content p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.75;
}


/* =========================================================
   VALUES
========================================================= */

.about-values {
    padding: var(--section-padding-y-lg) 0;
    background: var(--color-neutral-950);
    color: var(--color-white);
}

.about-values-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 52px;
}

.about-values .about-section-label {
    color: var(--color-accent-light);
}

.about-values .about-section-label::before {
    background: var(--color-accent);
}

.about-values-title {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    letter-spacing: -.025em;
}

.about-values-intro {
    max-width: 500px;
    margin: 0;
    color: var(--color-neutral-300);
    font-size: var(--text-base);
    line-height: 1.9;
}


/* =========================================================
   VALUE CARDS
========================================================= */

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-value-card {
    position: relative;
    min-height: 340px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .035);
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        background-color var(--transition-base);
}

.about-value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(47, 191, 160, .35);
    background: rgba(255, 255, 255, .055);
}

.about-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 65px;
    border: 1px solid rgba(47, 191, 160, .25);
    border-radius: var(--radius-md);
    background: rgba(47, 191, 160, .08);
    color: var(--color-accent-light);
}

.about-value-card h3 {
    margin: 0 0 12px;
    color: var(--color-white);
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
}

.about-value-card p {
    max-width: 340px;
    margin: 0;
    color: var(--color-neutral-400);
    font-size: var(--text-sm);
    line-height: 1.85;
}


/* =========================================================
   TEAM
========================================================= */

.about-team {
    padding: var(--section-padding-y-lg) 0;
    background: var(--color-surface);
}

.team-section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 48px;
}

.team-section-title {
    max-width: 700px;
    margin: 0;
    color: var(--color-text-primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    letter-spacing: -.025em;
}

.team-section-title span {
    color: var(--color-primary);
}

.team-section-description {
    max-width: 500px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-base);
    line-height: 1.9;
}


/* =========================================================
   TEAM EMPTY STATE
========================================================= */

.team-empty-state {
    display: flex;
    min-height: 250px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 30px;
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-xl);
    background: var(--color-surface-muted);
    text-align: center;
}

.team-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.team-empty-state h3 {
    margin: 0 0 8px;
    color: var(--color-text-primary);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
}

.team-empty-state p {
    max-width: 480px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.8;
}


/* =========================================================
   FINAL CTA
========================================================= */

.about-cta {
    padding: 0 0 var(--section-padding-y-lg);
    background: var(--color-surface);
}

.about-cta-inner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    overflow: hidden;
    padding: clamp(40px, 6vw, 64px);
    border-radius: var(--radius-2xl);
    background: var(--gradient-premium-hero);
    color: #fff;
}

.about-cta-inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    top: -190px;
    left: -100px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.about-cta-inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 220px;
    height: 220px;
    right: -100px;
    bottom: -150px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.about-cta-content {
    position: relative;
    z-index: 1;
}

.about-cta-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-accent-light);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
}

.about-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: var(--fw-bold);
    line-height: 1.25;
}

.about-cta p {
    max-width: 600px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: var(--text-base);
    line-height: 1.8;
}

.about-cta-button {
    position: relative;
    z-index: 1;
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 170px;
    white-space: nowrap;
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-neutral-950) !important;
}

.about-cta-button:hover {
    background: var(--color-accent-light) !important;
    border-color: var(--color-accent-light) !important;
}

.about-cta-button svg {
    transition: transform var(--transition-base);
}

.about-cta-button:hover svg {
    transform: translateX(-4px);
}


/* =========================================================
   GLOBAL FOCUS
========================================================= */

.about-page a:focus-visible,
.about-page button:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .about-intro-grid {
        gap: 55px;
    }

    .about-image img {
        height: 440px;
    }

    .about-image-badge {
        right: -15px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-visual {
        max-width: 650px;
        margin-inline: auto;
        width: 100%;
    }

    .about-content {
        max-width: 760px;
    }

    .about-values-header,
    .team-section-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-value-card {
        min-height: 280px;
    }

    .about-value-icon {
        margin-bottom: 45px;
    }

    .about-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .about-page .container {
        width: min(100% - 32px, var(--container-max));
    }

    .about-hero {
        padding: 62px 0 70px;
    }

    .about-hero .page-hero-title {
        font-size: 2rem;
    }

    .about-hero .page-hero-subtitle {
        margin-top: 18px;
        font-size: var(--text-base);
    }

    .about-section,
    .about-values,
    .about-team {
        padding: 64px 0;
    }

    .about-intro-grid {
        gap: 42px;
    }

    .about-image img {
        height: 360px;
        border-radius: var(--radius-xl);
    }

    .about-image::before {
        top: 16px;
        right: -12px;
        border-radius: var(--radius-xl);
    }

    .about-image-badge {
        right: -8px;
        bottom: 18px;
        min-width: 165px;
        padding: 12px 14px;
    }

    .about-image-badge-number {
        font-size: 1.35rem;
    }

    .about-section-title {
        font-size: 2rem;
    }

    .about-lead {
        margin-top: 18px;
        font-size: var(--text-lg);
    }

    .about-points {
        margin-top: 32px;
    }

    .about-point {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 0;
    }

    .about-values-header,
    .team-section-header {
        margin-bottom: 34px;
    }

    .about-values-title,
    .team-section-title {
        font-size: 2rem;
    }

    .about-value-card {
        min-height: 260px;
        padding: 24px;
    }

        .about-value-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 42px;
    }

    .team-empty-state {
        min-height: 220px;
        padding: 36px 22px;
    }

    .about-cta {
        padding-bottom: 64px;
    }

    .about-cta-inner {
        gap: 30px;
        padding: 34px 24px;
        border-radius: var(--radius-xl);
    }

    .about-cta h2 {
        font-size: 1.9rem;
    }

    .about-cta-button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .about-page .container {
        width: min(100% - 24px, var(--container-max));
    }

    .about-hero {
        padding: 54px 0 62px;
    }

    .about-hero .page-hero-title {
        font-size: 1.75rem;
    }

    .about-hero .page-hero-label {
        font-size: var(--text-xs);
    }

    .about-image img {
        height: 300px;
    }

    .about-image-badge {
        right: 8px;
        bottom: 12px;
        min-width: auto;
    }

    .about-image-badge-text {
        font-size: var(--text-xs);
    }

    .about-section-title,
    .about-values-title,
    .team-section-title {
        font-size: 1.8rem;
    }

    .about-lead {
        font-size: var(--text-base);
    }

    .about-value-card {
        min-height: auto;
    }

    .about-cta-inner {
        padding: 30px 20px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .about-page *,
    .about-page *::before,
    .about-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}

/* =========================================================
   PAGE TEMPLATES: Services, Blog, Contact, FAQ, Legal
   ========================================================= */

.page-wrapper {
    padding: var(--space-12) 0;
}

.page-content-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: var(--fw-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
}

.page-content img {
    max-width: 100%;
    height: auto;
}

/*
 * Narrow reading column (privacy policy, terms, contact).
 *
 * The width was hardcoded to 800px while `--container-narrow` is 820px, so the
 * three narrow containers in use across the theme rendered at three different
 * widths. This now resolves against the shared token like the others.
 */
.tm-container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.tm-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
    align-items: start;
}

.tm-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.tm-contact-card {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.tm-contact-card__icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--color-primary);
}

.tm-contact-card__content h4 {
    margin: 0 0 4px;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-secondary);
}

.tm-contact-card__content p,
.tm-contact-card__content a {
    margin: 0;
    font-size: var(--text-base);
    color: var(--color-text-primary);
}

.tm-contact-card__content a {
    color: var(--color-primary);
}

.tm-contact-form-wrapper {
    background: var(--color-surface-muted);
    padding: var(--space-8);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.tm-contact-form-header h3 {
    margin: 0 0 var(--space-3);
    font-size: var(--text-xl);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
}

.tm-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
}

.tm-blog-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-blog-card__image {
    display: block;
    overflow: hidden;
}

.tm-blog-card__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.tm-blog-card__image:hover img {
    transform: scale(1.05);
}

.tm-blog-card__body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tm-blog-card__meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.tm-blog-card__title {
    font-size: var(--text-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-3);
}

.tm-blog-card__title a {
    color: var(--color-primary);
    text-decoration: none;
}

.tm-blog-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tm-blog-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: auto;
}

.tm-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    text-decoration: none;
}

.tm-blog-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tm-home-empty {
    text-align: center;
    padding: var(--space-16) 0;
    color: var(--color-text-muted);
    font-size: var(--text-base);
}

/* Responsive */

@media (max-width: 1024px) {
    .tm-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tm-blog-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 640px) {
    .tm-blog-card__image img {
        transform: none;
    }
}
/* =========================================================
   TRENDMIX — HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.site-header .container {
    width: min(100% - 48px, 1280px);
    height: 100%;
    margin-inline: auto;
}

.site-header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 82px;
    gap: 32px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.site-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 52px;
    object-fit: contain;
}

.site-name {
    color: #111111;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    list-style: none;

    gap: 6px;
}

.nav-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 8px 14px;

    color: #252525;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
    white-space: nowrap;

    border-radius: 8px;

    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
    color: #0fa96b;
    background: rgba(18, 45, 38, 0.06);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;

    min-width: 190px;

    margin: 0;
    padding: 8px;

    list-style: none;

    background: #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);

    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu a {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 42px;

    padding: 9px 12px;

    color: #252525;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;
    border-radius: 7px;

    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.nav-menu .sub-menu a:hover {
    color: #0fa96b;
    background: rgba(18, 45, 38, 0.06);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 8px;
}


/* Buttons inside header */

.header-actions .btn {
    min-height: 42px;
    padding: 0 16px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    text-decoration: none;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}


/* Ghost buttons */

.header-actions .btn-ghost {
    color: #333333;
    background: transparent;
    border: 1px solid transparent;
}

.header-actions .btn-ghost:hover {
    color: #0fa96b;
    background: rgba(18, 45, 38, 0.06);
}


/* Primary button */

.header-actions .btn-primary {
    color: #ffffff;
    background: #0fa96b;
    border: 1px solid #0fa96b;
}

.header-actions .btn-primary:hover {
    color: #ffffff;
    background: #0a6b4a;
    border-color: #0a6b4a;
    transform: translateY(-1px);
}


/* =========================================================
   CART
   ========================================================= */

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cart-label {
    white-space: nowrap;
}

.cart-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    color: #ffffff;
    background: #0fa96b;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}


/* Mobile button — shown on mobile via media queries */
/* First definition at line 207, shown via @media in responsive section */


/* =========================================================
   RTL
   ========================================================= */

html[dir="rtl"] .site-header-inner {
    direction: rtl;
}

html[dir="rtl"] .nav-menu {
    direction: rtl;
}

html[dir="rtl"] .header-actions {
    direction: rtl;
}

html[dir="rtl"] .nav-menu .sub-menu {
    inset-inline-start: auto;
    inset-inline-end: 0;
}


/* =========================================================
   LTR
   ========================================================= */

html[dir="ltr"] .site-header-inner {
    direction: ltr;
}

html[dir="ltr"] .nav-menu {
    direction: ltr;
}

html[dir="ltr"] .header-actions {
    direction: ltr;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-header .container {
        width: min(100% - 36px, 1000px);
    }

    .site-header-inner {
        min-height: 76px;
        gap: 20px;
    }

    .nav-menu {
        gap: 2px;
    }

    .nav-menu > li > a {
        padding-inline: 9px;
        font-size: 14px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-actions .btn {
        padding-inline: 12px;
        font-size: 13px;
    }

    .site-logo img {
        max-width: 125px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

    .site-header .container {
        width: calc(100% - 32px);
    }

    .site-header-inner {
        min-height: 70px;
        justify-content: space-between;
        gap: 12px;
    }

    .site-nav {
        display: none;
    }

    .header-actions {
        margin-inline-start: auto;
    }

    .header-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .site-logo img {
        max-width: 120px;
        max-height: 46px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .site-header .container {
        width: calc(100% - 24px);
    }

    .site-header-inner {
        min-height: 64px;
    }

    .site-logo img {
        max-width: 105px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }
}



/**
 * TrendMix Contact Page
 *
 * @package TrendMix
 */


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    background: var(--color-surface);
    color: var(--color-text-primary);
}


/* =========================================================
   CONTACT HERO
========================================================= */

.contact-hero {
    position: relative;
    overflow: hidden;
}

.contact-hero .page-hero-title {
    max-width: 820px;
}

.contact-hero .page-hero-subtitle {
    max-width: 680px;
}


/* =========================================================
   CONTACT INTRO
========================================================= */

.contact-intro {
    padding: var(--section-padding-y-lg) 0;
    background: var(--color-background);
}

.contact-intro-grid {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.15fr);
    align-items: start;
    gap: 80px;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info {
    min-width: 0;
}

.contact-section-title {
    margin: 14px 0 0;
    color: var(--color-text-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--fw-bold);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.contact-section-lead {
    max-width: 580px;
    margin: 20px 0 38px;
    color: var(--color-text-muted);
    font-size: var(--text-lg);
    line-height: 1.9;
}


/* =========================================================
   CONTACT CARDS
========================================================= */

.contact-info .tm-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 14px;
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.contact-info .tm-contact-card:last-child {
    margin-bottom: 0;
}

.contact-info .tm-contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   CONTACT ICON
========================================================= */

.tm-contact-card__icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: var(--color-primary);
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.tm-contact-card__icon svg {
    display: block;
}


/* =========================================================
   CONTACT CARD CONTENT
========================================================= */

.tm-contact-card__content {
    min-width: 0;
    flex: 1;
}

.tm-contact-card__content h3 {
    margin: 2px 0 5px;
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    line-height: 1.5;
}

.tm-contact-card__content p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.tm-contact-card__content a {
    display: inline-block;
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    line-height: 1.8;
    text-decoration: none;
}

.tm-contact-card__content a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.tm-contact-form-wrapper {
    min-width: 0;
    padding: clamp(28px, 4vw, 44px);

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);

    box-shadow: var(--shadow-lg);
}

.tm-contact-form-header {
    margin-bottom: 32px;
}

.tm-contact-form-header .about-section-label {
    display: inline-block;
    margin-bottom: 12px;
}

.tm-contact-form-header h2 {
    margin: 0;
    color: var(--color-text-primary);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: var(--fw-bold);
    line-height: 1.3;
}

.tm-contact-form-header p {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.9;
}


/* =========================================================
   CONTACT FORM 7
========================================================= */

.tm-contact-form {
    width: 100%;
}

.tm-contact-form form {
    width: 100%;
}

.tm-contact-form p {
    margin: 0 0 20px;
}

.tm-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    line-height: 1.6;
}


/* =========================================================
   FORM INPUTS
========================================================= */

.tm-contact-form input[type="text"],
.tm-contact-form input[type="email"],
.tm-contact-form input[type="tel"],
.tm-contact-form input[type="url"],
.tm-contact-form input[type="number"],
.tm-contact-form select,
.tm-contact-form textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    padding: 13px 15px;

    color: var(--color-text-primary);
    background: var(--color-background);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);

    font-family: inherit;
    font-size: var(--text-sm);
    line-height: 1.7;

    outline: none;

    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        background-color var(--transition-base);
}

.tm-contact-form textarea {
    min-height: 155px;
    resize: vertical;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.tm-contact-form input::placeholder,
.tm-contact-form textarea::placeholder {
    color: var(--color-text-muted);
    opacity: .75;
}


/* =========================================================
   INPUT FOCUS
========================================================= */

.tm-contact-form input:focus,
.tm-contact-form select:focus,
.tm-contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: var(--focus-ring);
}


/* =========================================================
   RTL FORM
========================================================= */

.contact-page {
    direction: rtl;
    text-align: right;
}

.contact-intro-grid {
    direction: rtl;
}

.tm-contact-form,
.tm-contact-form form {
    direction: rtl;
    text-align: right;
}

.tm-contact-form input,
.tm-contact-form select,
.tm-contact-form textarea {
    direction: rtl;
    text-align: right;
}


/* =========================================================
   EMAIL / PHONE DIRECTION
========================================================= */

.tm-contact-card__content a[href^="mailto"],
.tm-contact-card__content a[href^="tel"] {
    direction: ltr;
    unicode-bidi: embed;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.tm-contact-form input[type="submit"],
.tm-contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    padding: 13px 24px;

    color: var(--color-neutral-950);
    background: var(--color-accent);

    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);

    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);

    cursor: pointer;

    transition:
        transform var(--transition-base),
        background-color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.tm-contact-form input[type="submit"]:hover,
.tm-contact-form button[type="submit"]:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   CF7 VALIDATION
========================================================= */

.tm-contact-form .wpcf7-not-valid {
    border-color: #dc2626;
}

.tm-contact-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: var(--text-xs);
    line-height: 1.6;
}

.tm-contact-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    line-height: 1.7;
}


/* =========================================================
   CONTACT VALUES
========================================================= */

.contact-values {
    padding: var(--section-padding-y-lg) 0;
    background: var(--color-surface);
}

.contact-values-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 60px;
    margin-bottom: 55px;
}

.contact-values-header .about-values-title {
    margin: 14px 0 0;
}

.contact-values-header .about-values-intro {
    max-width: 560px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-base);
    line-height: 1.9;
}


/* =========================================================
   VALUE CARDS
========================================================= */

.contact-values .about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-values .about-value-card {
    position: relative;
    min-height: 280px;
    padding: 32px;

    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);

    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.contact-values .about-value-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
}

.contact-values .contact-values .about-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;
    margin-bottom: 26px;

    color: var(--color-primary);
    background: var(--color-surface);
    border-radius: var(--radius-md);
}

.contact-values .about-value-card h3 {
    margin: 0 0 10px;
    color: var(--color-text-primary);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    line-height: 1.5;
}

.contact-values .about-value-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.9;
}


/* =========================================================
   FINAL CTA
========================================================= */

.contact-cta {
    padding: 0 0 var(--section-padding-y-lg);
    background: var(--color-surface);
}

.contact-cta-inner {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    overflow: hidden;

    padding: clamp(40px, 6vw, 64px);

    border-radius: var(--radius-2xl);

    background: var(--gradient-premium-hero);
    color: #fff;
}


/* DECORATIVE CIRCLE */

.contact-cta-inner::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 300px;
    height: 300px;

    top: -190px;
    left: -100px;

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}


/* DECORATIVE CIRCLE */

.contact-cta-inner::after {
    content: "";

    position: absolute;
    z-index: -1;

    width: 220px;
    height: 220px;

    right: -100px;
    bottom: -150px;

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}


/* CTA CONTENT */

.contact-cta-content {
    position: relative;
    z-index: 1;
}

.contact-cta-content .about-cta-label {
    display: inline-block;
    margin-bottom: 12px;

    color: var(--color-accent-light);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
}

.contact-cta-content h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: var(--fw-bold);
    line-height: 1.25;
}

.contact-cta-content p {
    max-width: 600px;

    margin: 14px 0 0;

    color: rgba(255, 255, 255, .72);

    font-size: var(--text-base);
    line-height: 1.8;
}


/* CTA BUTTON */

.contact-cta-button {
    position: relative;
    z-index: 1;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    gap: 10px;

    min-width: 170px;

    white-space: nowrap;

    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-neutral-950) !important;
}

.contact-cta-button:hover {
    background: var(--color-accent-light) !important;
    border-color: var(--color-accent-light) !important;
}

.contact-cta-button svg {
    transition: transform var(--transition-base);
}

.contact-cta-button:hover svg {
    transform: translateX(-4px);
}


/* =========================================================
   GLOBAL FOCUS
========================================================= */

.contact-page a:focus-visible,
.contact-page button:focus-visible,
.contact-page input:focus-visible,
.contact-page textarea:focus-visible,
.contact-page select:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .contact-intro-grid {
        gap: 55px;
    }

    .contact-values-header {
        gap: 40px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-intro-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-info {
        max-width: 760px;
    }

    .tm-contact-form-wrapper {
        max-width: 760px;
    }

    .contact-values-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-values .about-values-grid {
        grid-template-columns: 1fr;
    }

    .contact-values .about-value-card {
        min-height: 260px;
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .contact-page .container {
        width: min(100% - 32px, var(--container-max));
    }


    /* HERO */

    .contact-hero {
        padding: 62px 0 70px;
    }

    .contact-hero .page-hero-title {
        font-size: 2rem;
    }

    .contact-hero .page-hero-subtitle {
        margin-top: 18px;
        font-size: var(--text-base);
    }


    /* INTRO */

    .contact-intro {
        padding: 64px 0;
    }

    .contact-intro-grid {
        gap: 42px;
    }

    .contact-section-title {
        font-size: 2rem;
    }

    .contact-section-lead {
        margin-top: 18px;
        margin-bottom: 30px;
        font-size: var(--text-base);
    }


    /* CARDS */

    .contact-info .tm-contact-card {
        padding: 16px;
        gap: 14px;
    }

    .tm-contact-card__icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }


    /* FORM */

    .tm-contact-form-wrapper {
        padding: 26px 20px;
        border-radius: var(--radius-xl);
    }

    .tm-contact-form-header {
        margin-bottom: 26px;
    }

    .tm-contact-form-header h2 {
        font-size: 1.75rem;
    }


    /* VALUES */

    .contact-values {
        padding: 64px 0;
    }

    .contact-values-header {
        margin-bottom: 38px;
    }

    .contact-values .about-values-grid {
        gap: 14px;
    }

    .contact-values .about-value-card {
        min-height: auto;
        padding: 26px;
    }


    /* CTA */

    .contact-cta {
        padding: 0 0 64px;
    }

    .contact-cta-inner {
        padding: 38px 24px;
        border-radius: var(--radius-xl);
        gap: 30px;
    }

    .contact-cta-content h2 {
        font-size: 2rem;
    }

    .contact-cta-button {
        width: 100%;
    }

}
