/* ============================================================
   Sepahan Tab — Modern Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  --st-bg: #060b14;
  --st-bg-soft: #0c1525;
  --st-surface: #111d32;
  --st-surface-hover: #162640;
  --st-card: rgba(17, 29, 50, 0.75);
  --st-glass: rgba(255, 255, 255, 0.04);
  --st-border: rgba(255, 255, 255, 0.08);
  --st-border-strong: rgba(255, 255, 255, 0.14);

  --st-accent: #d4a03a;
  --st-accent-light: #e8b84d;
  --st-accent-glow: rgba(212, 160, 58, 0.35);
  --st-accent-dark: #b8862e;

  --st-text: #f1f5f9;
  --st-text-secondary: #94a3b8;
  --st-text-muted: #64748b;

  --st-success: #22c55e;
  --st-error: #ef4444;

  --st-radius-sm: 8px;
  --st-radius: 14px;
  --st-radius-lg: 20px;
  --st-radius-xl: 28px;
  --st-radius-full: 9999px;

  --st-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --st-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --st-shadow-glow: 0 0 40px var(--st-accent-glow);

  --st-header-h: 160px;
  --st-container: 1280px;
  --st-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --st-font: 'Vazirmatn', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--st-font);
  background: var(--st-bg);
  color: var(--st-text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(212, 160, 58, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(59, 130, 246, 0.05), transparent);
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--st-transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.st-container {
  width: 100%;
  max-width: var(--st-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .st-container { padding: 0 2rem; }
}

/* ── Loader ── */
.st-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.st-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.st-loader__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--st-border);
  border-top-color: var(--st-accent);
  border-radius: 50%;
  animation: st-spin 0.8s linear infinite;
}

@keyframes st-spin { to { transform: rotate(360deg); } }

/* ── Header ── */
.st-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--st-header-h);
  transition: background var(--st-transition), box-shadow var(--st-transition), backdrop-filter var(--st-transition);
}

.st-header.is-scrolled,
.st-header:not(.st-header--transparent) {
  background: rgba(6, 11, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--st-border);
  box-shadow: var(--st-shadow);
}

.st-header.is-scrolled {
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--st-border);
  box-shadow: var(--st-shadow);
}

.st-header--transparent:not(.is-scrolled) {
  background: transparent;
}

.st-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--st-header-h);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .st-header {
    --st-header-h: 140px;
  }
}

@media (max-width: 767px) {
  .st-header {
    --st-header-h: 120px;
  }
}

.st-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.st-logo img {
  height: 140px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  transition: transform var(--st-transition);
}

@media (max-width: 991px) {
  .st-logo img {
    height: 115px;
    max-width: 340px;
  }
}

@media (max-width: 767px) {
  .st-logo img {
    height: 95px;
    max-width: 280px;
  }
}

.st-logo:hover img { transform: scale(1.03); }

.st-logo__text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.st-logo__text span:first-child { color: var(--st-text); }
.st-logo__text span:last-child { color: var(--st-accent); }

.st-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 992px) {
  .st-nav { display: flex; }
}

.st-nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--st-text-secondary);
  border-radius: var(--st-radius-sm);
  transition: all var(--st-transition);
  position: relative;
}

.st-nav__link:hover,
.st-nav__link.is-active {
  color: var(--st-text);
  background: var(--st-glass);
}

.st-nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--st-accent);
  border-radius: 2px;
}

.st-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.st-search {
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .st-search { display: block; }
}

.st-search__input {
  width: 200px;
  padding: 0.55rem 2.5rem 0.55rem 1rem;
  background: var(--st-glass);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-full);
  color: var(--st-text);
  font-family: inherit;
  font-size: 0.875rem;
  transition: all var(--st-transition);
  outline: none;
}

.st-search__input::placeholder { color: var(--st-text-muted); }

.st-search__input:focus {
  width: 240px;
  border-color: var(--st-accent);
  box-shadow: 0 0 0 3px var(--st-accent-glow);
}

.st-search__btn {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--st-text-muted);
  font-size: 1.1rem;
  padding: 0.25rem;
  transition: color var(--st-transition);
}

.st-search__btn:hover { color: var(--st-accent); }

.st-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--st-radius-sm);
  background: var(--st-glass);
  border: 1px solid var(--st-border);
  color: var(--st-text);
  font-size: 1.35rem;
  transition: all var(--st-transition);
}

.st-menu-toggle:hover {
  background: var(--st-surface-hover);
  border-color: var(--st-border-strong);
}

@media (min-width: 992px) {
  .st-menu-toggle { display: none; }
}

/* ── Mobile Menu ── */
.st-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
}

.st-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.st-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--st-transition);
}

.st-mobile-menu.is-open .st-mobile-menu__backdrop { opacity: 1; }

.st-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--st-bg-soft);
  border-left: 1px solid var(--st-border);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--st-transition);
  overflow-y: auto;
}

.st-mobile-menu.is-open .st-mobile-menu__panel { transform: translateX(0); }

.st-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.st-mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--st-radius-sm);
  background: var(--st-glass);
  color: var(--st-text);
  font-size: 1.25rem;
}

.st-mobile-menu__search {
  margin-bottom: 1.5rem;
}

.st-mobile-menu__search input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  color: var(--st-text);
  font-family: inherit;
  outline: none;
}

.st-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.st-mobile-menu__link {
  display: block;
  padding: 0.875rem 1rem;
  font-weight: 500;
  color: var(--st-text-secondary);
  border-radius: var(--st-radius);
  transition: all var(--st-transition);
}

.st-mobile-menu__link:hover {
  background: var(--st-surface);
  color: var(--st-accent);
}

/* ── Buttons ── */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--st-radius);
  transition: all var(--st-transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.st-btn--primary {
  background: linear-gradient(135deg, var(--st-accent), var(--st-accent-dark));
  color: #0a0f18;
  box-shadow: 0 4px 16px var(--st-accent-glow);
}

.st-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--st-shadow-glow);
}

.st-btn--outline {
  background: transparent;
  color: var(--st-text);
  border: 1px solid var(--st-border-strong);
}

.st-btn--outline:hover {
  border-color: var(--st-accent);
  color: var(--st-accent);
  background: rgba(212, 160, 58, 0.08);
}

.st-btn--ghost {
  background: var(--st-glass);
  color: var(--st-text);
  border: 1px solid var(--st-border);
}

.st-btn--ghost:hover {
  background: var(--st-surface-hover);
}

.st-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.st-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Hero ── */
.st-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--st-header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.st-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.st-hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.st-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: st-float 8s ease-in-out infinite;
}

.st-hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(212, 160, 58, 0.12);
  top: 10%;
  right: 5%;
}

.st-hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.08);
  bottom: 10%;
  left: 10%;
  animation-delay: -4s;
}

@keyframes st-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.st-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .st-hero__grid { grid-template-columns: 1fr 1fr; }
}

.st-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(212, 160, 58, 0.12);
  border: 1px solid rgba(212, 160, 58, 0.25);
  border-radius: var(--st-radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--st-accent-light);
  margin-bottom: 1.25rem;
}

.st-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.st-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--st-accent-light), var(--st-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.st-hero__desc {
  font-size: 1.05rem;
  color: var(--st-text-secondary);
  margin-bottom: 0.75rem;
  max-width: 520px;
}

.st-hero__desc strong {
  color: var(--st-text);
  font-weight: 600;
}

.st-hero__actions {
  margin-top: 2rem;
}

.st-hero__visual {
  position: relative;
}

.st-hero__img-wrap {
  position: relative;
  border-radius: var(--st-radius-xl);
  overflow: hidden;
  box-shadow: var(--st-shadow-lg);
  animation: st-heroFloat 6s ease-in-out infinite;
}

@keyframes st-heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.st-hero__img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 11, 20, 0.6));
  z-index: 1;
  pointer-events: none;
}

.st-hero__img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.st-hero__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--st-accent);
  filter: blur(120px);
  opacity: 0.15;
  border-radius: 50%;
  top: -50px;
  left: -50px;
  pointer-events: none;
}

/* ── Sections ── */
.st-section {
  padding: 5rem 0;
}

.st-section--alt {
  background: var(--st-bg-soft);
  border-top: 1px solid var(--st-border);
  border-bottom: 1px solid var(--st-border);
}

.st-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.st-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.st-section__subtitle {
  color: var(--st-text-secondary);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.st-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--st-accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--st-transition);
}

.st-section__link:hover { gap: 0.6rem; }

/* ── Page Header ── */
.st-page-header {
  padding: calc(var(--st-header-h) + 2.5rem) 0 2.5rem;
  background: linear-gradient(180deg, var(--st-bg-soft) 0%, var(--st-bg) 100%);
  border-bottom: 1px solid var(--st-border);
}

.st-page-header__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.st-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--st-text-muted);
}

.st-breadcrumb a:hover { color: var(--st-accent); }
.st-breadcrumb__sep { opacity: 0.4; }
.st-breadcrumb__current { color: var(--st-text-secondary); }

/* ── Product Card ── */
.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.st-card {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  transition: all var(--st-transition);
  cursor: pointer;
  backdrop-filter: blur(8px);
  position: relative;
}

.st-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.st-card:hover::after {
  transform: translateX(100%);
}

.st-card:hover {
  transform: translateY(-6px);
  border-color: var(--st-border-strong);
  box-shadow: var(--st-shadow-lg);
}

.st-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.st-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.st-card:hover .st-card__img img { transform: scale(1.08); }

.st-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 11, 20, 0.85));
  opacity: 0;
  transition: opacity var(--st-transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.st-card:hover .st-card__overlay { opacity: 1; }

.st-card__view {
  padding: 0.4rem 1rem;
  background: var(--st-accent);
  color: #0a0f18;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--st-radius-full);
}

.st-card__body { padding: 1.25rem; }

.st-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.st-card__desc {
  font-size: 0.85rem;
  color: var(--st-text-secondary);
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Category Pills ── */
.st-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.st-filter-pill {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--st-text-secondary);
  background: var(--st-glass);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-full);
  transition: all var(--st-transition);
}

.st-filter-pill:hover,
.st-filter-pill.is-active {
  background: rgba(212, 160, 58, 0.15);
  border-color: var(--st-accent);
  color: var(--st-accent-light);
}

/* ── Blog Card ── */
.st-blog-card {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  transition: all var(--st-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.st-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--st-shadow);
  border-color: var(--st-border-strong);
}

.st-blog-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.st-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.st-blog-card:hover .st-blog-card__img img { transform: scale(1.05); }

.st-blog-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.st-blog-card__date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--st-accent);
  margin-bottom: 0.75rem;
}

.st-blog-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  transition: color var(--st-transition);
}

.st-blog-card:hover .st-blog-card__title { color: var(--st-accent-light); }

.st-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--st-text-secondary);
  flex: 1;
}

/* ── Blog Detail ── */
.st-article {
  padding: 3rem 0 5rem;
}

.st-article__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .st-article__layout { grid-template-columns: 1fr 300px; }
}

.st-article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--st-border);
  color: var(--st-text-secondary);
  font-size: 0.9rem;
}

.st-article__cover {
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--st-shadow);
}

.st-article__content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--st-text-secondary);
}

.st-article__content h3,
.st-article__content h4 {
  color: var(--st-text);
  margin: 2rem 0 1rem;
  font-weight: 700;
}

.st-article__content p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

.st-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.st-sidebar__box {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 1.5rem;
}

.st-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.st-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.st-social {
  display: flex;
  gap: 0.75rem;
}

.st-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--st-radius);
  background: var(--st-glass);
  border: 1px solid var(--st-border);
  color: var(--st-text-secondary);
  font-size: 1.1rem;
  transition: all var(--st-transition);
}

.st-social__link:hover {
  background: var(--st-accent);
  border-color: var(--st-accent);
  color: #0a0f18;
  transform: translateY(-2px);
}

/* ── Contact ── */
.st-contact {
  padding: 3rem 0 5rem;
}

.st-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .st-contact__grid { grid-template-columns: 1.2fr 1fr; }
}

.st-form-card,
.st-info-card {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.st-form-card__title,
.st-info-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.st-form-card__desc {
  color: var(--st-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.st-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .st-form__row--2 { grid-template-columns: 1fr 1fr; }
}

.st-form__group { margin-bottom: 1rem; }

.st-form__input,
.st-form__select,
.st-form__textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  color: var(--st-text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all var(--st-transition);
}

.st-form__textarea { min-height: 140px; resize: vertical; }

.st-form__input:focus,
.st-form__select:focus,
.st-form__textarea:focus {
  border-color: var(--st-accent);
  box-shadow: 0 0 0 3px var(--st-accent-glow);
}

.st-form__error {
  color: var(--st-error);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.st-alert {
  padding: 0.875rem 1rem;
  border-radius: var(--st-radius);
  font-size: 0.9rem;
  margin-top: 1rem;
  display: none;
}

.st-alert.is-visible {
  display: block;
  animation: st-fadeUp 0.4s ease;
}

.st-alert--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--st-success);
}

.st-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--st-border);
}

.st-info-item:last-child { border-bottom: none; }

.st-info-item__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 58, 0.12);
  border-radius: var(--st-radius);
  color: var(--st-accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.st-info-item__label {
  font-size: 0.8rem;
  color: var(--st-text-muted);
  margin-bottom: 0.15rem;
}

.st-info-item__value {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ── Footer ── */
.st-footer {
  background: var(--st-bg-soft);
  border-top: 1px solid var(--st-border);
  padding: 4rem 0 0;
  position: relative;
}

.st-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--st-accent), transparent);
  opacity: 0.5;
}

.st-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .st-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .st-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
}

.st-footer__brand p {
  color: var(--st-text-secondary);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.st-footer__heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--st-text);
}

.st-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.st-footer__links a {
  color: var(--st-text-secondary);
  font-size: 0.875rem;
  transition: all var(--st-transition);
}

.st-footer__links a:hover {
  color: var(--st-accent);
  padding-right: 4px;
}

.st-footer__bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--st-border);
  text-align: center;
  color: var(--st-text-muted);
  font-size: 0.8rem;
}

/* ── Modal ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--st-transition);
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  display: flex;
  flex-direction: column;
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--st-transition);
  box-shadow: var(--st-shadow-lg);
}

.modal.show .modal-content {
  transform: translateY(0) scale(1);
}

@media (min-width: 768px) {
  .modal-content { flex-direction: row-reverse; }
}

.modal-left {
  flex: 1;
  padding: 1.75rem;
  overflow-y: auto;
}

.modal-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-bg);
  min-height: 250px;
}

.modal-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  cursor: zoom-in;
  padding: 1rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--st-text);
}

.modal-description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--st-text-secondary);
  text-align: justify;
}

.close-btn {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-glass);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-sm);
  color: var(--st-text);
  font-size: 1.5rem;
  z-index: 10;
  transition: all var(--st-transition);
  cursor: pointer;
}

.close-btn:hover {
  background: var(--st-error);
  border-color: var(--st-error);
  color: white;
}

.zoomed-img {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.zoomed-img img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  border-radius: var(--st-radius);
}

/* ── Owl Carousel Overrides ── */
.owl-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px !important;
  height: 44px !important;
  background: var(--st-card) !important;
  border: 1px solid var(--st-border) !important;
  border-radius: 50% !important;
  color: var(--st-text) !important;
  font-size: 1.25rem !important;
  transition: all var(--st-transition) !important;
}

.owl-carousel .owl-nav button:hover {
  background: var(--st-accent) !important;
  color: #0a0f18 !important;
}

.owl-carousel .owl-nav .owl-prev { right: -12px; }
.owl-carousel .owl-nav .owl-next { left: -12px; }

.owl-carousel .owl-dots .owl-dot span {
  background: var(--st-border-strong) !important;
  transition: all var(--st-transition);
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--st-accent) !important;
  width: 24px;
  border-radius: 4px;
}

/* ── Empty State ── */
.st-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--st-text-muted);
}

.st-empty__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.st-empty__text { font-size: 1rem; }

/* ── Alert Banner ── */
.st-banner {
  padding: 1rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--st-radius);
  color: #fca5a5;
  text-align: center;
  margin-bottom: 2rem;
  animation: st-fadeUp 0.5s ease;
}

/* ── Animations ── */
.st-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.st-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes st-fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Main offset for fixed header ── */
.st-main--inner {
  padding-top: var(--st-header-h);
}

/* Hide old loader */
.Loader { display: none !important; }
.overlay-content { display: none !important; }

/* ── Features strip ── */
.st-features {
  padding: 3rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.st-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.st-feature {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--st-transition);
}

.st-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 58, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.st-feature__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 58, 0.12);
  border-radius: var(--st-radius);
  color: var(--st-accent);
  font-size: 1.5rem;
}

.st-feature__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.st-feature__desc {
  font-size: 0.85rem;
  color: var(--st-text-secondary);
  line-height: 1.6;
}

/* ── Stats ── */
.st-stats {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, rgba(212, 160, 58, 0.08), rgba(17, 29, 50, 0.5));
  border-top: 1px solid var(--st-border);
  border-bottom: 1px solid var(--st-border);
}

.st-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .st-stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.st-stat {
  text-align: center;
  padding: 1rem;
}

.st-stat__number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--st-accent);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.st-stat__label {
  font-size: 0.875rem;
  color: var(--st-text-secondary);
}

/* ── CTA Banner ── */
.st-cta {
  padding: 4rem 0;
}

.st-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--st-surface) 0%, rgba(212, 160, 58, 0.1) 100%);
  border: 1px solid rgba(212, 160, 58, 0.2);
  border-radius: var(--st-radius-xl);
  position: relative;
  overflow: hidden;
}

.st-cta__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: var(--st-accent);
  opacity: 0.06;
  border-radius: 50%;
  filter: blur(60px);
}

.st-cta__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.st-cta__desc {
  color: var(--st-text-secondary);
  font-size: 0.95rem;
  max-width: 480px;
}

/* ── Scroll progress ── */
.st-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10000;
  background: transparent;
  transform-origin: right;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--st-accent-dark), var(--st-accent-light));
  transition: transform 0.1s linear;
}

/* ── Floating actions ── */
.st-fab-group {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.st-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: white;
  box-shadow: var(--st-shadow-lg);
  transition: all var(--st-transition);
  position: relative;
}

.st-fab:hover {
  transform: scale(1.1);
}

.st-fab--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  animation: st-pulse 2.5s ease-in-out infinite;
}

.st-fab--top {
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  color: var(--st-text);
}

.st-fab--top:not([hidden]) {
  animation: st-fadeUp 0.3s ease;
}

.st-fab__tooltip {
  position: absolute;
  left: calc(100% + 10px);
  white-space: nowrap;
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  padding: 0.4rem 0.75rem;
  border-radius: var(--st-radius-sm);
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--st-transition);
}

.st-fab:hover .st-fab__tooltip { opacity: 1; }

@keyframes st-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* Stagger animation for grid children */
.st-grid .st-animate:nth-child(1) { transition-delay: 0.05s; }
.st-grid .st-animate:nth-child(2) { transition-delay: 0.1s; }
.st-grid .st-animate:nth-child(3) { transition-delay: 0.15s; }
.st-grid .st-animate:nth-child(4) { transition-delay: 0.2s; }
.st-grid .st-animate:nth-child(5) { transition-delay: 0.25s; }
.st-grid .st-animate:nth-child(6) { transition-delay: 0.3s; }

.st-features__grid .st-feature:nth-child(1) { animation-delay: 0.1s; }
.st-features__grid .st-feature:nth-child(2) { animation-delay: 0.2s; }
.st-features__grid .st-feature:nth-child(3) { animation-delay: 0.3s; }
.st-features__grid .st-feature:nth-child(4) { animation-delay: 0.4s; }
