/* Bizdavar Group — Components & UI (tokens: css/tokens.css) */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

html[dir='rtl'] body {
  direction: rtl;
  text-align: right;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  width: min(var(--container-max), 92%);
  margin: 0 auto;
}

/* Top Bar */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 300;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar__contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar__contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__social {
  display: flex;
  gap: 16px;
}

.top-bar__social a:hover { color: var(--yellow); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__desktop {
  background: var(--white);
  box-shadow: var(--shadow);
}

.header__desktop .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 20px;
}

/* Mobile header — hidden on desktop */
.mobile-header,
.mobile-drawer,
.mobile-bottom-nav,
.footer__mobile {
  display: none;
}

.header__logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--red);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy);
  color: var(--red);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--text);
}

.btn--yellow:hover {
  background: #e6c800;
  transform: translateY(-2px);
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn--red:hover { background: #c41f28; }

.btn--green {
  background: #10B981;
  color: var(--white);
}

.btn--green:hover { background: #0d9668; }

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.28);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-hover);
}

.btn--orange {
  background: #F97316;
  color: var(--white);
}

.btn--orange:hover { background: #e0650f; }

.btn--blue {
  background: #3B82F6;
  color: var(--white);
}

.btn--blue:hover { background: #2563eb; }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a2a6a 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 222, 0, 0.08) 0%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--fw-black);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title span { color: var(--yellow); }

.hero__desc {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.hero__card--media {
  padding: 20px;
  max-width: 100%;
}

.hero__media-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
  margin-bottom: 16px;
  object-fit: cover;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.stat__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
}

.stat__label {
  font-size: 13px;
  opacity: 0.8;
}

/* Section */
.section {
  padding: var(--space-section) 0;
}

.section--gray { background: var(--gray); }

.section--yellow { background: var(--yellow); }

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__tag {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 17px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-card:nth-child(1) { border-top-color: var(--yellow); }
.service-card:nth-child(2) { border-top-color: var(--red); }
.service-card:nth-child(3) { border-top-color: #3B82F6; }
.service-card:nth-child(4) { border-top-color: #10B981; }

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.service-card__link {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
}

.service-card__link:hover { color: var(--navy); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about__image-inner {
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, var(--yellow) 0%, #f5c800 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.about__content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-semibold);
}

.about__feature::before {
  content: '✓';
  color: var(--yellow);
  background: var(--navy);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Fast Web Promo */
.fast-promo {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.fast-promo__title {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.fast-promo__desc {
  opacity: 0.9;
  margin-bottom: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card__header {
  background: #54595F;
  color: var(--white);
  padding: 24px;
  text-align: center;
}

.pricing-card__name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-card__subtitle {
  font-size: 13px;
  opacity: 0.85;
}

.pricing-card__price {
  padding: 28px 24px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.pricing-card__old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 18px;
}

.pricing-card__current {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-card__period {
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-card__features {
  padding: 24px;
  flex: 1;
}

.pricing-card__features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.pricing-card__features li::before {
  content: '✓';
  color: #10B981;
  font-weight: 700;
}

.pricing-card__footer {
  padding: 24px;
}

.pricing-card__footer .btn {
  width: 100%;
}

.pricing-card__ribbon {
  position: absolute;
  top: 16px;
  left: -30px;
  background: #3B82F6;
  color: var(--white);
  padding: 6px 40px;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(-45deg);
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
}

.client-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  transition: transform var(--transition);
}

.client-item:hover { transform: translateY(-4px); }

.client-item--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px 20px;
}

.client-item__logo {
  max-width: 130px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-item__name {
  font-size: 14px;
  line-height: 1.4;
}

.portfolio-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin: -8px -8px 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--gray-100);
}

.portfolio-card__logo img {
  max-height: 52px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.portfolio-card__logo--text span {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(22, 22, 63, 0.06);
}

.contact-info h2 {
  margin: 0 0 24px;
  font-size: 1.35rem;
  color: var(--navy);
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-info__item:last-child {
  margin-bottom: 0;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--navy);
}

.contact-info__icon--wa {
  background: var(--whatsapp);
  color: var(--white);
}

.contact-info__icon--wa .bd-icon {
  color: var(--white);
}

.contact-info__body {
  flex: 1;
  min-width: 0;
}

.contact-info__label {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.95rem;
}

.contact-info__value {
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-info__value a {
  color: var(--navy);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.contact-info__value a:hover {
  color: var(--red);
}

.contact-info__value--phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info__phone-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: var(--text-sm);
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--gray);
  border-radius: 10px;
  border: 1px solid rgba(22, 22, 63, 0.06);
}

.contact-info__phone-label {
  font-weight: 700;
  color: var(--navy);
}

.contact-info__phone-num {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-info__phone-sep {
  color: var(--text-muted);
  opacity: 0.6;
}

.contact-info__wa-link {
  color: var(--whatsapp) !important;
  font-weight: 700;
}

.contact-info__wa-link:hover {
  color: var(--whatsapp-hover) !important;
}

.contact-info__value--domains {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: var(--fw-semibold);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer__desktop {
  padding-top: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand p {
  opacity: 0.8;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
}

.footer__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--yellow);
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  opacity: 0.8;
  font-size: 14px;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--yellow);
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: #3B82F6;
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover { background: #2563eb; }

/* Fast page specific */
.fast-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.fast-hero__illustration {
  max-width: 500px;
  margin: 0 auto 30px;
  padding: 40px;
}

.fast-hero__illustration svg {
  width: 100%;
  height: auto;
}

.fast-header {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.fast-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fast-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

.fast-logo svg { width: 32px; height: 32px; }

.fast-social {
  display: flex;
  gap: 16px;
}

.fast-social a {
  color: var(--text);
  opacity: 0.7;
}

.fast-social a:hover { opacity: 1; }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a2a6a 100%);
  color: var(--white);
  padding: 70px 0 50px;
  text-align: center;
}

.page-hero h1 {
  font-size: var(--text-section);
  margin: 12px 0 16px;
}

.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

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

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.feature-item__icon { display: flex; }
.feature-item h3 { font-size: 16px; margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--text-muted); }

/* Products — legacy (inner pages) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-item {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border-right: 4px solid var(--yellow);
  box-shadow: var(--shadow);
}

.product-item h3 { margin-bottom: 8px; font-size: 18px; }
.product-item p { color: var(--text-muted); font-size: 14px; }

/* Industrial showcase — home */
.landing-industrial .section__header--pro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.industrial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: var(--space-6);
}

.industrial-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--navy);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-height: 100%;
}

.industrial-card--link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.industrial-card--blue { border-top-color: #2563eb; }
.industrial-card--vega { border-top-color: #ffde00; }
.industrial-card--red { border-top-color: var(--red); }
.industrial-card--teal { border-top-color: #058d9b; }
.industrial-card--navy { border-top-color: var(--navy); }
.industrial-card--green { border-top-color: #10b981; }

.industrial-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.industrial-card__logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 52px;
  padding: 10px 14px;
  background: var(--gray-50, #f8fafc);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100, #f1f5f9);
}

.industrial-card__logo img {
  max-height: 40px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.industrial-card__logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.industrial-card__badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: var(--radius-full, 999px);
  white-space: nowrap;
}

.industrial-card__title {
  font-size: var(--text-lg, 18px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight, 1.3);
}

.industrial-card__desc {
  font-size: var(--text-sm, 14px);
  color: var(--text-muted);
  line-height: var(--leading-relaxed, 1.65);
  margin-bottom: var(--space-4);
  flex: 1;
}

.industrial-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-5);
}

.industrial-card__tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-100, #f1f5f9);
  padding: 4px 10px;
  border-radius: var(--radius-full, 999px);
}

.industrial-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm, 14px);
  font-weight: 700;
  color: var(--red);
  margin-top: auto;
}

.industrial-card--link:hover .industrial-card__cta { color: var(--navy); }

.industrial-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-top: var(--space-10, 40px);
  padding: var(--space-6) var(--space-8);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light, #2d2d6b) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.industrial-cta-bar__content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  flex: 1;
}

.industrial-cta-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--yellow);
  flex-shrink: 0;
}

.industrial-cta-bar__content strong {
  display: block;
  font-size: var(--text-lg, 18px);
  margin-bottom: 6px;
}

.industrial-cta-bar__content p {
  font-size: var(--text-sm, 14px);
  opacity: 0.88;
  margin: 0;
  line-height: 1.5;
}

.industrial-cta-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  flex-shrink: 0;
}

.industrial-cta-bar .btn--outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.industrial-cta-bar .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-item {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
}

.testimonial-item p { margin-bottom: 16px; font-style: italic; color: var(--text-muted); }
.testimonial-item cite { font-size: 14px; font-weight: 600; color: var(--navy); }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-item {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.blog-item h3 { font-size: 18px; margin-bottom: 10px; }
.blog-item h3 a { color: var(--navy); }
.blog-item h3 a:hover { color: var(--red); }
.blog-item p { color: var(--text-muted); font-size: 14px; }

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 16px 20px;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Service detail */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-detail--reverse .service-detail__content { order: 2; }
.service-detail--reverse .service-detail__visual { order: 1; }

.service-detail__visual img {
  border-radius: var(--radius);
  width: 100%;
}

.service-detail__visual--card {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
}

.price-hint { font-size: 2rem; font-weight: 700; color: var(--yellow); margin-top: 16px; }

.service-detail__visual--smm {
  background: #1a56db;
  border-radius: var(--radius);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smm-badge {
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
}

.check-list {
  margin: 20px 0 28px;
}

.check-list li {
  padding: 8px 0;
  padding-right: 24px;
  position: relative;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: #10B981;
  font-weight: 700;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-tags span {
  background: var(--yellow);
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  border-top: 3px solid var(--navy);
}

.portfolio-card:hover { transform: translateY(-4px); }

.portfolio-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.portfolio-card h3 { font-size: 18px; }

.portfolio-card__cat {
  font-size: 11px;
  background: var(--gray);
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.portfolio-card__domain {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.portfolio-card__note {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.portfolio-card__link {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tags-cloud span {
  background: var(--white);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: 20px;
}

.cta-banner h2 { margin-bottom: 12px; }

.cta-banner--dark {
  background: var(--navy);
  color: var(--white);
  padding: 50px;
  border-radius: var(--radius);
}

/* Contact form extras */
.form-title { font-size: 1.5rem; margin-bottom: 8px; }
.form-desc { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req { color: var(--red); }
.form-group--checkbox label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--form { background: #467FF7; color: var(--white); flex: 1; }
.btn--form:hover { background: #2563eb; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 16px; }
.form-success { color: #10B981; margin-top: 16px; font-weight: 500; }
.form-success.form-feedback--error { color: var(--red); }
.form-success.form-feedback--sending { color: var(--text-muted); }

.contact-map {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-map img { border-radius: var(--radius); }

.top-bar__contact a { color: inherit; }
.top-bar__contact a:hover { color: var(--yellow); }

.about__image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Breadcrumbs */
.breadcrumbs-wrap {
  background: var(--gray);
  padding: 12px 0;
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '‹';
  margin-left: 8px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--navy);
  font-weight: var(--fw-semibold);
}

.breadcrumb a:hover { color: var(--red); }

.breadcrumb__item:last-child span {
  color: var(--text-muted);
}

/* Service nav */
.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px 0;
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 72px;
  z-index: 50;
}

.service-nav a {
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--gray);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  transition: all var(--transition);
}

.service-nav a:hover {
  background: var(--navy);
  color: var(--white);
}

/* Clickable cards */
.feature-item--link,
.product-item--link,
.client-item--link,
.about__feature {
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item--link:hover,
.product-item--link:hover,
.client-item--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

a.about__feature:hover {
  background: var(--navy);
  color: var(--white);
}

.blog-item__cat {
  display: inline-block;
  font-size: 12px;
  background: var(--gray);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* Related links */
.related-links {
  padding: 50px 0;
  background: var(--gray);
}

.related-links__title {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.related-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-links__card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-right: 3px solid var(--yellow);
  transition: transform var(--transition);
}

.related-links__card:hover { transform: translateY(-3px); }

.related-links__card strong {
  display: block;
  margin: 6px 0 8px;
  color: var(--navy);
}

.related-links__card p {
  font-size: 14px;
  color: var(--text-muted);
}

.related-links__label {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
}

/* Prose / articles */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: 1.35rem;
  color: var(--navy);
}

.prose p, .prose li {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.prose a {
  color: var(--red);
  font-weight: var(--fw-semibold);
}

.prose a:hover { text-decoration: underline; }

.article__header { margin-bottom: 28px; }

.article__header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 12px 0;
  color: var(--navy);
}

.article__meta {
  font-size: 14px;
  color: var(--text-muted);
}

.article__img {
  border-radius: var(--radius);
  margin: 24px auto;
  max-width: 320px;
}

.article__cta {
  margin-top: 40px;
  padding: 28px;
  background: var(--gray);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.numbered-list {
  margin: 16px 24px 24px 0;
  color: var(--text-muted);
}

.numbered-list li { margin-bottom: 8px; }

.page-hero--compact { padding: 50px 0 36px; }

.page-hero a { color: var(--yellow); }

.tags-cloud__tag {
  background: var(--white);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  color: inherit;
}

a.tags-cloud__tag:hover {
  background: var(--navy);
  color: var(--white);
}

.fast-header--sub {
  border-top: 1px solid #eee;
}

.text-muted { color: var(--text-muted); font-size: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .features-grid,
  .products-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail,
  .service-detail--reverse,
  .contact-map {
    grid-template-columns: 1fr;
  }

  .service-detail--reverse .service-detail__content,
  .service-detail--reverse .service-detail__visual { order: unset; }

  .related-links__grid { grid-template-columns: repeat(2, 1fr); }

  .hero .container,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card--featured { transform: none; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fast-promo {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ========== MOBILE HEADER / FOOTER (tablet + phone) ========== */
@media (max-width: 1100px) {
  .has-mobile-chrome {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .top-bar--desktop { display: none; }

  .header__desktop { display: none; }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    min-height: 56px;
  }

  .mobile-header__logo img {
    height: 32px;
    width: auto;
  }

  .mobile-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-header__icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
  }

  .mobile-header__cta {
    padding: 8px 14px;
    background: var(--navy);
    color: var(--white);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
  }

  .mobile-header__menu {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
  }

  .mobile-header__menu span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
  }

  .mobile-header__menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-header__menu.active span:nth-child(2) { opacity: 0; }

  .mobile-header__menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* وقتی منو باز است، header باید بالای overlay باشد تا blur روی drawer نیفتد */
  body.drawer-open .header {
    z-index: 350;
  }

  /* Mobile drawer */
  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100%;
    height: 100dvh;
    background: var(--white);
    z-index: 360;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    isolation: isolate;
  }

  .mobile-drawer.open {
    transform: translateX(0);
  }

  .mobile-drawer__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
  }

  .mobile-drawer__close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--navy);
  }

  .mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
  }

  .mobile-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
    transition: background var(--transition);
  }

  .mobile-drawer__link:hover,
  .mobile-drawer__link.active {
    background: #fff8e1;
    color: var(--red);
  }

  .mobile-drawer__icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
  }

  .mobile-drawer__contact {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 13px;
  }

  .mobile-drawer__contact-item {
    display: block;
    padding: 8px 0;
    color: var(--text-muted);
  }

  .mobile-drawer__social {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 13px;
  }

  .mobile-drawer__cta {
    width: 100%;
    margin-top: 16px;
    text-align: center;
  }

  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 22, 63, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 250;
    pointer-events: none;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Bottom navigation */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--white);
    border-top: 1px solid #e5e7eb;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }

  .mobile-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
  }

  .mobile-bottom-nav__item.active {
    color: var(--red);
  }

  .mobile-bottom-nav__item.active .mobile-bottom-nav__icon {
    transform: scale(1.1);
  }

  .mobile-bottom-nav__icon {
    font-size: 20px;
    line-height: 1;
    transition: transform var(--transition);
  }

  .mobile-bottom-nav__label {
    font-size: 10px;
  }

  /* Mobile footer */
  .footer__desktop { display: none; }

  .footer__mobile {
    display: block;
    padding: 0 0 8px;
  }

  .footer {
    padding: 0;
    background: var(--navy);
  }

  .mobile-footer-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px 16px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--navy) 100%);
  }

  .mobile-footer-cta__btn {
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
  }

  .mobile-footer-cta__btn--primary {
    background: var(--yellow);
    color: var(--text);
  }

  .mobile-footer-cta__btn--wa {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.25);
  }

  .mobile-footer-accordions {
    padding: 0 16px;
  }

  .mobile-footer-acc {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .mobile-footer-acc summary {
    padding: 14px 0;
    font-weight: 600;
    color: var(--yellow);
    cursor: pointer;
    list-style: none;
  }

  .mobile-footer-acc summary::-webkit-details-marker { display: none; }

  .mobile-footer-acc ul {
    padding: 0 0 12px;
  }

  .mobile-footer-acc li {
    margin-bottom: 8px;
  }

  .mobile-footer-acc a {
    font-size: 14px;
    opacity: 0.85;
    color: var(--white);
  }

  .mobile-footer-copy {
    text-align: center;
    padding: 20px 16px;
    opacity: 0.7;
    font-size: 12px;
  }

  .mobile-footer-copy p { margin-top: 8px; }

  .back-to-top {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .breadcrumbs-wrap { font-size: 12px; padding: 8px 0; }

  .fast-header--sub { display: none; }

  .service-nav {
    top: 56px;
    padding: 12px 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .service-nav a { white-space: nowrap; flex-shrink: 0; }
}

