/*
Theme Name:   Fatemeh Hassantabar
Theme URI:    https://fatemehhasantabar.com
Description:  Child theme for Bantalife — Fatemeh Hassantabar Hair Artist
Author:       Fatemeh Hassantabar
Author URI:   https://fatemehhasantabar.com
Template:     bantalife
Version:      1.0.0
Text Domain:  fatemeh-child
*/

/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --ivory:       #F7F5F1;
  --ivory-dark:  #EDEAE4;
  --charcoal:    #1A1918;
  --charcoal-2:  #2C2B29;
  --gold:        #B8965A;
  --gold-light:  #D4AF78;
  --warm-gray:   #8A8680;
  --white:       #FFFFFF;

  --font-en:     'Cormorant Garamond', Georgia, serif;
  --font-body:   'Inter', sans-serif;
  --font-fa:     'Vazirmatn', Tahoma, sans-serif;

  /* Override Bantalife defaults */
  --colorMain:        #B8965A;
  --colorSecondary:   #1A1918;
  --colorBg:          #F7F5F1;
}

/* ─────────────────────────────────────────
   GLOBAL RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ivory) !important;
  color: var(--charcoal) !important;
  font-family: var(--font-body) !important;
  font-size: 15px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   TYPOGRAPHY — GOOGLE FONTS
   (loaded via functions.php)
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en) !important;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.fa,
.rtl-text,
[lang="fa"],
html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] span {
  font-family: var(--font-fa) !important;
}

/* ─────────────────────────────────────────
   NAV OVERRIDES
───────────────────────────────────────── */

/* Hide bantalife double topbar — keep only main nav */
.top-bar,
.banta-top-bar,
.header-top {
  display: none !important;
}

header.site-header,
header #masthead {
  background: transparent !important;
  border-bottom: none !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: background 0.4s ease, padding 0.4s ease;
}

header.site-header.scrolled,
header.scrolled {
  background: rgba(247, 245, 241, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 150, 90, 0.15) !important;
}

/* Nav logo */
.site-title a,
.navbar-brand,
.logo a {
  font-family: var(--font-en) !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  letter-spacing: 0.1em !important;
  color: var(--white) !important;
  transition: color 0.4s;
}

header.scrolled .site-title a,
header.scrolled .navbar-brand,
header.scrolled .logo a {
  color: var(--charcoal) !important;
}

/* Nav links */
.main-navigation a,
.nav-menu a,
.navbar-nav a {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: color 0.3s;
}

header.scrolled .main-navigation a,
header.scrolled .nav-menu a {
  color: var(--warm-gray) !important;
}

.main-navigation a:hover,
.nav-menu a:hover {
  color: var(--gold) !important;
}

/* ─────────────────────────────────────────
   BUTTONS — GLOBAL
───────────────────────────────────────── */
.btn,
.button,
button[type="submit"],
.woocommerce button.button,
.woocommerce-button {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 14px 32px !important;
  transition: all 0.3s ease !important;
}

.btn-primary,
.woocommerce button.button.alt,
a.btn-gold {
  background: var(--gold) !important;
  color: var(--white) !important;
  border: none !important;
}

.btn-primary:hover,
.woocommerce button.button.alt:hover,
a.btn-gold:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────
   WOOCOMMERCE / TUTOR LMS COLORS
───────────────────────────────────────── */
.woocommerce-Price-amount,
.tutor-course-price,
.price ins,
.price .amount {
  color: var(--charcoal) !important;
  font-family: var(--font-en) !important;
  font-weight: 300 !important;
}

.woocommerce .star-rating span::before,
.tutor-ratings-stars span {
  color: var(--gold) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.tutor-tab-active {
  border-bottom: 2px solid var(--gold) !important;
  color: var(--charcoal) !important;
}

/* Course cards */
.tutor-course-card,
.course-card-wrap {
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.tutor-course-card:hover,
.course-card-wrap:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08) !important;
}

/* ─────────────────────────────────────────
   FORMS — LOGIN / REGISTER
───────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
  border: 1px solid var(--ivory-dark) !important;
  border-radius: 0 !important;
  background: var(--white) !important;
  font-family: var(--font-fa) !important;
  font-size: 14px !important;
  padding: 14px 18px !important;
  color: var(--charcoal) !important;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(184, 150, 90, 0.1) !important;
}

/* ─────────────────────────────────────────
   FOOTER OVERRIDES
───────────────────────────────────────── */
.site-footer,
footer#colophon {
  background: #141312 !important;
  color: rgba(255, 255, 255, 0.35) !important;
  border-top: none !important;
}

.site-footer a,
footer#colophon a {
  color: rgba(255, 255, 255, 0.35) !important;
  transition: color 0.3s;
}

.site-footer a:hover,
footer#colophon a:hover {
  color: var(--gold) !important;
}

/* ─────────────────────────────────────────
   SCROLL REVEAL UTILITY
───────────────────────────────────────── */
.fh-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.fh-reveal.fh-visible {
  opacity: 1;
  transform: translateY(0);
}

.fh-reveal-d1 { transition-delay: 0.1s; }
.fh-reveal-d2 { transition-delay: 0.2s; }
.fh-reveal-d3 { transition-delay: 0.35s; }
.fh-reveal-d4 { transition-delay: 0.5s; }

/* ─────────────────────────────────────────
   HOMEPAGE SECTIONS
   (applied via page-home.php or Elementor custom CSS)
───────────────────────────────────────── */

/* --- HERO --- */
.fh-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #2a2420 0%, #1a1512 40%, #2d2218 100%);
}

.fh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(184,150,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.fh-hero-monogram {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: clamp(260px, 28vw, 460px);
  font-weight: 300;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.fh-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 52px 90px;
  max-width: 680px;
}

.fh-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.fh-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.fh-hero-title {
  font-family: var(--font-en) !important;
  font-size: clamp(50px, 7vw, 86px) !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  color: var(--white) !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 12px !important;
}

.fh-hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.fh-hero-subtitle {
  font-family: var(--font-fa) !important;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 44px;
}

.fh-hero-stats {
  position: absolute;
  right: 52px;
  bottom: 90px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-end;
}

.fh-stat-num {
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.fh-stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  text-align: right;
}

/* --- MARQUEE --- */
.fh-marquee {
  background: var(--charcoal);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(184,150,90,0.15);
}

.fh-marquee-track {
  display: flex;
  width: max-content;
  animation: fhMarquee 24s linear infinite;
}

.fh-marquee-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.fh-marquee-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

@keyframes fhMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SECTION SHARED --- */
.fh-section {
  padding: 130px 0;
}

.fh-section-dark {
  background: var(--charcoal);
}

.fh-section-tint {
  background: var(--ivory-dark);
}

.fh-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

.fh-section-title {
  font-family: var(--font-en) !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  color: var(--charcoal);
  letter-spacing: -0.01em !important;
  margin-bottom: 20px !important;
}

.fh-section-title em { font-style: italic; color: var(--gold); }
.fh-section-title.on-dark { color: var(--white) !important; }

/* --- SERVICES GRID --- */
.fh-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.fh-service-card {
  background: var(--charcoal);
  padding: 52px 40px;
  transition: background 0.3s;
}

.fh-service-card:hover { background: var(--charcoal-2); }

.fh-service-num {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 30px;
}

.fh-service-en {
  font-family: var(--font-en) !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  color: var(--white) !important;
  margin-bottom: 6px;
  line-height: 1.2 !important;
}

.fh-service-fa {
  font-family: var(--font-fa) !important;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  direction: rtl;
  margin-bottom: 22px;
}

.fh-service-line {
  width: 22px;
  height: 1px;
  background: var(--gold);
  margin-top: 32px;
  transition: width 0.3s;
}

.fh-service-card:hover .fh-service-line { width: 46px; }

/* --- PORTFOLIO GRID --- */
.fh-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.fh-p-item { overflow: hidden; cursor: pointer; }
.fh-p-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.fh-p-item:nth-child(2) { grid-column: span 5; }
.fh-p-item:nth-child(3) { grid-column: span 5; }
.fh-p-item:nth-child(4) { grid-column: span 5; }
.fh-p-item:nth-child(5) { grid-column: span 7; }

.fh-p-inner {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: var(--ivory-dark);
}

.fh-p-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.fh-p-item:hover .fh-p-inner img { transform: scale(1.06); }

.fh-p-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,25,24,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.fh-p-item:hover .fh-p-overlay { opacity: 1; }

.fh-p-label {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
}

/* --- CTA BAND --- */
.fh-cta {
  background: var(--charcoal);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fh-cta::before {
  content: 'FH';
  position: absolute;
  font-family: var(--font-en);
  font-size: 380px;
  font-weight: 300;
  color: rgba(255,255,255,0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -0.05em;
}

.fh-cta-title {
  font-family: var(--font-en) !important;
  font-size: clamp(34px, 5vw, 60px) !important;
  font-weight: 300 !important;
  color: var(--white) !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}

.fh-cta-title em { font-style: italic; color: var(--gold-light); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .fh-container { padding: 0 28px; }
  .fh-hero-content { padding: 0 28px 72px; }
  .fh-hero-stats { right: 28px; }
  .fh-about-grid { gap: 52px; }
  .fh-services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .fh-hero-content { padding: 0 20px 60px; max-width: 100%; }
  .fh-hero-stats { display: none; }
  .fh-hero-monogram { font-size: 160px; right: -16px; }
  .fh-about-grid { grid-template-columns: 1fr; }
  .fh-services-grid { grid-template-columns: 1fr; }
  .fh-portfolio-grid { grid-template-columns: 1fr 1fr; }
  .fh-p-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .fh-section { padding: 80px 0; }
}

/* ═══════════════════════════════════════
   HERO — 3D MODERN (v2)
═══════════════════════════════════════ */

/* 3D Floating Orbs */
.fh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: fhOrb 8s ease-in-out infinite;
}

.fh-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,150,90,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation-delay: 0s;
}

.fh-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  bottom: 100px; left: 10%;
  animation-delay: -3s;
}

.fh-orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(184,150,90,0.08) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation-delay: -5s;
}

@keyframes fhOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(20px,-30px) scale(1.05); }
  66%      { transform: translate(-15px,20px) scale(0.97); }
}

/* Grid lines — disabled */
.fh-grid-lines { display: none !important; }

/* Hero badges */
.fh-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.fh-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(184,150,90,0.3);
  background: rgba(184,150,90,0.08);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  font-family: var(--font-body);
}

/* Hero actions */
.fh-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Buttons */
.fh-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white) !important;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 32px;
  text-decoration: none !important;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.fh-btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184,150,90,0.3);
}

.fh-btn-ghost {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55) !important;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 3px;
  text-decoration: none !important;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.fh-btn-ghost:hover {
  color: var(--white) !important;
  border-color: var(--white);
}

.fh-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45) !important;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 15px 32px;
  text-decoration: none !important;
  transition: all 0.3s;
}

.fh-btn-whatsapp:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white) !important;
}

/* Hero stat cards — 3D glass effect */
.fh-hero-stats {
  position: absolute;
  right: 52px;
  bottom: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fh-stat-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  text-align: right;
  transform: perspective(800px) rotateY(-4deg);
  transition: transform 0.3s;
  min-width: 160px;
}

.fh-stat-card:hover {
  transform: perspective(800px) rotateY(0deg);
  background: rgba(255,255,255,0.07);
}

.fh-stat-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.fh-stat-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  font-family: var(--font-body);
}

/* Scroll hint */
.fh-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.25);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
  font-family: var(--font-body);
}

.fh-scroll-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.3), transparent);
  animation: fhScrollLine 2s ease-in-out infinite;
}

@keyframes fhScrollLine {
  0%,100% { width: 40px; opacity: 0.4; }
  50%      { width: 60px; opacity: 0.8; }
}

/* ═══════════════════════════════════════
   PORTFOLIO GRID — v2
═══════════════════════════════════════ */
.fh-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}

.fh-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray) !important;
  border-bottom: 1px solid var(--warm-gray);
  padding-bottom: 3px;
  text-decoration: none !important;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.fh-link-arrow:hover {
  color: var(--gold) !important;
  border-color: var(--gold);
}

.fh-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 320px 280px;
  gap: 12px;
}

.fh-p-item { overflow: hidden; }

.fh-p-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.fh-p-item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.fh-p-item:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.fh-p-item:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.fh-p-item:nth-child(5) { grid-column: span 8; grid-row: span 1; }

.fh-p-inner {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ivory-dark);
  text-decoration: none !important;
}

.fh-p-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.fh-p-item:hover .fh-p-inner img { transform: scale(1.06); }

.fh-p-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.fh-p-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,25,24,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px 28px;
}

.fh-p-item:hover .fh-p-overlay { opacity: 1; }

.fh-p-label {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.04em;
}

.fh-p-arrow {
  color: var(--gold);
  font-size: 20px;
  transform: rotate(-45deg);
  display: inline-block;
  transition: transform 0.3s;
}

.fh-p-item:hover .fh-p-arrow {
  transform: rotate(0deg) translateX(4px);
}

/* Courses grid */
.fh-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.fh-course-card {
  padding: 48px 36px;
  transition: all 0.4s;
}

.fh-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 900px) {
  .fh-portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .fh-p-item:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 240px;
  }
  .fh-courses-grid { grid-template-columns: 1fr; }
  .fh-hero-stats { display: none; }
  .fh-scroll-hint { display: none; }
}

@media (max-width: 600px) {
  .fh-portfolio-grid { grid-template-columns: 1fr; }
  .fh-p-item { height: 260px !important; }
  .fh-hero-badges { gap: 6px; }
  .fh-badge { font-size: 10px; padding: 5px 12px; }
}

/* ═══════════════════════════════════════
   HERO PHOTO
═══════════════════════════════════════ */
.fh-hero-photo-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
  z-index: 1;
}

.fh-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.75) contrast(1.05);
}

.fh-hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #1a1512 0%,
    rgba(26,21,18,0.6) 35%,
    rgba(26,21,18,0.1) 70%,
    transparent 100%
  );
}

/* ═══════════════════════════════════════
   SERVICES — FULL CARDS v2
═══════════════════════════════════════ */
.fh-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.fh-service-card {
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.3s;
  position: relative;
}

.fh-service-featured {
  background: #222019;
}

.fh-service-card:hover {
  background: var(--charcoal-2);
}

.fh-service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.fh-service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s ease;
  filter: brightness(0.65);
}

.fh-service-card:hover .fh-service-img-wrap img {
  transform: scale(1.05);
}

.fh-service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(26,25,24,0.95) 100%);
}

.fh-service-body {
  padding: 32px 36px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fh-service-num {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 12px;
}

.fh-service-en {
  font-family: var(--font-en) !important;
  font-size: 26px !important;
  font-weight: 300 !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
  margin-bottom: 14px;
}

.fh-service-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  line-height: 1.9;
  flex: 1;
  margin: 0 0 24px;
}

.fh-service-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 12px;
}

.fh-service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.fh-price-from {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  font-family: var(--font-body);
}

.fh-price-num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.fh-price-cur {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  letter-spacing: 0.08em;
}

.fh-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal) !important;
  background: var(--gold);
  padding: 10px 20px;
  text-decoration: none !important;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: var(--font-body);
}

.fh-service-cta:hover {
  background: var(--gold-light);
}

.fh-service-cta-light {
  background: var(--white);
  color: var(--charcoal) !important;
}

.fh-service-cta-light:hover {
  background: var(--gold-light);
}

.fh-service-line {
  width: 22px;
  height: 1px;
  background: var(--gold);
  margin-top: 24px;
  transition: width 0.3s;
}

.fh-service-card:hover .fh-service-line { width: 44px; }

.fh-services-footer {
  margin-top: 52px;
  text-align: center;
}

/* Responsive services */
@media (max-width: 900px) {
  .fh-services-grid { grid-template-columns: 1fr; }
  .fh-service-img-wrap { height: 180px; }
  .fh-hero-photo-wrap { display: none; }
}

@media (max-width: 600px) {
  .fh-service-body { padding: 24px; }
}

/* ═══════════════════════════════════════
   FIXES v4 — Grid removal, orbs fix, photo fix
═══════════════════════════════════════ */

/* 1. حذف کامل خطوط شطرنجی */
.fh-grid-lines,
.fh-grid-v,
.fh-grid-h {
  display: none !important;
}

/* 2. Orbs — z-index و visibility fix */
.fh-orb {
  z-index: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.fh-orb-1 {
  width: 600px !important;
  height: 600px !important;
  background: radial-gradient(circle, rgba(184,150,90,0.18) 0%, transparent 65%) !important;
  top: -150px !important;
  right: 5% !important;
  animation: fhOrb 9s ease-in-out infinite !important;
}

.fh-orb-2 {
  width: 400px !important;
  height: 400px !important;
  background: radial-gradient(circle, rgba(184,150,90,0.1) 0%, transparent 65%) !important;
  bottom: 80px !important;
  left: 5% !important;
  animation: fhOrb 11s ease-in-out infinite reverse !important;
}

.fh-orb-3 {
  width: 300px !important;
  height: 300px !important;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%) !important;
  top: 45% !important;
  left: 38% !important;
  animation: fhOrb 7s ease-in-out infinite 2s !important;
}

/* 3. Hero — ensure content is above orbs */
.fh-hero-content,
.fh-hero-stats,
.fh-hero-monogram,
.fh-scroll-hint,
.fh-hero-photo-wrap {
  z-index: 2 !important;
  position: relative !important;
}

/* 4. Hero photo — absolute position */
.fh-hero-photo-wrap {
  position: absolute !important;
  z-index: 1 !important;
}

/* ═══════════════════════════════════════
   FIXES v4.1
═══════════════════════════════════════ */

/* 1. حذف grid lines شطرنجی */
.fh-grid-lines,
.fh-grid-v,
.fh-grid-h {
  display: none !important;
}

/* 2. Orbs — مطمئن شو دیده می‌شن */
.fh-orb {
  position: absolute !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: fhOrb 8s ease-in-out infinite !important;
}

.fh-orb-1 {
  width: 600px !important;
  height: 600px !important;
  background: radial-gradient(circle, rgba(184,150,90,0.18) 0%, transparent 65%) !important;
  top: -150px !important;
  right: -80px !important;
  filter: blur(80px) !important;
  animation-delay: 0s !important;
}

.fh-orb-2 {
  width: 400px !important;
  height: 400px !important;
  background: radial-gradient(circle, rgba(212,175,120,0.1) 0%, transparent 65%) !important;
  bottom: 80px !important;
  left: 8% !important;
  filter: blur(60px) !important;
  animation-delay: -3s !important;
}

.fh-orb-3 {
  width: 300px !important;
  height: 300px !important;
  background: radial-gradient(circle, rgba(184,150,90,0.12) 0%, transparent 65%) !important;
  top: 35% !important;
  left: 35% !important;
  filter: blur(50px) !important;
  animation-delay: -5s !important;
}

@keyframes fhOrb {
  0%,100% { transform: translate(0,0) scale(1); opacity: 1; }
  33%      { transform: translate(24px,-36px) scale(1.06); opacity: 0.85; }
  66%      { transform: translate(-18px,22px) scale(0.96); opacity: 0.9; }
}

/* ═══════════════════════════════════════
   SERVICES — CLEAN v3 (no photo)
═══════════════════════════════════════ */

/* حذف کامل image wrap از سرویس‌ها */
.fh-service-img-wrap {
  display: none !important;
}

/* کارت‌ها — ساده، تاریک، خطوط تمیز */
.fh-service-card {
  background: var(--charcoal) !important;
  padding: 52px 44px !important;
  display: flex !important;
  flex-direction: column !important;
  border-bottom: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.fh-service-featured {
  background: #1E1D1A !important;
}

/* خط طلایی بالای کارت featured */
.fh-service-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 44px; right: 44px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.fh-service-body {
  padding: 0 !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* About section — text باید سمت چپ عکس باشه */
.fh-about-grid {
  grid-template-columns: 1fr 1fr !important;
  direction: ltr !important;
}

/* عکس سمت چپ، متن سمت راست — برای انگلیسی */
html[dir="ltr"] .fh-about-grid {
  direction: ltr !important;
}

html[dir="ltr"] .fh-about-grid > div:first-child {
  order: 1 !important;
}

html[dir="ltr"] .fh-about-grid > div:last-child {
  order: 2 !important;
}

/* ═══════════════════════════════════════
   ABOUT SECTION — RESPONSIVE FIX v2
═══════════════════════════════════════ */

/* Desktop: grid دو ستونه */
.fh-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* عکس about */
.fh-about-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.fh-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.8s ease;
}

.fh-about-img:hover img { transform: scale(1.03); }

.fh-about-img::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  width: 52px; height: 52px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
  z-index: 1;
  pointer-events: none;
}

.fh-about-img::after {
  content: '';
  position: absolute;
  bottom: -14px; right: -14px;
  width: 52px; height: 52px;
  border-bottom: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  z-index: 1;
  pointer-events: none;
}

/* ── TABLET ── */
@media (max-width: 900px) {
  .fh-about-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* عکس در موبایل: تمام عرض، نسبت landscape */
  .fh-about-img {
    aspect-ratio: 4/3;
    width: 100%;
    max-height: 420px;
    margin-bottom: 48px;
  }

  .fh-about-img::before,
  .fh-about-img::after {
    display: none;
  }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  .fh-about-grid {
    gap: 0;
  }

  /* عکس تمام عرض، کمی کوتاه‌تر */
  .fh-about-img {
    aspect-ratio: 3/2;
    max-height: 320px;
    margin-bottom: 36px;
    /* کادر نمایش سینماتیک */
    border-radius: 0;
  }

  /* متن‌ها: line-height طبیعی */
  .fh-section p,
  .fh-about-grid p {
    line-height: 1.75 !important;
  }

  /* اصلاح اندازه تایتل روی موبایل */
  .fh-section-title {
    font-size: clamp(28px, 8vw, 44px) !important;
  }

  /* skill rows در موبایل */
  .fh-skills-wrap .fh-skill-bar-wrap,
  .fh-skills-wrap > div {
    gap: 8px;
  }
}

/* ── متن‌های About — line-height fix global ── */
.fh-about-grid p {
  line-height: 1.85 !important;
}


/* ═══════════════════════════════════════
   ABOUT IMAGE — COMPLETE RESPONSIVE FIX v3
═══════════════════════════════════════ */

/* عکس about — reset کامل */
.fh-about-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  /* corner accents */
}

.fh-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.8s ease;
}

/* Desktop — portrait کنار متن */
@media (min-width: 901px) {
  .fh-about-img {
    height: 580px;
  }
  .fh-about-img::before {
    content: '';
    position: absolute;
    top: -14px; left: -14px;
    width: 52px; height: 52px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
    z-index: 1;
  }
  .fh-about-img::after {
    content: '';
    position: absolute;
    bottom: -14px; right: -14px;
    width: 52px; height: 52px;
    border-bottom: 1.5px solid var(--gold);
    border-right: 1.5px solid var(--gold);
    z-index: 1;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .fh-about-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .fh-about-img {
    height: 400px;
    width: 100%;
    margin-bottom: 48px;
  }
  .fh-about-img::before,
  .fh-about-img::after { display: none; }
}

/* Mobile */
@media (max-width: 600px) {
  .fh-about-img {
    height: 300px;
    width: 100%;
    margin-bottom: 36px;
  }
  .fh-about-img img {
    object-position: 50% 15%;
  }
}

