/*
 * SK Finance — UI components.
 * Buttons, cards, header, footer, hero, forms, cookie banner, and all section styles.
 */

/* ════════════════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-mid) var(--ease);
  white-space: nowrap;
}

.btn:disabled,
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

/* Primary */
.btn-primary {
  background: var(--grad-gold);
  color: var(--surface-1);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212,175,55,0.3);
  color: var(--surface-1);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Secondary */
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--gold-glow);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: none;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--gold);
}

/* Danger */
.btn-danger {
  background: var(--danger);
  color: #fff;
  border: none;
}
.btn-danger:hover {
  filter: brightness(1.1);
  color: #fff;
}

/* Arrow modifier */
.btn-arrow::after {
  content: '→';
  transition: transform var(--t-mid) var(--ease);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Loading state */
.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}
.btn.is-loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: skf-spin 0.6s linear infinite;
}
@keyframes skf-spin {
  to { transform: rotate(360deg); }
}


/* ════════════════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0;
  background: rgba(11, 10, 8, 0.75);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid var(--border);
  transition: height var(--t-mid) var(--ease),
              background var(--t-mid) var(--ease);
}

.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(11, 10, 8, 0.92);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  width: 100%;
}

/* Logo */
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-decoration: none;
  flex-shrink: 0;
  transition: color var(--t-fast) var(--ease);
}
.site-logo:hover {
  color: var(--gold-light);
}
.site-logo .logo-dot {
  color: var(--gold);
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease);
}
.primary-nav a:hover,
.primary-nav a.current-menu-item {
  color: var(--text-primary);
}
.primary-nav a.current-menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

/* Header right slot */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-switcher .lang-sep {
  color: var(--border-strong);
  user-select: none;
}
.lang-switcher .lang-current {
  color: var(--gold);
  cursor: default;
}
.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.lang-switcher a:hover {
  color: var(--text-primary);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}
.nav-toggle:hover {
  background: var(--surface-2);
  color: var(--gold);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  background: rgba(11, 10, 8, 0.97);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  overflow-y: auto;
}
.mobile-nav-overlay.is-open {
  transform: translateX(0);
}
.mobile-nav-overlay::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-12);
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--t-fast) var(--ease);
}
.mobile-nav-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.mobile-nav-list a {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast) var(--ease),
              padding-left var(--t-fast) var(--ease);
}
.mobile-nav-list a:hover,
.mobile-nav-list a.current-menu-item {
  color: var(--gold);
  padding-left: var(--sp-4);
}

.mobile-nav-footer {
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .nav-toggle  { display: flex; }
  .header-cta  { display: none; }
}


/* ════════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding: 120px 0 140px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content h1 {
  margin-bottom: var(--sp-6);
  animation: skf-fade-up var(--t-hero) var(--ease) both;
}
.hero-content .lead {
  max-width: 540px;
  margin-bottom: var(--sp-10, 40px);
  animation: skf-fade-up var(--t-hero) var(--ease) 100ms both;
}
.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  align-items: center;
  animation: skf-fade-up var(--t-hero) var(--ease) 200ms both;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-8);
  overflow: hidden;
  animation: skf-fade-up var(--t-hero) var(--ease) 150ms both;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, var(--gold-glow), transparent 60%);
  pointer-events: none;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-photo-caption {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.hero-photo-caption span {
  color: var(--gold);
}

@keyframes skf-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }
  .hero-photo {
    max-width: 420px;
    margin-inline: auto;
  }
  .hero {
    padding: 80px 0 96px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 0 72px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    justify-content: center;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   TRUST STRIP
   ════════════════════════════════════════════════════════════════════════════ */

.trust-strip {
  padding: 48px 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-6);
}
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-8);
}
.trust-row:hover .bank-logo {
  opacity: 0.35;
}
.bank-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--t-mid) var(--ease);
  cursor: default;
}
.bank-logo:hover {
  opacity: 1 !important;
  color: var(--text-primary);
  filter: grayscale(0%);
}
.bank-logo img {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  transition: filter var(--t-mid) var(--ease);
}
.bank-logo:hover img {
  filter: grayscale(0%);
}


/* ════════════════════════════════════════════════════════════════════════════
   GLASS CARD (service, testimonial, etc.)
   ════════════════════════════════════════════════════════════════════════════ */

.card {
  position: relative;
  padding: var(--sp-8);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform var(--t-slow) var(--ease),
              background var(--t-slow) var(--ease),
              border-color var(--t-slow) var(--ease),
              box-shadow var(--t-slow) var(--ease);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: var(--grad-card-edge);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none; /* never intercept clicks on card contents (links, buttons) */
}
.card:hover {
  transform: translateY(-4px);
  background: rgba(212, 175, 55, 0.04);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}
.card:hover::before {
  opacity: 1;
}

/* Card icon */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-glow);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: var(--sp-6);
  flex-shrink: 0;
}
.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: var(--sp-3);
}
.card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-5, 20px);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
  position: relative; /* lift above .card::before overlay */
  z-index: 1;
}
.card-link::after {
  content: '→';
  transition: transform var(--t-mid) var(--ease);
}
.card-link:hover {
  color: var(--gold-light);
}
.card-link:hover::after {
  transform: translateX(4px);
}


/* ════════════════════════════════════════════════════════════════════════════
   SERVICES GRID
   ════════════════════════════════════════════════════════════════════════════ */

.services-section {
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}


/* ════════════════════════════════════════════════════════════════════════════
   STATS / COUNTERS
   ════════════════════════════════════════════════════════════════════════════ */

.stats-section {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.stat-item {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-3);
  display: block;
}
.stat-label {
  color: var(--text-secondary);
  font-size: 16px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   PROCESS STEPS
   ════════════════════════════════════════════════════════════════════════════ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--border-strong) 20%,
    var(--border-strong) 80%,
    transparent
  );
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--sp-2);
}
.step-num {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--sp-6);
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 0 0 8px var(--bg), 0 8px 24px rgba(0,0,0,0.4);
  transition: all var(--t-mid) var(--ease);
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: var(--sp-2);
}
.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .process-grid::before { display: none; }
}


/* ════════════════════════════════════════════════════════════════════════════
   CASE STUDY HIGHLIGHT
   ════════════════════════════════════════════════════════════════════════════ */

.case-feature-section {
  background: var(--bg);
}
.case-feature-card {
  padding: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-1) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.case-feature-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.case-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.case-stat-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-4);
}
.case-feature-card h2 {
  margin-bottom: var(--sp-6);
}
.case-feature-card p {
  font-size: 18px;
  margin-bottom: var(--sp-8);
}
.case-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  font-size: 16px;
  color: var(--text-muted);
  position: relative;
}
.case-meta-item strong {
  color: var(--text-primary);
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  .case-feature-card { padding: 40px 24px; }
  .case-feature-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .case-feature-card .btn {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .case-meta {
    align-items: center;
    text-align: center;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════════════════════ */

.testimonials-section {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.testimonial-card {
  padding: var(--sp-8);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  pointer-events: none;
}
.testimonial-quote {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-3), var(--gold-dark));
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.3;
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}


/* ════════════════════════════════════════════════════════════════════════════
   BLOG TEASER CARDS
   ════════════════════════════════════════════════════════════════════════════ */

.blog-teaser-section {
  background: var(--bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}
.blog-card {
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease);
}
.blog-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.blog-card-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
}
.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.blog-card:hover .blog-card-cover img {
  transform: scale(1.03);
}
.blog-card-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  display: grid;
  place-items: center;
  color: var(--text-muted);
}
.blog-card-body {
  padding: var(--sp-6);
}
.blog-card-meta {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  margin-bottom: var(--sp-3);
}
.blog-card-date {
  font-size: 12px;
  color: var(--text-muted);
}
.blog-card-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.blog-card h3 {
  font-size: 20px;
  margin-bottom: var(--sp-3);
  transition: color var(--t-fast) var(--ease);
}
.blog-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}
.blog-card h3 a:hover {
  color: var(--gold);
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ════════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════════════════════ */

.cta-section {
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}
.cta-inner h2 {
  margin-bottom: var(--sp-6);
}
.cta-inner p {
  font-size: 18px;
  margin-bottom: var(--sp-10, 40px);
}
.cta-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.cta-phone:hover {
  color: var(--gold-light);
}


/* ════════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--sp-5, 20px);
}
.footer-nav,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li,
.footer-contact-list li {
  margin-bottom: var(--sp-3);
}
.footer-nav a {
  color: var(--text-secondary);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-nav a:hover {
  color: var(--text-primary);
}
.footer-contact-list a {
  color: var(--text-secondary);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-contact-list a:hover {
  color: var(--text-primary);
}
.footer-contact-list .contact-hours {
  color: var(--text-muted);
  font-size: 13px;
}
.footer-brand-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 360px;
  margin-top: var(--sp-4);
}
.footer-license {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--sp-4);
}
.footer-bottom {
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-bottom a:hover {
  color: var(--text-primary);
}
.footer-legal {
  display: flex;
  gap: var(--sp-5, 20px);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }
  .footer-brand {
    display: contents;
  }
  .footer-brand .widget_archive {
    grid-column: 1;
    grid-row: 1;
  }
  .footer-brand .widget_categories {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-nav-col {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-contact-col {
    grid-column: 2;
    grid-row: 2;
  }
  .footer-brand .site-logo,
  .footer-brand .footer-brand-desc,
  .footer-brand .footer-license {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════════════════════════════════════ */

.skf-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.skf-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.form-label .required-mark {
  color: var(--gold);
  margin-left: 2px;
}
.form-input,
.form-textarea,
.form-select {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  width: 100%;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.form-input.is-valid,
.form-textarea.is-valid {
  border-color: var(--success);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7261' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-select option {
  background: var(--surface-2);
  color: var(--text-primary);
}
.form-error-msg {
  font-size: 12px;
  color: var(--danger);
  display: none;
  margin-top: 2px;
}
.form-field.has-error .form-error-msg {
  display: block;
}

/* GDPR checkbox */
.gdpr-row {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.gdpr-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.gdpr-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.gdpr-label a {
  color: var(--gold);
}

/* Form success state */
.form-success-card {
  display: none;
  padding: var(--sp-8);
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--success);
  text-align: center;
}
.form-success-card.is-visible {
  display: block;
}
.form-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: grid;
  place-items: center;
  color: var(--success);
  margin: 0 auto var(--sp-4);
}


/* ════════════════════════════════════════════════════════════════════════════
   COOKIE BANNER
   ════════════════════════════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-6);
  right: var(--sp-6);
  max-width: 640px;
  z-index: 200;
  padding: var(--sp-6);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 32px));
  transition: transform var(--t-slow) var(--ease);
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
}
.cookie-banner p a {
  color: var(--gold);
}
.cookie-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: 10px 20px;
  font-size: 13px;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: var(--sp-4);
    right: var(--sp-4);
    bottom: var(--sp-4);
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-actions .btn {
    justify-content: center;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ════════════════════════════════════════════════════════════════════════════ */

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.breadcrumbs a:hover {
  color: var(--gold);
}
.breadcrumb-sep {
  margin-inline: var(--sp-2);
  color: var(--border-strong);
}
.breadcrumbs span:last-child {
  color: var(--text-primary);
}


/* ════════════════════════════════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════════════════════════════════ */

.pagination {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-16);
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  transition: all var(--t-fast) var(--ease);
}
.pagination a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pagination .current {
  background: var(--grad-gold);
  border-color: transparent;
  color: var(--surface-1);
}


/* ════════════════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════════════════════════════════ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-2);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5, 20px) var(--sp-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--t-fast) var(--ease);
}
.faq-question:hover {
  color: var(--gold);
}
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform var(--t-mid) var(--ease);
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease);
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
  padding: 0 var(--sp-6) 0;
}
.faq-item.is-open .faq-answer-inner {
  padding-bottom: var(--sp-5, 20px);
}
.faq-answer-inner p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   CASE STUDY ARCHIVE CARDS
   ════════════════════════════════════════════════════════════════════════════ */

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}
.case-card-archive {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease),
              border-color var(--t-slow) var(--ease);
}
.case-card-archive:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.case-card-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  position: relative;
  overflow: hidden;
}
.case-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.case-card-archive:hover .case-card-cover img {
  transform: scale(1.03);
}
.case-stat-overlay {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  background: rgba(11, 10, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  background-clip: text;
  color: var(--gold);
}
.case-card-body {
  padding: var(--sp-6);
}
.case-card-body h3 {
  font-size: 20px;
  margin-bottom: var(--sp-3);
}
.case-card-body h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.case-card-body h3 a:hover {
  color: var(--gold);
}


/* ════════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════════════════════════ */

.sidebar .widget {
  margin-bottom: var(--sp-8);
  padding: var(--sp-6);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.sidebar .widget-title {
  margin-bottom: var(--sp-4);
}
.sidebar .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar .widget ul li {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}
.sidebar .widget ul li:last-child {
  border-bottom: none;
}
.sidebar .widget ul a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--t-fast) var(--ease);
}
.sidebar .widget ul a:hover {
  color: var(--gold);
}


/* ════════════════════════════════════════════════════════════════════════════
   AUTHOR BIO (single post)
   ════════════════════════════════════════════════════════════════════════════ */

.author-bio {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-8);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-top: var(--sp-12);
}
.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--surface-3);
}
.author-bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-bio-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}
.author-bio-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 640px) {
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   READING TIME + TOC
   ════════════════════════════════════════════════════════════════════════════ */

.post-meta {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--text-muted);
}
.post-meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.toc {
  padding: var(--sp-6);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: var(--sp-8);
}
.toc-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.toc ol {
  margin: 0;
  padding-left: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.toc a {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.toc a:hover {
  color: var(--gold);
}


/* ════════════════════════════════════════════════════════════════════════════
   404
   ════════════════════════════════════════════════════════════════════════════ */

.not-found-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: var(--grad-hero);
}
.not-found-code {
  font-family: 'Playfair Display', serif;
  font-size: clamp(120px, 20vw, 200px);
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-4);
}
.not-found-title {
  margin-bottom: var(--sp-4);
}
.not-found-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--sp-8);
}
.not-found-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

/* ════════════════════════════════════════════════════════════════════════════
   ABOUT PREVIEW (#about) — homepage section
   ════════════════════════════════════════════════════════════════════════════ */

.about-preview-section {
  padding: var(--section-pad-desktop, 96px) 0;
  background: var(--surface-1);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.about-preview-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.about-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-preview-body .eyebrow { margin-bottom: 12px; }
.about-preview-body h2       { margin-bottom: 16px; }
.about-preview-body .lead    {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-preview-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.about-preview-chips li {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.chip-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}

.chip-value {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.about-preview-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-preview-portrait-mobile { display: none; }

@media (max-width: 900px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-preview-portrait { display: none; }
  .about-preview-body .eyebrow,
  .about-preview-body h2 {
    text-align: center;
  }
  .about-preview-chips .chip-wide {
    grid-column: 1 / -1;
  }
  .about-preview-actions {
    justify-content: center;
  }
  .about-preview-portrait-mobile {
    display: block;
    max-width: 320px;
    margin: 0 auto 24px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
  }
  .about-preview-image-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   CONTACT SECTION (#contact) on homepage — reuses .contact-layout from pages
   ════════════════════════════════════════════════════════════════════════════ */

.contact-section {
  padding: var(--section-pad-desktop, 96px) 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}

.contact-section .section-head { margin-bottom: 48px; }

/* Smooth scroll for in-page anchors */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Offset for sticky header when jumping to anchors */
[id="about"],
[id="services"],
[id="cases"],
[id="contact"] {
  scroll-margin-top: 88px;
}

/* ════════════════════════════════════════════════════════════════════════════
   ❗ FULL-WIDTH LAYOUT RESET — match mockup.html design
   Forces html/body and any plugin/WP wrappers to full window width
   with dark background, regardless of what plugins add around the content.
   This block must come LAST in components.css so it overrides everything.
   ════════════════════════════════════════════════════════════════════════════ */

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--bg) !important;
  overflow-x: hidden;
}

/* Common WP / plugin / page-builder wrappers — strip width constraints
   and any background that could create the "boxed" effect. */
#page,
#wrapper,
#wpwrap,
#site,
.site,
.site-wrapper,
.site-inner,
.site-content,
#site-content,
#main,
#main-content,
.main,
.wrapper,
.page-wrapper,
.outer-wrapper,
.boxed-wrapper,
.elementor,
.elementor-section-wrap,
.wp-site-blocks {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Site header / footer / sections must be full-bleed; the .container
   inside them handles the 1200px max-width centering. */
.site-header,
.site-footer,
.contact-section,
.about-preview-section,
.services-section,
.case-feature-section,
.testimonials,
.trust,
.stats,
.hero,
section,
main,
footer,
header {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* The .container keeps the content centered at 1200px max — that's the
   ONLY width constraint we want. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ════════════════════════════════════════════════════════════════════════════
   HERO — MOBILE PHOTO PLACEMENT
   Mobile shows a larger photo between H1 and lead; desktop keeps the
   right-column card. Hides one block at the breakpoint.
   ════════════════════════════════════════════════════════════════════════════ */

.hero-photo-mobile { display: none; }

@media (max-width: 900px) {

  /* Hide the right-column desktop photo on mobile */
  .hero-photo { display: none !important; }

  /* Show the inline mobile photo, big and centered */
  .hero-photo-mobile {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 24px auto 32px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    position: relative;
  }

  .hero-photo-mobile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, var(--gold-glow), transparent 60%);
    pointer-events: none;
    z-index: 1;
  }

  .hero-photo-mobile-img,
  .hero-photo-mobile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
  }

  /* Tighten hero a bit on mobile so the bigger photo fits comfortably */
  .hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .hero-photo-mobile {
    max-width: 320px;
    margin: 20px auto 28px;
  }
  .case-meta-item strong{
    font-size: 30px;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   9 SITUATIONS SECTION
   ════════════════════════════════════════════════════════════════════════════ */

.situations-section {
  padding: var(--section-pad-desktop, 96px) 0;
  background: var(--surface-1);
}

.situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.situation-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-8) var(--sp-6);
  transition: border-color var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease);
}
.situation-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.situation-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.situation-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 1024px) {
  .situations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .situations-section {
    padding: var(--section-pad-mobile, 56px) 0;
  }
  .situations-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .situation-card {
    padding: var(--sp-6) var(--sp-5);
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   BLOG INDEX PAGE
   ════════════════════════════════════════════════════════════════════════════ */

/* ── 1. Blog Hero ─────────────────────────────────────────────────────────── */
.blog-hero {
  background: var(--grad-hero);
  padding: var(--sp-24) 0 var(--sp-16);
}
.blog-hero .breadcrumbs {
  margin-bottom: var(--sp-6);
}
.blog-hero .eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
}
.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}
.blog-hero-lead {
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
}

/* ── 2. Blog Filters Section ──────────────────────────────────────────────── */
.blog-filters-section {
  position: relative;
  border-bottom: 1px solid var(--border);
}
.blog-filters {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  padding: var(--sp-6) 0;
}
.blog-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.blog-filter-chip:hover {
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
}
.blog-filter-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.blog-filter-chip.is-active {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  font-weight: 600;
}

/* ── 3. Blog Featured ─────────────────────────────────────────────────────── */
.blog-featured-section {
  padding-top: var(--sp-12);
}
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.blog-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 1;
}
.blog-featured-cover {
  display: block;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
  border-right: 1px solid var(--border);
  position: relative;
  text-decoration: none;
}
.blog-featured-cover-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
}
.featured-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(212, 175, 55, 0.95);
  color: var(--surface-1);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.blog-featured-body {
  padding: var(--sp-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.blog-featured-meta-sep {
  color: var(--text-muted);
}
.blog-featured-cat {
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.blog-featured-cat:hover {
  color: var(--gold-light);
}
.blog-featured-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 var(--sp-4);
}
.blog-featured-body h2 a {
  color: inherit;
  text-decoration: none;
}
.blog-featured-body h2 a:hover {
  color: var(--gold-light);
}
.blog-featured-excerpt {
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-featured-cta {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color var(--t-fast) var(--ease);
}
.blog-featured-cta:hover {
  color: var(--gold-light);
}
.blog-featured-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── 4. Section Heading with Accent ───────────────────────────────────────── */
.section-h-accent {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: var(--sp-8) 0 var(--sp-8);
}
.section-h-accent h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--sp-3);
}
.section-h-accent h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 1px;
}
.section-h-link {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.section-h-link:hover {
  color: var(--text-primary);
}
.section-h-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── 5. Blog Grid ─────────────────────────────────────────────────────────── */
.blog-list-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

/* ── 6. Blog Empty State ──────────────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: var(--sp-16) 0;
}
.blog-empty p {
  font-size: 18px;
  color: var(--text-muted);
}

/* ── 7. Pagination (restyle WP classes) ───────────────────────────────────── */
.blog-list-section .pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-16) 0 var(--sp-24);
  border-top: 1px solid var(--border);
  margin-top: var(--sp-12);
}
.blog-list-section .pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
}
.blog-list-section .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.18);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.blog-list-section .pagination .page-numbers:hover {
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
}
.blog-list-section .pagination .page-numbers.current {
  background: var(--grad-gold);
  color: var(--surface-1);
  border-color: var(--gold);
  font-weight: 700;
}
.blog-list-section .pagination .page-numbers.dots {
  border: none;
  background: none;
  color: var(--text-muted);
}
.blog-list-section .pagination .page-numbers:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── Tablet (≤1024px) ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-list-section .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-cover {
    aspect-ratio: 16/10;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* ── Mobile (≤640px) ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .blog-hero {
    padding: var(--sp-12) 16px var(--sp-8);
  }
  .blog-hero .breadcrumbs {
    margin-bottom: var(--sp-4);
    font-size: 12px;
  }
  .blog-hero .eyebrow {
    font-size: 11px;
    margin-bottom: var(--sp-3);
  }
  .blog-hero h1 {
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.1;
    margin-bottom: var(--sp-3);
  }
  .blog-hero-lead {
    font-size: 14px;
    line-height: 1.55;
    max-width: 100%;
  }

  .blog-filters-section {
    overflow: hidden;
  }
  .blog-filters-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, var(--bg));
    pointer-events: none;
    z-index: 1;
  }
  .blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 16px 0;
    padding-inline-end: 40px;
  }
  .blog-filters::-webkit-scrollbar {
    display: none;
  }
  .blog-filter-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 10px 16px;
  }
  .blog-filter-chip:first-child {
    scroll-margin-inline-start: 16px;
  }

  .blog-featured-section {
    padding-top: var(--sp-8);
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-cover {
    aspect-ratio: 16/10;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .featured-pill {
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    font-size: 10px;
  }
  .blog-featured-body {
    padding: 20px;
  }
  .blog-featured-meta {
    font-size: 12px;
  }
  .blog-featured-body h2 {
    font-size: clamp(22px, 5.5vw, 26px);
  }
  .blog-featured-excerpt {
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .section-h-accent {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
    padding: var(--sp-8) 0 var(--sp-4);
  }
  .section-h-accent h2 {
    font-size: 24px;
  }
  .section-h-accent h2::after {
    width: 36px;
  }
  .section-h-link {
    font-size: 13px;
  }

  .blog-list-section .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .blog-list-section .pagination {
    gap: 6px;
    padding: var(--sp-8) 16px var(--sp-12);
  }
  .blog-list-section .pagination .page-numbers {
    width: 42px;
    height: 42px;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   SERVICE DETAIL PAGE
   Layout, hero, sticky CTA, benefits grid, for-whom list
   ════════════════════════════════════════════════════════════════════════════ */

/* Service hero (used by single-service.php and template-service-detail.php) */
.page-hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 6vw, 64px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow {
  margin-bottom: var(--sp-3);
  display: inline-block;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.page-hero .lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.breadcrumbs a:hover {
  color: var(--gold);
}
.breadcrumb-sep {
  margin: 0 6px;
  color: var(--border-strong);
}

/* Two-column layout: content + sticky sidebar */
.single-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 960px) {
  .single-service-layout {
    grid-template-columns: 1fr;
  }
}

/* Sticky CTA sidebar */
.service-sticky-cta {
  position: sticky;
  top: 100px;
  padding: var(--sp-7, 28px);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.service-sticky-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: var(--sp-3);
}
.service-sticky-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-5, 20px);
}
@media (max-width: 960px) {
  .service-sticky-cta {
    position: static;
  }
}

/* For-whom checklist */
.service-for-whom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.service-for-whom-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Benefits grid */
.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5, 20px);
}
@media (max-width: 640px) {
  .service-benefits-grid {
    grid-template-columns: 1fr;
  }
}
.service-benefit {
  display: flex;
  gap: var(--sp-4, 16px);
  padding: var(--sp-5, 20px);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  transition: border-color var(--t-mid) var(--ease),
              background var(--t-mid) var(--ease);
}
.service-benefit:hover {
  border-color: var(--glass-border-hover, var(--gold));
  background: rgba(212, 175, 55, 0.03);
}
.service-benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-glow);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.service-benefit h3 {
  font-size: 17px;
  margin: 0 0 var(--sp-2) 0;
}
.service-benefit p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Service archive hero (page-services.php) */
.service-archive-hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 6vw, 64px);
  background: var(--bg);
  text-align: center;
}
.service-archive-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.service-archive-hero .lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-secondary);
  margin-top: var(--sp-4);
}


/* ════════════════════════════════════════════════════════════════════════════
   SERVICE DETAIL — long-form content body
   Blocks rendered by template-service-detail.php
   ════════════════════════════════════════════════════════════════════════════ */

.service-detail-body {
  max-width: 760px;
}
.service-detail-body > * + * {
  margin-top: var(--sp-4, 16px);
}
.service-detail-body > h2.service-h2 + *,
.service-detail-body > h3.service-h3 + * {
  margin-top: var(--sp-3, 12px);
}

.service-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: var(--sp-10, 56px) !important;
  margin-bottom: var(--sp-3, 12px);
  color: var(--text-primary);
}
.service-h2:first-child {
  margin-top: 0 !important;
}

.service-h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: var(--sp-7, 28px) !important;
  margin-bottom: var(--sp-2, 8px);
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.service-p {
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.service-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2, 8px);
}
.service-ul li {
  position: relative;
  padding-left: 26px;
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.6;
  color: var(--text-secondary);
}
.service-ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.service-dl {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3, 12px);
  margin: 0;
  padding: var(--sp-5, 20px);
  border-radius: var(--radius-md, 12px);
  background: var(--surface-1);
  border: 1px solid var(--border);
}
.service-dl-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: var(--sp-4, 16px);
  align-items: baseline;
  padding-bottom: var(--sp-3, 12px);
  border-bottom: 1px solid var(--border);
}
.service-dl-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.service-dl dt {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--gold);
}
.service-dl dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}
@media (max-width: 560px) {
  .service-dl-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.service-example {
  position: relative;
  padding: var(--sp-5, 20px) var(--sp-6, 24px);
  border-radius: var(--radius-md, 12px);
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 3px solid var(--gold);
}
.service-example-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-2, 8px);
}
.service-example p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
}
.service-example p + p {
  margin-top: 4px;
}


/* ════════════════════════════════════════════════════════════════════════════
   PHONE COPY TOOLTIP
   Floating "Skopírované!" pill shown after copying the phone number
   to clipboard on desktop. Mobile path leaves tel: alone, no tooltip.
   ════════════════════════════════════════════════════════════════════════════ */

.js-phone-link {
  cursor: pointer;
}

.js-phone-tooltip {
  position: absolute;
  transform: translate(-50%, -100%);
  background: var(--gold);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.js-phone-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--gold);
}
.js-phone-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -110%);
}
