/*
Theme Name: DIJU
Theme URI: https://diju.pl
Author: DIJU Agency
Author URI: https://diju.pl
Description: DIJU — IT + Marketing. Machina napędowa. Official WordPress theme for DIJU digital agency.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: diju-theme
*/

/* ═══════════════════════════════════════════════════════════════
   DIJU THEME — CSS Variables + Bootstrap overrides only
   ═══════════════════════════════════════════════════════════════ */

:root {
  --diju-bg:      #ffffff;
  --diju-surface: #f8f7f5;
  --diju-surface2:#f2f0eb;
  --diju-border:  rgba(0,0,0,0.08);
  --diju-accent:  #f05a28;
  --diju-accent2: #00d4aa;
  --diju-accent3: #1a1a2e;
  --diju-text:    #1a1a2e;
  --diju-muted:   #6b7280;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--diju-text);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── UTILITIES ─── */
.text-accent  { color: var(--diju-accent)  !important; }
.text-accent2 { color: var(--diju-accent2) !important; }
section { scroll-margin-top: 80px; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes heroSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes heroTrustedScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes megaFadeIn {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── NAVBAR (Bootstrap override) ─── */
.navbar {
  background: transparent;
  border-bottom: none;
  padding: 0.85rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 900;
  color: #0a0a0a !important;
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.navbar-brand span { color: var(--diju-accent); }

/* Bootstrap .navbar-nav override */
.navbar-nav {
  flex: 1;
  justify-content: center;
}

/* Bootstrap .nav-link override */
.nav-link {
  color: var(--diju-text) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem !important;
}
.nav-link:hover { color: var(--diju-accent) !important; }

.mega-chevron {
  font-size: 0.7rem;
  color: var(--diju-muted);
  transition: transform 0.25s;
  margin-left: 2px;
  vertical-align: middle;
}

/* Right side nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.btn-nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(0,0,0,0.55);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-nav-contact i { color: #c8a84b; }
.btn-nav-contact:hover { color: var(--diju-text); }

/* CTA pill button — navbar */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--diju-accent);
  color: #fff !important;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.4rem 0.4rem 1.3rem !important;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 28px rgba(240,90,40,0.30);
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: #d44d1e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(240,90,40,0.40);
}
.btn-nav-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.btn-nav-cta-icon::before,
.btn-nav-cta-icon::after {
  content: '→';
  color: #fff;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.btn-nav-cta-icon::before { transform: translateX(0);    opacity: 1; }
.btn-nav-cta-icon::after  { transform: translateX(-120%); opacity: 0; }
.btn-nav-cta:hover .btn-nav-cta-icon::before { transform: translateX(120%);  opacity: 0; }
.btn-nav-cta:hover .btn-nav-cta-icon::after  { transform: translateX(0);     opacity: 1; }

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #c8e825;
  color: #0a0a0a;
  padding-top: 80px;
}
#hero::before,
#hero::after  { display: none; }
#hero-canvas  { display: none; }
.hero-blob    { display: none; }

.hero-stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.04) 0px,
    rgba(0,0,0,0.04) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 3rem 14vw 0 0;
}

.hero-title {
  font-size: clamp(2.5rem, 7.5vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  text-transform: uppercase;
  margin-bottom: 0;
  width: 100%;
}

.hero-title-line {
  display: flex;
  align-items: center;
  gap: 0.35em;
  flex-wrap: nowrap;
}

.hero-pill-img {
  display: inline-flex;
  width: clamp(80px, 10vw, 180px);
  height: clamp(40px, 5vw, 90px);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
  top: 0.05em;
}
.hero-pill-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-spin-badge {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: clamp(140px, 14vw, 200px);
  height: clamp(140px, 14vw, 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.hero-spin-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: heroSpin 12s linear infinite;
}
.hero-spin-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  fill: #0a0a0a;
  text-transform: uppercase;
}
.hero-spin-center {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #0a0a0a;
  line-height: 1;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  padding: 2.5rem 0 3rem;
  position: relative;
  z-index: 3;
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.65);
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 0;
}
.hero-badge   { display: none; }

/* Hero offer links */
.hero-offer-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 0.75rem;
}
.hero-offer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0;
  align-items: baseline;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
.hero-offer-links a {
  color: #0a0a0a;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.hero-offer-links a::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--diju-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.hero-offer-links a:hover { color: var(--diju-accent); }
.hero-offer-links a:hover::after { transform: scaleX(1); }
.hero-offer-links .sep {
  color: rgba(0,0,0,0.25);
  margin: 0 0.35rem;
  font-weight: 300;
}

/* ─── CTA BUTTON ─── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  background: var(--diju-accent);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  text-decoration: none;
  cursor: pointer;
  margin-top: 2rem;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 28px rgba(240,90,40,0.30);
}
.btn-cta:hover {
  background: #d44d1e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(240,90,40,0.40);
}
.btn-cta-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  padding-right: 1.4rem;
}
.btn-cta-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.btn-cta-icon::before,
.btn-cta-icon::after {
  content: '→';
  font-size: 1rem;
  color: #fff;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.btn-cta-icon::before { transform: translateX(0);    opacity: 1; }
.btn-cta-icon::after  { transform: translateX(-120%); opacity: 0; }
.btn-cta:hover .btn-cta-icon::before { transform: translateX(120%);  opacity: 0; }
.btn-cta:hover .btn-cta-icon::after  { transform: translateX(0);     opacity: 1; }

/* ─── SECTION LABELS ─── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--diju-accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'DM Serif Display', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--diju-text);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--diju-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── FOOTER (Bootstrap override) ─── */
footer {
  border-top: 1px solid var(--diju-border);
  padding: 2rem 0;
  position: sticky;
  bottom: 0;
  z-index: 100;
}
.footer-text {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.4);
}
.footer-link {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--diju-accent); }

/* ─── GRADIENT DIVIDER ─── */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.3), transparent);
  margin: 0;
}

/* ─── TRUSTED BY STRIP ─── */
#trusted {
  padding: 3.5rem 0;
  background: #f5f5f7;
  overflow: hidden;
}
.trusted-label {
  font-size: 0.88rem;
  color: var(--diju-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.trusted-label strong { color: var(--diju-accent); font-weight: 700; }
.trusted-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.trusted-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trusted-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.trusted-item:hover { opacity: 1; }
.trusted-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ─── HERO TRUSTED STRIP ─── */
.hero-trusted { margin-top: 1.75rem; }
.hero-trusted-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1rem;
}
.hero-trusted-label strong { color: rgba(255,255,255,0.65); font-weight: 700; }
.hero-trusted-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.hero-trusted-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: heroTrustedScroll 28s linear infinite;
}
.hero-trusted-track:hover { animation-play-state: paused; }
.hero-trusted-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.9rem 0.32rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.hero-trusted-item:hover {
  border-color: rgba(240,90,40,0.4);
  color: rgba(255,255,255,0.85);
}
.hero-trusted-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ─── TESTIMONIALS ─── */
#opinie {
  padding: 8rem 0;
}
.testi-header {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--diju-text);
  margin-bottom: 4rem;
}
/* Bootstrap .card override */
.testi-card {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.testi-card:hover {
  box-shadow: 0 16px 60px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.testi-quote-icon {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--diju-text);
  margin-bottom: 1.5rem;
  font-family: Georgia, serif;
}
.testi-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--diju-text);
  flex: 1;
  margin-bottom: 2rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #c9b8ff, #7c6aff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--diju-text);
}
.testi-role {
  font-size: 0.78rem;
  color: var(--diju-muted);
  margin-top: 0.1rem;
}

/* ─── MEGA MENU ─── */
.mega-trigger { cursor: pointer; }
.mega-item.is-open > .mega-trigger .mega-chevron { transform: rotate(180deg); }

.mega-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 62px;
  background: #fff;
  border-bottom: 1px solid var(--diju-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mega-panel.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mega-tabs-layout {
  display: flex;
  min-height: 340px;
}
.mega-tabs-nav {
  display: flex;
  flex-direction: column;
  width: 210px;
  flex-shrink: 0;
  border-right: 1px solid var(--diju-border);
  padding: 1.5rem 0;
  gap: 2px;
}
.mega-tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: none;
  border: none;
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--diju-muted);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.mega-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--diju-accent);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.15s;
}
.mega-tab:hover          { background: var(--diju-surface); color: var(--diju-text); }
.mega-tab.active         { color: var(--diju-text); font-weight: 600; background: var(--diju-surface); }
.mega-tab.active::before { opacity: 1; }
.mega-tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--diju-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--diju-accent);
  flex-shrink: 0;
}
.mega-tab.active .mega-tab-icon { background: rgba(240,90,40,0.1); }
.mega-tabs-cta {
  margin-top: auto;
  padding: 1.25rem 1.25rem 0.5rem;
  border-top: 1px solid var(--diju-border);
}
.mega-tabs-cta-label {
  font-size: 0.72rem;
  color: var(--diju-muted);
  margin-bottom: 0.6rem;
}
.mega-tabs-content {
  flex: 1;
  padding: 1.75rem 2rem;
}
.mega-tab-pane { display: none; animation: megaFadeIn 0.18s ease; }
.mega-tab-pane.active { display: block; }
.mega-tab-pane-inner { display: flex; gap: 2.5rem; }
.mega-links-col { flex: 1; min-width: 0; }
.mega-col-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--diju-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--diju-border);
}
.mega-flink {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 450;
  color: var(--diju-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: default;
}
.mega-flink i { color: var(--diju-muted); font-size: 1rem; flex-shrink: 0; }
.mega-flink--highlight {
  color: var(--diju-accent);
  font-weight: 600;
  background: rgba(240,90,40,0.05);
  border: 1px solid rgba(240,90,40,0.15);
  margin-bottom: 0.25rem;
}
.mega-flink--highlight i { color: var(--diju-accent); }
.mega-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--diju-accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  width: fit-content;
  transition: opacity 0.2s, transform 0.2s;
}
.mega-featured-btn:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }

/* Overlay dimmer */
.mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.mega-overlay.is-visible { opacity: 1; pointer-events: all; }

/* ─── CONTACT POPUP ─── */
.contact-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.contact-popup-overlay.is-open { opacity: 1; pointer-events: all; }
.contact-popup-box {
  background: #fff;
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.contact-popup-overlay.is-open .contact-popup-box { transform: translateY(0); }

.contact-popup-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0,0,0,0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}
.contact-popup-close:hover { background: rgba(0,0,0,0.12); }

.contact-popup-left {
  background: #c8e825;
  padding: 3rem 2.5rem;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-popup-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}
.contact-popup-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.contact-popup-lead {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.contact-popup-info a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: none;
}
.contact-popup-right { padding: 3rem 2.5rem; flex: 1; }
.contact-popup-form { display: flex; flex-direction: column; gap: 1.25rem; }

/* cp-row = Bootstrap .row equivalent, kept custom for gap control */
.cp-row { display: flex; gap: 1rem; }
.cp-row .cp-field { flex: 1; }
.cp-field { display: flex; flex-direction: column; gap: 0.4rem; }
.cp-field label { font-size: 0.8rem; font-weight: 600; color: var(--diju-text); }

/* Bootstrap .form-control override for popup (light bg context) */
.cp-field input,
.cp-field textarea {
  background: var(--diju-surface);
  border: 1.5px solid var(--diju-border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--diju-text);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
}
.cp-field input:focus,
.cp-field textarea:focus { border-color: var(--diju-accent); }

.cp-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cp-tag { cursor: pointer; }
.cp-tag input { display: none; }
.cp-tag span {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,0.12);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--diju-text);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.cp-tag input:checked + span {
  border-color: var(--diju-accent);
  background: var(--diju-accent);
  color: #fff;
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(1.8rem, 8.5vw, 4rem); }
  .hero-title-line { gap: 0.4rem; margin-bottom: 0.3rem; }
  .hero-pill-img {
    width: clamp(60px, 18vw, 120px);
    height: clamp(30px, 9vw, 60px);
  }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero-spin-badge { right: 1.25rem; width: 110px; height: 110px; }
}

@media (max-width: 640px) {
  .contact-popup-box { flex-direction: column; }
  .contact-popup-left { width: 100%; padding: 2rem 1.5rem 1.5rem; }
  .contact-popup-right { padding: 1.5rem; }
  .cp-row { flex-direction: column; }
}
