@font-face {
  font-family: Vazirmatn;
  src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn%5Bwght%5D.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* ===== Design tokens (colors, fonts) ===== */
:root {
  --ink: #0a0a0b;
  --ink2: #101012;
  --ink3: #16161a;
  --ink4: #1e1e24;
  --line: #2a2a31;
  --gold: #d4af37;
  --gold2: #e7c86a;
  --gold3: #b8942b;
  --txt: #f4f2ec;
  --mut: #a9a69c;
  --dim: #71706a;
  --danger: #ef4444;
  --success: #22c55e;
}
/* ===== Reset & base ===== */
* {
  box-sizing: border-box;
  min-width: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  direction: rtl;
  background: var(--ink);
  color: var(--txt);
  overflow-x: hidden;
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
textarea,
select {
  font-family: inherit;
}
/* ===== Layout utilities ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ===== Buttons, badges & shared utility classes ===== */
.gold-text {
  background: linear-gradient(120deg, var(--gold2), var(--gold), var(--gold3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.07);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}
.gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
  display: inline-block;
  position: relative;
}
.gold-dot:before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--gold);
  border-radius: inherit;
  animation: ripple 2s infinite ease-out;
}
.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 14px;
  font-weight: 900;
  padding: 0.9rem 1.8rem;
  transition: 0.3s;
  border: 0;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold2), var(--gold));
  color: #090909;
  box-shadow: 0 18px 45px -18px rgba(212, 175, 55, 0.8);
}
.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--txt);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.grid-overlay {
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.gold-glow {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 68%);
}
/* ===== Card base ===== */
.card {
  position: relative;
  background: linear-gradient(160deg, var(--ink3), var(--ink2));
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: 0.45s;
  overflow: visible;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 24px 60px -24px rgba(212, 175, 55, 0.32);
}
/* ===== Section spacing & headings (title + description) ===== */
.section {
  padding: 92px 0;
}
.section-alt {
  background: var(--ink2);
}
/* محیطی پایدار*/
.section-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 56px;
}
.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.0rem);
  line-height: 1.25;
  margin: 18px 0 0;
  font-weight: 950;
  text-align: center;
  
}
.section-head p {
  color: var(--mut);
  margin: 20px auto 0;
  max-width: 780px;
  text-align: justify;
  text-align-last: right;
}
.gold-line {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 26px auto 0;
}
/* ===== Site header & navigation ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 18px 0;
  transition: 0.35s;
  background: transparent;
}
.site-header.is-scrolled {
  padding: 9px 0;
  background: rgba(16, 16, 18, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo img {
  height: 58px;
  width: auto;
  display: block;
}
.site-header.is-scrolled .site-logo img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: var(--mut);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 10px 13px;
  border-radius: 10px;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--gold);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-link {
  color: var(--txt);
  font-weight: 900;
  direction: ltr;
}
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--txt);
  border-radius: 12px;
}
/* ===== Hero section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 150px 0 80px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-datacenter.jpg") center/cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, var(--ink) 0%, rgba(10, 10, 11, 0.88) 48%, rgba(10, 10, 11, 0.62) 100%),
    linear-gradient(0deg, var(--ink), transparent 50%, rgba(10, 10, 11, 0.75));
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 780px;
}
/* عنوان اصلی سایت */
.hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 3.0rem);
  font-weight: 950;
  line-height: 1.50;
  margin: 26px 0;
  text-align: right;
  text-align-last: right;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-width: 680px;
}
.hero p {
  font-size: 1.08rem;
  color: var(--mut);
  max-width: 650px;
  text-align: justify;
  text-align-last: right;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
/* ===== Stats strip ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  text-align: center;
}
/*تنظیمات اعداد زیر عنوان اصلی  */
.stat-value {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 950;
}
.stat-label {
  color: var(--mut);
  font-size: 0.9rem;
}
/* ===== Values / services / portfolio / team / clients / membership grids ===== */
.values-grid,
.services-grid,
.portfolio-grid,
.team-grid,
.clients-grid,
.membership-grid {
  display: grid;
  gap: 24px;
}
/* کارت های زیر ایجاد محیطی پایدار */
.values-grid {
  grid-template-columns: repeat(4, 1fr);
}
.services-grid,
.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}
.team-grid {
  grid-template-columns: repeat(4, 1fr);
}
.clients-grid {
  grid-template-columns: repeat(4, 1fr);
}
.membership-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}
/* ===== Card content (icons, lists, descriptions) ===== */
.service-card,
.value-card,
.portfolio-card,
.team-card {
  padding: 30px;
}
.service-card > p,
.value-card > p {
  color: var(--mut);
  text-align: justify;
  text-align-last: right;
}
.icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
}
.service-card ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}
.service-card li {
  display: flex;
  gap: 10px;
  color: var(--mut);
  font-size: 0.9rem;
  margin: 10px 0;
}
.service-card li:before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
}
.portfolio-thumb {
  height: 190px;
  background: var(--ink4);
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 175, 55, 0.35);
}
.portfolio-card {
  padding: 0;
  overflow: hidden;
}
.portfolio-card-body {
  padding: 24px;
}
.client-card,
.member-card {
  background: #fff;
  border-radius: 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.client-card img {
  max-height: 70px;
  object-fit: contain;
}
.team-card {
  overflow: hidden;
  padding: 0;
}
.team-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink4);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1) brightness(0.6);
  transition: 0.45s;
}
.team-card:hover .team-photo img {
  filter: none;
  transform: scale(1.04);
}
.team-info {
  text-align: center;
  padding: 24px;
}
.team-info h3 {
  margin: 0;
  color: var(--txt);
}
.team-info p {
  color: var(--gold);
  margin: 6px 0 0;
}
.membership-card {
  padding: 18px;
  display: flex;
  gap: 22px;
  align-items: center;
}
.membership-logo {
  width: 128px;
  height: 128px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  flex-shrink: 0;
}
/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
/* ===== FAQ accordion ===== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 14px;
  padding: 22px;
}
.faq-item summary {
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary:after {
  content: "+";
  color: var(--gold);
}
.faq-item[open] summary:after {
  content: "×";
}
.faq-item p {
  color: var(--mut);
  text-align: justify;
  text-align-last: right;
  margin-top: 10px;
}
/* ===== Forms ===== */
.form-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 30px;
}
.input,
textarea,
select {
  width: 100%;
  background: var(--ink2);
  border: 1px solid var(--line);
  color: var(--txt);
  border-radius: 14px;
  padding: 13px 16px;
  outline: none;
}
.input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
}
.form-card {
  padding: 34px;
}
.contact-list {
  display: grid;
  gap: 14px;
}
.contact-item {
  padding: 20px;
  display: flex;
  gap: 14px;
}
/* ===== Footer ===== */
.site-footer {
  background: var(--ink2);
  border-top: 1px solid var(--line);
  position: relative;
}
.footer-cta {
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-main {
  padding: 58px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 34px;
}
.footer-logo {
  height: 62px;
}
.footer-title {
  font-weight: 950;
  position: relative;
  margin: 0 0 26px;
}
@media (max-width: 640px) {
  .footer-title {
  font-weight: 950;
  position: relative;
  margin: 0 0 26px;
  text-align: center;
}
}
.footer-title:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 42px;
  height: 2px;
  background: var(--gold);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.footer-links a {
  color: var(--mut);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--dim);
  font-size: 0.8rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mut);
}
.socials a:hover {
  background: var(--gold);
  color: #000;
}
/* ===== Floating action buttons (back-to-top, live chat) ===== */
.back-to-top,
.live-chat-btn {
  position: fixed;
  bottom: 24px;
  z-index: 999;
  border-radius: 18px;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}
.back-to-top {
  left: 24px;
  background: var(--ink3);
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease, transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.back-to-top svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}
.back-to-top:hover {
  background: var(--gold);
  color: #0a0a0b;
  transform: translateY(-4px);
}

.back-to-top-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.back-to-top-icon-hover {
    display: none;
}
.back-to-top:hover .back-to-top-icon-default {
    display: none;
}
.back-to-top:hover .back-to-top-icon-hover {
    display: block;
}

.live-chat-btn {
  right: 24px;
  background: var(--gold);
  color: #000;
  animation:
    ikp-chat-float 4s ease-in-out infinite,
    ikp-chat-glow 2.4s ease-in-out infinite;
}
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 94px;
  width: min(300px, calc(100vw - 32px));
  background: var(--ink3);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 22px;
  z-index: 999;
  overflow: hidden;
  box-shadow: 0 24px 80px -25px rgba(0, 0, 0, 0.9);
}
.chat-head {
  background: linear-gradient(120deg, var(--gold2), var(--gold));
  color: #000;
  padding: 15px 18px;
  font-weight: 950;
}
.chat-body {
  padding: 12px;
  display: grid;
  gap: 10px;
}
.chat-body a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
/* ===== Scroll reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes ripple {
  from {
    transform: scale(0.7);
    opacity: 0.8;
  }
  to {
    transform: scale(2.1);
    opacity: 0;
  }
}
@media (max-width: 1024px) {
  .main-nav,
  .header-actions .phone-link,
  .header-actions .btn-gold {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    background: var(--ink3);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .stats,
  .values-grid,
  .services-grid,
  .portfolio-grid,
  .team-grid,
  .clients-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* WordPress menu and article styles */
.main-nav .ikp-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.main-nav .ikp-menu > li {
  position: relative;
  margin: 0;
}
.main-nav .ikp-menu a {
  color: var(--mut);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 10px 13px;
  border-radius: 10px;
  display: block;
}
.main-nav .ikp-menu a:hover,
.main-nav .ikp-menu .current-menu-item > a,
.main-nav .ikp-menu .current_page_item > a {
  color: var(--gold);
}
.main-nav .ikp-menu .sub-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  width: 230px;
  padding: 10px;
  list-style: none;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ink3);
  box-shadow: 0 24px 60px -20px #000;
  z-index: 1002;
}
.main-nav .ikp-menu li:hover > .sub-menu {
  display: block;
}
.main-nav .ikp-menu .sub-menu a {
  font-size: 0.84rem;
}
.page-hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.page-hero .container {
  position: relative;
}
.entry-content {
  color: var(--mut);
  line-height: 2.1;
  word-break: normal;
  overflow-wrap: anywhere;
  text-align: justify;
  text-align-last: right;
}
.entry-content h2,
.entry-content h3 {
  color: var(--txt);
  margin: 34px 0 14px;
  text-align: right;
}
.entry-content a {
  color: var(--gold);
  text-decoration: underline;
}
.entry-content ul,
.entry-content ol {
  padding-right: 22px;
}
.entry-content img {
  border-radius: 18px;
  margin: 20px 0;
}
.single-post h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.3;
  margin: 22px 0;
}
.comments-area h2 {
  font-size: 1.6rem;
}
.comment-text {
  color: var(--mut);
  line-height: 2;
  margin-top: 10px;
}
.comment-respond {
  margin-top: 26px;
}
.comment-form label {
  display: block;
  color: var(--mut);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.comment-form p {
  margin: 16px 0;
}
.comment-form textarea,
.comment-form input {
  width: 100%;
  background: var(--ink2);
  color: var(--txt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
}
.comment-form textarea:focus,
.comment-form input:focus {
  outline: none;
  border-color: var(--gold);
}
.comment-form-cookies-consent {
  display: none;
}
.wp-block-image img {
  border-radius: 18px;
}
.pagination,
.nav-links {
  margin-top: 36px;
  display: flex;
  gap: 8px;
}
.page-numbers {
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--mut);
}
.page-numbers.current,
.page-numbers:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .main-nav .ikp-menu {
    display: none;
  }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    padding: 12px;
    background: var(--ink3);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 24px 60px -20px #000;
  }
  .main-nav.is-open .ikp-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .main-nav.is-open .ikp-menu li {
    width: 100%;
  }
  .main-nav.is-open .ikp-menu .sub-menu {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding-right: 18px;
  }
  .main-nav.is-open .ikp-menu a {
    padding: 11px 14px;
  }
  .main-nav.is-open .menu-icon {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 68px 0;
  }
  .hero {
    padding-top: 125px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions a {
    width: 100%;
  }
  .stats,
  .values-grid,
  .services-grid,
  .portfolio-grid,
  .team-grid,
  .clients-grid,
  .testimonial-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 18px;
  }
  .footer-brand {
    grid-column: 1/-1;
    text-align: center;
    padding-top: 24px;
  }
  .socials {
    justify-content: center;
  }
  .footer-grid > .footer-column:last-child {
    grid-column: 1/-1;
  }
  .footer-title:after {
    right: 50%;
    transform: translateX(50%);
  }
  .footer-links,
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .membership-card {
    flex-direction: column;
    text-align: center;
  }
  .membership-logo {
    width: 150px;
    height: 150px;
  }
  .back-to-top {
    left: 16px;
  }
  .live-chat-btn {
    right: 16px;
  }
  .chat-panel {
    right: 16px;
  }
  .site-logo img {
    height: 50px;
  }
  .header-actions {
    gap: 8px;
  }
  .mobile-toggle {
    display: flex;
  }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    padding: 12px;
    background: var(--ink3);
    border: 1px solid var(--line);
    border-radius: 18px;
  }
  .main-nav.is-open .ikp-menu {
    display: flex;
  }
  .form-card {
    padding: 22px;
  }
  .single-post h1 {
    font-size: 2rem;
  }
}

/* Inline icons and the native WordPress menu */
.ikp-icon,
.menu-icon,
.footer-icon {
  display: inline-block;
  width: 1.35em;
  height: 1.35em;
  vertical-align: middle;
  flex: 0 0 auto;
}
.menu-icon {
  width: 1.15em;
  height: 1.15em;
  margin-left: 0.55rem;
  color: var(--gold);
}
.footer-icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
}
.mobile-toggle .ikp-icon {
  width: 1.35rem;
  height: 1.35rem;
}
.menu-chevron {
  font-size: 0.8em;
  color: var(--gold);
  margin-right: 0.25rem;
}
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0px;
  font-size: 0;
}
.footer-contact li > * {
  font-size: 1rem;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-text small {
  display: block;
  color: var(--dim);
  font-size: 0.7rem;
}

.footer-contact-text a {
  color: inherit;
}

.footer-contact-text a:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .footer-contact {
    justify-items: center;
    gap: 12px;
  }

  .footer-contact li {
    width: auto;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
  }

  .footer-contact-text {
    flex: 1;
    width: auto;
    min-width: 0;
    text-align: center;
  }

  .footer-contact-text small {
    margin-bottom: 2px;
  }

  .footer-icon {
    position: absolute;
    width: 22px;
    height: 22px;
    margin: 0;
    top: 0;
  }

  /* آدرس */
  .footer-contact li:nth-child(1) .footer-icon {
    right: calc(50% - 50px);
  }

  /* تلفن تماس */
  .footer-contact li:nth-child(2) .footer-icon {
    right: calc(50% - 50px);
  }

  /* ایمیل */
  .footer-contact li:nth-child(3) .footer-icon {
    right: calc(50% - 50px);
  }

  /* ساعت کاری */
  .footer-contact li:nth-child(4) .footer-icon {
    right: calc(50% - 50px);
  }
}
.form-result {
  color: var(--gold);
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 10px 0;
}
.selected-date-fa {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 8px;
}
.form-card label {
  display: block;
  color: var(--mut);
  font-size: 0.85rem;
  margin: 13px 0 6px;
}
.form-card p {
  color: var(--mut);
}
.form-card .btn-gold {
  margin-top: 18px;
}
.site-logo img {
  display: block;
}
/* Floating buttons icons */
.back-to-top svg,
.live-chat-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}
.live-chat-btn .chat-close-icon {
  display: none;
  stroke: #0a0a0b;
}
.live-chat-btn.is-open .chat-open-icon {
  display: none;
}
.live-chat-btn.is-open .chat-close-icon {
  display: block;
}
.chat-head strong,
.chat-head small {
  display: block;
}
.chat-head small {
  font-size: 0.72rem;
  opacity: 0.75;
  margin-top: 2px;
}
.chat-body a {
  color: var(--txt);
}
.chat-body a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.chat-body a span {
  font-size: 0.86rem;
}
.chat-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--gold);
}
.btn-gold svg,
.btn-ghost svg {
  width: 18px;
  height: 18px;
}

/* ===== Floating chat button: solid, high-contrast bubble ===== */
.live-chat-btn {
  color: #0a0a0b;
}
.live-chat-btn .chat-open-icon {
  width: 27px;
  height: 27px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.15));
}
.live-chat-btn .chat-close-icon {
  width: 24px;
  height: 24px;
  stroke: #0a0a0b;
}

/* ===== Clients marquee (infinite, edge-faded) ===== */
.clients-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ikp-marquee 42s linear infinite;
  will-change: transform;
}
.clients-group {
  display: flex;
  gap: 18px;
  padding-inline-end: 18px;
  flex: 0 0 auto;
}
.clients-track:hover {
  animation-play-state: paused;
}
.clients-track .client-card {
  margin: 0;
  flex: 0 0 220px;
  width: 220px;
  height: 122px;
  border-radius: 20px;
  background: #fff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.clients-track .client-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 72px;
  object-fit: contain;
}
@keyframes ikp-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .clients-track .client-card {
    flex: 0 0 auto;
  }
}

/* ===== Live meeting calendar (day strip + time grid, synced to today) ===== */
.ikp-meeting-section h2 {
  text-align: justify;
  text-align-last: right;
}
.ikp-cal {
  background: linear-gradient(160deg, var(--ink3), var(--ink2));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
}
.ikp-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.ikp-cal-head strong {
  font-size: 1.15rem;
  font-weight: 900;
}
.ikp-cal-dur {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}
.ikp-cal-dur svg {
  width: 16px;
  height: 16px;
}
.ikp-days {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.ikp-day {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 6px;
  text-align: center;
  background: transparent;
  color: var(--mut);
  cursor: pointer;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 78px;
}
.ikp-day:hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--txt);
}
.ikp-day .dow {
  font-size: 0.72rem;
  opacity: 0.8;
}
.ikp-day .dnum {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--txt);
}
.ikp-day .mon {
  font-size: 0.7rem;
  opacity: 0.7;
}
.ikp-day.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0b;
  box-shadow: 0 14px 30px -14px rgba(212, 175, 55, 0.7);
}
.ikp-day.is-active .dow,
.ikp-day.is-active .dnum,
.ikp-day.is-active .mon {
  color: #0a0a0b;
  opacity: 1;
}
.ikp-seldate {
  color: var(--gold);
  font-size: 0.82rem;
  margin: 16px 0 4px;
  min-height: 1.2em;
}
.ikp-seldate b {
  font-weight: 800;
}
.ikp-times-label {
  color: var(--mut);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.ikp-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ikp-time {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 4px;
  text-align: center;
  background: transparent;
  color: var(--txt);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  transition: 0.2s;
}
.ikp-time:hover:not(:disabled) {
  border-color: rgba(212, 175, 55, 0.55);
  color: var(--gold);
}
.ikp-time.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0b;
}
.ikp-time:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  color: var(--dim);
  background: var(--ink2);
}
.ikp-time:disabled:hover {
  opacity: 0.65;
  cursor: not-allowed;
  color: var(--dim);
}
.ikp-cal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.ikp-cal-fields label {
  display: block;
  color: var(--mut);
  font-size: 0.78rem;
  margin-bottom: 6px;
}
.ikp-cal-submit {
  margin-top: 18px;
}
.ikp-cal input,
.form-card input {
  color-scheme: dark;
}
.ikp-cal input:-webkit-autofill,
.ikp-cal input:-webkit-autofill:hover,
.ikp-cal input:-webkit-autofill:focus,
.form-card input:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--ink2) inset !important;
  -webkit-text-fill-color: var(--txt) !important;
  border-color: var(--line) !important;
}
@media (max-width: 560px) {
  .ikp-times {
    grid-template-columns: repeat(3, 1fr);
  }
  .ikp-cal-fields {
    grid-template-columns: 1fr;
  }
}

/* ===== Service page richness ===== */
.svc-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.svc-hero-visual {
  aspect-ratio: 1/1;
  border-radius: 28px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(160deg, var(--ink3), var(--ink2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.svc-hero-visual .ikp-icon {
  width: 46%;
  height: 46%;
  color: var(--gold);
}
.svc-hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12), transparent 70%);
}
.svc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mut);
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.svc-back:hover {
  color: var(--gold);
}
.svc-back svg {
  width: 15px;
  height: 15px;
}
.svc-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.testimonial-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote {
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 14px;
}
.testimonial-card .quote svg {
  width: 34px;
  height: 34px;
}
.testimonial-card .stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.testimonial-card p {
  color: var(--mut);
  line-height: 2;
  flex: 1;
  text-align: justify;
  text-align-last: right;
}
.testimonial-card .who {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}
.testimonial-card .who b {
  display: block;
  color: var(--txt);
}
.testimonial-card .who span {
  color: var(--gold);
  font-size: 0.82rem;
}
@media (max-width: 900px) {
  .svc-hero {
    grid-template-columns: 1fr;
  }
  .svc-hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact page — matches the reference design ===== */
.ikp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.ikp-contact-form {
  padding: 32px;
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
}
.ikp-contact-form h2 {
  font-size: 1.55rem;
  font-weight: 900;
  margin: 0 0 6px;
  text-align: right;
}
.ikp-contact-form > p {
  color: var(--mut);
  font-size: 0.88rem;
  text-align: justify;
  text-align-last: right;
  margin: 0 0 22px;
}
.ikp-form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.ikp-form-row2 label,
.ikp-contact-form > div > label {
  display: block;
  color: var(--mut);
  font-size: 0.8rem;
  margin-bottom: 6px;
  text-align: right;
}
.ikp-contact-form select.input {
  color: var(--txt);
  background: var(--ink2);
  appearance: auto;
  -webkit-appearance: auto;
}
.ikp-contact-form > div {
  margin-bottom: 14px;
}
.ikp-contact-info h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 10px;
}
.ikp-info-lead {
  color: var(--mut);
  font-size: 0.88rem;
  line-height: 1.85;
  margin: 0 0 26px;
  text-align: justify;
  text-align-last: right;
}
.ikp-info-list {
  display: grid;
  gap: 14px;
}
.ikp-info-item {
  background: linear-gradient(160deg, var(--ink3), var(--ink2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: 0.3s;
}
.ikp-info-item:hover {
  border-color: rgba(212, 175, 55, 0.35);
}
.ikp-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex: 0 0 auto;
}
.ikp-info-icon svg {
  width: 20px;
  height: 20px;
}
.ikp-info-label {
  display: block;
  color: var(--dim);
  font-size: 0.72rem;
  margin-bottom: 4px;
}
.ikp-info-value {
  color: var(--txt);
  font-size: 0.95rem;
  display: block;
}
.ikp-info-value a {
  color: var(--txt);
}
.ikp-info-value a:hover {
  color: var(--gold);
}
.ikp-bold,
.ikp-info-value.ikp-bold {
  font-weight: 900;
}
.ikp-ltr {
  direction: ltr;
  text-align: right;
  display: block;
}
@media (max-width: 900px) {
  .ikp-contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .ikp-form-row2 {
    grid-template-columns: 1fr;
  }
}

/* Portfolio link badge */
.portfolio-link-icon {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.portfolio-link-icon svg {
  width: 14px;
  height: 14px;
}

/* ===== Portfolio cards ===== */
.portfolio-card .portfolio-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--ink4);
}
.portfolio-card .portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
  filter: saturate(0.85) brightness(0.8);
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.95);
}
.portfolio-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: #0a0a0b;
  font-size: 0.72rem;
  font-weight: 900;
}
.portfolio-card-body h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.portfolio-card-body p {
  color: var(--mut);
  font-size: 0.86rem;
  line-height: 1.9;
  min-height: 58px;
  text-align: justify;
  text-align-last: right;
}
.portfolio-meta {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--dim);
}
.portfolio-meta strong {
  color: var(--gold);
}

/* Final hard override: disabled/reserved meeting slots must never turn gold on hover */
.ikp-time:disabled,
.ikp-time[disabled],
.ikp-time[aria-disabled="true"] {
  background: rgba(16, 16, 18, 0.72) !important;
  color: rgba(169, 166, 156, 0.55) !important;
  border-color: rgba(42, 42, 49, 0.75) !important;
  opacity: 0.58 !important;
  cursor: not-allowed !important;
  text-decoration: line-through !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  pointer-events: none !important;
}
.ikp-time:disabled:hover,
.ikp-time[disabled]:hover,
.ikp-time[aria-disabled="true"]:hover {
  background: rgba(16, 16, 18, 0.72) !important;
  color: rgba(169, 166, 156, 0.55) !important;
  border-color: rgba(42, 42, 49, 0.75) !important;
  opacity: 0.58 !important;
}

/* Final selected slot hover fix: selected text must stay readable on gold */
.ikp-time.is-active:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #0a0a0b !important;
}

/* Final floating button polish */
@keyframes ikp-chat-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes ikp-chat-glow {
  0%,
  100% {
    box-shadow: 0 18px 50px -18px rgba(212, 175, 55, 0.65);
  }
  50% {
    box-shadow: 0 18px 60px -8px rgba(212, 175, 55, 0.95);
  }
}
.live-chat-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 24px;
  animation: ikp-chat-ping 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes ikp-chat-ping {
  0% {
    transform: scale(0.82);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
.live-chat-btn.is-open {
  animation: none;
}
.live-chat-btn.is-open::before {
  display: none;
}
.live-chat-btn .chat-open-icon,
.live-chat-btn .chat-close-icon {
  width: 27px !important;
  height: 27px !important;
  color: #0a0a0b !important;
}
.live-chat-btn img.chat-open-icon,
.live-chat-btn img.chat-close-icon {
  object-fit: contain;
}
.back-to-top .ikp-icon,
.back-to-top .ikp-custom-icon {
  width: 24px !important;
  height: 24px !important;
  color: currentColor !important;
  display: block !important;
}
.back-to-top img {
  object-fit: contain;
}
