@charset "utf-8";
/* Hitanet main-site visual polish — keep brand green */

:root {
    --hn-green: #5fbf57;
    --hn-green-dark: #3d9a36;
    --hn-green-soft: rgba(95, 191, 87, 0.14);
    --hn-ink: #1c2333;
    --hn-muted: #667085;
    --hn-line: #e8ecef;
    --hn-surface: #f5f8f5;
    --hn-radius: 16px;
    --hn-shadow: 0 12px 32px rgba(28, 35, 51, 0.08);
    --hn-shadow-hover: 0 18px 40px rgba(28, 35, 51, 0.14);
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    overflow-x: hidden;
}

body {
    color: var(--hn-muted);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    max-width: 100%;
}

::selection {
    background: var(--hn-green);
    color: #fff;
}

.form-error-alert {
    padding: 12px 14px;
    background: #fde8e8;
    color: #8a1f11;
    border: 1px solid #f3c0c0;
    border-radius: 12px;
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: right;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    direction: rtl;
    flex-wrap: wrap;
    min-width: 0;
}

.captcha-q {
    flex: 1 1 auto;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--hn-ink);
    min-width: 0;
}

.captcha-input {
    width: 120px;
    max-width: 100%;
    flex: 0 0 120px;
    text-align: left;
}

.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.form-success-alert {
    padding: 16px 18px;
    background: var(--hn-green-soft);
    color: var(--hn-ink);
    border: 1px solid rgba(95, 191, 87, 0.35);
    border-radius: 14px;
    line-height: 1.9;
    margin-bottom: 10px;
    text-align: right;
}

h1, h2, h3 {
    color: var(--hn-ink);
    letter-spacing: 0;
    text-transform: none;
}

h1, h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.main-section > .container > h1:after,
.main-section > .container > h2:after,
.page-intro > .container > h1:after,
.hn-cta-band > .container > h2:after,
#pricing > .container > h2:after,
#Portfolio > .container > h2:after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--hn-green), var(--hn-green-dark));
}

h6 {
    color: var(--hn-muted);
    font-size: 15px;
    margin-bottom: 48px;
    line-height: 1.8;
}

p {
    line-height: 1.9;
}

a {
    transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* ---------- Hero ---------- */
.header {
    background:
        radial-gradient(ellipse at 70% 20%, rgba(95, 191, 87, 0.22), transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(61, 154, 54, 0.18), transparent 50%),
        linear-gradient(160deg, #12171f 0%, #1a2330 45%, #152018 100%),
        url(../img/pw_maze_black_2X.png) left top repeat;
    padding: 160px 0 140px;
    overflow: hidden;
}

.header .container {
    position: relative;
    z-index: 2;
}

.logo {
    width: 260px;
    margin-bottom: 28px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.logo img {
    transition: transform 0.4s ease;
}

.logo:hover img {
    transform: scale(1.03);
}

.we-create {
    margin: 20px 0 36px;
}

.we-create li {
    font-size: 20px;
    color: #d7dde6;
    text-transform: none;
    letter-spacing: 0;
    padding: 0;
    font-weight: 400;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.hero-actions .link,
.hero-actions .link-ghost {
    margin: 0;
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.hero-actions .link {
    background: var(--hn-green);
    box-shadow: 0 10px 24px rgba(95, 191, 87, 0.35);
}

.hero-actions .link:hover {
    background: #fff;
    color: var(--hn-green-dark) !important;
    transform: translateY(-2px);
}

.link-ghost {
    display: inline-block;
    padding: 13px 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    border-radius: 12px;
    font-family: 'iransans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.link-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff !important;
    transform: translateY(-2px);
}

.backWave {
    opacity: 0.85;
    background-size: 100% 90px;
}

.header .alert-success-soft,
.header > .container > div[style*="rgba(255,255,255"] {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px !important;
    line-height: 1.9;
}

/* ---------- Nav ---------- */
.main-nav-outer {
    border-bottom: 1px solid var(--hn-line);
    box-shadow: 0 8px 24px rgba(28, 35, 51, 0.04);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.main-nav {
    margin: 8px 0 0;
}

.main-nav li a {
    color: var(--hn-ink);
    border-bottom: none !important;
    margin: 10px 18px;
    padding-bottom: 4px;
    position: relative;
    font-size: 14px;
    font-weight: 600;
}

.main-nav li a:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--hn-green);
    border-radius: 99px;
    transition: width 0.25s ease;
}

.main-nav li a:hover {
    color: var(--hn-green-dark);
}

.main-nav li a:hover:after {
    width: 100%;
}

.main-nav li.small-logo a:after {
    display: none;
}

.main-nav li.small-logo a {
    margin: 4px 18px;
}

.phone-link {
    color: var(--hn-ink);
    text-decoration: none !important;
}

.phone-link:hover {
    color: var(--hn-green-dark);
}

.res-nav_click:hover,
.res-nav_click:active,
.res-nav_click:focus {
    color: var(--hn-green) !important;
}

/* ---------- Sections ---------- */
.main-section {
    padding: 88px 0 40px;
}

.first-section {
    background: linear-gradient(180deg, #fff 0%, var(--hn-surface) 100%);
    padding-bottom: 60px !important;
}

.introp {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
    line-height: 2;
    color: var(--hn-muted);
    font-size: 15px;
}

/* ---------- Service cards ---------- */
.our-service {
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    box-shadow: var(--hn-shadow);
    padding: 28px 18px 22px;
    margin-bottom: 24px;
    height: calc(100% - 24px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.our-service:hover {
    transform: translateY(-6px);
    box-shadow: var(--hn-shadow-hover);
    border-color: rgba(95, 191, 87, 0.35);
}

.our-service img {
    width: 72px;
    margin-bottom: 8px;
}

.our-service h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0 8px;
    color: var(--hn-ink);
}

.our-service a {
    text-decoration: none;
}

.our-service a:hover h3 {
    color: var(--hn-green-dark);
}

.our-service p {
    text-align: justify;
    padding: 8px 12px 4px;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--hn-muted);
}

/* ---------- Featured ---------- */
.featured-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.featured-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
    padding: 8px 0;
    text-align: right;
    clear: both;
    overflow: visible;
}

.featured-box:after,
.featured-box:before {
    display: none;
}

.featured-box-col1 {
    float: none !important;
    width: auto !important;
    flex: 0 0 52px;
}

.featured-box-col1 i {
    display: block;
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    border-radius: 14px;
    background: var(--hn-green-soft);
    color: var(--hn-green-dark);
    font-size: 22px;
    font-style: normal;
    font-family: 'FontAwesome';
}

.featured-box-col2 {
    overflow: visible;
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.featured-box-col2 h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: right;
}

.featured-box-col2 p {
    line-height: 1.85;
    color: var(--hn-muted);
    text-align: justify;
    text-align-last: right;
}

.featured-box-first-index {
    margin-top: 12px;
}

.featured-visual {
    text-align: center;
    margin: 0;
}

.featured-visual img {
    width: 500px;
    max-width: 100%;
    float: none !important;
    border-radius: 16px;
    box-shadow: var(--hn-shadow-hover);
}

/* ---------- Portfolio ---------- */
.sim-holder-main {
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    padding: 12px;
    margin-bottom: 28px;
    box-shadow: var(--hn-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sim-holder-main:hover {
    transform: translateY(-5px);
    box-shadow: var(--hn-shadow-hover);
}

.sim-holder-main img {
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    width: auto;
    max-width: 72%;
    max-height: 88px;
    object-fit: contain;
}

.sim-holder-main:hover img {
    opacity: 1;
}

.pro-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    background: #f7faf7;
    border: 1px solid var(--hn-line);
    border-radius: 12px;
    margin-bottom: 14px;
}

.PortfolioImg .pro-logo-wrap {
    height: 150px;
    margin-bottom: 0;
}

.PortfolioImg img {
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: auto;
    max-width: 70%;
    max-height: 90px;
    object-fit: contain;
}

.PortfolioImg:hover img {
    transform: none;
    box-shadow: none;
}

.sim-holder-main h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.sim-holder-main p {
    color: var(--hn-muted);
    font-size: 13px;
}

.pro_details_holder {
    padding: 14px 8px 8px;
}

.pro_details_holder h3 {
    font-weight: 700;
    font-size: 16px;
}

.Portfolio-nav li a {
    background: var(--hn-surface);
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
}

.Portfolio-nav li a:hover,
.Portfolio-nav li a.current {
    background: var(--hn-green);
}

/* portfolio "view all" links */
#Portfolio .row > div[style*="text-align: center"] a,
.main-section .row > div[style*="text-align: center"] a {
    display: inline-block;
    margin: 6px 10px;
    padding: 10px 22px;
    border-radius: 10px;
    background: var(--hn-green-soft);
    color: var(--hn-green-dark);
    font-weight: 700;
    text-decoration: none;
}

#Portfolio .row > div[style*="text-align: center"] a:hover,
.main-section .row > div[style*="text-align: center"] a:hover {
    background: var(--hn-green);
    color: #fff;
}

#Portfolio .row > div[style*="text-align: center"] hr,
.main-section .row > div[style*="text-align: center"] hr {
    border: 0;
    border-top: 1px solid var(--hn-line);
    margin: 18px auto;
    max-width: 280px;
}

/* ---------- CTA band ---------- */
.business-talking {
    background:
        linear-gradient(120deg, rgba(18, 23, 31, 0.82), rgba(61, 154, 54, 0.55)),
        url(../img/section-bg2.jpg) center center / cover no-repeat;
    padding: 72px 0 30px;
}

.business-talking h2 {
    font-size: 34px;
    margin: 10px 0 50px;
    text-transform: none;
    letter-spacing: 0;
}

/* ---------- Contact ---------- */
.main-section.contact {
    padding: 70px 0 90px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-info-box {
    display: grid;
    grid-template-columns: 28px 108px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
    align-items: start;
    margin: 0 0 16px 0 !important;
    padding: 0;
    font-size: 15px;
    text-align: right;
    clear: both;
    overflow: visible;
}

.contact-info-box:after,
.contact-info-box:before {
    display: none;
}

.contact-info-box .contact-icon {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    color: var(--hn-green-dark);
    font-size: 18px;
    font-style: normal;
    font-family: 'FontAwesome';
    float: none !important;
    margin: 0 !important;
}

.contact-info-box h3 {
    float: none !important;
    width: 108px !important;
    min-width: 108px;
    max-width: 108px;
    margin: 0 !important;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--hn-ink);
    line-height: 28px;
    white-space: nowrap;
    text-align: right;
}

.contact-info-box h3 i {
    display: none;
}

.contact-info-box span {
    display: block;
    overflow: visible;
    min-width: 0;
    line-height: 1.8;
    padding-top: 2px;
    text-align: right;
    color: var(--hn-muted);
}

.contact-info-box span[dir="ltr"] {
    text-align: right;
    direction: ltr;
    unicode-bidi: isolate;
}

.contact-info-box span a {
    color: var(--hn-muted);
    text-decoration: none;
}

.contact-info-box span a:hover {
    color: var(--hn-green-dark);
}

.social-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 20px 0 0;
    margin: 0 !important;
    list-style: none;
    overflow: visible;
}

.social-link li {
    float: none !important;
    margin: 0;
}

.social-link li a img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transition: transform 0.25s ease;
}

.social-link li a:hover img {
    transform: translateY(-3px) scale(1.05);
}

.form {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    padding: 24px;
    box-shadow: var(--hn-shadow);
    margin: 0;
    text-align: right;
}

.input-text {
    border: 1px solid #d9e0e6;
    border-radius: 12px;
    color: var(--hn-ink);
    height: 48px;
    padding: 12px 14px;
    text-align: right;
    direction: rtl;
}

.input-text[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.input-text:focus {
    border-color: var(--hn-green);
    box-shadow: 0 0 0 4px var(--hn-green-soft);
}

.input-text.text-area {
    height: 165px;
    resize: vertical;
}

.input-btn {
    background: var(--hn-green);
    border-radius: 12px;
    height: 48px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 8px 20px rgba(95, 191, 87, 0.3);
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 200px;
    margin-right: 0;
    margin-left: auto;
}

.input-btn:hover {
    background: var(--hn-green-dark);
}

/* ---------- Footer ---------- */
.footer {
    background:
        linear-gradient(180deg, #141a22, #0f1319),
        url(../img/pw_maze_black_2X.png) left top repeat;
    padding: 42px 0;
}

.footer-logo {
    margin-bottom: 18px;
    opacity: 0.95;
}

.copyright {
    color: #a8b0bb;
    direction: rtl;
    line-height: 1.8;
}

.copyright a {
    color: var(--hn-green);
}

/* ---------- Pricing ---------- */
.plan-cell {
    transition: background 0.2s ease;
}

.plan-cell.first.heading {
    background: linear-gradient(180deg, #eff8ee, #fff);
    font-weight: 700;
    color: var(--hn-ink);
}

.plan-cell.title {
    background: #f7faf7;
}

#pricing .fa-check-circle {
    color: var(--hn-green);
}

/* ---------- Project detail ---------- */
.simple-logo-box {
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: var(--hn-shadow);
}
.simple-logo-box img {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
}

.hn-preview-stage {
    display: block;
    position: relative;
    padding: 0 0 28px 70px;
    direction: rtl;
}

.hn-device {
    background: #1c2333;
    box-shadow: var(--hn-shadow-hover);
}

.hn-device-desktop {
    border-radius: 14px;
    overflow: hidden;
}

.hn-device-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 14px;
    background: #2a3344;
}

.hn-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 10px;
}
.hn-dot-r { background: #ff5f57; }
.hn-dot-y { background: #febc2e; }
.hn-dot-g { background: #28c840; }

.hn-device-url {
    flex: 1;
    margin-inline-start: 8px;
    background: #1c2333;
    color: #c5ccd4;
    border-radius: 8px;
    font-size: 12px;
    line-height: 24px;
    padding: 0 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    direction: ltr;
    text-align: left;
}

.hn-device-desktop .hn-device-viewport {
    height: 560px;
    background: #fff;
    overflow: hidden;
    direction: ltr;
    position: relative;
}

.hn-device iframe {
    border: 0;
    background: #fff;
    display: block;
}

.hn-device-desktop .hn-iframe-scaler {
    width: 1280px;
    height: 1120px;
    transform: scale(0.5);
    transform-origin: top left;
}

.hn-device-desktop .hn-iframe-scaler iframe {
    width: 1280px;
    height: 1120px;
}

.hn-device-mobile {
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 230px;
    border-radius: 32px;
    padding: 14px 12px 16px;
    z-index: 3;
}

.hn-phone-notch {
    width: 88px;
    height: 8px;
    background: #0f141c;
    border-radius: 8px;
    margin: 0 auto 10px;
}

.hn-device-mobile .hn-device-viewport {
    height: 420px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    direction: ltr;
    position: relative;
}

.hn-device-mobile .hn-iframe-scaler {
    width: 390px;
    height: 760px;
    transform: scale(0.52);
    transform-origin: top left;
}

.hn-device-mobile .hn-iframe-scaler iframe {
    width: 390px;
    height: 760px;
    border-radius: 16px;
}

.hn-phone-home {
    width: 72px;
    height: 5px;
    background: #4a5568;
    border-radius: 4px;
    margin: 10px auto 0;
}

.hn-preview-note {
    margin-top: 14px;
    color: var(--hn-muted);
    font-size: 13px;
}
.hn-preview-note a {
    color: var(--hn-green-dark);
    font-weight: 700;
}

@media (max-width: 991px) {
    .hn-preview-stage {
        padding: 0;
    }
    .hn-device-mobile {
        position: static;
        width: 250px;
        margin: 22px auto 0;
    }
}

.simple_imgs img {
    box-shadow: 0 16px 40px rgba(28, 35, 51, 0.16);
    border: 6px solid #fff;
}

.simple_details {
    border-radius: 16px;
    padding: 22px;
}

.pro_thum_holder {
    box-shadow: var(--hn-shadow);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--hn-line);
}

.site_ops_ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--hn-line);
}

.site_ops_ul li:last-child {
    border-bottom: 0;
}

.site_ops_ul i {
    color: var(--hn-green);
    margin-left: 6px;
}

/* ---------- SEO page ---------- */
.seo-part-back-holder {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.seo-item-holder {
    border-radius: 14px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.seo-item-holder:hover {
    background: var(--hn-surface) !important;
    transform: translateY(-2px);
}

/* ---------- Page intro (replaces old hero) ---------- */
.page-intro {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(95, 191, 87, 0.12), transparent 50%),
        linear-gradient(180deg, #f7faf7 0%, #ffffff 100%);
    padding: 72px 0 56px;
    text-align: center;
    border-bottom: 1px solid var(--hn-line);
}

.page-intro-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--hn-green-dark);
    margin: 0 0 22px;
    letter-spacing: 0;
}

.page-intro h1 {
    font-size: 30px;
    margin: 0 0 22px;
    text-align: center;
}

.page-intro-text {
    max-width: 640px;
    margin: 0 auto 36px;
    color: var(--hn-muted);
    font-size: 15px;
    line-height: 2;
    text-align: center;
}

.page-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding-top: 8px;
}

.page-intro-actions .link,
.page-intro-actions .link-ghost {
    margin: 0;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
}

.page-intro-actions .link {
    background: var(--hn-green);
    box-shadow: 0 8px 20px rgba(95, 191, 87, 0.28);
}

.page-intro-actions .link:hover {
    transform: translateY(-2px);
}

.link-ghost.dark {
    display: inline-block;
    border: 1px solid #cfd6dd;
    color: var(--hn-ink) !important;
    background: #fff;
    text-decoration: none !important;
    font-family: 'iransans', sans-serif;
}

.link-ghost.dark:hover {
    border-color: var(--hn-green);
    color: var(--hn-green-dark) !important;
    background: var(--hn-green-soft);
}

/* ---------- Extra services ---------- */
.hn-extra-services {
    margin-top: 20px;
}

.hn-mini-service {
    padding: 22px 16px;
    margin-bottom: 20px;
    text-align: center;
    border-top: 3px solid var(--hn-green);
    background: transparent;
}

a.hn-mini-service-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

a.hn-mini-service-link:hover {
    background: var(--hn-surface);
    transform: translateY(-2px);
}

a.hn-mini-service-link:hover h3 {
    color: var(--hn-green-dark);
}

.hn-mini-service i {
    display: inline-block;
    font-size: 26px;
    color: var(--hn-green-dark);
    margin-bottom: 12px;
    font-style: normal;
    font-family: 'FontAwesome';
}

.hn-mini-service h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.hn-mini-service p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--hn-muted);
    margin: 0;
    text-align: center;
}

/* ---------- Process ---------- */
.hn-process-section {
    background: var(--hn-surface);
}

.hn-process-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    direction: rtl;
}

.hn-process-row > [class*="col-"] {
    float: none;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .hn-process-row > [class*="col-"] {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }
}

@media (min-width: 992px) {
    .hn-process-row > [class*="col-"] {
        width: 25%;
        max-width: 25%;
        flex: 0 0 25%;
    }
}

.hn-process-step {
    text-align: center;
    padding: 10px 12px 24px;
    margin-inline: auto;
}

.hn-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hn-green);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: 0 8px 18px rgba(95, 191, 87, 0.3);
}

.hn-process-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.hn-process-step p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--hn-muted);
    text-align: center;
}

/* ---------- Section links ---------- */
.hn-section-links {
    clear: both;
    text-align: center;
    padding: 20px 10px 10px;
    width: 100%;
}

.hn-section-links a {
    display: inline-block;
    margin: 6px 8px;
    padding: 10px 22px;
    border-radius: 10px;
    background: var(--hn-green-soft);
    color: var(--hn-green-dark);
    font-weight: 700;
    text-decoration: none;
}

.hn-section-links a:hover {
    background: var(--hn-green);
    color: #fff;
}

/* ---------- FAQ ---------- */
.hn-faq-section {
    background: #fff;
}

.hn-faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.hn-faq-item {
    border: 1px solid var(--hn-line);
    border-radius: 14px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
}

.hn-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 700;
    color: var(--hn-ink);
    font-size: 15px;
    position: relative;
    text-align: right;
}

.hn-faq-item summary::-webkit-details-marker {
    display: none;
}

.hn-faq-item summary:after {
    content: "+";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hn-green-dark);
    font-size: 20px;
    font-weight: 400;
}

.hn-faq-item[open] summary:after {
    content: "−";
}

.hn-faq-item p {
    padding: 0 18px 16px;
    margin: 0;
    color: var(--hn-muted);
    font-size: 14px;
    line-height: 1.9;
    text-align: right;
}

/* ---------- CTA band ---------- */
.hn-cta-band {
    background:
        linear-gradient(120deg, rgba(18, 23, 31, 0.92), rgba(61, 154, 54, 0.72));
    padding: 56px 0;
    text-align: center;
    color: #fff;
}

.hn-cta-band h2 {
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.hn-cta-band h2:after {
    background: rgba(255, 255, 255, 0.7);
}

.hn-cta-band p {
    max-width: 560px;
    margin: 0 auto 22px;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
}

.hn-cta-band .link-ghost {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff !important;
    border-radius: 12px;
    font-family: 'iransans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.08);
}

.hn-cta-band .link-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff !important;
}

/* ---------- Inner page tops ---------- */
#pricing.main-section,
#Portfolio.main-section {
    padding-top: 40px;
}

#pricing > .container > h2,
#Portfolio > .container > h2 {
    margin-top: 8px;
}

#pricing.main-section {
    padding-bottom: 48px;
    background: linear-gradient(180deg, #fff 0%, var(--hn-surface) 100%);
}
.link {
    background: var(--hn-green);
    border-radius: 12px;
    text-transform: none;
}

.link:hover {
    color: var(--hn-green-dark) !important;
}

/* ---------- Mobile ---------- */
@media only screen and (max-width: 767px) {
    .page-intro {
        padding: 48px 0 40px;
    }

    .page-intro-brand {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .page-intro h1 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .page-intro-text {
        margin-bottom: 28px;
    }

    .page-intro-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0 12px;
    }

    .page-intro-actions .link,
    .page-intro-actions .link-ghost,
    .link-ghost.dark {
        text-align: center;
        width: 100%;
    }

    .hn-process-step {
        margin-bottom: 10px;
    }

    .header {
        padding: 90px 0 80px;
    }

    .logo {
        width: 180px;
    }

    .we-create li {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0 16px;
    }

    .hero-actions .link,
    .hero-actions .link-ghost {
        text-align: center;
        width: 100%;
    }

    h1, h2 {
        font-size: 24px;
    }

    .business-talking h2 {
        font-size: 26px;
    }

    .form {
        margin: 20px 0 0;
        padding: 18px;
    }

    .our-service {
        height: auto;
    }

    .featured-row,
    .contact-row {
        display: block;
    }

    .featured-box {
        margin-bottom: 22px;
    }

    .featured-visual {
        margin-top: 20px;
        text-align: center;
    }

    .contact-info-box {
        grid-template-columns: 28px 108px minmax(0, 1fr);
        flex-wrap: nowrap;
    }

    .contact-info-box h3 {
        width: 108px !important;
        min-width: 108px;
        max-width: 108px;
    }

    .contact-info-box span {
        width: auto;
    }

    .input-btn {
        max-width: 100%;
        margin: 0;
    }

    .main-nav li a {
        margin: 0;
        padding: 12px 24px;
        border-bottom: 1px solid var(--hn-line) !important;
        text-align: right;
    }

    .main-nav li a:after {
        display: none;
    }

    .main-nav {
        border-radius: 0 0 14px 14px;
        overflow: hidden;
    }
}

@media only screen and (max-width: 479px) {
    .header {
        padding: 70px 0 64px;
    }
}

/* ---------- Pricing calculator ---------- */
.pcalc {
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: right;
}

.pcalc-progress {
    height: 4px;
    background: var(--hn-line);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 18px;
}

.pcalc-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--hn-green), var(--hn-green-dark));
    border-radius: 99px;
    transition: width 0.35s ease;
}

.pcalc-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    justify-content: space-between;
}

.pcalc-steps li {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid var(--hn-line);
    background: #fff;
    color: var(--hn-muted);
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pcalc-steps li span {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--hn-surface);
    color: var(--hn-ink);
    font-size: 12px;
    flex-shrink: 0;
}

.pcalc-steps li.is-active {
    border-color: rgba(95, 191, 87, 0.45);
    background: var(--hn-green-soft);
    color: var(--hn-ink);
}

.pcalc-steps li.is-active span,
.pcalc-steps li.is-done span {
    background: var(--hn-green);
    color: #fff;
}

.pcalc-steps li.is-done {
    border-color: rgba(95, 191, 87, 0.28);
    color: var(--hn-ink);
}

.pcalc-steps li.is-clickable {
    cursor: pointer;
}

.pcalc-steps li.is-clickable:hover {
    border-color: var(--hn-green);
    background: var(--hn-green-soft);
    color: var(--hn-ink);
}

.pcalc-steps li:not(.is-clickable) {
    cursor: default;
}

.pcalc-card-list {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.pcalc-card-list li {
    position: relative;
    padding-inline-start: 14px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--hn-muted);
    text-align: right;
}

.pcalc-card-list li:before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hn-green);
}

.pcalc-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

.pcalc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.pcalc-main {
    min-width: 0;
}

.pcalc-panel {
    display: none;
    animation: pcalcIn 0.28s ease;
}

.pcalc-panel.is-active {
    display: block;
}

@keyframes pcalcIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pcalc-title {
    font-size: 22px;
    margin: 0 0 8px;
    text-align: right;
}

.pcalc-title:after {
    display: none;
}

.pcalc-hint {
    margin: 0 0 22px;
    color: var(--hn-muted);
    font-size: 14px;
    line-height: 1.8;
}

.pcalc-subtitle {
    font-size: 16px;
    color: var(--hn-ink);
    margin: 0;
}

.pcalc-group {
    margin: 22px 0 0;
    padding: 16px 14px;
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    background: #fff;
}

.pcalc-group-percent {
    background: linear-gradient(180deg, #fff 0%, rgba(95, 191, 87, 0.06) 100%);
    border-color: rgba(95, 191, 87, 0.28);
}

.pcalc-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pcalc-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pcalc-badge.fixed {
    background: #eef1f4;
    color: var(--hn-muted);
}

.pcalc-badge.percent {
    background: var(--hn-green-soft);
    color: var(--hn-green-dark);
}

.pcalc-group-note {
    margin: 0 0 12px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--hn-muted);
}

.pcalc-check.is-percent {
    border-style: dashed;
}

.pcalc-summary-group,
.pcalc-breakdown .pcalc-summary-group {
    display: block !important;
    margin-top: 10px;
    padding-top: 10px;
    border-bottom: none !important;
    color: var(--hn-green-dark) !important;
    font-size: 12px !important;
    font-weight: 700;
}

.pcalc-summary-group:first-child {
    margin-top: 0;
    padding-top: 0;
}

.pcalc-grid {
    display: grid;
    gap: 12px;
}

.pcalc-grid-types {
    grid-template-columns: 1fr;
}

.pcalc-grid-scale,
.pcalc-grid-support {
    grid-template-columns: 1fr;
}

.pcalc-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    text-align: right;
    padding: 16px 16px 14px;
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    background: #fff;
    box-shadow: var(--hn-shadow);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    color: var(--hn-ink);
    font-family: inherit;
}

.pcalc-card:hover {
    transform: translateY(-2px);
    border-color: rgba(95, 191, 87, 0.4);
    box-shadow: var(--hn-shadow-hover);
}

.pcalc-card.is-selected {
    border-color: var(--hn-green);
    background: linear-gradient(180deg, #fff 0%, var(--hn-green-soft) 100%);
    box-shadow: 0 0 0 2px rgba(95, 191, 87, 0.18), var(--hn-shadow);
}

.pcalc-card i {
    color: var(--hn-green-dark);
    font-size: 22px;
    margin-bottom: 4px;
}

.pcalc-card strong {
    font-size: 15px;
    font-weight: 700;
}

.pcalc-card > span {
    color: var(--hn-muted);
    font-size: 13px;
    line-height: 1.7;
}

.pcalc-delta {
    margin-top: 4px;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: var(--hn-green-dark);
}

.pcalc-delta small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--hn-muted);
}

.pcalc-addons {
    display: grid;
    gap: 10px;
}

.pcalc-check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 14px;
    border: 1px solid var(--hn-line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    margin: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pcalc-check:hover {
    border-color: rgba(95, 191, 87, 0.4);
}

.pcalc-check.is-checked,
.pcalc-check.is-locked {
    border-color: var(--hn-green);
    background: var(--hn-green-soft);
}

.pcalc-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--hn-green);
    margin: 0;
}

.pcalc-check-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pcalc-check-body strong {
    color: var(--hn-ink);
    font-size: 14px;
}

.pcalc-check-body span {
    color: var(--hn-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.pcalc-check .pcalc-delta {
    margin: 0;
    white-space: nowrap;
}

.pcalc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pcalc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 12px;
    border: none;
    background: var(--hn-green);
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pcalc-btn:hover {
    background: var(--hn-green-dark);
    color: #fff !important;
}

.pcalc-btn.ghost {
    background: #fff;
    color: var(--hn-ink) !important;
    border: 1px solid var(--hn-line);
}

.pcalc-btn.ghost:hover {
    border-color: rgba(95, 191, 87, 0.45);
    color: var(--hn-green-dark) !important;
    background: var(--hn-green-soft);
}

.pcalc-summary {
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    background: linear-gradient(180deg, #fff 0%, var(--hn-surface) 100%);
    box-shadow: var(--hn-shadow);
    padding: 18px 16px;
    position: sticky;
    top: 88px;
}

.pcalc-summary h3 {
    margin: 0 0 14px;
    font-size: 16px;
    color: var(--hn-ink);
}

.pcalc-summary-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.pcalc-summary-list li,
.pcalc-breakdown li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--hn-line);
    font-size: 13px;
    color: var(--hn-ink);
}

.pcalc-summary-list li em,
.pcalc-breakdown li em {
    font-style: normal;
    color: var(--hn-muted);
    white-space: nowrap;
}

.pcalc-empty {
    color: var(--hn-muted) !important;
    border-bottom: none !important;
}

.pcalc-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding-top: 6px;
}

.pcalc-summary-total span {
    color: var(--hn-muted);
    font-size: 13px;
}

.pcalc-summary-total strong {
    color: var(--hn-green-dark);
    font-size: 18px;
}

.pcalc-summary-call {
    display: block;
    margin-top: 14px;
    text-align: center;
    color: var(--hn-ink);
    font-size: 13px;
    font-weight: 600;
}

.pcalc-result {
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    background: #fff;
    box-shadow: var(--hn-shadow);
    padding: 22px 18px;
}

.pcalc-result-total {
    text-align: center;
    padding: 8px 0 18px;
    border-bottom: 1px solid var(--hn-line);
    margin-bottom: 8px;
}

.pcalc-result-total span {
    display: block;
    color: var(--hn-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.pcalc-result-total strong {
    display: block;
    color: var(--hn-ink);
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
}

.pcalc-result-total em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    color: var(--hn-green-dark);
    font-weight: 700;
}

.pcalc-breakdown {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.pcalc-note {
    font-size: 13px;
    color: var(--hn-muted);
    line-height: 1.8;
    margin: 0 0 18px;
}

.pcalc-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pcalc-sticky {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--hn-line);
    box-shadow: 0 -8px 24px rgba(28, 35, 51, 0.08);
    backdrop-filter: blur(8px);
}

.pcalc-sticky-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pcalc-sticky-inner span {
    display: block;
    font-size: 12px;
    color: var(--hn-muted);
}

.pcalc-sticky-inner strong {
    display: block;
    font-size: 16px;
    color: var(--hn-ink);
}

.pcalc-sticky .pcalc-btn {
    min-width: 110px;
}

body.pcalc-has-sticky {
    padding-bottom: 84px;
}

@media only screen and (min-width: 600px) {
    .pcalc-grid-types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pcalc-grid-scale,
    .pcalc-grid-support {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (min-width: 992px) {
    .pcalc-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .pcalc-grid-types {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pcalc-grid-types .pcalc-card:nth-child(4),
    .pcalc-grid-types .pcalc-card:nth-child(5) {
        grid-column: span 1;
    }

    .pcalc-sticky {
        display: none;
    }

    body.pcalc-has-sticky {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 767px) {
    .pcalc-steps li {
        font-size: 0;
        gap: 0;
        padding: 10px 6px;
    }

    .pcalc-steps li span {
        font-size: 12px;
        width: 28px;
        height: 28px;
    }

    .pcalc-title {
        font-size: 20px;
    }

    .pcalc-result-total strong {
        font-size: 28px;
    }

    .pcalc-summary {
        position: static;
    }
}

/* ---------- SEO landing pages ---------- */
.hn-landing-hero-img {
    margin: 0 auto 0;
    max-width: 980px;
    padding: 0 15px 48px;
}

.hn-landing-hero-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(28, 35, 51, 0.12);
    border: 1px solid var(--hn-line);
}

.hn-landing-article {
    padding-top: 12px;
}

.hn-landing-article .introp {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--hn-muted);
    line-height: 2;
    font-size: 15px;
}

.hn-landing-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 48px;
    direction: rtl;
}

.hn-landing-split.reverse .hn-landing-copy {
    order: 2;
}

.hn-landing-split.reverse .hn-landing-media {
    order: 1;
}

.hn-landing-copy,
.hn-landing-media {
    width: 50%;
    padding: 12px 18px;
}

.hn-landing-copy h2 {
    text-align: right;
    margin-top: 0;
    font-size: 22px;
}

.hn-landing-copy h2:after {
    margin-right: 0;
    margin-left: auto;
}

.hn-landing-copy p {
    color: var(--hn-muted);
    line-height: 2;
    text-align: right;
    font-size: 14px;
}

.hn-landing-copy ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.hn-landing-copy ul li {
    position: relative;
    padding: 8px 28px 8px 0;
    color: var(--hn-ink);
    line-height: 1.8;
    font-size: 14px;
}

.hn-landing-copy ul li:before {
    content: "";
    position: absolute;
    right: 0;
    top: 16px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hn-green);
}

.hn-landing-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--hn-line);
    box-shadow: 0 12px 32px rgba(28, 35, 51, 0.08);
}

.hn-landing-points {
    margin-top: 10px;
}

.hn-landing-point {
    padding: 22px 18px;
    margin-bottom: 20px;
    text-align: right;
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(28, 35, 51, 0.05);
    min-height: 160px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hn-landing-point:hover {
    transform: translateY(-3px);
    background: var(--hn-surface);
}

.hn-landing-point i {
    display: inline-block;
    font-size: 22px;
    color: var(--hn-green-dark);
    margin-bottom: 12px;
    font-family: 'FontAwesome';
    font-style: normal;
}

.hn-landing-point h3 {
    font-size: 16px;
    margin: 0 0 10px;
    color: var(--hn-ink);
}

.hn-landing-point p {
    margin: 0;
    color: var(--hn-muted);
    font-size: 13px;
    line-height: 1.9;
}

.hn-landing-hero-img--compact {
    padding-bottom: 36px;
}

.hn-treatment-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    direction: rtl;
}

.hn-treatment-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--hn-surface);
    border: 1px solid var(--hn-line);
    border-radius: 14px;
    text-align: right;
}

.hn-treatment-name {
    font-weight: 600;
    color: var(--hn-ink);
    font-size: 14px;
}

.hn-treatment-meta {
    color: var(--hn-muted);
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .hn-treatment-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hn-treatment-list {
        grid-template-columns: 1fr;
    }
}

.hn-software-section {
    background: linear-gradient(180deg, var(--hn-surface) 0%, #fff 100%);
    padding-top: 48px;
    padding-bottom: 48px;
}

.hn-software-lead {
    max-width: 640px;
    margin: 0 auto 28px;
    text-align: center;
    color: var(--hn-muted);
    line-height: 2;
    font-size: 15px;
}

.hn-guides-section {
    background: linear-gradient(180deg, #fff 0%, var(--hn-surface) 100%);
}

.hn-guide-card {
    display: block;
    margin-bottom: 24px;
    text-decoration: none !important;
    color: inherit;
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(28, 35, 51, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hn-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(28, 35, 51, 0.1);
}

.hn-guide-card img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.hn-guide-card-body {
    padding: 18px 16px 20px;
    text-align: right;
}

.hn-guide-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--hn-ink);
}

.hn-guide-card p {
    margin: 0;
    color: var(--hn-muted);
    font-size: 13px;
    line-height: 1.8;
}

.hn-guide-card .hn-guide-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--hn-green-dark);
    font-size: 13px;
    font-weight: 600;
}

@media only screen and (max-width: 991px) {
    .hn-landing-copy,
    .hn-landing-media {
        width: 100%;
        padding: 10px 12px;
    }

    .hn-landing-split.reverse .hn-landing-copy,
    .hn-landing-split.reverse .hn-landing-media {
        order: 0;
    }

    .hn-landing-copy h2 {
        text-align: center;
    }

    .hn-landing-copy h2:after {
        margin: 16px auto 0;
    }

    .hn-landing-copy p,
    .hn-landing-copy ul {
        text-align: center;
    }

    .hn-landing-copy ul li {
        padding: 8px 0;
    }

    .hn-landing-copy ul li:before {
        display: none;
    }

    .hn-landing-point {
        min-height: 0;
        text-align: center;
    }
}

/* ---------- Footer links ---------- */
.footer-logo img {
    max-width: 100%;
    height: auto;
}

.footer-links {
    list-style: none;
    margin: 0 auto 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    direction: rtl;
}

.footer-links a {
    color: #c9d1db;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--hn-green);
}

.footer-nap {
    color: #a8b0bb;
    font-size: 13px;
    text-align: center;
    margin: 0 0 10px;
}

.footer-nap a {
    color: #c9d1db;
    unicode-bidi: isolate;
}

/* ---------- Lead form ---------- */
.hn-lead-section {
    background: var(--hn-surface);
}

.hn-lead-box {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: var(--hn-radius);
    box-shadow: var(--hn-shadow);
    padding: 32px;
    direction: rtl;
    text-align: right;
}

.hn-lead-intro {
    flex: 1 1 280px;
    min-width: 0;
}

.hn-lead-intro h2 {
    text-align: right;
    margin-top: 0;
}

.hn-lead-intro p {
    color: var(--hn-muted);
    line-height: 1.9;
}

.hn-lead-intro ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.hn-lead-intro ul li {
    padding: 6px 0;
    padding-inline-start: 26px;
    position: relative;
    color: var(--hn-ink);
}

.hn-lead-intro ul li:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    color: var(--hn-green);
    position: absolute;
    inset-inline-start: 0;
}

.hn-lead-phone a {
    color: var(--hn-green-dark);
    font-weight: 700;
    unicode-bidi: isolate;
}

.hn-lead-form {
    flex: 1 1 320px;
    min-width: 0;
}

.hn-lead-form select.input-text {
    height: auto;
    background: #fff;
}

@media (max-width: 767px) {
    .hn-lead-box {
        padding: 20px 16px;
        gap: 16px;
    }
}

/* ---------- Article blocks on landing pages ---------- */
.hn-landing-article .hn-prose {
    max-width: 860px;
    margin: 0 auto;
    text-align: right;
    line-height: 2;
}

.hn-prose h2 {
    text-align: right;
}

.hn-prose h2:after {
    margin-right: 0;
}

.hn-prose ul {
    padding-inline-start: 20px;
}

.hn-prose li {
    margin-bottom: 6px;
}

.hn-project-cta {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: var(--hn-green-soft);
    line-height: 1.9;
}

.hn-project-cta a {
    color: var(--hn-green-dark);
    font-weight: 700;
}

/* ---------- Portfolio text cards (no images) ---------- */
.hn-project-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 168px;
    margin-bottom: 24px;
    padding: 20px 20px 16px;
    background: #fff;
    border: 1px solid var(--hn-line);
    border-top: 4px solid var(--pro-color, var(--hn-green));
    border-radius: var(--hn-radius);
    box-shadow: var(--hn-shadow);
    text-align: right;
    direction: rtl;
    color: var(--hn-ink);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hn-project-card:hover,
.hn-project-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--hn-shadow-hover);
    color: var(--hn-ink);
    text-decoration: none;
}

.hn-project-card h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    text-align: right;
}

.hn-project-url {
    align-self: flex-end;
    font-size: 13px;
    color: var(--hn-muted);
    unicode-bidi: isolate;
}

.hn-project-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--hn-muted);
}

.hn-project-more {
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hn-green-dark);
}

.hn-project-more:after {
    content: " \2190";
}

.hn-project-grid {
    display: flex;
    flex-wrap: wrap;
}

.hn-project-grid:before,
.hn-project-grid:after {
    display: none;
}

.hn-project-grid > [class*="col-"] {
    float: none;
    display: flex;
}

.hn-project-grid > [class*="col-"] > .hn-project-card {
    width: 100%;
}

.hn-project-grid > .hn-section-links {
    flex-basis: 100%;
}
