/* ============================================================
   Calm Trust 2.0 — Blue / White / Green Design System
   Psychology · Personal Brand · Premium Editorial
   ============================================================ */

:root {
    /* Blue Family */
    --blue-deep: #1E3D4C;
    --blue-primary: #3A6070;
    --blue-pearl: #5B7B9A;
    --blue-ice: #D8E6ED;
    --blue-amber: #8BA3C7;

    /* Green Family */
    --green-emerald: #2D6A4F;
    --green-moss: #6B8F71;
    --green-matcha: #A8C4B0;
    --green-coral: #5A8F7A;

    /* White Family */
    --white-shell: #F7F9FA;
    --white-matte: #F0F2F4;
    --white-cream: #F5F6F0;
    --white-pure: #FFFFFF;

    /* Semantic Tokens */
    --primary: var(--blue-primary);
    --primary-dark: var(--blue-deep);
    --primary-soft: var(--blue-ice);
    --primary-accent: var(--blue-pearl);
    --secondary: var(--green-moss);
    --secondary-dark: var(--green-emerald);
    --secondary-soft: var(--green-matcha);
    --accent: var(--blue-amber);
    --accent-warm: var(--green-coral);
    --background: var(--white-shell);
    --surface: var(--white-pure);
    --ivory: var(--white-cream);
    --text: #1A2D3A;
    --muted: #5A6E7A;
    --border: #DCE3E8;

    /* Shadows */
    --shadow: 0 12px 40px rgba(26, 45, 58, 0.06);
    --shadow-elevated: 0 18px 56px rgba(26, 45, 58, 0.10);
    --shadow-card: 0 8px 30px rgba(26, 45, 58, 0.05);

    /* Radius */
    --radius-card: 28px;
    --radius-btn: 14px;
    --radius-sm: 8px;
    --radius-pill: 999px;

    /* Typography */
    --font-family: 'Vazirmatn', Tahoma, sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ============================================================
   RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: var(--font-family);
    background: var(--background);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary-soft); color: var(--primary-dark); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--white-matte); }
::-webkit-scrollbar-thumb { background: var(--blue-pearl); border-radius: 8px; border: 2px solid var(--white-matte); }

img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: all 0.25s var(--ease); }

/* Typography Scale */
h1, h2, h3, h4, h5, h6 { color: var(--text); margin: 0 0 0.5em; }
h1 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(28px, 3.4vw, 34px); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(21px, 2.4vw, 24px); font-weight: 600; line-height: 1.3; }
h4 { font-size: clamp(17px, 1.9vw, 19px); font-weight: 600; line-height: 1.4; }
.subsection-title { font-size: clamp(17px, 1.9vw, 19px); font-weight: 600; line-height: 1.4; }
.body-lg { font-size: 18px; font-weight: 400; line-height: 1.9; }
.body-text { font-size: 16px; line-height: 1.8; }
.body-small { font-size: 14px; line-height: 1.7; }
.caption-text { font-size: 12px; font-weight: 500; line-height: 1.6; }
.btn-text { font-size: 15px; font-weight: 600; line-height: 1; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 6px;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-ct {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-ct::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-140%);
    transition: transform 0.7s var(--ease);
    pointer-events: none;
}
.btn-ct:hover::after { transform: translateX(140%); }
.btn-ct.btn-primary-ct {
    background: var(--secondary-dark);
    color: white;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.25);
}
.btn-ct.btn-primary-ct:hover { background: var(--blue-deep); color: white; transform: translateY(-2px); }
.btn-ct.btn-secondary-ct {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
.btn-ct.btn-secondary-ct:hover { background: var(--primary-soft); border-color: var(--blue-deep); color: var(--blue-deep); transform: translateY(-2px); }
.btn-ct.btn-accent-ct {
    background: var(--blue-amber);
    color: var(--text);
}
.btn-ct.btn-accent-ct:hover { background: var(--blue-pearl); color: white; transform: translateY(-2px); }
.btn-ct.btn-cta-ct {
    background: var(--green-coral);
    color: white;
    box-shadow: 0 4px 16px rgba(90, 143, 122, 0.3);
}
.btn-ct.btn-cta-ct:hover { background: var(--green-emerald); color: white; transform: translateY(-2px); }
.btn-ct.btn-light-ct {
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: white;
}
.btn-ct.btn-light-ct:hover { background: white; color: var(--primary-dark); transform: translateY(-2px); }
.btn-lg-ct { height: 56px; padding: 0 34px; font-size: 16px; }
.btn-block-ct { width: 100%; }


/* ============================================================
   CARDS & SECTION HELPERS
   ============================================================ */
.card-ct {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
    position: relative;
}
.card-ct::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--secondary-soft), var(--blue-amber), var(--green-coral));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.card-ct:hover { transform: translateY(-5px); box-shadow: var(--shadow-elevated); border-color: transparent; }
.card-ct:hover::before { opacity: 1; }

.section-ct { position: relative; padding: 96px 0; }
.section-ct.bg-matte { background: var(--white-matte); }
.section-ct.bg-ivory { background: var(--ivory); }
.section-ct.bg-ice { background: var(--primary-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; position: relative; }
.section-head::after {
    content: '';
    display: block;
    width: 64px; height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--green-coral), var(--blue-amber), var(--secondary-soft));
    margin: 18px auto 0;
}
.section-label {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    background: var(--primary-soft);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    color: var(--blue-deep);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-card);
}
.section-title-ct { margin-bottom: 8px; }
.section-title-ct .highlight {
    background: linear-gradient(135deg, var(--secondary-dark), var(--blue-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-desc { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* Reveal (calm animation) */
.reveal {
    opacity: 1;
    transform: translateY(18px) scale(0.992);
    transition: transform 0.75s var(--ease), filter 0.75s var(--ease);
    will-change: transform;
}
.reveal.revealed { opacity: 1; transform: translateY(0) scale(1); filter: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-ct {
    position: fixed; top: 0; right: 0; left: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.35s var(--ease);
}
.navbar-ct.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 44px; height: 44px;
    border-radius: var(--radius-btn);
    background: linear-gradient(145deg, var(--blue-primary), var(--secondary-dark));
    color: white;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.25);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); box-shadow: 0 8px 22px rgba(45, 106, 79, 0.35); }
.brand-name { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.3; }
.brand-name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    transition: all 0.25s var(--ease);
}
.nav-links a:hover { color: var(--primary-dark); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary-dark); background: var(--primary-soft); font-weight: 600; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 12px;
    cursor: pointer;
    min-width: 44px; min-height: 44px;
    align-items: center; justify-content: center;
}
.menu-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO — gradient: blue-ice → white-cream → green-matcha
   ============================================================ */
.hero-ct {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--blue-ice), var(--white-cream), var(--secondary-soft));
}
.hero-ct::before,
.hero-ct::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}
.hero-ct::before {
    top: -25%;
    right: -8%;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(216, 230, 237, 0.9), transparent 70%);
    opacity: 0.6;
    animation: heroOrb1 14s ease-in-out infinite alternate;
}
.hero-ct::after {
    bottom: -28%;
    left: -8%;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(168, 196, 176, 0.75), transparent 70%);
    opacity: 0.4;
    animation: heroOrb2 17s ease-in-out infinite alternate;
}
@keyframes heroOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-60px, 40px) scale(1.12); }
}
@keyframes heroOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -35px) scale(1.1); }
}
.hero-content { position: relative; z-index: 1; width: 100%; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 7px 22px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(26, 45, 58, 0.1);
    margin-bottom: 16px;
}
.hero-badge i { color: var(--green-coral); animation: badgePulse 2.4s ease-in-out infinite; }
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.hero-title-ct {
    font-size: clamp(38px, 5.5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}
.hero-title-ct .gradient-text {
    background: linear-gradient(135deg, var(--blue-deep), var(--secondary-dark), var(--blue-primary), var(--green-coral), var(--blue-deep));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-type {
    display: flex; align-items: center; gap: 6px;
    font-size: 19px;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 14px;
}
.hero-about-ct {
    font-size: 18px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 30px;
}
.hero-actions-ct { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

/* Trust indicators */
.hero-trust { display: flex; flex-wrap: wrap; gap: 0; }
.trust-item { padding: 6px 0; margin-left: 36px; }
.trust-item:last-child { margin-left: 0; }
.trust-item .trust-num {
    font-size: 32px; font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-dark), var(--blue-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.trust-item .trust-suffix { font-size: 16px; font-weight: 700; color: var(--green-coral); }
.trust-item p { margin: 0; font-size: 13px; color: var(--muted); }

/* Hero stats — minimal inline counters */
.hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 26px;
}
.stat-mini {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
}
.stat-mini:first-child { padding-right: 0; }
.stat-mini:last-child { padding-left: 0; }
.stat-mini + .stat-mini { border-right: 1px solid rgba(22, 35, 46, 0.14); }
.stat-mini-icon {
    font-size: 19px;
    line-height: 1;
    color: var(--green-coral);
    flex-shrink: 0;
}
.stat-mini-text {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
    min-width: 0;
}
.stat-mini-value { font-size: 16px; font-weight: 800; color: var(--secondary-dark); }
.stat-mini-label { font-size: 11.5px; color: var(--muted); }

/* Portrait — large, frameless, bled into header (touches hero left edge) */
.hero-visual-ct {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.portrait-blob {
    position: relative;
    width: calc(100% + 55px);
    margin-left: -55px;
    aspect-ratio: 1;
    border-radius: 28px;
    overflow: hidden;
    border: none;
    box-shadow: none;
    z-index: 1;
}
.portrait-blob::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 45%);
    z-index: 1;
    pointer-events: none;
}
.portrait-blob picture { display: block; width: 100%; height: 100%; }
.portrait-blob img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.portrait-blob:hover img { transform: scale(1.04); }
/* Floating chips on portrait — desktop only */
.float-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 20px;
    border-radius: var(--radius-btn);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(26, 45, 58, 0.12);
    animation: chipFloat 7.5s ease-in-out infinite;
    z-index: 2;
}
.float-chip i { color: var(--green-coral); font-size: 1.05rem; }
.chip-1 { top: 4%; right: -6%; }
.chip-2 { bottom: 14%; right: -10%; animation-delay: 2s; }
.chip-3 { top: 48%; left: -14%; animation-delay: 4s; }
.chip-1 i { color: var(--blue-pearl); }
.chip-3 i { color: var(--secondary-dark); }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-list { list-style: none; margin: 18px 0 0; padding: 0; }
.about-list li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--text);
    margin-bottom: 12px;
    font-size: 15px;
}
.about-list li i { color: var(--green-coral); margin-top: 4px; }

.about-quote {
    font-size: 18px;
    font-weight: 600;
    color: var(--blue-deep);
    border-right: 3px solid var(--secondary-soft);
    padding-right: 16px;
    margin-bottom: 16px;
    line-height: 1.9;
}
.about-body-text { color: var(--muted); text-align: justify; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: var(--primary-soft);
    color: var(--blue-deep);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.25s var(--ease);
}
.tag:hover { background: var(--secondary-dark); color: white; border-color: var(--secondary-dark); }

/* Icon box (shared) */
.icon-box {
    width: 52px; height: 52px;
    border-radius: var(--radius-btn);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    background: var(--primary-soft);
    color: var(--blue-deep);
    flex: 0 0 52px;
    transition: all 0.35s var(--ease);
}
.icon-box.green { background: var(--secondary-soft); color: var(--secondary-dark); }
.icon-box.amber { background: #E8EEF5; color: var(--blue-amber); }

/* ============================================================
   SERVICES
   ============================================================ */
.service-card-ct {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px 26px;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    position: relative;
}
.service-card-ct:hover { transform: translateY(-5px); box-shadow: var(--shadow-elevated); border-color: var(--secondary-soft); }
.service-card-ct .icon-box { margin-bottom: 18px; }
.service-card-ct:hover .icon-box {
    background: linear-gradient(135deg, var(--blue-primary), var(--secondary-dark));
    color: white;
    transform: scale(1.08) rotate(-6deg);
    box-shadow: 0 10px 24px rgba(58, 96, 112, 0.28);
}
.service-card-ct .subsection-title { margin-bottom: 8px; }
.service-card-ct p { color: var(--muted); font-size: 14px; line-height: 1.8; text-align: justify; margin-bottom: 14px; }


/* ============================================================
   CREDENTIALS
   ============================================================ */
.edu-card-ct {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px 26px;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}
.edu-card-ct:hover { transform: translateY(-5px); box-shadow: var(--shadow-elevated); border-color: var(--secondary-soft); }
.edu-card-ct .icon-box { margin-bottom: 18px; transition: all 0.35s var(--ease); }
.edu-card-ct:hover .icon-box {
    background: linear-gradient(135deg, var(--secondary-dark), var(--blue-primary));
    color: white;
    transform: scale(1.08) rotate(-6deg);
    box-shadow: 0 10px 24px rgba(45, 106, 79, 0.28);
}
.edu-year {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    color: var(--blue-deep);
    background: var(--primary-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 4px 14px;
    margin-bottom: 14px;
}
.edu-card-ct .subsection-title { margin-bottom: 6px; }
.edu-uni { color: var(--secondary-dark); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.edu-desc { color: var(--muted); font-size: 14px; line-height: 1.8; text-align: justify; margin-bottom: 0; }
.edu-badge {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    background: var(--secondary-soft);
    color: var(--secondary-dark);
}

.cert-wrap {
    margin-top: 52px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: var(--shadow-card);
}
.cert-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 700;
    margin-bottom: 22px;
}
.cert-title i { color: var(--blue-amber); }
.cert-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 12px;
    row-gap: 5px;
    background: var(--white-matte);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 14px 18px;
    transition: all 0.25s var(--ease);
    height: 100%;
}
.cert-item:hover { border-color: var(--blue-amber); background: #E8EEF5; }
.cert-item i { grid-row: 1 / 3; width: 38px; height: 38px; display:grid; place-items:center; color: var(--blue-pearl); font-size: 1.15rem; background:var(--primary-soft); border-radius:12px; }
.cert-item span { min-width:0; font-weight: 700; font-size: 13.5px; line-height:1.85; color: var(--text); overflow-wrap:anywhere; }
.cert-item small { grid-column:2; min-width:0; color: var(--muted); font-size: 12px; line-height:1.7; overflow-wrap:anywhere; }


/* ============================================================
   BLOG — editorial
   ============================================================ */
.blog-card-ct {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}
.blog-card-ct:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: var(--secondary-soft); }
.blog-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--primary-soft); }
.blog-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(30, 61, 76, 0.45));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.blog-card-ct:hover .blog-thumb::after { opacity: 1; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-card-ct:hover .blog-thumb img { transform: scale(1.06); }

/* Compact cards — horizontal layout, fixed height, small image on the side */
.blog-card-compact {
    flex-direction: row;
    height: 288px;
}
.blog-card-compact .blog-thumb {
    width: 45%;
    flex: 0 0 45%;
    height: 100%;
    aspect-ratio: auto;
}
.blog-card-compact .blog-thumb img { transform: none; }
.blog-card-compact:hover .blog-thumb img { transform: scale(1.05); }
.blog-card-compact .blog-body {
    padding: 18px 20px;
    justify-content: space-between;
}
.blog-card-compact .blog-title-ct { font-size: 17px; margin-bottom: 6px; line-height: 1.5; }
.blog-card-compact .blog-excerpt {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-compact .blog-link { font-size: 13px; }
.blog-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
    display: flex; align-items: center; gap: 16px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}
.blog-meta i { color: var(--green-coral); }
.blog-title-ct { font-size: 22px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.blog-title-ct a { color: var(--text); }
.blog-title-ct a:hover { color: var(--secondary-dark); }
.blog-excerpt { color: var(--muted); font-size: 14px; line-height: 1.8; text-align: justify; flex: 1; margin-bottom: 14px; }
.blog-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--secondary-dark);
    font-size: 14px;
    font-weight: 600;
}
.blog-link:hover { gap: 10px; color: var(--blue-deep); }
/* Featured card — fixed height, image band + filling body */
.blog-card-featured { height: 600px; }
.blog-card-featured .blog-thumb { aspect-ratio: auto; height: 300px; flex-shrink: 0; }
.blog-card-featured .blog-title-ct { font-size: 26px; }
.blog-card-featured .blog-body { padding: 26px 30px; }
.blog-card-featured .blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-featured .blog-link { margin-top: auto; }

/* ============================================================
   CTA BAND — dark blue
   ============================================================ */
.cta-band {
    background: var(--blue-deep);
    color: #B8CDD4;
    padding: 84px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before,
.cta-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}
.cta-band::before {
    top: -40%;
    left: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(168, 196, 176, 0.25), transparent 70%);
    animation: heroOrb2 16s ease-in-out infinite alternate;
}
.cta-band::after {
    bottom: -45%;
    right: -5%;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(139, 163, 199, 0.22), transparent 70%);
    animation: heroOrb1 19s ease-in-out infinite alternate;
}
.cta-band h2 { color: white; font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 12px; }
.cta-band p { color: rgba(184, 205, 212, 0.9); font-size: 17px; max-width: none; margin: 0 auto 32px; }
.cta-band .btn-ct { position: relative; z-index: 1; }
.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(184, 205, 212, 0.95);
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.cta-note i { color: var(--green-coral); font-size: 15px; }

/* CTA band — نظرات مراجعین: ۴ باکس هم‌عرض با جمله بالای بخش، متن داخل باکس به خط بعدی می‌رود */
.cta-reviews { margin-top: 60px; text-align: center; position: relative; z-index: 1; }
.cta-reviews-title {
    color: #ffffff;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 800;
    margin-bottom: 34px;
}
.cta-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* ۴ باکس در عرض جمله بالای بخش */
    gap: 16px;
    align-items: start;
    text-align: right;
    margin: 0 auto;
    max-width: 100%;
}
.cta-review {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    background: #FDF8F0;            /* یک رنگ ثابت و یکدست */
    border-radius: 6px 20px 20px 20px;
    padding: 18px 20px 16px;
    box-shadow: 0 14px 30px rgba(5, 12, 20, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.6s var(--ease);
}
.cta-review:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(5, 12, 20, 0.45); transition-delay: 0s; }
.cta-review-user { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 14px; }
.cta-review-user strong { display: block; color: var(--secondary-dark); font-size: 15px; font-weight: 800; line-height: 1.4; }
.cta-review-user small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; margin-top: 2px; }
.cta-review p {
    color: var(--text);
    font-size: 13.5px;
    line-height: 2;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    text-align: justify;              /* متن کامنت دوطرفه (جاستیفای) */
    text-justify: inter-word;
    white-space: normal !important;   /* متن حتماً به خط بعدی می‌رود */
    overflow-wrap: anywhere;          /* حتی کلمه خیلی بلند هم می‌شکند و بیرون نمی‌زند */
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;             /* فقط ۴ خط اول نشان داده شود */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.cta-review.open p {                  /* باز شدن کارت: کل متن نمایش داده شود */
    display: block;
    -webkit-line-clamp: unset;
}
.cta-review-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 32px;
    height: 32px;
    margin-top: 12px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(38, 85, 137, 0.4);
    background: rgba(255, 255, 255, 0.6);
    color: var(--secondary-dark);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cta-review-more i { pointer-events: none; font-weight: 700; }
.cta-review-more:hover { background: var(--secondary-dark); color: #ffffff; border-color: var(--secondary-dark); }
.cta-review.open .cta-review-more { transform: rotate(180deg); }
.cta-review-more[hidden] { display: none; }

/* انیمیشن ورود پلکانی */
.cta-reviews-grid .cta-review:nth-child(1) { transition-delay: 0s; }
.cta-reviews-grid .cta-review:nth-child(2) { transition-delay: 0.08s; }
.cta-reviews-grid .cta-review:nth-child(3) { transition-delay: 0.16s; }
.cta-reviews-grid .cta-review:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 991px) {
    .cta-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-reviews { margin-top: 46px; }
}
@media (max-width: 575px) {
    .cta-reviews-grid { grid-template-columns: 1fr; }
}

/* فقط پاراگراف بالای دکمه CTA در یک خط بماند؛ متن کارت‌های نظر خیر */
@media (min-width: 992px) {
    .cta-band > .container > p { white-space: nowrap; }
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}
.day-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 26px 18px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}
.day-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: var(--secondary-soft); }
.day-card.closed { background: var(--white-matte); }
.day-name { font-size: 17px; font-weight: 700; color: var(--text); }
.day-time { color: var(--muted); font-size: 14px; direction: ltr; }
.day-status {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
}
.day-status.available { color: #173E2F; background: #DDEBE2; }
.day-card.closed .day-name { color: #394D58; }
.day-card.closed .day-time { color: #445B66; }
.day-card.closed .day-status { color: #394D58; background: #E2E8EB; }
.pulse-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green-emerald);
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-card { overflow: hidden; }
.contact-card-head {
    display: flex; align-items: center; gap: 14px;
    padding: 24px 26px;
    background: linear-gradient(145deg, var(--blue-primary), var(--secondary-dark));
    position: relative;
    overflow: hidden;
}
.contact-card-head::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
}
.contact-card-head .subsection-title { color: white; margin-bottom: 2px; font-size: 19px; }
.contact-card-head small { color: rgba(255, 255, 255, 0.82); font-size: 12px; }
.avatar-mini {
    width: 54px; height: 54px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.45);
    flex: 0 0 54px;
    box-shadow: 0 6px 18px rgba(26, 45, 58, 0.25);
    z-index: 1;
}
.avatar-mini img { width: 100%; height: 100%; object-fit: cover; }
.contact-head-icon {
    margin-right: auto;
    font-size: 1.9rem;
    color: rgba(255, 255, 255, 0.75);
    z-index: 1;
    animation: headIconBob 4s ease-in-out infinite;
}
@keyframes headIconBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.contact-body { padding: 18px 26px 24px; }
.contact-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item .icon-box { transition: all 0.3s ease; }
.contact-item:hover { transform: translateX(4px); }
.contact-item:hover .icon-box {
    background: linear-gradient(135deg, var(--blue-primary), var(--secondary-dark));
    color: white;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(58, 96, 112, 0.28);
}
.contact-item small { display: block; color: var(--muted); font-size: 12px; }
.contact-item a, .contact-item span { color: var(--text); font-weight: 600; font-size: 15px; }
.contact-item a:hover { color: var(--secondary-dark); }
.contact-item-map { align-items: flex-start; }
.contact-item-map-content { flex: 1; min-width: 0; }
.contact-map-frame { display: block; width: 100%; max-width: 600px; height: 450px; margin-top: 12px; border: 0; border-radius: 12px; }

.contact-note {
    display: flex; align-items: center; gap: 10px;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: var(--radius-btn);
    background: var(--primary-soft);
    border: 1px solid rgba(216, 230, 237, 0.8);
    color: var(--blue-deep);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}
.contact-note i {
    flex: 0 0 auto;
    color: var(--green-coral);
    font-size: 1.15rem;
}

.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-ct {
    width: 46px; height: 46px;
    border-radius: var(--radius-btn);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--muted);
    background: var(--white-matte);
    border: 1px solid var(--border);
    transition: all 0.25s var(--ease);
}
.social-ct:hover { color: white; background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); }
.social-ct svg { width: 20px; height: 20px; fill: currentColor; }

/* ============================================================
   MODERN FORM — icons inside inputs, soft focus glow
   ============================================================ */
.form-label-modern {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}
.req-star { color: var(--green-coral); }

.input-wrap-modern {
    position: relative;
    display: flex;
    align-items: center;
}
.input-wrap-modern > i {
    position: absolute;
    right: 16px;
    font-size: 1.2rem;
    color: var(--blue-pearl);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}
.input-wrap-modern input {
    width: 100%;
    height: 54px;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 0 48px 0 18px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: var(--white-matte);
    transition: all 0.3s ease;
    outline: none;
}
.input-wrap-modern input::placeholder { color: var(--muted); opacity: 0.7; }
.input-wrap-modern:focus-within > i {
    color: var(--green-coral);
    transform: scale(1.1);
}
.input-wrap-modern input:focus {
    background: var(--surface);
    border-color: var(--green-coral);
    box-shadow: 0 0 0 4px rgba(90, 143, 122, 0.14), 0 12px 34px rgba(26, 45, 58, 0.07);
}

.form-privacy-note {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
}
.form-privacy-note i { color: var(--secondary-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-ct {
    background: var(--blue-deep);
    color: #D8E6ED;
    padding: 20px 0;
    text-align: center;
}
.footer-bottom {
    font-size: 13px;
    line-height: 1.8;
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top-ct {
    position: fixed;
    bottom: 28px; left: 28px;
    width: 48px; height: 48px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--secondary-dark);
    font-size: 1rem;
    cursor: pointer;
    z-index: 900;
    opacity: 0; visibility: hidden;
    transform: translateY(16px);
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-card);
}
.scroll-top-ct.visible { opacity: 1; visibility: visible; transform: translateY(0); animation: scrollPulse 2.2s ease-out infinite; }
.scroll-top-ct:hover { background: var(--blue-deep); color: white; border-color: var(--blue-deep); }
@keyframes scrollPulse {
    0% { box-shadow: 0 0 0 0 rgba(90, 143, 122, 0.35); }
    70% { box-shadow: 0 0 0 14px rgba(90, 143, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(90, 143, 122, 0); }
}

/* ============================================================
   MOBILE FLOATING ACTIONS (mobile only)
   ============================================================ */
.mobile-float-actions {
    position: fixed;
    bottom: 22px;
    left: 18px;
    right: 18px;
    z-index: 950;
    display: none;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.45s var(--ease);
}
.mobile-float-actions.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.mobile-float-actions > * { pointer-events: auto; }

.mfa-top,
.mfa-call {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}
.mfa-top {
    background: var(--surface);
    color: var(--secondary-dark);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elevated);
}
.mfa-top:hover { background: var(--primary-soft); }

/* Attractive modern call button */
.mfa-call {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, var(--green-coral), var(--secondary-dark));
    color: white;
    box-shadow: 0 14px 34px rgba(90, 143, 122, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.14);
    animation: mfaPulse 2.4s ease-out infinite;
}
.mfa-call:hover { transform: scale(1.06); }
.mfa-call::before {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1.5px dashed rgba(90, 143, 122, 0.45);
}
.mfa-call::after {
    content: '';
    position: absolute;
    top: 7%;
    left: 14%;
    width: 40%;
    height: 24%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
    transform: rotate(-24deg);
    pointer-events: none;
}
@keyframes mfaPulse {
    0% { box-shadow: 0 0 0 0 rgba(90, 143, 122, 0.45), 0 14px 34px rgba(90, 143, 122, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(90, 143, 122, 0), 0 14px 34px rgba(90, 143, 122, 0.5); }
    100% { box-shadow: 0 0 0 0 rgba(90, 143, 122, 0), 0 14px 34px rgba(90, 143, 122, 0.5); }
}

.mfa-call-wrap { position: relative; }

/* Action sheet — rounded glassmorphism, two items */
.mfa-sheet {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 0;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(26, 45, 58, 0.18);
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}
.mfa-sheet::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(90deg, var(--green-coral), var(--blue-amber), var(--secondary-dark));
}
.mfa-sheet.open { display: flex; animation: sheetIn 0.3s var(--ease); }
@keyframes sheetIn {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.mfa-sheet-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    transition: all 0.2s ease;
}
.mfa-sheet-item i {
    width: 38px; height: 38px;
    flex: 0 0 38px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: linear-gradient(135deg, var(--green-coral), var(--secondary-dark));
    color: white;
    box-shadow: 0 6px 16px rgba(90, 143, 122, 0.3);
}
.mfa-sheet-item:hover { background: var(--primary-soft); }
.mfa-sheet-item:active { transform: scale(0.98); }

@media (max-width: 767px) {
    .mobile-float-actions { display: flex; }
    .scroll-top-ct { display: none; }
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.booking-modal {
    border: none;
    border-radius: 28px;
    overflow: hidden;
    padding: 34px 30px;
    position: relative;
    box-shadow: var(--shadow-elevated);
}
.booking-modal::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-coral), var(--blue-amber), var(--secondary-dark));
}
.booking-modal-close {
    position: absolute;
    top: 16px; left: 16px;
    opacity: 0.6;
    transition: all 0.25s var(--ease);
}
.booking-modal-close:hover { opacity: 1; transform: rotate(90deg); }
.booking-modal-head {
    text-align: center;
    margin-bottom: 24px;
}
.booking-modal-icon {
    width: 62px; height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--green-coral), var(--secondary-dark));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
    box-shadow: 0 12px 28px rgba(90, 143, 122, 0.35);
}
.booking-modal-head h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.booking-modal-head p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 480px) {
    .booking-modal { padding: 28px 20px; }
    .booking-modal-icon { width: 54px; height: 54px; font-size: 1.3rem; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
    .schedule-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .hero-stats { margin-top: 20px; gap: 6px 0; }
    .stat-mini { padding: 0 12px; gap: 7px; }
    .stat-mini:first-child { padding-right: 0; }
    .stat-mini:last-child { padding-left: 0; }
    .stat-mini-icon { font-size: 16px; }
    .stat-mini-value { font-size: 14px; }
    .stat-mini-label { font-size: 10.5px; }
    .section-ct { padding: 72px 0; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -320px;
        width: 300px; height: 100vh;
        background: var(--surface);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        padding: 40px 28px;
        transition: right 0.45s var(--ease);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-elevated);
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 15px; width: 100%; padding: 12px 16px; }
    .nav-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 16px;
        padding: 16px 0 0;
        border-top: 1px solid var(--border);
    }
    .nav-mobile-cta .btn-ct { width: 100%; }
    .hero-ct { min-height: auto; padding: 120px 0 72px; }
    .hero-visual-ct { margin-top: 40px; justify-content: center; }
    .float-chip { display: none; }
    .portrait-blob { width: min(400px, 100%); margin-left: 0; }
    .trust-item { border-left: none; margin-left: 24px; padding-right: 0; }
    .trust-item:last-child { margin-left: 0; }

    /* Blog: reset fixed heights on stacked layout */
    .blog-card-featured { height: auto; }
    .blog-card-featured .blog-thumb { aspect-ratio: 16 / 9; height: auto; }
    .blog-card-featured .blog-excerpt { -webkit-line-clamp: unset; }
    .blog-card-compact { flex-direction: column; height: auto; }
    .blog-card-compact .blog-thumb { width: 100%; flex: auto; aspect-ratio: 16 / 9; height: auto; }
    .blog-card-compact .blog-body { justify-content: flex-start; }
    .blog-card-compact .blog-excerpt { -webkit-line-clamp: unset; }
}

@media (max-width: 767px) {
    .section-ct { padding: 60px 0; }
    .schedule-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .scroll-top-ct { bottom: 20px; left: 20px; }
    .hero-trust { justify-content: center; }
    .trust-item { margin-left: 20px; text-align: center; }
    .trust-item:last-child { margin-left: 0; }
    .portrait-blob { width: min(330px, 100%); margin-left: 0; border-radius: 22px; }

    .cert-wrap { padding: 20px 14px; }
    .cert-title { font-size: 18px; }
    .cert-item { grid-template-columns: 34px minmax(0,1fr); padding: 12px; }
    .cert-item i { width:34px; height:34px; }
}

@media (max-width: 480px) {
    .schedule-grid { grid-template-columns: 1fr; }
    .hero-actions-ct .btn-ct { width: 100%; }
}


/* ============================================================
   COMMENT CARDS — assessment-page box model (white/rounded)
   ============================================================ */
.cta-reviews-grid{ align-items: start; }            /* باز شدن هر باکس فقط خودش را بزرگ کند */
.cta-review{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 26px 26px 20px;
    box-shadow: var(--shadow-card);
}
.cta-review:hover{
    border-color: rgba(90, 143, 122, 0.55);
    box-shadow: 0 22px 52px rgba(26, 45, 58, 0.12);
}
.cta-review-user{
    align-items: center;
    text-align: center;
}
.cta-review-more{ margin-top: auto; padding-top: 10px; }   /* دکمه پایین ثابت بماند */

/* Codex SEO fixes: GEO answer block, trust note, touch targets, RTL overflow */
.brand { min-height: 44px; }
.brand-name { overflow-wrap: anywhere; }
.navbar-ct .btn-primary-ct { min-height: 44px; }
.hero-title-ct, .hero-about-ct, .hero-type { overflow-wrap: anywhere; }
.ai-answer-block {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(45, 106, 79, 0.16);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}
.ai-answer-block h2 { font-size: 20px; margin-bottom: 10px; color: var(--blue-deep); }
.ai-answer-block p { margin: 0; color: var(--text); line-height: 2; }
.home-expert-note {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: rgba(45, 106, 79, 0.08);
    color: var(--text);
}
.home-expert-note i { color: var(--secondary-dark); font-size: 1.4rem; margin-top: 3px; }
.home-expert-note strong { display: block; margin-bottom: 4px; }
.home-expert-note span { color: var(--muted); line-height: 1.9; }
