/**
 * Sabt Yar — main stylesheet
 * Palette: deep navy / charcoal + metallic gold
 */

:root {
  --sy-navy: #0b121e;
  --sy-navy-2: #121926;
  --sy-navy-3: #1a2333;
  --sy-ink: #1c2433;
  --sy-gold: #c9a227;
  --sy-gold-light: #e4c56a;
  --sy-gold-dark: #9a7b1a;
  --sy-gold-grad: linear-gradient(135deg, #f0d78c 0%, #c9a227 48%, #8b6914 100%);
  --sy-white: #ffffff;
  --sy-off: #f5f6f8;
  --sy-muted: #6b7280;
  --sy-border: rgba(201, 162, 39, 0.28);
  --sy-radius: 12px;
  --sy-radius-sm: 8px;
  --sy-shadow: 0 10px 30px rgba(11, 18, 30, 0.08);
  --sy-font: "Vazirmatn", Tahoma, Arial, sans-serif;
  --sy-header-h: 78px;
  --sy-container: 1180px;
  --sy-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sy-font);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--sy-ink);
  background: var(--sy-off);
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--sy-ease), opacity 0.2s;
}

a:hover {
  color: var(--sy-gold-dark);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 10000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--sy-gold);
  color: var(--sy-navy);
}

.container {
  width: min(100% - 2rem, var(--sy-container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--sy-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--sy-ease), box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-gold {
  background: var(--sy-gold-grad);
  color: var(--sy-navy);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover {
  color: var(--sy-navy);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--sy-white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sy-white);
}

.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0b121e;
  background: rgba(11, 18, 30, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  height: var(--sy-header-h);
  color: #fff;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.site-header .nav-list a,
.site-header .nav-list li a,
.site-header .primary-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header .nav-list a:hover,
.site-header .nav-list .current-menu-item > a,
.site-header .primary-nav a:hover {
  color: var(--sy-gold-light);
}

.site-header .header-phone {
  color: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  height: var(--sy-header-h);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--sy-white);
}

.brand-link:hover {
  color: var(--sy-white);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.brand-mark .logo-svg {
  width: 44px;
  height: 44px;
}

.site-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-logo--header,
.custom-logo-link img,
.custom-logo {
  max-height: 64px;
  width: auto;
}

.site-logo--footer {
  max-height: 120px;
  width: auto;
}

.site-logo--hero {
  max-width: 220px;
  width: 70%;
  margin-inline: auto;
}

.site-logo--why {
  max-width: 160px;
  width: 80%;
  margin-inline: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--sy-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.15rem;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--sy-gold);
  transition: width 0.25s var(--sy-ease);
}

.nav-list a:hover,
.nav-list .current-menu-item > a {
  color: var(--sy-gold-light);
}

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
  direction: ltr;
}

.header-phone:hover {
  color: var(--sy-gold-light);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sy-gold);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--sy-header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sy-navy);
  color: var(--sy-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(201, 162, 39, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(255, 255, 255, 0.04), transparent 55%),
    linear-gradient(160deg, #0b121e 0%, #151d2e 45%, #0b121e 100%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: 3.5rem 4rem;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--sy-gold-light);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: var(--sy-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeUp 0.8s var(--sy-ease) both;
}

.hero-subtitle {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  animation: fadeUp 0.8s 0.08s var(--sy-ease) both;
}

.hero-text {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  animation: fadeUp 0.8s 0.14s var(--sy-ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  animation: fadeUp 0.8s 0.2s var(--sy-ease) both;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  color: #25d366;
  font-weight: 600;
  font-size: 0.95rem;
  animation: fadeUp 0.8s 0.26s var(--sy-ease) both;
}

.whatsapp-link:hover {
  color: #3ee07a;
}

.wa-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeIn 1s 0.15s var(--sy-ease) both;
}

.hero-portrait {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 18px 18px 40% 40% / 18px 18px 28% 28%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 162, 39, 0.2), transparent 55%),
    linear-gradient(180deg, #1a2333, #0b121e);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 2rem;
}

.hero-portrait-placeholder .logo-svg {
  width: 110px;
  height: 110px;
}

.hero-portrait-placeholder .site-logo--hero {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero-portrait-placeholder p {
  margin: 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--sy-gold-light);
}

.hero-portrait-placeholder span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sections */
.section {
  padding-block: 4.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--sy-navy);
}

.section-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.85rem auto 0;
  background: var(--sy-gold-grad);
  border-radius: 2px;
}

.block-title {
  margin: 0 0 1.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sy-navy);
}

.block-title--light {
  color: var(--sy-white);
  text-align: center;
}

/* Services */
.services {
  background: var(--sy-white);
}

.services-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.services-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: none;
}

.services-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 min(240px, 78vw);
  scroll-snap-align: start;
  background: var(--sy-white);
  border: 1px solid rgba(11, 18, 30, 0.06);
  border-radius: var(--sy-radius);
  box-shadow: var(--sy-shadow);
  padding: 1.5rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: transform 0.25s var(--sy-ease), box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 18, 30, 0.12);
}

.service-icon {
  color: var(--sy-gold);
  margin-bottom: 1rem;
}

.service-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sy-navy);
}

.service-desc {
  margin: 0.55rem 0 0;
  color: var(--sy-muted);
  font-size: 0.88rem;
  flex: 1;
}

.service-link {
  align-self: flex-start;
  margin-top: 1rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--sy-border);
  color: var(--sy-gold);
}

.service-link:hover {
  background: var(--sy-gold);
  color: var(--sy-navy);
  border-color: var(--sy-gold);
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(11, 18, 30, 0.12);
  background: var(--sy-white);
  color: var(--sy-navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--sy-navy);
  color: var(--sy-gold);
  border-color: var(--sy-navy);
}

/* Triple section */
.triple {
  background: var(--sy-off);
}

.triple-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.why-block,
.articles-block {
  background: var(--sy-white);
  border-radius: var(--sy-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--sy-shadow);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.why-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--sy-ink);
}

.why-icon {
  color: var(--sy-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-visual {
  margin-top: 1.75rem;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border-radius: var(--sy-radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(160deg, #1a2333, #0b121e);
}

.why-visual .logo-svg {
  width: 100px;
  height: 100px;
}

.why-visual .site-logo--why {
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.article-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.article-thumb,
.article-thumb img,
.article-thumb--placeholder {
  width: 96px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  overflow: hidden;
}

.article-thumb--placeholder,
.post-card-placeholder {
  background:
    linear-gradient(135deg, #1a2333, #2a3548),
    var(--sy-navy);
}

.article-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.article-title a:hover {
  color: var(--sy-gold-dark);
}

.article-excerpt {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--sy-muted);
  line-height: 1.7;
}

.article-more {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sy-gold-dark);
}

/* Consultation form */
.consult-card {
  background: linear-gradient(165deg, #151d2e 0%, #0b121e 100%);
  border-radius: var(--sy-radius);
  padding: 1.75rem 1.4rem 1.5rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  box-shadow: 0 18px 40px rgba(11, 18, 30, 0.25);
}

.consult-form .field {
  display: block;
  margin-bottom: 0.85rem;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--sy-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--sy-white);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.consult-form input::placeholder,
.consult-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.consult-form input:focus,
.consult-form textarea:focus {
  border-color: var(--sy-gold);
  background: rgba(255, 255, 255, 0.09);
}

.form-status {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--sy-gold-light);
}

.form-status.is-error {
  color: #f87171;
}

/* Stats */
.stats {
  background: var(--sy-navy);
  color: var(--sy-white);
  padding-block: 2.25rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.stat-icon {
  color: var(--sy-gold);
  margin-bottom: 0.25rem;
}

.stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  background: var(--sy-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: #080e18;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-tagline {
  margin: 1rem 0 0.35rem;
  color: var(--sy-gold-light);
  font-size: 0.9rem;
}

.footer-cred {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sy-white);
}

.footer-nav,
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a,
.contact-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-nav a:hover,
.contact-list a:hover {
  color: var(--sy-gold-light);
}

.footer-contact .btn-whatsapp {
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom p {
  margin: 0;
}

/* Inner pages */
.page-banner {
  background:
    radial-gradient(ellipse 60% 80% at 70% 20%, rgba(201, 162, 39, 0.15), transparent 50%),
    linear-gradient(160deg, #0b121e, #151d2e);
  color: var(--sy-white);
  padding: 3.5rem 0 3rem;
}

.page-banner-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.post-meta {
  margin: 0 0 0.5rem;
  color: var(--sy-gold-light);
  font-size: 0.9rem;
}

.content-wrap {
  padding-block: 2.75rem 4rem;
}

.entry-content {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.02rem;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  color: var(--sy-navy);
  font-weight: 800;
}

.post-featured {
  margin: 0 0 2rem;
  border-radius: var(--sy-radius);
  overflow: hidden;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.post-card {
  background: var(--sy-white);
  border-radius: var(--sy-radius);
  overflow: hidden;
  box-shadow: var(--sy-shadow);
  display: flex;
  flex-direction: column;
}

.post-card-media img,
.post-card-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.post-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.post-card-excerpt {
  margin: 0.55rem 0 0;
  color: var(--sy-muted);
  font-size: 0.88rem;
}

.error-404 {
  text-align: center;
  padding-block: 5rem;
}

.error-404 h1 {
  font-weight: 800;
  color: var(--sy-navy);
}

.navigation.pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 0.4rem;
}

.navigation.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border-radius: 8px;
  background: var(--sy-white);
  border: 1px solid rgba(11, 18, 30, 0.08);
  font-weight: 600;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
  background: var(--sy-navy);
  color: var(--sy-gold);
  border-color: var(--sy-navy);
}

/* Responsive */
@media (max-width: 1024px) {
  .triple-grid {
    grid-template-columns: 1fr 1fr;
  }

  .consult-block {
    grid-column: 1 / -1;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .primary-nav {
    position: fixed;
    inset: var(--sy-header-h) 0 auto 0;
    background: var(--sy-navy-2);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--sy-ease), opacity 0.3s;
  }

  .nav-open .primary-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-phone {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .whatsapp-link {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-portrait {
    width: min(100%, 300px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .triple-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    grid-template-columns: 80px 1fr;
  }

  .slider-btn {
    display: none;
  }

  .services-slider {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-actions .btn {
    display: none;
  }
}
