/* ==============================================
   BASE.CSS v3.1 — Reduced padding, tighter spacing
   ============================================== */
:root {
  --primary:        #060B18;
  --primary-light:  #0D1526;
  --accent:         #3B82F6;
  --accent-hover:   #2563EB;
  --accent-light:   rgba(59,130,246,0.12);
  --accent-glow:    rgba(59,130,246,0.30);
  --white:          #FFFFFF;
  --off-white:      #F0F4F8;
  --text-primary:   #0D1526;
  --text-secondary: #334155;
  --text-muted:     #64748B;
  --text-light:     #CBD5E1;
  --surface-dark:   #060B18;
  --card-bg:        #FFFFFF;
  --off-white-bg:   #F0F4F8;
  --section-alt:    #EEF2F7;
  --border:         #CBD5E1;
  --border-light:   #E2E8F0;
  --border-dark:    #1E293B;
  --card-shadow:       0 2px 8px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
  --card-shadow-hover: 0 10px 36px rgba(59,130,246,0.14), 0 4px 12px rgba(0,0,0,0.09);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --transition:   0.22s cubic-bezier(0.4,0,0.2,1);
  /* Reduced section padding */
  --section-pad:  30px 0;
  --container:    1200px;
}

/* ── Reset ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--off-white-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; transition: color var(--transition); }
ul   { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text-primary); letter-spacing: -0.01em; }
p { color: var(--text-secondary); line-height: 1.75; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center;  gap: 8px; margin-bottom: 10px;
}
.container.cta-box .section-label{
    justify-content: center;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title    { font-size: clamp(22px,3vw,36px); font-weight: 800; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.025em; line-height: 1.15; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 560px; line-height: 1.75; }

/* ── Layout ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section   { padding: var(--section-pad); }
.section--dark  { background: var(--surface-dark); color: var(--white); }
.section--dark h2,.section--dark h3,.section--dark .section-title { color: var(--white); }
.section--dark .section-subtitle,.section--dark p { color: var(--text-light); }
.section--gray  { background: var(--section-alt); }
.section--white { background: var(--white); }
.section--accent { background: var(--accent); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 12px 24px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; font-family: var(--font-body);
  transition: all var(--transition); white-space: nowrap;
  cursor: pointer; border: none; text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--accent); color: #FFF; box-shadow: 0 2px 10px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); color: #FFF; }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #FFF; transform: translateY(-2px); }
.btn-ghost   { background: rgba(255,255,255,0.1); color: var(--white); border: 1.5px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.35); }
.btn-full    { width: 100%; justify-content: center; }
.btn-sm      { padding: 8px 16px; font-size: 13px; }

/* ── Badges ── */
.badge        { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.badge-blue   { background: var(--accent-light); color: var(--accent-hover); }
.badge-green  { background: rgba(16,185,129,0.12); color: #047857; }
.badge-orange { background: rgba(245,158,11,0.12); color: #B45309; }

/* ── Cards ── */
.card { background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); border: 1px solid var(--border-light); overflow: hidden; transition: all var(--transition); }
.card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); border-color: var(--accent-light); }

/* ── Animations ── */
@keyframes fadeInUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse    { 0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,0.4)} 50%{box-shadow:0 0 0 6px rgba(16,185,129,0)} }
@keyframes wpPulse  { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.45)} 50%{box-shadow:0 4px 28px rgba(37,211,102,0.65)} }
.animate-in          { opacity:0; animation:fadeInUp 0.6s ease forwards; }
.animate-delay-1     { animation-delay:.1s; }
.animate-delay-2     { animation-delay:.2s; }
.animate-delay-3     { animation-delay:.3s; }
.animate-delay-4     { animation-delay:.45s; }
.reveal              { opacity:0; transform:translateY(28px); transition:opacity 0.6s ease,transform 0.6s ease; }
.reveal.visible      { opacity:1; transform:translateY(0); }
.reveal-delay-1      { transition-delay:.1s; }
.reveal-delay-2      { transition-delay:.2s; }
.reveal-delay-3      { transition-delay:.3s; }

/* ── Form inputs ── */
.form-group { margin-bottom: 16px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-size: 14px; font-family: var(--font-body);
  color: var(--text-primary); background: var(--off-white-bg);
  transition: all var(--transition); outline: none;
}
.form-input:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px var(--accent-light); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input   { appearance: none; cursor: pointer; }

/* ── Pagination ── */
.tm-pagination { margin-top: 40px; }
.tm-pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; justify-content: center; flex-wrap: wrap; }
.tm-pagination ul li a,
.tm-pagination ul li span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600; border: 1.5px solid var(--border); color: var(--text-secondary); transition: all var(--transition); text-decoration: none; }
.tm-pagination ul li a:hover    { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.tm-pagination ul li .current   { background: var(--accent); color: white; border-color: var(--accent); }
.tm-pagination ul li .dots      { border: none; width: auto; }

/* ── Page Hero ── */
.page-hero          { background: var(--primary); padding: 110px 0 56px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before  { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(59,130,246,0.14) 0%, transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title    { font-size: clamp(26px,5vw,46px); font-weight: 800; color: white; letter-spacing: -.03em; margin-bottom: 12px; line-height: 1.1; }
.page-hero-sub      { font-size: 15px; color: #64748B; max-width: 500px; margin: 0 auto; line-height: 1.7; }
.page-breadcrumb    { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #475569; margin-bottom: 14px; flex-wrap: wrap; }
.page-breadcrumb a  { color: var(--accent); font-weight: 600; text-decoration: none; }
.page-breadcrumb a:hover { color: #60A5FA; }
.page-breadcrumb span { color: #334155; }

/* ── Filter buttons ── */
.filter-btn {
  padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); background: var(--white); border: 1.5px solid var(--border);
  cursor: pointer; transition: all var(--transition); text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: #FFF; border-color: var(--accent); box-shadow: 0 4px 12px var(--accent-glow); }

/* ── Widget title ── */
.widget-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }

/* ── CF7 ── */
.wpcf7 { width: 100%; }
.wpcf7 p { margin-bottom: 0; }
.wpcf7 br { display: none; }
