/* ============================================================
   iSoft Consulting – styles.css  (v2 · 2026)
   ============================================================ */

/* === Tokens ===================================================*/
:root {
  --bg:          #ffffff;
  --bg-alt:      #f8fafc;
  --bg-dark:     #0b1020;
  --ink:         #0f172a;
  --muted:       #475569;
  --brand:       #0ea5e9;
  --brand-dk:    #0284c7;
  --brand-lt:    #e0f2fe;
  --accent:      #6366f1;
  --wa:          #25D366;
  --card:        #ffffff;
  --border:      #e2e8f0;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow-sm:   0 2px 8px rgba(15,23,42,.06);
  --shadow:      0 8px 24px rgba(15,23,42,.09);
  --shadow-lg:   0 20px 48px rgba(15,23,42,.13);
  --container:   1160px;
  --ease:        .2s ease;
}

/* === Reset ====================================================*/
*,*::before,*::after { box-sizing: border-box }
html  { scroll-behavior: smooth; text-size-adjust: 100% }
body  { margin: 0; font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
        line-height: 1.65; color: var(--ink); background: var(--bg) }
img   { max-width: 100%; height: auto; display: block }
a     { color: inherit; text-decoration: none }
a:hover { opacity: .88 }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0) }

/* === Layout ===================================================*/
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px,3vw,24px) }
.section    { padding: 80px 0 }
.section.alt { background: var(--bg-alt) }
.section-head { text-align: center; margin-bottom: 36px }
.section-head h2 { margin: .3rem 0 .6rem; font-size: clamp(1.6rem,3vw,2.2rem) }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-weight: 700;
           font-size: .8rem; color: var(--brand); margin: 0 }
.muted   { color: var(--muted); margin: 0 }

/* === Skip link ================================================*/
.skip { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden }
.skip:focus { left: 12px; top: 12px; width: auto; height: auto;
              padding: .6rem .9rem; background: #fff; border: 1px solid var(--border);
              border-radius: var(--radius); z-index: 200 }

/* === Header ===================================================*/
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between;
                min-height: 66px; gap: 12px }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem }
.brand img { flex-shrink: 0 }
.nav { display: flex; align-items: center; gap: 10px }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 }
.nav-links a { padding: .45rem .75rem; border-radius: 10px; color: var(--muted);
               font-weight: 600; font-size: .95rem; transition: background var(--ease), color var(--ease) }
.nav-links a:hover { background: var(--brand-lt); color: var(--brand-dk); opacity: 1 }
.nav-toggle { display: none; border: 1px solid var(--border); background: #fff;
              border-radius: 10px; padding: .35rem .45rem; cursor: pointer }
.header-cta { display: inline-flex; align-items: center; gap: 6px; padding: .5rem 1rem;
              background: var(--brand); color: #fff; border-radius: 10px; font-weight: 700;
              font-size: .9rem; transition: background var(--ease) }
.header-cta:hover { background: var(--brand-dk); opacity: 1 }

/* === Buttons ==================================================*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.25rem; border-radius: 12px; border: 1px solid var(--border);
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform .08s ease, background var(--ease), border-color var(--ease), box-shadow var(--ease);
  line-height: 1;
}
.btn:active { transform: translateY(1px) }
.btn.primary { background: var(--brand); color: #fff; border-color: transparent }
.btn.primary:hover { background: var(--brand-dk); opacity: 1 }
.btn.ghost { background: #fff }
.btn.ghost:hover { background: var(--bg-alt) }
.btn.wa { background: var(--wa); color: #fff; border-color: transparent }
.btn.wa:hover { background: #1ebe5b; opacity: 1 }
.btn.full { width: 100% }
.btn.lg { padding: 1rem 1.6rem; font-size: 1.05rem; border-radius: 14px }

/* === Floating WhatsApp ========================================*/
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  display: flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff;
  padding: 13px 22px 13px 16px; border-radius: 50px; font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.wa-float svg { flex-shrink: 0 }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,.55); opacity: 1 }
@media (max-width: 480px) { .wa-float span { display: none } .wa-float { padding: 14px } }

/* === Hero =====================================================*/
.hero {
  padding-top: 72px; padding-bottom: 80px;
  background:
    radial-gradient(1200px 600px at 80% -10%, #e0f2fe 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 0%,  #eef2ff 0%, transparent 55%),
    var(--bg);
  overflow: hidden; position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.hero-copy h1 { font-size: clamp(2rem,4.2vw,3.1rem); line-height: 1.13; margin: .4rem 0 1rem; letter-spacing: -.02em }
.hero-copy h1 span { color: var(--brand) }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 52ch; line-height: 1.7 }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 20px 0 0 }
.hero-badges li { font-size: .88rem; font-weight: 600; background: #f1f5f9;
                  border: 1px solid var(--border); padding: .3rem .65rem; border-radius: 999px }
.hero-media { position: relative }
.hero-picture, .hero-media { display: block; aspect-ratio: 820/560; width: 100% }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
                  border: 1px solid var(--border); width: 100%; height: 100%; object-fit: cover }

/* === Stats strip ==============================================*/
.stats-strip { background: var(--bg-dark); color: #e2e8f0; padding: 32px 0 }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center }
.stat-num { font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: var(--brand); display: block; line-height: 1 }
.stat-label { font-size: .9rem; color: #94a3b8; margin-top: 4px }

/* === Services (primary) =======================================*/
.services-primary { padding: 80px 0 }
.services-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px }
.tab-btn {
  padding: .55rem 1.1rem; border-radius: 10px; border: 1px solid var(--border);
  font-weight: 600; font-size: .92rem; cursor: pointer; background: #fff; color: var(--muted);
  transition: all var(--ease);
}
.tab-btn.active, .tab-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand) }
.tab-panel { display: none }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center }
.tab-icon-wrap { display: flex; align-items: center; justify-content: center;
                 background: var(--brand-lt); border-radius: var(--radius-lg);
                 width: 80px; height: 80px; margin-bottom: 20px }
.tab-icon-wrap svg { width: 40px; height: 40px; color: var(--brand) }
.tab-panel h3 { font-size: 1.6rem; margin: 0 0 .8rem; letter-spacing: -.01em }
.tab-panel p  { color: var(--muted); margin: 0 0 .6rem; line-height: 1.75 }
.tab-features { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 10px }
.tab-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem }
.tab-features li::before { content: '✓'; color: var(--brand); font-weight: 700; flex-shrink: 0; margin-top: 2px }
.tab-visual { background: var(--brand-lt); border-radius: var(--radius-lg);
              aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
              overflow: hidden; border: 1px solid #bae6fd }
.tab-visual svg { width: 120px; height: 120px; opacity: .35; color: var(--brand-dk) }

/* === Services grid (secondary) ================================*/
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 24px }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
  display: grid; gap: 8px;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px) }
.card h3 { margin: 4px 0 0; font-size: 1.08rem }
.card p  { margin: 0; color: var(--muted); font-size: .95rem }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-lt); color: var(--brand); border: 1px solid #bae6fd;
}
.card-icon svg { width: 24px; height: 24px }

/* === About ====================================================*/
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px }
.about-points {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px;
  list-style: none; margin: 0; padding: 0
}
.about-points li {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: .9rem 1rem; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .95rem;
  display: flex; align-items: center; gap: 8px
}
.about-points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%;
                            background: var(--brand); flex-shrink: 0 }

/* === Why Us ===================================================*/
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 24px }
.why-item { text-align: center; padding: 28px 20px; background: var(--card);
            border: 1px solid var(--border); border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm); transition: box-shadow var(--ease), transform var(--ease) }
.why-item:hover { box-shadow: var(--shadow); transform: translateY(-2px) }
.why-num { font-size: 2.5rem; font-weight: 800; color: var(--brand); line-height: 1; display: block }
.why-item h3 { margin: .5rem 0 .4rem; font-size: 1.05rem }
.why-item p  { color: var(--muted); margin: 0; font-size: .93rem }

/* === Process ==================================================*/
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 32px; position: relative }
.process-grid::before { content: ''; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px;
                         background: linear-gradient(90deg,var(--brand-lt),var(--brand),var(--brand-lt));
                         z-index: 0 }
.process-step { text-align: center; position: relative; z-index: 1 }
.step-num {
  width: 60px; height: 60px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; box-shadow: 0 4px 16px rgba(14,165,233,.35); border: 3px solid #fff
}
.process-step h3 { font-size: 1rem; margin: 0 0 6px }
.process-step p  { color: var(--muted); font-size: .88rem; margin: 0 }

/* === FAQ ======================================================*/
.faq { display: grid; gap: 10px; max-width: 900px; margin: 0 auto }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px;
            overflow: hidden; box-shadow: var(--shadow-sm) }
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 16px 18px; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 12px
}
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--brand); flex-shrink: 0 }
.faq-item[open] summary::after { content: '−' }
.faq-item summary::-webkit-details-marker { display: none }
.faq-answer { padding: 0 18px 16px; color: var(--muted) }
.faq-answer p { margin: 0 }

/* === Testimonials =============================================*/
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 16px }
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
               padding: 22px; box-shadow: var(--shadow-sm) }
.testimonial blockquote { margin: 0 0 10px; font-style: italic; color: var(--ink); line-height: 1.7 }
.testimonial figcaption { color: var(--muted); font-size: .9rem; font-weight: 600 }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 2px }

/* === Blog preview =============================================*/
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 24px }
.blog-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow var(--ease), transform var(--ease)
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px) }
.blog-tag { display: inline-block; background: var(--brand-lt); color: var(--brand-dk);
            border-radius: 999px; padding: .2rem .7rem; font-size: .78rem; font-weight: 700 }
.blog-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.4 }
.blog-card p  { margin: 0; color: var(--muted); font-size: .92rem; flex: 1 }
.blog-card .read-more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand);
                        font-weight: 700; font-size: .92rem }
.blog-date { font-size: .82rem; color: var(--muted) }

/* === Contact ==================================================*/
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start }
.contact-info h2 { margin: 0 0 .5rem }
.contact-list { display: grid; gap: 12px; margin: 18px 0; padding: 0; list-style: none }
.contact-list li { display: flex; align-items: flex-start; gap: 12px }
.contact-list .cl-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-lt);
                          color: var(--brand); display: flex; align-items: center; justify-content: center;
                          flex-shrink: 0 }
.contact-list .cl-icon svg { width: 18px; height: 18px }
.contact-list dt { font-size: .8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em }
.contact-list dd { margin: 2px 0 0; font-weight: 600 }
.wa-contact-btn {
  display: flex; align-items: center; gap: 12px; background: var(--wa); color: #fff;
  padding: 14px 20px; border-radius: 14px; font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.35); transition: transform var(--ease), box-shadow var(--ease);
  margin-bottom: 20px
}
.wa-contact-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.45); opacity: 1 }
.wa-contact-btn svg { width: 28px; height: 28px; flex-shrink: 0 }
.contact-form {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); display: grid; gap: 12px
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem }
input, textarea, select {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--border);
  border-radius: 12px; background: #fff; width: 100%; transition: border-color var(--ease), box-shadow var(--ease)
}
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,165,233,.15); outline: none }
.honeypot { display: none !important }
.form-feedback {
  padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; margin-bottom: 4px;
}
.form-feedback.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0 }
.form-feedback.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca }

/* === Footer ===================================================*/
.site-footer { border-top: 1px solid var(--border); background: var(--bg-dark); color: #e2e8f0; padding: 40px 0 24px }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; margin-bottom: 32px }
.footer-brand { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px }
.footer-brand img { filter: brightness(2) }
.footer-desc { font-size: .9rem; color: #94a3b8; max-width: 28ch; line-height: 1.6 }
.footer-col h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
                 color: #64748b; margin: 0 0 14px }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.footer-col a { font-size: .92rem; color: #94a3b8; transition: color var(--ease) }
.footer-col a:hover { color: var(--brand) }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px;
                 border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; flex-wrap: wrap }
.footer-bottom p { margin: 0; font-size: .88rem; color: #64748b }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap }
.footer-links a { font-size: .85rem; color: #64748b }
.footer-links a:hover { color: var(--brand) }

/* === Legal ====================================================*/
.legal { background: var(--bg-alt) }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px }
.legal h2 { font-size: 1.15rem; margin-top: 0 }
.legal p  { font-size: .92rem; color: var(--muted) }

/* === Cookie ===================================================*/
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: #0b1020; color: #e2e8f0; border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -8px 30px rgba(0,0,0,.25); min-height: 64px
}
.cookie-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 12px; padding: 10px 16px; flex-wrap: wrap }
.cookie-inner p { margin: 0; font-size: .9rem; line-height: 1.5 }
.cookie-inner a { color: #bae6fd; font-weight: 700 }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap }
.cookie-actions .btn { padding: .55rem .9rem; font-size: .92rem }
.cookie-panel {
  position: fixed; inset: auto 0 0 0; z-index: 101; background: #fff; color: var(--ink);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 30px rgba(15,23,42,.18); padding: 14px 0
}
.cookie-panel-inner { display: grid; gap: 10px }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 600 }
.switch input { width: 18px; height: 18px; accent-color: var(--brand) }

/* === Blog page ================================================*/
.blog-hero { padding: 60px 0 40px; background: var(--bg-dark); color: #e2e8f0 }
.blog-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); margin: .4rem 0 .6rem; color: #fff }
.blog-hero p   { color: #94a3b8; max-width: 55ch }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px }
.blog-cat-btn { padding: .4rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.15);
                color: #94a3b8; font-size: .88rem; font-weight: 600; cursor: pointer; background: transparent;
                transition: all var(--ease) }
.blog-cat-btn.active, .blog-cat-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand) }
.blog-listing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px }
.blog-card-full { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
                  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
                  transition: box-shadow var(--ease), transform var(--ease) }
.blog-card-full:hover { box-shadow: var(--shadow); transform: translateY(-3px) }
.blog-card-img { background: var(--brand-lt); aspect-ratio: 16/9; display: flex; align-items: center;
                 justify-content: center; overflow: hidden }
.blog-card-img svg { width: 64px; height: 64px; color: var(--brand); opacity: .5 }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.blog-card-body h2 { margin: 0; font-size: 1.1rem; line-height: 1.4 }
.blog-card-body p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1 }
.blog-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }

/* === Article page =============================================*/
.article-hero { padding: 60px 0 32px; background: var(--bg-dark); color: #e2e8f0 }
.article-hero h1 { font-size: clamp(1.8rem,3.5vw,2.8rem); margin: .5rem 0 .8rem; color: #fff; max-width: 20ch }
.article-hero .lead { color: #94a3b8; max-width: 60ch; font-size: 1.05rem }
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start;
                  padding-top: 56px; padding-bottom: 80px; }
.article-body { max-width: 72ch }
.article-body h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; color: var(--ink) }
.article-body h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; color: var(--ink) }
.article-body p  { color: var(--muted); line-height: 1.8; margin: 0 0 1rem }
.article-body ul, .article-body ol { color: var(--muted); padding-left: 1.4rem; line-height: 1.8; margin: 0 0 1rem }
.article-body li { margin-bottom: .3rem }
.article-body strong { color: var(--ink) }
/* SVG diagrams in articles */
.article-body figure { margin: 2rem 0; }
.article-body figure svg { display: block; width: 100%; height: auto; overflow: visible; border-radius: 12px; }
.article-body figure figcaption { text-align: center; color: #64748b; font-size: .85rem; margin-top: .5rem; font-style: italic; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .93rem; }
.article-body table th { background: var(--ink); color: #fff; padding: 10px 14px; text-align: left; }
.article-body table td { padding: 9px 14px; border-bottom: 1px solid var(--border); color: var(--muted); }
.article-body table tr:nth-child(even) td { background: var(--bg-alt); }
.tip-box { background: var(--brand-lt); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0;
           padding: 14px 18px; margin: 1.5rem 0 }
.tip-box p { margin: 0; color: var(--brand-dk); font-weight: 600 }
.warning-box { background: #fef3c7; border-left: 4px solid #f59e0b; border-radius: 0 12px 12px 0;
               padding: 14px 18px; margin: 1.5rem 0 }
.warning-box p { margin: 0; color: #92400e; font-weight: 600 }
.article-sidebar { position: sticky; top: 80px }
.sidebar-cta { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: 24px;
               margin-bottom: 20px }
.sidebar-cta h3 { margin: 0 0 8px; font-size: 1.1rem }
.sidebar-cta p  { margin: 0 0 16px; font-size: .92rem; opacity: .9 }
.sidebar-related { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
                   padding: 20px }
.sidebar-related h3 { margin: 0 0 14px; font-size: 1rem }
.sidebar-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px }
.sidebar-related li a { font-size: .9rem; font-weight: 600; color: var(--brand) }
.sidebar-related li a:hover { text-decoration: underline }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 }
.article-tag { background: var(--bg-alt); border: 1px solid var(--border); padding: .3rem .75rem;
               border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--muted) }
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: .88rem; color: #64748b; margin-bottom: 16px }
.breadcrumb a { color: #94a3b8 }
.breadcrumb a:hover { color: var(--brand) }
.breadcrumb span { color: #475569 }

/* === Animations (scroll reveal) ================================*/
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease }
.reveal.visible { opacity: 1; transform: none }

/* === Responsive ===============================================*/
@media (max-width: 1000px) {
  .process-grid { grid-template-columns: repeat(2,1fr) }
  .process-grid::before { display: none }
  .blog-listing { grid-template-columns: repeat(2,1fr) }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .footer-grid > :first-child { grid-column: 1/-1 }
}
@media (max-width: 900px) {
  .hero-grid,.about-grid,.contact-grid { grid-template-columns: 1fr }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .why-grid { grid-template-columns: repeat(2,1fr) }
  .tab-panel.active { grid-template-columns: 1fr }
  .tab-visual { display: none }
  .testimonials { grid-template-columns: 1fr }
  .legal-grid { grid-template-columns: 1fr }
  .stats-grid { grid-template-columns: repeat(2,1fr) }
  .article-layout { grid-template-columns: 1fr }
  .article-sidebar { position: static }
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-flex }
  .header-cta { display: none }
  .nav-links {
    position: absolute; right: 16px; top: 66px; flex-direction: column; gap: 4px; min-width: 200px;
    background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px;
    box-shadow: var(--shadow); transform-origin: top right;
    transform: scale(.97); opacity: 0; pointer-events: none; transition: .15s ease; z-index: 50
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: scale(1) }
  .nav-links a { display: block; padding: .7rem .9rem }
  .cards { grid-template-columns: 1fr }
  .about-points { grid-template-columns: 1fr }
  .blog-grid { grid-template-columns: 1fr }
  .blog-listing { grid-template-columns: 1fr }
  .why-grid { grid-template-columns: 1fr }
  .hero-grid { gap: 24px }
}
@media (max-width: 480px) {
  .section { padding: 56px 0 }
  .services-tabs { gap: 6px }
  .tab-btn { font-size: .85rem; padding: .45rem .8rem }
  .cookie-inner { flex-direction: column; align-items: flex-start }
  .footer-grid { grid-template-columns: 1fr }
  .process-grid { grid-template-columns: 1fr }
  /* Mobile article padding – horizontal comes from .container */
  .article-layout { padding-top: 32px; padding-bottom: 60px; }
}
