/* ============================================================
   VisaSlots Pro — Frontend CSS v3 (Clean Rewrite)
   Mobile-first, no layout conflicts
   ============================================================ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --primary:        #1a56db;
  --primary-dark:   #1240a8;
  --primary-light:  #e8f0fe;
  --accent:         #f59e0b;
  --green:          #10b981;
  --red:            #ef4444;
  --text:           #1e2a3a;
  --text-muted:     #6b7280;
  --border:         #e5e7eb;
  --bg:             #f8fafc;
  --white:          #ffffff;
  --radius:         10px;
  --radius-lg:      16px;
  --shadow-sm:      0 1px 4px rgba(0,0,0,.07);
  --shadow:         0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.14);
  --trans:          .22s ease;
  --font-head:      'Sora','Segoe UI',system-ui,sans-serif;
  --font-body:      'Nunito Sans','Segoe UI',system-ui,sans-serif;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body   { font-family: var(--font-body); color: var(--text); background: #fff; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img    { max-width: 100%; height: auto; display: block; }
a      { color: var(--primary); text-decoration: none; transition: color var(--trans); }
a:hover{ color: var(--primary-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Skip link ──────────────────────────────────────────── */
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; padding: .5rem 1rem;
  background: var(--primary); color: #fff; border-radius: var(--radius); }

/* ── Container ──────────────────────────────────────────── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; width: 100%; }
.container--narrow{ max-width: 820px; }

/* ── Sections ───────────────────────────────────────────── */
.section       { padding: 3.5rem 0; }
.section--alt  { background: var(--bg); }
@media(min-width:768px) { .section { padding: 5rem 0; } }

.section-header  { text-align: center; margin-bottom: 2.5rem; }
@media(min-width:768px) { .section-header { margin-bottom: 3rem; position: relative; } }
.section-tag     { display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 999px; margin-bottom: .6rem; }
.section-title   { font-family: var(--font-head); font-size: clamp(1.6rem,3.5vw,2.4rem);
  font-weight: 800; line-height: 1.2; margin-bottom: .6rem; }
.section-subtitle{ color: var(--text-muted); font-size: .95rem; max-width: 580px; margin: 0 auto; }
.section-link    { display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700; color: var(--primary); font-size: .9rem; }
@media(min-width:768px) { .section-link { position: absolute; right: 0; top: 0; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn          { display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .65rem 1.4rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  border-radius: var(--radius); border: 2px solid transparent; transition: all var(--trans);
  cursor: pointer; text-align: center; line-height: 1.4; white-space: nowrap; text-decoration: none; }
.btn-lg        { padding: .85rem 2rem; font-size: 1rem; }
.btn-block     { width: 100%; justify-content: center; }
.btn-primary   { background: var(--primary);  color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp  { background: #25d366; color: #fff; border-color: #25d366; }
.btn-whatsapp:hover { background: #128c4c; border-color: #128c4c; color: #fff; }
.btn-white     { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-light); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
@media(max-width:767px) { .btn { min-height: 44px; } }

/* ── Header top bar ─────────────────────────────────────── */
.site-header    { position: sticky; top: 0; z-index: 200; background: #fff; box-shadow: var(--shadow-sm); }
.header-top     { background: var(--primary-dark); color: rgba(255,255,255,.85);
  padding: .4rem 0; font-size: .78rem; display: none; }
@media(min-width:640px) { .header-top { display: block; } }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.header-top-text a { color: #fff; font-weight: 700; }
.btn-whatsapp-top  { display: inline-flex; align-items: center; gap: .4rem; color: #fff;
  font-weight: 700; padding: .2rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.15); transition: background var(--trans); font-size: .78rem; }
.btn-whatsapp-top:hover { background: rgba(255,255,255,.28); color: #fff; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar   { padding: .65rem 0; }
.nav-inner{ display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 54px; }

/* Logo */
.logo-text    { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--primary); white-space: nowrap; }
.nav-logo img { height: 44px; width: auto; }

/* ── Hamburger ───────────────────────────────────────────── */
.nav-toggle { display: flex; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; padding: .5rem;
  cursor: pointer; border-radius: 6px; transition: background var(--trans);
  width: 42px; height: 42px; flex-shrink: 0; }
.nav-toggle:hover { background: var(--primary-light); }
.nav-toggle span  { display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all .3s ease; transform-origin: center; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav overlay ──────────────────────────────────── */
.nav-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  flex-direction: row;           /* panel + backdrop side by side */
  background: transparent;
}
.nav-menu.open { display: flex; }

.nav-menu-panel {
  background: #fff;
  width: min(300px, 85vw);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,.18);
  -webkit-overflow-scrolling: touch;
}
.nav-backdrop-area {
  flex: 1;
  background: rgba(15,23,42,.55);
  cursor: pointer;
}
.nav-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.nav-menu-logo { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--primary); }
.nav-close {
  background: var(--bg); border: none; width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; color: var(--text-muted);
  transition: background var(--trans); flex-shrink: 0;
}
.nav-close:hover { background: var(--border); }

/* Mobile nav links list */
.nav-links-list { padding: .5rem 0; flex: 1; }
.nav-links-list li { border-bottom: 1px solid var(--border); }
.nav-links-list li:last-child { border-bottom: none; }
.nav-links-list a {
  display: flex; align-items: center; gap: .65rem;
  padding: .8rem 1.1rem; font-weight: 700; font-size: .9rem;
  color: var(--text); transition: color var(--trans), background var(--trans);
  min-height: 48px;
}
.nav-links-list a:hover, .nav-links-list a.active { color: var(--primary); background: var(--primary-light); }
.nav-links-list a i { font-size: .95rem; width: 1.1rem; flex-shrink: 0; }
.nav-cta-item { padding: .75rem 1.1rem; }
.nav-cta-item .btn { width: 100%; }

/* Dropdown (mobile) */
.nav-has-dropdown > a { cursor: pointer; }
.dropdown-toggle { margin-left: auto; font-size: .75rem; transition: transform var(--trans); }
.nav-has-dropdown.is-open .dropdown-toggle { transform: rotate(180deg); }
.nav-dropdown { display: none; background: var(--bg); }
.nav-has-dropdown.is-open .nav-dropdown { display: block; }
.nav-dropdown a { padding-left: 2.1rem !important; font-size: .855rem !important; font-weight: 600 !important; }

/* ── Desktop nav (900px+) ────────────────────────────────── */
@media(min-width: 900px) {
  .nav-toggle { display: none; }

  /* Override mobile full-screen overlay behaviour */
  .nav-menu {
    display: flex !important;      /* always visible */
    position: static;              /* not fixed */
    background: none;
    flex-direction: row;
    align-items: center;
  }
  .nav-menu-panel {
    background: none;
    width: auto;
    height: auto;
    overflow: visible;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
  }
  .nav-menu-header { display: none; }  /* hide mobile header */
  .nav-backdrop-area { display: none; }
  .nav-links-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .1rem;
    padding: 0;
  }
  .nav-links-list li { border: none; }
  .nav-links-list a {
    padding: .45rem .75rem;
    font-size: .865rem;
    border-radius: 6px;
    min-height: unset;
    gap: .3rem;
  }
  .nav-cta-item { padding: 0 0 0 .25rem; }
  .nav-cta-item .btn { width: auto; padding: .45rem 1rem; font-size: .865rem; }

  /* Desktop dropdown */
  .nav-has-dropdown { position: relative; }
  .dropdown-toggle { display: none; }
  .nav-dropdown {
    display: none !important;
    position: absolute;
    top: calc(100% + .3rem);
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 220px;
    box-shadow: var(--shadow);
    padding: .4rem;
    z-index: 300;
  }
  .nav-has-dropdown:hover .nav-dropdown { display: block !important; }
  .nav-dropdown a { padding: .45rem .9rem !important; font-size: .855rem !important; font-weight: 600 !important; border-radius: 6px; }
}

/* ── News Ticker ─────────────────────────────────────────── */
.news-ticker   { display: flex; align-items: center; background: #fff8e1;
  border-bottom: 1px solid #f59e0b; overflow: hidden; height: 34px; }
.ticker-label  { flex-shrink: 0; background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 800; padding: 0 .75rem; height: 100%;
  display: flex; align-items: center; white-space: nowrap; letter-spacing: .04em; }
.ticker-wrapper{ overflow: hidden; flex: 1; height: 100%; }
.ticker-track  { display: flex; align-items: center; gap: 2.5rem;
  animation: ticker-scroll var(--ticker-speed, 40s) linear infinite;
  white-space: nowrap; padding: 0 1rem; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item   { flex-shrink: 0; font-size: .78rem; font-weight: 600; color: #1a1a1a; }
.ticker-cta    { display: inline-flex; align-items: center; background: var(--primary); color: #fff;
  padding: .1rem .55rem; border-radius: 4px; font-size: .7rem; font-weight: 700;
  margin-left: .4rem; transition: background var(--trans); }
.ticker-cta:hover { background: var(--primary-dark); color: #fff; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Flash messages ──────────────────────────────────────── */
.flash-messages{ position: fixed; top: 1rem; right: 1rem; z-index: 9999;
  display: flex; flex-direction: column; gap: .5rem; max-width: min(360px,calc(100vw - 2rem)); }
.flash         { display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem;
  border-radius: var(--radius); font-weight: 600; font-size: .875rem;
  box-shadow: var(--shadow); animation: slideIn .3s ease; }
.flash-success { background: #dcfce7; color: #166534; border-left: 4px solid #16a34a; }
.flash-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
.flash-warning { background: #fef9c3; color: #854d0e; border-left: 4px solid #ca8a04; }
.flash-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #2563eb; }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Hero ────────────────────────────────────────────────── */
.hero     { background: linear-gradient(135deg,#0c2461 0%,#1a56db 60%,#1e40af 100%);
  color: #fff; padding: 3rem 0 3.5rem; position: relative; overflow: hidden; }
@media(min-width:768px) { .hero { padding: 4.5rem 0 5.5rem; } }
.hero-bg  { position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E"); }

/* Hero grid: 1-col mobile, 2-col desktop */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; position: relative; z-index: 1; }
@media(min-width:1024px) { .hero-grid { grid-template-columns: 1fr 420px; align-items: center; } }

.hero-badge  { display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: .35rem .9rem; font-size: .78rem; font-weight: 700; margin-bottom: 1rem; }
.badge-dot   { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero-title  { font-family: var(--font-head); font-size: clamp(1.8rem,4.5vw,3rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 1rem; }
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: clamp(.95rem,2vw,1.1rem); opacity: .9;
  margin-bottom: 1.5rem; max-width: 520px; line-height: 1.7; }
.hero-stats  { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.stat        { display: flex; flex-direction: column; }
.stat strong { font-size: 1.4rem; font-weight: 900; font-family: var(--font-head); line-height: 1; }
.stat span   { font-size: .72rem; opacity: .8; text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }
.hero-actions{ display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: .85rem; }
.hero-actions .btn { flex: 1 1 160px; min-width: 0; }
@media(min-width: 480px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-note   { font-size: .78rem; opacity: .75; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }

/* Form card (hero right side) */
.hero-form-wrap { display: none; }
@media(min-width: 1024px) { .hero-form-wrap { display: block; } }
.hero-form-card  { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); }
.form-card-header{ margin-bottom: 1.1rem; }
.form-card-header h2 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--text); }
.form-card-header p  { color: var(--text-muted); font-size: .82rem; margin-top: .2rem; }

/* Mobile CTA in hero (when form is hidden) */
.hero-mobile-cta { display: flex; flex-direction: column; gap: .65rem; margin-top: .5rem; }
@media(min-width: 1024px) { .hero-mobile-cta { display: none; } }
.hero-mobile-cta .btn { width: 100%; }

/* ── Lead form ───────────────────────────────────────────── */
.form-group       { margin-bottom: .9rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .65rem .9rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 16px;  /* prevents iOS zoom */
  color: var(--text); transition: border-color var(--trans), box-shadow var(--trans);
  background: #fff; -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.form-group input.error, .form-group select.error { border-color: var(--red); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 10px; padding-right: 2.5rem; }
.field-error  { display: block; color: var(--red); font-size: .75rem; font-weight: 600; margin-top: .25rem; min-height: 1em; }
.form-note    { font-size: .75rem; color: var(--text-muted); margin-top: .65rem;
  display: flex; align-items: center; justify-content: center; gap: .35rem; text-align: center; }
.required     { color: var(--red); }
.optional     { color: var(--text-muted); font-weight: 400; }
.success-message { background: #dcfce7; border: 1px solid #86efac; border-radius: var(--radius);
  padding: .9rem; display: flex; align-items: flex-start; gap: .65rem; color: #166534; font-size: .875rem; }
.success-message i { font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem; }
.spin { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
::placeholder { color: #9ca3af; opacity: 1; }

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar  { background: var(--primary); padding: .9rem 0; }
.trust-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
.trust-item { display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 600; }
.trust-item i { color: var(--accent); font-size: .95rem; }

/* ── Services ────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media(min-width:640px)  { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .services-grid { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); } }
.service-card { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem;
  border: 2px solid var(--border); transition: all var(--trans); position: relative; }
@media(min-width:640px) { .service-card { padding: 2rem; } }
.service-card:hover  { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card--featured { border-color: var(--primary); box-shadow: var(--shadow); }
.service-badge { position: absolute; top: -1px; right: 1.25rem; background: var(--primary); color: #fff;
  font-size: .68rem; font-weight: 800; padding: .25rem .7rem; border-radius: 0 0 8px 8px;
  letter-spacing: .04em; text-transform: uppercase; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 1.1rem; }
.service-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; margin-bottom: .4rem; }
.service-card p  { color: var(--text-muted); font-size: .875rem; margin-bottom: .9rem; line-height: 1.6; }
.service-features { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: .45rem; }
.service-features li { display: flex; align-items: flex-start; gap: .45rem; font-size: .845rem; }
.service-features li i { color: var(--green); margin-top: .15rem; flex-shrink: 0; font-size: .85rem; }

/* ── How It Works ────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:640px)  { .steps-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px)  { .steps-grid { grid-template-columns: repeat(4,1fr); gap: 0; } }
.step { text-align: center; padding: 1.5rem 1.25rem; }
@media(min-width:900px) {
  .step:not(:last-child) { position: relative; }
  .step:not(:last-child)::after { content: '→'; position: absolute; right: -1rem;
    top: 2.25rem; font-size: 1.25rem; color: var(--border); }
}
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h3  { font-family: var(--font-head); font-size: 1rem; font-weight: 800; margin-bottom: .4rem; }
.step p   { color: var(--text-muted); font-size: .845rem; line-height: 1.6; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media(min-width:640px)  { .testimonials-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px)  { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow var(--trans); }
.testimonial-card:hover { box-shadow: var(--shadow); }
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: .65rem; letter-spacing: .05em; }
.testimonial-card > p { color: var(--text); font-size: .875rem; line-height: 1.7; margin-bottom: 1.1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .65rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
  font-weight: 800; font-size: .82rem; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: .875rem; font-weight: 700; }
.testimonial-author span   { display: block; font-size: .75rem; color: var(--text-muted); }
.visa-tag { display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: .68rem; font-weight: 700; padding: .15rem .5rem; border-radius: 4px;
  margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .04em; }

/* ── Blog Grid ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media(min-width:640px)  { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px)  { .blog-grid { grid-template-columns: repeat(3,1fr); } }
.blog-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: all var(--trans); }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body    { padding: 1.1rem; }
.blog-date         { display: block; font-size: .75rem; color: var(--text-muted); font-weight: 600; margin-bottom: .4rem; }
.blog-category     { display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; margin-bottom: .35rem; text-transform: uppercase; }
.blog-card-title   { font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: .5rem; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { color: var(--text-muted); font-size: .845rem; line-height: 1.6; margin-bottom: .85rem; }
.blog-read-more    { display: inline-flex; align-items: center; gap: .3rem; font-size: .845rem; font-weight: 700; color: var(--primary); transition: gap var(--trans); }
.blog-read-more:hover { gap: .55rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-grid { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: .6rem; }
.faq-item { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--trans); }
.faq-item:hover { border-color: var(--primary); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; background: none; border: none; text-align: left;
  font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--text);
  cursor: pointer; gap: 1rem; transition: background var(--trans); line-height: 1.4; }
.faq-question:hover { background: var(--primary-light); }
.faq-question[aria-expanded="true"] { background: var(--primary); color: #fff; }
.faq-question[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); color: #fff; }
.faq-question .bi-chevron-down { transition: transform var(--trans); color: var(--primary); flex-shrink: 0; font-size: .85rem; }
.faq-answer   { display: none; padding: 0 1.25rem .9rem; }
.faq-answer p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-card { background: linear-gradient(135deg,var(--primary) 0%,#1e40af 100%);
  border-radius: var(--radius-lg); padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
@media(min-width:768px) { .cta-card { flex-direction: row; text-align: left; padding: 3rem 2.5rem; justify-content: space-between; } }
.cta-content h2 { font-family: var(--font-head); font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 800; color: #fff; margin-bottom: .4rem; }
.cta-content p  { color: rgba(255,255,255,.85); font-size: .9rem; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
@media(min-width:768px) { .cta-actions { justify-content: flex-start; } }

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 100%); color: #fff; padding: 2.5rem 0 1.75rem; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2.3rem); font-weight: 800; margin-bottom: .5rem; }

/* ── Blog Archive ────────────────────────────────────────── */
.blog-archive-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:900px) { .blog-archive-layout { grid-template-columns: 1fr 300px; } }
.blog-grid--archive { }
@media(min-width:640px) { .blog-grid--archive { grid-template-columns: repeat(2,1fr); } }

.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.page-btn   { display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .5rem; border: 2px solid var(--border);
  border-radius: 8px; font-weight: 700; font-size: .875rem; color: var(--text); transition: all var(--trans); }
.page-btn:hover, .page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Sidebar ─────────────────────────────────────────────── */
.blog-sidebar, .post-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
.widget-title   { font-family: var(--font-head); font-size: .95rem; font-weight: 800;
  margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 2px solid var(--primary); display: inline-block; }
.sidebar-cats li a { display: flex; justify-content: space-between; align-items: center;
  padding: .4rem 0; font-size: .875rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.sidebar-cats li:last-child a { border-bottom: none; }
.sidebar-cats span { background: var(--bg); color: var(--text-muted); font-size: .72rem; padding: .1rem .45rem; border-radius: 999px; }
.sidebar-cta { background: linear-gradient(135deg,var(--primary) 0%,#1e40af 100%); color: #fff; }
.sidebar-cta .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,.3); }
.sidebar-cta p { font-size: .845rem; opacity: .9; margin-bottom: .65rem; }

/* ── Single Post ─────────────────────────────────────────── */
.post-hero    { background: linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 100%); color: #fff; padding: 2.5rem 0 1.75rem; }
.post-hero h1 { font-family: var(--font-head); font-size: clamp(1.35rem,3vw,2.1rem); font-weight: 800; margin-bottom: .65rem; line-height: 1.3; }
.post-category{ display: inline-block; background: rgba(255,255,255,.2); color: #fff; font-size: .72rem;
  font-weight: 700; padding: .2rem .65rem; border-radius: 999px; margin-bottom: .65rem; text-transform: uppercase; }
.post-meta    { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; font-size: .82rem; opacity: .85; }
.post-meta span, .post-meta time { display: flex; align-items: center; gap: .3rem; }
.post-layout  { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0; }
@media(min-width:900px) { .post-layout { grid-template-columns: 1fr 290px; padding: 2.5rem 0; } }
.post-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; }
.post-featured-img img { width: 100%; }
.prose { font-size: .95rem; line-height: 1.8; color: var(--text); }
.prose h2 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin: 1.75rem 0 .65rem; }
.prose h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin: 1.4rem 0 .45rem; }
.prose p  { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .4rem; }
.prose a  { color: var(--primary); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 1.25rem auto; }
.prose blockquote { border-left: 4px solid var(--primary); padding-left: 1.1rem; color: var(--text-muted); font-style: italic; margin: 1.25rem 0; }
.prose pre { background: #1e2a3a; color: #e2e8f0; padding: 1.1rem; border-radius: var(--radius); overflow-x: auto; margin: 1.1rem 0; font-size: .82rem; }
code { background: #f1f5f9; padding: .1rem .4rem; border-radius: 4px; font-size: .82rem; font-family: 'Courier New',monospace; word-break: break-word; }
.post-tags    { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 1.25rem 0; }
.tag          { display: inline-block; background: var(--bg); color: var(--text-muted);
  padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 600; border: 1px solid var(--border); }
.post-share   { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: 1.1rem 0; border-top: 1px solid var(--border); margin-top: 1.1rem; }
.post-share span { font-size: .82rem; font-weight: 700; color: var(--text-muted); }
.share-btn    { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700; transition: all var(--trans); }
.share-wa     { background: #e7fef0; color: #128c4c; } .share-wa:hover { background: #25d366; color: #fff; }
.share-tw     { background: #e8f5fe; color: #1d9bf0; } .share-tw:hover { background: #1d9bf0; color: #fff; }
.share-fb     { background: #e7eef8; color: #1877f2; } .share-fb:hover { background: #1877f2; color: #fff; }
.related-posts { display: flex; flex-direction: column; gap: .65rem; }
.related-posts li { display: flex; gap: .65rem; align-items: flex-start; }
.related-posts img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.related-posts a { font-size: .845rem; font-weight: 700; line-height: 1.4; color: var(--text); }
.related-posts a:hover { color: var(--primary); }
.related-posts time { display: block; font-size: .72rem; color: var(--text-muted); margin-top: .15rem; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; margin-top: .4rem; }
.breadcrumb li { display: flex; align-items: center; font-size: .78rem; color: rgba(255,255,255,.7); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .25rem; opacity: .5; }
.breadcrumb a { color: rgba(255,255,255,.8); } .breadcrumb a:hover { color: #fff; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer  { background: #0f172a; color: rgba(255,255,255,.75); }
.footer-main  { padding: 3rem 0 1.5rem; }
.footer-grid  { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:640px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo    { font-family: var(--font-head); font-size: 1.3rem; font-weight: 900; color: #fff; display: block; margin-bottom: .65rem; }
.footer-tagline { font-size: .75rem; color: rgba(255,255,255,.45); margin-bottom: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.footer-desc    { font-size: .845rem; line-height: 1.7; margin-bottom: 1.1rem; }
.footer-social  { display: flex; gap: .4rem; flex-wrap: wrap; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center;
  font-size: .95rem; transition: all var(--trans); }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-heading  { font-family: var(--font-head); font-size: .82rem; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links    { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a  { font-size: .845rem; transition: color var(--trans); display: flex; align-items: center; gap: .3rem; }
.footer-links a:hover { color: #fff; }
.footer-contact  { display: flex; flex-direction: column; gap: .65rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; font-size: .845rem; }
.footer-contact i  { color: var(--primary); margin-top: .15rem; flex-shrink: 0; }
.footer-contact a  { color: rgba(255,255,255,.75); } .footer-contact a:hover { color: #fff; }
.footer-bottom   { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: .5rem; text-align: center; font-size: .75rem; }
@media(min-width:640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-disclaimer { color: rgba(255,255,255,.4); font-size: .72rem; }

/* ══════════════════════════════════════════════════════════
   FLOATING BUTTONS — fixed bottom-right, always visible
   ══════════════════════════════════════════════════════════ */
.floating-buttons {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 8900;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-end;
}
@media(min-width:480px) { .floating-buttons { right: 1.5rem; } }
/* Push up when mobile CTA bar is visible */
@media(max-width:1023px) { .floating-buttons { bottom: 5rem; } }

.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(0,0,0,.3); }
.float-whatsapp  { background: #25d366; color: #fff; }
.float-whatsapp:hover { background: #128c4c; color: #fff; }
.float-call      { background: var(--primary); color: #fff; }
.float-call:hover { background: var(--primary-dark); color: #fff; }
.float-label     { position: absolute; right: calc(100% + .6rem); background: #1e2a3a; color: #fff;
  font-size: .72rem; font-weight: 700; padding: .3rem .65rem; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
  font-family: var(--font-body); }
.float-label::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: #1e2a3a; }
.float-btn:hover .float-label { opacity: 1; }
/* Pulse ring on WhatsApp */
.float-whatsapp::before { content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5); animation: ring-pulse 2.5s ease-out infinite; }
@keyframes ring-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }

/* ══════════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR + LEAD MODAL
   ══════════════════════════════════════════════════════════ */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8800;
  background: #fff;
  border-top: 2px solid var(--primary);
  padding: .6rem 1rem;
  display: flex;
  gap: .5rem;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
}
@media(min-width:1024px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar .btn { flex: 1; font-size: .875rem; padding: .65rem .5rem; }

/* Lead modal overlay */
.lead-modal-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.65);
  z-index: 9200; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease; padding: 0;
}
@media(min-width:540px) { .lead-modal-overlay { align-items: center; padding: 1rem; } }
.lead-modal-overlay.open { opacity: 1; pointer-events: all; }
.lead-modal {
  background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%; max-width: 480px; max-height: 96dvh; overflow-y: auto;
  transform: translateY(100%); transition: transform .35s cubic-bezier(.32,.72,0,1);
  -webkit-overflow-scrolling: touch;
}
@media(min-width:540px) {
  .lead-modal { border-radius: var(--radius-lg); transform: translateY(20px) scale(.97); opacity: 0;
    transition: transform .3s ease, opacity .3s ease; }
}
.lead-modal-overlay.open .lead-modal { transform: translateY(0); }
@media(min-width:540px) { .lead-modal-overlay.open .lead-modal { transform: none; opacity: 1; } }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 999px; margin: .75rem auto .25rem; display: block; }
@media(min-width:540px) { .modal-handle { display: none; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem .5rem; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--text); }
.modal-close { background: var(--bg); border: none; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 1rem; color: var(--text-muted); transition: background var(--trans); flex-shrink: 0; }
.modal-close:hover { background: var(--border); }
.modal-body { padding: 1.25rem; }

/* ── Scroll animations ───────────────────────────────────── */
[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-animate][data-delay="100"] { transition-delay: .1s; }
[data-animate][data-delay="200"] { transition-delay: .2s; }
[data-animate][data-delay="300"] { transition-delay: .3s; }
[data-animate].animated { opacity: 1; transform: none; }

/* ── Misc utilities ──────────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state i { font-size: 3rem; display: block; margin-bottom: .75rem; opacity: .4; }
.info-box { background: var(--primary-light); border: 1px solid rgba(26,86,219,.2);
  border-radius: var(--radius); padding: .75rem 1rem; font-size: .875rem; margin-bottom: .75rem; }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.12); }
